--- /dev/null
+/*! For license information please see 2.b9f32fb5.chunk.js.LICENSE.txt */
+(this["webpackJsonptizen-build-performance"]=this["webpackJsonptizen-build-performance"]||[]).push([[2],[function(t,e,n){"use strict";t.exports=n(591)},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(0),i=n.n(r),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=i.a.createContext&&i.a.createContext(o),s=function(){return(s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},c=function(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){var i=0;for(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 l(t){return t&&t.map((function(t,e){return i.a.createElement(t.tag,s({key:e},t.attr),l(t.child))}))}function u(t){return function(e){return i.a.createElement(g,s({attr:s({},t.attr)},e),l(t.child))}}function g(t){var e=function(e){var n,r=t.attr,o=t.size,a=t.title,l=c(t,["attr","size","title"]),u=o||e.size||"1em";return e.className&&(n=e.className),t.className&&(n=(n?n+" ":"")+t.className),i.a.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,r,l,{className:n,style:s(s({color:t.color||e.color},e.style),t.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),a&&i.a.createElement("title",null,a),t.children)};return void 0!==a?i.a.createElement(a.Consumer,null,(function(t){return e(t)})):e(o)}},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){var e,n,i="";if("string"===typeof t||"number"===typeof t)i+=t;else if("object"===typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=r(t[e]))&&(i&&(i+=" "),i+=n);else for(e in t)t[e]&&(i&&(i+=" "),i+=e);return i}n.r(e),e.default=function(){for(var t,e,n=0,i="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(i&&(i+=" "),i+=e);return i}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(40);function i(t,e){if(null==t)return{};var n,i,o=Object(r.a)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}},function(t,e,n){"use strict";t.exports=n(590)},function(t,e,n){t.exports=n(597)()},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=n.n(o),s=(n(6),n(70)),c=n.n(s),l=n(989),u=n(1018),g=n(366),f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=e.defaultTheme,s=e.withTheme,f=void 0!==s&&s,d=e.name,h=Object(i.a)(e,["defaultTheme","withTheme","name"]);var p=d,A=Object(l.a)(t,Object(r.a)({defaultTheme:o,Component:n,name:d||n.displayName,classNamePrefix:p},h)),C=a.a.forwardRef((function(t,e){t.classes;var s,c=t.innerRef,l=Object(i.a)(t,["classes","innerRef"]),h=A(Object(r.a)({},n.defaultProps,t)),p=l;return("string"===typeof d||f)&&(s=Object(g.a)()||o,d&&(p=Object(u.a)({theme:s,name:d,props:l})),f&&!p.theme&&(p.theme=s)),a.a.createElement(n,Object(r.a)({ref:c||e,classes:h},p))}));return c()(C,n),C}},d=n(98);e.a=function(t,e){return f(t,Object(r.a)({defaultTheme:d.a},e))}},function(t,e,n){"use strict";n.d(e,"i",(function(){return d})),n.d(e,"h",(function(){return h})),n.d(e,"g",(function(){return p})),n.d(e,"f",(function(){return A})),n.d(e,"j",(function(){return v})),n.d(e,"c",(function(){return I})),n.d(e,"b",(function(){return y})),n.d(e,"d",(function(){return m})),n.d(e,"e",(function(){return b})),n.d(e,"a",(function(){return x}));var r=n(51),i=n.n(r),o=n(21),a=n.n(o),s=n(175),c=n.n(s),l=n(168),u=n.n(l),g=n(120),f=n.n(g),d=function(t){return 0===t?0:t>0?1:-1},h=function(t){return f()(t)&&t.indexOf("%")===t.length-1},p=function(t){return u()(t)&&!c()(t)},A=function(t){return p(t)||f()(t)},C=0,v=function(t){var e=++C;return"".concat(t||"").concat(e)},I=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!p(t)&&!f()(t))return r;if(h(t)){var o=t.indexOf("%");n=e*parseFloat(t.slice(0,o))/100}else n=+t;return c()(n)&&(n=r),i&&n>e&&(n=e),n},y=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},m=function(t){if(!a()(t))return!1;for(var e=t.length,n={},r=0;r<e;r++){if(n[t[r]])return!0;n[t[r]]=!0}return!1},b=function(t,e){return p(t)&&p(e)?function(n){return t+n*(e-t)}:function(){return e}};function x(t,e,n){return t&&t.length?t.find((function(t){return t&&("function"===typeof e?e(t):i()(t,e))===n})):null}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(367);function i(t){if("string"!==typeof t)throw new Error(Object(r.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,n){"use strict";function r(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!t){var o;if(void 0===e)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(e.replace(/%s/g,(function(){return r[a++]})))).name="Invariant Violation"}throw o.framesToPop=1,o}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"g",(function(){return o})),n.d(e,"k",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"j",(function(){return l})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return g})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return d})),n.d(e,"a",(function(){return h})),n.d(e,"i",(function(){return p}));var r=n(367);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),n)}function o(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map((function(t){return t+t}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}function a(t){if(0===t.indexOf("#"))return t;var e=c(t).values;return"#".concat(e.map((function(t){return function(t){var e=t.toString(16);return 1===e.length?"0".concat(e):e}(t)})).join(""))}function s(t){var e=(t=c(t)).values,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+n/30)%12;return i-o*Math.max(Math.min(e-3,9-e,1),-1)},s="rgb",u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===t.type&&(s+="a",u.push(e[3])),l({type:s,values:u})}function c(t){if(t.type)return t;if("#"===t.charAt(0))return c(o(t));var e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:n,values:i=i.map((function(t){return parseFloat(t)}))}}function l(t){var e=t.type,n=t.values;return-1!==e.indexOf("rgb")?n=n.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e,"(").concat(n.join(", "),")")}function u(t,e){var n=g(t),r=g(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function g(t){var e="hsl"===(t=c(t)).type?c(s(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return g(t)>.5?h(t,e):p(t,e)}function d(t,e){return t=c(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=e,l(t)}function h(t,e){if(t=c(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]*=1-e;return l(t)}function p(t,e){if(t=c(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;return l(t)}},function(t,e,n){"use strict";n.d(e,"u",(function(){return U})),n.d(e,"l",(function(){return X})),n.d(e,"b",(function(){return Z})),n.d(e,"p",(function(){return q})),n.d(e,"o",(function(){return K})),n.d(e,"h",(function(){return Q})),n.d(e,"g",(function(){return J})),n.d(e,"a",(function(){return $})),n.d(e,"x",(function(){return et})),n.d(e,"m",(function(){return nt})),n.d(e,"v",(function(){return rt})),n.d(e,"k",(function(){return it})),n.d(e,"s",(function(){return ot})),n.d(e,"d",(function(){return at})),n.d(e,"y",(function(){return st})),n.d(e,"c",(function(){return lt})),n.d(e,"e",(function(){return ut})),n.d(e,"A",(function(){return gt})),n.d(e,"q",(function(){return ht})),n.d(e,"t",(function(){return pt})),n.d(e,"j",(function(){return At})),n.d(e,"i",(function(){return Ct})),n.d(e,"r",(function(){return vt})),n.d(e,"n",(function(){return It})),n.d(e,"z",(function(){return bt})),n.d(e,"f",(function(){return xt})),n.d(e,"w",(function(){return wt}));var r=n(169),i=n.n(r),o=n(167),a=n.n(o),s=n(175),c=n.n(s),l=n(142),u=n.n(l),g=n(120),f=n.n(g),d=n(21),h=n.n(d),p=n(215),A=n.n(p),C=n(216),v=n.n(C),I=n(552),y=n.n(I),m=n(14),b=n.n(m),x=n(51),w=n.n(x),O=n(16),S=n.n(O),_=n(363),k=n(346),j=n(58),E=n(137),P=function(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]},M=n(29),T=n(170),R=n(31),D=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n};function N(t,e){return t[e]}function L(t){var e=[];return e.key=t,e}var F=n(8),B=n(213),z=n(25);function V(t){return function(t){if(Array.isArray(t))return G(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return G(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function W(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?W(Object(n),!0).forEach((function(e){H(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function U(t,e,n){return S()(t)||S()(e)?n:Object(F.f)(e)?w()(t,e,n):b()(e)?e(t):n}function X(t,e,n,r){var i=y()(t,(function(t){return U(t,e)}));if("number"===n){var o=i.filter((function(t){return Object(F.g)(t)||parseFloat(t)}));return o.length?[v()(o),A()(o)]:[1/0,-1/0]}return(r?i.filter((function(t){return!S()(t)})):i).map((function(t){return Object(F.f)(t)||t instanceof Date?t:""}))}var Z=function(t,e,n,r){var i=-1,o=e.length;if(o>1){if(r&&"angleAxis"===r.axisType&&Math.abs(Math.abs(r.range[1]-r.range[0])-360)<=1e-6)for(var a=r.range,s=0;s<o;s++){var c=s>0?n[s-1].coordinate:n[o-1].coordinate,l=n[s].coordinate,u=s>=o-1?n[0].coordinate:n[s+1].coordinate,g=void 0;if(Object(F.i)(l-c)!==Object(F.i)(u-l)){var f=[];if(Object(F.i)(u-l)===Object(F.i)(a[1]-a[0])){g=u;var d=l+a[1]-a[0];f[0]=Math.min(d,(d+c)/2),f[1]=Math.max(d,(d+c)/2)}else{g=c;var h=u+a[1]-a[0];f[0]=Math.min(l,(h+l)/2),f[1]=Math.max(l,(h+l)/2)}var p=[Math.min(l,(g+l)/2),Math.max(l,(g+l)/2)];if(t>p[0]&&t<=p[1]||t>=f[0]&&t<=f[1]){i=n[s].index;break}}else{var A=Math.min(c,u),C=Math.max(c,u);if(t>(A+l)/2&&t<=(C+l)/2){i=n[s].index;break}}}else for(var v=0;v<o;v++)if(0===v&&t<=(e[v].coordinate+e[v+1].coordinate)/2||v>0&&v<o-1&&t>(e[v].coordinate+e[v-1].coordinate)/2&&t<=(e[v].coordinate+e[v+1].coordinate)/2||v===o-1&&t>(e[v].coordinate+e[v-1].coordinate)/2){i=e[v].index;break}}else i=0;return i},q=function(t){var e,n=t.type.displayName,r=t.props,i=r.stroke,o=r.fill;switch(n){case"Line":e=i;break;case"Area":case"Radar":e=i&&"none"!==i?i:o;break;default:e=o}return e},K=function(t){var e,n=t.children,r=t.formatedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=Object(z.b)(n,B.a.displayName);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(r||[]).reduce((function(t,e){var n=e.item,r=e.props,i=r.sectors||r.data||[];return t.concat(i.map((function(t){return{type:a.props.iconType||n.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(r||[]).map((function(t){var e=t.item,n=e.props,r=n.dataKey,i=n.name,o=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||o||"square",color:q(e),value:i||r,payload:e.props}})),Y(Y(Y({},a.props),B.a.getWithHeight(a,i)),{},{payload:e,item:a})):null},Q=function(t){var e=t.barSize,n=t.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var i={},o=Object.keys(r),a=0,s=o.length;a<s;a++)for(var c=r[o[a]].stackGroups,l=Object.keys(c),u=0,g=l.length;u<g;u++){var f=c[l[u]],d=f.items,h=f.cateAxisId,p=d.filter((function(t){return Object(z.c)(t.type).indexOf("Bar")>=0}));if(p&&p.length){var A=p[0].props.barSize,C=p[0].props[h];i[C]||(i[C]=[]),i[C].push({item:p[0],stackList:p.slice(1),barSize:S()(A)?e:A})}}return i},J=function(t){var e=t.barGap,n=t.barCategoryGap,r=t.bandSize,i=t.sizeList,o=void 0===i?[]:i,a=t.maxBarSize,s=o.length;if(s<1)return null;var c,l=Object(F.c)(e,r,0,!0);if(o[0].barSize===+o[0].barSize){var u=!1,g=r/s,f=o.reduce((function(t,e){return t+e.barSize||0}),0);(f+=(s-1)*l)>=r&&(f-=(s-1)*l,l=0),f>=r&&g>0&&(u=!0,f=s*(g*=.9));var d={offset:((r-f)/2>>0)-l,size:0};c=o.reduce((function(t,e){var n=[].concat(V(t),[{item:e.item,position:{offset:d.offset+d.size+l,size:u?g:e.barSize}}]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:d})})),n}),[])}else{var h=Object(F.c)(n,r,0,!0);r-2*h-(s-1)*l<=0&&(l=0);var p=(r-2*h-(s-1)*l)/s;p>1&&(p>>=0);var A=a===+a?Math.min(p,a):p;c=o.reduce((function(t,e,n){var r=[].concat(V(t),[{item:e.item,position:{offset:h+(p+l)*n+(p-A)/2,size:A}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){r.push({item:t,position:r[r.length-1].position})})),r}),[])}return c},$=function(t,e,n,r){var i=n.children,o=n.width,a=n.margin,s=o-(a.left||0)-(a.right||0),c=K({children:i,legendWidth:s}),l=t;if(c){var u=r||{},g=c.align,f=c.verticalAlign,d=c.layout;("vertical"===d||"horizontal"===d&&"center"===f)&&Object(F.g)(t[g])&&(l=Y(Y({},t),{},H({},g,l[g]+(u.width||0)))),("horizontal"===d||"vertical"===d&&"center"===g)&&Object(F.g)(t[f])&&(l=Y(Y({},t),{},H({},f,l[f]+(u.height||0))))}return l},tt=function(t,e,n,r){var i=e.props.children,o=Object(z.a)(i,"ErrorBar").filter((function(t){var e=t.props.direction;return!(!S()(e)&&!S()(r))||r.indexOf(e)>=0}));if(o&&o.length){var a=o.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var r=U(e,n,0),i=h()(r)?[v()(r),A()(r)]:[r,r],o=a.reduce((function(t,n){var r=U(e,n,0),o=i[0]-Math.abs(h()(r)?r[0]:r),a=i[1]+Math.abs(h()(r)?r[1]:r);return[Math.min(o,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]}),[1/0,-1/0])}return null},et=function(t,e,n,r){var i=e.map((function(e){return tt(t,e,n,r)})).filter((function(t){return!S()(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null},nt=function(t,e,n,r){var i=e.map((function(e){var i=e.props.dataKey;return"number"===n&&i&&tt(t,e,i)||X(t,i,n,r)}));if("number"===n)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var o={};return i.reduce((function(t,e){for(var n=0,r=e.length;n<r;n++)o[e[n]]||(o[e[n]]=!0,t.push(e[n]));return t}),[])},rt=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},it=function(t,e,n){var r,i,o=t.map((function(t){return t.coordinate===e&&(r=!0),t.coordinate===n&&(i=!0),t.coordinate}));return r||o.push(e),i||o.push(n),o},ot=function(t,e,n){if(!t)return null;var r=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,s=(e||n)&&"category"===o&&r.bandwidth?r.bandwidth()/2:0;return s="angleAxis"===t.axisType?2*Object(F.i)(a[0]-a[1])*s:s,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=i?i.indexOf(t):t;return{coordinate:r(e)+s,value:t,offset:s}})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:r(t)+s,value:t,index:e,offset:s}})):r.ticks&&!n?r.ticks(t.tickCount).map((function(t){return{coordinate:r(t)+s,value:t,offset:s}})):r.domain().map((function(t,e){return{coordinate:r(t)+s,value:i?i[t]:t,index:e,offset:s}}))},at=function(t,e,n){var r;return b()(n)?r=n:b()(e)&&(r=e),b()(t)||r?function(e,n,i,o){b()(t)&&t(e,n,i,o),b()(r)&&r(e,n,i,o)}:null},st=function(t,e){var n=t.scale,r=t.type,i=t.layout,o=t.axisType;if("auto"===n)return"radial"===i&&"radiusAxis"===o?{scale:k.a(),realScaleType:"band"}:"radial"===i&&"angleAxis"===o?{scale:j.a(),realScaleType:"linear"}:"category"===r&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0)?{scale:k.b(),realScaleType:"point"}:"category"===r?{scale:k.a(),realScaleType:"band"}:{scale:j.a(),realScaleType:"linear"};if(f()(n)){var a="scale".concat(u()(n));return{scale:(E[a]||k.b)(),realScaleType:E[a]?a:"point"}}return b()(n)?{scale:n}:{scale:k.b(),realScaleType:"point"}},ct=1e-4,lt=function(t){var e=t.domain();if(e&&!(e.length<=2)){var n=e.length,r=t.range(),i=Math.min(r[0],r[1])-ct,o=Math.max(r[0],r[1])+ct,a=t(e[0]),s=t(e[n-1]);(a<i||a>o||s<i||s>o)&&t.domain([e[0],e[n-1]])}},ut=function(t,e){if(!t)return null;for(var n=0,r=t.length;n<r;n++)if(t[n].item===e)return t[n].position;return null},gt=function(t,e){if(!e||2!==e.length||!Object(F.g)(e[0])||!Object(F.g)(e[1]))return t;var n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!Object(F.g)(t[0])||t[0]<n)&&(i[0]=n),(!Object(F.g)(t[1])||t[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},ft={sign:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0,a=0;a<e;++a){var s=c()(t[a][n][1])?t[a][n][0]:t[a][n][1];s>=0?(t[a][n][0]=i,t[a][n][1]=i+s,i=t[a][n][1]):(t[a][n][0]=o,t[a][n][1]=o+s,o=t[a][n][1])}},expand:function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}P(t,e)}},none:P,silhouette:function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}P(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,c=0,l=0;s<i;++s){for(var u=t[e[s]],g=u[a][1]||0,f=(g-(u[a-1][1]||0))/2,d=0;d<s;++d){var h=t[e[d]];f+=(h[a][1]||0)-(h[a-1][1]||0)}c+=g,l+=f*g}n[a-1][1]+=n[a-1][0]=o,c&&(o-=l/c)}n[a-1][1]+=n[a-1][0]=o,P(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0;o<e;++o){var a=c()(t[o][n][1])?t[o][n][0]:t[o][n][1];a>=0?(t[o][n][0]=i,t[o][n][1]=i+a,i=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}}},dt=function(t,e,n){var r=e.map((function(t){return t.props.dataKey}));return function(){var t=Object(R.a)([]),e=D,n=P,r=N;function i(i){var o,a,s,c=Array.from(t.apply(this,arguments),L),l=c.length,u=-1,g=Object(M.a)(i);try{for(g.s();!(s=g.n()).done;){var f=s.value;for(o=0,++u;o<l;++o)(c[o][u]=[0,+r(f,c[o].key,u,i)]).data=f}}catch(d){g.e(d)}finally{g.f()}for(o=0,a=Object(T.a)(e(c));o<l;++o)c[a[o]].index=o;return n(c,a),c}return i.keys=function(e){return arguments.length?(t="function"===typeof e?e:Object(R.a)(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"===typeof t?t:Object(R.a)(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?D:"function"===typeof t?t:Object(R.a)(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?P:t,i):n},i}().keys(r).value((function(t,e){return+U(t,e,0)})).order(D).offset(ft[n])(t)},ht=function(t,e,n,r,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce((function(t,e){var i=e.props,o=i.stackId;if(i.hide)return t;var a=e.props[n],s=t[a]||{hasStack:!1,stackGroups:{}};if(Object(F.f)(o)){var c=s.stackGroups[o]||{numericAxisId:n,cateAxisId:r,items:[]};c.items.push(e),s.hasStack=!0,s.stackGroups[o]=c}else s.stackGroups[Object(F.j)("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[e]};return Y(Y({},t),{},H({},a,s))}),{});return Object.keys(a).reduce((function(e,o){var s=a[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce((function(e,o){var a=s.stackGroups[o];return Y(Y({},e),{},H({},o,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:dt(t,a.items,i)}))}),{})),Y(Y({},e),{},H({},o,s))}),{})},pt=function(t,e){var n=e.realScaleType,r=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,s=n||e.scale;if("auto"!==s&&"linear"!==s)return null;if(i&&"number"===r&&o&&("auto"===o[0]||"auto"===o[1])){var c=t.domain();if(!c.length)return null;var l=Object(_.getNiceTickValues)(c,i,a);return t.domain(function(t,e){return"number"===e?[v()(t),A()(t)]:t}(l,r)),{niceTicks:l}}if(i&&"number"===r){var u=t.domain();return{niceTicks:Object(_.getTickValuesFixedDomain)(u,i,a)}}return null},At=function(t){var e=t.axis,n=t.ticks,r=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return n[a]?n[a].coordinate+r:null;var s=U(o,e.dataKey,e.domain[a]);return S()(s)?null:e.scale(s)-i/2+r},Ct=function(t){var e=t.numericAxis,n=e.scale.domain();if("number"===e.type){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},vt=function(t,e){var n=t.props.stackId;if(Object(F.f)(n)){var r=e[n];if(r&&r.items.length){for(var i=-1,o=0,a=r.items.length;o<a;o++)if(r.items[o]===t){i=o;break}return i>=0?r.stackedData[i]:null}}return null},It=function(t,e,n){return Object.keys(t).reduce((function(r,i){var o=t[i].stackedData.reduce((function(t,r){var i=r.slice(e,n+1).reduce((function(t,e){return[v()(e.concat([t[0]]).filter(F.g)),A()(e.concat([t[1]]).filter(F.g))]}),[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},yt=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,mt=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,bt=function(t,e,n){if(!h()(t))return e;var r=[];if(Object(F.g)(t[0]))r[0]=n?t[0]:Math.min(t[0],e[0]);else if(yt.test(t[0])){var i=+yt.exec(t[0])[1];r[0]=e[0]-i}else b()(t[0])?r[0]=t[0](e[0]):r[0]=e[0];if(Object(F.g)(t[1]))r[1]=n?t[1]:Math.max(t[1],e[1]);else if(mt.test(t[1])){var o=+mt.exec(t[1])[1];r[1]=e[1]+o}else b()(t[1])?r[1]=t[1](e[1]):r[1]=e[1];return r},xt=function(t,e,n){if(t&&t.scale&&t.scale.bandwidth){var r=t.scale.bandwidth();if(!n||r>0)return r}if(t&&e&&e.length>=2){for(var i=a()(e,(function(t){return t.coordinate})),o=1/0,s=1,c=i.length;s<c;s++){var l=i[s],u=i[s-1];o=Math.min((l.coordinate||0)-(u.coordinate||0),o)}return o===1/0?0:o}return 0},wt=function(t,e,n){return t&&t.length?i()(t,w()(n,"type.defaultProps.domain"))?e:t:e}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(133),i=n(56);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){"use strict";n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return f}));var r=n(56),i=n.n(r),o=n(0);function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=["viewBox","children"],c=["className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],l=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],u=function(t,e,n){if(!t||"function"===typeof t||"boolean"===typeof t)return null;var r=t;if(Object(o.isValidElement)(t)&&(r=t.props),!i()(r))return null;var a={};return Object.keys(r).forEach((function(t){(c.includes(t)||n&&s.includes(t)||e&&l.includes(t))&&(a[t]=r[t])})),a},g=function(t,e){if(!t||"function"===typeof t||"boolean"===typeof t)return null;var n=t;if(Object(o.isValidElement)(t)&&(n=t.props),!i()(n))return null;var r={};return Object.keys(n).forEach((function(t){l.includes(t)&&(r[t]=e||function(e){return n[t](n,e)})})),r},f=function(t,e,n){if(!i()(t)||"object"!==a(t))return null;var r=null;return Object.keys(t).forEach((function(i){var o=t[i];l.includes(i)&&"function"===typeof o&&(r||(r={}),r[i]=function(t,e,n){return function(r){return t(e,n,r),null}}(o,e,n))})),r}},function(t,e){t.exports=function(t){return null==t}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(0),i=n(49);function o(t,e){return r.useMemo((function(){return null==t&&null==e?null:function(n){Object(i.a)(t,n),Object(i.a)(e,n)}}),[t,e])}},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&t.push(a)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(r=function(){return i}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}(),t.exports=n(592)},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(366),i=(n(0),n(98));function o(){return Object(r.a)()||i.a}},function(t,e,n){"use strict";function r(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function i(t,e){switch(arguments.length){case 0:break;case 1:"function"===typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"===typeof e?this.interpolator(e):this.range(e)}return this}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(0),i="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;function o(t){var e=r.useRef(t);return i((function(){e.current=t})),r.useCallback((function(){return e.current.apply(void 0,arguments)}),[])}},function(t,e,n){"use strict";n.d(e,"c",(function(){return I})),n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return m})),n.d(e,"h",(function(){return b})),n.d(e,"e",(function(){return O})),n.d(e,"g",(function(){return _})),n.d(e,"d",(function(){return k})),n.d(e,"f",(function(){return j}));var r=n(553),i=n.n(r),o=n(16),a=n.n(o),s=n(120),c=n.n(s),l=n(51),u=n.n(l),g=n(21),f=n.n(g),d=n(0),h=n.n(d),p=n(8),A=n(121);function C(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var v={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},I=function(t){return"string"===typeof t?t:t?t.displayName||t.name||"Component":""},y=function(t,e){var n=[],r=[];return r=f()(e)?e.map((function(t){return I(t)})):[I(e)],h.a.Children.forEach(t,(function(t){var e=u()(t,"type.displayName")||u()(t,"type.name");-1!==r.indexOf(e)&&n.push(t)})),n},m=function(t,e){var n=y(t,e);return n&&n[0]},b=function(t){if(!t||!t.props)return!1;var e=t.props,n=e.width,r=e.height;return!(!Object(p.g)(n)||n<=0||!Object(p.g)(r)||r<=0)},x=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],w=function(t){return t&&t.type&&c()(t.type)&&x.indexOf(t.type)>=0},O=function t(e,n){if(e===n)return!0;if(d.Children.count(e)!==d.Children.count(n))return!1;var r=d.Children.count(e);if(0===r)return!0;if(1===r)return S(f()(e)?e[0]:e,f()(n)?n[0]:n);for(var i=0;i<r;i++){var o=e[i],a=n[i];if(f()(o)||f()(a)){if(!t(o,a))return!1}else if(!S(o,a))return!1}return!0},S=function(t,e){if(a()(t)&&a()(e))return!0;if(!a()(t)&&!a()(e)){var n=t.props||{},r=n.children,i=C(n,["children"]),o=e.props||{},s=o.children,c=C(o,["children"]);return r&&s?Object(A.a)(i,c)&&O(r,s):!r&&!s&&Object(A.a)(i,c)}return!1},_=function(t,e){var n=[],r={};return d.Children.forEach(t,(function(t,i){if(w(t))n.push(t);else if(t){var o=I(t.type),a=e[o]||{},s=a.handler,c=a.once;if(s&&(!c||!r[o])){var l=s(t,o,i);n.push(l),r[o]=!0}}})),i()(n)},k=function(t){var e=t&&t.type;return e&&v[e]?v[e]:null},j=function(t,e){var n=-1;return d.Children.forEach(e,(function(e,r){e===t&&(n=r)})),n}},function(t,e,n){"use strict";var r=n(61),i=n(180).f,o=n(606),a=n(42),s=n(314),c=n(105),l=n(84),u=function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var n,g,f,d,h,p,A,C,v=t.target,I=t.global,y=t.stat,m=t.proto,b=I?r:y?r[v]:(r[v]||{}).prototype,x=I?a:a[v]||(a[v]={}),w=x.prototype;for(f in e)n=!o(I?f:v+(y?".":"#")+f,t.forced)&&b&&l(b,f),h=x[f],n&&(p=t.noTargetGet?(C=i(b,f))&&C.value:b[f]),d=n&&p?p:e[f],n&&typeof h===typeof d||(A=t.bind&&n?s(d,r):t.wrap&&n?u(d):m&&"function"==typeof d?s(Function.call,d):d,(t.sham||d&&d.sham||h&&h.sham)&&c(A,"sham",!0),x[f]=A,m&&(l(a,g=v+"Prototype")||c(a,g,{}),a[g][f]=d,t.real&&w&&!w[f]&&c(w,f,d)))}},function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=new Date,i=new Date;function o(t,e,n,a){function s(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return s.floor=function(e){return t(e=new Date(+e)),e},s.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},s.round=function(t){var e=s(t),n=s.ceil(t);return t-e<n-t?e:n},s.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},s.range=function(n,r,i){var o,a=[];if(n=s.ceil(n),i=null==i?1:Math.floor(i),!(n<r)||!(i>0))return a;do{a.push(o=new Date(+n)),e(n,i),t(n)}while(o<n&&n<r);return a},s.filter=function(n){return o((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(s.count=function(e,o){return r.setTime(+e),i.setTime(+o),t(r),t(i),Math.floor(n(r,i))},s.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?s.filter(a?function(e){return a(e)%t===0}:function(e){return s.count(0,e)%t===0}):s:null}),s}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(155);function i(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=Object(r.a)(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(2),i=n(0),o=n.n(i),a=n(568);function s(t,e){var n=function(e,n){return o.a.createElement(a.a,Object(r.a)({ref:n},e),t)};return n.muiName=a.a.muiName,o.a.memo(o.a.forwardRef(n))}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";function r(t){return t&&t.ownerDocument||document}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return d})),n.d(e,"d",(function(){return h})),n.d(e,"b",(function(){return p}));var r=n(1022),i=n(364),o=n(81),a=n(987);var s=n(141),c=[0,1];function l(t){return t}function u(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function g(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=u(i,r),o=n(a,o)):(r=u(r,i),o=n(o,a)),function(t){return o(r(t))}}function f(t,e,n){var i=Math.min(t.length,e.length)-1,o=new Array(i),a=new Array(i),s=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<i;)o[s]=u(t[s],t[s+1]),a[s]=n(e[s],e[s+1]);return function(e){var n=Object(r.a)(t,e,1,i)-1;return a[n](o[n](e))}}function d(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function h(){var t,e,n,r,u,d,h=c,p=c,A=i.a,C=l;function v(){var t=Math.min(h.length,p.length);return C!==l&&(C=function(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}(h[0],h[t-1])),r=t>2?f:g,u=d=null,I}function I(e){return isNaN(e=+e)?n:(u||(u=r(h.map(t),p,A)))(t(C(e)))}return I.invert=function(n){return C(e((d||(d=r(p,h.map(t),o.a)))(n)))},I.domain=function(t){return arguments.length?(h=Array.from(t,s.a),v()):h.slice()},I.range=function(t){return arguments.length?(p=Array.from(t),v()):p.slice()},I.rangeRound=function(t){return p=Array.from(t),A=a.a,v()},I.clamp=function(t){return arguments.length?(C=!!t||l,v()):C!==l},I.interpolate=function(t){return arguments.length?(A=t,v()):A},I.unknown=function(t){return arguments.length?(n=t,I):n},function(n,r){return t=n,e=r,v()}}function p(){return h()(l,l)}},function(t,e,n){"use strict";n.d(e,"d",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"e",(function(){return s}));var r=1e3,i=6e4,o=36e5,a=864e5,s=6048e5},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(155);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n(4),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(t){return"".concat(Math.round(t),"ms")}e.a={easing:i,duration:o,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.duration,s=void 0===n?o.standard:n,c=e.easing,l=void 0===c?i.easeInOut:c,u=e.delay,g=void 0===u?0:u;Object(r.a)(e,["duration","easing","delay"]);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof s?s:a(s)," ").concat(l," ").concat("string"===typeof g?g:a(g))})).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(0),i=n.n(r),o=n(19),a=n.n(o),s=n(15);function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function l(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t){var e=t.children,n=t.className,r=l(t,["children","className"]),o=a()("recharts-layer",n);return i.a.createElement("g",c({className:o},Object(s.c)(r,!0)),e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(262);var i=n(156),o=n(263);function a(t,e){return Object(r.a)(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||Object(i.a)(t,e)||Object(o.a)()}},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return g}));n(16),n(8),n(12);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=Math.PI/180,s=function(t){return 180*t/Math.PI},c=function(t,e,n,r){return{x:t+Math.cos(-a*r)*n,y:e+Math.sin(-a*r)*n}},l=function(t,e){var n=t.x,r=t.y,i=e.cx,o=e.cy,a=function(t,e){var n=t.x,r=t.y,i=e.x,o=e.y;return Math.sqrt(Math.pow(n-i,2)+Math.pow(r-o,2))}({x:n,y:r},{x:i,y:o});if(a<=0)return{radius:a};var c=(n-i)/a,l=Math.acos(c);return r>o&&(l=2*Math.PI-l),{radius:a,angle:s(l),angleInRadian:l}},u=function(t,e){var n=e.startAngle,r=e.endAngle,i=Math.floor(n/360),o=Math.floor(r/360);return t+360*Math.min(i,o)},g=function(t,e){var n=t.x,r=t.y,o=l({x:n,y:r},e),a=o.radius,s=o.angle,c=e.innerRadius,g=e.outerRadius;if(a<c||a>g)return!1;if(0===a)return!0;var f,d=function(t){var e=t.startAngle,n=t.endAngle,r=Math.floor(e/360),i=Math.floor(n/360),o=Math.min(r,i);return{startAngle:e-360*o,endAngle:n-360*o}}(e),h=d.startAngle,p=d.endAngle,A=s;if(h<=p){for(;A>p;)A-=360;for(;A<h;)A+=360;f=A>=h&&A<=p}else{for(;A>h;)A-=360;for(;A<p;)A+=360;f=A>=p&&A<=h}return f?i(i({},e),{},{radius:a,angle:u(A,e)}):null}},function(t,e){t.exports={}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(207);var i=n(260),o=n(156);function a(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||Object(i.a)(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return C})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return A})),n.d(e,"e",(function(){return y})),n.d(e,"f",(function(){return k}));var r=n(27),i=n(0),o=n.n(i),a=(n(6),n(83)),s=n(356),c=n(74),l=n(2),u=n(357),g=n.n(u),f=(n(437),n(40)),d=n(70),h=n.n(d),p=function(t){var e=Object(s.a)();return e.displayName=t,e}("Router-History"),A=function(t){var e=Object(s.a)();return e.displayName=t,e}("Router"),C=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen((function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t}))),n}Object(r.a)(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(A.Provider,{value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.a.createElement(p.Provider,{children:this.props.children||null,value:this.props.history}))},e}(o.a.Component);o.a.Component;o.a.Component;var v={},I=0;function y(t,e){void 0===e&&(e={}),("string"===typeof e||Array.isArray(e))&&(e={path:e});var n=e,r=n.path,i=n.exact,o=void 0!==i&&i,a=n.strict,s=void 0!==a&&a,c=n.sensitive,l=void 0!==c&&c;return[].concat(r).reduce((function(e,n){if(!n&&""!==n)return null;if(e)return e;var r=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=v[n]||(v[n]={});if(r[t])return r[t];var i=[],o={regexp:g()(t,i,e),keys:i};return I<1e4&&(r[t]=o,I++),o}(n,{end:o,strict:s,sensitive:l}),i=r.regexp,a=r.keys,c=i.exec(t);if(!c)return null;var u=c[0],f=c.slice(1),d=t===u;return o&&!d?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:d,params:a.reduce((function(t,e,n){return t[e.name]=f[n],t}),{})}}),null)}var m=function(t){function e(){return t.apply(this,arguments)||this}return Object(r.a)(e,t),e.prototype.render=function(){var t=this;return o.a.createElement(A.Consumer,null,(function(e){e||Object(c.a)(!1);var n=t.props.location||e.location,r=t.props.computedMatch?t.props.computedMatch:t.props.path?y(n.pathname,t.props):e.match,i=Object(l.a)({},e,{location:n,match:r}),a=t.props,s=a.children,u=a.component,g=a.render;return Array.isArray(s)&&0===s.length&&(s=null),o.a.createElement(A.Provider,{value:i},i.match?s?"function"===typeof s?s(i):s:u?o.a.createElement(u,i):g?g(i):null:"function"===typeof s?s(i):null)}))},e}(o.a.Component);function b(t){return"/"===t.charAt(0)?t:"/"+t}function x(t,e){if(!t)return e;var n=b(t);return 0!==e.pathname.indexOf(n)?e:Object(l.a)({},e,{pathname:e.pathname.substr(n.length)})}function w(t){return"string"===typeof t?t:Object(a.e)(t)}function O(t){return function(){Object(c.a)(!1)}}function S(){}o.a.Component;var _=function(t){function e(){return t.apply(this,arguments)||this}return Object(r.a)(e,t),e.prototype.render=function(){var t=this;return o.a.createElement(A.Consumer,null,(function(e){e||Object(c.a)(!1);var n,r,i=t.props.location||e.location;return o.a.Children.forEach(t.props.children,(function(t){if(null==r&&o.a.isValidElement(t)){n=t;var a=t.props.path||t.props.from;r=a?y(i.pathname,Object(l.a)({},t.props,{path:a})):e.match}})),r?o.a.cloneElement(n,{location:i,computedMatch:r}):null}))},e}(o.a.Component);function k(t){var e="withRouter("+(t.displayName||t.name)+")",n=function(e){var n=e.wrappedComponentRef,r=Object(f.a)(e,["wrappedComponentRef"]);return o.a.createElement(A.Consumer,null,(function(e){return e||Object(c.a)(!1),o.a.createElement(t,Object(l.a)({},r,e,{ref:n}))}))};return n.displayName=e,n.WrappedComponent=t,h()(n,t)}o.a.useContext},function(t,e,n){"use strict";e.a=function(t,e){}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var r=function(t){return t.scrollTop};function i(t,e){var n=t.timeout,r=t.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"===typeof n?n:n[e.mode]||0,delay:i.transitionDelay}}},function(t,e,n){var r=n(42),i=n(84),o=n(323),a=n(125).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},function(t,e,n){"use strict";n.r(e);var r=n(144);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";function r(t,e){"function"===typeof t?t(e):t&&(t.current=e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(343);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var r=n(61),i=n(320),o=n(84),a=n(322),s=n(319),c=n(447),l=i("wks"),u=r.Symbol,g=c?u:u&&u.withoutSetter||a;t.exports=function(t){return o(l,t)||(s&&o(u,t)?l[t]=u[t]:l[t]=g("Symbol."+t)),l[t]}},function(t,e,n){"use strict";var r=n(258),i="object"==typeof self&&self&&self.Object===Object&&self,o=r.a||i||Function("return this")();e.a=o},,function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0);function i(t){var e=t.controlled,n=t.default,i=(t.name,t.state,r.useRef(void 0!==e).current),o=r.useState(n),a=o[0],s=o[1];return[i?e:a,r.useCallback((function(t){i||s(t)}),[])]}},function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c}));var r=n(289),i=n(33),o=n(23),a=n(255);function s(t){var e=t.domain;return t.ticks=function(t){var n=e();return Object(r.a)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Object(a.a)(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,o,a=e(),s=0,c=a.length-1,l=a[s],u=a[c],g=10;for(u<l&&(o=l,l=u,u=o,o=s,s=c,c=o);g-- >0;){if((o=Object(r.b)(l,u,n))===i)return a[s]=l,a[c]=u,e(a);if(o>0)l=Math.floor(l/o)*o,u=Math.ceil(u/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,u=Math.floor(u*o)/o}i=o}return t},t}function c(){var t=Object(i.b)();return t.copy=function(){return Object(i.a)(t,c())},o.b.apply(t,arguments),s(t)}},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){return"function"===typeof t}function o(){}function a(t){if(!function(t){return"object"===r(t)&&null!==t}(t))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}n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return a}))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(60))},function(t,e,n){var r=n(42);t.exports=function(t){return r[t+"Prototype"]}},function(t,e,n){"use strict";function r(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=this,s=function(){t.apply(a,i)};clearTimeout(e),e=setTimeout(s,n)}return r.clear=function(){clearTimeout(e)},r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(0),i=n(102);function o(){return r.useContext(i.a)}},function(t,e,n){"use strict";function r(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((function(t,e){return null==e?t:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r),e.apply(this,r)}}),(function(){}))}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i="object"===("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof document?"undefined":r(document))&&9===document.nodeType;e.a=i},function(t,e,n){"use strict";function r(t,e,n,r){var i=n?n.call(r,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;if("object"!==typeof t||!t||"object"!==typeof e||!e)return!1;var o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),c=0;c<o.length;c++){var l=o[c];if(!s(l))return!1;var u=t[l],g=e[l];if(!1===(i=n?n.call(r,u,g,l):void 0)||void 0===i&&u!==g)return!1}return!0}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(52);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){"use strict";n.r(e);var r=n(266);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";var r=n(437),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(t){return r.isMemo(t)?a:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,n,r){if("string"!==typeof n){if(h){var i=d(n);i&&i!==h&&t(e,i,r)}var a=u(n);g&&(a=a.concat(g(n)));for(var s=c(e),p=c(n),A=0;A<a.length;++A){var C=a[A];if(!o[C]&&(!r||!r[C])&&(!p||!p[C])&&(!s||!s[C])){var v=f(n,C);try{l(e,C,v)}catch(I){}}}}return e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(110);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},,function(t,e,n){"use strict";function r(t){var e=t.current;return null==e?null:e.decoratedRef?e.decoratedRef.current:e}function i(t){return(e=t)&&e.prototype&&"function"===typeof e.prototype.render||function(t){var e;return"Symbol(react.forward_ref)"===(null===t||void 0===t||null===(e=t.$$typeof)||void 0===e?void 0:e.toString())}(t);var e}function o(t,e){}n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";var r="Invariant failed";e.a=function(t,e){if(!t)throw new Error(r)}},,function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0);function i(t,e){return r.isValidElement(t)&&-1!==e.indexOf(t.type.muiName)}},function(t,e,n){"use strict";function r(t){var e=t.props,n=t.states,r=t.muiFormControl;return n.reduce((function(t,n){return t[n]=e[n],r&&"undefined"===typeof e[n]&&(t[n]=r[n]),t}),{})}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(0),i=r.createContext({});e.a=i},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}},function(t,e,n){"use strict";n.d(e,"c",(function(){return h})),n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return A}));var r=n(100);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var l={widthCache:{},cacheCount:0},u={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},g=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],f="recharts_measurement_span";var d=function(t){return Object.keys(t).reduce((function(e,n){return"".concat(e).concat((o=n,o.split("").reduce((function(t,e){return e===e.toUpperCase()?[].concat(s(t),["-",e.toLowerCase()]):[].concat(s(t),[e])}),[]).join("")),":").concat((r=n,i=t[n],g.indexOf(r)>=0&&i===+i?"".concat(i,"px"):i),";");var r,i,o}),"")},h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===t||null===t||r.a.isSsr)return{width:0,height:0};var n="".concat(t),i=d(e),a="".concat(n,"-").concat(i);if(l.widthCache[a])return l.widthCache[a];try{var s=document.getElementById(f);s||((s=document.createElement("span")).setAttribute("id",f),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var c=o(o({},u),e);Object.keys(c).map((function(t){return s.style[t]=c[t],t})),s.textContent=n;var g=s.getBoundingClientRect(),h={width:g.width,height:g.height};return l.widthCache[a]=h,++l.cacheCount>2e3&&(l.cacheCount=0,l.widthCache={}),h}catch(p){return{width:0,height:0}}},p=function(t){var e=t.ownerDocument.documentElement,n={top:0,left:0};return"undefined"!==typeof t.getBoundingClientRect&&(n=t.getBoundingClientRect()),{top:n.top+window.pageYOffset-e.clientTop,left:n.left+window.pageXOffset-e.clientLeft}},A=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return x})),n.d(e,"b",(function(){return j})),n.d(e,"d",(function(){return P})),n.d(e,"c",(function(){return p})),n.d(e,"f",(function(){return A})),n.d(e,"e",(function(){return h}));var r=n(2);function i(t){return"/"===t.charAt(0)}function o(t,e){for(var n=e,r=n+1,i=t.length;r<i;n+=1,r+=1)t[n]=t[r];t.pop()}var a=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],a=e&&e.split("/")||[],s=t&&i(t),c=e&&i(e),l=s||c;if(t&&i(t)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var g=0,f=a.length;f>=0;f--){var d=a[f];"."===d?o(a,f):".."===d?(o(a,f),g++):g&&(o(a,f),g--)}if(!l)for(;g--;g)a.unshift("..");!l||""===a[0]||a[0]&&i(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function s(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}var c=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));if("object"===typeof e||"object"===typeof n){var r=s(e),i=s(n);return r!==e||i!==n?t(r,i):Object.keys(Object.assign({},e,n)).every((function(r){return t(e[r],n[r])}))}return!1},l=n(74);function u(t){return"/"===t.charAt(0)?t:"/"+t}function g(t){return"/"===t.charAt(0)?t.substr(1):t}function f(t,e){return function(t,e){return 0===t.toLowerCase().indexOf(e.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(e.length))}(t,e)?t.substr(e.length):t}function d(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function h(t){var e=t.pathname,n=t.search,r=t.hash,i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function p(t,e,n,i){var o;"string"===typeof t?(o=function(t){var e=t||"/",n="",r="",i=e.indexOf("#");-1!==i&&(r=e.substr(i),e=e.substr(0,i));var o=e.indexOf("?");return-1!==o&&(n=e.substr(o),e=e.substr(0,o)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t)).state=e:(void 0===(o=Object(r.a)({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function A(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&c(t.state,e.state)}function C(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,i){if(null!=t){var o="function"===typeof t?t(e,n):t;"string"===typeof o?"function"===typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach((function(t){return t.apply(void 0,n)}))}}}var v=!("undefined"===typeof window||!window.document||!window.document.createElement);function I(t,e){e(window.confirm(t))}var y="popstate",m="hashchange";function b(){try{return window.history.state||{}}catch(t){return{}}}function x(t){void 0===t&&(t={}),v||Object(l.a)(!1);var e=window.history,n=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),i=!(-1===window.navigator.userAgent.indexOf("Trident")),o=t,a=o.forceRefresh,s=void 0!==a&&a,c=o.getUserConfirmation,g=void 0===c?I:c,A=o.keyLength,x=void 0===A?6:A,w=t.basename?d(u(t.basename)):"";function O(t){var e=t||{},n=e.key,r=e.state,i=window.location,o=i.pathname+i.search+i.hash;return w&&(o=f(o,w)),p(o,r,n)}function S(){return Math.random().toString(36).substr(2,x)}var _=C();function k(t){Object(r.a)(z,t),z.length=e.length,_.notifyListeners(z.location,z.action)}function j(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||M(O(t.state))}function E(){M(O(b()))}var P=!1;function M(t){if(P)P=!1,k();else{_.confirmTransitionTo(t,"POP",g,(function(e){e?k({action:"POP",location:t}):function(t){var e=z.location,n=R.indexOf(e.key);-1===n&&(n=0);var r=R.indexOf(t.key);-1===r&&(r=0);var i=n-r;i&&(P=!0,N(i))}(t)}))}}var T=O(b()),R=[T.key];function D(t){return w+h(t)}function N(t){e.go(t)}var L=0;function F(t){1===(L+=t)&&1===t?(window.addEventListener(y,j),i&&window.addEventListener(m,E)):0===L&&(window.removeEventListener(y,j),i&&window.removeEventListener(m,E))}var B=!1;var z={length:e.length,action:"POP",location:T,createHref:D,push:function(t,r){var i="PUSH",o=p(t,r,S(),z.location);_.confirmTransitionTo(o,i,g,(function(t){if(t){var r=D(o),a=o.key,c=o.state;if(n)if(e.pushState({key:a,state:c},null,r),s)window.location.href=r;else{var l=R.indexOf(z.location.key),u=R.slice(0,l+1);u.push(o.key),R=u,k({action:i,location:o})}else window.location.href=r}}))},replace:function(t,r){var i="REPLACE",o=p(t,r,S(),z.location);_.confirmTransitionTo(o,i,g,(function(t){if(t){var r=D(o),a=o.key,c=o.state;if(n)if(e.replaceState({key:a,state:c},null,r),s)window.location.replace(r);else{var l=R.indexOf(z.location.key);-1!==l&&(R[l]=o.key),k({action:i,location:o})}else window.location.replace(r)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(t){void 0===t&&(t=!1);var e=_.setPrompt(t);return B||(F(1),B=!0),function(){return B&&(B=!1,F(-1)),e()}},listen:function(t){var e=_.appendListener(t);return F(1),function(){F(-1),e()}}};return z}var w="hashchange",O={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+g(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:g,decodePath:u},slash:{encodePath:u,decodePath:u}};function S(t){var e=t.indexOf("#");return-1===e?t:t.slice(0,e)}function _(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)}function k(t){window.location.replace(S(window.location.href)+"#"+t)}function j(t){void 0===t&&(t={}),v||Object(l.a)(!1);var e=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),t),i=n.getUserConfirmation,o=void 0===i?I:i,a=n.hashType,s=void 0===a?"slash":a,c=t.basename?d(u(t.basename)):"",g=O[s],A=g.encodePath,y=g.decodePath;function m(){var t=y(_());return c&&(t=f(t,c)),p(t)}var b=C();function x(t){Object(r.a)(z,t),z.length=e.length,b.notifyListeners(z.location,z.action)}var j=!1,E=null;function P(){var t,e,n=_(),r=A(n);if(n!==r)k(r);else{var i=m(),a=z.location;if(!j&&(e=i,(t=a).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash))return;if(E===h(i))return;E=null,function(t){if(j)j=!1,x();else{var e="POP";b.confirmTransitionTo(t,e,o,(function(n){n?x({action:e,location:t}):function(t){var e=z.location,n=D.lastIndexOf(h(e));-1===n&&(n=0);var r=D.lastIndexOf(h(t));-1===r&&(r=0);var i=n-r;i&&(j=!0,N(i))}(t)}))}}(i)}}var M=_(),T=A(M);M!==T&&k(T);var R=m(),D=[h(R)];function N(t){e.go(t)}var L=0;function F(t){1===(L+=t)&&1===t?window.addEventListener(w,P):0===L&&window.removeEventListener(w,P)}var B=!1;var z={length:e.length,action:"POP",location:R,createHref:function(t){var e=document.querySelector("base"),n="";return e&&e.getAttribute("href")&&(n=S(window.location.href)),n+"#"+A(c+h(t))},push:function(t,e){var n="PUSH",r=p(t,void 0,void 0,z.location);b.confirmTransitionTo(r,n,o,(function(t){if(t){var e=h(r),i=A(c+e);if(_()!==i){E=e,function(t){window.location.hash=t}(i);var o=D.lastIndexOf(h(z.location)),a=D.slice(0,o+1);a.push(e),D=a,x({action:n,location:r})}else x()}}))},replace:function(t,e){var n="REPLACE",r=p(t,void 0,void 0,z.location);b.confirmTransitionTo(r,n,o,(function(t){if(t){var e=h(r),i=A(c+e);_()!==i&&(E=e,k(i));var o=D.indexOf(h(z.location));-1!==o&&(D[o]=e),x({action:n,location:r})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(t){void 0===t&&(t=!1);var e=b.setPrompt(t);return B||(F(1),B=!0),function(){return B&&(B=!1,F(-1)),e()}},listen:function(t){var e=b.appendListener(t);return F(1),function(){F(-1),e()}}};return z}function E(t,e,n){return Math.min(Math.max(t,e),n)}function P(t){void 0===t&&(t={});var e=t,n=e.getUserConfirmation,i=e.initialEntries,o=void 0===i?["/"]:i,a=e.initialIndex,s=void 0===a?0:a,c=e.keyLength,l=void 0===c?6:c,u=C();function g(t){Object(r.a)(y,t),y.length=y.entries.length,u.notifyListeners(y.location,y.action)}function f(){return Math.random().toString(36).substr(2,l)}var d=E(s,0,o.length-1),A=o.map((function(t){return p(t,void 0,"string"===typeof t?f():t.key||f())})),v=h;function I(t){var e=E(y.index+t,0,y.entries.length-1),r=y.entries[e];u.confirmTransitionTo(r,"POP",n,(function(t){t?g({action:"POP",location:r,index:e}):g()}))}var y={length:A.length,action:"POP",location:A[d],index:d,entries:A,createHref:v,push:function(t,e){var r="PUSH",i=p(t,e,f(),y.location);u.confirmTransitionTo(i,r,n,(function(t){if(t){var e=y.index+1,n=y.entries.slice(0);n.length>e?n.splice(e,n.length-e,i):n.push(i),g({action:r,location:i,index:e,entries:n})}}))},replace:function(t,e){var r="REPLACE",i=p(t,e,f(),y.location);u.confirmTransitionTo(i,r,n,(function(t){t&&(y.entries[y.index]=i,g({action:r,location:i}))}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},canGo:function(t){var e=y.index+t;return e>=0&&e<y.entries.length},block:function(t){return void 0===t&&(t=!1),u.setPrompt(t)},listen:function(t){return u.appendListener(t)}};return y}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(183);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";t.exports=n(787)},function(t,e,n){var r=n(805);function i(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}t.exports=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}return n.default=t,e&&e.set(t,n),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(253)},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return p})),n.d(e,"f",(function(){return A})),n.d(e,"d",(function(){return C})),n.d(e,"e",(function(){return v}));var r=n(35),i=n(364),o=n(987),a=n(33),s=n(23),c=n(58),l=n(152),u=n(153),g=n(136);function f(){var t,e,n,s,c,l=0,u=1,g=a.c,f=!1;function d(e){return isNaN(e=+e)?c:g(0===n?.5:(e=(s(e)-t)*n,f?Math.max(0,Math.min(1,e)):e))}function h(t){return function(e){var n,i,o,a;return arguments.length?(n=e,o=(i=Object(r.a)(n,2))[0],a=i[1],g=t(o,a),d):[g(0),g(1)]}}return d.domain=function(i){var o,a;return arguments.length?(o=i,a=Object(r.a)(o,2),l=a[0],u=a[1],t=s(l=+l),e=s(u=+u),n=t===e?0:1/(e-t),d):[l,u]},d.clamp=function(t){return arguments.length?(f=!!t,d):f},d.interpolator=function(t){return arguments.length?(g=t,d):g},d.range=h(i.a),d.rangeRound=h(o.a),d.unknown=function(t){return arguments.length?(c=t,d):c},function(r){return s=r,t=r(l),e=r(u),n=t===e?0:1/(e-t),d}}function d(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function h(){var t=Object(c.b)(f()(a.c));return t.copy=function(){return d(t,h())},s.a.apply(t,arguments)}function p(){var t=Object(l.b)(f()).domain([1,10]);return t.copy=function(){return d(t,p()).base(t.base())},s.a.apply(t,arguments)}function A(){var t=Object(u.b)(f());return t.copy=function(){return d(t,A()).constant(t.constant())},s.a.apply(t,arguments)}function C(){var t=Object(g.b)(f());return t.copy=function(){return d(t,C()).exponent(t.exponent())},s.a.apply(t,arguments)}function v(){return C.apply(null,arguments).exponent(.5)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return Vt})),n.d(e,"b",(function(){return Gt}));var r=n(0),i=n(358),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function s(t){if("object"!==typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function c(t,e,n){var r;if("function"===typeof e&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof e&&"undefined"===typeof n&&(n=e,e=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error("Expected the enhancer to be a function.");return n(c)(t,e)}if("function"!==typeof t)throw new Error("Expected the reducer to be a function.");var o=t,l=e,u=[],g=u,f=!1;function d(){g===u&&(g=u.slice())}function h(){if(f)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function p(t){if("function"!==typeof t)throw new Error("Expected the listener to be a function.");if(f)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var e=!0;return d(),g.push(t),function(){if(e){if(f)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");e=!1,d();var n=g.indexOf(t);g.splice(n,1),u=null}}}function A(t){if(!s(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,l=o(l,t)}finally{f=!1}for(var e=u=g,n=0;n<e.length;n++){(0,e[n])()}return t}function C(t){if("function"!==typeof t)throw new Error("Expected the nextReducer to be a function.");o=t,A({type:a.REPLACE})}function v(){var t,e=p;return(t={subscribe:function(t){if("object"!==typeof t||null===t)throw new TypeError("Expected the observer to be an object.");function n(){t.next&&t.next(h())}return n(),{unsubscribe:e(n)}}})[i.a]=function(){return this},t}return A({type:a.INIT}),(r={dispatch:A,subscribe:p,getState:h,replaceReducer:C})[i.a]=v,r}var l="dnd-core/INIT_COORDS",u="dnd-core/BEGIN_DRAG",g="dnd-core/PUBLISH_DRAG_SOURCE",f="dnd-core/HOVER",d="dnd-core/DROP",h="dnd-core/END_DRAG",p=function(t,e){return t===e};function A(t,e){return!t&&!e||!(!t||!e)&&(t.x===e.x&&t.y===e.y)}function C(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;if(t.length!==e.length)return!1;for(var r=0;r<t.length;++r)if(!n(t[r],e[r]))return!1;return!0}function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){y(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,e=arguments.length>1?arguments[1]:void 0,n=e.payload;switch(e.type){case l:case u:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case f:return A(t.clientOffset,n.clientOffset)?t:I(I({},t),{},{clientOffset:n.clientOffset});case h:case d:return m;default:return t}}var x="dnd-core/ADD_SOURCE",w="dnd-core/ADD_TARGET",O="dnd-core/REMOVE_SOURCE",S="dnd-core/REMOVE_TARGET";function _(t){return(_="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e,n){return e.split(".").reduce((function(t,e){return t&&t[e]?t[e]:n||null}),t)}function j(t,e){return t.filter((function(t){return t!==e}))}function E(t){return"object"===_(t)}function P(t,e){var n=new Map,r=function(t){n.set(t,n.has(t)?n.get(t)+1:1)};t.forEach(r),e.forEach(r);var i=[];return n.forEach((function(t,e){1===t&&i.push(e)})),i}function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){R(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var D={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D,e=arguments.length>1?arguments[1]:void 0,n=e.payload;switch(e.type){case u:return T(T({},t),{},{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case g:return T(T({},t),{},{isSourcePublic:!0});case f:return T(T({},t),{},{targetIds:n.targetIds});case S:return-1===t.targetIds.indexOf(n.targetId)?t:T(T({},t),{},{targetIds:j(t.targetIds,n.targetId)});case d:return T(T({},t),{},{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case h:return T(T({},t),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}function L(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case x:case w:return t+1;case O:case S:return t-1;default:return t}}var F=[],B=[];function z(t,e){return t!==F&&(t===B||"undefined"===typeof e||(n=t,e.filter((function(t){return n.indexOf(t)>-1}))).length>0);var n}function V(){var t=arguments.length>1?arguments[1]:void 0;switch(t.type){case f:break;case x:case w:case S:case O:return F;case u:case g:case h:case d:default:return B}var e=t.payload,n=e.targetIds,r=void 0===n?[]:n,i=e.prevTargetIds,o=void 0===i?[]:i,a=P(r,o),s=a.length>0||!C(r,o);if(!s)return F;var c=o[o.length-1],l=r[r.length-1];return c!==l&&(c&&a.push(c),l&&a.push(l)),a}function G(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t+1}function W(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?W(Object(n),!0).forEach((function(e){H(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function U(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:V(t.dirtyHandlerIds,{type:e.type,payload:Y(Y({},e.payload),{},{prevTargetIds:k(t,"dragOperation.targetIds",[])})}),dragOffset:b(t.dragOffset,e),refCount:L(t.refCount,e),dragOperation:N(t.dragOperation,e),stateId:G(t.stateId)}}F.__IS_NONE__=!0,B.__IS_ALL__=!0;var X=n(10);function Z(t,e){return{type:l,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}var q={type:l,payload:{clientOffset:null,sourceClientOffset:null}};function K(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0},r=n.publishSource,i=void 0===r||r,o=n.clientOffset,a=n.getSourceClientOffset,s=t.getMonitor(),c=t.getRegistry();t.dispatch(Z(o)),Q(e,s,c);var l=tt(e,s);if(null!==l){var g=null;if(o){if(!a)throw new Error("getSourceClientOffset must be defined");J(a),g=a(l)}t.dispatch(Z(o,g));var f=c.getSource(l),d=f.beginDrag(s,l);$(d),c.pinSource(l);var h=c.getSourceType(l);return{type:u,payload:{itemType:h,item:d,sourceId:l,clientOffset:o||null,sourceClientOffset:g||null,isSourcePublic:!!i}}}t.dispatch(q)}}function Q(t,e,n){Object(X.a)(!e.isDragging(),"Cannot call beginDrag while dragging."),t.forEach((function(t){Object(X.a)(n.getSource(t),"Expected sourceIds to be registered.")}))}function J(t){Object(X.a)("function"===typeof t,"When clientOffset is provided, getSourceClientOffset must be a function.")}function $(t){Object(X.a)(E(t),"Item must be an object.")}function tt(t,e){for(var n=null,r=t.length-1;r>=0;r--)if(e.canDragSource(t[r])){n=t[r];break}return n}function et(t){return function(){if(t.getMonitor().isDragging())return{type:g}}}function nt(t,e){return null===e?null===t:Array.isArray(t)?t.some((function(t){return t===e})):t===e}function rt(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.clientOffset;it(e);var i=e.slice(0),o=t.getMonitor(),a=t.getRegistry();ot(i,o,a);var s=o.getItemType();return at(i,a,s),st(i,o,a),{type:f,payload:{targetIds:i,clientOffset:r||null}}}}function it(t){Object(X.a)(Array.isArray(t),"Expected targetIds to be an array.")}function ot(t,e,n){Object(X.a)(e.isDragging(),"Cannot call hover while not dragging."),Object(X.a)(!e.didDrop(),"Cannot call hover after drop.");for(var r=0;r<t.length;r++){var i=t[r];Object(X.a)(t.lastIndexOf(i)===r,"Expected targetIds to be unique in the passed array.");var o=n.getTarget(i);Object(X.a)(o,"Expected targetIds to be registered.")}}function at(t,e,n){for(var r=t.length-1;r>=0;r--){var i=t[r];nt(e.getTargetType(i),n)||t.splice(r,1)}}function st(t,e,n){t.forEach((function(t){n.getTarget(t).hover(e,t)}))}function ct(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ct(Object(n),!0).forEach((function(e){ut(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gt(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getMonitor(),r=t.getRegistry();ft(n);var i=ht(n);i.forEach((function(i,o){var a=dt(i,o,r,n),s={type:d,payload:{dropResult:lt(lt({},e),a)}};t.dispatch(s)}))}}function ft(t){Object(X.a)(t.isDragging(),"Cannot call drop while not dragging."),Object(X.a)(!t.didDrop(),"Cannot call drop twice during one drag operation.")}function dt(t,e,n,r){var i=n.getTarget(t),o=i?i.drop(r,t):void 0;return function(t){Object(X.a)("undefined"===typeof t||E(t),"Drop result must either be an object or undefined.")}(o),"undefined"===typeof o&&(o=0===e?{}:r.getDropResult()),o}function ht(t){var e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}function pt(t){return function(){var e=t.getMonitor(),n=t.getRegistry();!function(t){Object(X.a)(t.isDragging(),"Cannot call endDrag while not dragging.")}(e);var r=e.getSourceId();null!=r&&(n.getSource(r,!0).endDrag(e,r),n.unpinSource());return{type:h}}}function At(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var vt,It=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=e,this.registry=n}var e,n,r;return e=t,(n=[{key:"subscribeToStateChange",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{handlerIds:void 0},r=n.handlerIds;Object(X.a)("function"===typeof t,"listener must be a function."),Object(X.a)("undefined"===typeof r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");var i=this.store.getState().stateId,o=function(){var n=e.store.getState(),o=n.stateId;try{o===i||o===i+1&&!z(n.dirtyHandlerIds,r)||t()}finally{i=o}};return this.store.subscribe(o)}},{key:"subscribeToOffsetChange",value:function(t){var e=this;Object(X.a)("function"===typeof t,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe((function(){var r=e.store.getState().dragOffset;r!==n&&(n=r,t())}))}},{key:"canDragSource",value:function(t){if(!t)return!1;var e=this.registry.getSource(t);return Object(X.a)(e,"Expected to find a valid source."),!this.isDragging()&&e.canDrag(this,t)}},{key:"canDropOnTarget",value:function(t){if(!t)return!1;var e=this.registry.getTarget(t);return Object(X.a)(e,"Expected to find a valid target."),!(!this.isDragging()||this.didDrop())&&nt(this.registry.getTargetType(t),this.getItemType())&&e.canDrop(this,t)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(t){if(!t)return!1;var e=this.registry.getSource(t,!0);return Object(X.a)(e,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(t)===this.getItemType()&&e.isDragging(this,t)}},{key:"isOverTarget",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1};if(!t)return!1;var n=e.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(t),i=this.getItemType();if(i&&!nt(r,i))return!1;var o=this.getTargetIds();if(!o.length)return!1;var a=o.indexOf(t);return n?a===o.length-1:a>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return function(t){var e,n,r=t.clientOffset,i=t.initialClientOffset,o=t.initialSourceClientOffset;return r&&i&&o?At((n=o,{x:(e=r).x+n.x,y:e.y+n.y}),i):null}(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return function(t){var e=t.clientOffset,n=t.initialClientOffset;return e&&n?At(e,n):null}(this.store.getState().dragOffset)}}])&&Ct(e.prototype,n),r&&Ct(e,r),t}(),yt=0;function mt(t){return(mt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function bt(t,e){e&&Array.isArray(t)?t.forEach((function(t){return bt(t,!1)})):Object(X.a)("string"===typeof t||"symbol"===mt(t),e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}!function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"}(vt||(vt={}));var xt=n(359),wt=[],Ot=[],St=xt.a.makeRequestCallFromTimer((function(){if(Ot.length)throw Ot.shift()}));function _t(t){var e;(e=wt.length?wt.pop():new kt).task=t,Object(xt.a)(e)}var kt=function(){function t(){}return t.prototype.call=function(){try{this.task.call()}catch(t){_t.onerror?_t.onerror(t):(Ot.push(t),St())}finally{this.task=null,wt[wt.length]=this}},t}();function jt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Et(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Pt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Mt(t){var e=(yt++).toString();switch(t){case vt.SOURCE:return"S".concat(e);case vt.TARGET:return"T".concat(e);default:throw new Error("Unknown Handler Role: ".concat(t))}}function Tt(t){switch(t[0]){case"S":return vt.SOURCE;case"T":return vt.TARGET;default:Object(X.a)(!1,"Cannot parse handler ID: ".concat(t))}}function Rt(t,e){var n=t.entries(),r=!1;do{var i=n.next(),o=i.done;if(Et(i.value,2)[1]===e)return!0;r=!!o}while(!r);return!1}var Dt=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}var e,n,r;return e=t,(n=[{key:"addSource",value:function(t,e){bt(t),function(t){Object(X.a)("function"===typeof t.canDrag,"Expected canDrag to be a function."),Object(X.a)("function"===typeof t.beginDrag,"Expected beginDrag to be a function."),Object(X.a)("function"===typeof t.endDrag,"Expected endDrag to be a function.")}(e);var n=this.addHandler(vt.SOURCE,t,e);return this.store.dispatch(function(t){return{type:x,payload:{sourceId:t}}}(n)),n}},{key:"addTarget",value:function(t,e){bt(t,!0),function(t){Object(X.a)("function"===typeof t.canDrop,"Expected canDrop to be a function."),Object(X.a)("function"===typeof t.hover,"Expected hover to be a function."),Object(X.a)("function"===typeof t.drop,"Expected beginDrag to be a function.")}(e);var n=this.addHandler(vt.TARGET,t,e);return this.store.dispatch(function(t){return{type:w,payload:{targetId:t}}}(n)),n}},{key:"containsHandler",value:function(t){return Rt(this.dragSources,t)||Rt(this.dropTargets,t)}},{key:"getSource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Object(X.a)(this.isSourceId(t),"Expected a valid source ID.");var n=e&&t===this.pinnedSourceId,r=n?this.pinnedSource:this.dragSources.get(t);return r}},{key:"getTarget",value:function(t){return Object(X.a)(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}},{key:"getSourceType",value:function(t){return Object(X.a)(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}},{key:"getTargetType",value:function(t){return Object(X.a)(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}},{key:"isSourceId",value:function(t){return Tt(t)===vt.SOURCE}},{key:"isTargetId",value:function(t){return Tt(t)===vt.TARGET}},{key:"removeSource",value:function(t){var e=this;Object(X.a)(this.getSource(t),"Expected an existing source."),this.store.dispatch(function(t){return{type:O,payload:{sourceId:t}}}(t)),_t((function(){e.dragSources.delete(t),e.types.delete(t)}))}},{key:"removeTarget",value:function(t){Object(X.a)(this.getTarget(t),"Expected an existing target."),this.store.dispatch(function(t){return{type:S,payload:{targetId:t}}}(t)),this.dropTargets.delete(t),this.types.delete(t)}},{key:"pinSource",value:function(t){var e=this.getSource(t);Object(X.a)(e,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=e}},{key:"unpinSource",value:function(){Object(X.a)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(t,e,n){var r=Mt(t);return this.types.set(r,e),t===vt.SOURCE?this.dragSources.set(r,n):t===vt.TARGET&&this.dropTargets.set(r,n),r}}])&&jt(e.prototype,n),r&&jt(e,r),t}();function Nt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ft(t){var e="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return c(U,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}var Bt=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Nt(this,t),this.isSetUp=!1,this.handleRefCountChange=function(){var t=e.store.getState().refCount>0;e.backend&&(t&&!e.isSetUp?(e.backend.setup(),e.isSetUp=!0):!t&&e.isSetUp&&(e.backend.teardown(),e.isSetUp=!1))};var r=Ft(n);this.store=r,this.monitor=new It(r,new Dt(r)),r.subscribe(this.handleRefCountChange)}var e,n,r;return e=t,(n=[{key:"receiveBackend",value:function(t){this.backend=t}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var t=this,e=this.store.dispatch,n=function(t){return{beginDrag:K(t),publishDragSource:et(t),hover:rt(t),drop:gt(t),endDrag:pt(t)}}(this);return Object.keys(n).reduce((function(r,i){var o,a=n[i];return r[i]=(o=a,function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=o.apply(t,r);"undefined"!==typeof a&&e(a)}),r}),{})}},{key:"dispatch",value:function(t){this.store.dispatch(t)}}])&&Lt(e.prototype,n),r&&Lt(e,r),t}();function zt(t,e,n,r){var i=new Bt(r),o=t(i,e,n);return i.receiveBackend(o),i}var Vt=r.createContext({dragDropManager:void 0});function Gt(t,e,n,r){return{dragDropManager:zt(t,e,n,r)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return O}));var r=n(56),i=n.n(r),o=n(14),a=n.n(o),s=n(16),c=n.n(s),l=n(0),u=n.n(l),g=n(19),f=n.n(g),d=n(143),h=n(25),p=n(8),A=n(41),C=n(15);function v(t){return function(t){if(Array.isArray(t))return I(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return I(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach((function(e){b(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(){return(x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var w=function(t,e,n){var r,i,o=t.position,a=t.viewBox,s=t.offset,l=t.className,g=a,d=g.cx,h=g.cy,C=g.innerRadius,v=g.outerRadius,I=g.startAngle,y=g.endAngle,m=g.clockWise,b=(C+v)/2,w=function(t,e){return Object(p.i)(e-t)*Math.min(Math.abs(e-t),360)}(I,y),O=w>=0?1:-1;"insideStart"===o?(r=I+O*s,i=m):"insideEnd"===o?(r=y-O*s,i=!m):"end"===o&&(r=y+O*s,i=m),i=w<=0?i:!i;var S=Object(A.c)(d,h,b,r),_=Object(A.c)(d,h,b,r+359*(i?1:-1)),k="M".concat(S.x,",").concat(S.y,"\n A").concat(b,",").concat(b,",0,1,").concat(i?0:1,",\n ").concat(_.x,",").concat(_.y),j=c()(t.id)?Object(p.j)("recharts-radial-line-"):t.id;return u.a.createElement("text",x({},n,{dominantBaseline:"central",className:f()("recharts-radial-bar-label",l)}),u.a.createElement("defs",null,u.a.createElement("path",{id:j,d:k})),u.a.createElement("textPath",{xlinkHref:"#".concat(j)},e))};function O(t){var e,n=t.viewBox,r=t.position,o=t.value,s=t.children,g=t.content,h=t.className,v=void 0===h?"":h,I=t.textBreakAll;if(!n||c()(o)&&c()(s)&&!Object(l.isValidElement)(g)&&!a()(g))return null;if(Object(l.isValidElement)(g))return Object(l.cloneElement)(g,t);if(a()(g)){if(e=Object(l.createElement)(g,t),Object(l.isValidElement)(e))return e}else e=function(t){var e=t.value,n=t.formatter,r=c()(t.children)?e:t.children;return a()(n)?n(r):r}(t);var y=function(t){return Object(p.g)(t.cx)}(n),b=Object(C.c)(t,!0);if(y&&("insideStart"===r||"insideEnd"===r||"end"===r))return w(t,e,b);var O=y?function(t){var e=t.viewBox,n=t.offset,r=t.position,i=e,o=i.cx,a=i.cy,s=i.innerRadius,c=i.outerRadius,l=(i.startAngle+i.endAngle)/2;if("outside"===r){var u=Object(A.c)(o,a,c+n,l),g=u.x;return{x:g,y:u.y,textAnchor:g>=o?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=(s+c)/2,d=Object(A.c)(o,a,f,l);return{x:d.x,y:d.y,textAnchor:"middle",verticalAnchor:"middle"}}(t):function(t){var e=t.viewBox,n=t.parentViewBox,r=t.offset,o=t.position,a=e,s=a.x,c=a.y,l=a.width,u=a.height,g=u>=0?1:-1,f=g*r,d=g>0?"end":"start",h=g>0?"start":"end",A=l>=0?1:-1,C=A*r,v=A>0?"end":"start",I=A>0?"start":"end";if("top"===o)return m(m({},{x:s+l/2,y:c-g*r,textAnchor:"middle",verticalAnchor:d}),n?{height:Math.max(c-n.y,0),width:l}:{});if("bottom"===o)return m(m({},{x:s+l/2,y:c+u+f,textAnchor:"middle",verticalAnchor:h}),n?{height:Math.max(n.y+n.height-(c+u),0),width:l}:{});if("left"===o){var y={x:s-C,y:c+u/2,textAnchor:v,verticalAnchor:"middle"};return m(m({},y),n?{width:Math.max(y.x-n.x,0),height:u}:{})}if("right"===o){var b={x:s+l+C,y:c+u/2,textAnchor:I,verticalAnchor:"middle"};return m(m({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:u}:{})}var x=n?{width:l,height:u}:{};return"insideLeft"===o?m({x:s+C,y:c+u/2,textAnchor:I,verticalAnchor:"middle"},x):"insideRight"===o?m({x:s+l-C,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},x):"insideTop"===o?m({x:s+l/2,y:c+f,textAnchor:"middle",verticalAnchor:h},x):"insideBottom"===o?m({x:s+l/2,y:c+u-f,textAnchor:"middle",verticalAnchor:d},x):"insideTopLeft"===o?m({x:s+C,y:c+f,textAnchor:I,verticalAnchor:h},x):"insideTopRight"===o?m({x:s+l-C,y:c+f,textAnchor:v,verticalAnchor:h},x):"insideBottomLeft"===o?m({x:s+C,y:c+u-f,textAnchor:I,verticalAnchor:d},x):"insideBottomRight"===o?m({x:s+l-C,y:c+u-f,textAnchor:v,verticalAnchor:d},x):i()(o)&&(Object(p.g)(o.x)||Object(p.h)(o.x))&&(Object(p.g)(o.y)||Object(p.h)(o.y))?m({x:s+Object(p.c)(o.x,l),y:c+Object(p.c)(o.y,u),textAnchor:"end",verticalAnchor:"end"},x):m({x:s+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},x)}(t);return u.a.createElement(d.a,x({className:f()("recharts-label",v)},b,O,{breakAll:I}),e)}O.displayName="Label",O.defaultProps={offset:5};var S=function(t){var e=t.cx,n=t.cy,r=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,s=t.radius,c=t.innerRadius,l=t.outerRadius,u=t.x,g=t.y,f=t.top,d=t.left,h=t.width,A=t.height,C=t.clockWise,v=t.labelViewBox;if(v)return v;if(Object(p.g)(h)&&Object(p.g)(A)){if(Object(p.g)(u)&&Object(p.g)(g))return{x:u,y:g,width:h,height:A};if(Object(p.g)(f)&&Object(p.g)(d))return{x:f,y:d,width:h,height:A}}return Object(p.g)(u)&&Object(p.g)(g)?{x:u,y:g,width:0,height:0}:Object(p.g)(e)&&Object(p.g)(n)?{cx:e,cy:n,startAngle:i||r||0,endAngle:o||r||0,innerRadius:c||0,outerRadius:l||s||a||0,clockWise:C}:t.viewBox?t.viewBox:{}},_=function(t,e){return t?!0===t?u.a.createElement(O,{key:"label-implicit",viewBox:e}):Object(p.f)(t)?u.a.createElement(O,{key:"label-implicit",viewBox:e,value:t}):Object(l.isValidElement)(t)?t.type===O?Object(l.cloneElement)(t,{key:"label-implicit",viewBox:e}):u.a.createElement(O,{key:"label-implicit",content:t,viewBox:e}):a()(t)?u.a.createElement(O,{key:"label-implicit",content:t,viewBox:e}):i()(t)?u.a.createElement(O,x({viewBox:e},t,{key:"label-implicit"})):null:null};O.parseViewBox=S,O.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=S(t),o=Object(h.a)(r,O.displayName).map((function(t,n){return Object(l.cloneElement)(t,{viewBox:e||i,key:"label-".concat(n)})}));if(!n)return o;var a=_(t.label,e||i);return[a].concat(v(o))}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(2),i=n(4),o=["xs","sm","md","lg","xl"];function a(t){var e=t.values,n=void 0===e?{xs:0,sm:600,md:960,lg:1280,xl:1920}:e,a=t.unit,s=void 0===a?"px":a,c=t.step,l=void 0===c?5:c,u=Object(i.a)(t,["values","unit","step"]);function g(t){var e="number"===typeof n[t]?n[t]:t;return"@media (min-width:".concat(e).concat(s,")")}function f(t,e){var r=o.indexOf(e);return r===o.length-1?g(t):"@media (min-width:".concat("number"===typeof n[t]?n[t]:t).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[o[r+1]]?n[o[r+1]]:e)-l/100).concat(s,")")}return Object(r.a)({keys:o,values:n,up:g,down:function(t){var e=o.indexOf(t)+1,r=n[o[e]];return e===o.length?g("xs"):"@media (max-width:".concat(("number"===typeof r&&e>0?r:t)-l/100).concat(s,")")},between:f,only:function(t){return f(t,t)},width:function(t){return n[t]}},u)}},function(t,e,n){var r=n(225),i=n(183);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(76);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(68),i=n(52),o=n(84),a=Object.defineProperty,s={},c=function(t){throw t};t.exports=function(t,e){if(o(s,t))return s[t];e||(e={});var n=[][t],l=!!o(e,"ACCESSORS")&&e.ACCESSORS,u=o(e,0)?e[0]:c,g=o(e,1)?e[1]:void 0;return s[t]=!!n&&!i((function(){if(l&&!r)return!0;var t={length:-1};l?a(t,1,{enumerable:!0,get:c}):t[1]=1,n.call(t,u,g)}))}},function(t,e,n){var r=n(498),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(0),i=n(20),o=!0,a=!1,s=null,c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(t){t.metaKey||t.altKey||t.ctrlKey||(o=!0)}function u(){o=!1}function g(){"hidden"===this.visibilityState&&a&&(o=!0)}function f(t){var e=t.target;try{return e.matches(":focus-visible")}catch(n){}return o||function(t){var e=t.type,n=t.tagName;return!("INPUT"!==n||!c[e]||t.readOnly)||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(e)}function d(){a=!0,window.clearTimeout(s),s=window.setTimeout((function(){a=!1}),100)}function h(){return{isFocusVisible:f,onBlurVisible:d,ref:r.useCallback((function(t){var e,n=i.findDOMNode(t);null!=n&&((e=n.ownerDocument).addEventListener("keydown",l,!0),e.addEventListener("mousedown",u,!0),e.addEventListener("pointerdown",u,!0),e.addEventListener("touchstart",u,!0),e.addEventListener("visibilitychange",g,!0))}),[])}}},function(t,e,n){"use strict";var r=n(154),i=Object(r.a)();e.a=i},function(t,e,n){"use strict";var r=n(0),i=r.createContext();e.a=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={isSsr:!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return r[t]},set:function(t,e){if("string"===typeof t)r[t]=e;else{var n=Object.keys(t);n&&n.length&&n.forEach((function(e){r[e]=t[e]}))}}}},function(t,e,n){t.exports=n(602)},function(t,e,n){"use strict";n.d(e,"b",(function(){return o}));var r=n(0),i=r.createContext();function o(){return r.useContext(i)}e.a=i},function(t,e,n){"use strict";var r=n(111);e.a=function(t){return(t=Object(r.b)(Math.abs(t)))?t[1]:NaN}},,function(t,e,n){var r=n(68),i=n(125),o=n(181);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(861),i=n(905),o=n(151),a=n(21),s=n(913);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):s(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(44),i=n(27),o=n(0),a=n.n(o),s=n(83),c=(n(6),n(2)),l=n(40),u=n(74),g=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).history=Object(s.a)(e.props),e}return Object(i.a)(e,t),e.prototype.render=function(){return a.a.createElement(r.b,{history:this.history,children:this.props.children})},e}(a.a.Component);a.a.Component;var f=function(t,e){return"function"===typeof t?t(e):t},d=function(t,e){return"string"===typeof t?Object(s.c)(t,null,null,e):t},h=function(t){return t},p=a.a.forwardRef;"undefined"===typeof p&&(p=h);var A=p((function(t,e){var n=t.innerRef,r=t.navigate,i=t.onClick,o=Object(l.a)(t,["innerRef","navigate","onClick"]),s=o.target,u=Object(c.a)({},o,{onClick:function(t){try{i&&i(t)}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||s&&"_self"!==s||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return u.ref=h!==p&&e||n,a.a.createElement("a",u)}));var C=p((function(t,e){var n=t.component,i=void 0===n?A:n,o=t.replace,s=t.to,g=t.innerRef,C=Object(l.a)(t,["component","replace","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(t){t||Object(u.a)(!1);var n=t.history,r=d(f(s,t.location),t.location),l=r?n.createHref(r):"",A=Object(c.a)({},C,{href:l,navigate:function(){var e=f(s,t.location);(o?n.replace:n.push)(e)}});return h!==p?A.ref=e||g:A.innerRef=g,a.a.createElement(i,A)}))})),v=function(t){return t},I=a.a.forwardRef;"undefined"===typeof I&&(I=v);I((function(t,e){var n=t["aria-current"],i=void 0===n?"page":n,o=t.activeClassName,s=void 0===o?"active":o,g=t.activeStyle,h=t.className,p=t.exact,A=t.isActive,y=t.location,m=t.sensitive,b=t.strict,x=t.style,w=t.to,O=t.innerRef,S=Object(l.a)(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(t){t||Object(u.a)(!1);var n=y||t.location,o=d(f(w,n),n),l=o.pathname,_=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),k=_?Object(r.e)(n.pathname,{path:_,exact:p,sensitive:m,strict:b}):null,j=!!(A?A(k,n):k),E=j?function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).join(" ")}(h,s):h,P=j?Object(c.a)({},x,{},g):x,M=Object(c.a)({"aria-current":j&&i||null,className:E,style:P,to:o},S);return v!==I?M.ref=e||O:M.innerRef=O,a.a.createElement(C,M)}))}))},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0);function i(t){var e=r.useState(t),n=e[0],i=e[1],o=t||n;return r.useEffect((function(){null==n&&i("mui-".concat(Math.round(1e5*Math.random())))}),[n]),o}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,"b",(function(){return r})),e.a=function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}},function(t,e,n){"use strict";n.d(e,"f",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return l})),n.d(e,"g",(function(){return u}));var r=n(1);function i(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M6.5 10.995V14.5a.5.5 0 01-.5.5H2a.5.5 0 01-.5-.5v-7a.5.5 0 01.146-.354l6-6a.5.5 0 01.708 0l6 6a.5.5 0 01.146.354v7a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5V11c0-.25-.25-.5-.5-.5H7c-.25 0-.5.25-.5.495z"}},{tag:"path",attr:{fillRule:"evenodd",d:"M13 2.5V6l-2-2V2.5a.5.5 0 01.5-.5h1a.5.5 0 01.5.5z",clipRule:"evenodd"}}]})(t)}function o(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1.464 10.536a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3.5a.5.5 0 01-.5-.5v-3.5a.5.5 0 01.5-.5z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M5.964 10a.5.5 0 010 .707l-4.146 4.147a.5.5 0 01-.707-.708L5.257 10a.5.5 0 01.707 0zm8.854-8.854a.5.5 0 010 .708L10.672 6a.5.5 0 01-.708-.707l4.147-4.147a.5.5 0 01.707 0z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M10.5 1.5A.5.5 0 0111 1h3.5a.5.5 0 01.5.5V5a.5.5 0 01-1 0V2h-3a.5.5 0 01-.5-.5zm4 9a.5.5 0 00-.5.5v3h-3a.5.5 0 000 1h3.5a.5.5 0 00.5-.5V11a.5.5 0 00-.5-.5z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M10 9.964a.5.5 0 000 .708l4.146 4.146a.5.5 0 00.708-.707l-4.147-4.147a.5.5 0 00-.707 0zM1.182 1.146a.5.5 0 000 .708L5.328 6a.5.5 0 00.708-.707L1.889 1.146a.5.5 0 00-.707 0z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M5.5 1.5A.5.5 0 005 1H1.5a.5.5 0 00-.5.5V5a.5.5 0 001 0V2h3a.5.5 0 00.5-.5z",clipRule:"evenodd"}}]})(t)}function a(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M5 2V0H0v5h2v6H0v5h5v-2h6v2h5v-5h-2V5h2V0h-5v2H5zm6 1H5v2H3v6h2v2h6v-2h2V5h-2V3zm1-2v3h3V1h-3zm3 11h-3v3h3v-3zM4 15v-3H1v3h3zM1 4h3V1H1v3z",clipRule:"evenodd"}}]})(t)}function s(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M4 1.5H3a2 2 0 00-2 2V14a2 2 0 002 2h10a2 2 0 002-2V3.5a2 2 0 00-2-2h-1v1h1a1 1 0 011 1V14a1 1 0 01-1 1H3a1 1 0 01-1-1V3.5a1 1 0 011-1h1v-1z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M9.5 1h-3a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5zm-3-1A1.5 1.5 0 005 1.5v1A1.5 1.5 0 006.5 4h3A1.5 1.5 0 0011 2.5v-1A1.5 1.5 0 009.5 0h-3z",clipRule:"evenodd"}},{tag:"path",attr:{d:"M4 11a1 1 0 112 0v1a1 1 0 11-2 0v-1zm6-4a1 1 0 112 0v5a1 1 0 11-2 0V7zM7 9a1 1 0 012 0v3a1 1 0 11-2 0V9z"}}]})(t)}function c(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M8.515 1.019A7 7 0 008 1V0a8 8 0 01.589.022l-.074.997zm2.004.45a7.003 7.003 0 00-.985-.299l.219-.976c.383.086.76.2 1.126.342l-.36.933zm1.37.71a7.01 7.01 0 00-.439-.27l.493-.87a8.025 8.025 0 01.979.654l-.615.789a6.996 6.996 0 00-.418-.302zm1.834 1.79a6.99 6.99 0 00-.653-.796l.724-.69c.27.285.52.59.747.91l-.818.576zm.744 1.352a7.08 7.08 0 00-.214-.468l.893-.45a7.976 7.976 0 01.45 1.088l-.95.313a7.023 7.023 0 00-.179-.483zm.53 2.507a6.991 6.991 0 00-.1-1.025l.985-.17c.067.386.106.778.116 1.17l-1 .025zm-.131 1.538c.033-.17.06-.339.081-.51l.993.123a7.957 7.957 0 01-.23 1.155l-.964-.267c.046-.165.086-.332.12-.501zm-.952 2.379c.184-.29.346-.594.486-.908l.914.405c-.16.36-.345.706-.555 1.038l-.845-.535zm-.964 1.205c.122-.122.239-.248.35-.378l.758.653a8.073 8.073 0 01-.401.432l-.707-.707z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M8 1a7 7 0 104.95 11.95l.707.707A8.001 8.001 0 118 0v1z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M7.5 3a.5.5 0 01.5.5v5.21l3.248 1.856a.5.5 0 01-.496.868l-3.5-2A.5.5 0 017 9V3.5a.5.5 0 01.5-.5z",clipRule:"evenodd"}}]})(t)}function l(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M15 2H1v12h14V2zM1 1a1 1 0 00-1 1v12a1 1 0 001 1h14a1 1 0 001-1V2a1 1 0 00-1-1H1z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M7.5 14V2h1v12h-1zm0-8H1V5h6.5v1zm7.5 5H8.5v-1H15v1z",clipRule:"evenodd"}}]})(t)}function u(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12.646 1.146a.5.5 0 01.708 0l2.5 2.5a.5.5 0 010 .708l-2.5 2.5a.5.5 0 01-.708-.708L14.793 4l-2.147-2.146a.5.5 0 010-.708zm0 8a.5.5 0 01.708 0l2.5 2.5a.5.5 0 010 .708l-2.5 2.5a.5.5 0 01-.708-.708L14.793 12l-2.147-2.146a.5.5 0 010-.708z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M0 4a.5.5 0 01.5-.5h2c3.053 0 4.564 2.258 5.856 4.226l.08.123c.636.97 1.224 1.865 1.932 2.539.718.682 1.538 1.112 2.632 1.112h2a.5.5 0 010 1h-2c-1.406 0-2.461-.57-3.321-1.388-.795-.755-1.441-1.742-2.055-2.679l-.105-.159C6.186 6.242 4.947 4.5 2.5 4.5h-2A.5.5 0 010 4z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M0 12a.5.5 0 00.5.5h2c3.053 0 4.564-2.258 5.856-4.226l.08-.123c.636-.97 1.224-1.865 1.932-2.539C11.086 4.93 11.906 4.5 13 4.5h2a.5.5 0 000-1h-2c-1.406 0-2.461.57-3.321 1.388-.795.755-1.441 1.742-2.055 2.679l-.105.159C6.186 9.758 4.947 11.5 2.5 11.5h-2a.5.5 0 00-.5.5z",clipRule:"evenodd"}}]})(t)}},function(t,e,n){var r,i=n(101);window,r=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(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=496)}([function(t,e,n){"use strict";n.r(e),n.d(e,"contains",(function(){return i})),n.d(e,"includes",(function(){return i})),n.d(e,"difference",(function(){return a})),n.d(e,"find",(function(){return y})),n.d(e,"findIndex",(function(){return m})),n.d(e,"firstValue",(function(){return b})),n.d(e,"flatten",(function(){return x})),n.d(e,"flattenDeep",(function(){return w})),n.d(e,"getRange",(function(){return O})),n.d(e,"pull",(function(){return j})),n.d(e,"pullAt",(function(){return P})),n.d(e,"reduce",(function(){return M})),n.d(e,"remove",(function(){return T})),n.d(e,"sortBy",(function(){return D})),n.d(e,"union",(function(){return L})),n.d(e,"uniq",(function(){return N})),n.d(e,"valuesOfKey",(function(){return F})),n.d(e,"head",(function(){return B})),n.d(e,"last",(function(){return z})),n.d(e,"startsWith",(function(){return V})),n.d(e,"endsWith",(function(){return G})),n.d(e,"filter",(function(){return o})),n.d(e,"every",(function(){return W})),n.d(e,"some",(function(){return Y})),n.d(e,"group",(function(){return Z})),n.d(e,"groupBy",(function(){return U})),n.d(e,"groupToMap",(function(){return X})),n.d(e,"getWrapBehavior",(function(){return q})),n.d(e,"wrapBehavior",(function(){return K})),n.d(e,"number2color",(function(){return J})),n.d(e,"parseRadius",(function(){return $})),n.d(e,"clamp",(function(){return tt})),n.d(e,"fixedBase",(function(){return et})),n.d(e,"isDecimal",(function(){return rt})),n.d(e,"isEven",(function(){return it})),n.d(e,"isInteger",(function(){return ot})),n.d(e,"isNegative",(function(){return at})),n.d(e,"isNumberEqual",(function(){return st})),n.d(e,"isOdd",(function(){return ct})),n.d(e,"isPositive",(function(){return lt})),n.d(e,"maxBy",(function(){return ut})),n.d(e,"minBy",(function(){return gt})),n.d(e,"mod",(function(){return ft})),n.d(e,"toDegree",(function(){return ht})),n.d(e,"toInteger",(function(){return pt})),n.d(e,"toRadian",(function(){return Ct})),n.d(e,"forIn",(function(){return vt})),n.d(e,"has",(function(){return It})),n.d(e,"hasKey",(function(){return yt})),n.d(e,"hasValue",(function(){return bt})),n.d(e,"keys",(function(){return p})),n.d(e,"isMatch",(function(){return A})),n.d(e,"values",(function(){return mt})),n.d(e,"lowerCase",(function(){return wt})),n.d(e,"lowerFirst",(function(){return Ot})),n.d(e,"substitute",(function(){return St})),n.d(e,"upperCase",(function(){return _t})),n.d(e,"upperFirst",(function(){return kt})),n.d(e,"getType",(function(){return Et})),n.d(e,"isArguments",(function(){return Pt})),n.d(e,"isArray",(function(){return g})),n.d(e,"isArrayLike",(function(){return r})),n.d(e,"isBoolean",(function(){return Mt})),n.d(e,"isDate",(function(){return Tt})),n.d(e,"isError",(function(){return Rt})),n.d(e,"isFunction",(function(){return l})),n.d(e,"isFinite",(function(){return Dt})),n.d(e,"isNil",(function(){return u})),n.d(e,"isNull",(function(){return Nt})),n.d(e,"isNumber",(function(){return nt})),n.d(e,"isObject",(function(){return d})),n.d(e,"isObjectLike",(function(){return v})),n.d(e,"isPlainObject",(function(){return I})),n.d(e,"isPrototype",(function(){return Ft})),n.d(e,"isRegExp",(function(){return Bt})),n.d(e,"isString",(function(){return R})),n.d(e,"isType",(function(){return c})),n.d(e,"isUndefined",(function(){return zt})),n.d(e,"isElement",(function(){return Vt})),n.d(e,"requestAnimationFrame",(function(){return Gt})),n.d(e,"clearAnimationFrame",(function(){return Wt})),n.d(e,"augment",(function(){return Ut})),n.d(e,"clone",(function(){return Zt})),n.d(e,"debounce",(function(){return qt})),n.d(e,"memoize",(function(){return Kt})),n.d(e,"deepMix",(function(){return Jt})),n.d(e,"each",(function(){return h})),n.d(e,"extend",(function(){return $t})),n.d(e,"indexOf",(function(){return te})),n.d(e,"isEmpty",(function(){return ne})),n.d(e,"isEqual",(function(){return re})),n.d(e,"isEqualWith",(function(){return ie})),n.d(e,"map",(function(){return oe})),n.d(e,"mapValues",(function(){return se})),n.d(e,"mix",(function(){return Ht})),n.d(e,"assign",(function(){return Ht})),n.d(e,"get",(function(){return ce})),n.d(e,"set",(function(){return le})),n.d(e,"pick",(function(){return ge})),n.d(e,"throttle",(function(){return fe})),n.d(e,"toArray",(function(){return de})),n.d(e,"toString",(function(){return xt})),n.d(e,"uniqueId",(function(){return pe})),n.d(e,"noop",(function(){return Ae})),n.d(e,"identity",(function(){return Ce})),n.d(e,"size",(function(){return ve})),n.d(e,"Cache",(function(){return Ie}));var r=function(t){return null!==t&&"function"!==typeof t&&isFinite(t.length)},i=function(t,e){return!!r(t)&&t.indexOf(e)>-1},o=function(t,e){if(!r(t))return t;for(var n=[],i=0;i<t.length;i++){var o=t[i];e(o,i)&&n.push(o)}return n},a=function(t,e){return void 0===e&&(e=[]),o(t,(function(t){return!i(e,t)}))},s={}.toString,c=function(t,e){return s.call(t)==="[object "+e+"]"},l=function(t){return c(t,"Function")},u=function(t){return null===t||void 0===t},g=function(t){return Array.isArray?Array.isArray(t):c(t,"Array")};function f(t){return(f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var d=function(t){var e=f(t);return null!==t&&"object"===e||"function"===e},h=function(t,e){if(t)if(g(t))for(var n=0,r=t.length;n<r&&!1!==e(t[n],n);n++);else if(d(t))for(var i in t)if(t.hasOwnProperty(i)&&!1===e(t[i],i))break},p=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return h(t,(function(n,r){l(t)&&"prototype"===r||e.push(r)})),e},A=function(t,e){var n=p(e),r=n.length;if(u(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};function C(t){return(C="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var v=function(t){return"object"===C(t)&&null!==t},I=function(t){if(!v(t)||!c(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},y=function(t,e){if(!g(t))return null;var n;if(l(e)&&(n=e),I(e)&&(n=function(t){return A(t,e)}),n)for(var r=0;r<t.length;r+=1)if(n(t[r]))return t[r];return null},m=function(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},b=function(t,e){for(var n=null,r=0;r<t.length;r++){var i=t[r][e];if(!u(i)){n=g(i)?i[0]:i;break}}return n},x=function(t){if(!g(t))return[];for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e},w=function t(e,n){if(void 0===n&&(n=[]),g(e))for(var r=0;r<e.length;r+=1)t(e[r],n);else n.push(e);return n},O=function(t){var e=t.filter((function(t){return!isNaN(t)}));if(!e.length)return{min:0,max:0};if(g(t[0])){for(var n=[],r=0;r<t.length;r++)n=n.concat(t[r]);e=n}var i=Math.max.apply(null,e);return{min:Math.min.apply(null,e),max:i}},S=Array.prototype,_=S.splice,k=S.indexOf,j=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=k.call(t,i))>-1;)_.call(t,o,1);return t},E=Array.prototype.splice,P=function(t,e){if(!r(t))return[];for(var n=t?e.length:0,i=n-1;n--;){var o=void 0,a=e[n];n!==i&&a===o||(o=a,E.call(t,a,1))}return t},M=function(t,e,n){if(!g(t)&&!I(t))return t;var r=n;return h(t,(function(t,n){r=e(r,t,n)})),r},T=function(t,e){var n=[];if(!r(t))return n;for(var i=-1,o=[],a=t.length;++i<a;){var s=t[i];e(s,i,t)&&(n.push(s),o.push(i))}return P(t,o),n},R=function(t){return c(t,"String")},D=function(t,e){var n;if(l(e))n=function(t,n){return e(t)-e(n)};else{var r=[];R(e)?r.push(e):g(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},N=function(t){var e=[];return h(t,(function(t){i(e,t)||e.push(t)})),e},L=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return N([].concat.apply([],t))},F=function(t,e){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i][e];if(!u(o)){g(o)||(o=[o]);for(var a=0;a<o.length;a++){var s=o[a];r[s]||(n.push(s),r[s]=!0)}}}return n};function B(t){if(r(t))return t[0]}function z(t){if(r(t))return t[t.length-1]}var V=function(t,e){return!(!g(t)&&!R(t))&&t[0]===e},G=function(t,e){return!(!g(t)&&!R(t))&&t[t.length-1]===e},W=function(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n))return!1;return!0},Y=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n))return!0;return!1},H=Object.prototype.hasOwnProperty,U=function(t,e){if(!e||!g(t))return{};for(var n,r={},i=l(e)?e:function(t){return t[e]},o=0;o<t.length;o++){var a=t[o];n=i(a),H.call(r,n)?r[n].push(a):r[n]=[a]}return r},X=function(t,e){if(!e)return{0:t};if(!l(e)){var n=g(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 U(t,e)},Z=function(t,e){if(!e)return[t];var n=X(t,e),r=[];for(var i in n)r.push(n[i]);return r},q=function(t,e){return t["_wrap_"+e]},K=function(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n},Q={},J=function(t){var e=Q[t];if(!e){for(var n=t.toString(16),r=n.length;r<6;r++)n="0"+n;e="#"+n,Q[t]=e}return e},$=function(t){var e=0,n=0,r=0,i=0;return g(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}},tt=function(t,e,n){return t<e?e:t>n?n:t},et=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))},nt=function(t){return c(t,"Number")},rt=function(t){return nt(t)&&t%1!==0},it=function(t){return nt(t)&&t%2===0},ot=Number.isInteger?Number.isInteger:function(t){return nt(t)&&t%1===0},at=function(t){return nt(t)&&t<0};function st(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)<n}var ct=function(t){return nt(t)&&t%2!==0},lt=function(t){return nt(t)&&t>0},ut=function(t,e){if(g(t)){var n,r,i=t[0];return n=l(e)?e(t[0]):t[0][e],h(t,(function(t){(r=l(e)?e(t):t[e])>n&&(i=t,n=r)})),i}},gt=function(t,e){if(g(t)){var n,r,i=t[0];return n=l(e)?e(t[0]):t[0][e],h(t,(function(t){(r=l(e)?e(t):t[e])<n&&(i=t,n=r)})),i}},ft=function(t,e){return(t%e+e)%e},dt=180/Math.PI,ht=function(t){return dt*t},pt=parseInt,At=Math.PI/180,Ct=function(t){return At*t},vt=h,It=function(t,e){return t.hasOwnProperty(e)},yt=It,mt=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return h(t,(function(n,r){l(t)&&"prototype"===r||e.push(n)})),e},bt=function(t,e){return i(mt(t),e)},xt=function(t){return u(t)?"":t.toString()},wt=function(t){return xt(t).toLowerCase()},Ot=function(t){var e=xt(t);return e.charAt(0).toLowerCase()+e.substring(1)},St=function(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},_t=function(t){return xt(t).toUpperCase()},kt=function(t){var e=xt(t);return e.charAt(0).toUpperCase()+e.substring(1)},jt={}.toString,Et=function(t){return jt.call(t).replace(/^\[object /,"").replace(/]$/,"")},Pt=function(t){return c(t,"Arguments")},Mt=function(t){return c(t,"Boolean")},Tt=function(t){return c(t,"Date")},Rt=function(t){return c(t,"Error")},Dt=function(t){return nt(t)&&isFinite(t)},Nt=function(t){return null===t},Lt=Object.prototype,Ft=function(t){var e=t&&t.constructor;return t===("function"===typeof e&&e.prototype||Lt)},Bt=function(t){return c(t,"RegExp")},zt=function(t){return void 0===t},Vt=function(t){return t instanceof Element||t instanceof HTMLDocument};function Gt(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16)})(t)}function Wt(t){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(t)}function Yt(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}function Ht(t,e,n,r){return e&&Yt(t,e),n&&Yt(t,n),r&&Yt(t,r),t}var Ut=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];l(i)&&(i=i.prototype),Ht(n.prototype,i)}};function Xt(t){return(Xt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Zt=function t(e){if("object"!==Xt(e)||null===e)return e;var n;if(g(e)){n=[];for(var r=0,i=e.length;r<i;r++)"object"===Xt(e[r])&&null!=e[r]?n[r]=t(e[r]):n[r]=e[r]}else for(var o in n={},e)"object"===Xt(e[o])&&null!=e[o]?n[o]=t(e[o]):n[o]=e[o];return n},qt=function(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)}},Kt=function(t,e){if(!l(t))throw new TypeError("Expected a function");var n=function n(){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};function Qt(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&&I(o)?(I(t[i])||(t[i]={}),n<r?Qt(t[i],o,n+1,r):t[i]=e[i]):g(o)?(t[i]=[],t[i]=t[i].concat(o)):void 0!==o&&(t[i]=o)}}var Jt=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)Qt(t,e[r]);return t},$t=function(t,e,n,r){l(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=Ht(o,t.prototype),t.superclass=i(e.prototype,e),Ht(o,n),Ht(t,r),t},te=function(t,e){if(!r(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var i=-1,o=0;o<t.length;o++)if(t[o]===e){i=o;break}return i},ee=Object.prototype.hasOwnProperty,ne=function(t){if(u(t))return!0;if(r(t))return!t.length;var e=Et(t);if("Map"===e||"Set"===e)return!t.size;if(Ft(t))return!Object.keys(t).length;for(var n in t)if(ee.call(t,n))return!1;return!0},re=function t(e,n){if(e===n)return!0;if(!e||!n)return!1;if(R(e)||R(n))return!1;if(r(e)||r(n)){if(e.length!==n.length)return!1;for(var i=!0,o=0;o<e.length&&(i=t(e[o],n[o]));o++);return i}if(v(e)||v(n)){var a=Object.keys(e),s=Object.keys(n);if(a.length!==s.length)return!1;for(i=!0,o=0;o<a.length&&(i=t(e[a[o]],n[a[o]]));o++);return i}return!1},ie=function(t,e,n){return l(n)?!!n(t,e):re(t,e)},oe=function(t,e){if(!r(t))return t;for(var n=[],i=0;i<t.length;i++){var o=t[i];n.push(e(o,i))}return n},ae=function(t){return t},se=function(t,e){void 0===e&&(e=ae);var n={};return d(t)&&!u(t)&&Object.keys(t).forEach((function(r){n[r]=e(t[r],r)})),n},ce=function(t,e,n){for(var r=0,i=R(e)?e.split("."):e;t&&r<i.length;)t=t[i[r++]];return void 0===t||r<i.length?n:t},le=function(t,e,n){var r=t,i=R(e)?e.split("."):e;return i.forEach((function(t,e){e<i.length-1?(d(r[t])||(r[t]=nt(i[e+1])?[]:{}),r=r[t]):r[t]=n})),t},ue=Object.prototype.hasOwnProperty,ge=function(t,e){if(null===t||!I(t))return{};var n={};return h(e,(function(e){ue.call(t,e)&&(n[e]=t[e])})),n},fe=function(t,e,n){var r,i,o,a,s=0;n||(n={});var c=function(){s=!1===n.leading?0:Date.now(),r=null,a=t.apply(i,o),r||(i=o=null)},l=function(){var l=Date.now();s||!1!==n.leading||(s=l);var u=e-(l-s);return i=this,o=arguments,u<=0||u>e?(r&&(clearTimeout(r),r=null),s=l,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(c,u)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l},de=function(t){return r(t)?Array.prototype.slice.call(t):[]},he={},pe=function(t){return he[t=t||"g"]?he[t]+=1:he[t]=1,t+he[t]},Ae=function(){},Ce=function(t){return t};function ve(t){return u(t)?0:r(t)?t.length:Object.keys(t).length}var Ie=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";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.r(e),n.d(e,"__extends",(function(){return o})),n.d(e,"__assign",(function(){return a})),n.d(e,"__rest",(function(){return s})),n.d(e,"__decorate",(function(){return c})),n.d(e,"__param",(function(){return l})),n.d(e,"__metadata",(function(){return u})),n.d(e,"__awaiter",(function(){return g})),n.d(e,"__generator",(function(){return f})),n.d(e,"__createBinding",(function(){return d})),n.d(e,"__exportStar",(function(){return h})),n.d(e,"__values",(function(){return p})),n.d(e,"__read",(function(){return A})),n.d(e,"__spread",(function(){return C})),n.d(e,"__spreadArrays",(function(){return v})),n.d(e,"__spreadArray",(function(){return I})),n.d(e,"__await",(function(){return y})),n.d(e,"__asyncGenerator",(function(){return m})),n.d(e,"__asyncDelegator",(function(){return b})),n.d(e,"__asyncValues",(function(){return x})),n.d(e,"__makeTemplateObject",(function(){return w})),n.d(e,"__importStar",(function(){return S})),n.d(e,"__importDefault",(function(){return _})),n.d(e,"__classPrivateFieldGet",(function(){return k})),n.d(e,"__classPrivateFieldSet",(function(){return j}));var i=function(t,e){return(i=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 o(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}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(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){var i=0;for(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 c(t,e,n,i){var o,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"===("undefined"===typeof Reflect?"undefined":r(Reflect))&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(a<3?o(s):a>3?o(e,n,s):o(e,n))||s);return a>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,r){e(n,r,t)}}function u(t,e){if("object"===("undefined"===typeof Reflect?"undefined":r(Reflect))&&"function"===typeof Reflect.metadata)return Reflect.metadata(t,e)}function g(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(e){o(e)}}function s(t){try{c(r.throw(t))}catch(e){o(e)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))}function f(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var d=Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function h(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||d(e,t,n)}function p(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 A(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function C(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(A(arguments[e]));return t}function v(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(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 I(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t}function y(t){return this instanceof y?(this.v=t,this):new y(t)}function m(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){i[t]&&(r[t]=function(e){return new Promise((function(n,r){o.push([t,e,n,r])>1||s(t,e)}))})}function s(t,e){try{(n=i[t](e)).value instanceof y?Promise.resolve(n.value.v).then(c,l):u(o[0][2],n)}catch(r){u(o[0][3],r)}var n}function c(t){s("next",t)}function l(t){s("throw",t)}function u(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(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:y(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function x(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){!function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)}(r,i,(e=t[n](e)).done,e.value)}))}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var O=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function S(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)&&d(e,t,n);return O(e,t),e}function _(t){return t&&t.__esModule?t:{default:t}}function k(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function j(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return t.reduce((function(t,e){return e(t)}),e)}}function i(t){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var n={};return null!==t&&"object"===i(t)&&e.forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}n.d(e,"e",(function(){return r})),n.d(e,"k",(function(){return o})),n.d(e,"n",(function(){return s})),n.d(e,"j",(function(){return f})),n.d(e,"a",(function(){return c})),n.d(e,"g",(function(){return d})),n.d(e,"c",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"d",(function(){return A.a})),n.d(e,"o",(function(){return C})),n.d(e,"h",(function(){return y})),n.d(e,"b",(function(){return _})),n.d(e,"i",(function(){return k})),n.d(e,"m",(function(){return E.c})),n.d(e,"l",(function(){return E.b}));var a=n(0);function s(t,e){return Object(a.reduce)(e,(function(t,e,n){return t.replace(new RegExp("{\\s*"+n+"\\s*}","g"),e)}),t)}var c,l=n(1);!function(t){t.ERROR="error",t.WARN="warn",t.INFO="log"}(c||(c={}));var u="AntV/G2Plot";function g(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=0;return u+": "+t.replace(/%s/g,(function(){return""+e[r++]}))}function f(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];e||console[t](g.apply(void 0,Object(l.__spreadArrays)([n],r)))}function d(t){if(!t)return{width:0,height:0};var e=getComputedStyle(t);return{width:(t.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(t.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}function h(t,e){return t.geometries.find((function(t){return t.type===e}))}function p(t){return Object(a.reduce)(t.geometries,(function(t,e){return t.concat(e.elements)}),[])}var A=n(48);function C(t){if(!Object(a.isType)(t,"Object"))return t;var e=Object(l.__assign)({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e}var v=n(15);function I(t,e,n){for(var r=!!e,i=[],o=0,a=t.length;o<a;o+=2)i.push([t[o],t[o+1]]);var s,c,l,u=function(t,e,n,r){var i,o,a,s,c=[],l=!!r;if(l){a=[1/0,1/0],s=[-1/0,-1/0];for(var u=0,g=t.length;u<g;u++){var f=t[u];a=v.vec2.min([0,0],a,f),s=v.vec2.max([0,0],s,f)}a=v.vec2.min([0,0],a,r[0]),s=v.vec2.max([0,0],s,r[1])}u=0;for(var d=t.length;u<d;u++){if(f=t[u],n)i=t[u?u-1:d-1],o=t[(u+1)%d];else{if(0===u||u===d-1){c.push(f);continue}i=t[u-1],o=t[u+1]}var h=[0,0];h=v.vec2.sub(h,o,i),h=v.vec2.scale(h,h,e);var p=v.vec2.distance(f,i),A=v.vec2.distance(f,o),C=p+A;0!==C&&(p/=C,A/=C);var I=v.vec2.scale([0,0],h,-p),y=v.vec2.scale([0,0],h,A),m=v.vec2.add([0,0],f,I),b=v.vec2.add([0,0],f,y);l&&(m=v.vec2.max([0,0],m,a),m=v.vec2.min([0,0],m,s),b=v.vec2.max([0,0],b,a),b=v.vec2.min([0,0],b,s)),c.push(m),c.push(b)}return n&&c.push(c.shift()),c}(i,.4,r,n),g=i.length,f=[];for(o=0;o<g-1;o++)s=u[2*o],c=u[2*o+1],l=i[o+1],f.push(["C",s[0],s[1],c[0],c[1],l[0],l[1]]);return r&&(s=u[g],c=u[g+1],l=i[0],f.push(["C",s[0],s[1],c[0],c[1],l[0],l[1]])),f}function y(t,e,n){var r=[],i=t[0],o=null;if(t.length<=2)return function(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r<i;r+=1){var o=t[r];n.push(["L",o.x,o.y])}e&&n.push(["Z"])}return n}(t,e);for(var a=0,s=t.length;a<s;a++){var c=t[a];o&&o.x===c.x&&o.y===c.y||(r.push(c.x),r.push(c.y),o=c)}var l=I(r,e,n||[[0,0],[1,1]]);return l.unshift(["M",i.x,i.y]),l}function m(t){return(m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var b={}.toString,x=function(t,e){return b.call(t)==="[object "+e+"]"},w=function(t){return x(t,"Array")},O=function(t){if(!function(t){return"object"===m(t)&&null!==t}(t)||!x(t,"Object"))return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},S=function t(e,n,r,i){for(var o in r=r||0,i=i||5,n)if(Object.prototype.hasOwnProperty.call(n,o)){var a=n[o];a?O(a)?(O(e[o])||(e[o]={}),r<i?t(e[o],a,r+1,i):e[o]=n[o]):w(a)?(e[o]=[],e[o]=e[o].concat(a)):e[o]=a:e[o]=a}},_=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)S(t,e[r]);return t};function k(t){return t?t.match(/(([A-Z]{0,1}[a-z]*[^A-Z])|([A-Z]{1}))/g).map((function(t){return t.toLowerCase()})).join("-"):t}var j,E=n(137);Object(a.memoize)((function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,i=void 0===r?"sans-serif":r,o=e.fontWeight,s=e.fontStyle,c=e.fontVariant,l=(j||(j=document.createElement("canvas").getContext("2d")),j);return l.font=[s,o,c,n+"px",i].join(" "),l.measureText(Object(a.isString)(t)?t:"").width}),(function(t,e){return void 0===e&&(e={}),Object(l.__spreadArrays)([t],Object(a.values)(e)).join("")}))},function(t,e,n){"use strict";n.d(e,"d",(function(){return s})),n.d(e,"k",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return u})),n.d(e,"j",(function(){return g})),n.d(e,"i",(function(){return f})),n.d(e,"h",(function(){return d})),n.d(e,"g",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"b",(function(){return A})),n.d(e,"e",(function(){return C}));var r=n(1),i=n(0),o=n(70),a=n(2);function s(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,o=n.seriesField;return!1===r?e.legend(!1):(i||o)&&e.legend(i||o,r),t}function c(t){var e=t.chart,n=t.options.tooltip;return void 0!==n&&e.tooltip(n),t}function l(t){var e=t.chart,n=t.options.interactions;return Object(i.each)(n,(function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg||{})})),t}function u(t){var e=t.chart,n=t.options.animation;return"boolean"===typeof n?e.animate(n):e.animate(!0),Object(i.each)(e.geometries,(function(t){t.animate(n)})),t}function g(t){var e=t.chart,n=t.options.theme;return n&&e.theme(n),t}function f(t){var e=t.chart,n=t.options.state;return n&&Object(i.each)(e.geometries,(function(t){t.state(n)})),t}function d(t){var e=t.chart,n=t.options.slider;return e.option("slider",n),t}function h(t){var e=t.chart,n=t.options.scrollbar;return e.option("scrollbar",n),t}function p(t,e){return function(n){var r=n.chart,s=n.options,c={};return Object(i.each)(t,(function(t,e){c[e]=Object(a.k)(t,o.a)})),c=Object(a.b)({},e,s.meta,c),r.scale(c),n}}function A(t){return function(e){var n=e.chart,o=e.options,a=n.getController("annotation");return Object(i.each)(Object(r.__spreadArrays)(o.annotations||[],t||[]),(function(t){a.annotation(t)})),e}}function C(t){var e=t.chart,n=t.options,r=n.yAxis,o=n.limitInPlot,s=o;return Object(i.isObject)(r)&&Object(i.isNil)(o)&&(s=!!Object.values(Object(a.k)(r,["min","max","minLimit","maxLimit"])).some((function(t){return!Object(i.isNil)(t)}))),e.limitInPlot=s,t}},function(e,n){e.exports=t},function(t,e,n){"use strict";var r=n(315),i=n(318),o=n(322),a=n(323),s=n(503),c=i.apply(a()),l=function(t,e){return c(Object,arguments)};r(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e,n){"use strict";n.r(e),n.d(e,"VERSION",(function(){return l}));var r=n(228),i=n(465),o=n(34),a=(n(680),n(560),n(346));for(var s in n.d(e,"createThemeByStyleSheet",(function(){return a.c})),n.d(e,"antvLight",(function(){return a.b})),n.d(e,"antvDark",(function(){return a.a})),o)["default","VERSION","setDefaultErrorFallback","createThemeByStyleSheet","antvLight","antvDark"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(s);var c=n(79);n.d(e,"setDefaultErrorFallback",(function(){return c.c})),Object(o.registerEngine)("canvas",r),Object(o.registerEngine)("svg",i);var l="4.1.5",u=r.Canvas.prototype.getPointByClient;r.Canvas.prototype.getPointByClient=function(t,e){var n=u.call(this,t,e),r=this.get("el").getBoundingClientRect(),i=this.get("width"),o=this.get("height"),a=r.width,s=r.height;return{x:n.x/(a/i),y:n.y/(s/o)}}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(34),o=n(166),a=n(113);i.registerTheme("dark",a.createThemeByStyleSheet(o.antvDark));var s=r.__importStar(n(188)),c=r.__importStar(n(271)),l=n(34);l.registerEngine("canvas",s),l.registerEngine("svg",c);var u=n(34),g=r.__importDefault(n(272)),f=r.__importDefault(n(273)),d=r.__importDefault(n(274)),h=r.__importDefault(n(275)),p=r.__importDefault(n(276)),A=r.__importDefault(n(161)),C=r.__importDefault(n(277)),v=r.__importDefault(n(278)),I=r.__importDefault(n(279));u.registerGeometry("Polygon",v.default),u.registerGeometry("Interval",h.default),u.registerGeometry("Schema",I.default),u.registerGeometry("Path",A.default),u.registerGeometry("Point",C.default),u.registerGeometry("Line",p.default),u.registerGeometry("Area",g.default),u.registerGeometry("Edge",f.default),u.registerGeometry("Heatmap",d.default),n(564),n(565),n(566),n(567),n(568),n(569),n(353),n(354),n(355),n(356),n(357),n(250),n(358),n(359),n(360),n(361),n(362),n(363);var y=n(34),m=r.__importDefault(n(103)),b=r.__importDefault(n(167)),x=r.__importDefault(n(168)),w=r.__importDefault(n(196));y.registerGeometryLabel("base",m.default),y.registerGeometryLabel("interval",b.default),y.registerGeometryLabel("pie",x.default),y.registerGeometryLabel("polar",w.default);var O=n(34),S=n(280),_=n(570),k=n(571),j=n(281),E=n(282),P=n(212),M=n(572),T=n(574),R=n(576),D=n(577),N=n(578),L=n(579),F=n(580);O.registerGeometryLabelLayout("overlap",P.overlap),O.registerGeometryLabelLayout("distribute",S.distribute),O.registerGeometryLabelLayout("fixed-overlap",P.fixedOverlap),O.registerGeometryLabelLayout("hide-overlap",M.hideOverlap),O.registerGeometryLabelLayout("limit-in-shape",E.limitInShape),O.registerGeometryLabelLayout("limit-in-canvas",j.limitInCanvas),O.registerGeometryLabelLayout("limit-in-plot",F.limitInPlot),O.registerGeometryLabelLayout("pie-outer",_.pieOuterLabelLayout),O.registerGeometryLabelLayout("adjust-color",T.adjustColor),O.registerGeometryLabelLayout("interval-adjust-position",R.intervalAdjustPosition),O.registerGeometryLabelLayout("interval-hide-overlap",D.intervalHideOverlap),O.registerGeometryLabelLayout("point-adjust-position",N.pointAdjustPosition),O.registerGeometryLabelLayout("pie-spider",k.pieSpiderLabelLayout),O.registerGeometryLabelLayout("path-adjust-position",L.pathAdjustPosition);var B=n(208),z=n(171),V=n(164),G=n(266),W=n(209),Y=n(267),H=n(268),U=n(211),X=n(34);X.registerAnimation("fade-in",B.fadeIn),X.registerAnimation("fade-out",B.fadeOut),X.registerAnimation("grow-in-x",z.growInX),X.registerAnimation("grow-in-xy",z.growInXY),X.registerAnimation("grow-in-y",z.growInY),X.registerAnimation("scale-in-x",W.scaleInX),X.registerAnimation("scale-in-y",W.scaleInY),X.registerAnimation("wave-in",H.waveIn),X.registerAnimation("zoom-in",U.zoomIn),X.registerAnimation("zoom-out",U.zoomOut),X.registerAnimation("position-update",G.positionUpdate),X.registerAnimation("sector-path-update",Y.sectorPathUpdate),X.registerAnimation("path-in",V.pathIn);var Z=n(34),q=r.__importDefault(n(283)),K=r.__importDefault(n(284)),Q=r.__importDefault(n(285)),J=r.__importDefault(n(286)),$=r.__importDefault(n(287)),tt=r.__importDefault(n(288));Z.registerFacet("rect",$.default),Z.registerFacet("mirror",J.default),Z.registerFacet("list",K.default),Z.registerFacet("matrix",Q.default),Z.registerFacet("circle",q.default),Z.registerFacet("tree",tt.default);var et=n(34),nt=r.__importDefault(n(264)),rt=r.__importDefault(n(289)),it=r.__importDefault(n(290)),ot=r.__importDefault(n(291)),at=r.__importDefault(n(187)),st=r.__importDefault(n(584));et.registerComponentController("axis",rt.default),et.registerComponentController("legend",it.default),et.registerComponentController("tooltip",at.default),et.registerComponentController("annotation",nt.default),et.registerComponentController("slider",ot.default),et.registerComponentController("scrollbar",st.default);var ct=n(34),lt=r.__importDefault(n(292)),ut=r.__importDefault(n(293)),gt=r.__importDefault(n(133)),ft=r.__importDefault(n(294)),dt=r.__importDefault(n(295)),ht=r.__importDefault(n(296)),pt=r.__importDefault(n(297)),At=r.__importDefault(n(298)),Ct=r.__importDefault(n(162)),vt=r.__importDefault(n(299)),It=r.__importDefault(n(300)),yt=r.__importDefault(n(213)),mt=r.__importDefault(n(301)),bt=r.__importDefault(n(302)),xt=r.__importDefault(n(303)),wt=r.__importDefault(n(304)),Ot=r.__importDefault(n(305)),St=r.__importDefault(n(214)),_t=r.__importDefault(n(306)),kt=r.__importDefault(n(307)),jt=r.__importDefault(n(586)),Et=r.__importDefault(n(587)),Pt=r.__importDefault(n(366)),Mt=r.__importDefault(n(365)),Tt=r.__importDefault(n(588)),Rt=r.__importDefault(n(308)),Dt=r.__importDefault(n(309)),Nt=r.__importDefault(n(367)),Lt=r.__importDefault(n(589)),Ft=r.__importDefault(n(590)),Bt=r.__importDefault(n(591)),zt=r.__importDefault(n(592)),Vt=r.__importDefault(n(593)),Gt=r.__importDefault(n(594)),Wt=r.__importDefault(n(595)),Yt=r.__importDefault(n(596));ct.registerAction("tooltip",gt.default),ct.registerAction("sibling-tooltip",ut.default),ct.registerAction("ellipsis-text",ft.default),ct.registerAction("element-active",dt.default),ct.registerAction("element-single-active",At.default),ct.registerAction("element-range-active",pt.default),ct.registerAction("element-highlight",Ct.default),ct.registerAction("element-highlight-by-x",It.default),ct.registerAction("element-highlight-by-color",vt.default),ct.registerAction("element-single-highlight",mt.default),ct.registerAction("element-range-highlight",yt.default),ct.registerAction("element-sibling-highlight",yt.default,{effectSiblings:!0,effectByRecord:!0}),ct.registerAction("element-selected",xt.default),ct.registerAction("element-single-selected",wt.default),ct.registerAction("element-range-selected",bt.default),ct.registerAction("element-link-by-color",ht.default),ct.registerAction("active-region",lt.default),ct.registerAction("list-active",Ot.default),ct.registerAction("list-selected",_t.default),ct.registerAction("list-highlight",St.default),ct.registerAction("list-unchecked",kt.default),ct.registerAction("legend-item-highlight",St.default,{componentNames:["legend"]}),ct.registerAction("axis-label-highlight",St.default,{componentNames:["axis"]}),ct.registerAction("rect-mask",Mt.default),ct.registerAction("x-rect-mask",Et.default,{dim:"x"}),ct.registerAction("y-rect-mask",Et.default,{dim:"y"}),ct.registerAction("circle-mask",jt.default),ct.registerAction("path-mask",Pt.default),ct.registerAction("smooth-path-mask",Tt.default),ct.registerAction("cursor",Rt.default),ct.registerAction("data-filter",Dt.default),ct.registerAction("brush",Nt.default),ct.registerAction("brush-x",Nt.default,{dims:["x"]}),ct.registerAction("brush-y",Nt.default,{dims:["y"]}),ct.registerAction("sibling-filter",Lt.default),ct.registerAction("sibling-x-filter",Lt.default),ct.registerAction("sibling-y-filter",Lt.default),ct.registerAction("element-filter",Ft.default),ct.registerAction("element-sibling-filter",Bt.default),ct.registerAction("element-sibling-filter-record",Bt.default,{byRecord:!0}),ct.registerAction("view-drag",Vt.default),ct.registerAction("view-move",Gt.default),ct.registerAction("scale-translate",Wt.default),ct.registerAction("scale-zoom",Yt.default),ct.registerAction("reset-button",zt.default,{name:"reset-button",text:"reset"});var Ht=n(34);function Ut(t){return t.isInPlot()}function Xt(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}Ht.registerInteraction("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Ht.registerInteraction("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),Ht.registerInteraction("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),Ht.registerInteraction("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),Ht.registerInteraction("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),Ht.registerInteraction("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),Ht.registerInteraction("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),Ht.registerInteraction("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),Ht.registerInteraction("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),Ht.registerInteraction("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),Ht.registerInteraction("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),Ht.registerInteraction("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),Ht.registerInteraction("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:Ut,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:Ut,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:Ut,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),Ht.registerInteraction("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),Ht.registerInteraction("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:Ut,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:Ut,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:Ut,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),Ht.registerInteraction("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:Ut,action:"path-mask:start"},{trigger:"mousedown",isEnable:Ut,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),Ht.registerInteraction("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),Ht.registerInteraction("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","data-filter:filter"]}]}),Ht.registerInteraction("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),Ht.registerInteraction("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),Ht.registerInteraction("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","element-filter:filter"]}]}),Ht.registerInteraction("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),Ht.registerInteraction("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(t){return Xt(t.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(t){return!Xt(t.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),Ht.registerInteraction("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]}),r.__exportStar(n(34),e)},function(t,e,n){"use strict";var r=n(5),i=n.n(r),o=n(57),a=n.n(o),s=n(8),c=n.n(s),l=n(35),u=n.n(l),g=n(11),f=n.n(g),d=n(12),h=n.n(d),p=n(6),A=n.n(p),C=n(4),v=n.n(C),I=n(218),y=n.n(I),m=n(36),b=n.n(m),x=n(141),w=n(79),O=n(84),S=n(61),_=n(169),k=n(90),j=n(80),E=n(89),P=n(99),M=n(13),T=n(0),R=n(14),D=n.n(R);function N(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=A()(t);if(e){var i=A()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h()(this,n)}}var L=function(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){var i=0;for(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},F=v.a.createElement("div",{style:{position:"absolute",top:"48%",left:"50%",color:"#aaa",textAlign:"center"}},"\u6682\u65e0\u6570\u636e"),B={padding:"8px 24px 10px 10px",fontFamily:"PingFang SC",fontSize:12,color:"grey",textAlign:"left",lineHeight:"16px",position:"absolute",top:0,left:0,height:30},z={padding:"10px 0 0 10px",fontFamily:"PingFang SC",fontSize:18,color:"black",textAlign:"left",lineHeight:"20px",position:"absolute",left:0,height:34},V=function(t){f()(n,t);var e=N(n);function n(){var t;return c()(this,n),(t=e.apply(this,arguments))._context={chart:null},t}return u()(n,[{key:"componentDidMount",value:function(){this.props.children&&this.g2Instance.chart&&this.g2Instance.chart.render(),Object(M.b)(this.g2Instance,{},this.props),this.g2Instance.data=this.props.data,this.preConfig=Object(j.a)(this.props,[].concat(a()(P.a),["container","PlotClass","onGetG2Instance","data"]))}},{key:"componentDidUpdate",value:function(t){this.props.children&&this.g2Instance.chart&&this.g2Instance.chart.render(),Object(M.b)(this.g2Instance,t,this.props)}},{key:"componentWillUnmount",value:function(){var t=this;this.g2Instance&&setTimeout((function(){t.g2Instance.destroy(),t.g2Instance=null,t._context.chart=null}),0)}},{key:"getG2Instance",value:function(){return this.g2Instance}},{key:"getChartView",value:function(){return this.g2Instance.chart}},{key:"checkInstanceReady",value:function(){if(this.g2Instance)if(this.shouldReCreate())this.g2Instance.destroy(),this.initInstance(),this.g2Instance.render();else if(this.diffConfig()){var t=Object(j.a)(this.props,["container","PlotClass","onGetG2Instance","children"]);this.g2Instance.update(t)}else this.diffData()&&this.g2Instance.changeData(this.props.data);else this.initInstance(),this.g2Instance.render();var e=Object(j.a)(this.props,[].concat(a()(P.a),["container","PlotClass","onGetG2Instance","data"]));this.preConfig=Object(E.a)(e),this.g2Instance.data=this.props.data}},{key:"initInstance",value:function(){var t=this.props,e=t.container,n=t.PlotClass,r=t.onGetG2Instance,i=(t.children,L(t,["container","PlotClass","onGetG2Instance","children"]));this.g2Instance=new n(e,i),this._context.chart=this.g2Instance,b()(r)&&r(this.g2Instance)}},{key:"diffConfig",value:function(){var t=this.preConfig||{},e=Object(j.a)(this.props,[].concat(a()(P.a),["container","PlotClass","onGetG2Instance","data"]));return!y()(t,e)}},{key:"diffData",value:function(){var t=this.g2Instance.data,e=this.props.data;if(!Object(T.isArray)(t)||!Object(T.isArray)(e))return!t===e;if(t.length!==e.length)return!0;var n=!0;return t.forEach((function(t,r){Object(k.a)(t,e[r])||(n=!1)})),!n}},{key:"shouldReCreate",value:function(){return!!this.props.forceUpdate}},{key:"render",value:function(){this.checkInstanceReady();var t=this.getChartView();return v.a.createElement(O.a.Provider,{value:this._context},v.a.createElement(S.a.Provider,{value:t},v.a.createElement("div",null,this.props.children)))}}]),n}(v.a.Component),G=Object(x.a)(V);e.a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t},r=v.a.forwardRef((function(e,r){var o=e.title,a=e.description,s=e.autoFit,c=e.forceFit,l=e.errorContent,u=void 0===l?w.a:l,g=e.placeholder,f=e.ErrorBoundaryProps,d=L(e,["title","description","autoFit","forceFit","errorContent","placeholder","ErrorBoundaryProps"]),h=n(d),p=v.a.isValidElement(u)?function(){return u}:u;if(g&&!h.data){var A=!0===g?F:g;return v.a.createElement(w.b,i()({FallbackComponent:p},f),v.a.createElement("div",{style:{width:e.width||"100%",height:e.height||400,textAlign:"center",position:"relative"}},A))}var C=Object(_.a)(o,!1),I=Object(_.a)(a,!1),y=0,m=i()(i()({},z),C.style),b=i()(i()(i()({},B),I.style),{top:m.height});return C.visible&&(y+=m.height),Object(T.isNil)(c)||D()(!1,"\u8bf7\u4f7f\u7528autoFit\u66ff\u4ee3forceFit"),I.visible&&(y+=b.height),v.a.createElement(w.b,i()({FallbackComponent:p},f),v.a.createElement("div",{className:"bizcharts-plot",style:{position:"relative",display:"flex",flexDirection:"column",height:e.height||"100%",width:e.width||"100%"}},C.visible&&v.a.createElement("div",i()({},Object(M.d)(h),{className:"bizcharts-plot-title",style:m}),C.text),I.visible&&v.a.createElement("div",i()({},Object(M.a)(h),{className:"bizcharts-plot-description",style:b}),I.text),v.a.createElement(G,i()({appendPadding:[10+y,5,10,10],autoFit:Object(T.isNil)(s)?c:s,ref:r},h,{PlotClass:t,containerStyle:{top:0,left:0,position:"absolute"}}))))}));return r.displayName=e||t.name,r}},function(t,e,n){var r=n(504);t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}},function(t,e,n){var r=n(108),i=n(505);t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!==typeof e?i(t):e}},function(t,e,n){"use strict";n.d(e,"f",(function(){return g})),n.d(e,"g",(function(){return f})),n.d(e,"e",(function(){return d})),n.d(e,"c",(function(){return h})),n.d(e,"b",(function(){return p})),n.d(e,"d",(function(){return A})),n.d(e,"a",(function(){return C}));var r=n(5),i=n.n(r),o=n(14),a=n.n(o),s=n(0),c=n(217),l=n(146),u=function(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){var i=0;for(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},g=function(t,e){t.forEach((function(t){var n=t.sourceKey,r=t.targetKey,i=t.notice,o=Object(s.get)(e,n);o&&(a()(!1,i),Object(s.set)(e,r,o))}))},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"angleAxis",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"xAxis";if(!Object(s.isNil)(t[e]))if(!1!==Object(s.get)(t,"".concat(e,".visible"))){var r=i()({},t[e]);if(!1===Object(s.get)(t,"".concat(e,".line.visible"))&&(r.line=null),!1===Object(s.get)(t,"".concat(e,".grid.visible"))&&(r.grid=null),!1===Object(s.get)(t,"".concat(e,".label.visible")))r.label=!1;else{var o=Object(s.get)(t,"".concat(e,".label"),{});if(o){var a=i()({},o.suffix);Object(s.isNil)(a)&&!a||(o=i()(i()({},o),{formatter:function(t){return"".concat(t).concat(a)}}));var c=o,l=c.offsetX,g=c.offsetY,f=c.offset,d=u(o,["offsetX","offsetY","offset"]);!Object(s.isNil)(f)||Object(s.isNil)(l)&&Object(s.isNil)(g)||("xAxis"===n&&(o=i()(i()({},d),{offset:Object(s.isNil)(l)?g:l})),"yAxis"===n&&(o=i()(i()({},d),{offset:Object(s.isNil)(g)?l:g}))),r.label=o}}!1===Object(s.get)(t,"".concat(e,".tickLine.visible"))&&(r.tickLine=!1),!1===Object(s.get)(t,"".concat(e,".title.visible"))&&(r.title=!1),Object(s.set)(t,n,r)}else Object(s.set)(t,n,!1)},d=function(t,e){var n=Object(s.get)(t,"".concat(e,".visible"));return!1!==n&&null!==n||Object(s.set)(t,e,!1),n},h=function(t){var e=i()({},t);d(e,"tooltip"),d(e,"legend")&&!1===Object(s.get)(e,"legend.title.visible")&&Object(s.set)(e,"legend.title",!1);var n=Object(s.get)(e,"legend.formatter");if(n){var r=Object(s.get)(e,"legend.itemName",{});Object(s.set)(e,"legend.itemName",i()(i()({},r),{formatter:n}))}var o=Object(s.get)(e,"legend.text");o&&Object(s.set)(e,"legend.itemName",o),d(e,"label");var a=Object(s.get)(e,"guideLine",[]),l=Object(s.get)(e,"data",[]),u=Object(s.get)(e,"yField","y");a.forEach((function(t){if(l.length>0){var n="median";switch(t.type){case"max":n=Object(s.maxBy)(l,(function(t){return t[u]}))[u];break;case"mean":n=Object(c.a)(l.map((function(t){return t[u]})))/l.length;break;default:n=Object(s.minBy)(l,(function(t){return t[u]}))[u]}var r=i()(i()({start:["min",n],end:["max",n],style:t.lineStyle,text:{content:n}},t),{type:"line"});Object(s.get)(e,"annotations")||Object(s.set)(e,"annotations",[]),e.annotations.push(r),Object(s.set)(e,"point",!1)}}));var g=Object(s.get)(e,"interactions",[]).find((function(t){return"slider"===t.type}));return g&&Object(s.isNil)(e.slider)&&(e.slider=g.cfg),e},p=function(t,e,n){var r=Object(l.a)(Object(s.get)(e,"events",[])),i=Object(l.a)(Object(s.get)(n,"events",[]));r.forEach((function(n){t.off(n[1],e.events[n[0]])})),i.forEach((function(e){t.on(e[1],n.events[e[0]])}))},A=function(t){var e=Object(s.get)(t,"events",{}),n={};return["onTitleClick","onTitleDblClick","onTitleMouseleave","onTitleMousemove","onTitleMousedown","onTitleMouseup","onTitleMouseenter"].forEach((function(t){e[t]&&(n[t.replace("Title","")]=e[t])})),n},C=function(t){var e=Object(s.get)(t,"events",{}),n={};return["onDescriptionClick","onDescriptionDblClick","onDescriptionMouseleave","onDescriptionMousemove","onDescriptionMousedown","onDescriptionMouseup","onDescriptionMouseenter"].forEach((function(t){e[t]&&(n[t.replace("Description","")]=e[t])})),n}},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";n.r(e),n.d(e,"mat3",(function(){return r})),n.d(e,"vec2",(function(){return F})),n.d(e,"vec3",(function(){return B})),n.d(e,"ext",(function(){return i}));var r={};n.r(r),n.d(r,"create",(function(){return a})),n.d(r,"fromMat4",(function(){return s})),n.d(r,"clone",(function(){return c})),n.d(r,"copy",(function(){return l})),n.d(r,"fromValues",(function(){return u})),n.d(r,"set",(function(){return g})),n.d(r,"identity",(function(){return f})),n.d(r,"transpose",(function(){return d})),n.d(r,"invert",(function(){return h})),n.d(r,"adjoint",(function(){return p})),n.d(r,"determinant",(function(){return A})),n.d(r,"multiply",(function(){return C})),n.d(r,"translate",(function(){return v})),n.d(r,"rotate",(function(){return I})),n.d(r,"scale",(function(){return y})),n.d(r,"fromTranslation",(function(){return m})),n.d(r,"fromRotation",(function(){return b})),n.d(r,"fromScaling",(function(){return x})),n.d(r,"fromMat2d",(function(){return w})),n.d(r,"fromQuat",(function(){return O})),n.d(r,"normalFromMat4",(function(){return S})),n.d(r,"projection",(function(){return _})),n.d(r,"str",(function(){return k})),n.d(r,"frob",(function(){return j})),n.d(r,"add",(function(){return E})),n.d(r,"subtract",(function(){return P})),n.d(r,"multiplyScalar",(function(){return M})),n.d(r,"multiplyScalarAndAdd",(function(){return T})),n.d(r,"exactEquals",(function(){return R})),n.d(r,"equals",(function(){return D})),n.d(r,"mul",(function(){return N})),n.d(r,"sub",(function(){return L}));var i={};n.r(i),n.d(i,"leftTranslate",(function(){return z})),n.d(i,"leftRotate",(function(){return V})),n.d(i,"leftScale",(function(){return G})),n.d(i,"transform",(function(){return W})),n.d(i,"direction",(function(){return Y})),n.d(i,"angleTo",(function(){return H})),n.d(i,"vertical",(function(){return U}));var o=n(33);function a(){var t=new o.a(9);return o.a!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function c(t){var e=new o.a(9);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function l(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t}function u(t,e,n,r,i,a,s,c,l){var u=new o.a(9);return u[0]=t,u[1]=e,u[2]=n,u[3]=r,u[4]=i,u[5]=a,u[6]=s,u[7]=c,u[8]=l,u}function g(t,e,n,r,i,o,a,s,c,l){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=a,t[6]=s,t[7]=c,t[8]=l,t}function f(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function d(t,e){if(t===e){var n=e[1],r=e[2],i=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=i}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function h(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],c=e[6],l=e[7],u=e[8],g=u*a-s*l,f=-u*o+s*c,d=l*o-a*c,h=n*g+r*f+i*d;return h?(h=1/h,t[0]=g*h,t[1]=(-u*r+i*l)*h,t[2]=(s*r-i*a)*h,t[3]=f*h,t[4]=(u*n-i*c)*h,t[5]=(-s*n+i*o)*h,t[6]=d*h,t[7]=(-l*n+r*c)*h,t[8]=(a*n-r*o)*h,t):null}function p(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],c=e[6],l=e[7],u=e[8];return t[0]=a*u-s*l,t[1]=i*l-r*u,t[2]=r*s-i*a,t[3]=s*c-o*u,t[4]=n*u-i*c,t[5]=i*o-n*s,t[6]=o*l-a*c,t[7]=r*c-n*l,t[8]=n*a-r*o,t}function A(t){var e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],c=t[7],l=t[8];return e*(l*o-a*c)+n*(-l*i+a*s)+r*(c*i-o*s)}function C(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],c=e[5],l=e[6],u=e[7],g=e[8],f=n[0],d=n[1],h=n[2],p=n[3],A=n[4],C=n[5],v=n[6],I=n[7],y=n[8];return t[0]=f*r+d*a+h*l,t[1]=f*i+d*s+h*u,t[2]=f*o+d*c+h*g,t[3]=p*r+A*a+C*l,t[4]=p*i+A*s+C*u,t[5]=p*o+A*c+C*g,t[6]=v*r+I*a+y*l,t[7]=v*i+I*s+y*u,t[8]=v*o+I*c+y*g,t}function v(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],c=e[5],l=e[6],u=e[7],g=e[8],f=n[0],d=n[1];return t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=c,t[6]=f*r+d*a+l,t[7]=f*i+d*s+u,t[8]=f*o+d*c+g,t}function I(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],c=e[5],l=e[6],u=e[7],g=e[8],f=Math.sin(n),d=Math.cos(n);return t[0]=d*r+f*a,t[1]=d*i+f*s,t[2]=d*o+f*c,t[3]=d*a-f*r,t[4]=d*s-f*i,t[5]=d*c-f*o,t[6]=l,t[7]=u,t[8]=g,t}function y(t,e,n){var r=n[0],i=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=i*e[3],t[4]=i*e[4],t[5]=i*e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t}function m(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t}function b(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function x(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function w(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t}function O(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n+n,s=r+r,c=i+i,l=n*a,u=r*a,g=r*s,f=i*a,d=i*s,h=i*c,p=o*a,A=o*s,C=o*c;return t[0]=1-g-h,t[3]=u-C,t[6]=f+A,t[1]=u+C,t[4]=1-l-h,t[7]=d-p,t[2]=f-A,t[5]=d+p,t[8]=1-l-g,t}function S(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],c=e[6],l=e[7],u=e[8],g=e[9],f=e[10],d=e[11],h=e[12],p=e[13],A=e[14],C=e[15],v=n*s-r*a,I=n*c-i*a,y=n*l-o*a,m=r*c-i*s,b=r*l-o*s,x=i*l-o*c,w=u*p-g*h,O=u*A-f*h,S=u*C-d*h,_=g*A-f*p,k=g*C-d*p,j=f*C-d*A,E=v*j-I*k+y*_+m*S-b*O+x*w;return E?(E=1/E,t[0]=(s*j-c*k+l*_)*E,t[1]=(c*S-a*j-l*O)*E,t[2]=(a*k-s*S+l*w)*E,t[3]=(i*k-r*j-o*_)*E,t[4]=(n*j-i*S+o*O)*E,t[5]=(r*S-n*k-o*w)*E,t[6]=(p*x-A*b+C*m)*E,t[7]=(A*y-h*x-C*I)*E,t[8]=(h*b-p*y+C*v)*E,t):null}function _(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t}function k(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"}function j(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])}function E(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t}function P(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}function M(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t}function T(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t}function R(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]}function D(t,e){var n=t[0],r=t[1],i=t[2],a=t[3],s=t[4],c=t[5],l=t[6],u=t[7],g=t[8],f=e[0],d=e[1],h=e[2],p=e[3],A=e[4],C=e[5],v=e[6],I=e[7],y=e[8];return Math.abs(n-f)<=o.b*Math.max(1,Math.abs(n),Math.abs(f))&&Math.abs(r-d)<=o.b*Math.max(1,Math.abs(r),Math.abs(d))&&Math.abs(i-h)<=o.b*Math.max(1,Math.abs(i),Math.abs(h))&&Math.abs(a-p)<=o.b*Math.max(1,Math.abs(a),Math.abs(p))&&Math.abs(s-A)<=o.b*Math.max(1,Math.abs(s),Math.abs(A))&&Math.abs(c-C)<=o.b*Math.max(1,Math.abs(c),Math.abs(C))&&Math.abs(l-v)<=o.b*Math.max(1,Math.abs(l),Math.abs(v))&&Math.abs(u-I)<=o.b*Math.max(1,Math.abs(u),Math.abs(I))&&Math.abs(g-y)<=o.b*Math.max(1,Math.abs(g),Math.abs(y))}var N=C,L=P,F=n(139),B=n(160);function z(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return r.fromTranslation(i,n),r.multiply(t,i,e)}function V(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return r.fromRotation(i,n),r.multiply(t,i,e)}function G(t,e,n){var i=[0,0,0,0,0,0,0,0,0];return r.fromScaling(i,n),r.multiply(t,i,e)}function W(t,e){for(var n,i,o,a=t?[].concat(t):[1,0,0,0,1,0,0,0,1],s=0,c=e.length;s<c;s++){var l=e[s];switch(l[0]){case"t":z(a,a,[l[1],l[2]]);break;case"s":G(a,a,[l[1],l[2]]);break;case"r":V(a,a,l[1]);break;case"m":n=a,i=a,o=l[1],r.multiply(n,o,i)}}return a}function Y(t,e){return t[0]*e[1]-e[0]*t[1]}function H(t,e,n){var r=F.angle(t,e),i=Y(t,e)>=0;return n?i?2*Math.PI-r:r:i?r:2*Math.PI-r}function U(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,"a",(function(){return s})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return u})),n.d(e,"c",(function(){return f})),n.d(e,"f",(function(){return d.a})),n.d(e,"b",(function(){return h}));var r=n(1),i=n(55),o=n(2),a=n(51);function s(t){var e=t.options,n=e.area,s=e.xField,c=e.yField,l=e.seriesField,u=e.smooth,g=e.tooltip,f=Object(i.a)(g,[s,c,l]),d=f.fields,h=f.formatter;return n?Object(a.a)(Object(o.b)({},t,{options:{type:"area",colorField:l,tooltipFields:d,mapping:Object(r.__assign)({shape:u?"smooth":"area",tooltip:h},n)}})):t}var c=n(0);function l(t){var e=t.options,n=e.line,r=e.stepType,s=e.xField,l=e.yField,u=e.seriesField,g=e.smooth,f=e.connectNulls,d=e.tooltip,h=Object(i.a)(d,[s,l,u]),p=h.fields,A=h.formatter;return n?Object(a.a)(Object(o.b)({},t,{options:{type:"line",colorField:u,tooltipFields:p,mapping:Object(c.deepMix)({shape:r||(g?"smooth":"line"),tooltip:A},n),args:{connectNulls:f}}})):t}function u(t){var e=t.options,n=e.point,s=e.xField,c=e.yField,l=e.seriesField,u=e.sizeField,g=e.shapeField,f=e.tooltip,d=Object(i.a)(f,[s,c,l,u,g]),h=d.fields,p=d.formatter;return n?Object(a.a)(Object(o.b)({},t,{options:{type:"point",colorField:l,shapeField:g,tooltipFields:h,mapping:Object(r.__assign)({tooltip:p},n)}})):t}var g=n(9);function f(t){var e=t.options,n=e.xField,s=e.yField,l=e.interval,u=e.seriesField,f=e.tooltip,d=e.minColumnWidth,h=e.maxColumnWidth,p=e.columnBackground,A=Object(i.a)(f,[n,s,u]),C=A.fields,v=A.formatter,I=(l?Object(a.a)(Object(o.b)({},t,{options:{type:"interval",colorField:u,tooltipFields:C,mapping:Object(r.__assign)({tooltip:v},l),args:{minColumnWidth:d,maxColumnWidth:h,background:p}}})):t).ext;return function(t){var e=t.chart,n=t.options,r=t.ext,i=n.seriesField,a=n.isGroup,s=n.isStack,l=n.marginRatio,u=n.widthRatio,f=n.groupField,d=n.theme,h=[];return i&&(a&&h.push({type:"dodge",dodgeBy:f||i,marginRatio:l}),s&&h.push({type:"stack",marginRatio:l})),h.length&&(null===r||void 0===r?void 0:r.geometry)&&(null===r||void 0===r?void 0:r.geometry).adjust(h),Object(c.isNil)(u)||e.theme(Object(o.b)({},Object(c.isObject)(d)?d:Object(g.getTheme)(d),{columnWidthRatio:u})),t}(Object(r.__assign)(Object(r.__assign)({},t),{ext:I}))}var d=n(203);function h(t){var e=t.options,n=e.edge,s=e.xField,c=e.yField,l=e.seriesField,u=e.tooltip,g=Object(i.a)(u,[s,c,l]),f=g.fields,d=g.formatter;return n?Object(a.a)(Object(o.b)({},t,{options:{type:"edge",colorField:l,tooltipFields:f,mapping:Object(r.__assign)({tooltip:d},n)}})):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 c})),n.d(e,"b",(function(){return l})),n.d(e,"g",(function(){return u})),n.d(e,"e",(function(){return g})),n.d(e,"i",(function(){return f})),n.d(e,"d",(function(){return d})),n.d(e,"m",(function(){return h})),n.d(e,"l",(function(){return p})),n.d(e,"f",(function(){return A}));var r=n(0);function i(t){var e=0,n=0,i=0,o=0;return Object(r.isNumber)(t)?e=n=i=o=t:Object(r.isArray)(t)&&(e=t[0],i=Object(r.isNil)(t[1])?t[0]:t[1],o=Object(r.isNil)(t[2])?t[0]:t[2],n=Object(r.isNil)(t[3])?i:t[3]),[e,i,o,n]}function o(t){for(var e=t.childNodes,n=e.length-1;n>=0;n--)t.removeChild(e[n])}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 c(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 l(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 g(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}}var f=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 d(t){var e,n=t.getClip(),i=n&&n.getBBox();if(t.isGroup()){var o=1/0,a=-1/0,s=1/0,c=-1/0,u=t.getChildren();u.length>0?Object(r.each)(u,(function(t){if(t.get("visible")){if(t.isGroup()&&0===t.get("children").length)return!0;var e=d(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]),l=t.applyToMatrix([e.maxX,e.maxY,1]),u=Math.min(n[0],r[0],i[0],l[0]),g=Math.max(n[0],r[0],i[0],l[0]),f=Math.min(n[1],r[1],i[1],l[1]),h=Math.max(n[1],r[1],i[1],l[1]);u<o&&(o=u),g>a&&(a=g),f<s&&(s=f),h>c&&(c=h)}})):(o=0,a=0,s=0,c=0),e=l(o,s,a-o,c-s)}else e=t.getBBox();return i?function(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY);return l(n,r,Math.min(t.maxX,e.maxX)-n,Math.min(t.maxY,e.maxY)-r)}(e,i):e}function h(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 p(t){return t+"px"}function A(t,e,n,r){var i=r/function(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}(t,e),o=0;return"start"===n?o=0-i:"end"===n&&(o=1+i),{x:u(t.x,e.x,o),y:u(t.y,e.y,o)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),i=n(9),o=n(0),a=n(128),s=n(310),c=n(2),l="data-chart-source-type",u=function(t){function e(e,n){var r=t.call(this)||this;return r.type="base",r.container="string"===typeof e?document.getElementById(e):e,r.options=Object(c.b)({},r.getDefaultOptions(),n),r.createG2(),r.bindEvents(),r}return Object(r.__extends)(e,t),e.prototype.createG2=function(){var t=this.options,e=t.width,n=t.height,o=t.padding,a=t.appendPadding,s=t.renderer,c=t.pixelRatio,u=t.syncViewPadding,g=t.supportCSSTransform,f=t.limitInPlot;this.chart=new i.Chart(Object(r.__assign)(Object(r.__assign)({container:this.container,autoFit:!1},this.getChartSize(e,n)),{padding:o,appendPadding:a,renderer:s,pixelRatio:c,localRefresh:!1,syncViewPadding:u,supportCSSTransform:g,limitInPlot:f})),this.container.setAttribute(l,"G2Plot")},e.prototype.getChartSize=function(t,e){var n=Object(c.g)(this.container);return{width:t||n.width||400,height:e||n.height||400}},e.prototype.bindEvents=function(){var t=this;this.chart&&this.chart.on("*",(function(e){(null===e||void 0===e?void 0:e.type)&&t.emit(e.type,e)}))},e.prototype.getDefaultOptions=function(){return{renderer:"canvas",xAxis:{nice:!0,label:{autoRotate:!1,autoHide:{type:"equidistance",cfg:{minGap:6}}}},yAxis:{nice:!0,label:{autoHide:!0,autoRotate:!1}},animation:!0}},e.prototype.render=function(){this.chart.clear(),this.chart.options={data:[],animate:!0},this.chart.views=[],this.execAdaptor(),this.chart.render(),this.bindSizeSensor()},e.prototype.update=function(t){this.updateOption(t),this.render()},e.prototype.updateOption=function(t){this.options=Object(c.b)({},this.options,t)},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var r=Object(c.f)(this.chart);Object(o.each)(r,(function(r){e(r.getData())&&r.setState(t,n)}))},e.prototype.getStates=function(){var t=Object(c.f)(this.chart),e=[];return Object(o.each)(t,(function(t){var n=t.getData(),r=t.getStates();Object(o.each)(r,(function(r){e.push({data:n,state:r,geometry:t.geometry,element:t})}))})),e},e.prototype.changeData=function(t){this.update({data:t})},e.prototype.changeSize=function(t,e){this.chart.changeSize(t,e)},e.prototype.destroy=function(){this.unbindSizeSensor(),this.chart.destroy(),this.off(),this.container.removeAttribute(l)},e.prototype.execAdaptor=function(){var t=this.getSchemaAdaptor(),e=this.options,n=e.padding,r=e.appendPadding;this.chart.padding=n,this.chart.appendPadding=r,t({chart:this.chart,options:this.options})},e.prototype.triggerResize=function(){this.chart.forceFit()},e.prototype.bindSizeSensor=function(){var t=this;if(!this.unbind){var e=this.options.autoFit;(void 0===e||e)&&(this.unbind=Object(s.bind)(this.container,(function(){var e=Object(c.g)(t.container),n=e.width,r=e.height;n===t.chart.width&&r===t.chart.height||t.triggerResize()})))}},e.prototype.unbindSizeSensor=function(){this.unbind&&(this.unbind(),this.unbind=void 0)},e}(a.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(63);e.default=function(t,e,n){for(var i=0,o=r.default(e)?e.split("."):e;t&&i<o.length;)t=t[o[i++]];return void 0===t||i<o.length?n:t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(616);Object.defineProperty(e,"flow",{enumerable:!0,get:function(){return r.flow}});var i=n(617);Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return i.pick}});var o=n(618);Object.defineProperty(e,"template",{enumerable:!0,get:function(){return o.template}});var a=n(619);Object.defineProperty(e,"log",{enumerable:!0,get:function(){return a.log}}),Object.defineProperty(e,"invariant",{enumerable:!0,get:function(){return a.invariant}}),Object.defineProperty(e,"LEVEL",{enumerable:!0,get:function(){return a.LEVEL}});var s=n(620);Object.defineProperty(e,"getContainerSize",{enumerable:!0,get:function(){return s.getContainerSize}});var c=n(621);Object.defineProperty(e,"findGeometry",{enumerable:!0,get:function(){return c.findGeometry}}),Object.defineProperty(e,"getAllElements",{enumerable:!0,get:function(){return c.getAllElements}});var l=n(622);Object.defineProperty(e,"findViewById",{enumerable:!0,get:function(){return l.findViewById}});var u=n(623);Object.defineProperty(e,"transformLabel",{enumerable:!0,get:function(){return u.transformLabel}});var g=n(624);Object.defineProperty(e,"getSplinePath",{enumerable:!0,get:function(){return g.getSplinePath}});var f=n(625);Object.defineProperty(e,"deepAssign",{enumerable:!0,get:function(){return f.deepAssign}});var d=n(626);Object.defineProperty(e,"kebabCase",{enumerable:!0,get:function(){return d.kebabCase}});var h=n(385);Object.defineProperty(e,"renderStatistic",{enumerable:!0,get:function(){return h.renderStatistic}}),Object.defineProperty(e,"renderGaugeStatistic",{enumerable:!0,get:function(){return h.renderGaugeStatistic}});var p=n(627);Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return p.measureTextWidth}})},function(t,e,n){"use strict";e.a={fontFamily:'\n "-apple-system", 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}},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"}},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 c})),n.d(e,"j",(function(){return l}));var r=n(0);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 c(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 l(t,e){return t[0]===e[0]&&t[1]===e[1]}n.d(e,"i",(function(){return r.isNil})),n.d(e,"k",(function(){return r.isString})),n.d(e,"h",(function(){return r.isFunction})),n.d(e,"g",(function(){return r.isArray})),n.d(e,"c",(function(){return r.each})),n.d(e,"o",(function(){return r.toRadian})),n.d(e,"m",(function(){return r.mod})),n.d(e,"n",(function(){return r.requestAnimationFrame})),n.d(e,"a",(function(){return r.clearAnimationFrame}))},function(t,e,n){"use strict";n.r(e),n.d(e,"version",(function(){return C}));var r=n(94);n.d(e,"PathUtil",(function(){return r}));var i=n(324);for(var o in i)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","version"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var a=n(325);for(var o in a)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","version"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);var s=n(182);n.d(e,"Event",(function(){return s.a}));var c=n(183);n.d(e,"Base",(function(){return c.a}));var l=n(415);n.d(e,"AbstractCanvas",(function(){return l.a}));var u=n(326);n.d(e,"AbstractGroup",(function(){return u.a}));var g=n(327);n.d(e,"AbstractShape",(function(){return g.a}));var f=n(419);n.d(e,"getBBoxMethod",(function(){return f.a}));var d=n(112);n.d(e,"getTextHeight",(function(){return d.b})),n.d(e,"assembleFont",(function(){return d.a}));var h=n(31);n.d(e,"isAllowCapture",(function(){return h.b}));var p=n(71);n.d(e,"multiplyVec2",(function(){return p.c})),n.d(e,"invert",(function(){return p.a}));var A=n(184);n.d(e,"getOffScreenContext",(function(){return A.a}));var C="0.5.4"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(73),i=n(63),o=n(610);e.default=function(t,e,n){var a=t,s=i.default(e)?e.split("."):e;return s.forEach((function(t,e){e<s.length-1?(r.default(a[t])||(a[t]=o.default(s[e+1])?[]:{}),a=a[t]):a[t]=n})),t}},function(t,e,n){"use strict";n.r(e),n.d(e,"Quad",(function(){return I})),n.d(e,"Cubic",(function(){return O})),n.d(e,"Arc",(function(){return M})),n.d(e,"Line",(function(){return f})),n.d(e,"Polygon",(function(){return z})),n.d(e,"Polyline",(function(){return F})),n.d(e,"Util",(function(){return r}));var r={};function i(t){return Math.min.apply(null,t)}function o(t){return Math.max.apply(null,t)}function a(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}function s(t,e){return Math.abs(t-e)<.001}function c(t,e){var n=i(t),r=i(e);return{x:n,y:r,width:o(t)-n,height:o(e)-r}}function l(t,e,n,r){return{minX:i([t,n]),maxX:o([t,n]),minY:i([e,r]),maxY:o([e,r])}}function u(t){return(t+2*Math.PI)%(2*Math.PI)}n.r(r),n.d(r,"distance",(function(){return a})),n.d(r,"isNumberEqual",(function(){return s})),n.d(r,"getBBoxByArray",(function(){return c})),n.d(r,"getBBoxRange",(function(){return l})),n.d(r,"piMod",(function(){return u}));var g=n(139),f={box:function(t,e,n,r){return c([t,n],[e,r])},length:function(t,e,n,r){return a(t,e,n,r)},pointAt:function(t,e,n,r,i){return{x:(1-i)*t+i*n,y:(1-i)*e+i*r}},pointDistance:function(t,e,n,r,i,o){var s=(n-t)*(i-t)+(r-e)*(o-e);return s<0?a(t,e,i,o):s>(n-t)*(n-t)+(r-e)*(r-e)?a(n,r,i,o):this.pointToLine(t,e,n,r,i,o)},pointToLine:function(t,e,n,r,i,o){var a=[n-t,r-e];if(g.exactEquals(a,[0,0]))return Math.sqrt((i-t)*(i-t)+(o-e)*(o-e));var s=[-a[1],a[0]];g.normalize(s,s);var c=[i-t,o-e];return Math.abs(g.dot(c,s))},tangentAngle:function(t,e,n,r){return Math.atan2(r-e,n-t)}};function d(t,e,n,r,i,o){var s,c=1/0,l=[n,r],u=20;o&&o>200&&(u=o/10);for(var g=1/u,f=g/10,d=0;d<=u;d++){var h=d*g,p=[i.apply(null,t.concat([h])),i.apply(null,e.concat([h]))];(I=a(l[0],l[1],p[0],p[1]))<c&&(s=h,c=I)}if(0===s)return{x:t[0],y:e[0]};if(1===s){var A=t.length;return{x:t[A-1],y:e[A-1]}}for(c=1/0,d=0;d<32&&!(f<1e-4);d++){var C=s-f,v=s+f,I=(p=[i.apply(null,t.concat([C])),i.apply(null,e.concat([C]))],a(l[0],l[1],p[0],p[1]));if(C>=0&&I<c)s=C,c=I;else{var y=[i.apply(null,t.concat([v])),i.apply(null,e.concat([v]))],m=a(l[0],l[1],y[0],y[1]);v<=1&&m<c?(s=v,c=m):f*=.5}}return{x:i.apply(null,t.concat([s])),y:i.apply(null,e.concat([s]))}}function h(t,e,n,r){var i=1-r;return i*i*t+2*r*i*e+r*r*n}function p(t,e,n){var r=t+n-2*e;if(s(r,0))return[.5];var i=(t-e)/r;return i<=1&&i>=0?[i]:[]}function A(t,e,n,r){return 2*(1-r)*(e-t)+2*r*(n-e)}function C(t,e,n,r,i,o,a){var s=h(t,n,i,a),c=h(e,r,o,a),l=f.pointAt(t,e,n,r,a),u=f.pointAt(n,r,i,o,a);return[[t,e,l.x,l.y,s,c],[s,c,u.x,u.y,i,o]]}function v(t,e,n,r,i,o,s){if(0===s)return(a(t,e,n,r)+a(n,r,i,o)+a(t,e,i,o))/2;var c=C(t,e,n,r,i,o,.5),l=c[0],u=c[1];return l.push(s-1),u.push(s-1),v.apply(null,l)+v.apply(null,u)}var I={box:function(t,e,n,r,i,o){var a=p(t,n,i)[0],s=p(e,r,o)[0],l=[t,i],u=[e,o];return void 0!==a&&l.push(h(t,n,i,a)),void 0!==s&&u.push(h(e,r,o,s)),c(l,u)},length:function(t,e,n,r,i,o){return v(t,e,n,r,i,o,3)},nearestPoint:function(t,e,n,r,i,o,a,s){return d([t,n,i],[e,r,o],a,s,h)},pointDistance:function(t,e,n,r,i,o,s,c){var l=this.nearestPoint(t,e,n,r,i,o,s,c);return a(l.x,l.y,s,c)},interpolationAt:h,pointAt:function(t,e,n,r,i,o,a){return{x:h(t,n,i,a),y:h(e,r,o,a)}},divide:function(t,e,n,r,i,o,a){return C(t,e,n,r,i,o,a)},tangentAngle:function(t,e,n,r,i,o,a){var s=A(t,n,i,a),c=A(e,r,o,a);return u(Math.atan2(c,s))}};function y(t,e,n,r,i){var o=1-i;return o*o*o*t+3*e*i*o*o+3*n*i*i*o+r*i*i*i}function m(t,e,n,r,i){var o=1-i;return 3*(o*o*(e-t)+2*o*i*(n-e)+i*i*(r-n))}function b(t,e,n,r){var i,o,a,c=-3*t+9*e-9*n+3*r,l=6*t-12*e+6*n,u=3*e-3*t,g=[];if(s(c,0))s(l,0)||(i=-u/l)>=0&&i<=1&&g.push(i);else{var f=l*l-4*c*u;s(f,0)?g.push(-l/(2*c)):f>0&&(o=(-l-(a=Math.sqrt(f)))/(2*c),(i=(-l+a)/(2*c))>=0&&i<=1&&g.push(i),o>=0&&o<=1&&g.push(o))}return g}function x(t,e,n,r,i,o,a,s,c){var l=y(t,n,i,a,c),u=y(e,r,o,s,c),g=f.pointAt(t,e,n,r,c),d=f.pointAt(n,r,i,o,c),h=f.pointAt(i,o,a,s,c),p=f.pointAt(g.x,g.y,d.x,d.y,c),A=f.pointAt(d.x,d.y,h.x,h.y,c);return[[t,e,g.x,g.y,p.x,p.y,l,u],[l,u,A.x,A.y,h.x,h.y,a,s]]}function w(t,e,n,r,i,o,s,c,l){if(0===l)return function(t,e){for(var n=0,r=t.length,i=0;i<r;i++)n+=a(t[i],e[i],t[(i+1)%r],e[(i+1)%r]);return n/2}([t,n,i,s],[e,r,o,c]);var u=x(t,e,n,r,i,o,s,c,.5),g=u[0],f=u[1];return g.push(l-1),f.push(l-1),w.apply(null,g)+w.apply(null,f)}var O={extrema:b,box:function(t,e,n,r,i,o,a,s){for(var l=[t,a],u=[e,s],g=b(t,n,i,a),f=b(e,r,o,s),d=0;d<g.length;d++)l.push(y(t,n,i,a,g[d]));for(d=0;d<f.length;d++)u.push(y(e,r,o,s,f[d]));return c(l,u)},length:function(t,e,n,r,i,o,a,s){return w(t,e,n,r,i,o,a,s,3)},nearestPoint:function(t,e,n,r,i,o,a,s,c,l,u){return d([t,n,i,a],[e,r,o,s],c,l,y,u)},pointDistance:function(t,e,n,r,i,o,s,c,l,u,g){var f=this.nearestPoint(t,e,n,r,i,o,s,c,l,u,g);return a(f.x,f.y,l,u)},interpolationAt:y,pointAt:function(t,e,n,r,i,o,a,s,c){return{x:y(t,n,i,a,c),y:y(e,r,o,s,c)}},divide:function(t,e,n,r,i,o,a,s,c){return x(t,e,n,r,i,o,a,s,c)},tangentAngle:function(t,e,n,r,i,o,a,s,c){var l=m(t,n,i,a,c),g=m(e,r,o,s,c);return u(Math.atan2(g,l))}};function S(t,e){var n=Math.abs(t);return e>0?n:-1*n}var _=function(t,e,n,r,i,o){var a=n,s=r;if(0===a||0===s)return{x:t,y:e};for(var c,l,u=i-t,g=o-e,f=Math.abs(u),d=Math.abs(g),h=a*a,p=s*s,A=Math.PI/4,C=0;C<4;C++){c=a*Math.cos(A),l=s*Math.sin(A);var v=(h-p)*Math.pow(Math.cos(A),3)/a,I=(p-h)*Math.pow(Math.sin(A),3)/s,y=c-v,m=l-I,b=f-v,x=d-I,w=Math.hypot(m,y),O=Math.hypot(x,b);A+=w*Math.asin((y*x-m*b)/(w*O))/Math.sqrt(h+p-c*c-l*l),A=Math.min(Math.PI/2,Math.max(0,A))}return{x:t+S(c,u),y:e+S(l,g)}};function k(t,e,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+t}function j(t,e,n,r,i,o){return n*Math.sin(i)*Math.cos(o)+r*Math.cos(i)*Math.sin(o)+e}function E(t,e,n){return{x:t*Math.cos(n),y:e*Math.sin(n)}}function P(t,e,n){var r=Math.cos(n),i=Math.sin(n);return[t*r-e*i,t*i+e*r]}var M={box:function(t,e,n,r,i,o,a){for(var s=function(t,e,n){return Math.atan(-e/t*Math.tan(n))}(n,r,i),c=1/0,l=-1/0,u=[o,a],g=2*-Math.PI;g<=2*Math.PI;g+=Math.PI){var f=s+g;o<a?o<f&&f<a&&u.push(f):a<f&&f<o&&u.push(f)}for(g=0;g<u.length;g++){var d=k(t,0,n,r,i,u[g]);d<c&&(c=d),d>l&&(l=d)}var h=function(t,e,n){return Math.atan(e/(t*Math.tan(n)))}(n,r,i),p=1/0,A=-1/0,C=[o,a];for(g=2*-Math.PI;g<=2*Math.PI;g+=Math.PI){var v=h+g;o<a?o<v&&v<a&&C.push(v):a<v&&v<o&&C.push(v)}for(g=0;g<C.length;g++){var I=j(0,e,n,r,i,C[g]);I<p&&(p=I),I>A&&(A=I)}return{x:c,y:p,width:l-c,height:A-p}},length:function(t,e,n,r,i,o,a){},nearestPoint:function(t,e,n,r,i,o,a,s,c){var l=P(s-t,c-e,-i),u=l[0],g=l[1],f=_(0,0,n,r,u,g),d=function(t,e,n,r){return(Math.atan2(r*t,n*e)+2*Math.PI)%(2*Math.PI)}(n,r,f.x,f.y);d<o?f=E(n,r,o):d>a&&(f=E(n,r,a));var h=P(f.x,f.y,i);return{x:h[0]+t,y:h[1]+e}},pointDistance:function(t,e,n,r,i,o,s,c,l){var u=this.nearestPoint(t,e,n,r,c,l);return a(u.x,u.y,c,l)},pointAt:function(t,e,n,r,i,o,a,s){var c=(a-o)*s+o;return{x:k(t,0,n,r,i,c),y:j(0,e,n,r,i,c)}},tangentAngle:function(t,e,n,r,i,o,a,s){var c=(a-o)*s+o,l=function(t,e,n,r,i,o,a,s){return-1*n*Math.cos(i)*Math.sin(s)-r*Math.sin(i)*Math.cos(s)}(0,0,n,r,i,0,0,c),g=function(t,e,n,r,i,o,a,s){return-1*n*Math.sin(i)*Math.sin(s)+r*Math.cos(i)*Math.cos(s)}(0,0,n,r,i,0,0,c);return u(Math.atan2(g,l))}};function T(t){for(var e=0,n=[],r=0;r<t.length-1;r++){var i=t[r],o=t[r+1],s=a(i[0],i[1],o[0],o[1]),c={from:i,to:o,length:s};n.push(c),e+=s}return{segments:n,totalLength:e}}function R(t){if(t.length<2)return 0;for(var e=0,n=0;n<t.length-1;n++){var r=t[n],i=t[n+1];e+=a(r[0],r[1],i[0],i[1])}return e}function D(t,e){if(e>1||e<0||t.length<2)return null;var n=T(t),r=n.segments,i=n.totalLength;if(0===i)return{x:t[0][0],y:t[0][1]};for(var o=0,a=null,s=0;s<r.length;s++){var c=r[s],l=c.from,u=c.to,g=c.length/i;if(e>=o&&e<=o+g){var d=(e-o)/g;a=f.pointAt(l[0],l[1],u[0],u[1],d);break}o+=g}return a}function N(t,e){if(e>1||e<0||t.length<2)return 0;for(var n=T(t),r=n.segments,i=n.totalLength,o=0,a=0,s=0;s<r.length;s++){var c=r[s],l=c.from,u=c.to,g=c.length/i;if(e>=o&&e<=o+g){a=Math.atan2(u[1]-l[1],u[0]-l[0]);break}o+=g}return a}function L(t,e,n){for(var r=1/0,i=0;i<t.length-1;i++){var o=t[i],a=t[i+1],s=f.pointDistance(o[0],o[1],a[0],a[1],e,n);s<r&&(r=s)}return r}var F={box:function(t){for(var e=[],n=[],r=0;r<t.length;r++){var i=t[r];e.push(i[0]),n.push(i[1])}return c(e,n)},length:function(t){return R(t)},pointAt:function(t,e){return D(t,e)},pointDistance:function(t,e,n){return L(t,e,n)},tangentAngle:function(t,e){return N(t,e)}};function B(t){var e=t.slice(0);return t.length&&e.push(t[0]),e}var z={box:function(t){return F.box(t)},length:function(t){return R(B(t))},pointAt:function(t,e){return D(B(t),e)},pointDistance:function(t,e,n){return L(B(t),e,n)},tangentAngle:function(t,e){return N(B(t),e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.COMPONENT_MAX_VIEW_PERCENTAGE=e.MIN_CHART_HEIGHT=e.MIN_CHART_WIDTH=e.FIELD_ORIGIN=e.GROUP_ATTRS=e.ELEMENT_STATE=e.PLOT_EVENTS=e.GEOMETRY_LIFE_CIRCLE=e.VIEW_LIFE_CIRCLE=e.GROUP_Z_INDEX=e.COMPONENT_TYPE=e.DIRECTION=e.LAYER=void 0,function(t){t.FORE="fore",t.MID="mid",t.BG="bg"}(e.LAYER||(e.LAYER={})),function(t){t.TOP="top",t.TOP_LEFT="top-left",t.TOP_RIGHT="top-right",t.RIGHT="right",t.RIGHT_TOP="right-top",t.RIGHT_BOTTOM="right-bottom",t.LEFT="left",t.LEFT_TOP="left-top",t.LEFT_BOTTOM="left-bottom",t.BOTTOM="bottom",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_RIGHT="bottom-right",t.RADIUS="radius",t.CIRCLE="circle",t.NONE="none"}(e.DIRECTION||(e.DIRECTION={})),function(t){t.AXIS="axis",t.GRID="grid",t.LEGEND="legend",t.TOOLTIP="tooltip",t.ANNOTATION="annotation",t.SLIDER="slider",t.SCROLLBAR="scrollbar",t.OTHER="other"}(e.COMPONENT_TYPE||(e.COMPONENT_TYPE={})),e.GROUP_Z_INDEX={FORE:3,MID:2,BG:1},function(t){t.BEFORE_RENDER="beforerender",t.AFTER_RENDER="afterrender",t.BEFORE_PAINT="beforepaint",t.AFTER_PAINT="afterpaint",t.BEFORE_CHANGE_DATA="beforechangedata",t.AFTER_CHANGE_DATA="afterchangedata",t.BEFORE_CLEAR="beforeclear",t.AFTER_CLEAR="afterclear",t.BEFORE_DESTROY="beforedestroy",t.BEFORE_CHANGE_SIZE="beforechangesize",t.AFTER_CHANGE_SIZE="afterchangesize"}(e.VIEW_LIFE_CIRCLE||(e.VIEW_LIFE_CIRCLE={})),function(t){t.BEFORE_DRAW_ANIMATE="beforeanimate",t.AFTER_DRAW_ANIMATE="afteranimate"}(e.GEOMETRY_LIFE_CIRCLE||(e.GEOMETRY_LIFE_CIRCLE={})),function(t){t.MOUSE_ENTER="plot:mouseenter",t.MOUSE_DOWN="plot:mousedown",t.MOUSE_MOVE="plot:mousemove",t.MOUSE_UP="plot:mouseup",t.MOUSE_LEAVE="plot:mouseleave",t.TOUCH_START="plot:touchstart",t.TOUCH_MOVE="plot:touchmove",t.TOUCH_END="plot:touchend",t.TOUCH_CANCEL="plot:touchcancel",t.CLICK="plot:click",t.DBLCLICK="plot:dblclick",t.CONTEXTMENU="plot:contextmenu",t.LEAVE="plot:leave",t.ENTER="plot:enter"}(e.PLOT_EVENTS||(e.PLOT_EVENTS={})),function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.SELECTED="selected",t.DEFAULT="default"}(e.ELEMENT_STATE||(e.ELEMENT_STATE={})),e.GROUP_ATTRS=["color","shape","size"],e.FIELD_ORIGIN="_origin",e.MIN_CHART_WIDTH=1,e.MIN_CHART_HEIGHT=1,e.COMPONENT_MAX_VIEW_PERCENTAGE=.25},function(t,e,n){"use strict";var r=n(1),i=n(0),o=n(185),a=n(41),s=n(17),c=n(130),l="update_status",u=["visible","tip","delegateObject"],g=["container","group","shapesMap","isRegister","isUpdating","destroyed"],f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear(),this.get("group").remove()},e.prototype.clear=function(){this.get("group").clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var e=this.getElementById(t);return e&&e.get("component")},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var e=this.getElementId(t);return this.getElementById(e)},e.prototype.getElementsByName=function(t){var e=[];return Object(i.each)(this.get("shapesMap"),(function(n){n.get("name")===t&&e.push(n)})),e},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var e=this.get("group");this.updateElements(t,e),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){this.get("group").show(),this.set("visible",!0)},e.prototype.hide=function(){this.get("group").hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){this.get("group").set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),t.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),e=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(e=Object(a.a)(n,e)),e},e.prototype.on=function(t,e,n){return this.get("group").on(t,e,n),this},e.prototype.off=function(t,e){var n=this.get("group");return n&&n.off(t,e),this},e.prototype.emit=function(t,e){this.get("group").emit(t,e)},e.prototype.init=function(){t.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,e){var n=this.get("group");e.target=n,n.emit(t,e),Object(o.a)(n,t,e)},e.prototype.createOffScreenGroup=function(){return new(this.get("group").getGroupBase())({delegateObject:this.getDelegateObject()})},e.prototype.applyOffset=function(){var t=this.get("offsetX"),e=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:e})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",Object(s.d)(t)),t},e.prototype.addGroup=function(t,e){this.appendDelegateObject(t,e);var n=t.addGroup(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,e){this.appendDelegateObject(t,e);var n=t.addShape(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,e){var n=e.id,i=e.component,o=Object(r.__rest)(e,["id","component"]),a=new i(Object(r.__assign)(Object(r.__assign)({},o),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return a.init(),a.render(),this.get("isRegister")&&this.registerElement(a.get("group")),a},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){this.get("group").off()},e.prototype.getElementId=function(t){return this.get("id")+"-"+this.get("name")+"-"+t},e.prototype.registerElement=function(t){var e=t.get("id");this.get("shapesMap")[e]=t},e.prototype.unregisterElement=function(t){var e=t.get("id");delete this.get("shapesMap")[e]},e.prototype.moveElementTo=function(t,e){var n=Object(a.f)(e);t.attr("matrix",n)},e.prototype.addAnimation=function(t,e,n){var r=e.attr("opacity");Object(i.isNil)(r)&&(r=1),e.attr("opacity",0),e.animate({opacity:r},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,r){e.animate(n,r)},e.prototype.updateElements=function(t,e){var n,r=this,o=this.get("animate"),a=this.get("animateOption"),c=t.getChildren().slice(0);Object(i.each)(c,(function(t){var c=t.get("id"),f=r.getElementById(c),d=t.get("name");if(f)if(t.get("isComponent")){var h=t.get("component"),p=f.get("component"),A=Object(i.pick)(h.cfg,Object(i.difference)(Object(i.keys)(h.cfg),g));p.update(A),f.set(l,"update")}else{var C=r.getReplaceAttrs(f,t);o&&a.update?r.updateAnimation(d,f,C,a.update):f.attr(C),t.isGroup()&&r.updateElements(t,f),Object(i.each)(u,(function(e){f.set(e,t.get(e))})),Object(s.m)(f,t),n=f,f.set(l,"update")}else{e.add(t);var v=e.getChildren();if(v.splice(v.length-1,1),n){var I=v.indexOf(n);v.splice(I+1,0,t)}else v.unshift(t);if(r.registerElement(t),t.set(l,"add"),t.get("isComponent")?(h=t.get("component")).set("container",e):t.isGroup()&&r.registerNewGroup(t),n=t,o){var y=r.get("isInit")?a.appear:a.enter;y&&r.addAnimation(d,t,y)}}}))},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();Object(i.each)(e,(function(t){t.set(l,null)}))},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t;return(t={})[this.get("name")]=this,t.component=this,t},e.prototype.appendDelegateObject=function(t,e){var n=t.get("delegateObject");e.delegateObject||(e.delegateObject={}),Object(i.mix)(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),r=e.attr();return Object(i.each)(n,(function(t,e){void 0===r[e]&&(r[e]=void 0)})),r},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();Object(i.each)(n,(function(t){e.registerElement(t),t.set(l,"add"),t.isGroup()&&e.registerNewGroup(t)}))},e.prototype.deleteElements=function(){var t=this,e=this.get("shapesMap"),n=[];Object(i.each)(e,(function(t,e){!t.get(l)||t.destroyed?n.push([e,t]):t.set(l,null)}));var r=this.get("animate"),o=this.get("animateOption");Object(i.each)(n,(function(n){var a=n[0],s=n[1];if(!s.destroyed){var c=s.get("name");if(r&&o.leave){var l=Object(i.mix)({callback:function(){t.removeElement(s)}},o.leave);t.removeAnimation(c,s,l)}else t.removeElement(s)}delete e[a]}))},e.prototype.removeElement=function(t){if(t.get("isGroup")){var e=t.get("component");e&&e.destroy()}t.remove()},e}(c.a);e.a=f},function(t,e,n){"use strict";function r(t,e,n){if(t){if("function"===typeof t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if("function"===typeof t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}var i,o,a,s;function c(t){i||(i=document.createElement("table"),o=document.createElement("tr"),a=/^\s*<(\w+|!)[^>]*>/,s={tr:document.createElement("tbody"),tbody:i,thead:i,tfoot:i,td:o,th:o,"*":document.createElement("div")});var e=a.test(t)&&RegExp.$1;e&&e in s||(e="*");var n=s[e];t=t.replace(/(^\s*)|(\s*$)/g,""),n.innerHTML=""+t;var r=n.childNodes[0];return n.removeChild(r),r}function l(t,e,n){var r;try{r=window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.style[e]}catch(i){}finally{r=void 0===r?n:r}return r}function u(t,e){var n=l(t,"height",e);return"auto"===n&&(n=t.offsetHeight),parseFloat(n)}function g(t,e){var n=u(t,e),r=parseFloat(l(t,"borderTopWidth"))||0,i=parseFloat(l(t,"paddingTop"))||0,o=parseFloat(l(t,"paddingBottom"))||0;return n+r+(parseFloat(l(t,"borderBottomWidth"))||0)+i+o+(parseFloat(l(t,"marginTop"))||0)+(parseFloat(l(t,"marginBottom"))||0)}function f(t,e){var n=l(t,"width",e);return"auto"===n&&(n=t.offsetWidth),parseFloat(n)}function d(t,e){var n=f(t,e),r=parseFloat(l(t,"borderLeftWidth"))||0,i=parseFloat(l(t,"paddingLeft"))||0,o=parseFloat(l(t,"paddingRight"))||0,a=parseFloat(l(t,"borderRightWidth"))||0,s=parseFloat(l(t,"marginRight"))||0;return n+r+a+i+o+(parseFloat(l(t,"marginLeft"))||0)+s}function h(){return window.devicePixelRatio?window.devicePixelRatio:2}function p(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}n.r(e),n.d(e,"addEventListener",(function(){return r})),n.d(e,"createDom",(function(){return c})),n.d(e,"getHeight",(function(){return u})),n.d(e,"getOuterHeight",(function(){return g})),n.d(e,"getOuterWidth",(function(){return d})),n.d(e,"getRatio",(function(){return h})),n.d(e,"getStyle",(function(){return l})),n.d(e,"getWidth",(function(){return f})),n.d(e,"modifyCSS",(function(){return p}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return a}));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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){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){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(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(t,e,n){"use strict";n.d(e,"j",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"g",(function(){return a})),n.d(e,"b",(function(){return s}));var r=n(0);function i(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}n.d(e,"e",(function(){return r.isNil})),n.d(e,"d",(function(){return r.isFunction})),n.d(e,"h",(function(){return r.isString})),n.d(e,"f",(function(){return r.isObject})),n.d(e,"i",(function(){return r.mix})),n.d(e,"a",(function(){return r.each})),n.d(e,"k",(function(){return r.upperFirst}));var o="undefined"!==typeof window&&"undefined"!==typeof window.document;function a(t,e){if(t.isCanvas())return!0;for(var n=e.getParent(),r=!1;n;){if(n===t){r=!0;break}n=n.getParent()}return r}function s(t){return t.cfg.visible&&t.cfg.capture}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(124);e.default=function(t){return Array.isArray?Array.isArray(t):r.default(t,"Array")}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return o}));var r=1e-6,i="undefined"!==typeof Float32Array?Float32Array:Array,o=Math.random;Math.PI,Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Util=e.Types=e.VERSION=void 0;var r=n(1);e.VERSION="4.1.7";var i=n(120);Object.defineProperty(e,"Chart",{enumerable:!0,get:function(){return i.Chart}}),Object.defineProperty(e,"View",{enumerable:!0,get:function(){return i.View}}),Object.defineProperty(e,"Event",{enumerable:!0,get:function(){return i.Event}});var o=n(110);Object.defineProperty(e,"ComponentController",{enumerable:!0,get:function(){return o.Controller}});var a=n(187);Object.defineProperty(e,"TooltipController",{enumerable:!0,get:function(){return a.default}});var s=n(102);Object.defineProperty(e,"Geometry",{enumerable:!0,get:function(){return s.default}});var c=n(241);Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return c.default}});var l=n(103);Object.defineProperty(e,"GeometryLabel",{enumerable:!0,get:function(){return l.default}});var u=n(236);Object.defineProperty(e,"Interaction",{enumerable:!0,get:function(){return u.Interaction}}),Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return u.Action}});var g=n(234);Object.defineProperty(e,"Facet",{enumerable:!0,get:function(){return g.Facet}});var f=n(56);Object.defineProperty(e,"InteractionAction",{enumerable:!0,get:function(){return f.default}});var d=n(120);Object.defineProperty(e,"registerComponentController",{enumerable:!0,get:function(){return d.registerComponentController}});var h=n(120);Object.defineProperty(e,"registerGeometry",{enumerable:!0,get:function(){return h.registerGeometry}});var p=n(39);Object.defineProperty(e,"registerShape",{enumerable:!0,get:function(){return p.registerShape}}),Object.defineProperty(e,"registerShapeFactory",{enumerable:!0,get:function(){return p.registerShapeFactory}}),Object.defineProperty(e,"getShapeFactory",{enumerable:!0,get:function(){return p.getShapeFactory}});var A=n(243);Object.defineProperty(e,"registerGeometryLabel",{enumerable:!0,get:function(){return A.registerGeometryLabel}}),Object.defineProperty(e,"registerGeometryLabelLayout",{enumerable:!0,get:function(){return A.registerGeometryLabelLayout}}),Object.defineProperty(e,"getGeometryLabel",{enumerable:!0,get:function(){return A.getGeometryLabel}}),Object.defineProperty(e,"getGeometryLabelLayout",{enumerable:!0,get:function(){return A.getGeometryLabelLayout}});var C=n(236);Object.defineProperty(e,"getInteraction",{enumerable:!0,get:function(){return C.getInteraction}}),Object.defineProperty(e,"registerInteraction",{enumerable:!0,get:function(){return C.registerInteraction}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return C.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return C.getActionClass}});var v=n(234);Object.defineProperty(e,"getFacet",{enumerable:!0,get:function(){return v.getFacet}}),Object.defineProperty(e,"registerFacet",{enumerable:!0,get:function(){return v.registerFacet}});var I=n(98);Object.defineProperty(e,"getTheme",{enumerable:!0,get:function(){return I.getTheme}}),Object.defineProperty(e,"registerTheme",{enumerable:!0,get:function(){return I.registerTheme}});var y=n(338);Object.defineProperty(e,"registerEngine",{enumerable:!0,get:function(){return y.registerEngine}}),Object.defineProperty(e,"getEngine",{enumerable:!0,get:function(){return y.getEngine}});var m=n(331);Object.defineProperty(e,"registerAnimation",{enumerable:!0,get:function(){return m.registerAnimation}}),Object.defineProperty(e,"getAnimation",{enumerable:!0,get:function(){return m.getAnimation}});var b=n(27);Object.defineProperty(e,"LAYER",{enumerable:!0,get:function(){return b.LAYER}}),Object.defineProperty(e,"DIRECTION",{enumerable:!0,get:function(){return b.DIRECTION}});var x=r.__importStar(n(244));e.Types=x;var w=n(81);Object.defineProperty(e,"Coordinate",{enumerable:!0,get:function(){return w.Coordinate}}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return w.Scale}});var O=n(345),S=n(59),_=n(122),k=n(238),j=n(43);e.Util={getLegendItems:O.getLegendItems,translate:_.translate,rotate:_.rotate,zoom:_.zoom,transform:_.transform,getAngle:S.getAngle,polarToCartesian:S.polarToCartesian,getDelegationObject:j.getDelegationObject,getTooltipItems:k.getTooltipItems}},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(124);e.default=function(t){return r.default(t,"Function")}},function(t,e,n){"use strict";n.d(e,"b",(function(){return c}));var r=n(5),i=n.n(r),o=n(4),a=n.n(o),s=a.a.createContext(null);function c(t){var e=a.a.forwardRef((function(e,n){return a.a.createElement(s.Consumer,null,(function(r){return a.a.createElement(t,i()({ref:n,group:r},e))}))}));return e.displayName=t.name,e}s.displayName="GroupContext",e.a=s},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(0),i="x",o="y",a={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+Object(r.get)(e,[0,"data","y"],0)},containerTpl:'<div class="g2-tooltip"><div class="g2-tooltip-list"></div></div>',itemTpl:"<span>{value}</span>",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShapeFactory=e.registerShape=e.registerShapeFactory=void 0;var r=n(1),i=n(72),o=n(0),a=n(154),s={coordinate:null,defaultShapeType:null,theme:null,getShapePoints:function(t,e){var n=this.getShape(t);return n.getPoints?n.getPoints(e):this.getDefaultPoints(e)},getShape:function(t){var e=this[t]||this[this.defaultShapeType];return e.coordinate=this.coordinate,e},getDefaultPoints:function(){return[]},getDefaultStyle:function(t){return o.get(t,[this.defaultShapeType,"default","style"],{})},getMarker:function(t,e){var n=this.getShape(t);if(!n.getMarker){var r=this.defaultShapeType;n=this.getShape(r)}var i=this.theme,a=o.get(i,[t,"default"],{}),s=n.getMarker(e);return o.deepMix({},a,s)},drawShape:function(t,e,n){return this.getShape(t).draw(e,n)}},c={coordinate:null,parsePath:function(t){var e=this.coordinate,n=i.parsePathString(t);return n=e.isPolar?a.convertPolarPath(e,n):a.convertNormalPath(e,n)},parsePoint:function(t){return this.coordinate.convert(t)},parsePoints:function(t){var e=this.coordinate;return t.map((function(t){return e.convert(t)}))},draw:function(t,e){}},l={};e.registerShapeFactory=function(t,e){var n=o.upperFirst(t),i=r.__assign(r.__assign(r.__assign({},s),e),{geometryType:t});return l[n]=i,i},e.registerShape=function(t,e,n){var i=o.upperFirst(t),a=l[i],s=r.__assign(r.__assign({},c),n);return a[e]=s,s},e.getShapeFactory=function(t){var e=o.upperFirst(t);return l[e]}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return c}));var r=n(0),i=n(22);function o(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function a(t){var e=i.a[t.type],n=t.getParent();if(!e)throw new Error("the type "+t.type+" is not supported by svg");var r=o(e);if(t.get("id")&&(r.id=t.get("id")),t.set("el",r),t.set("attrs",{}),n){var a=n.get("el");a||(a=n.createDom(),n.set("el",a)),a.appendChild(r)}return r}function s(t,e){var n=t.get("el"),i=Object(r.toArray)(n.children).sort(e),o=document.createDocumentFragment();i.forEach((function(t){o.appendChild(t)})),n.appendChild(o)}function c(t,e){var n=t.parentNode,r=Array.from(n.childNodes).filter((function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()})),i=r[e],o=r.indexOf(t);if(i){if(o>e)n.insertBefore(t,i);else if(o<e){var a=r[e+1];a?n.insertBefore(t,a):n.appendChild(t)}}else n.appendChild(t)}},function(t,e,n){"use strict";n.d(e,"e",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return g}));var r=n(15),i=[1,0,0,0,1,0,0,0,1];function o(t,e,n){return void 0===n&&(n=i),e?r.ext.transform(n,[["t",-t.x,-t.y],["r",e],["t",t.x,t.y]]):null}function a(t,e){return t.x||t.y?r.ext.transform(e||i,[["t",t.x,t.y]]):null}function s(t){var e=[0,0,0];return r.vec3.transformMat3(e,[1,0,0],t),Math.atan2(e[1],e[0])}function c(t,e){var n=[0,0];return r.vec2.transformMat3(n,e,t),n}function l(t,e){var n=c(t,[e.minX,e.minY]),r=c(t,[e.maxX,e.minY]),i=c(t,[e.minX,e.maxY]),o=c(t,[e.maxX,e.maxY]),a=Math.min(n[0],r[0],i[0],o[0]),s=Math.max(n[0],r[0],i[0],o[0]),l=Math.min(n[1],r[1],i[1],o[1]),u=Math.max(n[1],r[1],i[1],o[1]);return{x:a,y:l,minX:a,minY:l,maxX:s,maxY:u,width:s-a,height:u-l}}function u(t,e,n,r){if(e){var i=o({x:n,y:r},e,t.getMatrix());t.setMatrix(i)}}function g(t,e,n){var r=a({x:e,y:n});t.attr("matrix",r)}},function(t,e,n){"use strict";n.r(e),n.d(e,"CONTAINER_CLASS",(function(){return r})),n.d(e,"TITLE_CLASS",(function(){return i})),n.d(e,"LIST_CLASS",(function(){return o})),n.d(e,"LIST_ITEM_CLASS",(function(){return a})),n.d(e,"MARKER_CLASS",(function(){return s})),n.d(e,"VALUE_CLASS",(function(){return c})),n.d(e,"NAME_CLASS",(function(){return l})),n.d(e,"CROSSHAIR_X",(function(){return u})),n.d(e,"CROSSHAIR_Y",(function(){return g}));var r="g2-tooltip",i="g2-tooltip-title",o="g2-tooltip-list",a="g2-tooltip-list-item",s="g2-tooltip-marker",c="g2-tooltip-value",l="g2-tooltip-name",u="g2-tooltip-crosshair-x",g="g2-tooltip-crosshair-y"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getScaleByField=e.isInRecords=e.getSiblingPoint=e.getSilbings=e.isInBox=e.getSpline=e.distance=e.getComponents=e.getElementsByPath=e.getIntersectElements=e.intersectRect=e.getElementValue=e.getElementsByState=e.getElementsByField=e.getElements=e.getSiblingMaskElements=e.getMaskedElements=e.isMask=e.isSlider=e.isList=e.isElementChange=e.getDelegationObject=e.getCurrentElement=void 0;var r=n(0),i=n(154),o=n(88),a=n(72);function s(t,e){var n=t.event.target.getCanvasBBox();return n.width>=e||n.height>=e?n:null}function c(t){var e=t.geometries,n=[];return r.each(e,(function(t){var e=t.elements;n=n.concat(e)})),t.views&&t.views.length&&r.each(t.views,(function(t){n=n.concat(c(t))})),n}function l(t,e){var n=t.getModel().data;return r.isArray(n)?n[0][e]:n[e]}function u(t,e){return!(e.minX>t.maxX||e.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)}function g(t,e){var n=c(t),i=[];return r.each(n,(function(t){var n=t.shape.getCanvasBBox();u(e,n)&&i.push(t)})),i}function f(t){var e=[];return r.each(t,(function(t){if("A"!==t[0])for(var n=1;n<t.length;n+=2)e.push([t[n],t[n+1]]);else{var r=t.length;e.push([t[r-2],t[r-1]])}})),e}function d(t,e){var n=c(t),r=f(e);return n.filter((function(t){var e,n=t.shape;if("path"===n.get("type"))e=f(n.attr("path"));else{var i=n.getCanvasBBox();e=o.toPoints(i)}return a.isPolygonsIntersect(r,e)}))}function h(t,e,n){var r=function(t,e){return t.getCoordinate().invert(e)}(t,n);return e.getCoordinate().convert(r)}e.getCurrentElement=function(t){var e,n=t.event.target;return n&&(e=n.get("element")),e},e.getDelegationObject=function(t){var e,n=t.event.target;return n&&(e=n.get("delegateObject")),e},e.isElementChange=function(t){var e=t.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))},e.isList=function(t){return t&&t.component&&t.component.isList()},e.isSlider=function(t){return t&&t.component&&t.component.isSlider()},e.isMask=function(t){var e=t.event.target;return e&&"mask"===e.get("name")},e.getMaskedElements=function(t,e){if("path"===t.event.target.get("type")){var n=function(t,e){var n=t.event.target,r=n.getCanvasBBox();return r.width>=e||r.height>=e?n.attr("path"):null}(t,e);if(!n)return;return d(t.view,n)}var r=s(t,e);return r?g(t.view,r):null},e.getSiblingMaskElements=function(t,e,n){var r=s(t,n);if(!r)return null;var i=t.view,o=h(i,e,{x:r.x,y:r.y}),a=h(i,e,{x:r.maxX,y:r.maxY});return g(e,{minX:o.x,minY:o.y,maxX:a.x,maxY:a.y})},e.getElements=c,e.getElementsByField=function(t,e,n){return c(t).filter((function(t){return l(t,e)===n}))},e.getElementsByState=function(t,e){var n=t.geometries,i=[];return r.each(n,(function(t){var n=t.getElementsBy((function(t){return t.hasState(e)}));i=i.concat(n)})),i},e.getElementValue=l,e.intersectRect=u,e.getIntersectElements=g,e.getElementsByPath=d,e.getComponents=function(t){return t.getComponents().map((function(t){return t.component}))},e.distance=function(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)},e.getSpline=function(t,e){if(t.length<=2)return i.getLinePath(t,!1);var n=t[0],o=[];r.each(t,(function(t){o.push(t.x),o.push(t.y)}));var a=i.catmullRom2bezier(o,e,null);return a.unshift(["M",n.x,n.y]),a},e.isInBox=function(t,e){return t.x<=e.x&&t.maxX>=e.x&&t.y<=e.y&&t.maxY>e.y},e.getSilbings=function(t){var e=t.parent,n=null;return e&&(n=e.views.filter((function(e){return e!==t}))),n},e.getSiblingPoint=h,e.isInRecords=function(t,e,n,i){var o=!1;return r.each(t,(function(t){if(t[n]===e[n]&&t[i]===e[i])return o=!0,!1})),o},e.getScaleByField=function t(e,n){var i=e.getScaleByField(n);return!i&&e.views&&r.each(e.views,(function(e){if(i=t(e,n))return!1})),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Plot=void 0;var r=n(1),i=n(9),o=n(0),a=r.__importDefault(n(128)),s=n(310),c=n(20),l="data-chart-source-type",u=function(t){function e(e,n){var r=t.call(this)||this;return r.type="base",r.container="string"===typeof e?document.getElementById(e):e,r.options=c.deepAssign({},r.getDefaultOptions(),n),r.createG2(),r.bindEvents(),r}return r.__extends(e,t),e.prototype.createG2=function(){var t=this.options,e=t.width,n=t.height,o=t.padding,a=t.appendPadding,s=t.renderer,c=t.pixelRatio,u=t.syncViewPadding,g=t.supportCSSTransform,f=t.limitInPlot;this.chart=new i.Chart(r.__assign(r.__assign({container:this.container,autoFit:!1},this.getChartSize(e,n)),{padding:o,appendPadding:a,renderer:s,pixelRatio:c,localRefresh:!1,syncViewPadding:u,supportCSSTransform:g,limitInPlot:f})),this.container.setAttribute(l,"G2Plot")},e.prototype.getChartSize=function(t,e){var n=c.getContainerSize(this.container);return{width:t||n.width||400,height:e||n.height||400}},e.prototype.bindEvents=function(){var t=this;this.chart&&this.chart.on("*",(function(e){(null===e||void 0===e?void 0:e.type)&&t.emit(e.type,e)}))},e.prototype.getDefaultOptions=function(){return{renderer:"canvas",xAxis:{nice:!0,label:{autoRotate:!1,autoHide:{type:"equidistance",cfg:{minGap:6}}}},yAxis:{nice:!0,label:{autoHide:!0,autoRotate:!1}},animation:!0}},e.prototype.render=function(){this.chart.clear(),this.chart.options={data:[],animate:!0},this.chart.views=[],this.execAdaptor(),this.chart.render(),this.bindSizeSensor()},e.prototype.update=function(t){this.updateOption(t),this.render()},e.prototype.updateOption=function(t){this.options=c.deepAssign({},this.options,t)},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var r=c.getAllElements(this.chart);o.each(r,(function(r){e(r.getData())&&r.setState(t,n)}))},e.prototype.getStates=function(){var t=c.getAllElements(this.chart),e=[];return o.each(t,(function(t){var n=t.getData(),r=t.getStates();o.each(r,(function(r){e.push({data:n,state:r,geometry:t.geometry,element:t})}))})),e},e.prototype.changeData=function(t){this.update({data:t})},e.prototype.changeSize=function(t,e){this.chart.changeSize(t,e)},e.prototype.destroy=function(){this.unbindSizeSensor(),this.chart.destroy(),this.off(),this.container.removeAttribute(l)},e.prototype.execAdaptor=function(){var t=this.getSchemaAdaptor(),e=this.options,n=e.padding,r=e.appendPadding;this.chart.padding=n,this.chart.appendPadding=r,t({chart:this.chart,options:this.options})},e.prototype.triggerResize=function(){this.chart.forceFit()},e.prototype.bindSizeSensor=function(){var t=this;if(!this.unbind){var e=this.options.autoFit;(void 0===e||e)&&(this.unbind=s.bind(this.container,(function(){var e=c.getContainerSize(t.container),n=e.width,r=e.height;n===t.chart.width&&r===t.chart.height||t.triggerResize()})))}},e.prototype.unbindSizeSensor=function(){this.unbind&&(this.unbind(),this.unbind=void 0)},e}(a.default);e.Plot=u},function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return d})),n.d(e,"e",(function(){return A})),n.d(e,"h",(function(){return C})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return I}));var r=n(0),i=n(210),o=n(165),a=n(23),s=n(58),c={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function l(t,e){var n=e.attr();for(var o in n){var a=n[o],s=c[o]?c[o]:o;"matrix"===s&&a?t.transform(a[0],a[1],a[3],a[4],a[6],a[7]):"lineDash"===s&&t.setLineDash?Object(r.isArray)(a)&&t.setLineDash(a):("strokeStyle"===s||"fillStyle"===s?a=Object(i.b)(t,e,a):"globalAlpha"===s&&(a*=t.globalAlpha),t[s]=a)}}function u(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];i.cfg.visible?i.draw(t,n):i.skipDraw()}}function g(t,e,n){var i=t.get("refreshElements");Object(r.each)(i,(function(e){if(e!==t)for(var n=e.cfg.parent;n&&n!==t&&!n.cfg.refresh;)n.cfg.refresh=!0,n=n.cfg.parent})),i[0]===t?h(e,n):f(e,n)}function f(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.cfg.visible)if(r.cfg.hasChanged)r.cfg.refresh=!0,r.isGroup()&&h(r.cfg.children,e);else if(r.cfg.refresh)r.isGroup()&&f(r.cfg.children,e);else{var i=p(r,e);r.cfg.refresh=i,i&&r.isGroup()&&f(r.cfg.children,e)}}}function d(t){for(var e=0;e<t.length;e++){var n=t[e];n.cfg.hasChanged=!1,n.isGroup()&&!n.destroyed&&d(n.cfg.children)}}function h(t,e){for(var n=0;n<t.length;n++){var r=t[n];r.cfg.refresh=!0,r.isGroup()&&h(r.get("children"),e)}}function p(t,e){var n=t.cfg.cacheCanvasBBox;return t.cfg.isInView&&n&&Object(a.f)(n,e)}function A(t,e,n,r){var i=n.path,a=n.startArrow,c=n.endArrow;if(i){var l=[0,0],u=[0,0],g={dx:0,dy:0};e.beginPath();for(var f=0;f<i.length;f++){var d=i[f],h=d[0];if(0===f&&a&&a.d){var p=t.getStartTangent();g=s.c(p[0][0],p[0][1],p[1][0],p[1][1],a.d)}else f===i.length-2&&"Z"===i[f+1][0]&&c&&c.d?"Z"===i[f+1][0]&&(p=t.getEndTangent(),g=s.c(p[0][0],p[0][1],p[1][0],p[1][1],c.d)):f===i.length-1&&c&&c.d&&"Z"!==i[0]&&(p=t.getEndTangent(),g=s.c(p[0][0],p[0][1],p[1][0],p[1][1],c.d));var A=g.dx,C=g.dy;switch(h){case"M":e.moveTo(d[1]-A,d[2]-C),u=[d[1],d[2]];break;case"L":e.lineTo(d[1]-A,d[2]-C);break;case"Q":e.quadraticCurveTo(d[1],d[2],d[3]-A,d[4]-C);break;case"C":e.bezierCurveTo(d[1],d[2],d[3],d[4],d[5]-A,d[6]-C);break;case"A":var v=void 0;r?(v=r[f])||(v=Object(o.a)(l,d),r[f]=v):v=Object(o.a)(l,d);var I=v.cx,y=v.cy,m=v.rx,b=v.ry,x=v.startAngle,w=v.endAngle,O=v.xRotation,S=v.sweepFlag;if(e.ellipse)e.ellipse(I,y,m,b,O,x,w,1-S);else{var _=m>b?m:b,k=m>b?1:m/b,j=m>b?b/m:1;e.translate(I,y),e.rotate(O),e.scale(k,j),e.arc(0,0,_,x,w,1-S),e.scale(1/k,1/j),e.rotate(-O),e.translate(-I,-y)}break;case"Z":e.closePath()}if("Z"===h)l=u;else{var E=d.length;l=[d[E-2],d[E-1]]}}}}function C(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),t.cfg.parent&&t.cfg.parent.get("hasChanged")||(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))}function v(t){if(!t.length)return null;var e=[],n=[],i=[],o=[];return Object(r.each)(t,(function(t){var r=function(t){var e;if(t.destroyed)e=t._cacheCanvasBBox;else{var n=t.get("cacheCanvasBBox"),r=n&&!(!n.width||!n.height),i=t.getCanvasBBox(),o=i&&!(!i.width||!i.height);r&&o?e=Object(a.l)(n,i):r?e=n:o&&(e=i)}return e}(t);r&&(e.push(r.minX),n.push(r.minY),i.push(r.maxX),o.push(r.maxY))})),{minX:Math.min.apply(null,e),minY:Math.min.apply(null,n),maxX:Math.max.apply(null,i),maxY:Math.max.apply(null,o)}}function I(t,e){return t&&e&&Object(a.f)(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}},function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"f",(function(){return c}));var r="range",i="type",o="percent",a="#f0f0f0",s="indicator-view",c="range-view"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInPlot=e.annotation=e.scale=e.scrollbar=e.slider=e.state=e.theme=e.animation=e.interaction=e.tooltip=e.legend=void 0;var r=n(1),i=n(0),o=n(259),a=n(20);e.legend=function(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,o=n.seriesField;return!1===r?e.legend(!1):(i||o)&&e.legend(i||o,r),t},e.tooltip=function(t){var e=t.chart,n=t.options.tooltip;return void 0!==n&&e.tooltip(n),t},e.interaction=function(t){var e=t.chart,n=t.options.interactions;return i.each(n,(function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg||{})})),t},e.animation=function(t){var e=t.chart,n=t.options.animation;return"boolean"===typeof n?e.animate(n):e.animate(!0),i.each(e.geometries,(function(t){t.animate(n)})),t},e.theme=function(t){var e=t.chart,n=t.options.theme;return n&&e.theme(n),t},e.state=function(t){var e=t.chart,n=t.options.state;return n&&i.each(e.geometries,(function(t){t.state(n)})),t},e.slider=function(t){var e=t.chart,n=t.options.slider;return e.option("slider",n),t},e.scrollbar=function(t){var e=t.chart,n=t.options.scrollbar;return e.option("scrollbar",n),t},e.scale=function(t,e){return function(n){var r=n.chart,s=n.options,c={};return i.each(t,(function(t,e){c[e]=a.pick(t,o.AXIS_META_CONFIG_KEYS)})),c=a.deepAssign({},e,s.meta,c),r.scale(c),n}},e.annotation=function(t){return function(e){var n=e.chart,o=e.options,a=n.getController("annotation");return i.each(r.__spreadArrays(o.annotations||[],t||[]),(function(t){a.annotation(t)})),e}},e.limitInPlot=function(t){var e=t.chart,n=t.options,r=n.yAxis,o=n.limitInPlot,s=o;return i.isObject(r)&&i.isNil(o)&&(s=!!Object.values(a.pick(r,["min","max","minLimit","maxLimit"])).some((function(t){return!i.isNil(t)}))),e.limitInPlot=s,t}},function(t,e,n){"use strict";function r(t,e){return t.views.find((function(t){return t.id===e}))}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(5),i=n.n(r),o=n(8),a=n.n(o),s=n(35),c=n.n(s),l=n(11),u=n.n(l),g=n(12),f=n.n(g),d=n(6),h=n.n(d),p=n(4),A=n.n(p),C=n(264),v=n.n(C),I=n(0),y=n(61),m=n(7);function b(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h()(t);if(e){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}Object(m.registerComponentController)("annotation",v.a);var x=function(t){u()(n,t);var e=b(n);function n(){var t;return a()(this,n),(t=e.apply(this,arguments)).annotationType="line",t}return c()(n,[{key:"componentDidMount",value:function(){var t=this.getChartIns();this.id=I.uniqueId("annotation"),this.annotation=t.annotation(),this.annotation[this.annotationType](this.props),this.annotation.option[this.annotation.option.length-1].__id=this.id}},{key:"componentDidUpdate",value:function(){var t=this,e=null;this.annotation.option.forEach((function(n,r){n.__id===t.id&&(e=r)})),this.annotation.option[e]=i()(i()({type:this.annotationType},this.props),{__id:this.id}),this.getChartIns().render()}},{key:"componentWillUnmount",value:function(){var t=this,e=null;this.annotation&&(this.annotation.option.forEach((function(n,r){n.__id===t.id&&(e=r)})),null!==e&&this.annotation.option.splice(e,1),this.annotation=null)}},{key:"getChartIns",value:function(){return this.context}},{key:"render",value:function(){return null}}]),n}(A.a.Component);x.contextType=y.a,e.a=x},function(t,e,n){"use strict";var r=n(11),i=n.n(r),o=n(12),a=n.n(o),s=n(6),c=n.n(s),l=n(57),u=n.n(l),g=n(8),f=n.n(g),d=n(35),h=n.n(d),p=n(4),A=n.n(p),C=n(63),v=n.n(C),I=n(36),y=n.n(I),m=n(103),b=n.n(m),x=(n(374),n(61)),w=n(7),O=n(69),S=n.n(O),_=n(32),k=n.n(_),j=n(90),E=function(t,e,n,r){var i,o;null!==t?S()(n,(function(n){i=t[n],o=e[n],Object(j.a)(o,i)||(k()(o)||(o=[o]),r(o,n))})):S()(n,(function(t){var n=e[t];void 0!==n&&(k()(n)||(n=[n]),r(n,t))}))},P=n(14),M=n.n(P),T=(n(258),n(295)),R=n.n(T),D=n(296),N=n.n(D),L=n(297),F=n.n(L),B=n(298),z=n.n(B),V=n(162),G=n.n(V),W=n(300),Y=n.n(W),H=n(299),U=n.n(H),X=n(301),Z=n.n(X),q=n(213),K=n.n(q),Q=n(303),J=n.n(Q),$=n(304),tt=n.n($),et=n(302),nt=n.n(et),rt=n(308),it=n.n(rt);Object(w.registerAction)("cursor",it.a),Object(w.registerAction)("element-active",R.a),Object(w.registerAction)("element-single-active",z.a),Object(w.registerAction)("element-range-active",F.a),Object(w.registerAction)("element-highlight",G.a),Object(w.registerAction)("element-highlight-by-x",Y.a),Object(w.registerAction)("element-highlight-by-color",U.a),Object(w.registerAction)("element-single-highlight",Z.a),Object(w.registerAction)("element-range-highlight",K.a),Object(w.registerAction)("element-sibling-highlight",K.a,{effectSiblings:!0,effectByRecord:!0}),Object(w.registerAction)("element-selected",J.a),Object(w.registerAction)("element-single-selected",tt.a),Object(w.registerAction)("element-range-selected",nt.a),Object(w.registerAction)("element-link-by-color",N.a),Object(w.registerInteraction)("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),Object(w.registerInteraction)("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),Object(w.registerInteraction)("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),Object(w.registerInteraction)("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),Object(w.registerInteraction)("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]});var ot=n(89);function at(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c()(t);if(e){var i=c()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a()(this,n)}}Object(w.registerGeometryLabel)("base",b.a);var st=["line","area"],ct=function(){function t(){f()(this,t),this.config={}}return h()(t,[{key:"setView",value:function(t){this.view=t,this.rootChart=t.rootChart||t}},{key:"createGeomInstance",value:function(t,e){this.geom=this.view[t](e);var n=e.sortable;this.geom.__beforeMapping=this.geom.beforeMapping,this.geom.beforeMapping=function(e){var r=this.getXScale();return!1!==n&&e&&e[0]&&st.includes(t)&&["time","timeCat"].includes(r.type)&&this.sort(e),this.__beforeMapping(e)},this.GemoBaseClassName=t}},{key:"update",value:function(t,e){var n=this;if(!this.geom){this.setView(e.context);var r={sortable:t.sortable,visible:t.visible,connectNulls:t.connectNulls};this.createGeomInstance(e.GemoBaseClassName,r),this.interactionTypes=e.interactionTypes}E(this.config,t,["position","shape","color","label","style","tooltip","size","animate","state"],(function(t,e){var r;M()(!("label"===e&&!0===t[0]),"label \u503c\u7c7b\u578b\u9519\u8bef\uff0c\u5e94\u4e3afalse | LabelOption | FieldString"),(r=n.geom)[e].apply(r,u()(t))})),E(this.config,t,["adjust"],(function(t,e){v()(t[0])?n.geom[e](t[0]):n.geom[e](t)})),this.geom.state(t.state||{}),this.rootChart.on("processElemens",(function(){y()(t.setElements)&&t.setElements(n.geom.elements)})),E(this.config,t,this.interactionTypes,(function(t,e){t[0]?n.rootChart.interaction(e):n.rootChart.removeInteraction(e)})),this.config=Object(ot.a)(t)}},{key:"destroy",value:function(){this.geom&&(this.geom.destroy(),this.geom=null),this.config={}}}]),t}(),lt=function(t){i()(n,t);var e=at(n);function n(t){var r;return f()(this,n),(r=e.call(this,t)).interactionTypes=[],r.geomHelper=new ct,r}return h()(n,[{key:"componentWillUnmount",value:function(){this.geomHelper.destroy()}},{key:"render",value:function(){var t=this;return this.geomHelper.update(this.props,this),A.a.createElement(A.a.Fragment,null,A.a.Children.map(this.props.children,(function(e){return A.a.isValidElement(e)?A.a.cloneElement(e,{parentInstance:t.geomHelper.geom}):A.a.createElement(A.a.Fragment,null)})))}}]),n}(A.a.Component);lt.contextType=x.a,e.a=lt},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(1),i=n(0),o=n(2);function a(t,e){var n=t.xField,o=t.yField,a=t.colorField,s=t.shapeField,c=t.sizeField,l=t.styleField,u=t.rawFields,g=void 0===u?[]:u,f=[];if("color"===e)f=Object(r.__spreadArrays)([a||n],g);else if("shape"===e)f=Object(r.__spreadArrays)([s||n],g);else if("size"===e)f=Object(r.__spreadArrays)([c||n],g);else{f=Object(r.__spreadArrays)([n,o,a,s,c,l],g);var d=["x","y","color","shape","size","style"].indexOf(e),h=f[d];f.splice(d,1),f.unshift(h)}return Object(i.uniq)(f.filter((function(t){return!!t})))}function s(t,e){if(e)return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};return t.forEach((function(t,e){i[t]=n[e]})),delete i[void 0],e(i)}}function c(t){var e=t.chart,n=t.options,c=n.type,l=n.args,u=n.mapping,g=n.xField,f=n.yField,d=n.colorField,h=n.shapeField,p=n.sizeField,A=n.tooltipFields,C=n.label,v=n.state;if(!u)return t;var I=u.color,y=u.shape,m=u.size,b=u.style,x=u.tooltip,w=e[c](l).position(g+"*"+f);if(Object(i.isString)(I))d?w.color(d,I):w.color(I);else if(Object(i.isFunction)(I)){var O=a(n,"color");w.color(O.join("*"),s(O,I))}else d&&w.color(d,I);if(Object(i.isString)(y)?h?w.shape(h,[y]):w.shape(y):Object(i.isFunction)(y)?(O=a(n,"shape"),w.shape(O.join("*"),s(O,y))):h&&w.shape(h,y),Object(i.isNumber)(m)?p?w.size(p,m):w.size(m):Object(i.isFunction)(m)?(O=a(n,"size"),w.size(O.join("*"),s(O,m))):p&&w.size(p,m),Object(i.isFunction)(b)?(O=a(n,"style"),w.style(O.join("*"),s(O,b))):Object(i.isObject)(b)&&w.style(b),!1===A?w.tooltip(!1):Object(i.isEmpty)(A)||w.tooltip(A.join("*"),s(A,x)),!1===C)w.label(!1);else if(C){var S=C.callback,_=C.fields,k=Object(r.__rest)(C,["callback","fields"]);w.label({fields:_||[f],callback:S,cfg:Object(o.o)(k)})}return v&&w.state(v),[g,f].filter((function(t){return t!==d})).forEach((function(t){e.legend(t,!1)})),Object(r.__assign)(Object(r.__assign)({},t),{ext:{geometry:w}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null===t||void 0===t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBackgroundRectStyle=e.getStyle=void 0;var r=n(1),i=n(0);e.getStyle=function(t,e,n,o){void 0===o&&(o="");var a=t.style,s=void 0===a?{}:a,c=t.defaultStyle,l=t.color,u=t.size,g=r.__assign(r.__assign({},c),s);return l&&(e&&(s.stroke||(g.stroke=l)),n&&(s.fill||(g.fill=l))),o&&i.isNil(s[o])&&!i.isNil(u)&&(g[o]=u),g},e.getBackgroundRectStyle=function(t){return i.deepMix({},{fill:"#CCD6EC",fillOpacity:.3},i.get(t,["background","style"]))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(4),i=n.n(r),o=n(61);function a(){return i.a.useContext(o.a)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0);function i(t,e){if(!1===t)return{fields:!1};var n=Object(r.get)(t,"fields"),i=Object(r.get)(t,"formatter");return i&&!n&&(n=e),{fields:n,formatter:i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=function(){function t(t,e){this.context=t,this.cfg=e,t.addAction(this)}return t.prototype.applyCfg=function(t){r.assign(this,t)},t.prototype.init=function(){this.applyCfg(this.cfg)},t.prototype.destroy=function(){this.context.removeAction(this),this.context=null},t}();e.default=i},function(t,e,n){var r=n(605),i=n(606),o=n(369),a=n(607);t.exports=function(t){return r(t)||i(t)||o(t)||a()}},function(t,e,n){"use strict";n.d(e,"c",(function(){return f})),n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return h}));var r=n(1),i=n(97);function o(t){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=Math.sin,s=Math.cos,c=Math.atan2,l=Math.PI;function u(t,e,n,r,o,u,g){var f=e.stroke,d=e.lineWidth,h=c(r-u,n-o),p=new i.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*s(l/6)+","+10*a(l/6)+" L0,0 L"+10*s(l/6)+",-"+10*a(l/6),stroke:f,lineWidth:d}});p.translate(o,u),p.rotateAtPoint(o,u,h),t.set(g?"startArrowShape":"endArrowShape",p)}function g(t,e,n,o,l,u,g){var f=e.startArrow,d=e.endArrow,h=e.stroke,p=e.lineWidth,A=g?f:d,C=A.d,v=A.fill,I=A.stroke,y=A.lineWidth,m=Object(r.__rest)(A,["d","fill","stroke","lineWidth"]),b=c(o-u,n-l);C&&(l-=s(b)*C,u-=a(b)*C);var x=new i.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:Object(r.__assign)(Object(r.__assign)({},m),{stroke:I||h,lineWidth:y||p,fill:v})});x.translate(l,u),x.rotateAtPoint(l,u,b),t.set(g?"startArrowShape":"endArrowShape",x)}function f(t,e,n,r,i){var o=c(r-e,n-t);return{dx:s(o)*i,dy:a(o)*i}}function d(t,e,n,r,i,a){"object"===o(e.startArrow)?g(t,e,n,r,i,a,!0):e.startArrow?u(t,e,n,r,i,a,!0):t.set("startArrowShape",null)}function h(t,e,n,r,i,a){"object"===o(e.endArrow)?g(t,e,n,r,i,a,!1):e.endArrow?u(t,e,n,r,i,a,!1):t.set("startArrowShape",null)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getReplaceAttrs=e.getPolygonCentroid=e.getAngle=e.getArcPath=e.getSectorPath=e.polarToCartesian=void 0;var r=n(0);function i(t,e,n,r){return{x:t+n*Math.cos(r),y:e+n*Math.sin(r)}}e.polarToCartesian=i,e.getSectorPath=function(t,e,n,r,o,a){void 0===a&&(a=0);var s=i(t,e,n,r),c=i(t,e,n,o),l=i(t,e,a,r),u=i(t,e,a,o);if(o-r===2*Math.PI){var g=i(t,e,n,r+Math.PI),f=i(t,e,a,r+Math.PI),d=[["M",s.x,s.y],["A",n,n,0,1,1,g.x,g.y],["A",n,n,0,1,1,c.x,c.y],["M",l.x,l.y]];return a&&(d.push(["A",a,a,0,1,0,f.x,f.y]),d.push(["A",a,a,0,1,0,u.x,u.y])),d.push(["M",s.x,s.y]),d.push(["Z"]),d}var h=o-r<=Math.PI?0:1,p=[["M",s.x,s.y],["A",n,n,0,h,1,c.x,c.y],["L",u.x,u.y]];return a&&p.push(["A",a,a,0,h,0,l.x,l.y]),p.push(["L",s.x,s.y]),p.push(["Z"]),p},e.getArcPath=function(t,e,n,o,a){var s=i(t,e,n,o),c=i(t,e,n,a);if(r.isNumberEqual(a-o,2*Math.PI)){var l=i(t,e,n,o+Math.PI);return[["M",s.x,s.y],["A",n,n,0,1,1,l.x,l.y],["A",n,n,0,1,1,s.x,s.y],["A",n,n,0,1,0,l.x,l.y],["A",n,n,0,1,0,s.x,s.y],["Z"]]}var u=a-o<=Math.PI?0:1;return[["M",s.x,s.y],["A",n,n,0,u,1,c.x,c.y]]},e.getAngle=function(t,e){var n,i,o=function(t){if(r.isEmpty(t))return null;var e=t[0].x,n=t[0].x,i=t[0].y,o=t[0].y;return r.each(t,(function(t){e=e>t.x?t.x:e,n=n<t.x?t.x:n,i=i>t.y?t.y:i,o=o<t.y?t.y:o})),{minX:e,maxX:n,minY:i,maxY:o,centerX:(e+n)/2,centerY:(i+o)/2}}(t.points),a=e.startAngle,s=e.endAngle-a;return e.isTransposed?(n=o.maxY*s,i=o.minY*s):(n=o.maxX*s,i=o.minX*s),{startAngle:i+=a,endAngle:n+=a}},e.getPolygonCentroid=function(t,e){if(r.isNumber(t)&&r.isNumber(e))return[t,e];for(var n,i,o=-1,a=0,s=0,c=t.length-1,l=0;++o<t.length;)n=c,c=o,l+=i=t[n]*e[c]-t[c]*e[n],a+=(t[n]+t[c])*i,s+=(e[n]+e[c])*i;return[a/(l*=3),s/l]},e.getReplaceAttrs=function(t,e){var n=t.attr(),i=e.attr();return r.each(n,(function(t,e){void 0===i[e]&&(i[e]=void 0)})),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(629);Object.defineProperty(e,"area",{enumerable:!0,get:function(){return r.area}});var i=n(630);Object.defineProperty(e,"line",{enumerable:!0,get:function(){return i.line}});var o=n(631);Object.defineProperty(e,"point",{enumerable:!0,get:function(){return o.point}});var a=n(632);Object.defineProperty(e,"interval",{enumerable:!0,get:function(){return a.interval}});var s=n(387);Object.defineProperty(e,"polygon",{enumerable:!0,get:function(){return s.polygon}});var c=n(633);Object.defineProperty(e,"edge",{enumerable:!0,get:function(){return c.edge}})},function(t,e,n){"use strict";n.d(e,"b",(function(){return l}));var r=n(5),i=n.n(r),o=n(4),a=n.n(o),s=a.a.createContext(null);s.displayName="ChartViewContext";var c=s.Consumer;function l(t){return function(e){return a.a.createElement(c,null,(function(n){return a.a.createElement(t,i()({chartView:n},e))}))}}e.a=s},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(40);function i(t,e){var n=t.cfg.el,r=t.attr(),i={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(i.dx||i.dy||i.blur||i.color){var o=e.find("filter",i);o||(o=e.addShadow(i)),n.setAttribute("filter","url(#"+o+")")}else n.removeAttribute("filter")}function o(t){var e=t.attr().matrix;if(e){for(var n=t.cfg.el,r=[],i=0;i<9;i+=3)r.push(e[i]+","+e[i+1]);-1===(r=r.join(",")).indexOf("NaN")?n.setAttribute("transform","matrix("+r+")"):console.warn("invalid matrix:",e)}}function a(t,e){var n=t.getClip(),i=t.get("el");if(n){if(n&&!i.hasAttribute("clip-path")){Object(r.a)(n),n.createPath(e);var o=e.addClip(n);i.setAttribute("clip-path","url(#"+o+")")}}else i.removeAttribute("clip-path")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(124);e.default=function(t){return r.default(t,"String")}},function(t,e,n){"use strict";function r(){return 0}n.d(e,"a",(function(){return r})),e.b=function(t){return function(){return t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCoordinateBBox=e.getCoordinateClipCfg=e.getAngleByPoint=e.isPointInCoordinate=e.getDistanceToCenter=e.isFullCircle=e.getXDimensionLength=void 0;var r=n(59),i=n(87),o=n(88);e.getXDimensionLength=function(t){if(t.isPolar&&!t.isTransposed)return(t.endAngle-t.startAngle)*t.getRadius();var e=t.convert({x:0,y:0}),n=t.convert({x:1,y:0});return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))},e.isFullCircle=function(t){if(t.isPolar){var e=t.startAngle;return t.endAngle-e===2*Math.PI}return!1},e.getDistanceToCenter=function(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))},e.isPointInCoordinate=function(t,e){var n=!1;if(t)if("theta"===t.type){var r=t.start,o=t.end;n=i.isBetween(e.x,r.x,o.x)&&i.isBetween(e.y,r.y,o.y)}else{var a=t.invert(e);n=i.isBetween(a.x,0,1)&&i.isBetween(a.y,0,1)}return n},e.getAngleByPoint=function(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)},e.getCoordinateClipCfg=function(t,e){void 0===e&&(e=0);var n,i=t.start,o=t.end,a=t.getWidth(),s=t.getHeight();if(t.isPolar){var c=t.startAngle,l=t.endAngle,u=t.getCenter(),g=t.getRadius();return{type:"path",startState:{path:r.getSectorPath(u.x,u.y,g+e,c,c)},endState:function(t){var n=(l-c)*t+c;return{path:r.getSectorPath(u.x,u.y,g+e,c,n)}},attrs:{path:r.getSectorPath(u.x,u.y,g+e,c,l)}}}return n=t.isTransposed?{height:s+2*e}:{width:a+2*e},{type:"rect",startState:{x:i.x-e,y:o.y-e,width:t.isTransposed?a+2*e:0,height:t.isTransposed?0:s+2*e},endState:n,attrs:{x:i.x-e,y:o.y-e,width:a+2*e,height:s+2*e}}},e.getCoordinateBBox=function(t,e){void 0===e&&(e=0);var n=t.start,r=t.end,i=t.getWidth(),a=t.getHeight(),s=Math.min(n.x,r.x),c=Math.min(n.y,r.y);return o.BBox.fromRange(s-e,c-e,s+i+e,c+a+e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSamePoint=e.mergeRegion=e.intersectRect=e.inBox=e.distance=e.getPixelRatio=void 0,e.getPixelRatio=function(){return window?window.devicePixelRatio:1},e.distance=function(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)},e.inBox=function(t,e,n,r,i,o){return i>=t&&i<=t+n&&o>=e&&o<=e+r},e.intersectRect=function(t,e){return!(e.minX>t.maxX||e.maxX<t.minX||e.minY>t.maxY||e.maxY<t.minY)},e.mergeRegion=function(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},e.isSamePoint=function(t,e){return t[0]===e[0]&&t[1]===e[1]};var r=n(0);Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return r.isNil}}),Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return r.isFunction}}),Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return r.isArray}}),Object.defineProperty(e,"each",{enumerable:!0,get:function(){return r.each}}),Object.defineProperty(e,"toRadian",{enumerable:!0,get:function(){return r.toRadian}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return r.mod}}),Object.defineProperty(e,"isNumberEqual",{enumerable:!0,get:function(){return r.isNumberEqual}}),Object.defineProperty(e,"requestAnimationFrame",{enumerable:!0,get:function(){return r.requestAnimationFrame}}),Object.defineProperty(e,"clearAnimationFrame",{enumerable:!0,get:function(){return r.clearAnimationFrame}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EVENTS=e.SVG_ATTR_MAP=e.SHAPE_TO_TAGS=void 0,e.SHAPE_TO_TAGS={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},e.SVG_ATTR_MAP={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"},e.EVENTS=["click","mousedown","mouseup","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","wheel"]},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n(0);function i(t,e){var n=t.filter((function(t){var n=Object(r.get)(t,[e]);return Object(r.isNumber)(n)&&!isNaN(n)})),i=n.every((function(t){return Object(r.get)(t,[e])>=0})),o=n.every((function(t){return Object(r.get)(t,[e])<=0}));return i?{min:0}:o?{max:0}:{}}function o(t,e,n,r){if(!Array.isArray(t))return{nodes:[],links:[]};var i=[],o={},a=-1;return t.forEach((function(t){var s=t[e],c=t[n],l=t[r];o[s]||(o[s]={id:++a,name:s}),o[c]||(o[c]={id:++a,name:c}),i.push({source:o[s].id,target:o[c].id,value:l})})),{nodes:Object.values(o),links:i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(32),i=n(73);e.default=function(t,e){if(t)if(r.default(t))for(var n=0,o=t.length;n<o&&!1!==e(t[n],n);n++);else if(i.default(t))for(var a in t)if(t.hasOwnProperty(a)&&!1===e(t[a],a))break}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask"],i={GRADIENT:{CONTINUOUS:"#BAE7FF-#1890FF-#0050B3"}}},function(t,e,n){"use strict";function r(t,e){var n=[],r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],l=t[6],u=t[7],g=t[8],f=e[0],d=e[1],h=e[2],p=e[3],A=e[4],C=e[5],v=e[6],I=e[7],y=e[8];return n[0]=f*r+d*a+h*l,n[1]=f*i+d*s+h*u,n[2]=f*o+d*c+h*g,n[3]=p*r+A*a+C*l,n[4]=p*i+A*s+C*u,n[5]=p*o+A*c+C*g,n[6]=v*r+I*a+y*l,n[7]=v*i+I*s+y*u,n[8]=v*o+I*c+y*g,n}function i(t,e){var n=[],r=e[0],i=e[1];return n[0]=t[0]*r+t[3]*i+t[6],n[1]=t[1]*r+t[4]*i+t[7],n}function o(t){var e=[],n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],c=t[6],l=t[7],u=t[8],g=u*a-s*l,f=-u*o+s*c,d=l*o-a*c,h=n*g+r*f+i*d;return h?(h=1/h,e[0]=g*h,e[1]=(-u*r+i*l)*h,e[2]=(s*r-i*a)*h,e[3]=f*h,e[4]=(u*n-i*c)*h,e[5]=(-s*n+i*o)*h,e[6]=d*h,e[7]=(-l*n+r*c)*h,e[8]=(a*n-r*o)*h,e):null}n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";n.r(e),n.d(e,"parsePath",(function(){return a})),n.d(e,"catmullRom2Bezier",(function(){return s})),n.d(e,"fillPath",(function(){return u})),n.d(e,"fillPathByDiff",(function(){return f})),n.d(e,"formatPath",(function(){return p})),n.d(e,"pathIntersection",(function(){return L})),n.d(e,"parsePathArray",(function(){return B})),n.d(e,"parsePathString",(function(){return y})),n.d(e,"path2Curve",(function(){return _})),n.d(e,"path2Absolute",(function(){return x})),n.d(e,"reactPath",(function(){return A})),n.d(e,"getArcParams",(function(){return Y})),n.d(e,"path2Segments",(function(){return U})),n.d(e,"getLineIntersect",(function(){return Z})),n.d(e,"isPolygonsIntersect",(function(){return tt})),n.d(e,"isPointInPolygon",(function(){return Q}));var r=n(0),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,o=/[^\s\,]+/gi,a=function(t){var e=t||[];return Object(r.isArray)(e)?e:Object(r.isString)(e)?(e=e.match(i),Object(r.each)(e,(function(t,n){if((t=t.match(o))[0].length>1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}Object(r.each)(t,(function(e,n){isNaN(e)||(t[n]=+e)})),e[n]=t})),e):void 0};function s(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}function c(t,e){var n=[],r=[];return t.length&&function t(e,i){if(1===e.length)n.push(e[0]),r.push(e[0]);else{for(var o=[],a=0;a<e.length-1;a++)0===a&&n.push(e[0]),a===e.length-2&&r.push(e[a+1]),o[a]=[(1-i)*e[a][0]+i*e[a+1][0],(1-i)*e[a][1]+i*e[a+1][1]];t(o,i)}}(t,e),{left:n,right:r.reverse()}}function l(t,e,n){if(1===n)return[[].concat(t)];var r=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])r=r.concat(function(t,e,n){var r=[[t[1],t[2]]];n=n||2;var i=[];"A"===e[0]?(r.push(e[6]),r.push(e[7])):"C"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]]),r.push([e[5],e[6]])):"S"===e[0]||"Q"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]])):r.push([e[1],e[2]]);for(var o=r,a=1/n,s=0;s<n-1;s++){var l=c(o,a/(1-a*s));i.push(l.left),o=l.right}return i.push(o),i.map((function(t){var e=[];return 4===t.length&&(e.push("C"),e=e.concat(t[2])),t.length>=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e.concat(t[t.length-1])}))}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r}function u(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,o=[];if(1===t.length&&"M"===t[0][0]){for(var a=0;a<r-n;a++)t.push(t[0]);return t}for(a=0;a<r;a++){var s=Math.floor(i*a);o[s]=(o[s]||0)+1}var c=o.reduce((function(e,r,i){return i===n?e.concat(t[n]):e.concat(l(t[i],t[i+1],r))}),[]);return c.unshift(t[0]),"Z"!==e[r]&&"z"!==e[r]||c.push("Z"),c}function g(t,e,n){var r=null,i=n;return e<i&&(i=e,r="add"),t<i&&(i=t,r="del"),{type:r,min:i}}function f(t,e){var n=function(t,e){var n,i,o=t.length,a=e.length,s=0;if(0===o||0===a)return null;for(var c=[],l=0;l<=o;l++)c[l]=[],c[l][0]={min:l};for(var u=0;u<=a;u++)c[0][u]={min:u};for(l=1;l<=o;l++)for(n=t[l-1],u=1;u<=a;u++){i=e[u-1],s=Object(r.isEqual)(n,i)?0:1;var f=c[l-1][u].min+1,d=c[l][u-1].min+1,h=c[l-1][u-1].min+s;c[l][u]=g(f,d,h)}return c}(t,e),i=t.length,o=e.length,a=[],s=1,c=1;if(n[i][o]!==i){for(var l=1;l<=i;l++){var u=n[l][l].min;c=l;for(var f=s;f<=o;f++)n[l][f].min<u&&(u=n[l][f].min,c=f);s=c,n[l][s].type&&a.push({index:l-1,type:n[l][s].type})}for(l=a.length-1;l>=0;l--)s=a[l].index,"add"===a[l].type?t.splice(s,0,[].concat(t[s])):t.splice(s,1)}if((i=t.length)<o)for(l=0;l<o-i;l++)"z"===t[i-1][0]||"Z"===t[i-1][0]?t.splice(i-2,0,t[i-2]):t.push(t[i-1]);return t}function d(t){var e=[];switch(t[0]){case"M":case"L":e.push([t[1],t[2]]);break;case"A":e.push([t[6],t[7]]);break;case"Q":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"T":e.push([t[1],t[2]]);break;case"C":e.push([t[5],t[6]]),e.push([t[1],t[2]]),e.push([t[3],t[4]]);break;case"S":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"H":case"V":e.push([t[1],t[1]])}return e}function h(t,e,n){for(var r,i=[].concat(t),o=1/(n+1),a=d(e)[0],s=1;s<=n;s++)o*=s,0===(r=Math.floor(t.length*o))?i.unshift([a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]):i.splice(r,0,[a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]);return i}function p(t,e){if(t.length<=1)return t;for(var n,r=0;r<e.length;r++)if(t[r][0]!==e[r][0])switch(n=d(t[r]),e[r][0]){case"M":t[r]=["M"].concat(n[0]);break;case"L":t[r]=["L"].concat(n[0]);break;case"A":t[r]=[].concat(e[r]),t[r][6]=n[0][0],t[r][7]=n[0][1];break;case"Q":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=h(n,t[r-1],1)}t[r]=["Q"].concat(n.reduce((function(t,e){return t.concat(e)}),[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(r>0)){t[r]=e[r];break}n=h(n,t[r-1],2)}t[r]=["C"].concat(n.reduce((function(t,e){return t.concat(e)}),[]));break;case"S":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=h(n,t[r-1],1)}t[r]=["S"].concat(n.reduce((function(t,e){return t.concat(e)}),[]));break;default:t[r]=e[r]}return t}function A(t,e,n,r,i){return i?[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]}var C="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",v=new RegExp("([a-z])["+C+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+C+"]*,?["+C+"]*)+)","ig"),I=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+C+"]*,?["+C+"]*","ig");function y(t){if(!t)return null;if(Object(r.isArray)(t))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(v,(function(t,r,i){var o=[],a=r.toLowerCase();if(i.replace(I,(function(t,e){e&&o.push(+e)})),"m"===a&&o.length>2&&(n.push([r].concat(o.splice(0,2))),a="l",r="m"===r?"l":"L"),"o"===a&&1===o.length&&n.push([r,o[0]]),"r"===a)n.push([r].concat(o));else for(;o.length>=e[a]&&(n.push([r].concat(o.splice(0,e[a]))),e[a]););return""})),n}var m=/[a-z]/;function b(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function x(t){var e=y(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,r=0;r<e.length;r++){var i=e[r][0];if(m.test(i)||["V","H","T","S"].indexOf(i)>=0){n=!0;break}}if(!n)return e;var o=[],a=0,s=0,c=0,l=0,u=0,g=e[0];"M"!==g[0]&&"m"!==g[0]||(c=a=+g[1],l=s=+g[2],u++,o[0]=["M",a,s]),r=u;for(var f=e.length;r<f;r++){var d=e[r],h=o[r-1],p=[],A=(i=d[0]).toUpperCase();if(i!==A)switch(p[0]=A,A){case"A":p[1]=d[1],p[2]=d[2],p[3]=d[3],p[4]=d[4],p[5]=d[5],p[6]=+d[6]+a,p[7]=+d[7]+s;break;case"V":p[1]=+d[1]+s;break;case"H":p[1]=+d[1]+a;break;case"M":c=+d[1]+a,l=+d[2]+s;break;default:for(var C=1,v=d.length;C<v;C++)p[C]=+d[C]+(C%2?a:s)}else p=e[r];switch(A){case"Z":a=+c,s=+l;break;case"H":p=["L",a=p[1],s];break;case"V":p=["L",a,s=p[1]];break;case"T":a=p[1],s=p[2];var I=b([h[1],h[2]],[h[3],h[4]]);p=["Q",I[0],I[1],a,s];break;case"S":a=p[p.length-2],s=p[p.length-1];var x=h.length,w=b([h[x-4],h[x-3]],[h[x-2],h[x-1]]);p=["C",w[0],w[1],p[1],p[2],a,s];break;case"M":c=p[p.length-2],l=p[p.length-1];break;default:a=p[p.length-2],s=p[p.length-1]}o.push(p)}return o}var w=function t(e,n,r,i,o,a,s,c,l,u){r===i&&(r+=1);var g,f,d,h,p,A=120*Math.PI/180,C=Math.PI/180*(+o||0),v=[],I=function(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}};if(u)f=u[0],d=u[1],h=u[2],p=u[3];else{e=(g=I(e,n,-C)).x,n=g.y,c=(g=I(c,l,-C)).x,l=g.y,e===c&&n===l&&(c+=1,l+=1);var y=(e-c)/2,m=(n-l)/2,b=y*y/(r*r)+m*m/(i*i);b>1&&(r*=b=Math.sqrt(b),i*=b);var x=r*r,w=i*i,O=(a===s?-1:1)*Math.sqrt(Math.abs((x*w-x*m*m-w*y*y)/(x*m*m+w*y*y)));h=O*r*m/i+(e+c)/2,p=O*-i*y/r+(n+l)/2,f=Math.asin(Number(((n-p)/i).toFixed(9))),d=Math.asin(Number(((l-p)/i).toFixed(9))),f=e<h?Math.PI-f:f,d=c<h?Math.PI-d:d,f<0&&(f=2*Math.PI+f),d<0&&(d=2*Math.PI+d),s&&f>d&&(f-=2*Math.PI),!s&&d>f&&(d-=2*Math.PI)}var S=d-f;if(Math.abs(S)>A){var _=d,k=c,j=l;d=f+A*(s&&d>f?1:-1),v=t(c=h+r*Math.cos(d),l=p+i*Math.sin(d),r,i,o,0,s,k,j,[d,_,h,p])}S=d-f;var E=Math.cos(f),P=Math.sin(f),M=Math.cos(d),T=Math.sin(d),R=Math.tan(S/4),D=4/3*r*R,N=4/3*i*R,L=[e,n],F=[e+D*P,n-N*E],B=[c+D*T,l-N*M],z=[c,l];if(F[0]=2*L[0]-F[0],F[1]=2*L[1]-F[1],u)return[F,B,z].concat(v);for(var V=[],G=0,W=(v=[F,B,z].concat(v).join().split(",")).length;G<W;G++)V[G]=G%2?I(v[G-1],v[G],C).y:I(v[G],v[G+1],C).x;return V},O=function(t,e,n,r){return[t,e,n,r,n,r]},S=function(t,e,n,r,i,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*r,a*i+s*n,a*o+s*r,i,o]};function _(t,e){var n,r=x(t),i=e&&x(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=[],c=[],l="",u="",g=function(t,e,n){var r,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(w.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"===n||"S"===n?(r=2*e.x-e.bx,i=2*e.y-e.by):(r=e.x,i=e.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"===n||"T"===n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(S(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(S(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(O(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(O(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(O(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(O(e.x,e.y,e.X,e.Y))}return t},f=function(t,e){if(t[e].length>7){t[e].shift();for(var o=t[e];o.length;)s[e]="A",i&&(c[e]="A"),t.splice(e++,0,["C"].concat(o.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},d=function(t,e,o,a,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=t[s][1],o.y=t[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var h=0;h<n;h++){r[h]&&(l=r[h][0]),"C"!==l&&(s[h]=l,h&&(u=s[h-1])),r[h]=g(r[h],o,u),"A"!==s[h]&&"C"===l&&(s[h]="C"),f(r,h),i&&(i[h]&&(l=i[h][0]),"C"!==l&&(c[h]=l,h&&(u=c[h-1])),i[h]=g(i[h],a,u),"A"!==c[h]&&"C"===l&&(c[h]="C"),f(i,h)),d(r,i,o,a,h),d(i,r,a,o,h);var p=r[h],A=i&&i[h],C=p.length,v=i&&A.length;o.x=p[C-2],o.y=p[C-1],o.bx=parseFloat(p[C-4])||o.x,o.by=parseFloat(p[C-3])||o.y,a.bx=i&&(parseFloat(A[v-4])||a.x),a.by=i&&(parseFloat(A[v-3])||a.y),a.x=i&&A[v-2],a.y=i&&A[v-1]}return i?[r,i]:r}var k=function(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n},j=function(t,e,n,r,i,o,a,s,c){null===c&&(c=1);for(var l=(c=c>1?1:c<0?0:c)/2,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],g=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],f=0,d=0;d<12;d++){var h=l*u[d]+l,p=k(h,t,n,i,a),A=k(h,e,r,o,s),C=p*p+A*A;f+=g[d]*Math.sqrt(C)}return l*f},E=function(t,e,n,r,i,o,a,s){for(var c,l,u,g,f=[],d=[[],[]],h=0;h<2;++h)if(0===h?(l=6*t-12*n+6*i,c=-3*t+9*n-9*i+3*a,u=3*n-3*t):(l=6*e-12*r+6*o,c=-3*e+9*r-9*o+3*s,u=3*r-3*e),Math.abs(c)<1e-12){if(Math.abs(l)<1e-12)continue;(g=-u/l)>0&&g<1&&f.push(g)}else{var p=l*l-4*u*c,A=Math.sqrt(p);if(!(p<0)){var C=(-l+A)/(2*c);C>0&&C<1&&f.push(C);var v=(-l-A)/(2*c);v>0&&v<1&&f.push(v)}}for(var I,y=f.length,m=y;y--;)I=1-(g=f[y]),d[0][y]=I*I*I*t+3*I*I*g*n+3*I*g*g*i+g*g*g*a,d[1][y]=I*I*I*e+3*I*I*g*r+3*I*g*g*o+g*g*g*s;return d[0][m]=t,d[1][m]=e,d[0][m+1]=a,d[1][m+1]=s,d[0].length=d[1].length=m+2,{min:{x:Math.min.apply(0,d[0]),y:Math.min.apply(0,d[1])},max:{x:Math.max.apply(0,d[0]),y:Math.max.apply(0,d[1])}}},P=function(t,e,n,r,i,o,a,s){if(!(Math.max(t,n)<Math.min(i,a)||Math.min(t,n)>Math.max(i,a)||Math.max(e,r)<Math.min(o,s)||Math.min(e,r)>Math.max(o,s))){var c=(t-n)*(o-s)-(e-r)*(i-a);if(c){var l=((t*r-e*n)*(i-a)-(t-n)*(i*s-o*a))/c,u=((t*r-e*n)*(o-s)-(e-r)*(i*s-o*a))/c,g=+l.toFixed(2),f=+u.toFixed(2);if(!(g<+Math.min(t,n).toFixed(2)||g>+Math.max(t,n).toFixed(2)||g<+Math.min(i,a).toFixed(2)||g>+Math.max(i,a).toFixed(2)||f<+Math.min(e,r).toFixed(2)||f>+Math.max(e,r).toFixed(2)||f<+Math.min(o,s).toFixed(2)||f>+Math.max(o,s).toFixed(2)))return{x:l,y:u}}}},M=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},T=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:A(t,e,n,r),vb:[t,e,n,r].join(" ")}},R=function(t,e,n,i,o,a,s,c){Object(r.isArray)(t)||(t=[t,e,n,i,o,a,s,c]);var l=E.apply(null,t);return T(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},D=function(t,e,n,r,i,o,a,s,c){var l=1-c,u=Math.pow(l,3),g=Math.pow(l,2),f=c*c,d=f*c,h=t+2*c*(n-t)+f*(i-2*n+t),p=e+2*c*(r-e)+f*(o-2*r+e),A=n+2*c*(i-n)+f*(a-2*i+n),C=r+2*c*(o-r)+f*(s-2*o+r);return{x:u*t+3*g*c*n+3*l*c*c*i+d*a,y:u*e+3*g*c*r+3*l*c*c*o+d*s,m:{x:h,y:p},n:{x:A,y:C},start:{x:l*t+c*n,y:l*e+c*r},end:{x:l*i+c*a,y:l*o+c*s},alpha:90-180*Math.atan2(h-A,p-C)/Math.PI}},N=function(t,e,n){if(!function(t,e){return t=T(t),e=T(e),M(e,t.x,t.y)||M(e,t.x2,t.y)||M(e,t.x,t.y2)||M(e,t.x2,t.y2)||M(t,e.x,e.y)||M(t,e.x2,e.y)||M(t,e.x,e.y2)||M(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}(R(t),R(e)))return n?0:[];for(var r=~~(j.apply(0,t)/8),i=~~(j.apply(0,e)/8),o=[],a=[],s={},c=n?0:[],l=0;l<r+1;l++){var u=D.apply(0,t.concat(l/r));o.push({x:u.x,y:u.y,t:l/r})}for(l=0;l<i+1;l++)u=D.apply(0,e.concat(l/i)),a.push({x:u.x,y:u.y,t:l/i});for(l=0;l<r;l++)for(var g=0;g<i;g++){var f=o[l],d=o[l+1],h=a[g],p=a[g+1],A=Math.abs(d.x-f.x)<.001?"y":"x",C=Math.abs(p.x-h.x)<.001?"y":"x",v=P(f.x,f.y,d.x,d.y,h.x,h.y,p.x,p.y);if(v){if(s[v.x.toFixed(4)]===v.y.toFixed(4))continue;s[v.x.toFixed(4)]=v.y.toFixed(4);var I=f.t+Math.abs((v[A]-f[A])/(d[A]-f[A]))*(d.t-f.t),y=h.t+Math.abs((v[C]-h[C])/(p[C]-h[C]))*(p.t-h.t);I>=0&&I<=1&&y>=0&&y<=1&&(n?c++:c.push({x:v.x,y:v.y,t1:I,t2:y}))}}return c};function L(t,e){return function(t,e,n){var r,i,o,a,s,c,l,u,g,f;t=_(t),e=_(e);for(var d=n?0:[],h=0,p=t.length;h<p;h++){var A=t[h];if("M"===A[0])r=s=A[1],i=c=A[2];else{"C"===A[0]?(g=[r,i].concat(A.slice(1)),r=g[6],i=g[7]):(g=[r,i,r,i,s,c,s,c],r=s,i=c);for(var C=0,v=e.length;C<v;C++){var I=e[C];if("M"===I[0])o=l=I[1],a=u=I[2];else{"C"===I[0]?(f=[o,a].concat(I.slice(1)),o=f[6],a=f[7]):(f=[o,a,o,a,l,u,l,u],o=l,a=u);var y=N(g,f,n);if(n)d+=y;else{for(var m=0,b=y.length;m<b;m++)y[m].segment1=h,y[m].segment2=C,y[m].bez1=g,y[m].bez2=f;d=d.concat(y)}}}}}return d}(t,e)}var F=/,?([a-z]),?/gi;function B(t){return t.join(",").replace(F,"$1")}function z(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function V(t,e){return z(t)*z(e)?(t[0]*e[0]+t[1]*e[1])/(z(t)*z(e)):1}function G(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(V(t,e))}function W(t,e){return t[0]===e[0]&&t[1]===e[1]}function Y(t,e){var n=e[1],i=e[2],o=Object(r.mod)(Object(r.toRadian)(e[3]),2*Math.PI),a=e[4],s=e[5],c=t[0],l=t[1],u=e[6],g=e[7],f=Math.cos(o)*(c-u)/2+Math.sin(o)*(l-g)/2,d=-1*Math.sin(o)*(c-u)/2+Math.cos(o)*(l-g)/2,h=f*f/(n*n)+d*d/(i*i);h>1&&(n*=Math.sqrt(h),i*=Math.sqrt(h));var p=n*n*(d*d)+i*i*(f*f),A=p?Math.sqrt((n*n*(i*i)-p)/p):1;a===s&&(A*=-1),isNaN(A)&&(A=0);var C=i?A*n*d/i:0,v=n?A*-i*f/n:0,I=(c+u)/2+Math.cos(o)*C-Math.sin(o)*v,y=(l+g)/2+Math.sin(o)*C+Math.cos(o)*v,m=[(f-C)/n,(d-v)/i],b=[(-1*f-C)/n,(-1*d-v)/i],x=G([1,0],m),w=G(m,b);return V(m,b)<=-1&&(w=Math.PI),V(m,b)>=1&&(w=0),0===s&&w>0&&(w-=2*Math.PI),1===s&&w<0&&(w+=2*Math.PI),{cx:I,cy:y,rx:W(t,[u,g])?0:n,ry:W(t,[u,g])?0:i,startAngle:x,endAngle:x+w,xRotation:o,arcFlag:a,sweepFlag:s}}function H(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function U(t){for(var e=[],n=null,r=null,i=null,o=0,s=(t=a(t)).length,c=0;c<s;c++){var l=t[c];r=t[c+1];var u=l[0],g={command:u,prePoint:n,params:l,startTangent:null,endTangent:null};switch(u){case"M":i=[l[1],l[2]],o=c;break;case"A":var f=Y(n,l);g.arcParams=f}if("Z"===u)n=i,r=t[o+1];else{var d=l.length;n=[l[d-2],l[d-1]]}r&&"Z"===r[0]&&(r=t[o],e[o]&&(e[o].prePoint=n)),g.currentPoint=n,e[o]&&W(n,e[o].currentPoint)&&(e[o].prePoint=g.prePoint);var h=r?[r[r.length-2],r[r.length-1]]:null;g.nextPoint=h;var p=g.prePoint;if(["L","H","V"].includes(u))g.startTangent=[p[0]-n[0],p[1]-n[1]],g.endTangent=[n[0]-p[0],n[1]-p[1]];else if("Q"===u){var A=[l[1],l[2]];g.startTangent=[p[0]-A[0],p[1]-A[1]],g.endTangent=[n[0]-A[0],n[1]-A[1]]}else if("T"===u)A=H((I=e[c-1]).currentPoint,p),"Q"===I.command?(g.command="Q",g.startTangent=[p[0]-A[0],p[1]-A[1]],g.endTangent=[n[0]-A[0],n[1]-A[1]]):(g.command="TL",g.startTangent=[p[0]-n[0],p[1]-n[1]],g.endTangent=[n[0]-p[0],n[1]-p[1]]);else if("C"===u){var C=[l[1],l[2]],v=[l[3],l[4]];g.startTangent=[p[0]-C[0],p[1]-C[1]],g.endTangent=[n[0]-v[0],n[1]-v[1]]}else if("S"===u){var I;C=H((I=e[c-1]).currentPoint,p),v=[l[1],l[2]],"C"===I.command?(g.command="C",g.startTangent=[p[0]-C[0],p[1]-C[1]],g.endTangent=[n[0]-v[0],n[1]-v[1]]):(g.command="SQ",g.startTangent=[p[0]-v[0],p[1]-v[1]],g.endTangent=[n[0]-v[0],n[1]-v[1]])}else if("A"===u){var y=.001,m=g.arcParams||{},b=m.cx,x=void 0===b?0:b,w=m.cy,O=void 0===w?0:w,S=m.rx,_=void 0===S?0:S,k=m.ry,j=void 0===k?0:k,E=m.sweepFlag,P=void 0===E?0:E,M=m.startAngle,T=void 0===M?0:M,R=m.endAngle,D=void 0===R?0:R;0===P&&(y*=-1);var N=_*Math.cos(T-y)+x,L=j*Math.sin(T-y)+O;g.startTangent=[N-i[0],L-i[1]];var F=_*Math.cos(T+D+y)+x,B=j*Math.sin(T+D-y)+O;g.endTangent=[p[0]-F,p[1]-B]}e.push(g)}return e}var X=function(t,e,n){return t>=e&&t<=n};function Z(t,e,n,r){var i=n.x-t.x,o=n.y-t.y,a=e.x-t.x,s=e.y-t.y,c=r.x-n.x,l=r.y-n.y,u=a*l-s*c,g=null;if(u*u>.001*(a*a+s*s)*(c*c+l*l)){var f=(i*l-o*c)/u,d=(i*s-o*a)/u;X(f,0,1)&&X(d,0,1)&&(g={x:t.x+f*a,y:t.y+f*s})}return g}function q(t){return Math.abs(t)<1e-6?0:t<0?-1:1}function K(t,e,n){return(n[0]-t[0])*(e[1]-t[1])===(e[0]-t[0])*(n[1]-t[1])&&Math.min(t[0],e[0])<=n[0]&&n[0]<=Math.max(t[0],e[0])&&Math.min(t[1],e[1])<=n[1]&&n[1]<=Math.max(t[1],e[1])}function Q(t,e,n){var r=!1,i=t.length;if(i<=2)return!1;for(var o=0;o<i;o++){var a=t[o],s=t[(o+1)%i];if(K(a,s,[e,n]))return!0;q(a[1]-n)>0!==q(s[1]-n)>0&&q(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}function J(t){for(var e=[],n=t.length,r=0;r<n-1;r++){var i=t[r],o=t[r+1];e.push({from:{x:i[0],y:i[1]},to:{x:o[0],y:o[1]}})}if(e.length>1){var a=t[0],s=t[n-1];e.push({from:{x:s[0],y:s[1]},to:{x:a[0],y:a[1]}})}return e}function $(t){var e=t.map((function(t){return t[0]})),n=t.map((function(t){return t[1]}));return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,n),maxY:Math.max.apply(null,n)}}function tt(t,e){if(t.length<2||e.length<2)return!1;var n,i,o=$(t),a=$(e);if(n=o,(i=a).minX>n.maxX||i.maxX<n.minX||i.minY>n.maxY||i.maxY<n.minY)return!1;var s=!1;if(Object(r.each)(e,(function(e){if(Q(t,e[0],e[1]))return s=!0,!1})),s)return!0;if(Object(r.each)(t,(function(t){if(Q(e,t[0],t[1]))return s=!0,!1})),s)return!0;var c=J(t),l=J(e),u=!1;return Object(r.each)(l,(function(t){if(function(t,e){var n=!1;return Object(r.each)(t,(function(t){if(Z(t.from,t.to,e.from,e.to))return n=!0,!1})),n}(c,t))return u=!0,!1})),u}},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=r(t);return null!==t&&"object"===e||"function"===e}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(0);function i(t,e){return t.charCodeAt(e)>0&&t.charCodeAt(e)<128?1:2}function o(t){if(t.length>400)return function(t){for(var e=t.map((function(t){var e=t.attr("text");return Object(r.isNil)(e)?"":""+e})),n=0,i=0,o=0;o<e.length;o+=1){for(var a=0,s=0;s<=e[o].length;s+=1){var c=e[o].charCodeAt(s);a+=c>=19968&&c<=40869?2:1}a>n&&(n=a,i=o)}return t[i].getBBox().width}(t);var e=0;return Object(r.each)(t,(function(t){var n=t.getBBox().width;e<n&&(e=n)})),e}function a(t,e,n,r){void 0===r&&(r="tail");var o=e.attr("text"),a=function(t,e){var n=e.getCanvasBBox();return t?n.width:n.height}(t,e),s=function(t){for(var e=0,n=0;n<t.length;n++)e+=i(t,n);return e}(o),c=!1;if(n<a){var l=Math.floor(n/a*s)-2,u=void 0;(u=l>=0?function(t,e,n){void 0===n&&(n="tail");var r=t.length,o="";if("tail"===n){for(var a=0,s=0;a<e&&a+i(t,s)<=e;)o+=t[s],a+=i(t,s),s++;o+="\u2026"}else if("head"===n){for(a=0,s=r-1;a<e&&a+i(t,s)<=e;)o+=t[s],a+=i(t,s),s--;o="\u2026"+o}else{for(var c="",l="",u=(a=0,0),g=r-1;a<e;){var f=i(t,u),d=!1;f+a<=e&&(c+=t[u],u++,a+=f,d=!0);var h=i(t,g);if(h+a<=e&&(l=t[g]+l,a+=h,g--,d=!0),!d)break}o=c+"\u2026"+l}return o}(o,l,r):"\u2026")&&(e.attr("text",u),c=!0)}return c?e.set("tip",o):e.set("tip",null),c}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(24),o=n(152),a=n(83),s=n(231),c=n(67),l=n(179),u=n(232),g=n(24),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="svg",e.canFill=!1,e.canStroke=!1,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.draw(r,e)}},e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u.default},e.prototype.onCanvasChange=function(t){s.refreshElement(this,t)},e.prototype.calculateBBox=function(){var t=this.get("el"),e=null;if(t)e=t.getBBox();else{var n=g.getBBoxMethod(this.get("type"));n&&(e=n(this))}if(e){var r=e.x,i=e.y,o=e.width,a=e.height,s=this.getHitLineWidth(),c=s/2,l=r-c,u=i-c;return{x:l,y:u,minX:l,minY:u,maxX:r+o+c,maxY:i+a+c,width:o+s,height:a+s}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},e.prototype.isFill=function(){var t=this.attr(),e=t.fill,n=t.fillStyle;return(e||n||this.isClipShape())&&this.canFill},e.prototype.isStroke=function(){var t=this.attr(),e=t.stroke,n=t.strokeStyle;return(e||n)&&this.canStroke},e.prototype.draw=function(t,e){var n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||a.createDom(this),o.setClip(this,t),this.createPath(t,e),this.shadow(t,e),this.strokeAndFill(t,e),this.transform(e))},e.prototype.createPath=function(t,e){},e.prototype.strokeAndFill=function(t,e){var n=e||this.attr(),r=n.fill,i=n.fillStyle,o=n.stroke,a=n.strokeStyle,s=n.fillOpacity,l=n.strokeOpacity,u=n.lineWidth,g=this.get("el");this.canFill&&(e?"fill"in n?this._setColor(t,"fill",r):"fillStyle"in n&&this._setColor(t,"fill",i):this._setColor(t,"fill",r||i),s&&g.setAttribute(c.SVG_ATTR_MAP.fillOpacity,s)),this.canStroke&&u>0&&(e?"stroke"in n?this._setColor(t,"stroke",o):"strokeStyle"in n&&this._setColor(t,"stroke",a):this._setColor(t,"stroke",o||a),l&&g.setAttribute(c.SVG_ATTR_MAP.strokeOpacity,l),u&&g.setAttribute(c.SVG_ATTR_MAP.lineWidth,u))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(n)if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n))(i=t.find("gradient",n))||(i=t.addGradient(n)),r.setAttribute(c.SVG_ATTR_MAP[e],"url(#"+i+")");else if(/^[p,P]{1}[\s]*\(/.test(n)){var i;(i=t.find("pattern",n))||(i=t.addPattern(n)),r.setAttribute(c.SVG_ATTR_MAP[e],"url(#"+i+")")}else r.setAttribute(c.SVG_ATTR_MAP[e],n);else r.setAttribute(c.SVG_ATTR_MAP[e],"none")},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,a=r.shadowOffsetY,s=r.shadowBlur,c=r.shadowColor;(i||a||s||c)&&o.setShadow(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&o.setTransform(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),i=t+r.left,o=e+r.top,a=document.elementFromPoint(i,o);return!(!a||!a.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(i.AbstractShape);e.default=f},function(t,e,n){"use strict";var r=n(0),i=n(109),o=function(){function t(t){var e=t.xField,n=t.yField,r=t.adjustNames,i=void 0===r?["x","y"]:r;this.adjustNames=i,this.xField=e,this.yField=n}return t.prototype.isAdjust=function(t){return this.adjustNames.indexOf(t)>=0},t.prototype.getAdjustRange=function(t,e,n){var r,i,o=this.yField,a=n.indexOf(e),s=n.length;return!o&&this.isAdjust("y")?(r=0,i=1):s>1?(r=n[0===a?0:a-1],i=n[a===s-1?s-1:a+1],0!==a?r+=(e-r)/2:r-=(i-e)/2,a!==s-1?i-=(i-e)/2:i+=(e-n[s-2])/2):(r=0===e?0:e-.5,i=0===e?1:e+.5),{pre:r,next:i}},t.prototype.adjustData=function(t,e){var n=this,i=this.getDimValues(e);r.each(t,(function(t,e){r.each(i,(function(r,i){n.adjustDim(i,r,t,e)}))}))},t.prototype.groupData=function(t,e){return r.each(t,(function(t){void 0===t[e]&&(t[e]=i.a)})),r.groupBy(t,e)},t.prototype.adjustDim=function(t,e,n,r){},t.prototype.getDimValues=function(t){var e=this.xField,n=this.yField,o={},a=[];return e&&this.isAdjust("x")&&a.push(e),n&&this.isAdjust("y")&&a.push(n),a.forEach((function(e){o[e]=r.valuesOfKey(t,e).sort((function(t,e){return t-e}))})),!n&&this.isAdjust("y")&&(o.y=[i.a,1]),o},t}();e.a=o},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var r=n(1),i=n(0),o=n(173);function a(t,e,n,a){var s=Object(i.reduce)(t,(function(t,r){var i=r[n],a=t.has(i)?t.get(i):0,s=r[e];return a=Object(o.a)(s)?a+s:a,t.set(i,a),t}),new Map);return Object(i.map)(t,(function(t){var i,c=t[e],l=t[n],u=Object(o.a)(c)?c/s.get(l):0;return Object(r.__assign)(Object(r.__assign)({},t),((i={})[a]=u,i))}))}function s(t,e,n,r,i){return i?a(t,e,n,r):t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0);function i(t){return Object(r.map)(t||[],(function(t,e){return{x:""+e,y:t}}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return c}));var r=n(4),i=n.n(r),o=n(269),a=function(t){var e=t.error;return i.a.createElement("div",{className:"bizcharts-error",role:"alert"},i.a.createElement("p",null,"BizCharts something went wrong:"),i.a.createElement("pre",null,e.message))};function s(t){return a(t)}var c=function(t){a=t};e.b=o.ErrorBoundary},function(t,e,n){"use strict";var r=n(69),i=n.n(r),o=n(63),a=n.n(o);e.a=function(t,e){var n={};return i()(t,(function(t,r){var i=!1;e.forEach((function(t){(a()(t)&&t===r||t instanceof RegExp&&r.match(t))&&(i=!0)})),i||(n[r]=t)})),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbar=e.Slider=e.HtmlTooltip=e.ContinuousLegend=e.CategoryLegend=e.CircleGrid=e.LineGrid=e.CircleAxis=e.LineAxis=e.Annotation=e.Crosshair=e.Component=e.GroupComponent=e.HtmlComponent=void 0;var r=n(24);Object.defineProperty(e,"Event",{enumerable:!0,get:function(){return r.Event}}),Object.defineProperty(e,"AbstractGroup",{enumerable:!0,get:function(){return r.AbstractGroup}}),Object.defineProperty(e,"AbstractShape",{enumerable:!0,get:function(){return r.AbstractShape}});var i=n(328);Object.defineProperty(e,"registerAdjust",{enumerable:!0,get:function(){return i.registerAdjust}}),Object.defineProperty(e,"getAdjust",{enumerable:!0,get:function(){return i.getAdjust}}),Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return i.Adjust}});var o=n(262);Object.defineProperty(e,"getAttribute",{enumerable:!0,get:function(){return o.getAttribute}}),Object.defineProperty(e,"Attribute",{enumerable:!0,get:function(){return o.Attribute}});var a=n(262);Object.defineProperty(e,"Color",{enumerable:!0,get:function(){return a.Color}});var s=n(679);Object.defineProperty(e,"getCoordinate",{enumerable:!0,get:function(){return s.getCoordinate}}),Object.defineProperty(e,"registerCoordinate",{enumerable:!0,get:function(){return s.registerCoordinate}}),Object.defineProperty(e,"Coordinate",{enumerable:!0,get:function(){return s.Coordinate}});var c=n(86);Object.defineProperty(e,"getScale",{enumerable:!0,get:function(){return c.getScale}}),Object.defineProperty(e,"registerScale",{enumerable:!0,get:function(){return c.registerScale}}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return c.Scale}});var l=n(176);Object.defineProperty(e,"Annotation",{enumerable:!0,get:function(){return l.Annotation}}),Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return l.Component}}),Object.defineProperty(e,"Crosshair",{enumerable:!0,get:function(){return l.Crosshair}}),Object.defineProperty(e,"GroupComponent",{enumerable:!0,get:function(){return l.GroupComponent}}),Object.defineProperty(e,"HtmlComponent",{enumerable:!0,get:function(){return l.HtmlComponent}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return l.Slider}}),Object.defineProperty(e,"Scrollbar",{enumerable:!0,get:function(){return l.Scrollbar}});var u=l.Axis.Line,g=l.Axis.Circle;e.LineAxis=u,e.CircleAxis=g;var f=l.Grid.Line,d=l.Grid.Circle;e.LineGrid=f,e.CircleGrid=d;var h=l.Legend.Category,p=l.Legend.Continuous;e.CategoryLegend=h,e.ContinuousLegend=p;var A=l.Tooltip.Html;e.HtmlTooltip=A},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(24),o=n(66),a=n(151),s=n(24),c=n(150),l=n(230),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return c},e.prototype.getGroupBase=function(){return l.default},e.prototype.onCanvasChange=function(t){a.refreshElement(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),e=this.getHitLineWidth(),n=s.getBBoxMethod(t)(this),r=e/2,i=n.x-r,o=n.y-r,a=n.x+n.width+r,c=n.y+n.height+r;return{x:i,minX:i,y:o,minY:o,width:n.width+e,height:n.height+e,maxX:a,maxY:c}},e.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs.stroke},e.prototype._applyClip=function(t,e){e&&(t.save(),a.applyAttrsToContext(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.draw=function(t,e){var n=this.cfg.clipShape;if(e){if(!1===this.cfg.refresh)return void this.set("hasChanged",!1);var r=this.getCanvasBBox();if(!o.intersectRect(e,r))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}t.save(),a.applyAttrsToContext(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var e=this.getCanvasBBox(),n=o.intersectRect(e,t);this.set("isInView",n),n?this.set("cacheCanvasBBox",e):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,a=e.fillOpacity;this.isFill()&&(o.isNil(a)||1===a?this.fill(t):(t.globalAlpha=a,this.fill(t),t.globalAlpha=r)),this.isStroke()&&n>0&&(o.isNil(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(i.AbstractShape);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.moveTo=e.sortDom=e.createDom=e.createSVGElement=void 0;var r=n(0),i=n(67);function o(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}e.createSVGElement=o,e.createDom=function(t){var e=i.SHAPE_TO_TAGS[t.type],n=t.getParent();if(!e)throw new Error("the type "+t.type+" is not supported by svg");var r=o(e);if(t.get("id")&&(r.id=t.get("id")),t.set("el",r),t.set("attrs",{}),n){var a=n.get("el");a||(a=n.createDom(),n.set("el",a)),a.appendChild(r)}return r},e.sortDom=function(t,e){var n=t.get("el"),i=r.toArray(n.children).sort(e),o=document.createDocumentFragment();i.forEach((function(t){o.appendChild(t)})),n.appendChild(o)},e.moveTo=function(t,e){var n=t.parentNode,r=Array.from(n.childNodes).filter((function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()})),i=r[e],o=r.indexOf(t);if(i){if(o>e)n.insertBefore(t,i);else if(o<e){var a=r[e+1];a?n.insertBefore(t,a):n.appendChild(t)}}else n.appendChild(t)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return c}));var r=n(5),i=n.n(r),o=n(4),a=n.n(o),s=a.a.createContext(null);function c(t){var e=a.a.forwardRef((function(e,n){return a.a.createElement(s.Consumer,null,(function(r){return a.a.createElement(t,i()({ref:n},r,e))}))}));return e.displayName=t.name,e}s.displayName="RootChartContext",e.a=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(69);e.default=r.default},function(t,e,n){"use strict";n.r(e),n.d(e,"Category",(function(){return u})),n.d(e,"Identity",(function(){return lt})),n.d(e,"Linear",(function(){return Q})),n.d(e,"Log",(function(){return et})),n.d(e,"Pow",(function(){return nt})),n.d(e,"Time",(function(){return rt})),n.d(e,"TimeCat",(function(){return q})),n.d(e,"Quantile",(function(){return ot})),n.d(e,"Quantize",(function(){return it})),n.d(e,"Scale",(function(){return c})),n.d(e,"getScale",(function(){return st})),n.d(e,"registerScale",(function(){return ct})),n.d(e,"getTickMethod",(function(){return a})),n.d(e,"registerTickMethod",(function(){return s}));var r={};n.r(r),n.d(r,"default",(function(){return F})),n.d(r,"assign",(function(){return v})),n.d(r,"format",(function(){return N})),n.d(r,"parse",(function(){return L})),n.d(r,"defaultI18n",(function(){return b})),n.d(r,"setGlobalDateI18n",(function(){return w})),n.d(r,"setGlobalDateMasks",(function(){return D}));var i=n(0),o={};function a(t){return o[t]}function s(t,e){o[t]=e}var c=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){Object(i.assign)(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return Object(i.map)(this.ticks,(function(e,n){return Object(i.isObject)(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}}))},t.prototype.getText=function(t,e){var n=this.formatter,r=n?n(t,e):t;return Object(i.isNil)(r)||!Object(i.isFunction)(r.toString)?"":r.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){Object(i.assign)(this,this.__cfg__),this.setDomain(),Object(i.isEmpty)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(Object(i.isString)(t)){var n=a(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else Object(i.isFunction)(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return Object(i.head)(this.range)},t.prototype.rangeMax=function(){return Object(i.last)(this.range)},t.prototype.calcPercent=function(t,e,n){return Object(i.isNumber)(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),l=n(1),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e.cache=new Map,e}return Object(l.__extends)(e,t),e.prototype.translate=function(t){if(this.cache.has(t))return this.cache.get(t);var e=Object(i.indexOf)(this.values,t);return-1===e&&(e=Object(i.isNumber)(t)?t:NaN),this.cache.set(t,e),e},e.prototype.scale=function(t){var e=this.translate(t),n=this.calcPercent(e,this.min,this.max);return this.calcValue(n,this.rangeMin(),this.rangeMax())},e.prototype.invert=function(t){var e=this.max-this.min,n=this.calcPercent(t,this.rangeMin(),this.rangeMax()),r=Math.round(e*n)+this.min;return r<this.min||r>this.max?NaN:this.values[r]},e.prototype.getText=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=e;return Object(i.isNumber)(e)&&!this.values.includes(e)&&(o=this.values[o]),t.prototype.getText.apply(this,Object(l.__spreadArrays)([o],n))},e.prototype.initCfg=function(){this.tickMethod="cat"},e.prototype.setDomain=function(){if(Object(i.isNil)(this.getConfig("min"))&&(this.min=0),Object(i.isNil)(this.getConfig("max"))){var t=this.values.length;this.max=t>1?t-1:t}this.cache&&this.cache.clear()},e}(c),g=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,f="[1-9]\\d?",d="\\d\\d",h="[^\\s]+",p=/\[([^]*?)\]/gm;function A(t,e){for(var n=[],r=0,i=t.length;r<i;r++)n.push(t[r].substr(0,e));return n}var C=function(t){return function(e,n){var r=n[t].map((function(t){return t.toLowerCase()})).indexOf(e.toLowerCase());return r>-1?r:null}};function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0,i=e;r<i.length;r++){var o=i[r];for(var a in o)t[a]=o[a]}return t}var I=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],y=["January","February","March","April","May","June","July","August","September","October","November","December"],m=A(y,3),b={dayNamesShort:A(I,3),dayNames:I,monthNamesShort:m,monthNames:y,amPm:["am","pm"],DoFn:function(t){return t+["th","st","nd","rd"][t%10>3?0:(t-t%10!==10?1:0)*t%10]}},x=v({},b),w=function(t){return x=v(x,t)},O=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},S=function(t,e){for(void 0===e&&(e=2),t=String(t);t.length<e;)t="0"+t;return t},_={D:function(t){return String(t.getDate())},DD:function(t){return S(t.getDate())},Do:function(t,e){return e.DoFn(t.getDate())},d:function(t){return String(t.getDay())},dd:function(t){return S(t.getDay())},ddd:function(t,e){return e.dayNamesShort[t.getDay()]},dddd:function(t,e){return e.dayNames[t.getDay()]},M:function(t){return String(t.getMonth()+1)},MM:function(t){return S(t.getMonth()+1)},MMM:function(t,e){return e.monthNamesShort[t.getMonth()]},MMMM:function(t,e){return e.monthNames[t.getMonth()]},YY:function(t){return S(String(t.getFullYear()),4).substr(2)},YYYY:function(t){return S(t.getFullYear(),4)},h:function(t){return String(t.getHours()%12||12)},hh:function(t){return S(t.getHours()%12||12)},H:function(t){return String(t.getHours())},HH:function(t){return S(t.getHours())},m:function(t){return String(t.getMinutes())},mm:function(t){return S(t.getMinutes())},s:function(t){return String(t.getSeconds())},ss:function(t){return S(t.getSeconds())},S:function(t){return String(Math.round(t.getMilliseconds()/100))},SS:function(t){return S(Math.round(t.getMilliseconds()/10),2)},SSS:function(t){return S(t.getMilliseconds(),3)},a:function(t,e){return t.getHours()<12?e.amPm[0]:e.amPm[1]},A:function(t,e){return t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+S(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+S(Math.floor(Math.abs(e)/60),2)+":"+S(Math.abs(e)%60,2)}},k=function(t){return+t-1},j=[null,f],E=[null,h],P=["isPm",h,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],M=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],T={D:["day",f],DD:["day",d],Do:["day","[1-9]\\d?[^\\s]+",function(t){return parseInt(t,10)}],M:["month",f,k],MM:["month",d,k],YY:["year",d,function(t){var e=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour",f,void 0,"isPm"],hh:["hour",d,void 0,"isPm"],H:["hour",f],HH:["hour",d],m:["minute",f],mm:["minute",d],s:["second",f],ss:["second",d],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond",d,function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:j,dd:j,ddd:E,dddd:E,MMM:["month",h,C("monthNamesShort")],MMMM:["month",h,C("monthNames")],a:P,A:P,ZZ:M,Z:M},R={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},D=function(t){return v(R,t)},N=function(t,e,n){if(void 0===e&&(e=R.default),void 0===n&&(n={}),"number"===typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");var r=[];e=(e=R[e]||e).replace(p,(function(t,e){return r.push(e),"@@@"}));var i=v(v({},x),n);return(e=e.replace(g,(function(e){return _[e](t,i)}))).replace(/@@@/g,(function(){return r.shift()}))};function L(t,e,n){if(void 0===n&&(n={}),"string"!==typeof e)throw new Error("Invalid format in fecha parse");if(e=R[e]||e,t.length>1e3)return null;var r={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],o=[],a=e.replace(p,(function(t,e){return o.push(O(e)),"@@@"})),s={},c={};a=O(a).replace(g,(function(t){var e=T[t],n=e[0],r=e[1],o=e[3];if(s[n])throw new Error("Invalid format. "+n+" specified twice in format");return s[n]=!0,o&&(c[o]=!0),i.push(e),"("+r+")"})),Object.keys(c).forEach((function(t){if(!s[t])throw new Error("Invalid format. "+t+" is required in specified format")})),a=a.replace(/@@@/g,(function(){return o.shift()}));var l=t.match(new RegExp(a,"i"));if(!l)return null;for(var u=v(v({},x),n),f=1;f<l.length;f++){var d=i[f-1],h=d[0],A=d[2],C=A?A(l[f],u):+l[f];if(null==C)return null;r[h]=C}1===r.isPm&&null!=r.hour&&12!==+r.hour?r.hour=+r.hour+12:0===r.isPm&&12===+r.hour&&(r.hour=0);for(var I=new Date(r.year,r.month,r.day,r.hour,r.minute,r.second,r.millisecond),y=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],m=(f=0,y.length);f<m;f++)if(s[y[f][0]]&&r[y[f][0]]!==I[y[f][1]]())return null;return null==r.timezoneOffset?I:new Date(Date.UTC(r.year,r.month,r.day,r.hour,r.minute-r.timezoneOffset,r.second,r.millisecond))}var F={format:N,parse:L,defaultI18n:b,setGlobalDateI18n:w,setGlobalDateMasks:D};function B(t,e){return(r.format||F.format)(t,e)}function z(t){return Object(i.isString)(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),Object(i.isDate)(t)&&(t=t.getTime()),t}var V=1e3,G=6e4,W=36e5,Y=24*W,H=31*Y,U=365*Y,X=[["HH:mm:ss",V],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",G],["HH:mm",6e5],["HH:mm",18e5],["HH",W],["HH",6*W],["HH",12*W],["YYYY-MM-DD",Y],["YYYY-MM-DD",4*Y],["YYYY-WW",7*Y],["YYYY-MM",H],["YYYY-MM",4*H],["YYYY-MM",6*H],["YYYY",380*Y]];function Z(t,e,n){var r,o=(r=function(t){return t[1]},function(t,e,n,o){for(var a=Object(i.isNil)(n)?0:n,s=Object(i.isNil)(o)?t.length:o;a<s;){var c=a+s>>>1;r(t[c])>e?s=c:a=c+1}return a})(X,(e-t)/n)-1,a=X[o];return o<0?a=X[0]:o>=X.length&&(a=Object(i.last)(X)),a}var q=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return Object(l.__extends)(e,t),e.prototype.translate=function(t){t=z(t);var e=this.values.indexOf(t);return-1===e&&(e=Object(i.isNumber)(t)&&t<this.values.length?t:NaN),e},e.prototype.getText=function(t,e){var n=this.translate(t);if(n>-1){var r=this.values[n],i=this.formatter;return r=i?i(r,e):B(r,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;Object(i.each)(e,(function(t,n){e[n]=z(t)})),e.sort((function(t,e){return t-e})),t.prototype.setDomain.call(this)},e}(u),K=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return Object(l.__extends)(e,t),e.prototype.scale=function(t){if(Object(i.isNil)(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=Object(i.head)(e),r=Object(i.last)(e);n<this.min&&(this.min=n),r>this.max&&(this.max=r),Object(i.isNil)(this.minLimit)||(this.min=n),Object(i.isNil)(this.maxLimit)||(this.max=r)},e.prototype.setDomain=function(){var t=Object(i.getRange)(this.values),e=t.min,n=t.max;Object(i.isNil)(this.min)&&(this.min=e),Object(i.isNil)(this.max)&&(this.max=n),this.min>this.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=Object(i.filter)(n,(function(t){return t>=e.min&&t<=e.max}))),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(c),Q=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return Object(l.__extends)(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(K);function J(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)}function $(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function tt(t,e,n){Object(i.isNil)(n)&&(n=Math.max.apply(null,t));var r=n;return Object(i.each)(t,(function(t){t>0&&t<r&&(r=t)})),r===n&&(r=n/e),r>1&&(r=1),r}var et=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return Object(l.__extends)(e,t),e.prototype.invert=function(t){var e,n=this.base,r=$(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,a=this.positiveMin;if(a){if(0===t)return 0;var s=1/(r-(e=$(n,a/n)))*o;if(t<s)return t/s*a}else e=$(n,this.min);var c=(t-i)/o*(r-e)+e;return Math.pow(n,c)},e.prototype.initCfg=function(){this.tickMethod="log",this.base=10,this.tickCount=6,this.nice=!0},e.prototype.setDomain=function(){t.prototype.setDomain.call(this);var e=this.min;if(e<0)throw new Error("When you use log scale, the minimum value must be greater than zero!");0===e&&(this.positiveMin=tt(this.values,this.base,this.max))},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;if(t<=0)return 0;var r=this.base,i=this.positiveMin;return i&&(n=1*i/r),t<i?t/i/($(r,e)-$(r,n)):($(r,t)-$(r,n))/($(r,e)-$(r,n))},e}(K),nt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pow",e}return Object(l.__extends)(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t),n=this.exponent,r=J(n,this.max),i=J(n,this.min),o=e*(r-i)+i,a=o>=0?1:-1;return Math.pow(o,n)*a},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var r=this.exponent;return(J(r,t)-J(r,n))/(J(r,e)-J(r,n))},e}(K),rt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return Object(l.__extends)(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):B(n,this.mask)},e.prototype.scale=function(e){var n=e;return(Object(i.isString)(n)||Object(i.isDate)(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return z(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(Object(i.isNil)(e)&&Object(i.isNumber)(e)||(this.min=this.translate(this.min)),Object(i.isNil)(n)&&Object(i.isNumber)(n)||(this.max=this.translate(this.max)),t&&t.length){var r=[],o=1/0,a=o,s=0;Object(i.each)(t,(function(t){var e=z(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");o>e?(a=o,o=e):a>e&&(a=e),s<e&&(s=e),r.push(e)})),t.length>1&&(this.minTickInterval=a-o),Object(i.isNil)(e)&&(this.min=o),Object(i.isNil)(n)&&(this.max=s)}},e}(Q),it=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return Object(l.__extends)(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,r=this.getInvertPercent(t),o=Math.floor(r*(n-1));if(o>=n-1)return Object(i.last)(e);if(o<0)return Object(i.head)(e);var a=e[o],s=o/(n-1);return a+(r-s)/((o+1)/(n-1)-s)*(e[o+1]-a)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(Object(i.last)(e)!==this.max&&e.push(this.max),Object(i.head)(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(t<Object(i.head)(e))return 0;if(t>Object(i.last)(e))return 1;var n=0;return Object(i.each)(e,(function(e,r){if(!(t>=e))return!1;n=r})),n/(e.length-1)},e}(K),ot=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return Object(l.__extends)(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(it),at={};function st(t){return at[t]}function ct(t,e){if(st(t))throw new Error("type '"+t+"' existed.");at[t]=e}var lt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return Object(l.__extends)(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&Object(i.isNumber)(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return t<e[0]||t>e[1]?NaN:this.values[0]},e}(c),ut=[1,5,2,2.5,4,3],gt=100*Number.EPSILON;function ft(t,e,n,r,o,a){var s=Object(i.size)(e),c=Object(i.indexOf)(e,t),l=0,u=function(t,e){return(t%e+e)%e}(r,a);return(u<gt||a-u<gt)&&r<=0&&o>=0&&(l=1),1-c/(s-1)-n+l}function dt(t,e,n){var r=Object(i.size)(e);return 1-Object(i.indexOf)(e,t)/(r-1)-n+1}function ht(t,e,n,r,i,o){var a=(t-1)/(o-i),s=(e-1)/(Math.max(o,r)-Math.min(n,i));return 2-Math.max(a/s,s/a)}function pt(t,e){return t>=e?2-(t-1)/(e-1):1}function At(t,e,n,r){var i=e-t;return 1-.5*(Math.pow(e-r,2)+Math.pow(t-n,2))/Math.pow(.1*i,2)}function Ct(t,e,n){var r=e-t;if(n>r){var i=(n-r)/2;return 1-Math.pow(i,2)/Math.pow(.1*r,2)}return 1}function vt(t,e,n,r,o,a){if(void 0===n&&(n=5),void 0===r&&(r=!0),void 0===o&&(o=ut),void 0===a&&(a=[.25,.2,.5,.05]),"number"!==typeof t||"number"!==typeof e)return{min:0,max:0,ticks:[]};if(t===e||1===n)return{min:t,max:e,ticks:[t]};for(var s={score:-2,lmin:0,lmax:0,lstep:0},c=1;c<1/0;){for(var l=0,u=o;l<u.length;l++){var g=u[l],f=dt(g,o,c);if(Number.isNaN(f))throw new Error("NaN");if(a[0]*f+a[1]+a[2]+a[3]<s.score){c=1/0;break}for(var d=2;d<1/0;){var h=pt(d,n);if(a[0]*f+a[1]+a[2]*h+a[3]<s.score)break;for(var p=(e-t)/(d+1)/c/g,A=Math.ceil(Math.log10(p));A<1/0;){var C=c*g*Math.pow(10,A),v=Ct(t,e,C*(d-1));if(a[0]*f+a[1]*v+a[2]*h+a[3]<s.score)break;var I=Math.floor(e/C)*c-(d-1)*c,y=Math.ceil(t/C)*c;if(I>y)A+=1;else{for(var m=I;m<=y;m+=1){var b=m*(C/c),x=b+C*(d-1),w=C,O=ft(g,o,c,b,x,w),S=At(t,e,b,x),_=ht(d,n,t,e,b,x),k=a[0]*O+a[1]*S+a[2]*_+1*a[3];k>s.score&&(!r||b<=t&&x>=e)&&(s.lmin=b,s.lmax=x,s.lstep=w,s.score=k)}A+=1}}d+=1}}c+=1}for(var j=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),E=[],P=s.lmin;P<=s.lmax;P+=s.lstep)E.push(P);var M=j?Object(i.map)(E,(function(t){return Number.parseFloat(t.toFixed(j))})):E;return{min:Math.min(t,Object(i.head)(M)),max:Math.max(e,Object(i.last)(M)),ticks:M}}function It(t){var e=t.values,n=t.tickInterval,r=t.tickCount,o=e;if(Object(i.isNumber)(n))return Object(i.filter)(o,(function(t,e){return e%n===0}));var a=t.min,s=t.max;if(Object(i.isNil)(a)&&(a=0),Object(i.isNil)(s)&&(s=e.length-1),Object(i.isNumber)(r)&&r<s-a){var c=vt(a,s,r,!1,[1,2,5,3,4,7,6,8,9]).ticks;return Object(i.filter)(c,(function(t){return t>=a&&t<=s})).map((function(t){return e[t]}))}return e.slice(a,s+1)}var yt=Math.sqrt(50),mt=Math.sqrt(10),bt=Math.sqrt(2),xt=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=5);var r,i=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],c=this._domain[a];return c<s&&(s=(e=[c,s])[0],c=e[1],o=(n=[a,o])[0],a=n[1]),(r=wt(s,c,t))>0?r=wt(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,t):r<0&&(r=wt(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,t)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(c/r)*r,this.domain(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(c*r)/r,this.domain(i)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=wt(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s<i;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(i=Math.ceil(t-e+1));++s<i;)o[s]=(t-s)/a;return r&&o.reverse(),o}(this._domain[0],this._domain[this._domain.length-1],t||5)},t}();function wt(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=yt?10:o>=mt?5:o>=bt?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=yt?10:o>=mt?5:o>=bt?2:1)}function Ot(t,e,n){return("ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e))*e}function St(t,e,n){var r=Ot(t,n,"floor"),o=Ot(e,n,"ceil");r=Object(i.fixedBase)(r,n),o=Object(i.fixedBase)(o,n);for(var a=[],s=r;s<=o;s+=n){var c=Object(i.fixedBase)(s,n);a.push(c)}return{min:r,max:o,ticks:a}}function _t(t,e,n){var r,o=t.minLimit,a=t.maxLimit,s=t.min,c=t.max,l=t.tickCount,u=void 0===l?5:l,g=Object(i.isNil)(o)?Object(i.isNil)(e)?s:e:o,f=Object(i.isNil)(a)?Object(i.isNil)(n)?c:n:a;if(g>f&&(f=(r=[g,f])[0],g=r[1]),u<=2)return[g,f];for(var d=(f-g)/(u-1),h=[],p=0;p<u;p++)h.push(g+d*p);return h}function kt(t,e,n){void 0===n&&(n=5);var r={max:0,min:0,ticks:[]};if(t===e)return{max:e,min:t,ticks:[t]};var i=(e-t)/n,o=Math.pow(10,Math.floor(Math.log10(i))),a=o<1?Math.ceil(Math.abs(Math.log10(o))):0,s=o;2*o-i<1.5*(i-s)&&5*o-i<2.75*(i-(s=2*o))&&10*o-i<1.5*(i-(s=5*o))&&(s=10*o);var c=Math.ceil(e/s),l=Math.floor(t/s);r.max=Math.max(c*s,e),r.min=Math.min(l*s,t);for(var u=Number.parseFloat((l*s).toFixed(a));u<e;)r.ticks.push(u),u+=s,a&&(u=Number.parseFloat(u.toFixed(a)));return r.ticks.push(u),r}function jt(t,e){var n=t.length*e;return 1===e?t[t.length-1]:0===e?t[0]:n%1!==0?t[Math.ceil(n)-1]:t.length%2===0?(t[n-1]+t[n])/2:t[n]}function Et(t){return new Date(t).getFullYear()}function Pt(t){return new Date(t,0,1).getTime()}function Mt(t){return new Date(t).getMonth()}function Tt(t,e){return new Date(t,e,1).getTime()}s("cat",It),s("time-cat",(function(t){var e=It(t),n=Object(i.last)(t.values);return n!==Object(i.last)(e)&&e.push(n),e})),s("wilkinson-extended",(function(t){var e=t.min,n=t.max,r=t.tickCount,o=t.nice,a=t.tickInterval,s=t.minLimit,c=t.maxLimit,l=vt(e,n,r,o).ticks;return Object(i.isNil)(s)&&Object(i.isNil)(c)?a?St(e,n,a).ticks:l:_t(t,Object(i.head)(l),Object(i.last)(l))})),s("r-pretty",(function(t){var e=t.min,n=t.max,r=t.tickCount,o=t.tickInterval,a=t.minLimit,s=t.maxLimit,c=kt(e,n,r).ticks;return Object(i.isNil)(a)&&Object(i.isNil)(s)?o?St(e,n,o).ticks:c:_t(t,Object(i.head)(c),Object(i.last)(c))})),s("time",(function(t){var e=t.min,n=t.max,r=t.minTickInterval,i=t.tickInterval,o=t.tickCount;if(i)o=Math.ceil((n-e)/i);else{var a=(n-e)/(i=Z(e,n,o)[1])/o;a>1&&(i*=Math.ceil(a)),r&&i<r&&(i=r)}for(var s=[],c=e;c<n+i;c+=i)s.push(c);return s})),s("time-pretty",(function(t){var e=t.min,n=t.max,r=t.minTickInterval,i=t.tickCount,o=t.tickInterval,a=[];o||(o=(n-e)/i,r&&o<r&&(o=r));var s=Et(e);if(o>U)for(var c=Et(n),l=Math.ceil(o/U),u=s;u<=c+l;u+=l)a.push(Pt(u));else if(o>H){var g=Math.ceil(o/H),f=Mt(e),d=function(t,e){var n=Et(t),r=Et(e),i=Mt(t);return 12*(r-n)+(Mt(e)-i)%12}(e,n);for(u=0;u<=d+g;u+=g)a.push(Tt(s,u+f))}else if(o>Y){var h=(I=new Date(e)).getFullYear(),p=I.getMonth(),A=I.getDate(),C=Math.ceil(o/Y),v=function(t,e){return Math.ceil((e-t)/Y)}(e,n);for(u=0;u<v+C;u+=C)a.push(new Date(h,p,A+u).getTime())}else if(o>W){h=(I=new Date(e)).getFullYear(),p=I.getMonth(),C=I.getDate();var I,y=I.getHours(),m=Math.ceil(o/W),b=function(t,e){return Math.ceil((e-t)/W)}(e,n);for(u=0;u<=b+m;u+=m)a.push(new Date(h,p,C,y+u).getTime())}else if(o>G){var x=function(t,e){return Math.ceil((e-t)/6e4)}(e,n),w=Math.ceil(o/G);for(u=0;u<=x+w;u+=w)a.push(e+u*G)}else{var O=o;O<V&&(O=V);var S=Math.floor(e/V)*V,_=Math.ceil((n-e)/V),k=Math.ceil(O/V);for(u=0;u<_+k;u+=k)a.push(S+u*V)}return a.length>=512&&console.warn("Notice: current ticks length("+a.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+o+") is too small, increase the value to solve the problem!"),a})),s("log",(function(t){var e,n=t.base,r=t.tickCount,i=t.min,o=t.max,a=t.values,s=$(n,o);if(i>0)e=Math.floor($(n,i));else{var c=tt(a,n,o);e=Math.floor($(n,c))}for(var l=s-e,u=Math.ceil(l/r),g=[],f=e;f<s+u;f+=u)g.push(Math.pow(n,f));return i<=0&&g.unshift(0),g})),s("pow",(function(t){var e=t.exponent,n=t.tickCount,r=Math.ceil(J(e,t.max));return kt(Math.floor(J(e,t.min)),r,n).ticks.map((function(t){var n=t>=0?1:-1;return Math.pow(t,e)*n}))})),s("quantile",(function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var r=n.slice().sort((function(t,e){return t-e})),i=[],o=0;o<e;o++){var a=o/(e-1);i.push(jt(r,a))}return i})),s("d3-linear",(function(t){var e=t.min,n=t.max,r=t.tickInterval,o=t.minLimit,a=t.maxLimit,s=function(t){var e=t.min,n=t.max,r=t.nice,i=t.tickCount,o=new xt;return o.domain([e,n]),r&&o.nice(i),o.ticks(i)}(t);return Object(i.isNil)(o)&&Object(i.isNil)(a)?r?St(e,n,r).ticks:s:_t(t,Object(i.head)(s),Object(i.last)(s))})),ct("cat",u),ct("category",u),ct("identity",lt),ct("linear",Q),ct("log",et),ct("pow",nt),ct("time",rt),ct("timeCat",q),ct("quantize",it),ct("quantile",ot)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uniq=e.omit=e.padEnd=e.isBetween=void 0;var r=n(0);e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i},e.padEnd=function(t,e,n){if(r.isString(t))return t.padEnd(e,n);if(r.isArray(t)){var i=t.length;if(i<e)for(var o=e-i,a=0;a<o;a++)t.push(n)}return t},e.omit=function(t,e){return e.forEach((function(e){delete t[e]})),t},e.uniq=function(t,e,n){void 0===e&&(e=[]),void 0===n&&(n={});for(var r=0,i=t;r<i.length;r++){var o=i[r];n[o]||(e.push(o),n[o]=!0)}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toPoints=e.getRegionBBox=e.BBox=void 0;var r=n(0),i=n(27),o=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=t,this.y=e,this.height=r,this.width=n}return t.fromRange=function(e,n,r,i){return new t(e,n,r-e,i-n)},t.fromObject=function(e){return new t(e.minX,e.minY,e.width,e.height)},Object.defineProperty(t.prototype,"minX",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxX",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minY",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxY",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tl",{get:function(){return{x:this.x,y:this.y}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tr",{get:function(){return{x:this.maxX,y:this.y}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bl",{get:function(){return{x:this.x,y:this.maxY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"br",{get:function(){return{x:this.maxX,y:this.maxY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return{x:this.x+this.width/2,y:this.minY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return{x:this.maxX,y:this.y+this.height/2}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return{x:this.x+this.width/2,y:this.maxY}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return{x:this.minX,y:this.y+this.height/2}},enumerable:!1,configurable:!0}),t.prototype.isEqual=function(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height},t.prototype.contains=function(t){return t.minX>=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.add=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.clone();return r.each(t,(function(t){n.x=Math.min(t.x,n.x),n.y=Math.min(t.y,n.y),n.width=Math.max(t.maxX,n.maxX)-n.x,n.height=Math.max(t.maxY,n.maxY)-n.y})),n},t.prototype.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.clone();return r.each(t,(function(t){n.x=Math.max(t.x,n.x),n.y=Math.max(t.y,n.y),n.width=Math.min(t.maxX,n.maxX)-n.x,n.height=Math.min(t.maxY,n.maxY)-n.y})),n},t.prototype.cut=function(e,n){var r=e.width,o=e.height;switch(n){case i.DIRECTION.TOP:case i.DIRECTION.TOP_LEFT:case i.DIRECTION.TOP_RIGHT:return t.fromRange(this.minX,this.minY+o,this.maxX,this.maxY);case i.DIRECTION.RIGHT:case i.DIRECTION.RIGHT_TOP:case i.DIRECTION.RIGHT_BOTTOM:return t.fromRange(this.minX,this.minY,this.maxX-r,this.maxY);case i.DIRECTION.BOTTOM:case i.DIRECTION.BOTTOM_LEFT:case i.DIRECTION.BOTTOM_RIGHT:return t.fromRange(this.minX,this.minY,this.maxX,this.maxY-o);case i.DIRECTION.LEFT:case i.DIRECTION.LEFT_TOP:case i.DIRECTION.LEFT_BOTTOM:return t.fromRange(this.minX+r,this.minY,this.maxX,this.maxY);default:return this}},t.prototype.shrink=function(e){var n=e[0],r=e[1],i=e[2],o=e[3];return new t(this.x+o,this.y+n,this.width-o-r,this.height-n-i)},t.prototype.expand=function(e){var n=e[0],r=e[1],i=e[2],o=e[3];return new t(this.x-o,this.y-n,this.width+o+r,this.height+n+i)},t.prototype.exceed=function(t){return[Math.max(-this.minY+t.minY,0),Math.max(this.maxX-t.maxX,0),Math.max(this.maxY-t.maxY,0),Math.max(-this.minX+t.minX,0)]},t.prototype.collide=function(t){return this.minX<t.maxX&&this.maxX>t.minX&&this.minY<t.maxY&&this.maxY>t.minY},t.prototype.size=function(){return this.width*this.height},t.prototype.isPointIn=function(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY},t}();e.BBox=o,e.getRegionBBox=function(t,e){var n=e.start,r=e.end;return new o(t.x+t.width*n.x,t.y+t.height*n.y,t.width*Math.abs(r.x-n.x),t.height*Math.abs(r.y-n.y))},e.toPoints=function(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}},function(t,e,n){"use strict";var r=n(108),i=n.n(r),o=n(32),a=n.n(o),s=n(85),c=n.n(s);e.a=function(t){var e=[];return function t(n){if(e.push(n),e.includes(n))return n;if("object"!==i()(n)||null===n)return n;var r;if(a()(n)){r=[];for(var o=0,s=n.length;o<s;o++)"object"===i()(n[o])&&null!=n[o]?r[o]=t(n[o]):r[o]=n[o]}else r={},c()(n,(function(e,n){"object"===i()(e)&&null!=e?r[n]=t(e):r[n]=e}));return r}(t)}},function(t,e,n){"use strict";var r=n(108),i=n.n(r),o=n(69),a=n.n(o),s=n(32),c=n.n(s),l=n(73),u=n.n(l);function g(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function f(t){return c()(t)?t.length:u()(t)?Object.keys(t).length:0}e.a=function(t,e){if(g(t,e))return!0;if("object"!==i()(t)||null===t||"object"!==i()(e)||null===e)return!1;if(c()(t)!==c()(e))return!1;if(f(t)!==f(e))return!1;var n=!0;return a()(t,(function(t,r){return!!g(t,e[r])||(n=!1)})),n}},function(t,e,n){"use strict";e.a=function(t,e,n,r,i){for(var o,a=t.children,s=-1,c=a.length,l=t.value&&(r-e)/t.value;++s<c;)(o=a[s]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*l}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Bar=void 0;var r=n(1),i=n(44),o=n(20),a=n(159),s=n(645),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.xField,r=e.yField,i=e.isPercent;this.chart.changeData(a.getDataWhetherPecentage(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(i.Plot);e.Bar=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Column=void 0;var r=n(1),i=n(44),o=n(20),a=n(159),s=n(392),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent;this.chart.changeData(a.getDataWhetherPecentage(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(i.Plot);e.Column=c},function(t,e,n){"use strict";n.r(e),n.d(e,"catmullRomToBezier",(function(){return c})),n.d(e,"fillPath",(function(){return E})),n.d(e,"fillPathByDiff",(function(){return T})),n.d(e,"formatPath",(function(){return N})),n.d(e,"intersection",(function(){return _})),n.d(e,"parsePathArray",(function(){return A})),n.d(e,"parsePathString",(function(){return s})),n.d(e,"pathToAbsolute",(function(){return u})),n.d(e,"pathToCurve",(function(){return h})),n.d(e,"rectPath",(function(){return b}));var r=n(0),i="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",o=new RegExp("([a-z])["+i+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+i+"]*,?["+i+"]*)+)","ig"),a=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+i+"]*,?["+i+"]*","ig"),s=function(t){if(!t)return null;if(Object(r.isArray)(t))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(o,(function(r,i,o){var s=[],c=i.toLowerCase();if(o.replace(a,(function(t,e){e&&s.push(+e)})),"m"===c&&s.length>2&&(n.push([i].concat(s.splice(0,2))),c="l",i="m"===i?"l":"L"),"o"===c&&1===s.length&&n.push([i,s[0]]),"r"===c)n.push([i].concat(s));else for(;s.length>=e[c]&&(n.push([i].concat(s.splice(0,e[c]))),e[c]););return t})),n},c=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},l=function(t,e,n,r,i){var o=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var a=Math.PI/180,s=t+n*Math.cos(-r*a),c=t+n*Math.cos(-i*a);o=[["M",s,e+n*Math.sin(-r*a)],["A",n,n,0,+(i-r>180),0,c,e+n*Math.sin(-i*a)]]}else o=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return o},u=function(t){if(!(t=s(t))||!t.length)return[["M",0,0]];var e,n,r=[],i=0,o=0,a=0,u=0,g=0;"M"===t[0][0]&&(a=i=+t[0][1],u=o=+t[0][2],g++,r[0]=["M",i,o]);for(var f=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),d=void 0,h=void 0,p=g,A=t.length;p<A;p++){if(r.push(d=[]),(e=(h=t[p])[0])!==e.toUpperCase())switch(d[0]=e.toUpperCase(),d[0]){case"A":d[1]=h[1],d[2]=h[2],d[3]=h[3],d[4]=h[4],d[5]=h[5],d[6]=+h[6]+i,d[7]=+h[7]+o;break;case"V":d[1]=+h[1]+o;break;case"H":d[1]=+h[1]+i;break;case"R":for(var C=2,v=(n=[i,o].concat(h.slice(1))).length;C<v;C++)n[C]=+n[C]+i,n[++C]=+n[C]+o;r.pop(),r=r.concat(c(n,f));break;case"O":r.pop(),(n=l(i,o,h[1],h[2])).push(n[0]),r=r.concat(n);break;case"U":r.pop(),r=r.concat(l(i,o,h[1],h[2],h[3])),d=["U"].concat(r[r.length-1].slice(-2));break;case"M":a=+h[1]+i,u=+h[2]+o;break;default:for(C=1,v=h.length;C<v;C++)d[C]=+h[C]+(C%2?i:o)}else if("R"===e)n=[i,o].concat(h.slice(1)),r.pop(),r=r.concat(c(n,f)),d=["R"].concat(h.slice(-2));else if("O"===e)r.pop(),(n=l(i,o,h[1],h[2])).push(n[0]),r=r.concat(n);else if("U"===e)r.pop(),r=r.concat(l(i,o,h[1],h[2],h[3])),d=["U"].concat(r[r.length-1].slice(-2));else for(var I=0,y=h.length;I<y;I++)d[I]=h[I];if("O"!==(e=e.toUpperCase()))switch(d[0]){case"Z":i=+a,o=+u;break;case"H":i=d[1];break;case"V":o=d[1];break;case"M":a=d[d.length-2],u=d[d.length-1];break;default:i=d[d.length-2],o=d[d.length-1]}}return r},g=function(t,e,n,r){return[t,e,n,r,n,r]},f=function(t,e,n,r,i,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*r,a*i+s*n,a*o+s*r,i,o]},d=function t(e,n,r,i,o,a,s,c,l,u){r===i&&(r+=1);var g,f,d,h,p,A=120*Math.PI/180,C=Math.PI/180*(+o||0),v=[],I=function(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}};if(u)f=u[0],d=u[1],h=u[2],p=u[3];else{e=(g=I(e,n,-C)).x,n=g.y,c=(g=I(c,l,-C)).x,l=g.y,e===c&&n===l&&(c+=1,l+=1);var y=(e-c)/2,m=(n-l)/2,b=y*y/(r*r)+m*m/(i*i);b>1&&(r*=b=Math.sqrt(b),i*=b);var x=r*r,w=i*i,O=(a===s?-1:1)*Math.sqrt(Math.abs((x*w-x*m*m-w*y*y)/(x*m*m+w*y*y)));h=O*r*m/i+(e+c)/2,p=O*-i*y/r+(n+l)/2,f=Math.asin(((n-p)/i).toFixed(9)),d=Math.asin(((l-p)/i).toFixed(9)),f=e<h?Math.PI-f:f,d=c<h?Math.PI-d:d,f<0&&(f=2*Math.PI+f),d<0&&(d=2*Math.PI+d),s&&f>d&&(f-=2*Math.PI),!s&&d>f&&(d-=2*Math.PI)}var S=d-f;if(Math.abs(S)>A){var _=d,k=c,j=l;d=f+A*(s&&d>f?1:-1),v=t(c=h+r*Math.cos(d),l=p+i*Math.sin(d),r,i,o,0,s,k,j,[d,_,h,p])}S=d-f;var E=Math.cos(f),P=Math.sin(f),M=Math.cos(d),T=Math.sin(d),R=Math.tan(S/4),D=4/3*r*R,N=4/3*i*R,L=[e,n],F=[e+D*P,n-N*E],B=[c+D*T,l-N*M],z=[c,l];if(F[0]=2*L[0]-F[0],F[1]=2*L[1]-F[1],u)return[F,B,z].concat(v);for(var V=[],G=0,W=(v=[F,B,z].concat(v).join().split(",")).length;G<W;G++)V[G]=G%2?I(v[G-1],v[G],C).y:I(v[G],v[G+1],C).x;return V},h=function(t,e){var n,r=u(t),i=e&&u(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=[],c=[],l="",h="",p=function(t,e,n){var r,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(d.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"===n||"S"===n?(r=2*e.x-e.bx,i=2*e.y-e.by):(r=e.x,i=e.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"===n||"T"===n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(f(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(f(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(g(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(g(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(g(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(g(e.x,e.y,e.X,e.Y))}return t},A=function(t,e){if(t[e].length>7){t[e].shift();for(var o=t[e];o.length;)s[e]="A",i&&(c[e]="A"),t.splice(e++,0,["C"].concat(o.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},C=function(t,e,o,a,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=t[s][1],o.y=t[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var v=0;v<n;v++){r[v]&&(l=r[v][0]),"C"!==l&&(s[v]=l,v&&(h=s[v-1])),r[v]=p(r[v],o,h),"A"!==s[v]&&"C"===l&&(s[v]="C"),A(r,v),i&&(i[v]&&(l=i[v][0]),"C"!==l&&(c[v]=l,v&&(h=c[v-1])),i[v]=p(i[v],a,h),"A"!==c[v]&&"C"===l&&(c[v]="C"),A(i,v)),C(r,i,o,a,v),C(i,r,a,o,v);var I=r[v],y=i&&i[v],m=I.length,b=i&&y.length;o.x=I[m-2],o.y=I[m-1],o.bx=parseFloat(I[m-4])||o.x,o.by=parseFloat(I[m-3])||o.y,a.bx=i&&(parseFloat(y[b-4])||a.x),a.by=i&&(parseFloat(y[b-3])||a.y),a.x=i&&y[b-2],a.y=i&&y[b-1]}return i?[r,i]:r},p=/,?([a-z]),?/gi,A=function(t){return t.join(",").replace(p,"$1")},C=function(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n},v=function(t,e,n,r,i,o,a,s,c){null===c&&(c=1);for(var l=(c=c>1?1:c<0?0:c)/2,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],g=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],f=0,d=0;d<12;d++){var h=l*u[d]+l,p=C(h,t,n,i,a),A=C(h,e,r,o,s),v=p*p+A*A;f+=g[d]*Math.sqrt(v)}return l*f},I=function(t,e,n,r,i,o,a,s){for(var c,l,u,g,f=[],d=[[],[]],h=0;h<2;++h)if(0===h?(l=6*t-12*n+6*i,c=-3*t+9*n-9*i+3*a,u=3*n-3*t):(l=6*e-12*r+6*o,c=-3*e+9*r-9*o+3*s,u=3*r-3*e),Math.abs(c)<1e-12){if(Math.abs(l)<1e-12)continue;(g=-u/l)>0&&g<1&&f.push(g)}else{var p=l*l-4*u*c,A=Math.sqrt(p);if(!(p<0)){var C=(-l+A)/(2*c);C>0&&C<1&&f.push(C);var v=(-l-A)/(2*c);v>0&&v<1&&f.push(v)}}for(var I,y=f.length,m=y;y--;)I=1-(g=f[y]),d[0][y]=I*I*I*t+3*I*I*g*n+3*I*g*g*i+g*g*g*a,d[1][y]=I*I*I*e+3*I*I*g*r+3*I*g*g*o+g*g*g*s;return d[0][m]=t,d[1][m]=e,d[0][m+1]=a,d[1][m+1]=s,d[0].length=d[1].length=m+2,{min:{x:Math.min.apply(0,d[0]),y:Math.min.apply(0,d[1])},max:{x:Math.max.apply(0,d[0]),y:Math.max.apply(0,d[1])}}},y=function(t,e,n,r,i,o,a,s){if(!(Math.max(t,n)<Math.min(i,a)||Math.min(t,n)>Math.max(i,a)||Math.max(e,r)<Math.min(o,s)||Math.min(e,r)>Math.max(o,s))){var c=(t-n)*(o-s)-(e-r)*(i-a);if(c){var l=((t*r-e*n)*(i-a)-(t-n)*(i*s-o*a))/c,u=((t*r-e*n)*(o-s)-(e-r)*(i*s-o*a))/c,g=+l.toFixed(2),f=+u.toFixed(2);if(!(g<+Math.min(t,n).toFixed(2)||g>+Math.max(t,n).toFixed(2)||g<+Math.min(i,a).toFixed(2)||g>+Math.max(i,a).toFixed(2)||f<+Math.min(e,r).toFixed(2)||f>+Math.max(e,r).toFixed(2)||f<+Math.min(o,s).toFixed(2)||f>+Math.max(o,s).toFixed(2)))return{x:l,y:u}}}},m=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},b=function(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.parsePathArray=A,o},x=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:b(t,e,n,r),vb:[t,e,n,r].join(" ")}},w=function(t,e,n,i,o,a,s,c){Object(r.isArray)(t)||(t=[t,e,n,i,o,a,s,c]);var l=I.apply(null,t);return x(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},O=function(t,e,n,r,i,o,a,s,c){var l=1-c,u=Math.pow(l,3),g=Math.pow(l,2),f=c*c,d=f*c,h=t+2*c*(n-t)+f*(i-2*n+t),p=e+2*c*(r-e)+f*(o-2*r+e),A=n+2*c*(i-n)+f*(a-2*i+n),C=r+2*c*(o-r)+f*(s-2*o+r);return{x:u*t+3*g*c*n+3*l*c*c*i+d*a,y:u*e+3*g*c*r+3*l*c*c*o+d*s,m:{x:h,y:p},n:{x:A,y:C},start:{x:l*t+c*n,y:l*e+c*r},end:{x:l*i+c*a,y:l*o+c*s},alpha:90-180*Math.atan2(h-A,p-C)/Math.PI}},S=function(t,e,n){if(!function(t,e){return t=x(t),e=x(e),m(e,t.x,t.y)||m(e,t.x2,t.y)||m(e,t.x,t.y2)||m(e,t.x2,t.y2)||m(t,e.x,e.y)||m(t,e.x2,e.y)||m(t,e.x,e.y2)||m(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}(w(t),w(e)))return n?0:[];for(var r=~~(v.apply(0,t)/8),i=~~(v.apply(0,e)/8),o=[],a=[],s={},c=n?0:[],l=0;l<r+1;l++){var u=O.apply(0,t.concat(l/r));o.push({x:u.x,y:u.y,t:l/r})}for(l=0;l<i+1;l++)u=O.apply(0,e.concat(l/i)),a.push({x:u.x,y:u.y,t:l/i});for(l=0;l<r;l++)for(var g=0;g<i;g++){var f=o[l],d=o[l+1],h=a[g],p=a[g+1],A=Math.abs(d.x-f.x)<.001?"y":"x",C=Math.abs(p.x-h.x)<.001?"y":"x",I=y(f.x,f.y,d.x,d.y,h.x,h.y,p.x,p.y);if(I){if(s[I.x.toFixed(4)]===I.y.toFixed(4))continue;s[I.x.toFixed(4)]=I.y.toFixed(4);var b=f.t+Math.abs((I[A]-f[A])/(d[A]-f[A]))*(d.t-f.t),S=h.t+Math.abs((I[C]-h[C])/(p[C]-h[C]))*(p.t-h.t);b>=0&&b<=1&&S>=0&&S<=1&&(n?c+=1:c.push({x:I.x,y:I.y,t1:b,t2:S}))}}return c},_=function(t,e){return function(t,e,n){var r,i,o,a,s,c,l,u,g,f;t=h(t),e=h(e);for(var d=n?0:[],p=0,A=t.length;p<A;p++){var C=t[p];if("M"===C[0])r=s=C[1],i=c=C[2];else{"C"===C[0]?(g=[r,i].concat(C.slice(1)),r=g[6],i=g[7]):(g=[r,i,r,i,s,c,s,c],r=s,i=c);for(var v=0,I=e.length;v<I;v++){var y=e[v];if("M"===y[0])o=l=y[1],a=u=y[2];else{"C"===y[0]?(f=[o,a].concat(y.slice(1)),o=f[6],a=f[7]):(f=[o,a,o,a,l,u,l,u],o=l,a=u);var m=S(g,f,n);if(n)d+=m;else{for(var b=0,x=m.length;b<x;b++)m[b].segment1=p,m[b].segment2=v,m[b].bez1=g,m[b].bez2=f;d=d.concat(m)}}}}}return d}(t,e)};function k(t,e){var n=[],r=[];return t.length&&function t(e,i){if(1===e.length)n.push(e[0]),r.push(e[0]);else{for(var o=[],a=0;a<e.length-1;a++)0===a&&n.push(e[0]),a===e.length-2&&r.push(e[a+1]),o[a]=[(1-i)*e[a][0]+i*e[a+1][0],(1-i)*e[a][1]+i*e[a+1][1]];t(o,i)}}(t,e),{left:n,right:r.reverse()}}var j=function(t,e,n){if(1===n)return[[].concat(t)];var r=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])r=r.concat(function(t,e,n){var r=[[t[1],t[2]]];n=n||2;var i=[];"A"===e[0]?(r.push(e[6]),r.push(e[7])):"C"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]]),r.push([e[5],e[6]])):"S"===e[0]||"Q"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]])):r.push([e[1],e[2]]);for(var o=r,a=1/n,s=0;s<n-1;s++){var c=k(o,a/(1-a*s));i.push(c.left),o=c.right}return i.push(o),i.map((function(t){var e=[];return 4===t.length&&(e.push("C"),e=e.concat(t[2])),t.length>=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e.concat(t[t.length-1])}))}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r},E=function(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,o=[];if(1===t.length&&"M"===t[0][0]){for(var a=0;a<r-n;a++)t.push(t[0]);return t}for(a=0;a<r;a++){var s=Math.floor(i*a);o[s]=(o[s]||0)+1}var c=o.reduce((function(e,r,i){return i===n?e.concat(t[n]):e.concat(j(t[i],t[i+1],r))}),[]);return c.unshift(t[0]),"Z"!==e[r]&&"z"!==e[r]||c.push("Z"),c},P=function(t,e){if(t.length!==e.length)return!1;var n=!0;return Object(r.each)(t,(function(t,r){if(t!==e[r])return n=!1,!1})),n};function M(t,e,n){var r=null,i=n;return e<i&&(i=e,r="add"),t<i&&(i=t,r="del"),{type:r,min:i}}var T=function(t,e){var n=function(t,e){var n,r,i=t.length,o=e.length,a=0;if(0===i||0===o)return null;for(var s=[],c=0;c<=i;c++)s[c]=[],s[c][0]={min:c};for(var l=0;l<=o;l++)s[0][l]={min:l};for(c=1;c<=i;c++)for(n=t[c-1],l=1;l<=o;l++){r=e[l-1],a=P(n,r)?0:1;var u=s[c-1][l].min+1,g=s[c][l-1].min+1,f=s[c-1][l-1].min+a;s[c][l]=M(u,g,f)}return s}(t,e),r=t.length,i=e.length,o=[],a=1,s=1;if(n[r][i].min!==r){for(var c=1;c<=r;c++){var l=n[c][c].min;s=c;for(var u=a;u<=i;u++)n[c][u].min<l&&(l=n[c][u].min,s=u);a=s,n[c][a].type&&o.push({index:c-1,type:n[c][a].type})}for(c=o.length-1;c>=0;c--)a=o[c].index,"add"===o[c].type?t.splice(a,0,[].concat(t[a])):t.splice(a,1)}var g=i-(r=t.length);if(r<i)for(c=0;c<g;c++)"z"===t[r-1][0]||"Z"===t[r-1][0]?t.splice(r-2,0,t[r-2]):t.push(t[r-1]),r+=1;return t};function R(t,e,n){for(var r,i=[].concat(t),o=1/(n+1),a=D(e)[0],s=1;s<=n;s++)o*=s,0===(r=Math.floor(t.length*o))?i.unshift([a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]):i.splice(r,0,[a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]);return i}function D(t){var e=[];switch(t[0]){case"M":case"L":e.push([t[1],t[2]]);break;case"A":e.push([t[6],t[7]]);break;case"Q":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"T":e.push([t[1],t[2]]);break;case"C":e.push([t[5],t[6]]),e.push([t[1],t[2]]),e.push([t[3],t[4]]);break;case"S":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"H":case"V":e.push([t[1],t[1]])}return e}var N=function(t,e){if(t.length<=1)return t;for(var n,r=0;r<e.length;r++)if(t[r][0]!==e[r][0])switch(n=D(t[r]),e[r][0]){case"M":t[r]=["M"].concat(n[0]);break;case"L":t[r]=["L"].concat(n[0]);break;case"A":t[r]=[].concat(e[r]),t[r][6]=n[0][0],t[r][7]=n[0][1];break;case"Q":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=R(n,t[r-1],1)}t[r]=["Q"].concat(n.reduce((function(t,e){return t.concat(e)}),[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(r>0)){t[r]=e[r];break}n=R(n,t[r-1],2)}t[r]=["C"].concat(n.reduce((function(t,e){return t.concat(e)}),[]));break;case"S":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=R(n,t[r-1],1)}t[r]=["S"].concat(n.reduce((function(t,e){return t.concat(e)}),[]));break;default:t[r]=e[r]}return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipMapping=void 0;var r=n(0);e.getTooltipMapping=function(t,e){if(!1===t)return{fields:!1};var n=r.get(t,"fields"),i=r.get(t,"formatter");return i&&!n&&(n=e),{fields:n,formatter:i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.geometry=e.getMappingFunction=e.getMappingField=void 0;var r=n(1),i=n(0),o=n(20);function a(t,e){var n=t.xField,o=t.yField,a=t.colorField,s=t.shapeField,c=t.sizeField,l=t.styleField,u=t.rawFields,g=void 0===u?[]:u,f=[];if("color"===e)f=r.__spreadArrays([a||n],g);else if("shape"===e)f=r.__spreadArrays([s||n],g);else if("size"===e)f=r.__spreadArrays([c||n],g);else{f=r.__spreadArrays([n,o,a,s,c,l],g);var d=["x","y","color","shape","size","style"].indexOf(e),h=f[d];f.splice(d,1),f.unshift(h)}return i.uniq(f.filter((function(t){return!!t})))}function s(t,e){if(e)return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};return t.forEach((function(t,e){i[t]=n[e]})),delete i[void 0],e(i)}}e.getMappingField=a,e.getMappingFunction=s,e.geometry=function(t){var e=t.chart,n=t.options,c=n.type,l=n.args,u=n.mapping,g=n.xField,f=n.yField,d=n.colorField,h=n.shapeField,p=n.sizeField,A=n.tooltipFields,C=n.label,v=n.state;if(!u)return t;var I=u.color,y=u.shape,m=u.size,b=u.style,x=u.tooltip,w=e[c](l).position(g+"*"+f);if(i.isString(I))d?w.color(d,I):w.color(I);else if(i.isFunction(I)){var O=a(n,"color");w.color(O.join("*"),s(O,I))}else d&&w.color(d,I);if(i.isString(y)?h?w.shape(h,[y]):w.shape(y):i.isFunction(y)?(O=a(n,"shape"),w.shape(O.join("*"),s(O,y))):h&&w.shape(h,y),i.isNumber(m)?p?w.size(p,m):w.size(m):i.isFunction(m)?(O=a(n,"size"),w.size(O.join("*"),s(O,m))):p&&w.size(p,m),i.isFunction(b)?(O=a(n,"style"),w.style(O.join("*"),s(O,b))):i.isObject(b)&&w.style(b),!1===A?w.tooltip(!1):i.isEmpty(A)||w.tooltip(A.join("*"),s(A,x)),!1===C)w.label(!1);else if(C){var S=C.callback,_=C.fields,k=r.__rest(C,["callback","fields"]);w.label({fields:_||[f],callback:S,cfg:o.transformLabel(k)})}return v&&w.state(v),[g,f].filter((function(t){return t!==d})).forEach((function(t){e.legend(t,!1)})),r.__assign(r.__assign({},t),{ext:{geometry:w}})}},function(t,e,n){"use strict";n.r(e),n.d(e,"Base",(function(){return l})),n.d(e,"Circle",(function(){return u})),n.d(e,"Ellipse",(function(){return f})),n.d(e,"Image",(function(){return h})),n.d(e,"Line",(function(){return v})),n.d(e,"Marker",(function(){return b})),n.d(e,"Path",(function(){return T})),n.d(e,"Polygon",(function(){return D})),n.d(e,"Polyline",(function(){return N})),n.d(e,"Rect",(function(){return F})),n.d(e,"Text",(function(){return B}));var r={};n.r(r),n.d(r,"Base",(function(){return l})),n.d(r,"Circle",(function(){return u})),n.d(r,"Ellipse",(function(){return f})),n.d(r,"Image",(function(){return h})),n.d(r,"Line",(function(){return v})),n.d(r,"Marker",(function(){return b})),n.d(r,"Path",(function(){return T})),n.d(r,"Polygon",(function(){return D})),n.d(r,"Polyline",(function(){return N})),n.d(r,"Rect",(function(){return F})),n.d(r,"Text",(function(){return B}));var i=n(1),o=n(24),a=n(23),s=n(45),c=n(131),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return r},e.prototype.getGroupBase=function(){return c.a},e.prototype.onCanvasChange=function(t){Object(s.h)(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),e=this.getHitLineWidth(),n=Object(o.getBBoxMethod)(t)(this),r=e/2,i=n.x-r,a=n.y-r,s=n.x+n.width+r,c=n.y+n.height+r;return{x:i,minX:i,y:a,minY:a,width:n.width+e,height:n.height+e,maxX:s,maxY:c}},e.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs.stroke},e.prototype._applyClip=function(t,e){e&&(t.save(),Object(s.a)(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.draw=function(t,e){var n=this.cfg.clipShape;if(e){if(!1===this.cfg.refresh)return void this.set("hasChanged",!1);var r=this.getCanvasBBox();if(!Object(a.f)(e,r))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}t.save(),Object(s.a)(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var e=this.getCanvasBBox(),n=Object(a.f)(e,t);this.set("isInView",n),n?this.set("cacheCanvasBBox",e):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isFill()&&(Object(a.i)(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.isStroke()&&n>0&&(Object(a.i)(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(o.AbstractShape),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),s=o.x,c=o.y,l=o.r,u=i/2,g=Object(a.b)(s,c,t,e);return r&&n?g<=l+u:r?g<=l:!!n&&g>=l-u&&g<=l+u},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(l);function g(t,e,n,r){return t/(n*n)+e/(r*r)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),a=i/2,s=o.x,c=o.y,l=o.rx,u=o.ry,f=(t-s)*(t-s),d=(e-c)*(e-c);return r&&n?g(f,d,l+a,u+a)<=1:r?g(f,d,l,u)<=1:!!n&&g(f,d,l-a,u-a)>=1&&g(f,d,l+a,u+a)<=1},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,o=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,o,0,0,2*Math.PI,!1);else{var a=i>o?i:o,s=i>o?1:i/o,c=i>o?o/i:1;t.save(),t.translate(n,r),t.scale(s,c),t.arc(0,0,a,0,2*Math.PI),t.restore(),t.closePath()}},e}(l);function d(t){return t instanceof HTMLElement&&Object(a.k)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if(Object(a.k)(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):d(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading"))return this.set("toDraw",!0),void this.set("context",t);var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,s=e.sx,c=e.sy,l=e.swidth,u=e.sheight,g=e.img;(g instanceof Image||d(g))&&(Object(a.i)(s)||Object(a.i)(c)||Object(a.i)(l)||Object(a.i)(u)?t.drawImage(g,n,r,i,o):t.drawImage(g,s,c,l,u,n,r,i,o))},e}(l),p=n(26);function A(t,e,n,r,i,o,a){var s=Math.min(t,n),c=Math.max(t,n),l=Math.min(e,r),u=Math.max(e,r),g=i/2;return o>=s-g&&o<=c+g&&a>=l-g&&a<=u+g&&p.Line.pointToLine(t,e,n,r,o,a)<=i/2}var C=n(58),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,o=t.startArrow,a=t.endArrow;o&&C.b(this,t,r,i,e,n),a&&C.a(this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var o=this.attr();return A(o.x1,o.y1,o.x2,o.y2,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=e.startArrow,s=e.endArrow,c={dx:0,dy:0},l={dx:0,dy:0};a&&a.d&&(c=C.c(n,r,i,o,e.startArrow.d)),s&&s.d&&(l=C.c(n,r,i,o,e.endArrow.d)),t.beginPath(),t.moveTo(n+c.dx,r+c.dy),t.lineTo(i-l.dx,o-l.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return p.Line.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return p.Line.pointAt(n,r,i,o,t)},e}(l),I=n(0),y=n(72),m={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return Object(I.isNil)(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,o=r.y,s=r.symbol||"circle",c=this._getR(r);if(Object(a.h)(s))n=(t=s)(i,o,c),n=Object(y.path2Absolute)(n);else{if(!(t=e.Symbols[s]))return console.warn(s+" marker is not supported."),null;n=t(i,o,c)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");Object(s.e)(this,t,{path:e},n)},e.Symbols=m,e}(l);function x(t,e,n){var r=Object(o.getOffScreenContext)();return t.createPath(r),r.isPointInPath(e,n)}function w(t){return Math.abs(t)<1e-6?0:t<0?-1:1}function O(t,e,n){return(n[0]-t[0])*(e[1]-t[1])===(e[0]-t[0])*(n[1]-t[1])&&Math.min(t[0],e[0])<=n[0]&&n[0]<=Math.max(t[0],e[0])&&Math.min(t[1],e[1])<=n[1]&&n[1]<=Math.max(t[1],e[1])}function S(t,e,n){var r=!1,i=t.length;if(i<=2)return!1;for(var o=0;o<i;o++){var a=t[o],s=t[(o+1)%i];if(O(a,s,[e,n]))return!0;w(a[1]-n)>0!==w(s[1]-n)>0&&w(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}var _=n(15),k=n(160);function j(t,e,n,r,i,o,s,c){var l=(Math.atan2(c-e,s-t)+2*Math.PI)%(2*Math.PI);if(l<r||l>i)return!1;var u={x:t+n*Math.cos(l),y:e+n*Math.sin(l)};return Object(a.b)(u.x,u.y,s,c)<=o/2}var E=_.ext.transform,P=Object(i.__assign)({hasArc:function(t){for(var e=!1,n=t.length,r=0;r<n;r++){var i=t[r][0];if("C"===i||"A"===i||"Q"===i){e=!0;break}}return e},extractPolygons:function(t){for(var e=t.length,n=[],r=[],i=[],o=0;o<e;o++){var a=t[o],s=a[0];"M"===s?(i.length&&(r.push(i),i=[]),i.push([a[1],a[2]])):"Z"===s?i.length&&(n.push(i),i=[]):i.push([a[1],a[2]])}return i.length>0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(t,e,n,r,i){for(var o=!1,s=e/2,c=0;c<t.length;c++){var l=t[c],u=l.currentPoint,g=l.params,f=l.prePoint,d=l.box;if(!d||Object(a.e)(d.x-s,d.y-s,d.width+e,d.height+e,n,r)){switch(l.command){case"L":case"Z":o=A(f[0],f[1],u[0],u[1],e,n,r);break;case"Q":o=p.Quad.pointDistance(f[0],f[1],g[1],g[2],g[3],g[4],n,r)<=e/2;break;case"C":o=p.Cubic.pointDistance(f[0],f[1],g[1],g[2],g[3],g[4],g[5],g[6],n,r,i)<=e/2;break;case"A":var h=l.arcParams,C=h.cx,v=h.cy,I=h.rx,y=h.ry,m=h.startAngle,b=h.endAngle,x=h.xRotation,w=[n,r,1],O=I>y?I:y,S=E(null,[["t",-C,-v],["r",-x],["s",1/(I>y?1:I/y),1/(I>y?y/I:1)]]);k.transformMat3(w,w,S),o=j(0,0,O,m,b,e,w[0],w[1])}if(o)break}}return o}},o.PathUtil);function M(t,e,n){for(var r=!1,i=0;i<t.length&&!(r=S(t[i],e,n));i++);return r}var T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this._setPathArr(t.path),this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"path"===e&&this._setPathArr(n),this.setArrow()},e.prototype._setPathArr=function(t){this.attrs.path=Object(y.path2Absolute)(t);var e=P.hasArc(t);this.set("hasArc",e),this.set("paramsCache",{}),this.set("segments",null),this.set("curve",null),this.set("tCache",null),this.set("totalLength",null)},e.prototype.getSegments=function(){var t=this.get("segements");return t||(t=Object(y.path2Segments)(this.attr("path")),this.set("segments",t)),t},e.prototype.setArrow=function(){var t=this.attr(),e=t.startArrow,n=t.endArrow;if(e){var r=this.getStartTangent();C.b(this,t,r[0][0],r[0][1],r[1][0],r[1][1])}n&&(r=this.getEndTangent(),C.a(this,t,r[0][0],r[0][1],r[1][0],r[1][1]))},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.getSegments(),a=this.get("hasArc"),s=!1;if(n){var c=this.getTotalLength();s=P.isPointInStroke(o,i,t,e,c)}if(!s&&r)if(a)s=x(this,t,e);else{var l=this.attr("path"),u=P.extractPolygons(l);s=M(u.polygons,t,e)||M(u.polylines,t,e)}return s},e.prototype.createPath=function(t){var e=this.attr(),n=this.get("paramsCache");Object(s.e)(this,t,e,n)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.get("totalLength");return Object(I.isNil)(t)?(this._calculateCurve(),this._setTcache(),this.get("totalLength")):t},e.prototype.getPoint=function(t){var e,n,r=this.get("tCache");r||(this._calculateCurve(),this._setTcache(),r=this.get("tCache"));var i=this.get("curve");if(!r||0===r.length)return i?{x:i[0][1],y:i[0][2]}:null;Object(I.each)(r,(function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}));var o=i[n];if(Object(I.isNil)(o)||Object(I.isNil)(n))return null;var a=o.length,s=i[n+1];return p.Cubic.pointAt(o[a-2],o[a-1],s[1],s[2],s[3],s[4],s[5],s[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",P.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r,i=0,o=0,a=[],s=this.get("curve");s&&(Object(I.each)(s,(function(t,e){n=s[e+1],r=t.length,n&&(i+=p.Cubic.length(t[r-2],t[r-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)})),this.set("totalLength",i),0!==i?(Object(I.each)(s,(function(c,l){n=s[l+1],r=c.length,n&&((t=[])[0]=o/i,e=p.Cubic.length(c[r-2],c[r-1],n[1],n[2],n[3],n[4],n[5],n[6]),o+=e||0,t[1]=o/i,a.push(t))})),this.set("tCache",a)):this.set("tCache",[]))},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,o=e[n-1].endTangent;t=[],o?(t.push([i[0]-o[0],i[1]-o[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(l);function R(t,e,n,r,i){var o=t.length;if(o<2)return!1;for(var a=0;a<o-1;a++)if(A(t[a][0],t[a][1],t[a+1][0],t[a+1][1],e,n,r))return!0;if(i){var s=t[0],c=t[o-1];if(A(s[0],s[1],c[0],c[1],e,n,r))return!0}return!1}var D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr().points,a=!1;return n&&(a=R(o,i,t,e,!0)),!a&&r&&(a=S(o,t,e)),a},e.prototype.createPath=function(t){var e=this.attr().points;if(!(e.length<2)){t.beginPath();for(var n=0;n<e.length;n++){var r=e[n];0===n?t.moveTo(r[0],r[1]):t.lineTo(r[0],r[1])}t.closePath()}},e}(l),N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow(),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.setArrow=function(){var t=this.attr(),e=this.attrs,n=e.points,r=e.startArrow,i=e.endArrow,o=n.length,a=n[0][0],s=n[0][1],c=n[o-1][0],l=n[o-1][1];r&&C.b(this,t,n[1][0],n[1][1],a,s),i&&C.a(this,t,n[o-2][0],n[o-2][1],c,l)},e.prototype.isFill=function(){return!1},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!(!n||!i)&&R(this.attr().points,i,t,e,!1)},e.prototype.isStroke=function(){return!0},e.prototype.createPath=function(t){var e=this.attr(),n=e.points,r=e.startArrow,i=e.endArrow,o=n.length;if(!(n.length<2)){var a,s=n[0][0],c=n[0][1],l=n[o-1][0],u=n[o-1][1];r&&r.d&&(s+=(a=C.c(s,c,n[1][0],n[1][1],r.d)).dx,c+=a.dy),i&&i.d&&(l-=(a=C.c(n[o-2][0],n[o-2][1],l,u,i.d)).dx,u-=a.dy),t.beginPath(),t.moveTo(s,c);for(var g=0;g<o-1;g++){var f=n[g];t.lineTo(f[0],f[1])}t.lineTo(l,u)}},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return Object(I.isNil)(e)?(this.set("totalLength",p.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),Object(I.each)(i,(function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)})),p.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,o=[];Object(I.each)(t,(function(a,s){t[s+1]&&((n=[])[0]=i/e,r=p.Line.length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))})),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(l),L=n(210),F=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),s=o.x,c=o.y,l=o.width,u=o.height,g=o.radius;if(g){var f=!1;return n&&(f=function(t,e,n,r,i,o,a,s){return A(t+i,e,t+n-i,e,o,a,s)||A(t+n,e+i,t+n,e+r-i,o,a,s)||A(t+n-i,e+r,t+i,e+r,o,a,s)||A(t,e+r-i,t,e+i,o,a,s)||j(t+n-i,e+i,i,1.5*Math.PI,2*Math.PI,o,a,s)||j(t+n-i,e+r-i,i,0,.5*Math.PI,o,a,s)||j(t+i,e+r-i,i,.5*Math.PI,Math.PI,o,a,s)||j(t+i,e+i,i,Math.PI,1.5*Math.PI,o,a,s)}(s,c,l,u,g,i,t,e)),!f&&r&&(f=x(this,t,e)),f}var d=i/2;return r&&n?Object(a.e)(s-d,c-d,l+d,u+d,t,e):r?Object(a.e)(s,c,l,u,t,e):n?function(t,e,n,r,i,o,s){var c=i/2;return Object(a.e)(t-c,e-c,n,i,o,s)||Object(a.e)(t+n-c,e-c,i,r,o,s)||Object(a.e)(t+c,e+r-c,n,i,o,s)||Object(a.e)(t-c,e+c,i,r,o,s)}(s,c,l,u,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,a=e.radius;if(t.beginPath(),0===a)t.rect(n,r,i,o);else{var s=Object(L.a)(a),c=s[0],l=s[1],u=s[2],g=s[3];t.moveTo(n+c,r),t.lineTo(n+i-l,r),0!==l&&t.arc(n+i-l,r+l,l,-Math.PI/2,0),t.lineTo(n+i,r+o-u),0!==u&&t.arc(n+i-u,r+o-u,u,0,Math.PI/2),t.lineTo(n+g,r+o),0!==g&&t.arc(n+g,r+o-g,g,Math.PI/2,Math.PI),t.lineTo(n,r+c),0!==c&&t.arc(n+c,r+c,c,Math.PI,1.5*Math.PI),t.closePath()}},e}(l),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=Object(o.assembleFont)(t)},e.prototype._setText=function(t){var e=null;Object(a.k)(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,s=i.textBaseline,c=i.x,l=i.y,u=1*i.fontSize,g=this._getSpaceingY(),f=Object(o.getTextHeight)(i.text,i.fontSize,i.lineHeight);Object(a.c)(e,(function(e,i){r=l+i*(g+u)-f+u,"middle"===s&&(r+=f-u-(f-u)/2),"top"===s&&(r+=f-u),n?t.fillText(e,c,r):t.strokeText(e,c,r)}))},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var a=n.text;e?t.fillText(a,r,i):t.strokeText(a,r,i)}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&(Object(a.i)(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&(Object(a.i)(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(l)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerTheme=e.getTheme=void 0;var r=n(0),i=n(341),o={default:i.createTheme({})};e.getTheme=function(t){return r.get(o,r.lowerCase(t),o.default)},e.registerTheme=function(t,e){o[r.lowerCase(t)]=i.createTheme(e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=["children","hooks","ref"]},function(t,e,n){"use strict";function r(t,e,n,r){t=t.filter((function(t){var r=e(t),i=n(t);return null!=r&&isFinite(r)&&null!=i&&isFinite(i)})),r&&t.sort((function(t,n){return e(t)-e(n)}));for(var i,o,a,s=t.length,c=new Float64Array(s),l=new Float64Array(s),u=0,g=0,f=0;f<s;)a=t[f],c[f]=i=+e(a),l[f]=o=+n(a),u+=(i-u)/++f,g+=(o-g)/f;for(var d=0;d<s;++d)c[d]-=u,l[d]-=g;return[c,l,u,g]}function i(t,e,n,r){for(var i=0,o=0,a=t.length;o<a;o++){var s=t[o],c=+e(s),l=+n(s);null!=c&&isFinite(c)&&null!=l&&isFinite(l)&&r(c,l,i++)}}function o(t,e,n,r,o){var a=0,s=0;return i(t,e,n,(function(t,e){var n=e-o(t),i=e-r;a+=n*n,s+=i*i})),1-a/s}function a(t){return 180*Math.atan2(t[1][1]-t[0][1],t[1][0]-t[0][0])/Math.PI}function s(t,e,n){for(var r=Math.log(e-t)*Math.LOG10E+1|0,i=1*Math.pow(10,-r/2-1),o=[c(t),c(e)],s=0;l(o)&&s<1e4;);return o;function c(t){return[t,n(t)]}function l(t){s++;for(var e,n=t.length,r=!1,o=0;o<n-1;o++){var l=t[o],u=t[o+1],g=[((e=[l,u])[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2],f=c(g[0]),d=a([l,g]),h=a([l,f]);Math.abs(d-h)>i&&(t.splice(o+1,0,f),r=!0)}return r}}function c(t,e,n,r){var i=r-t*t,o=Math.abs(i)<1e-24?0:(n-t*e)/i;return[e-o*t,o]}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"===typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.r(e),n.d(e,"regressionExp",(function(){return g})),n.d(e,"regressionLinear",(function(){return h})),n.d(e,"regressionLoess",(function(){return v})),n.d(e,"regressionLog",(function(){return x})),n.d(e,"regressionPoly",(function(){return j})),n.d(e,"regressionPow",(function(){return M})),n.d(e,"regressionQuad",(function(){return S}));var g=function(){var t,e=function(t){return t[0]},n=function(t){return t[1]};function r(r){var a=0,u=0,g=0,f=0,d=0,h=0,p=t?+t[0]:1/0,A=t?+t[1]:-1/0;i(r,e,n,(function(e,n){var r=Math.log(n),i=e*n;++a,u+=(n-u)/a,f+=(i-f)/a,h+=(e*i-h)/a,g+=(n*r-g)/a,d+=(i*r-d)/a,t||(e<p&&(p=e),e>A&&(A=e))}));var C=l(c(f/u,g/u,d/u,h/u),2),v=C[0],I=C[1];v=Math.exp(v);var y=function(t){return v*Math.exp(I*t)},m=s(p,A,y);return m.a=v,m.b=I,m.predict=y,m.rSquared=o(r,e,n,u,y),m}return r.domain=function(e){return arguments.length?(t=e,r):t},r.x=function(t){return arguments.length?(e=t,r):e},r.y=function(t){return arguments.length?(n=t,r):n},r};function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"===typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var h=function(){var t,e=function(t){return t[0]},n=function(t){return t[1]};function r(r){var a=0,s=0,l=0,u=0,g=0,d=t?+t[0]:1/0,h=t?+t[1]:-1/0;i(r,e,n,(function(e,n){++a,s+=(e-s)/a,l+=(n-l)/a,u+=(e*n-u)/a,g+=(e*e-g)/a,t||(e<d&&(d=e),e>h&&(h=e))}));var p=f(c(s,l,u,g),2),A=p[0],C=p[1],v=function(t){return C*t+A},I=[[d,v(d)],[h,v(h)]];return I.a=C,I.b=A,I.predict=v,I.rSquared=o(r,e,n,l,v),I}return r.domain=function(e){return arguments.length?(t=e,r):t},r.x=function(t){return arguments.length?(e=t,r):e},r.y=function(t){return arguments.length?(n=t,r):n},r};function p(t){t.sort((function(t,e){return t-e}));var e=t.length/2;return e%1===0?(t[e-1]+t[e])/2:t[Math.floor(e)]}function A(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"===typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var v=function(){var t=function(t){return t[0]},e=function(t){return t[1]},n=.3;function i(i){for(var o=A(r(i,t,e,!0),4),a=o[0],s=o[1],l=o[2],u=o[3],g=a.length,f=Math.max(2,~~(n*g)),d=new Float64Array(g),h=new Float64Array(g),C=new Float64Array(g).fill(1),v=-1;++v<=2;){for(var m=[0,f-1],b=0;b<g;++b){for(var x=a[b],w=m[0],O=m[1],S=x-a[w]>a[O]-x?w:O,_=0,k=0,j=0,E=0,P=0,M=1/Math.abs(a[S]-x||1),T=w;T<=O;++T){var R=a[T],D=s[T],N=I(Math.abs(x-R)*M)*C[T],L=R*N;_+=N,k+=L,j+=D*N,E+=D*L,P+=R*L}var F=A(c(k/_,j/_,E/_,P/_),2),B=F[0],z=F[1];d[b]=B+z*x,h[b]=Math.abs(s[b]-d[b]),y(a,b+1,m)}if(2===v)break;var V=p(h);if(Math.abs(V)<1e-12)break;for(var G,W,Y=0;Y<g;++Y)G=h[Y]/(6*V),C[Y]=G>=1?1e-12:(W=1-G*G)*W}return function(t,e,n,r){for(var i,o=t.length,a=[],s=0,c=0,l=[];s<o;++s)i=t[s]+n,l[0]===i?l[1]+=(e[s]-l[1])/++c:(c=0,l[1]+=r,l=[i,e[s]],a.push(l));return l[1]+=r,a}(a,d,l,u)}return i.bandwidth=function(t){return arguments.length?(n=t,i):n},i.x=function(e){return arguments.length?(t=e,i):t},i.y=function(t){return arguments.length?(e=t,i):e},i};function I(t){return(t=1-t*t*t)*t*t}function y(t,e,n){var r=t[e],i=n[0],o=n[1]+1;if(!(o>=t.length))for(;e>i&&t[o]-r<=r-t[i];)n[0]=++i,n[1]=o,++o}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"===typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var x=function(){var t,e=function(t){return t[0]},n=function(t){return t[1]};function r(r){var a=0,l=0,u=0,g=0,f=0,d=t?+t[0]:1/0,h=t?+t[1]:-1/0;i(r,e,n,(function(e,n){var r=Math.log(e);++a,l+=(r-l)/a,u+=(n-u)/a,g+=(r*n-g)/a,f+=(r*r-f)/a,t||(e<d&&(d=e),e>h&&(h=e))}));var p=m(c(l,u,g,f),2),A=p[0],C=p[1],v=function(t){return C*Math.log(t)+A},I=s(d,h,v);return I.a=C,I.b=A,I.predict=v,I.rSquared=o(r,e,n,u,v),I}return r.domain=function(e){return arguments.length?(t=e,r):t},r.x=function(t){return arguments.length?(e=t,r):e},r.y=function(t){return arguments.length?(n=t,r):n},r};function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"===typeof t)return O(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var S=function(){var t,e=function(t){return t[0]},n=function(t){return t[1]};function a(a){var c,l,u,g,f=w(r(a,e,n),4),d=f[0],h=f[1],p=f[2],A=f[3],C=d.length,v=0,I=0,y=0,m=0,b=0;for(c=0;c<C;)l=d[c],u=h[c++],v+=((g=l*l)-v)/c,I+=(g*l-I)/c,y+=(g*g-y)/c,m+=(l*u-m)/c,b+=(g*u-b)/c;var x=0,O=0,S=t?+t[0]:1/0,_=t?+t[1]:-1/0;i(a,e,n,(function(e,n){O++,x+=(n-x)/O,t||(e<S&&(S=e),e>_&&(_=e))}));var k=y-v*v,j=v*k-I*I,E=(b*v-m*I)/j,P=(m*k-b*I)/j,M=-E*v,T=function(t){return E*(t-=p)*t+P*t+M+A},R=s(S,_,T);return R.a=E,R.b=P-2*E*p,R.c=M-P*p+E*p*p+A,R.predict=T,R.rSquared=o(a,e,n,x,T),R}return a.domain=function(e){return arguments.length?(t=e,a):t},a.x=function(t){return arguments.length?(e=t,a):e},a.y=function(t){return arguments.length?(n=t,a):n},a};function _(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"===typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var j=function(){var t,e=function(t){return t[0]},n=function(t){return t[1]},a=3;function c(c){if(1===a){var l=h().x(e).y(n).domain(t)(c);return l.coefficients=[l.b,l.a],delete l.a,delete l.b,l}if(2===a){var u=S().x(e).y(n).domain(t)(c);return u.coefficients=[u.c,u.b,u.a],delete u.a,delete u.b,delete u.c,u}var g,f,d,p,A,C=_(r(c,e,n),4),v=C[0],I=C[1],y=C[2],m=C[3],b=v.length,x=[],w=[],O=a+1,k=0,j=0,E=t?+t[0]:1/0,P=t?+t[1]:-1/0;for(i(c,e,n,(function(e,n){++j,k+=(n-k)/j,t||(e<E&&(E=e),e>P&&(P=e))})),g=0;g<O;++g){for(d=0,p=0;d<b;++d)p+=Math.pow(v[d],g)*I[d];for(x.push(p),A=new Float64Array(O),f=0;f<O;++f){for(d=0,p=0;d<b;++d)p+=Math.pow(v[d],g+f);A[f]=p}w.push(A)}w.push(x);var M=function(t){var e,n,r,i,o,a=t.length-1,s=[];for(e=0;e<a;++e){for(i=e,n=e+1;n<a;++n)Math.abs(t[e][n])>Math.abs(t[e][i])&&(i=n);for(r=e;r<a+1;++r)o=t[r][e],t[r][e]=t[r][i],t[r][i]=o;for(n=e+1;n<a;++n)for(r=a;r>=e;r--)t[r][n]-=t[r][e]*t[e][n]/t[e][e]}for(n=a-1;n>=0;--n){for(o=0,r=n+1;r<a;++r)o+=t[r][n]*s[r];s[n]=(t[a][n]-o)/t[n][n]}return s}(w),T=function(t){t-=y;var e=m+M[0]+M[1]*t+M[2]*t*t;for(g=3;g<O;++g)e+=M[g]*Math.pow(t,g);return e},R=s(E,P,T);return R.coefficients=function(t,e,n,r){var i,o,a,s,c=Array(t);for(i=0;i<t;++i)c[i]=0;for(i=t-1;i>=0;--i)for(a=e[i],s=1,c[i]+=a,o=1;o<=i;++o)s*=(i+1-o)/o,c[i-o]+=a*Math.pow(n,o)*s;return c[0]+=r,c}(O,M,-y,m),R.predict=T,R.rSquared=o(c,e,n,k,T),R}return c.domain=function(e){return arguments.length?(t=e,c):t},c.x=function(t){return arguments.length?(e=t,c):e},c.y=function(t){return arguments.length?(n=t,c):n},c.order=function(t){return arguments.length?(a=t,c):a},c};function E(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"===typeof t)return P(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var M=function(){var t,e=function(t){return t[0]},n=function(t){return t[1]};function r(r){var a=0,l=0,u=0,g=0,f=0,d=0,h=t?+t[0]:1/0,p=t?+t[1]:-1/0;i(r,e,n,(function(e,n){var r=Math.log(e),i=Math.log(n);++a,l+=(r-l)/a,u+=(i-u)/a,g+=(r*i-g)/a,f+=(r*r-f)/a,d+=(n-d)/a,t||(e<h&&(h=e),e>p&&(p=e))}));var A=E(c(l,u,g,f),2),C=A[0],v=A[1];C=Math.exp(C);var I=function(t){return C*Math.pow(t,v)},y=s(h,p,I);return y.a=C,y.b=v,y.predict=I,y.rSquared=o(r,e,n,d,I),y}return r.domain=function(e){return arguments.length?(t=e,r):t},r.x=function(t){return arguments.length?(e=t,r):e},r.y=function(t){return arguments.length?(n=t,r):n},r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doGroupAppearAnimate=e.doAnimate=e.getDefaultAnimateCfg=e.DEFAULT_ANIMATE_CFG=void 0;var r=n(1),i=n(0),o=n(27),a=n(331);e.DEFAULT_ANIMATE_CFG={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}};var s={interval:function(t){return{enter:{animation:t.isRect?t.isTransposed?"scale-in-x":"scale-in-y":"fade-in"},update:{animation:t.isPolar&&t.isTransposed?"sector-path-update":null},leave:{animation:"fade-out"}}},line:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},path:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},point:{appear:{animation:"zoom-in"},enter:{animation:"zoom-in"},leave:{animation:"zoom-out"}},area:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},polygon:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},schema:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},edge:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},label:{appear:{animation:"fade-in",delay:450},enter:{animation:"fade-in"},update:{animation:"position-update"},leave:{animation:"fade-out"}}},c={line:function(){return{animation:"wave-in"}},area:function(){return{animation:"wave-in"}},path:function(){return{animation:"fade-in"}},interval:function(t){var e;return t.isRect?e=t.isTransposed?"grow-in-x":"grow-in-y":(e="grow-in-xy",t.isPolar&&t.isTransposed&&(e="wave-in")),{animation:e}},schema:function(t){return{animation:t.isRect?t.isTransposed?"grow-in-x":"grow-in-y":"grow-in-xy"}},polygon:function(){return{animation:"fade-in",duration:500}},edge:function(){return{animation:"fade-in"}}};e.getDefaultAnimateCfg=function(t,n,r){var o=s[t];return o&&(i.isFunction(o)&&(o=o(n)),o=i.deepMix({},e.DEFAULT_ANIMATE_CFG,o),r)?o[r]:o},e.doAnimate=function(t,e,n){var r=i.get(t.get("origin"),"data",o.FIELD_ORIGIN),s=e.animation,c=function(t,e){return{delay:i.isFunction(t.delay)?t.delay(e):t.delay,easing:i.isFunction(t.easing)?t.easing(e):t.easing,duration:i.isFunction(t.duration)?t.duration(e):t.duration,callback:t.callback}}(e,r);if(s){var l=a.getAnimation(s);l&&l(t,c,n)}else t.animate(n.toAttrs,c)},e.doGroupAppearAnimate=function(t,n,o,s,l){if(c[o]){var u=c[o](s),g=a.getAnimation(i.get(u,"animation",""));if(g){var f=r.__assign(r.__assign(r.__assign({},e.DEFAULT_ANIMATE_CFG.appear),u),n);t.stopAnimate(),g(t,f,{coordinate:s,minYPoint:l,toAttrs:null})}}}},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=n(328),a=n(262),s=n(0),c=n(101),l=i.__importDefault(n(233)),u=n(27),g=n(87),f=i.__importDefault(n(241)),d=n(243),h=n(39),p=n(554),A=n(344),C=n(555),v=n(65),I=function(t){function e(e){var n=t.call(this,e)||this;n.type="base",n.attributes={},n.elements=[],n.elementsMap={},n.animateOption=!0,n.attributeOption={},n.lastElementsMap={},n.generatePoints=!1,n.beforeMappingData=null,n.adjusts={},n.idFields=[],n.hasSorted=!1,n.isCoordinateChanged=!1;var r=e.container,i=e.labelsContainer,o=e.coordinate,a=e.data,s=e.sortable,c=void 0!==s&&s,l=e.visible,u=void 0===l||l,g=e.theme,f=e.scales,d=void 0===f?{}:f,h=e.scaleDefs,p=void 0===h?{}:h,A=e.intervalPadding,C=e.dodgePadding,v=e.maxColumnWidth,I=e.minColumnWidth,y=e.columnWidthRatio,m=e.roseWidthRatio,b=e.multiplePieWidthRatio,x=e.zIndexReversed;return n.container=r,n.labelsContainer=i,n.coordinate=o,n.data=a,n.sortable=c,n.visible=u,n.userTheme=g,n.scales=d,n.scaleDefs=p,n.intervalPadding=A,n.dodgePadding=C,n.maxColumnWidth=v,n.minColumnWidth=I,n.columnWidthRatio=y,n.roseWidthRatio=m,n.multiplePieWidthRatio=b,n.zIndexReversed=x,n}return i.__extends(e,t),e.prototype.position=function(t){var e=t;s.isPlainObject(t)||(e={fields:C.parseFields(t)});var n=s.get(e,"fields");return 1===n.length&&(n.unshift("1"),s.set(e,"fields",n)),s.set(this.attributeOption,"position",e),this},e.prototype.color=function(t,e){return this.createAttrOption("color",t,e),this},e.prototype.shape=function(t,e){return this.createAttrOption("shape",t,e),this},e.prototype.size=function(t,e){return this.createAttrOption("size",t,e),this},e.prototype.adjust=function(t){var e=t;return(s.isString(t)||s.isPlainObject(t))&&(e=[t]),s.each(e,(function(t,n){s.isObject(t)||(e[n]={type:t})})),this.adjustOption=e,this},e.prototype.style=function(t,e){if(s.isString(t)){var n=C.parseFields(t);this.styleOption={fields:n,callback:e}}else{var r=t,i=(n=r.fields,r.callback),o=r.cfg;this.styleOption=n||i||o?t:{cfg:t}}return this},e.prototype.tooltip=function(t,e){if(s.isString(t)){var n=C.parseFields(t);this.tooltipOption={fields:n,callback:e}}else this.tooltipOption=t;return this},e.prototype.animate=function(t){return this.animateOption=t,this},e.prototype.label=function(t,e,n){if(s.isString(t)){var r={},i=C.parseFields(t);r.fields=i,s.isFunction(e)?r.callback=e:s.isPlainObject(e)&&(r.cfg=e),n&&(r.cfg=n),this.labelOption=r}else this.labelOption=t;return this},e.prototype.state=function(t){return this.stateOption=t,this},e.prototype.customInfo=function(t){return this.customOption=t,this},e.prototype.init=function(t){void 0===t&&(t={}),this.setCfg(t),this.initAttributes(),this.processData(this.data),this.adjustScale()},e.prototype.update=function(t){void 0===t&&(t={});var e=t.data,n=t.isDataChanged,r=t.isCoordinateChanged,i=this.attributeOption,o=this.lastAttributeOption;s.isEqual(i,o)?!e||!n&&s.isEqual(e,this.data)?this.setCfg(t):(this.setCfg(t),this.initAttributes(),this.processData(e)):this.init(t),this.adjustScale(),this.isCoordinateChanged=r},e.prototype.paint=function(t){var e=this;void 0===t&&(t=!1),this.animateOption&&(this.animateOption=s.deepMix({},c.getDefaultAnimateCfg(this.type,this.coordinate),this.animateOption)),this.defaultSize=void 0,this.elements=[],this.elementsMap={},this.getOffscreenGroup().clear();for(var n=this.beforeMappingData,r=this.beforeMapping(n),o=[],a=0,l=r.length;a<l;a++){var u=r[a],g=this.mapping(u);o.push(g),this.createElements(g,a,t)}if(this.canDoGroupAnimation(t)){var f=this.container,d=this.type,h=this.coordinate,p=s.get(this.animateOption,"appear"),A=this.getYScale(),C=h.convert({x:0,y:A.scale(this.getYMinValue())});c.doGroupAppearAnimate(f,p,d,h,C)}this.labelOption&&this.renderLabels(s.flatten(o),t),this.dataArray=o,s.each(this.lastElementsMap,(function(t){t.animate=e.animateOption,t.destroy()})),this.lastElementsMap=this.elementsMap,this.lastAttributeOption=i.__assign({},this.attributeOption),!1===this.visible&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this,e=t.container,n=t.geometryLabel,r=t.offscreenGroup;e&&e.clear(),n&&n.clear(),r&&r.clear(),this.scaleDefs=void 0,this.attributes={},this.scales={},this.elementsMap={},this.lastElementsMap={},this.elements=[],this.adjusts={},this.dataArray=null,this.beforeMappingData=null,this.lastAttributeOption=void 0,this.defaultSize=void 0,this.idFields=[],this.groupScales=void 0,this.hasSorted=!1,this.isCoordinateChanged=!1},e.prototype.destroy=function(){this.clear(),this.container.remove(!0),this.offscreenGroup&&(this.offscreenGroup.remove(!0),this.offscreenGroup=null),this.geometryLabel&&(this.geometryLabel.destroy(),this.geometryLabel=null),this.theme=void 0,this.shapeFactory=void 0,t.prototype.destroy.call(this)},e.prototype.getGroupScales=function(){return this.groupScales},e.prototype.getAttribute=function(t){return this.attributes[t]},e.prototype.getXScale=function(){return this.getAttribute("position").scales[0]},e.prototype.getYScale=function(){return this.getAttribute("position").scales[1]},e.prototype.getGroupAttributes=function(){var t=[];return s.each(this.attributes,(function(e){u.GROUP_ATTRS.includes(e.type)&&t.push(e)})),t},e.prototype.getDefaultValue=function(t){var e,n=this.getAttribute(t);return n&&s.isEmpty(n.scales)&&(e=n.values[0]),e},e.prototype.getAttributeValues=function(t,e){for(var n=[],r=t.scales,i=0,o=r.length;i<o;i++){var a=r[i],s=a.field;a.isIdentity?n.push(a.values):n.push(e[s])}return t.mapping.apply(t,n)},e.prototype.getAdjust=function(t){return this.adjusts[t]},e.prototype.getShapeMarker=function(t,e){return this.getShapeFactory().getMarker(t,e)},e.prototype.getElementsBy=function(t){return this.elements.filter((function(e){return t(e)}))},e.prototype.getElementId=function(t){var e=(t=s.isArray(t)?t[0]:t)[u.FIELD_ORIGIN];if(this.idFields.length){for(var n=e[this.idFields[0]],r=1;r<this.idFields.length;r++)n+="-"+e[this.idFields[r]];return n}var i,o,a=this.type,c=this.getXScale(),l=this.getYScale(),g=c.field||"x",f=e[l.field||"y"];i="identity"===c.type?c.values[0]:e[g],o="interval"===a||"schema"===a?""+i:"line"===a||"area"===a||"path"===a?a:i+"-"+f;for(var d=this.groupScales,h=(r=0,d.length);r<h;r++)o=o+"-"+e[d[r].field];var p=this.getAdjust("dodge");if(p){var A=p.dodgeBy;A&&(o=o+"-"+e[A])}return this.getAdjust("jitter")&&(o=o+"-"+t.x+"-"+t.y),o},e.prototype.getScaleFields=function(){var t=[],e={},n=this,r=n.attributeOption,i=n.labelOption,o=n.tooltipOption;for(var a in r)if(r.hasOwnProperty(a)){var c=r[a];c.fields?g.uniq(c.fields,t,e):c.values&&g.uniq(c.values,t,e)}return i&&i.fields&&g.uniq(i.fields,t,e),s.isObject(o)&&o.fields&&g.uniq(o.fields,t,e),t},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e);for(var n=this.elements,r=0,i=n.length;r<i;r++)n[r].changeVisible(e);e?(this.container&&this.container.show(),this.labelsContainer&&this.labelsContainer.show()):(this.container&&this.container.hide(),this.labelsContainer&&this.labelsContainer.hide())},e.prototype.getGroupFields=function(){for(var t=[],e={},n=0,r=u.GROUP_ATTRS.length;n<r;n++){var i=u.GROUP_ATTRS[n],o=this.attributeOption[i];o&&o.fields&&g.uniq(o.fields,t,e)}return t},e.prototype.getXYFields=function(){var t=this.attributeOption.position.fields;return[t[0],t[1]]},e.prototype.getShapes=function(){return this.elements.map((function(t){return t.shape}))},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.sort=function(t){if(!this.hasSorted)for(var e=this.getXScale(),n=e.field,r=0;r<t.length;r++)t[r].sort((function(t,r){return e.translate(t[u.FIELD_ORIGIN][n])-e.translate(r[u.FIELD_ORIGIN][n])}));this.hasSorted=!0},e.prototype.adjustScale=function(){var t=this.getYScale();t&&this.getAdjust("stack")&&this.updateStackRange(t,this.beforeMappingData)},e.prototype.getShapeFactory=function(){var t=this.shapeType;if(h.getShapeFactory(t))return this.shapeFactory||(this.shapeFactory=s.clone(h.getShapeFactory(t))),this.shapeFactory.coordinate=this.coordinate,this.shapeFactory.theme=this.theme.geometries[t]||{},this.shapeFactory},e.prototype.createShapePointsCfg=function(t){var e=this.getXScale(),n=this.getYScale();return{x:this.normalizeValues(t[e.field],e),y:n?this.normalizeValues(t[n.field],n):t.y?t.y:.1,y0:n?n.scale(this.getYMinValue()):void 0}},e.prototype.createElement=function(t,e){void 0===e&&(e=!1);var n=this.container,r=this.getDrawCfg(t),i=this.getShapeFactory(),o=new f.default({shapeFactory:i,container:n,offscreenGroup:this.getOffscreenGroup()});return o.animate=this.animateOption,o.geometry=this,o.draw(r,e),o},e.prototype.getDrawCfg=function(t){var e=t[u.FIELD_ORIGIN],n={mappingData:t,data:e,x:t.x,y:t.y,color:t.color,size:t.size,isInCircle:this.coordinate.isPolar,customInfo:this.customOption},r=t.shape;!r&&this.getShapeFactory()&&(r=this.getShapeFactory().defaultShapeType),n.shape=r;var i=this.theme.geometries[this.shapeType];n.defaultStyle=s.get(i,[r,"default"],{}).style,!n.defaultStyle&&this.getShapeFactory()&&(n.defaultStyle=this.getShapeFactory().getDefaultStyle(i));var o=this.styleOption;return o&&(n.style=this.getStyleCfg(o,e)),this.generatePoints&&(n.points=t.points,n.nextPoints=t.nextPoints),n},e.prototype.createElements=function(t,e,n){void 0===n&&(n=!1);for(var r=this,i=r.lastElementsMap,o=r.elementsMap,a=r.elements,s=0,c=t.length;s<c;s++){var l=t[s],u=this.getElementId(l);o[u]&&(u=u+"-"+e+"-"+s);var g=i[u];if(g){var f=this.getDrawCfg(l),d=g.getModel();(this.isCoordinateChanged||A.isModelChange(f,d))&&(g.animate=this.animateOption,g.update(f)),delete i[u]}else g=this.createElement(l,n);a.push(g),o[u]=g}if(this.zIndexReversed){var h=a.length;a.forEach((function(t,e){t.shape.setZIndex(h-e)}))}return a},e.prototype.getLabelType=function(){var t=this,e=t.labelOption,n=t.coordinate,r=t.type,i=n.type,o=n.isTransposed,a=s.get(e,["cfg","type"]);return a||(a="polar"===i?o?"pie":"polar":"theta"===i?"pie":"interval"===r||"polygon"===r?"interval":"base"),a},e.prototype.getYMinValue=function(){var t=this.getYScale(),e=t.min,n=t.max;return e>=0?e:n<=0?n:0},e.prototype.createAttrOption=function(t,e,n){if(s.isNil(e)||s.isObject(e))s.isObject(e)&&s.isEqual(Object.keys(e),["values"])?s.set(this.attributeOption,t,{fields:e.values}):s.set(this.attributeOption,t,e);else{var r={};s.isNumber(e)?r.values=[e]:r.fields=C.parseFields(e),n&&(s.isFunction(n)?r.callback=n:r.values=n),s.set(this.attributeOption,t,r)}},e.prototype.initAttributes=function(){var t=this,e=this,n=e.attributes,o=e.attributeOption,s=e.theme,c=e.shapeType;this.groupScales=[];var l={},g=function(e){if(o.hasOwnProperty(e)){var r=o[e];if(!r)return{value:void 0};var g=i.__assign({},r),f=g.callback,d=g.values,h=g.fields,p=(void 0===h?[]:h).map((function(n){var r=t.scales[n];return r.isCategory&&!l[n]&&u.GROUP_ATTRS.includes(e)&&(t.groupScales.push(r),l[n]=!0),r}));g.scales=p,"position"!==e&&1===p.length&&"identity"===p[0].type?g.values=p[0].values:f||d||("size"===e?g.values=s.sizes:"shape"===e?g.values=s.shapes[c]||[]:"color"===e&&(p.length?g.values=p[0].values.length<=10?s.colors10:s.colors20:g.values=s.colors10));var A=a.getAttribute(e);n[e]=new A(g)}};for(var f in o){var d=g(f);if("object"===r(d))return d.value}},e.prototype.processData=function(t){this.hasSorted=!1;for(var e=this.getAttribute("position").scales.filter((function(t){return t.isCategory})),n=this.groupData(t),r=[],i=0,o=n.length;i<o;i++){for(var a=n[i],s=[],c=0,l=a.length;c<l;c++){var g=a[c],f={};for(var d in g)f[d]=g[d];f[u.FIELD_ORIGIN]=g;for(var h=0,p=e;h<p.length;h++){var A=p[h],C=A.field;f[C]=A.translate(f[C])}s.push(f)}r.push(s)}var v=this.adjustData(r);return this.beforeMappingData=v,v},e.prototype.adjustData=function(t){var e=this.adjustOption,n=this,r=n.intervalPadding,a=n.dodgePadding,c=n.theme,l=this.maxColumnWidth||c.maxColumnWidth,u=this.minColumnWidth||c.minColumnWidth,g=this.columnWidthRatio||c.columnWidthRatio,f=t;if(e){var d=this.getXScale(),h=this.getYScale(),p=d.field,A=h?h.field:null,C=v.getXDimensionLength(this.coordinate),I=d.values.length,y=this.getAttribute("size"),m=void 0;y&&(m=y.values[0]);for(var b=0,x=e.length;b<x;b++){var w=e[b],O=i.__assign({xField:p,yField:A,intervalPadding:r,dodgePadding:a,xDimensionLength:C,groupNum:I,defaultSize:m,maxColumnWidth:l,minColumnWidth:u,columnWidthRatio:g},w),S=w.type;if("dodge"===S){var _=[];if(d.isCategory||"identity"===d.type)_.push("x");else{if(h)throw new Error("dodge is not support linear attribute, please use category attribute!");_.push("y")}O.adjustNames=_,O.dodgeRatio=g}else if("stack"===S){var k=this.coordinate;if(!h){O.height=k.getHeight();var j=this.getDefaultValue("size")||3;O.size=j}!k.isTransposed&&s.isNil(O.reverseOrder)&&(O.reverseOrder=!0)}var E=new(o.getAdjust(S))(O);f=E.process(f),this.adjusts[S]=E}}return f},e.prototype.groupData=function(t){for(var e=this.getGroupScales(),n=this.scaleDefs,r={},i=[],o=0;o<e.length;o++){var a=e[o].field;i.push(a),s.get(n,[a,"values"])&&(r[a]=n[a].values)}return p.group(t,i,r)},e.prototype.updateStackRange=function(t,e){for(var n=s.flatten(e),r=t.field,i=t.min,o=t.max,a=0;a<n.length;a++){var c=n[a],l=Math.min.apply(null,c[r]),u=Math.max.apply(null,c[r]);l<i&&(i=l),u>o&&(o=u)}var g=this.scaleDefs,f={};i<t.min&&!s.get(g,[r,"min"])&&(f.min=i),o>t.max&&!s.get(g,[r,"max"])&&(f.max=o),t.change(f)},e.prototype.beforeMapping=function(t){var e=t;if(this.sortable&&this.sort(e),this.generatePoints)for(var n=0,r=e.length;n<r;n++){var i=e[n];this.generateShapePoints(i);var o=e[n+1];o&&(this.generateShapePoints(o),i[0].nextPoints=o[0].points)}return e},e.prototype.generateShapePoints=function(t){for(var e=this.getShapeFactory(),n=this.getAttribute("shape"),r=0;r<t.length;r++){var i=t[r],o=this.createShapePointsCfg(i),a=n?this.getAttributeValues(n,i):null,s=e.getShapePoints(a,o);i.points=s}},e.prototype.normalizeValues=function(t,e){var n=[];if(s.isArray(t))for(var r=0;r<t.length;r++){var i=t[r];n.push(e.scale(i))}else n=e.scale(t);return n},e.prototype.mapping=function(t){for(var e=this.attributes,n=[],r=0;r<t.length;r++){var i=t[r],o={_origin:i[u.FIELD_ORIGIN],points:i.points,nextPoints:i.nextPoints};for(var a in e)if(e.hasOwnProperty(a)){var c=e[a],l=c.names,g=this.getAttributeValues(c,i);if(l.length>1)for(var f=0;f<g.length;f+=1){var d=g[f];o[l[f]]=s.isArray(d)&&1===d.length?d[0]:d}else o[l[0]]=1===g.length?g[0]:g}this.convertPoint(o),n.push(o)}return n},e.prototype.convertPoint=function(t){var e,n,r,i=t.x,o=t.y,a=this.coordinate;if(s.isArray(i)&&s.isArray(o)){e=[],n=[];for(var c=0,l=0,u=i.length,g=o.length;c<u&&l<g;c+=1,l+=1)r=a.convert({x:i[c],y:o[l]}),e.push(r.x),n.push(r.y)}else if(s.isArray(o)){n=[];for(var f=0;f<o.length;f++){var d=o[f];r=a.convert({x:i,y:d}),e&&e!==r.x?(s.isArray(e)||(e=[e]),e.push(r.x)):e=r.x,n.push(r.y)}}else if(s.isArray(i))for(e=[],f=0;f<i.length;f++){var h=i[f];r=a.convert({x:h,y:o}),n&&n!==r.y?(s.isArray(n)||(n=[n]),n.push(r.y)):n=r.y,e.push(r.x)}else{var p=a.convert({x:i,y:o});e=p.x,n=p.y}t.x=e,t.y=n},e.prototype.getStyleCfg=function(t,e){var n=t.fields,r=void 0===n?[]:n,i=t.callback,o=t.cfg;if(o)return o;var a=r.map((function(t){return e[t]}));return i.apply(void 0,a)},e.prototype.setCfg=function(t){var e=this,n=t.coordinate,r=t.data,i=t.theme,o=t.scaleDefs;n&&(this.coordinate=n),r&&(this.data=r),o&&(this.scaleDefs=o,this.idFields=[],s.each(o,(function(t,n){t&&t.key&&e.idFields.push(n)}))),i&&(this.theme=this.userTheme?s.deepMix({},i,this.userTheme):i)},e.prototype.renderLabels=function(t,e){void 0===e&&(e=!1);var n=this.geometryLabel;if(!n){var r=this.getLabelType();n=new(d.getGeometryLabel(r))(this),this.geometryLabel=n}n.render(t,e);var i=n.labelsRenderer.shapesMap;s.each(this.elementsMap,(function(t,e){var n=function(t,e){var n=[];return s.each(e,(function(e,r){r.split(" ")[0]===t&&n.push(e)})),n}(e,i);if(n.length){t.labelShape=n;for(var r=0;r<n.length;r++)for(var o=n[r].getChildren(),a=0;a<o.length;a++){var c=o[a];c.cfg.name=["element","label"],c.cfg.element=t}}}))},e.prototype.canDoGroupAnimation=function(t){return!t&&this.animateOption&&(void 0===s.get(this.animateOption,"appear")||s.get(this.animateOption,"appear")&&void 0===s.get(this.animateOption,["appear","animation"]))},e}(l.default);e.default=I},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(101),s=n(59),c=r.__importDefault(n(556));function l(t){var e=0;return i.each(t,(function(t){e+=t})),e/t.length}var u=function(){function t(t){this.geometry=t}return t.prototype.getLabelItems=function(t){var e=this,n=[],o=this.getLabelCfgs(t);return i.each(t,(function(t,a){var s=o[a];if(!s||i.isNil(t.x)||i.isNil(t.y))n.push(null);else{var c=i.isArray(s.content)?s.content:[s.content];s.content=c;var l=c.length;i.each(c,(function(o,a){if(i.isNil(o)||""===o)n.push(null);else{var c=r.__assign(r.__assign({},s),e.getLabelPoint(s,t,a));c.textAlign||(c.textAlign=e.getLabelAlign(c,a,l)),c.offset<=0&&(c.labelLine=null),n.push(c)}}))}})),n},t.prototype.render=function(t,e){void 0===e&&(e=!1);var n=this.getLabelItems(t),r=this.getLabelsRenderer(),i=this.getGeometryShapes();r.render(n,i,e)},t.prototype.clear=function(){var t=this.labelsRenderer;t&&t.clear()},t.prototype.destroy=function(){var t=this.labelsRenderer;t&&t.destroy(),this.labelsRenderer=null},t.prototype.getCoordinate=function(){return this.geometry.coordinate},t.prototype.getDefaultLabelCfg=function(t,e){var n=this.geometry,r=n.type,o=n.theme;return"polygon"===r||"interval"===r&&"middle"===e||t<0&&!["line","point","path"].includes(r)?i.get(o,"innerLabels",{}):i.get(o,"labels",{})},t.prototype.getThemedLabelCfg=function(t){var e=this.geometry,n=this.getDefaultLabelCfg(),r=e.type,o=e.theme;return"polygon"===r||t.offset<0&&!["line","point","path"].includes(r)?i.deepMix({},n,o.innerLabels,t):i.deepMix({},n,o.labels,t)},t.prototype.setLabelPosition=function(t,e,n,r){},t.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=this.getOffsetVector(t);return e.isTransposed?n[0]:n[1]},t.prototype.getLabelOffsetPoint=function(t,e,n){var r=t.offset,i=this.getCoordinate().isTransposed,o=i?"x":"y",a=i?1:-1,s={x:0,y:0};return s[o]=e>0||1===n?r*a:r*a*-1,s},t.prototype.getLabelPoint=function(t,e,n){var r=this.getCoordinate(),o=t.content.length;function a(e,n,r){void 0===r&&(r=!1);var o=e;return i.isArray(o)&&(o=1===t.content.length?r?l(o):o.length<=2?o[e.length-1]:l(o):o[n]),o}var c={content:t.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"},u=i.isArray(e.shape)?e.shape[0]:e.shape,g="funnel"===u||"pyramid"===u;if("polygon"===this.geometry.type){var f=s.getPolygonCentroid(e.x,e.y);c.x=f[0],c.y=f[1]}else"interval"!==this.geometry.type||g?(c.x=a(e.x,n),c.y=a(e.y,n)):(c.x=a(e.x,n,!0),c.y=a(e.y,n));if(g){var d=i.get(e,"nextPoints"),h=i.get(e,"points");if(d){var p=r.convert(h[1]),A=r.convert(d[1]);c.x=(p.x+A.x)/2,c.y=(p.y+A.y)/2}else"pyramid"===u&&(p=r.convert(h[1]),A=r.convert(h[2]),c.x=(p.x+A.x)/2,c.y=(p.y+A.y)/2)}t.position&&this.setLabelPosition(c,e,n,t.position);var C=this.getLabelOffsetPoint(t,n,o);return c.start={x:c.x,y:c.y},c.x+=C.x,c.y+=C.y,c.color=e.color,c},t.prototype.getLabelAlign=function(t,e,n){var r="center";if(this.getCoordinate().isTransposed){var i=t.offset;r=i<0?"right":0===i?"center":"left",n>1&&0===e&&("right"===r?r="left":"left"===r&&(r="right"))}return r},t.prototype.getLabelId=function(t){var e=this.geometry,n=e.type,r=e.getXScale(),i=e.getYScale(),a=t[o.FIELD_ORIGIN],s=e.getElementId(t);return"line"===n||"area"===n?s+=" "+a[r.field]:"path"===n&&(s+=" "+a[r.field]+"-"+a[i.field]),s},t.prototype.getLabelsRenderer=function(){var t=this.geometry,e=t.labelsContainer,n=t.labelOption,r=t.canvasRegion,o=t.animateOption,s=this.geometry.coordinate,l=this.labelsRenderer;return l||(l=new c.default({container:e,layout:i.get(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=l),l.region=r,l.animate=!!o&&a.getDefaultAnimateCfg("label",s),l},t.prototype.getLabelCfgs=function(t){var e=this,n=this.geometry,a=n.labelOption,s=n.scales,c=n.coordinate,l=a,u=l.fields,g=l.callback,f=l.cfg,d=u.map((function(t){return s[t]})),h=[];return i.each(t,(function(t,n){var a,s=t[o.FIELD_ORIGIN],l=e.getLabelText(s,d);if(g){var p=u.map((function(t){return s[t]}));if(a=g.apply(void 0,p),i.isNil(a))return void h.push(null)}var A=r.__assign(r.__assign({id:e.getLabelId(t),elementId:e.geometry.getElementId(t),data:s,mappingData:t,coordinate:c},f),a);i.isFunction(A.position)&&(A.position=A.position(s,t,n));var C=e.getLabelOffset(A.offset||0),v=e.getDefaultLabelCfg(C,A.position);(A=i.deepMix({},v,A)).offset=e.getLabelOffset(A.offset||0);var I=A.content;i.isFunction(I)?A.content=I(s,t,n):i.isUndefined(I)&&(A.content=l[0]),h.push(A)})),h},t.prototype.getLabelText=function(t,e){var n=[];return i.each(e,(function(e){var r=t[e.field];r=i.isArray(r)?r.map((function(t){return e.getText(t)})):e.getText(r),i.isNil(r)||""===r?n.push(null):n.push(r)})),n},t.prototype.getOffsetVector=function(t){void 0===t&&(t=0);var e=this.getCoordinate(),n=0;return i.isNumber(t)&&(n=t),e.isTransposed?e.applyMatrix(n,0):e.applyMatrix(0,n)},t.prototype.getGeometryShapes=function(){var t=this.geometry,e={};return i.each(t.elementsMap,(function(t,n){e[n]=t.shape})),i.each(t.getOffscreenGroup().getChildren(),(function(n){var r=t.getElementId(n.get("origin").mappingData);e[r]=n})),e},t}();e.default=u},function(t,e,n){"use strict";var r=n(1),i=n(29),o=n(0),a=n(17),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{container:null,containerTpl:"<div></div>",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){this.get("container").style.display="",this.set("visible",!0)},e.prototype.hide=function(){this.get("container").style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=t?"auto":"none";this.getContainer().style.pointerEvents=e,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return Object(a.b)(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");Object(a.a)(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if(Object(o.isNil)(t)){t=this.createDom();var e=this.get("parent");Object(o.isString)(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.set("container",t)}else Object(o.isString)(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?Object(o.deepMix)({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");if(n&&Object(a.h)(e,n)){var r=t[n];Object(i.modifyCSS)(e,r)}}},e.prototype.applyChildrenStyles=function(t,e){Object(o.each)(e,(function(e,n){var r=t.getElementsByClassName(n);Object(o.each)(r,(function(t){Object(i.modifyCSS)(t,e)}))}))},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");Object(i.modifyCSS)(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return Object(i.createDom)(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){Object(o.hasKey)(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(n(130).a);e.a=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getConstraint=e.getShapeAttrs=void 0;var r=n(0),i=n(246),o=n(53),a=n(154);function s(t,e,n,i,o){var s=[];if(t.length){for(var c=[],l=[],u=0,g=t.length;u<g;u++){var f=t[u];c.push(f[1]),l.push(f[0])}l=l.reverse(),r.each([c,l],(function(t,r){var u=[],g=i.parsePoints(t),f=g[0];1===c.length&&1===l.length?u=0===r?[["M",f.x-.5,f.y],["L",f.x+.5,f.y]]:[["L",f.x+.5,f.y],["L",f.x-.5,f.y]]:(e&&g.push({x:f.x,y:f.y}),u=n?a.getSplinePath(g,!1,o):a.getLinePath(g,!1),r>0&&(u[0][0]="L")),s=s.concat(u)})),s.push(["Z"])}return s}e.getShapeAttrs=function(t,e,n,r,a){for(var c=o.getStyle(t,e,!e,"lineWidth"),l=t.connectNulls,u=t.isInCircle,g=t.points,f=t.showSinglePoint,d=i.getPathPoints(g,l,f),h=[],p=0,A=d.length;p<A;p++){var C=d[p];h=h.concat(s(C,u,n,r,a))}return c.path=h,c},e.getConstraint=function(t){var e=t.start,n=t.end;return[[e.x,n.y],[n.x,e.y]]}},function(t,e,n){"use strict";e.a=function(t,e,n,r,i){for(var o,a=t.children,s=-1,c=a.length,l=t.value&&(i-n)/t.value;++s<c;)(o=a[s]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*l}},function(t,e,n){"use strict";function r(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function o(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"===typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){c=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"===typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"c",(function(){return h})),n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return I}));var l,u,g,f=i.mark(d);function d(){var t,e,n,r,o,a;return i.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:n=[t=this];case 1:e=n.reverse(),n=[];case 2:if(!(t=e.pop())){i.next=8;break}return i.next=5,t;case 5:if(r=t.children)for(o=0,a=r.length;o<a;++o)n.push(r[o]);i.next=2;break;case 8:if(n.length){i.next=1;break}case 9:case"end":return i.stop()}}),f,this)}function h(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=A)):void 0===e&&(e=p);for(var n,r,i,o,a,s=new I(t),c=[s];n=c.pop();)if((i=e(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)c.push(r=i[o]=new I(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(v)}function p(t){return t.children}function A(t){return Array.isArray(t)?t[1]:null}function C(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function v(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function I(t){this.data=t,this.depth=this.height=0,this.parent=null}I.prototype=h.prototype=(l={constructor:I,count:function(){return this.eachAfter(r)},each:function(t,e){var n,r=-1,i=o(this);try{for(i.s();!(n=i.n()).done;){var a=n.value;t.call(e,a,++r,this)}}catch(s){i.e(s)}finally{i.f()}return this},eachAfter:function(t,e){for(var n,r,i,o=this,a=[o],s=[],c=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=s.pop();)t.call(e,o,++c,this);return this},eachBefore:function(t,e){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(t.call(e,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(t,e){var n,r=-1,i=s(this);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(t.call(e,o,++r,this))return o}}catch(a){i.e(a)}finally{i.f()}},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return h(this).eachBefore(C)}},u=Symbol.iterator,g=d,u in l?Object.defineProperty(l,u,{value:g,enumerable:!0,configurable:!0,writable:!0}):l[u]=g,l)},function(t,e){function n(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));var r=0,i=.5,o=.5,a=.05},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Controller=void 0;var r=n(0),i=function(){function t(t){this.visible=!0,this.components=[],this.view=t}return t.prototype.clear=function(t){r.each(this.components,(function(t){t.component.destroy()})),this.components=[]},t.prototype.destroy=function(){this.clear()},t.prototype.getComponents=function(){return this.components},t.prototype.changeVisible=function(t){this.visible!==t&&(this.components.forEach((function(e){t?e.component.show():e.component.hide()})),this.visible=t)},t}();e.Controller=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Facet=void 0;var r=n(0),i=n(27),o=n(235),a=function(){function t(t,e){this.destroyed=!1,this.facets=[],this.view=t,this.cfg=r.deepMix({},this.getDefaultCfg(),e)}return t.prototype.init=function(){this.container||(this.container=this.createContainer());var t=this.view.getData();this.facets=this.generateFacets(t)},t.prototype.render=function(){this.renderViews()},t.prototype.update=function(){},t.prototype.clear=function(){this.clearFacetViews()},t.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},t.prototype.facetToView=function(t){var e=t.region,n=t.data,r=t.padding,i=void 0===r?this.cfg.padding:r,o=this.view.createView({region:e,padding:i});o.data(n||[]),t.view=o,this.beforeEachView(o,t);var a=this.cfg.eachView;return a&&a(o,t),this.afterEachView(o,t),o},t.prototype.createContainer=function(){return this.view.getLayer(i.LAYER.FORE).addGroup()},t.prototype.renderViews=function(){this.createFacetViews()},t.prototype.createFacetViews=function(){var t=this;return this.facets.map((function(e){return t.facetToView(e)}))},t.prototype.clearFacetViews=function(){var t=this;r.each(this.facets,(function(e){e.view&&(t.view.removeView(e.view),e.view=void 0)}))},t.prototype.getFieldValues=function(t,e){var n=[],i={};return r.each(t,(function(t){var o=t[e];r.isNil(o)||i[o]||(n.push(o),i[o]=!0)})),n},t.prototype.getRegion=function(t,e,n,r){var i=1/(0===e?1:e),o=1/(0===t?1:t);return{start:{x:i*n,y:o*r},end:{x:i*(n+1),y:o*(r+1)}}},t.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,padding:10,fields:[]}},t.prototype.getDefaultTitleCfg=function(){return{style:{fontSize:14,fill:"#666",fontFamily:this.view.getTheme().fontFamily}}},t.prototype.processAxis=function(t,e){var n=t.getOptions(),i=n.coordinate,a=t.geometries;if("rect"===r.get(i,"type","rect")&&a.length){r.isNil(n.axes)&&(n.axes={});var s=n.axes,c=a[0].getXYFields(),l=c[0],u=c[1],g=o.getAxisOption(s,l),f=o.getAxisOption(s,u);!1!==g&&(n.axes[l]=this.getXAxisOption(l,s,g,e)),!1!==f&&(n.axes[u]=this.getYAxisOption(u,s,f,e))}},t.prototype.getFacetDataFilter=function(t){return function(e){return r.every(t,(function(t){var n=t.field,i=t.value;return!(!r.isNil(i)&&n)||e[n]===i}))}},t}();e.Facet=a},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return s}));var r=n(31),i=n(184);function o(t,e,n){var i=1;return Object(r.h)(t)&&(i=t.split("\n").length),i>1?e*i+function(t,e){return e?e-t:.14*t}(e,n)*(i-1):e}function a(t,e){var n=Object(i.a)(),o=0;if(Object(r.e)(t)||""===t)return o;if(n.save(),n.font=e,Object(r.h)(t)&&t.includes("\n")){var a=t.split("\n");Object(r.a)(a,(function(t){var e=n.measureText(t).width;o<e&&(o=e)}))}else o=n.measureText(t).width;return n.restore(),o}function s(t){var e=t.fontSize,n=t.fontFamily,r=t.fontWeight;return[t.fontStyle,t.fontVariant,r,e+"px",n].join(" ").trim()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createThemeByStyleSheet=void 0;var r=n(1),i=n(176),o=n(15),a=n(0),s=n(59);e.createThemeByStyleSheet=function(t){var e,n={point:{default:{fill:t.pointFillColor,r:t.pointSize,stroke:t.pointBorderColor,lineWidth:t.pointBorder,fillOpacity:t.pointFillOpacity},active:{stroke:t.pointActiveBorderColor,lineWidth:t.pointActiveBorder},selected:{stroke:t.pointSelectedBorderColor,lineWidth:t.pointSelectedBorder},inactive:{fillOpacity:t.pointInactiveFillOpacity,strokeOpacity:t.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:t.hollowPointFillColor,lineWidth:t.hollowPointBorder,stroke:t.hollowPointBorderColor,strokeOpacity:t.hollowPointBorderOpacity,r:t.hollowPointSize},active:{stroke:t.hollowPointActiveBorderColor,strokeOpacity:t.hollowPointActiveBorderOpacity},selected:{lineWidth:t.hollowPointSelectedBorder,stroke:t.hollowPointSelectedBorderColor,strokeOpacity:t.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:t.hollowPointInactiveBorderOpacity}},area:{default:{fill:t.areaFillColor,fillOpacity:t.areaFillOpacity,stroke:null},active:{fillOpacity:t.areaActiveFillOpacity},selected:{fillOpacity:t.areaSelectedFillOpacity},inactive:{fillOpacity:t.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:t.hollowAreaBorderColor,lineWidth:t.hollowAreaBorder,strokeOpacity:t.hollowAreaBorderOpacity},active:{fill:null,lineWidth:t.hollowAreaActiveBorder},selected:{fill:null,lineWidth:t.hollowAreaSelectedBorder},inactive:{strokeOpacity:t.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:t.intervalFillColor,fillOpacity:t.intervalFillOpacity},active:{stroke:t.intervalActiveBorderColor,lineWidth:t.intervalActiveBorder},selected:{stroke:t.intervalSelectedBorderColor,lineWidth:t.intervalSelectedBorder},inactive:{fillOpacity:t.intervalInactiveFillOpacity,strokeOpacity:t.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:t.hollowIntervalFillColor,stroke:t.hollowIntervalBorderColor,lineWidth:t.hollowIntervalBorder,strokeOpacity:t.hollowIntervalBorderOpacity},active:{stroke:t.hollowIntervalActiveBorderColor,lineWidth:t.hollowIntervalActiveBorder,strokeOpacity:t.hollowIntervalActiveBorderOpacity},selected:{stroke:t.hollowIntervalSelectedBorderColor,lineWidth:t.hollowIntervalSelectedBorder,strokeOpacity:t.hollowIntervalSelectedBorderOpacity},inactive:{stroke:t.hollowIntervalInactiveBorderColor,lineWidth:t.hollowIntervalInactiveBorder,strokeOpacity:t.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:t.lineBorderColor,lineWidth:t.lineBorder,strokeOpacity:t.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:t.lineActiveBorder},selected:{lineWidth:t.lineSelectedBorder},inactive:{strokeOpacity:t.lineInactiveBorderOpacity}}},c=function(t){return{title:{autoRotate:!0,position:"center",spacing:t.axisTitleSpacing,style:{fill:t.axisTitleTextFillColor,fontSize:t.axisTitleTextFontSize,lineHeight:t.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:t.axisLabelOffset,style:{fill:t.axisLabelFillColor,fontSize:t.axisLabelFontSize,lineHeight:t.axisLabelLineHeight,fontFamily:t.fontFamily}},line:{style:{lineWidth:t.axisLineBorder,stroke:t.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:t.axisGridBorderColor,lineWidth:t.axisGridBorder,lineDash:t.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:t.axisTickLineBorder,stroke:t.axisTickLineBorderColor},alignTick:!0,length:t.axisTickLineLength},subTickLine:null,animate:!0}}(t),l=function(t){return{title:null,marker:{symbol:"circle",spacing:t.legendMarkerSpacing,style:{r:t.legendCircleMarkerSize,fill:t.legendMarkerColor}},itemName:{spacing:5,style:{fill:t.legendItemNameFillColor,fontFamily:t.fontFamily,fontSize:t.legendItemNameFontSize,lineHeight:t.legendItemNameLineHeight,fontWeight:t.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},flipPage:!0,animate:!1,maxItemWidth:200,itemSpacing:t.legendItemSpacing,itemMarginBottom:t.legendItemMarginBottom,padding:t.legendPadding}}(t);return{background:t.backgroundColor,defaultColor:t.brandColor,padding:"auto",fontFamily:t.fontFamily,columnWidthRatio:.5,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:t.paletteQualitative10,colors20:t.paletteQualitative20,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:function(t){var e=t.geometry.coordinate;if(e.isPolar&&e.isTransposed){var r=s.getAngle(t.getModel(),e),i=(r.startAngle+r.endAngle)/2,a=7.5*Math.cos(i),c=7.5*Math.sin(i);return{matrix:o.ext.transform(null,[["t",a,c]])}}return n.interval.selected}}},"hollow-rect":{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},line:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},tick:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},funnel:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}},pyramid:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},line:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},dot:{default:{style:r.__assign(r.__assign({},n.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:r.__assign(r.__assign({},n.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:r.__assign(r.__assign({},n.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:r.__assign(r.__assign({},n.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:r.__assign(r.__assign({},n.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:r.__assign(r.__assign({},n.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:r.__assign(r.__assign({},n.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:r.__assign(r.__assign({},n.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},hvh:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}},polygon:{polygon:{default:{style:n.interval.default},active:{style:n.interval.active},inactive:{style:n.interval.inactive},selected:{style:n.interval.selected}}},point:{circle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},square:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},bowtie:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},diamond:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},hexagon:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},triangle:{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"triangle-down":{default:{style:n.point.default},active:{style:n.point.active},inactive:{style:n.point.inactive},selected:{style:n.point.selected}},"hollow-circle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-square":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-bowtie":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-diamond":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-hexagon":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},"hollow-triangle-down":{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},cross:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},tick:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},plus:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},hyphen:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}},line:{default:{style:n.hollowPoint.default},active:{style:n.hollowPoint.active},inactive:{style:n.hollowPoint.inactive},selected:{style:n.hollowPoint.selected}}},area:{area:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},smooth:{default:{style:n.area.default},active:{style:n.area.active},inactive:{style:n.area.inactive},selected:{style:n.area.selected}},line:{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}},"smooth-line":{default:{style:n.hollowArea.default},active:{style:n.hollowArea.active},inactive:{style:n.hollowArea.inactive},selected:{style:n.hollowArea.selected}}},schema:{candle:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}},box:{default:{style:n.hollowInterval.default},active:{style:n.hollowInterval.active},inactive:{style:n.hollowInterval.inactive},selected:{style:n.hollowInterval.selected}}},edge:{line:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},vhv:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},smooth:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}},arc:{default:{style:n.line.default},active:{style:n.line.active},inactive:{style:n.line.inactive},selected:{style:n.line.selected}}}},components:{axis:{common:c,top:a.deepMix({},c,{position:"top",grid:null,title:null,verticalLimitLength:.5}),bottom:a.deepMix({},c,{position:"bottom",grid:null,title:null,verticalLimitLength:.5}),left:a.deepMix({},c,{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3}),right:a.deepMix({},c,{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3}),circle:a.deepMix({},c,{title:null,grid:a.deepMix({},c.grid,{line:{type:"line"}})}),radius:a.deepMix({},c,{title:null,grid:a.deepMix({},c.grid,{line:{type:"circle"}})})},legend:{common:l,right:a.deepMix({},l,{layout:"vertical",padding:t.legendVerticalPadding}),left:a.deepMix({},l,{layout:"vertical",padding:t.legendVerticalPadding}),top:a.deepMix({},l,{layout:"horizontal",padding:t.legendHorizontalPadding}),bottom:a.deepMix({},l,{layout:"horizontal",padding:t.legendHorizontalPadding}),continuous:{title:null,background:null,track:{},rail:{type:"color",size:t.sliderRailHeight,defaultLength:t.sliderRailWidth,style:{fill:t.sliderRailFillColor,stroke:t.sliderRailBorderColor,lineWidth:t.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:t.sliderLabelTextFillColor,fontSize:t.sliderLabelTextFontSize,lineHeight:t.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:t.fontFamily}},handler:{size:t.sliderHandlerWidth,style:{fill:t.sliderHandlerFillColor,stroke:t.sliderHandlerBorderColor}},slidable:!0,padding:l.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffSetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:t.tooltipCrosshairsBorderColor,lineWidth:t.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:(e={},e[""+i.TOOLTIP_CSS_CONST.CONTAINER_CLASS]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:t.tooltipContainerFillColor,opacity:t.tooltipContainerFillOpacity,boxShadow:t.tooltipContainerShadow,borderRadius:t.tooltipContainerBorderRadius+"px",color:t.tooltipTextFillColor,fontSize:t.tooltipTextFontSize+"px",fontFamily:t.fontFamily,lineHeight:t.tooltipTextLineHeight+"px",padding:"0 12px 0 12px"},e[""+i.TOOLTIP_CSS_CONST.TITLE_CLASS]={marginBottom:"12px",marginTop:"12px"},e[""+i.TOOLTIP_CSS_CONST.LIST_CLASS]={margin:0,listStyleType:"none",padding:0},e[""+i.TOOLTIP_CSS_CONST.LIST_ITEM_CLASS]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e[""+i.TOOLTIP_CSS_CONST.MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e[""+i.TOOLTIP_CSS_CONST.VALUE_CLASS]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:t.annotationArcBorderColor,lineWidth:t.annotationArcBorder},animate:!0},line:{style:{stroke:t.annotationLineBorderColor,lineDash:t.annotationLineDash,lineWidth:t.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textAlign:"start",fontFamily:t.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:t.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:t.annotationRegionBorder,stroke:t.annotationRegionBorderColor,fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:t.brandColor,lineWidth:2}},line:{style:{stroke:t.annotationLineBorderColor,lineWidth:t.annotationLineBorder},length:t.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:t.annotationRegionFillColor,fillOpacity:t.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:t.annotationTextFillColor,stroke:t.annotationTextBorderColor,lineWidth:t.annotationTextBorder,fontSize:t.annotationTextFontSize,fontFamily:t.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8]}},scrollbar:{common:{padding:[8,8,8,8]}}},labels:{offset:12,style:{fill:t.labelFillColor,fontSize:t.labelFontSize,fontFamily:t.fontFamily,stroke:t.labelBorderColor,lineWidth:t.labelBorder},fillColorDark:t.labelFillColorDark,fillColorLight:t.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:t.innerLabelFillColor,fontSize:t.innerLabelFontSize,fontFamily:t.fontFamily,stroke:t.innerLabelBorderColor,lineWidth:t.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:t.overflowLabelFillColor,fontSize:t.overflowLabelFontSize,fontFamily:t.fontFamily,stroke:t.overflowLabelBorderColor,lineWidth:t.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:t.labelLineBorder}},autoRotate:!0}}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));var r=n(91),i=n(106),o=(1+Math.sqrt(5))/2;function a(t,e,n,o,a,s){for(var c,l,u,g,f,d,h,p,A,C,v,I=[],y=e.children,m=0,b=0,x=y.length,w=e.value;m<x;){u=a-n,g=s-o;do{f=y[b++].value}while(!f&&b<x);for(d=h=f,v=f*f*(C=Math.max(g/u,u/g)/(w*t)),A=Math.max(h/v,v/d);b<x;++b){if(f+=l=y[b].value,l<d&&(d=l),l>h&&(h=l),v=f*f*C,(p=Math.max(h/v,v/d))>A){f-=l;break}A=p}I.push(c={value:f,dice:u<g,children:y.slice(m,b)}),c.dice?Object(r.a)(c,n,o,a,w?o+=g*f/w:s):Object(i.a)(c,n,o,w?n+=u*f/w:a,s),w-=f,m=b}return I}e.a=function t(e){function n(t,n,r,i,o){a(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(o)},function(t,e,n){"use strict";n.d(e,"getAdjust",(function(){return i})),n.d(e,"registerAdjust",(function(){return o})),n(76),n(175);var r={},i=function(t){return r[t.toLowerCase()]},o=function(t,e){if(i(t))throw new Error("Adjust type '"+t+"' existed.");r[t.toLowerCase()]=e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n(62),i=n(40);function o(t,e){e.forEach((function(e){e.draw(t)}))}function a(t,e){var n=t.get("canvas");if(n&&n.get("autoDraw")){var o=n.get("context"),a=t.getParent(),s=a?a.getChildren():[n],c=t.get("el");if("remove"===e)if(t.get("isClipShape")){var l=c&&c.parentNode,u=l&&l.parentNode;l&&u&&u.removeChild(l)}else c&&c.parentNode&&c.parentNode.removeChild(c);else if("show"===e)c.setAttribute("visibility","visible");else if("hide"===e)c.setAttribute("visibility","hidden");else if("zIndex"===e)Object(i.c)(c,s.indexOf(t));else if("sort"===e){var g=t.get("children");g&&g.length&&Object(i.d)(t,(function(t,e){return g.indexOf(t)-g.indexOf(e)?1:0}))}else"clear"===e?c&&(c.innerHTML=""):"matrix"===e?Object(r.c)(t):"clip"===e?Object(r.a)(t,o):"attr"===e||"add"===e&&t.draw(o)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={};e.default=function(t){return r[t=t||"g"]?r[t]+=1:r[t]=1,t+r[t]}},function(t,e,n){"use strict";function r(t){return null==t?null:i(t)}function i(t){if("function"!==typeof t)throw new Error;return t}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0);function i(t,e,n){var i=e+"Style",o=null;return Object(r.each)(n,(function(e,n){t[n]&&e[i]&&(o||(o={}),Object(r.mix)(o,e[i]))})),o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(544);Object.defineProperty(e,"Chart",{enumerable:!0,get:function(){return r.default}});var i=n(339);Object.defineProperty(e,"View",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"registerGeometry",{enumerable:!0,get:function(){return i.registerGeometry}});var o=n(240);Object.defineProperty(e,"Event",{enumerable:!0,get:function(){return o.default}});var a=n(342);Object.defineProperty(e,"registerComponentController",{enumerable:!0,get:function(){return a.registerComponentController}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkShapeOverlap=e.getOverlapArea=e.getlLabelBackgroundInfo=e.findLabelTextShape=void 0;var r=n(0),i=n(122);function o(t,e,n){return void 0===n&&(n=0),Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n))*Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n))}e.findLabelTextShape=function(t){return t.find((function(t){return"text"===t.get("type")}))},e.getlLabelBackgroundInfo=function(t,e,n){void 0===n&&(n=[0,0,0,0]);var o=t.getChildren()[0];if(o){var a=o.clone();e.rotate&&i.rotate(a,-e.rotate);var s=a.getCanvasBBox(),c=s.x,l=s.y,u=s.width,g=s.height;a.destroy();var f=n;return r.isNil(f)?f=[2,2,2,2]:r.isNumber(f)&&(f=new Array(4).fill(f)),{x:c-f[3],y:l-f[0],width:u+f[1]+f[3],height:g+f[0]+f[2],rotation:e.rotate||0}}},e.getOverlapArea=o,e.checkShapeOverlap=function(t,e){var n=t.getBBox();return r.some(e,(function(t){var e=t.getBBox();return o(n,e,2)>0}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zoom=e.getIdentityMatrix=e.rotate=e.getRotateMatrix=e.translate=e.transform=void 0;var r=n(15).ext.transform;function i(t,e){var n=t.attr(),i=n.x,o=n.y;return r(t.getMatrix(),[["t",-i,-o],["r",e],["t",i,o]])}e.transform=r,e.translate=function(t,e,n){var i=r(t.getMatrix(),[["t",e,n]]);t.setMatrix(i)},e.getRotateMatrix=i,e.rotate=function(t,e){var n=i(t,e);t.setMatrix(n)},e.getIdentityMatrix=function(){return[1,0,0,0,1,0,0,0,1]},e.zoom=function(t,e){var n=t.getBBox(),i=(n.minX+n.maxX)/2,o=(n.minY+n.maxY)/2;t.applyToMatrix([i,o,1]);var a=r(t.getMatrix(),[["t",-i,-o],["s",e,e],["t",i,o]]);t.setMatrix(a)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAnglePoint=e.getFactTitleConfig=void 0;var r=n(27);e.getFactTitleConfig=function(t){return[r.DIRECTION.TOP,r.DIRECTION.BOTTOM].includes(t)?{offsetX:0,offsetY:t===r.DIRECTION.TOP?-8:8,style:{textAlign:"center",textBaseline:t===r.DIRECTION.TOP?"bottom":"top"}}:[r.DIRECTION.LEFT,r.DIRECTION.RIGHT].includes(t)?{offsetX:t===r.DIRECTION.LEFT?-8:8,offsetY:0,style:{textAlign:t===r.DIRECTION.LEFT?"right":"left",textBaseline:"middle",rotate:Math.PI/2}}:{}},e.getAnglePoint=function(t,e,n){return{x:t.x+e*Math.cos(n),y:t.y+e*Math.sin(n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={}.toString;e.default=function(t,e){return r.call(t)==="[object "+e+"]"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTinyData=void 0;var r=n(0);e.getTinyData=function(t){return r.map(t||[],(function(t,e){return{x:""+e,y:t}}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PLOYGON_Y=e.PLOYGON_X=e.FUNNEL_TOTAL_PERCENT=e.FUNNEL_CONVERSATION=e.FUNNEL_MAPPING_VALUE=e.FUNNEL_PERCENT=void 0,e.FUNNEL_PERCENT="$$percentage$$",e.FUNNEL_MAPPING_VALUE="$$mappingValue$$",e.FUNNEL_CONVERSATION="$$conversion$$",e.FUNNEL_TOTAL_PERCENT="$$totalPercentage$$",e.PLOYGON_X="$$x$$",e.PLOYGON_Y="$$y$$"},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(4),i=n.n(r),o=n(84);function a(){return i.a.useContext(o.a).chart}},function(t,e,n){"use strict";n.r(e);var r=function(){function t(){this._events={}}return t.prototype.on=function(t,e,n){return this._events[t]||(this._events[t]=[]),this._events[t].push({callback:e,once:!!n}),this},t.prototype.once=function(t,e){return this.on(t,e,!0),this},t.prototype.emit=function(t){for(var e=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=this._events[t]||[],o=this._events["*"]||[],a=function(r){for(var i=r.length,o=0;o<i;o++)if(r[o]){var a=r[o],s=a.callback;a.once&&(r.splice(o,1),0===r.length&&delete e._events[t],i--,o--),s.apply(e,n)}};a(i),a(o)},t.prototype.off=function(t,e){if(t)if(e){for(var n=this._events[t]||[],r=n.length,i=0;i<r;i++)n[i].callback===e&&(n.splice(i,1),r--,i--);0===n.length&&delete this._events[t]}else delete this._events[t];else this._events={};return this},t.prototype.getEvents=function(){return this._events},t}();e.default=r},function(t,e,n){"use strict";n.r(e);var r=n(0),i=/rgba?\(([\s.,0-9]+)\)/,o=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,a=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,c=function(t,e,n,r){return t[r]+(e[r]-t[r])*n};function l(t){return"#"+f(t[0])+f(t[1])+f(t[2])}var u,g=function(t){return[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)]},f=function(t){var e=Math.round(t).toString(16);return 1===e.length?"0"+e:e},d=function(t){if("#"===t[0]&&7===t.length)return t;u||(u=function(){var t=document.createElement("i");return t.title="Web Colour Picker",t.style.display="none",document.body.appendChild(t),t}()),u.style.color=t;var e=document.defaultView.getComputedStyle(u,"").getPropertyValue("color");return e=l(i.exec(e)[1].split(/\s*,\s*/).map((function(t){return Number(t)})))};e.default={rgb2arr:g,gradient:function(t){var e=Object(r.isString)(t)?t.split("-"):t,n=Object(r.map)(e,(function(t){return g(-1===t.indexOf("#")?d(t):t)}));return function(t){return function(t,e){var n=isNaN(Number(e))||e<0?0:e>1?1:Number(e),r=t.length-1,i=Math.floor(r*n),o=r*n-i,a=t[i],s=i===r?a:t[i+1];return l([c(a,s,o,0),c(a,s,o,1),c(a,s,o,2)])}(n,t)}},toRGB:Object(r.memoize)(d),toCSSGradient:function(t){if(/^[r,R,L,l]{1}[\s]*\(/.test(t)){var e,n=void 0;if("l"===t[0]){var i=+(c=o.exec(t))[1]+90;n=c[2],e="linear-gradient("+i+"deg, "}else if("r"===t[0]){var c;e="radial-gradient(",n=(c=a.exec(t))[4]}var l=n.match(s);return Object(r.each)(l,(function(t,n){var r=t.split(":");e+=r[1]+" "+100*r[0]+"%",n!==l.length-1&&(e+=", ")})),e+=")"}return t}}},function(t,e,n){"use strict";var r=n(1),i=n(24),o=n(0),a={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},s=function(t){function e(e){var n=t.call(this,e)||this;return n.initCfg(),n}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var e=this,n=this.get("defaultCfg");Object(o.each)(t,(function(t,r){var i=t;e.get(r)!==t&&(Object(o.isObject)(t)&&n[r]&&(i=Object(o.deepMix)({},n[r],t)),e.set(r,i))})),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){Object(o.hasKey)(t,"visible")&&(t.visible?this.show():this.hide()),Object(o.hasKey)(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,e){this.update({offsetX:t,offsetY:e})},e.prototype.setLocation=function(t){var e=Object(r.__assign)({},t);this.update(e)},e.prototype.getLocation=function(){var t=this,e={},n=this.get("locationType"),r=a[n];return Object(o.each)(r,(function(n){e[n]=t.get(n)})),e},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,e=this.get("defaultCfg");Object(o.each)(e,(function(e,n){var r=t.get(n);if(Object(o.isObject)(r)){var i=Object(o.deepMix)({},e,r);t.set(n,i)}}))},e}(i.Base);e.a=s},function(t,e,n){"use strict";var r=n(1),i=n(24),o=n(97),a=n(45),s=n(0),c=n(23),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.onCanvasChange=function(t){Object(a.h)(this,t)},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),Object(a.a)(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];Object(s.each)(t,(function(t){var r=t.cfg.cacheCanvasBBox;r&&t.cfg.isInView&&(e.push(r.minX,r.maxX),n.push(r.minY,r.maxY))}));var r=null;if(e.length){var i=Math.min.apply(null,e),o=Math.max.apply(null,e),a=Math.min.apply(null,n),l=Math.max.apply(null,n);r={minX:i,minY:a,x:i,y:a,maxX:o,maxY:l,width:o-i,height:l-a};var u=this.cfg.canvas;if(u){var g=u.getViewRange();this.set("isInView",Object(c.f)(r,g))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},e.prototype.draw=function(t,e){var n=this.cfg.children,r=!e||this.cfg.refresh;n.length&&r&&(t.save(),Object(a.a)(t,this),this._applyClip(t,this.getClip()),Object(a.d)(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(i.AbstractGroup);e.a=l},function(t,e,n){"use strict";var r=n(1),i=n(24),o=n(0),a=n(138),s=n(116),c=n(62),l=n(22),u=n(40),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.isEntityGroup=function(){return!0},e.prototype.createDom=function(){var t=Object(u.b)("g");this.set("el",t);var e=this.getParent();if(e){var n=e.get("el");n||(n=e.createDom(),e.set("el",n)),n.appendChild(t)}return t},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.createPath(r,e)}},e.prototype.onCanvasChange=function(t){Object(s.b)(this,t)},e.prototype.getShapeBase=function(){return a},e.prototype.getGroupBase=function(){return e},e.prototype.draw=function(t){var e=this.getChildren(),n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||this.createDom(),Object(c.a)(this,t),this.createPath(t),e.length&&Object(s.a)(t,e))},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(o.each)(e||n,(function(t,e){l.b[e]&&r.setAttribute(l.b[e],t)})),Object(c.c)(this)},e}(i.AbstractGroup);e.a=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return r.__extends(e,t),e.prototype.show=function(){var t=this.context,e=t.event,n=t.view;if(!n.isTooltipLocked()){var r=this.timeStamp,o=+new Date;if(o-r>i.get(t.view.getOptions(),"tooltip.showDelay",16)){var a=this.location,s={x:e.x,y:e.y};a&&i.isEqual(a,s)||this.showTooltip(n,s),this.timeStamp=o,this.location=s}}},e.prototype.hide=function(){var t=this.context.view,e=t.getController("tooltip"),n=this.context.event,r=n.clientX,i=n.clientY;e.isCursorEntered({x:r,y:i})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,e){t.showTooltip(e)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(r.__importDefault(n(56)).default);e.default=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l),g=n(272),f=n.n(g),d=n(50),h=n(7);function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}n(248),Object(h.registerGeometry)("Area",f.a);var A=function(t){a()(n,t);var e=p(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).GemoBaseClassName="area",t}return n}(d.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l),g=n(276),f=n.n(g),d=(n(250),n(50)),h=n(7);function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}Object(h.registerGeometry)("Line",f.a);var A=function(t){a()(n,t);var e=p(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).GemoBaseClassName="line",t}return n}(d.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l),g=n(277),f=n.n(g),d=n(50),h=n(7);function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}n(358),n(359),n(360),Object(h.registerGeometry)("Point",f.a);var A=function(t){a()(n,t);var e=p(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).GemoBaseClassName="point",t}return n}(d.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return l}));var r=n(1),i=n(0),o=n(2);function a(t){var e={overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",display:"flex",justifyContent:"center",alignItems:"center"},n=["stroke","lineWidth","shadowColor","strokeOpacity","shadowBlur","shadowOffsetX","shadowOffsetY","fill"];Object(i.get)(t,"fill")&&(e.color=t.fill);var r=Object(o.k)(t,n),a=r.shadowColor,s=r.shadowBlur,c=void 0===s?0:s,l=r.shadowOffsetX,u=void 0===l?0:l,g=r.shadowOffsetY,f=void 0===g?0:g;e["text-shadow"]=""+[a,u+"px",f+"px",c+"px"].join(" ");var d=Object(o.k)(t,n),h=d.stroke,p=d.lineWidth,A=void 0===p?0:p;return e["-webkit-text-stroke"]=""+[A+"px",h].join(" "),Object(i.each)(t,(function(t,r){["fontSize"].includes(r)&&Object(i.isNumber)(t)?e[Object(o.i)(r)]=t+"px":r&&!n.includes(r)&&(e[Object(o.i)(r)]=""+t)})),e}function s(t,e){t.style["pointer-events"]="none",Object(i.each)(e,(function(e,n){n&&e&&(t.style[n]=e)}))}var c=function(t,e,n){var c=e.statistic,l=e.plotType,u=c.title,g=c.content;[u,g].forEach((function(e,c){if(e){var f="",d="";d=0===c?g?"translate(-50%, -100%)":"translate(-50%, -50%)":u?"translate(-50%, 0)":"translate(-50%, -50%)";var h=Object(i.isFunction)(e.style)?e.style(n):e.style;t.annotation().html(Object(r.__assign)({position:["50%","50%"],html:function(t,o){var c=o.getCoordinate(),u=0;if("pie"===l||"ring-progress"===l)u=c.getRadius()*c.innerRadius*2;else if("liquid"===l){var g=Object(i.get)(o.geometries,[0,"elements",0,"shape"]);g&&(u=g.find((function(t){return"circle"===t.get("type")})).getCanvasBBox().width)}else u||(u=c.getWidth());s(t,Object(r.__assign)({width:u+"px",transform:d},a(h)));var p=o.getData();return e.customHtml?e.customHtml(t,o,n,p):(e.formatter&&(f=e.formatter(n,p)),f?Object(i.isString)(f)?f:""+f:"<div></div>")},key:(0===c?"top":"bottom")+"-statistic"},Object(o.k)(e,["offsetX","offsetY","rotate","style","formatter"])))}}))},l=function(t,e,n){var c=e.statistic;[c.title,c.content].forEach((function(e){if(e){var c="",l=Object(i.isFunction)(e.style)?e.style(n):e.style;t.annotation().html(Object(r.__assign)({position:["50%","100%"],html:function(t,o){var u=o.getCoordinate(),g=o.views[0].getCoordinate(),f=g.getCenter(),d=g.getRadius(),h=Math.max(Math.sin(g.startAngle),Math.sin(g.endAngle))*d,p=f.y+h-u.y.start-parseFloat(Object(i.get)(l,"fontSize",0)),A=u.getRadius()*u.innerRadius*2;s(t,Object(r.__assign)({width:A+"px",transform:"translate(-50%, "+p+"px)"},a(l)));var C=o.getData();return e.customHtml?e.customHtml(t,o,n,C):(e.formatter&&(c=e.formatter(n,C)),c?Object(i.isString)(c)?c:""+c:"<div></div>")}},Object(o.k)(e,["offsetX","offsetY","rotate","style","formatter"])))}}))}},function(t,e,n){"use strict";n.r(e),n.d(e,"Base",(function(){return g})),n.d(e,"Circle",(function(){return d})),n.d(e,"Dom",(function(){return h})),n.d(e,"Ellipse",(function(){return p})),n.d(e,"Image",(function(){return A})),n.d(e,"Line",(function(){return v})),n.d(e,"Marker",(function(){return m})),n.d(e,"Path",(function(){return b})),n.d(e,"Polygon",(function(){return x})),n.d(e,"Polyline",(function(){return w})),n.d(e,"Rect",(function(){return O})),n.d(e,"Text",(function(){return E}));var r={};n.r(r),n.d(r,"Base",(function(){return g})),n.d(r,"Circle",(function(){return d})),n.d(r,"Dom",(function(){return h})),n.d(r,"Ellipse",(function(){return p})),n.d(r,"Image",(function(){return A})),n.d(r,"Line",(function(){return v})),n.d(r,"Marker",(function(){return m})),n.d(r,"Path",(function(){return b})),n.d(r,"Polygon",(function(){return x})),n.d(r,"Polyline",(function(){return w})),n.d(r,"Rect",(function(){return O})),n.d(r,"Text",(function(){return E}));var i=n(1),o=n(24),a=n(62),s=n(40),c=n(116),l=n(22),u=n(132),g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="svg",e.canFill=!1,e.canStroke=!1,e}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.draw(r,e)}},e.prototype.getShapeBase=function(){return r},e.prototype.getGroupBase=function(){return u.a},e.prototype.onCanvasChange=function(t){Object(c.b)(this,t)},e.prototype.calculateBBox=function(){var t=this.get("el"),e=null;if(t)e=t.getBBox();else{var n=Object(o.getBBoxMethod)(this.get("type"));n&&(e=n(this))}if(e){var r=e.x,i=e.y,a=e.width,s=e.height,c=this.getHitLineWidth(),l=c/2,u=r-l,g=i-l;return{x:u,y:g,minX:u,minY:g,maxX:r+a+l,maxY:i+s+l,width:a+c,height:s+c}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},e.prototype.isFill=function(){var t=this.attr(),e=t.fill,n=t.fillStyle;return(e||n||this.isClipShape())&&this.canFill},e.prototype.isStroke=function(){var t=this.attr(),e=t.stroke,n=t.strokeStyle;return(e||n)&&this.canStroke},e.prototype.draw=function(t,e){var n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||Object(s.a)(this),Object(a.a)(this,t),this.createPath(t,e),this.shadow(t,e),this.strokeAndFill(t,e),this.transform(e))},e.prototype.createPath=function(t,e){},e.prototype.strokeAndFill=function(t,e){var n=e||this.attr(),r=n.fill,i=n.fillStyle,o=n.stroke,a=n.strokeStyle,s=n.fillOpacity,c=n.strokeOpacity,u=n.lineWidth,g=this.get("el");this.canFill&&(e?"fill"in n?this._setColor(t,"fill",r):"fillStyle"in n&&this._setColor(t,"fill",i):this._setColor(t,"fill",r||i),s&&g.setAttribute(l.b.fillOpacity,s)),this.canStroke&&u>0&&(e?"stroke"in n?this._setColor(t,"stroke",o):"strokeStyle"in n&&this._setColor(t,"stroke",a):this._setColor(t,"stroke",o||a),c&&g.setAttribute(l.b.strokeOpacity,c),u&&g.setAttribute(l.b.lineWidth,u))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(n)if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n))(i=t.find("gradient",n))||(i=t.addGradient(n)),r.setAttribute(l.b[e],"url(#"+i+")");else if(/^[p,P]{1}[\s]*\(/.test(n)){var i;(i=t.find("pattern",n))||(i=t.addPattern(n)),r.setAttribute(l.b[e],"url(#"+i+")")}else r.setAttribute(l.b[e],n);else r.setAttribute(l.b[e],"none")},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,o=r.shadowOffsetY,s=r.shadowBlur,c=r.shadowColor;(i||o||s||c)&&Object(a.b)(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&Object(a.c)(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),i=t+r.left,o=e+r.top,a=document.elementFromPoint(i,o);return!(!a||!a.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(o.AbstractShape),f=n(0),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(f.each)(e||n,(function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):l.b[e]&&r.setAttribute(l.b[e],t)}))},e}(g),h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return Object(i.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if(Object(f.each)(e||n,(function(t,e){l.b[e]&&r.setAttribute(l.b[e],t)})),"function"===typeof n.html){var i=n.html.call(this,n);if(i instanceof Element||i instanceof HTMLDocument){for(var o=r.childNodes,a=o.length-1;a>=0;a--)r.removeChild(o[a]);r.appendChild(i)}else r.innerHTML=i}else r.innerHTML=n.html},e}(g),p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(f.each)(e||n,(function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):l.b[e]&&r.setAttribute(l.b[e],t)}))},e}(g),A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");Object(f.each)(e||r,(function(t,e){"img"===e?n._setImage(r.img):l.b[e]&&i.setAttribute(l.b[e],t)}))},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if(Object(f.isString)(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&Object(f.isString)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(g),C=n(26),v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(f.each)(e||n,(function(e,i){if("startArrow"===i||"endArrow"===i)if(e){var o=Object(f.isObject)(e)?t.addArrow(n,l.b[i]):t.getDefaultArrow(n,l.b[i]);r.setAttribute(l.b[i],"url(#"+o+")")}else r.removeAttribute(l.b[i]);else l.b[i]&&r.setAttribute(l.b[i],e)}))},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return C.Line.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return C.Line.pointAt(n,r,i,o,t)},e}(g),I={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},y={get:function(t){return I[t]},register:function(t,e){I[t]=e},remove:function(t){delete I[t]},getAll:function(){return I}},m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return Object(i.__extends)(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return Object(f.isArray)(t)?t.map((function(t){return t.join(" ")})).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,i=e.r||e.radius,o=e.symbol||"circle";return(t=Object(f.isFunction)(o)?o:y.get(o))?t(n,r,i):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=y,e}(g),b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");Object(f.each)(e||r,(function(e,o){if("path"===o&&Object(f.isArray)(e))i.setAttribute("d",n._formatPath(e));else if("startArrow"===o||"endArrow"===o)if(e){var a=Object(f.isObject)(e)?t.addArrow(r,l.b[o]):t.getDefaultArrow(r,l.b[o]);i.setAttribute(l.b[o],"url(#"+a+")")}else i.removeAttribute(l.b[o]);else l.b[o]&&i.setAttribute(l.b[o],e)}))},e.prototype._formatPath=function(t){var e=t.map((function(t){return t.join(" ")})).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(g),x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return Object(i.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(f.each)(e||n,(function(t,e){"points"===e&&Object(f.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map((function(t){return t[0]+","+t[1]})).join(" ")):l.b[e]&&r.setAttribute(l.b[e],t)}))},e}(g),w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(f.each)(e||n,(function(t,e){"points"===e&&Object(f.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map((function(t){return t[0]+","+t[1]})).join(" ")):l.b[e]&&r.setAttribute(l.b[e],t)}))},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return Object(f.isNil)(e)?(this.set("totalLength",C.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),Object(f.each)(i,(function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)})),C.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,o=[];Object(f.each)(t,(function(a,s){t[s+1]&&((n=[])[0]=i/e,r=C.Line.length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))})),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(g),O=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el"),o=!1,a=["x","y","width","height","radius"];Object(f.each)(e||r,(function(t,e){-1===a.indexOf(e)||o?-1===a.indexOf(e)&&l.b[e]&&i.setAttribute(l.b[e],t):(i.setAttribute("d",n._assembleRect(r)),o=!0)}))},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+i+" l"+-r+" 0 z";var a=function(t){var e=0,n=0,r=0,i=0;return Object(f.isArray)(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}}(o);return Object(f.isArray)(o)?1===o.length?a.r1=a.r2=a.r3=a.r4=o[0]:2===o.length?(a.r1=a.r3=o[0],a.r2=a.r4=o[1]):3===o.length?(a.r1=o[0],a.r2=a.r4=o[1],a.r3=o[2]):(a.r1=o[0],a.r2=o[1],a.r3=o[2],a.r4=o[3]):a.r1=a.r2=a.r3=a.r4=o,[["M "+(e+a.r1)+","+n],["l "+(r-a.r1-a.r2)+",0"],["a "+a.r2+","+a.r2+",0,0,1,"+a.r2+","+a.r2],["l 0,"+(i-a.r2-a.r3)],["a "+a.r3+","+a.r3+",0,0,1,"+-a.r3+","+a.r3],["l "+(a.r3+a.r4-r)+",0"],["a "+a.r4+","+a.r4+",0,0,1,"+-a.r4+","+-a.r4],["l 0,"+(a.r4+a.r1-i)],["a "+a.r1+","+a.r1+",0,0,1,"+a.r1+","+-a.r1],["z"]].join(" ")},e}(g),S=n(163),_={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},k={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},j={left:"left",start:"left",center:"middle",right:"end",end:"end"},E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return Object(i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");this._setFont(),Object(f.each)(e||r,(function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?Object(a.c)(n):l.b[e]&&i.setAttribute(l.b[e],t)})),i.setAttribute("paint-order","stroke"),i.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=Object(S.detect)();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",k[n]||"alphabetic"):t.setAttribute("alignment-baseline",_[n]||"baseline"),t.setAttribute("text-anchor",j[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,i=n.textBaseline,o=void 0===i?"bottom":i;if(t)if(~t.indexOf("\n")){var a=t.split("\n"),s=a.length-1,c="";Object(f.each)(a,(function(t,e){0===e?"alphabetic"===o?c+='<tspan x="'+r+'" dy="'+-s+'em">'+t+"</tspan>":"top"===o?c+='<tspan x="'+r+'" dy="0.9em">'+t+"</tspan>":"middle"===o?c+='<tspan x="'+r+'" dy="'+-(s-1)/2+'em">'+t+"</tspan>":"bottom"===o?c+='<tspan x="'+r+'" dy="-'+(s+.3)+'em">'+t+"</tspan>":"hanging"===o&&(c+='<tspan x="'+r+'" dy="'+(-(s-1)-.3)+'em">'+t+"</tspan>"):c+='<tspan x="'+r+'" dy="1em">'+t+"</tspan>"})),e.innerHTML=c}else e.innerHTML=t;else e.innerHTML=""},e}(g)},function(t,e,n){"use strict";n.r(e),n.d(e,"create",(function(){return i})),n.d(e,"clone",(function(){return o})),n.d(e,"fromValues",(function(){return a})),n.d(e,"copy",(function(){return s})),n.d(e,"set",(function(){return c})),n.d(e,"add",(function(){return l})),n.d(e,"subtract",(function(){return u})),n.d(e,"multiply",(function(){return g})),n.d(e,"divide",(function(){return f})),n.d(e,"ceil",(function(){return d})),n.d(e,"floor",(function(){return h})),n.d(e,"min",(function(){return p})),n.d(e,"max",(function(){return A})),n.d(e,"round",(function(){return C})),n.d(e,"scale",(function(){return v})),n.d(e,"scaleAndAdd",(function(){return I})),n.d(e,"distance",(function(){return y})),n.d(e,"squaredDistance",(function(){return m})),n.d(e,"length",(function(){return b})),n.d(e,"squaredLength",(function(){return x})),n.d(e,"negate",(function(){return w})),n.d(e,"inverse",(function(){return O})),n.d(e,"normalize",(function(){return S})),n.d(e,"dot",(function(){return _})),n.d(e,"cross",(function(){return k})),n.d(e,"lerp",(function(){return j})),n.d(e,"random",(function(){return E})),n.d(e,"transformMat2",(function(){return P})),n.d(e,"transformMat2d",(function(){return M})),n.d(e,"transformMat3",(function(){return T})),n.d(e,"transformMat4",(function(){return R})),n.d(e,"rotate",(function(){return D})),n.d(e,"angle",(function(){return N})),n.d(e,"zero",(function(){return L})),n.d(e,"str",(function(){return F})),n.d(e,"exactEquals",(function(){return B})),n.d(e,"equals",(function(){return z})),n.d(e,"len",(function(){return V})),n.d(e,"sub",(function(){return G})),n.d(e,"mul",(function(){return W})),n.d(e,"div",(function(){return Y})),n.d(e,"dist",(function(){return H})),n.d(e,"sqrDist",(function(){return U})),n.d(e,"sqrLen",(function(){return X})),n.d(e,"forEach",(function(){return Z}));var r=n(33);function i(){var t=new r.a(2);return r.a!=Float32Array&&(t[0]=0,t[1]=0),t}function o(t){var e=new r.a(2);return e[0]=t[0],e[1]=t[1],e}function a(t,e){var n=new r.a(2);return n[0]=t,n[1]=e,n}function s(t,e){return t[0]=e[0],t[1]=e[1],t}function c(t,e,n){return t[0]=e,t[1]=n,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function g(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function d(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t}function h(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t}function p(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function A(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}function C(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t}function v(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function I(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t}function y(t,e){var n=e[0]-t[0],r=e[1]-t[1];return Math.hypot(n,r)}function m(t,e){var n=e[0]-t[0],r=e[1]-t[1];return n*n+r*r}function b(t){var e=t[0],n=t[1];return Math.hypot(e,n)}function x(t){var e=t[0],n=t[1];return e*e+n*n}function w(t,e){return t[0]=-e[0],t[1]=-e[1],t}function O(t,e){return t[0]=1/e[0],t[1]=1/e[1],t}function S(t,e){var n=e[0],r=e[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t}function _(t,e){return t[0]*e[0]+t[1]*e[1]}function k(t,e,n){var r=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=r,t}function j(t,e,n,r){var i=e[0],o=e[1];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t}function E(t,e){e=e||1;var n=2*r.c()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t}function P(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i,t[1]=n[1]*r+n[3]*i,t}function M(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function T(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[3]*i+n[6],t[1]=n[1]*r+n[4]*i+n[7],t}function R(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t}function D(t,e,n,r){var i=e[0]-n[0],o=e[1]-n[1],a=Math.sin(r),s=Math.cos(r);return t[0]=i*s-o*a+n[0],t[1]=i*a+o*s+n[1],t}function N(t,e){var n=t[0],r=t[1],i=e[0],o=e[1],a=Math.sqrt(n*n+r*r)*Math.sqrt(i*i+o*o),s=a&&(n*i+r*o)/a;return Math.acos(Math.min(Math.max(s,-1),1))}function L(t){return t[0]=0,t[1]=0,t}function F(t){return"vec2("+t[0]+", "+t[1]+")"}function B(t,e){return t[0]===e[0]&&t[1]===e[1]}function z(t,e){var n=t[0],i=t[1],o=e[0],a=e[1];return Math.abs(n-o)<=r.b*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-a)<=r.b*Math.max(1,Math.abs(i),Math.abs(a))}var V=b,G=u,W=g,Y=f,H=y,U=m,X=x,Z=function(){var t=i();return function(e,n,r,i,o,a){var s,c;for(n||(n=2),r||(r=0),c=i?Math.min(i*n+r,e.length):e.length,s=r;s<c;s+=n)t[0]=e[s],t[1]=e[s+1],o(t,t,a),e[s]=t[0],e[s+1]=t[1];return e}}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.antvLight=e.createLightStyleSheet=void 0;var r="#000",i="#595959",o="#8C8C8C",a="#BFBFBF",s="#D9D9D9",c="#F0F0F0",l="#FFFFFF",u=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],g=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];e.createLightStyleSheet=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"transparent":e,f=t.paletteQualitative10,d=void 0===f?u:f,h=t.paletteQualitative20,p=void 0===h?g:h,A=t.paletteSemanticRed,C=void 0===A?"#F4664A":A,v=t.paletteSemanticGreen,I=void 0===v?"#30BF78":v,y=t.paletteSemanticYellow,m=void 0===y?"#FAAD14":y,b=t.fontFamily,x=void 0===b?'"-apple-system", "Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':b,w=t.brandColor,O=void 0===w?d[0]:w;return{backgroundColor:n,brandColor:O,paletteQualitative10:d,paletteQualitative20:p,paletteSemanticRed:C,paletteSemanticGreen:I,paletteSemanticYellow:m,fontFamily:x,axisLineBorderColor:a,axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:i,axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:a,axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:s,axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:o,axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:s,axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:o,legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:O,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:i,legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],sliderRailFillColor:s,sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:o,sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:c,sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:a,annotationArcBorderColor:s,annotationArcBorder:1,annotationLineBorderColor:a,annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:i,annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:r,annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:a,tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:i,tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:i,labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:l,innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:i,overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:l,overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:a,pointFillColor:O,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:l,pointBorderOpacity:1,pointActiveBorderColor:r,pointSelectedBorder:2,pointSelectedBorderColor:r,pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:O,hollowPointBorderOpacity:.95,hollowPointFillColor:l,hollowPointActiveBorder:1,hollowPointActiveBorderColor:r,hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:r,hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:O,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:O,areaFillOpacity:.25,areaActiveFillColor:O,areaActiveFillOpacity:.5,areaSelectedFillColor:O,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:O,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:r,hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:r,hollowAreaInactiveBorderOpacity:.3,intervalFillColor:O,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:r,intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:r,intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:O,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:l,hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:r,hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:r,hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}},e.antvLight=e.createLightStyleSheet()},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(5),i=n.n(r),o=n(215),a=n.n(o),s=n(4),c=n.n(s),l=function(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){var i=0;for(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 u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ChartContainer",n=c.a.forwardRef((function(e,n){var r=Object(s.useRef)(),o=Object(s.useState)(!1),u=a()(o,2),g=u[0],f=u[1],d=e,h=d.className,p=void 0===h?"bizcharts":h,A=d.containerStyle,C=l(d,["className","containerStyle"]);return Object(s.useEffect)((function(){f(!0)}),[]),c.a.createElement("div",{ref:r,className:p,style:i()({position:"relative",height:e.height||"100%",width:e.width||"100%"},A)},g?c.a.createElement(t,i()({ref:n,container:r.current},C)):c.a.createElement(c.a.Fragment,null))}));return n.displayName=e||t.name,n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Area=void 0;var r=n(1),i=n(44),o=n(20),a=n(159),s=n(648),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return r.__extends(e,t),e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},isStack:!0,line:{},legend:{position:"top-left"}})},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,r=e.xField,i=e.yField;this.chart.changeData(a.getDataWhetherPecentage(t,i,r,i,n))},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(i.Plot);e.Area=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Heatmap=void 0;var r=n(1),i=n(44),o=n(20),a=n(654);n(655),n(656);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}return r.__extends(e,t),e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{type:"polygon",legend:!1,xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}})},e}(i.Plot);e.Heatmap=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Rose=void 0;var r=n(1),i=n(44),o=n(20),a=n(660),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{xAxis:!1,yAxis:!1,legend:{position:"right",offsetX:-10},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Rose=s},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(0),i=n(173);function o(t){var e=Object(r.clamp)(Object(i.a)(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(85),i=n.n(r),o=new RegExp("^on(.*)(?=(".concat(["mousedown","mouseup","dblclick","mouseenter","mouseout","mouseover","mousemove","mouseleave","contextmenu","click","show","hide","change"].map((function(t){return t.replace(/^\S/,(function(t){return t.toUpperCase()}))})).join("|"),"))")),a=function(t){var e=[];return i()(t,(function(t,n){var r=n.match(/^on(.*)/);if(r){var i=n.match(o);if(i){var a=i[1].replace(/([A-Z])/g,"-$1").toLowerCase();a?e.push([n,"".concat(a.replace("-",""),":").concat(i[2].toLowerCase())]):e.push([n,i[2].toLowerCase()])}else e.push([n,r[1].toLowerCase()])}})),e}},function(t,e,n){"use strict";n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return f})),n.d(e,"a",(function(){return p}));var r=n(1),i=n(0),o=n(3),a=n(2),s=n(16),c=n(68);function l(t){var e=t.chart,n=t.options,i=n.data,o=n.color,c=n.lineStyle,l=n.lineShape,u=n.point,g=n.seriesField;e.data(i);var f=Object(a.b)({},t,{options:{shapeField:g,line:{color:o,style:c,shape:l},point:u&&Object(r.__assign)({color:o,shape:"circle"},u),label:void 0}}),d=Object(a.b)({},f,{options:{tooltip:!1}});return Object(s.d)(f),Object(s.e)(d),t}function u(t){var e,n,r=t.options,i=r.xAxis,s=r.yAxis,l=r.xField,u=r.yField,g=r.data;return Object(a.e)(Object(o.f)(((e={})[l]=i,e[u]=s,e),((n={})[l]={type:"cat"},n[u]=Object(c.a)(g,u),n)))(t)}function g(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function f(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function d(t){var e=t.chart,n=t.options,i=n.label,o=n.yField,s=Object(a.c)(e,"line");if(i){var c=i.callback,l=Object(r.__rest)(i,["callback"]);s.label({fields:[o],callback:c,cfg:Object(r.__assign)({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Object(a.o)(l))})}else s.label(!1);return t}function h(t){var e=t.chart;return t.options.isStack&&Object(i.each)(e.geometries,(function(t){t.adjust("stack")})),t}function p(t){return Object(a.e)(l,u,h,o.j,g,f,o.k,d,o.h,o.c,o.a,Object(o.b)(),o.e)(t)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(0),i="Invalid field: it must be a string!";function o(t,e){var n=t.field,o=t.fields;if(Object(r.isString)(n))return n;if(Object(r.isArray)(n))return console.warn(i),n[0];if(console.warn(i+" will try to get fields instead."),Object(r.isString)(o))return o;if(Object(r.isArray)(o)&&o.length)return o[0];if(e)return e;throw new TypeError(i)}function a(t){var e=[];return t&&t.each?t.each((function(t){e.push(t)})):t&&t.eachNode&&t.eachNode((function(t){e.push(t)})),e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return O}));var r=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function o(){}var a=.7,s=1/a,c="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",g=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),d=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgba\\("+[c,c,c,l]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,l]+"\\)$"),A=new RegExp("^hsl\\("+[l,u,u]+"\\)$"),C=new RegExp("^hsla\\("+[l,u,u,l]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function I(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function m(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=g.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?b(e):3===n?new S(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?x(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?x(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new S(e[1],e[2],e[3],1):(e=d.exec(t))?new S(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=h.exec(t))?x(e[1],e[2],e[3],e[4]):(e=p.exec(t))?x(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=A.exec(t))?E(e[1],e[2]/100,e[3]/100,1):(e=C.exec(t))?E(e[1],e[2]/100,e[3]/100,e[4]):v.hasOwnProperty(t)?b(v[t]):"transparent"===t?new S(NaN,NaN,NaN,0):null}function b(t){return new S(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new S(t,e,n,r)}function w(t){return t instanceof o||(t=m(t)),t?new S((t=t.rgb()).r,t.g,t.b,t.opacity):new S}function O(t,e,n,r){return 1===arguments.length?w(t):new S(t,e,n,null==r?1:r)}function S(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function _(){return"#"+j(this.r)+j(this.g)+j(this.b)}function k(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function j(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function E(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new M(t,e,n,r)}function P(t){if(t instanceof M)return new M(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=m(t)),!t)return new M;if(t instanceof M)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,c=a-i,l=(a+i)/2;return c?(s=e===a?(n-r)/c+6*(n<r):n===a?(r-e)/c+2:(e-n)/c+4,c/=l<.5?a+i:2-a-i,s*=60):c=l>0&&l<1?0:s,new M(s,c,l,t.opacity)}function M(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function T(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}r(o,m,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:I,formatHex:I,formatHsl:function(){return P(this).formatHsl()},formatRgb:y,toString:y}),r(S,O,i(o,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_,formatHex:_,formatRgb:k,toString:k})),r(M,(function(t,e,n,r){return 1===arguments.length?P(t):new M(t,e,n,null==r?1:r)}),i(o,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new M(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new M(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new S(T(t>=240?t-240:t+120,i,r),T(t,i,r),T(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(82);Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return r.default}});var i=n(509);Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return i.default}});var o=n(510);Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return o.default}});var a=n(511);Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return a.default}});var s=n(512);Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return s.default}});var c=n(513);Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return c.default}});var l=n(514);Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return l.default}});var u=n(516);Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return u.default}});var g=n(517);Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return g.default}});var f=n(518);Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return f.default}});var d=n(521);Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return d.default}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mergeView=e.getMergedRegion=e.getRefreshRegion=e.refreshElement=e.drawPath=e.clearChanged=e.checkChildrenRefresh=e.checkRefresh=e.drawChildren=e.applyAttrsToContext=void 0;var r=n(0),i=n(332),o=n(333),a=n(66),s=n(177),c={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function l(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.cfg.visible)if(r.cfg.hasChanged)r.cfg.refresh=!0,r.isGroup()&&u(r.cfg.children,e);else if(r.cfg.refresh)r.isGroup()&&l(r.cfg.children,e);else{var i=g(r,e);r.cfg.refresh=i,i&&r.isGroup()&&l(r.cfg.children,e)}}}function u(t,e){for(var n=0;n<t.length;n++){var r=t[n];r.cfg.refresh=!0,r.isGroup()&&u(r.get("children"),e)}}function g(t,e){var n=t.cfg.cacheCanvasBBox;return t.cfg.isInView&&n&&a.intersectRect(n,e)}function f(t){var e;if(t.destroyed)e=t._cacheCanvasBBox;else{var n=t.get("cacheCanvasBBox"),r=n&&!(!n.width||!n.height),i=t.getCanvasBBox(),o=i&&!(!i.width||!i.height);r&&o?e=a.mergeRegion(n,i):r?e=n:o&&(e=i)}return e}e.applyAttrsToContext=function(t,e){var n=e.attr();for(var o in n){var a=n[o],s=c[o]?c[o]:o;"matrix"===s&&a?t.transform(a[0],a[1],a[3],a[4],a[6],a[7]):"lineDash"===s&&t.setLineDash?r.isArray(a)&&t.setLineDash(a):("strokeStyle"===s||"fillStyle"===s?a=i.parseStyle(t,e,a):"globalAlpha"===s&&(a*=t.globalAlpha),t[s]=a)}},e.drawChildren=function(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];i.cfg.visible?i.draw(t,n):i.skipDraw()}},e.checkRefresh=function(t,e,n){var i=t.get("refreshElements");r.each(i,(function(e){if(e!==t)for(var n=e.cfg.parent;n&&n!==t&&!n.cfg.refresh;)n.cfg.refresh=!0,n=n.cfg.parent})),i[0]===t?u(e,n):l(e,n)},e.checkChildrenRefresh=l,e.clearChanged=function t(e){for(var n=0;n<e.length;n++){var r=e[n];r.cfg.hasChanged=!1,r.isGroup()&&!r.destroyed&&t(r.cfg.children)}},e.drawPath=function(t,e,n,r){var i=n.path,a=n.startArrow,c=n.endArrow;if(i){var l=[0,0],u=[0,0],g={dx:0,dy:0};e.beginPath();for(var f=0;f<i.length;f++){var d=i[f],h=d[0];if(0===f&&a&&a.d){var p=t.getStartTangent();g=s.getShortenOffset(p[0][0],p[0][1],p[1][0],p[1][1],a.d)}else f===i.length-2&&"Z"===i[f+1][0]&&c&&c.d?"Z"===i[f+1][0]&&(p=t.getEndTangent(),g=s.getShortenOffset(p[0][0],p[0][1],p[1][0],p[1][1],c.d)):f===i.length-1&&c&&c.d&&"Z"!==i[0]&&(p=t.getEndTangent(),g=s.getShortenOffset(p[0][0],p[0][1],p[1][0],p[1][1],c.d));var A=g.dx,C=g.dy;switch(h){case"M":e.moveTo(d[1]-A,d[2]-C),u=[d[1],d[2]];break;case"L":e.lineTo(d[1]-A,d[2]-C);break;case"Q":e.quadraticCurveTo(d[1],d[2],d[3]-A,d[4]-C);break;case"C":e.bezierCurveTo(d[1],d[2],d[3],d[4],d[5]-A,d[6]-C);break;case"A":var v=void 0;r?(v=r[f])||(v=o.default(l,d),r[f]=v):v=o.default(l,d);var I=v.cx,y=v.cy,m=v.rx,b=v.ry,x=v.startAngle,w=v.endAngle,O=v.xRotation,S=v.sweepFlag;if(e.ellipse)e.ellipse(I,y,m,b,O,x,w,1-S);else{var _=m>b?m:b,k=m>b?1:m/b,j=m>b?b/m:1;e.translate(I,y),e.rotate(O),e.scale(k,j),e.arc(0,0,_,x,w,1-S),e.scale(1/k,1/j),e.rotate(-O),e.translate(-I,-y)}break;case"Z":e.closePath()}if("Z"===h)l=u;else{var E=d.length;l=[d[E-2],d[E-1]]}}}},e.refreshElement=function(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),t.cfg.parent&&t.cfg.parent.get("hasChanged")||(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))},e.getRefreshRegion=f,e.getMergedRegion=function(t){if(!t.length)return null;var e=[],n=[],i=[],o=[];return r.each(t,(function(t){var r=f(t);r&&(e.push(r.minX),n.push(r.minY),i.push(r.maxX),o.push(r.maxY))})),{minX:Math.min.apply(null,e),minY:Math.min.apply(null,n),maxX:Math.max.apply(null,i),maxY:Math.max.apply(null,o)}},e.mergeView=function(t,e){return t&&e&&a.intersectRect(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setClip=e.setTransform=e.setShadow=void 0;var r=n(83);e.setShadow=function(t,e){var n=t.cfg.el,r=t.attr(),i={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(i.dx||i.dy||i.blur||i.color){var o=e.find("filter",i);o||(o=e.addShadow(i)),n.setAttribute("filter","url(#"+o+")")}else n.removeAttribute("filter")},e.setTransform=function(t){var e=t.attr().matrix;if(e){for(var n=t.cfg.el,r=[],i=0;i<9;i+=3)r.push(e[i]+","+e[i+1]);-1===(r=r.join(",")).indexOf("NaN")?n.setAttribute("transform","matrix("+r+")"):console.warn("invalid matrix:",e)}},e.setClip=function(t,e){var n=t.getClip(),i=t.get("el");if(n){if(n&&!i.hasAttribute("clip-path")){r.createDom(n),n.createPath(e);var o=e.addClip(n);i.setAttribute("clip-path","url(#"+o+")")}}else i.removeAttribute("clip-path")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultCategoryScaleRange=e.getName=e.syncScale=e.createScaleByField=void 0;var r=n(1),i=n(0),o=n(81),a=n(65),s=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;e.createScaleByField=function(t,e,n){var a=e||[];if(i.isNumber(t)||i.isNil(i.firstValue(a,t))&&i.isEmpty(n))return new(o.getScale("identity"))({field:t.toString(),values:[t]});var c=i.valuesOfKey(a,t),l=i.get(n,"type",function(t){var e="linear";return s.test(t)?e="timeCat":i.isString(t)&&(e="cat"),e}(c[0]));return new(o.getScale(l))(r.__assign({field:t,values:c},n))},e.syncScale=function(t,e){if("identity"!==t.type&&"identity"!==e.type){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);t.change(n)}},e.getName=function(t){return t.alias||t.field},e.getDefaultCategoryScaleRange=function(t,e,n){var r,o=t.values.length;if(1===o)r=[.5,1];else{var s=0;r=a.isFullCircle(e)?e.isTransposed?[(s=1/o*i.get(n,"widthRatio.multiplePie",1/1.3))/2,1-s/2]:[0,1-1/o]:[s=1/o/2,1-s]}return r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPolarPath=e.convertNormalPath=e.getSplinePath=e.getLinePath=e.catmullRom2bezier=e.smoothBezier=void 0;var r=n(15),i=n(0),o=n(65);function a(t,e){for(var n=[t[0]],r=1,i=t.length;r<i;r+=2){var o=e.convert({x:t[r],y:t[r+1]});n.push(o.x,o.y)}return n}function s(t,e){var n=e.isTransposed,r=t[1],i=t[6],o=t[7],a=e.convert({x:i,y:o});return["A",r,r,0,0,n?0:1,a.x,a.y]}function c(t,n,r){for(var i=!!n,o=[],a=0,s=t.length;a<s;a+=2)o.push([t[a],t[a+1]]);var c,l,u,g=e.smoothBezier(o,.4,i,r),f=o.length,d=[];for(a=0;a<f-1;a++)c=g[2*a],l=g[2*a+1],u=o[a+1],d.push(["C",c[0],c[1],l[0],l[1],u[0],u[1]]);return i&&(c=g[f],l=g[f+1],u=o[0],d.push(["C",c[0],c[1],l[0],l[1],u[0],u[1]])),d}function l(t,e){return function(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r<i;r+=1){var o=t[r];n.push(["L",o.x,o.y])}e&&n.push(["Z"])}return n}(t,e)}e.smoothBezier=function(t,e,n,i){var o,a,s,c,l=[],u=!!i;if(u){s=[1/0,1/0],c=[-1/0,-1/0];for(var g=0,f=t.length;g<f;g++){var d=t[g];s=r.vec2.min([0,0],s,d),c=r.vec2.max([0,0],c,d)}s=r.vec2.min([0,0],s,i[0]),c=r.vec2.max([0,0],c,i[1])}g=0;for(var h=t.length;g<h;g++){if(d=t[g],n)o=t[g?g-1:h-1],a=t[(g+1)%h];else{if(0===g||g===h-1){l.push(d);continue}o=t[g-1],a=t[g+1]}var p=[0,0];p=r.vec2.sub(p,a,o),p=r.vec2.scale(p,p,e);var A=r.vec2.distance(d,o),C=r.vec2.distance(d,a),v=A+C;0!==v&&(A/=v,C/=v);var I=r.vec2.scale([0,0],p,-A),y=r.vec2.scale([0,0],p,C),m=r.vec2.add([0,0],d,I),b=r.vec2.add([0,0],d,y);u&&(m=r.vec2.max([0,0],m,s),m=r.vec2.min([0,0],m,c),b=r.vec2.max([0,0],b,s),b=r.vec2.min([0,0],b,c)),l.push(m),l.push(b)}return n&&l.push(l.shift()),l},e.catmullRom2bezier=c,e.getLinePath=l,e.getSplinePath=function(t,e,n){var r=[],i=t[0],o=null;if(t.length<=2)return l(t,e);for(var a=0,s=t.length;a<s;a++){var u=t[a];o&&o.x===u.x&&o.y===u.y||(r.push(u.x),r.push(u.y),o=u)}var g=c(r,e,n||[[0,0],[1,1]]);return g.unshift(["M",i.x,i.y]),g},e.convertNormalPath=function(t,e){var n=[];return i.each(e,(function(e){switch(e[0].toLowerCase()){case"m":case"l":case"c":n.push(a(e,t));break;case"a":n.push(s(e,t));break;case"z":default:n.push(e)}})),n},e.convertPolarPath=function(t,e){var n,r,c=[];return i.each(e,(function(i,l){switch(i[0].toLowerCase()){case"m":case"c":case"q":c.push(a(i,t));break;case"l":n=e[l-1],r=i,(t.isTransposed?n[n.length-2]===r[1]:n[n.length-1]===r[2])?c=c.concat(function(t,e,n){var r=n.isTransposed,i=n.startAngle,a=n.endAngle,s="a"===t[0].toLowerCase()?{x:t[6],y:t[7]}:{x:t[1],y:t[2]},c={x:e[1],y:e[2]},l=[],u=r?"y":"x",g=Math.abs(c[u]-s[u])*(a-i),f=c[u]>=s[u]?1:0,d=g>Math.PI?1:0,h=n.convert(c),p=o.getDistanceToCenter(n,h);if(p>=.5)if(g===2*Math.PI){var A={x:(c.x+s.x)/2,y:(c.y+s.y)/2},C=n.convert(A);l.push(["A",p,p,0,d,f,C.x,C.y]),l.push(["A",p,p,0,d,f,h.x,h.y])}else l.push(["A",p,p,0,d,f,h.x,h.y]);return l}(n,r,t)):c.push(a(i,t));break;case"a":c.push(s(i,t));break;case"z":default:c.push(i)}})),function(t){i.each(t,(function(e,n){if("a"===e[0].toLowerCase()){var r=t[n-1],i=t[n+1];i&&"a"===i[0].toLowerCase()?r&&"l"===r[0].toLowerCase()&&(r[0]="M"):r&&"a"===r[0].toLowerCase()&&i&&"l"===i[0].toLowerCase()&&(i[0]="M")}}))}(c),c}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerSymbols=void 0,e.MarkerSymbols={hexagon:function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},bowtie:function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getRectWithCornerRadius=e.getFunnelPath=e.getIntervalRectPath=e.getBackgroundRectPath=e.parseRadius=e.getRectPath=e.getRectPoints=void 0;var r=n(0),i=n(59);function o(t,e){void 0===e&&(e=!0);var n=[],r=t[0];n.push(["M",r.x,r.y]);for(var i=1,o=t.length;i<o;i++)n.push(["L",t[i].x,t[i].y]);return e&&(n.push(["L",r.x,r.y]),n.push(["z"])),n}function a(t,e){var n=0,i=0,o=0,a=0;return r.isArray(t)?1===t.length?n=i=o=a=t[0]:2===t.length?(n=o=t[0],i=a=t[1]):3===t.length?(n=t[0],i=a=t[1],o=t[2]):(n=t[0],i=t[1],o=t[2],a=t[3]):n=i=o=a=t,n+i>e&&(i=e-(n=n?e/(1+i/n):0)),o+a>e&&(a=e-(o=o?e/(1+a/o):0)),[n||0,i||0,o||0,a||0]}e.getRectPoints=function(t,e){void 0===e&&(e=!1);var n,i,o,a,s=t.x,c=t.y,l=t.y0,u=t.size;r.isArray(c)?(n=c[0],i=c[1]):(n=l,i=c),r.isArray(s)?(o=s[0],a=s[1]):(o=s-u/2,a=s+u/2);var g=[{x:o,y:n},{x:o,y:i}];return e?g.push({x:a,y:(i+n)/2}):g.push({x:a,y:i},{x:a,y:n}),g},e.getRectPath=o,e.parseRadius=a,e.getBackgroundRectPath=function(t,e,n){var o=[];if(n.isRect){var s=n.isTransposed?{x:n.start.x,y:e[0].y}:{x:e[0].x,y:n.start.y},c=n.isTransposed?{x:n.end.x,y:e[2].y}:{x:e[3].x,y:n.end.y},l=r.get(t,["background","style","radius"]);if(l){var u=n.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,g=n.isTransposed?n.getWidth():n.getHeight(),f=a(l,Math.min(u,g)),d=f[0],h=f[1],p=f[2],A=f[3];o.push(["M",s.x,c.y+d]),0!==d&&o.push(["A",d,d,0,0,1,s.x+d,c.y]),o.push(["L",c.x-h,c.y]),0!==h&&o.push(["A",h,h,0,0,1,c.x,c.y+h]),o.push(["L",c.x,s.y-p]),0!==p&&o.push(["A",p,p,0,0,1,c.x-p,s.y]),o.push(["L",s.x+A,s.y]),0!==A&&o.push(["A",A,A,0,0,1,s.x,s.y-A])}else o.push(["M",s.x,s.y]),o.push(["L",c.x,s.y]),o.push(["L",c.x,c.y]),o.push(["L",s.x,c.y]),o.push(["L",s.x,s.y]);o.push(["z"])}if(n.isPolar){var C=n.getCenter(),v=i.getAngle(t,n),I=v.startAngle,y=v.endAngle;if("theta"===n.type||n.isTransposed){var m=function(t){return Math.pow(t,2)};d=Math.sqrt(m(C.x-e[0].x)+m(C.y-e[0].y)),h=Math.sqrt(m(C.x-e[2].x)+m(C.y-e[2].y)),o=i.getSectorPath(C.x,C.y,d,n.startAngle,n.endAngle,h)}else o=i.getSectorPath(C.x,C.y,n.getRadius(),I,y)}return o},e.getIntervalRectPath=function(t,e,n){var r=n.getWidth(),i=n.getHeight(),a="rect"===n.type,s=[],c=(t[2].x-t[1].x)/2,l=n.isTransposed?c*i/r:c*r/i;return"round"===e?(a?(s.push(["M",t[0].x,t[0].y+l]),s.push(["L",t[1].x,t[1].y-l]),s.push(["A",c,c,0,0,1,t[2].x,t[2].y-l]),s.push(["L",t[3].x,t[3].y+l]),s.push(["A",c,c,0,0,1,t[0].x,t[0].y+l])):(s.push(["M",t[0].x,t[0].y]),s.push(["L",t[1].x,t[1].y]),s.push(["A",c,c,0,0,1,t[2].x,t[2].y]),s.push(["L",t[3].x,t[3].y]),s.push(["A",c,c,0,0,1,t[0].x,t[0].y])),s.push(["z"])):s=o(t),s},e.getFunnelPath=function(t,e,n){var i=[];return r.isNil(e)?n?i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[2].x,t[2].y],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[3].x,t[3].y],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),i},e.getRectWithCornerRadius=function(t,e,n){var r,i,o,s,c=t[0],l=t[1],u=t[2],g=t[3],f=[0,0,0,0],d=f[0],h=f[1],p=f[2],A=f[3];c.y<l.y?(l=t[0],c=t[1],g=t[2],u=t[3],A=(r=a(n,Math.min(g.x-c.x,c.y-l.y)))[0],p=r[1],h=r[2],d=r[3]):(d=(i=a(n,Math.min(g.x-c.x,c.y-l.y)))[0],h=i[1],p=i[2],A=i[3]),e.isTransposed&&(c=t[0],g=t[1],u=t[2],l=t[3],t[0].x>t[1].x?(g=t[0],c=t[1],l=t[2],u=t[3],d=(o=a(n,Math.min(g.x-c.x,c.y-l.y)))[0],A=o[1],p=o[2],h=o[3]):(h=(s=a(n,Math.min(g.x-c.x,c.y-l.y)))[0],p=s[1],A=s[2],d=s[3]));var C=[];return C.push(["M",l.x,l.y+d]),0!==d&&C.push(["A",d,d,0,0,1,l.x+d,l.y]),C.push(["L",u.x-h,u.y]),0!==h&&C.push(["A",h,h,0,0,1,u.x,u.y+h]),C.push(["L",g.x,g.y-p]),0!==p&&C.push(["A",p,p,0,0,1,g.x-p,g.y]),C.push(["L",c.x+A,c.y]),0!==A&&C.push(["A",A,A,0,0,1,c.x,c.y-A]),C.push(["L",l.x,l.y+d]),C.push(["z"]),C}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_TOOLTIP_OPTIONS=e.Y_FIELD=e.X_FIELD=void 0;var r=n(0);e.X_FIELD="x",e.Y_FIELD="y",e.DEFAULT_TOOLTIP_OPTIONS={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+r.get(e,[0,"data","y"],0)},containerTpl:'<div class="g2-tooltip"><div class="g2-tooltip-list"></div></div>',itemTpl:"<span>{value}</span>",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformDataToNodeLinkData=e.adjustYMetaByZero=void 0;var r=n(0);e.adjustYMetaByZero=function(t,e){var n=t.filter((function(t){var n=r.get(t,[e]);return r.isNumber(n)&&!isNaN(n)})),i=n.every((function(t){return r.get(t,[e])>=0})),o=n.every((function(t){return r.get(t,[e])<=0}));return i?{min:0}:o?{max:0}:{}},e.transformDataToNodeLinkData=function(t,e,n,r){if(!Array.isArray(t))return{nodes:[],links:[]};var i=[],o={},a=-1;return t.forEach((function(t){var s=t[e],c=t[n],l=t[r];o[s]||(o[s]={id:++a,name:s}),o[c]||(o[c]={id:++a,name:c}),i.push({source:o[s].id,target:o[c].id,value:l})})),{nodes:Object.values(o),links:i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDataWhetherPecentage=e.percent=void 0;var r=n(1),i=n(0),o=n(389);function a(t,e,n,a){var s=i.reduce(t,(function(t,r){var i=r[n],a=t.has(i)?t.get(i):0,s=r[e];return a=o.isRealNumber(s)?a+s:a,t.set(i,a),t}),new Map);return i.map(t,(function(t){var i,c=t[e],l=t[n],u=o.isRealNumber(c)?c/s.get(l):0;return r.__assign(r.__assign({},t),((i={})[a]=u,i))}))}e.percent=a,e.getDataWhetherPecentage=function(t,e,n,r,i){return i?a(t,e,n,r):t}},function(t,e,n){"use strict";n.r(e),n.d(e,"create",(function(){return i})),n.d(e,"clone",(function(){return o})),n.d(e,"length",(function(){return a})),n.d(e,"fromValues",(function(){return s})),n.d(e,"copy",(function(){return c})),n.d(e,"set",(function(){return l})),n.d(e,"add",(function(){return u})),n.d(e,"subtract",(function(){return g})),n.d(e,"multiply",(function(){return f})),n.d(e,"divide",(function(){return d})),n.d(e,"ceil",(function(){return h})),n.d(e,"floor",(function(){return p})),n.d(e,"min",(function(){return A})),n.d(e,"max",(function(){return C})),n.d(e,"round",(function(){return v})),n.d(e,"scale",(function(){return I})),n.d(e,"scaleAndAdd",(function(){return y})),n.d(e,"distance",(function(){return m})),n.d(e,"squaredDistance",(function(){return b})),n.d(e,"squaredLength",(function(){return x})),n.d(e,"negate",(function(){return w})),n.d(e,"inverse",(function(){return O})),n.d(e,"normalize",(function(){return S})),n.d(e,"dot",(function(){return _})),n.d(e,"cross",(function(){return k})),n.d(e,"lerp",(function(){return j})),n.d(e,"hermite",(function(){return E})),n.d(e,"bezier",(function(){return P})),n.d(e,"random",(function(){return M})),n.d(e,"transformMat4",(function(){return T})),n.d(e,"transformMat3",(function(){return R})),n.d(e,"transformQuat",(function(){return D})),n.d(e,"rotateX",(function(){return N})),n.d(e,"rotateY",(function(){return L})),n.d(e,"rotateZ",(function(){return F})),n.d(e,"angle",(function(){return B})),n.d(e,"zero",(function(){return z})),n.d(e,"str",(function(){return V})),n.d(e,"exactEquals",(function(){return G})),n.d(e,"equals",(function(){return W})),n.d(e,"sub",(function(){return Y})),n.d(e,"mul",(function(){return H})),n.d(e,"div",(function(){return U})),n.d(e,"dist",(function(){return X})),n.d(e,"sqrDist",(function(){return Z})),n.d(e,"len",(function(){return q})),n.d(e,"sqrLen",(function(){return K})),n.d(e,"forEach",(function(){return Q}));var r=n(33);function i(){var t=new r.a(3);return r.a!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function o(t){var e=new r.a(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(t){var e=t[0],n=t[1],r=t[2];return Math.hypot(e,n,r)}function s(t,e,n){var i=new r.a(3);return i[0]=t,i[1]=e,i[2]=n,i}function c(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function l(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function g(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function f(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function d(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t}function p(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t}function A(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function C(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function v(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t}function I(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function m(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.hypot(n,r,i)}function b(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function x(t){var e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function w(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function O(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function S(t,e){var n=e[0],r=e[1],i=e[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o)),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o,t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function k(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],c=n[2];return t[0]=i*c-o*s,t[1]=o*a-r*c,t[2]=r*s-i*a,t}function j(t,e,n,r){var i=e[0],o=e[1],a=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t}function E(t,e,n,r,i,o){var a=o*o,s=a*(2*o-3)+1,c=a*(o-2)+o,l=a*(o-1),u=a*(3-2*o);return t[0]=e[0]*s+n[0]*c+r[0]*l+i[0]*u,t[1]=e[1]*s+n[1]*c+r[1]*l+i[1]*u,t[2]=e[2]*s+n[2]*c+r[2]*l+i[2]*u,t}function P(t,e,n,r,i,o){var a=1-o,s=a*a,c=o*o,l=s*a,u=3*o*s,g=3*c*a,f=c*o;return t[0]=e[0]*l+n[0]*u+r[0]*g+i[0]*f,t[1]=e[1]*l+n[1]*u+r[1]*g+i[1]*f,t[2]=e[2]*l+n[2]*u+r[2]*g+i[2]*f,t}function M(t,e){e=e||1;var n=2*r.c()*Math.PI,i=2*r.c()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=i*e,t}function T(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[3]*r+n[7]*i+n[11]*o+n[15];return a=a||1,t[0]=(n[0]*r+n[4]*i+n[8]*o+n[12])/a,t[1]=(n[1]*r+n[5]*i+n[9]*o+n[13])/a,t[2]=(n[2]*r+n[6]*i+n[10]*o+n[14])/a,t}function R(t,e,n){var r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t}function D(t,e,n){var r=n[0],i=n[1],o=n[2],a=n[3],s=e[0],c=e[1],l=e[2],u=i*l-o*c,g=o*s-r*l,f=r*c-i*s,d=i*f-o*g,h=o*u-r*f,p=r*g-i*u,A=2*a;return u*=A,g*=A,f*=A,d*=2,h*=2,p*=2,t[0]=s+u+d,t[1]=c+g+h,t[2]=l+f+p,t}function N(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t}function L(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t}function F(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t}function B(t,e){var n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],s=e[2],c=Math.sqrt(n*n+r*r+i*i)*Math.sqrt(o*o+a*a+s*s),l=c&&_(t,e)/c;return Math.acos(Math.min(Math.max(l,-1),1))}function z(t){return t[0]=0,t[1]=0,t[2]=0,t}function V(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"}function G(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function W(t,e){var n=t[0],i=t[1],o=t[2],a=e[0],s=e[1],c=e[2];return Math.abs(n-a)<=r.b*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(i-s)<=r.b*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(o-c)<=r.b*Math.max(1,Math.abs(o),Math.abs(c))}var Y=g,H=f,U=d,X=m,Z=b,q=a,K=x,Q=function(){var t=i();return function(e,n,r,i,o,a){var s,c;for(n||(n=3),r||(r=0),c=i?Math.min(i*n+r,e.length):e.length,s=r;s<c;s+=n)t[0]=e[s],t[1]=e[s+1],t[2]=e[s+2],o(t,t,a),e[s]=t[0],e[s+1]=t[1],e[s+2]=t[2];return e}}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),o=r.__importDefault(n(102)),a=r.__importDefault(n(241));n(245);var s=n(344),c=function(t){function e(e){var n=t.call(this,e)||this;n.type="path",n.shapeType="line";var r=e.connectNulls,i=void 0!==r&&r,o=e.showSinglePoint,a=void 0===o||o;return n.connectNulls=i,n.showSinglePoint=a,n}return r.__extends(e,t),e.prototype.createElements=function(t,e,n){void 0===n&&(n=!1);var r=this,i=r.lastElementsMap,o=r.elementsMap,c=r.elements,l=r.container,u=this.getElementId(t),g=this.getShapeInfo(t),f=i[u];if(f){var d=f.getModel();(this.isCoordinateChanged||s.isModelChange(d,g))&&(f.animate=this.animateOption,f.update(g)),delete i[u]}else{var h=this.getShapeFactory();(f=new a.default({shapeFactory:h,container:l,offscreenGroup:this.getOffscreenGroup()})).geometry=this,f.animate=this.animateOption,f.draw(g,n)}return c.push(f),o[u]=f,c},e.prototype.getPointsAndData=function(t){for(var e=[],n=[],r=0,o=t.length;r<o;r++){var a=t[r];e.push({x:a.x,y:a.y}),n.push(a[i.FIELD_ORIGIN])}return{points:e,data:n}},e.prototype.getShapeInfo=function(t){var e=this.getDrawCfg(t[0]),n=this.getPointsAndData(t),r=n.points,i=n.data;return e.mappingData=t,e.data=i,e.isStack=!!this.getAdjust("stack"),e.points=r,e.connectNulls=this.connectNulls,e.showSinglePoint=this.showSinglePoint,e},e}(o.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.STATUS_ACTIVE=e.STATUS_UNACTIVE=void 0;var r=n(1),i=n(0),o=n(43),a=n(256),s=r.__importDefault(n(252)),c=n(27);e.STATUS_UNACTIVE=c.ELEMENT_STATE.INACTIVE,e.STATUS_ACTIVE=c.ELEMENT_STATE.ACTIVE;var l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.stateName=e.STATUS_ACTIVE,n}return r.__extends(n,t),n.prototype.setElementsStateByItem=function(t,e,n,r){var i=this;this.setHighlightBy(t,(function(t){return i.isMathItem(t,e,n)}),r)},n.prototype.setElementHighlight=function(t,n){n(t)?(t.hasState(e.STATUS_UNACTIVE)&&t.setState(e.STATUS_UNACTIVE,!1),t.setState(e.STATUS_ACTIVE,!0)):t.hasState(e.STATUS_ACTIVE)||t.setState(e.STATUS_UNACTIVE,!0)},n.prototype.setHighlightBy=function(t,n,r){var a=this;if(r)i.each(t,(function(t){a.setElementHighlight(t,n)}));else{var s=o.getElementsByState(this.context.view,e.STATUS_ACTIVE),c=!0;i.each(s,(function(t){if(!n(t))return c=!1,!1})),c?this.clear():i.each(t,(function(t){n(t)&&(t.hasState(e.STATUS_ACTIVE)&&t.setState(e.STATUS_ACTIVE,!1),t.setState(e.STATUS_UNACTIVE,!0))}))}},n.prototype.setElementState=function(t,e){var n=this.context.view,r=o.getElements(n);this.setHighlightBy(r,(function(e){return t===e}),e)},n.prototype.highlight=function(){this.setState()},n.prototype.clear=function(){var t=this.context.view;a.clearHighlight(t)},n}(s.default);e.default=l},function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"BrowserInfo",(function(){return i})),n.d(e,"NodeInfo",(function(){return o})),n.d(e,"SearchBotDeviceInfo",(function(){return a})),n.d(e,"BotInfo",(function(){return s})),n.d(e,"ReactNativeInfo",(function(){return c})),n.d(e,"detect",(function(){return f})),n.d(e,"browserName",(function(){return h})),n.d(e,"parseUserAgent",(function(){return p})),n.d(e,"detectOS",(function(){return A})),n.d(e,"getNodeVersion",(function(){return C}));var r=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(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},i=function(t,e,n){this.name=t,this.version=e,this.os=n,this.type="browser"},o=function(e){this.version=e,this.type="node",this.name="node",this.os=t.platform},a=function(t,e,n,r){this.name=t,this.version=e,this.os=n,this.bot=r,this.type="bot-device"},s=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},c=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},l=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,u=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],g=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function f(t){return t?p(t):"undefined"===typeof document&&"undefined"!==typeof navigator&&"ReactNative"===navigator.product?new c:"undefined"!==typeof navigator?p(navigator.userAgent):C()}function d(t){return""!==t&&u.reduce((function(e,n){var r=n[0],i=n[1];if(e)return e;var o=i.exec(t);return!!o&&[r,o]}),!1)}function h(t){var e=d(t);return e?e[0]:null}function p(t){var e=d(t);if(!e)return null;var n=e[0],o=e[1];if("searchbot"===n)return new s;var c=o[1]&&o[1].split(/[._]/).slice(0,3);c?c.length<3&&(c=r(c,function(t){for(var e=[],n=0;n<t;n++)e.push("0");return e}(3-c.length))):c=[];var u=c.join("."),g=A(t),f=l.exec(t);return f&&f[1]?new a(n,u,g,f[1]):new i(n,u,g)}function A(t){for(var e=0,n=g.length;e<n;e++){var r=g[e],i=r[0];if(r[1].exec(t))return i}return null}function C(){return"undefined"!==typeof t&&t.version?new o(t.version.slice(1)):null}}.call(this,n(506))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pathIn=void 0,e.pathIn=function(t,e,n){var r=t.getTotalLength();t.attr("lineDash",[r]),t.animate((function(t){return{lineDashOffset:(1-t)*r}}),e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(23);function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function o(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function a(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(o(t,e))}function s(t,e){var n=e[1],i=e[2],s=Object(r.m)(Object(r.o)(e[3]),2*Math.PI),c=e[4],l=e[5],u=t[0],g=t[1],f=e[6],d=e[7],h=Math.cos(s)*(u-f)/2+Math.sin(s)*(g-d)/2,p=-1*Math.sin(s)*(u-f)/2+Math.cos(s)*(g-d)/2,A=h*h/(n*n)+p*p/(i*i);A>1&&(n*=Math.sqrt(A),i*=Math.sqrt(A));var C=n*n*(p*p)+i*i*(h*h),v=C?Math.sqrt((n*n*(i*i)-C)/C):1;c===l&&(v*=-1),isNaN(v)&&(v=0);var I=i?v*n*p/i:0,y=n?v*-i*h/n:0,m=(u+f)/2+Math.cos(s)*I-Math.sin(s)*y,b=(g+d)/2+Math.sin(s)*I+Math.cos(s)*y,x=[(h-I)/n,(p-y)/i],w=[(-1*h-I)/n,(-1*p-y)/i],O=a([1,0],x),S=a(x,w);return o(x,w)<=-1&&(S=Math.PI),o(x,w)>=1&&(S=0),0===l&&S>0&&(S-=2*Math.PI),1===l&&S<0&&(S+=2*Math.PI),{cx:m,cy:b,rx:Object(r.j)(t,[f,d])?0:n,ry:Object(r.j)(t,[f,d])?0:i,startAngle:O,endAngle:O+S,xRotation:s,arcFlag:c,sweepFlag:l}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.antvDark=e.createDarkStyleSheet=void 0;var r="#000",i="#BFBFBF",o="#F0F0F0",a="#FFFFFF",s="#A6A6A6",c="#737373",l="#404040",u="#262626",g=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#E86452","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],f=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#E86452","#F8D0CB","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];e.createDarkStyleSheet=function(t){void 0===t&&(t={});var e=t.backgroundColor,n=void 0===e?"#141414":e,d=t.paletteQualitative10,h=void 0===d?g:d,p=t.paletteQualitative20,A=void 0===p?f:p,C=t.paletteSemanticRed,v=void 0===C?"#F4664A":C,I=t.paletteSemanticGreen,y=void 0===I?"#30BF78":I,m=t.paletteSemanticYellow,b=void 0===m?"#FAAD14":m,x=t.fontFamily,w=void 0===x?'"-apple-system", "Segoe UI", Roboto, "Helvetica Neue", Arial,\n "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n "Noto Color Emoji"':x,O=t.brandColor;return{backgroundColor:n,brandColor:void 0===O?h[0]:O,paletteQualitative10:h,paletteQualitative20:A,paletteSemanticRed:v,paletteSemanticGreen:y,paletteSemanticYellow:b,fontFamily:w,axisLineBorderColor:l,axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:s,axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisTickLineBorderColor:l,axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:u,axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:c,axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:u,axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:c,legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:g[0],legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:s,legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendSpacing:16,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],sliderRailFillColor:u,sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:c,sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:o,sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:i,annotationArcBorderColor:u,annotationArcBorder:1,annotationLineBorderColor:l,annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:s,annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:a,annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:l,tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"#1f1f1f",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 2px 4px rgba(0,0,0,.5)",tooltipContainerBorderRadius:3,tooltipTextFillColor:s,tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:s,labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:r,innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:s,overflowLabelFillColorDark:"#2c3542",overflowLabelFillColorLight:"#ffffff",overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:r,overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:l,pointFillColor:g[0],pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:r,pointBorderOpacity:1,pointActiveBorderColor:a,pointSelectedBorder:2,pointSelectedBorderColor:a,pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:g[0],hollowPointBorderOpacity:.95,hollowPointFillColor:r,hollowPointActiveBorder:1,hollowPointActiveBorderColor:a,hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:a,hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:g[0],lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:g[0],areaFillOpacity:.25,areaActiveFillColor:g[0],areaActiveFillOpacity:.5,areaSelectedFillColor:g[0],areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:g[0],hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:a,hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:a,hollowAreaInactiveBorderOpacity:.3,intervalFillColor:g[0],intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:a,intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:a,intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:g[0],hollowIntervalBorderOpacity:1,hollowIntervalFillColor:r,hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:a,hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:a,hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3}},e.antvDark=e.createDarkStyleSheet()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getLabelValueDir=function(t){var e=t.points;return e[0].y<=e[2].y?1:-1},e.prototype.getLabelOffsetPoint=function(e,n,i){var o,a=t.prototype.getLabelOffsetPoint.call(this,e,n,i),s=this.getCoordinate().isTransposed?"x":"y",c=this.getLabelValueDir(e.mappingData);return r.__assign(r.__assign({},a),((o={})[s]=a[s]*c,o))},e.prototype.getThemedLabelCfg=function(t){var e=this.geometry,n=this.getDefaultLabelCfg(),r=e.theme;return i.deepMix({},n,r.labels,"middle"===t.position?{offset:0}:{},t)},e.prototype.setLabelPosition=function(t,e,n,r){var o,a,s,c,l=this.getCoordinate(),u=l.isTransposed,g=e.points,f=l.convert(g[0]),d=l.convert(g[2]),h=this.getLabelValueDir(e),p=i.isArray(e.shape)?e.shape[0]:e.shape;if("funnel"===p||"pyramid"===p){var A=i.get(e,"nextPoints"),C=i.get(e,"points");if(A){var v=l.convert(C[0]),I=l.convert(C[1]),y=l.convert(A[0]),m=l.convert(A[1]);u?(o=Math.min(y.y,v.y),s=Math.max(y.y,v.y),a=(I.x+m.x)/2,c=(v.x+y.x)/2):(o=Math.min((I.y+m.y)/2,(v.y+y.y)/2),s=Math.max((I.y+m.y)/2,(v.y+y.y)/2),a=m.x,c=v.x)}else o=Math.min(d.y,f.y),s=Math.max(d.y,f.y),a=d.x,c=f.x}else o=Math.min(d.y,f.y),s=Math.max(d.y,f.y),a=d.x,c=f.x;switch(r){case"right":t.x=a,t.y=(o+s)/2,t.textAlign=i.get(t,"textAlign",h>0?"left":"right");break;case"left":t.x=c,t.y=(o+s)/2,t.textAlign=i.get(t,"textAlign",h>0?"left":"right");break;case"bottom":u&&(t.x=(a+c)/2),t.y=s,t.textAlign=i.get(t,"textAlign","center"),t.textBaseline=i.get(t,"textBaseline",h>0?"bottom":"top");break;case"middle":u&&(t.x=(a+c)/2),t.y=(o+s)/2,t.textAlign=i.get(t,"textAlign","center"),t.textBaseline=i.get(t,"textBaseline","middle");break;case"top":u&&(t.x=(a+c)/2),t.y=o,t.textAlign=i.get(t,"textAlign","center"),t.textBaseline=i.get(t,"textBaseline",h>0?"bottom":"top")}},e}(r.__importDefault(n(103)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(65),a=n(59),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout="distribute",e}return r.__extends(e,t),e.prototype.getDefaultLabelCfg=function(e,n){var r=t.prototype.getDefaultLabelCfg.call(this,e,n);return i.deepMix({},r,i.get(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(e){return t.prototype.getLabelOffset.call(this,e)||0},e.prototype.getLabelRotate=function(t,e,n){var r;return e<0&&((r=t)>Math.PI/2&&(r-=Math.PI),r<-Math.PI/2&&(r+=Math.PI)),r},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate().getCenter();return e=t.angle<=Math.PI/2&&t.x>=n.x?"left":"right",t.offset<=0&&(e="right"===e?"left":"right"),e},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var e,n=this.getCoordinate(),r={x:i.isArray(t.x)?t.x[0]:t.x,y:t.y[0]},a={x:i.isArray(t.x)?t.x[1]:t.x,y:t.y[1]},s=o.getAngleByPoint(n,r);if(t.points&&t.points[0].y===t.points[1].y)e=s;else{var c=o.getAngleByPoint(n,a);s>=c&&(c+=2*Math.PI),e=s+(c-s)/2}return e},e.prototype.getCirclePoint=function(t,e){var n=this.getCoordinate(),i=n.getCenter(),o=n.getRadius()+e;return r.__assign(r.__assign({},a.polarToCartesian(i.x,i.y,o,t)),{angle:t,r:o})},e}(r.__importDefault(n(196)).default);e.default=s},function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(5),i=n.n(r),o=n(4),a=n.n(o),s=n(63),c=n.n(s),l=n(468),u=n.n(l),g=n(73),f=n.n(g),d=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return c()(t)||a.a.isValidElement(t)?{visible:!0,text:t}:u()(t)?{visible:t}:f()(t)?i()({visible:!0},t):{visible:e}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return b}));var r=n(11),i=n.n(r),o=n(12),a=n.n(o),s=n(6),c=n.n(s),l=n(8),u=n.n(l),g=n(35),f=n.n(g),d=n(186),h=n(133),p=n.n(h),A=n(0),C=n(7);function v(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=c()(t);if(e){var i=c()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a()(this,n)}}var I={},y=function(){function t(e){u()(this,t),this.cfg={shared:!0},this.chartMap={},this.state={},this.id=Object(A.uniqueId)("bx-action"),this.type=e||"tooltip"}return f()(t,[{key:"connect",value:function(t,e,n){return this.chartMap[t]={chart:e,pointFinder:n},e.interaction("connect-".concat(this.type,"-").concat(this.id)),"tooltip"===this.type&&this.cfg.shared&&void 0===Object(A.get)(e,["options","tooltip","shared"])&&Object(A.set)(e,["options","tooltip","shared"],!0),this}},{key:"unConnect",value:function(t){this.chartMap[t].chart.removeInteraction("connect-".concat(this.type,"-").concat(this.id)),delete this.chartMap[t]}},{key:"destroy",value:function(){Object(d.unregisterAction)("connect-".concat(this.type,"-").concat(this.id))}}]),t}(),m=function(){var t=new y("tooltip");return Object(C.registerAction)("connect-tooltip-".concat(t.id),function(e){i()(r,e);var n=v(r);function r(){var e;return u()(this,r),(e=n.apply(this,arguments)).CM=t,e}return f()(r,[{key:"showTooltip",value:function(t,e){var n=t.getTooltipItems(e)||e;Object(A.forIn)(this.CM.chartMap,(function(t){var r=t.chart,i=t.pointFinder;if(!r.destroyed&&r.visible)if(i){var o=i(n,r);o&&r.showTooltip(o)}else r.showTooltip(e)}))}},{key:"hideTooltip",value:function(){Object(A.forIn)(this.CM.chartMap,(function(t){return t.chart.hideTooltip()}))}}]),r}(p.a)),Object(C.registerInteraction)("connect-tooltip-".concat(t.id),{start:[{trigger:"plot:mousemove",action:"connect-tooltip-".concat(t.id,":show")}],end:[{trigger:"plot:mouseleave",action:"connect-tooltip-".concat(t.id,":hide")}]}),t},b=function(t,e,n,r,i){var o=I[t];null===n&&o?o.unConnect(e):o?o.connect(e,n,i):(I[t]=m(),I[t].cfg.shared=!!r,I[t].connect(e,n,i))};e.a=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.growInXY=e.growInY=e.growInX=void 0;var r=n(561);e.growInX=function(t,e,n){var i=n.coordinate,o=n.minYPoint;r.doScaleAnimate(t,e,i,o,"x")},e.growInY=function(t,e,n){var i=n.coordinate,o=n.minYPoint;r.doScaleAnimate(t,e,i,o,"y")},e.growInXY=function(t,e,n){var i=n.coordinate,o=n.minYPoint;r.doScaleAnimate(t,e,i,o,"xy")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(32),i=n(609);function o(t,e,n,a){for(var s in n=n||0,a=a||5,e)if(e.hasOwnProperty(s)){var c=e[s];null!==c&&i.default(c)?(i.default(t[s])||(t[s]={}),n<a?o(t[s],c,n+1,a):t[s]=e[s]):r.default(c)?(t[s]=[],t[s]=t[s].concat(c)):void 0!==c&&(t[s]=c)}}e.default=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)o(t,e[r]);return t}},function(t,e,n){"use strict";function r(t){return"number"===typeof t&&!isNaN(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),i=n(9),o=[1,0,0,0,1,0,0,0,1];function a(t,e){var n=e?Object(r.__spreadArrays)(e):Object(r.__spreadArrays)(o);return i.Util.transform(n,t)}},function(t,e){},function(t,e,n){"use strict";n.r(e);var r=n(418);n.d(e,"Annotation",(function(){return r}));var i=n(420);n.d(e,"Axis",(function(){return i}));var o=n(422);n.d(e,"Crosshair",(function(){return o}));var a=n(428);n.d(e,"Grid",(function(){return a}));var s=n(429);n.d(e,"Legend",(function(){return s}));var c=n(430);n.d(e,"Tooltip",(function(){return c}));var l=n(130);n.d(e,"Component",(function(){return l.a}));var u=n(28);n.d(e,"GroupComponent",(function(){return u.a}));var g=n(104);n.d(e,"HtmlComponent",(function(){return g.a}));var f=n(423);n.d(e,"Slider",(function(){return f.a}));var d=n(454);n.d(e,"Scrollbar",(function(){return d.a}));var h=n(329);for(var p in h)["default","Component","GroupComponent","HtmlComponent","Axis","Annotation","Grid","Legend","Tooltip","Crosshair","Slider","Scrollbar","propagationDelegate","TOOLTIP_CSS_CONST"].indexOf(p)<0&&function(t){n.d(e,t,(function(){return h[t]}))}(p);var A=n(330);for(var p in A)["default","Component","GroupComponent","HtmlComponent","Axis","Annotation","Grid","Legend","Tooltip","Crosshair","Slider","Scrollbar","propagationDelegate","TOOLTIP_CSS_CONST"].indexOf(p)<0&&function(t){n.d(e,t,(function(){return A[t]}))}(p);var C=n(185);n.d(e,"propagationDelegate",(function(){return C.a}));var v=n(42);n.d(e,"TOOLTIP_CSS_CONST",(function(){return v}))},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.addEndArrow=e.addStartArrow=e.getShortenOffset=void 0;var i=n(1),o=n(150),a=Math.sin,s=Math.cos,c=Math.atan2,l=Math.PI;function u(t,e,n,r,i,u,g){var f=e.stroke,d=e.lineWidth,h=c(r-u,n-i),p=new o.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*s(l/6)+","+10*a(l/6)+" L0,0 L"+10*s(l/6)+",-"+10*a(l/6),stroke:f,lineWidth:d}});p.translate(i,u),p.rotateAtPoint(i,u,h),t.set(g?"startArrowShape":"endArrowShape",p)}function g(t,e,n,r,l,u,g){var f=e.startArrow,d=e.endArrow,h=e.stroke,p=e.lineWidth,A=g?f:d,C=A.d,v=A.fill,I=A.stroke,y=A.lineWidth,m=i.__rest(A,["d","fill","stroke","lineWidth"]),b=c(r-u,n-l);C&&(l-=s(b)*C,u-=a(b)*C);var x=new o.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:i.__assign(i.__assign({},m),{stroke:I||h,lineWidth:y||p,fill:v})});x.translate(l,u),x.rotateAtPoint(l,u,b),t.set(g?"startArrowShape":"endArrowShape",x)}e.getShortenOffset=function(t,e,n,r,i){var o=c(r-e,n-t);return{dx:s(o)*i,dy:a(o)*i}},e.addStartArrow=function(t,e,n,i,o,a){"object"===r(e.startArrow)?g(t,e,n,i,o,a,!0):e.startArrow?u(t,e,n,i,o,a,!0):t.set("startArrowShape",null)},e.addEndArrow=function(t,e,n,i,o,a){"object"===r(e.endArrow)?g(t,e,n,i,o,a,!1):e.endArrow?u(t,e,n,i,o,a,!1):t.set("startArrowShape",null)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(26);e.default=function(t,e,n,i,o,a,s){var c=Math.min(t,n),l=Math.max(t,n),u=Math.min(e,i),g=Math.max(e,i),f=o/2;return a>=c-f&&a<=l+f&&s>=u-f&&s<=g+f&&r.Line.pointToLine(t,e,n,i,a,s)<=o/2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(75);Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return r.default}});var i=n(524);Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return i.default}});var o=n(525);Object.defineProperty(e,"Dom",{enumerable:!0,get:function(){return o.default}});var a=n(526);Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return a.default}});var s=n(527);Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return s.default}});var c=n(528);Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return c.default}});var l=n(529);Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return l.default}});var u=n(531);Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return u.default}});var g=n(532);Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return g.default}});var f=n(533);Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return f.default}});var d=n(534);Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return d.default}});var h=n(536);Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return h.default}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=r.__importDefault(n(56)),a=n(43),s=n(43),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e.ignoreItemStates=[],e}return r.__extends(e,t),e.prototype.getTriggerListInfo=function(){var t=s.getDelegationObject(this.context),e=null;return s.isList(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=this.context.view,n=a.getComponents(e),r=[];return i.each(n,(function(e){e.isList()&&t.allowSetStateByElement(e)&&r.push(e)})),r},e.prototype.hasState=function(t,e){return t.hasState(e,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,e=this.getAllowComponents();i.each(e,(function(e){e.clearItemsState(t.stateName)}))},e.prototype.allowSetStateByElement=function(t){var e=t.get("field");if(!e)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(-1===this.cfg.componentNames.indexOf(n))return!1}var r=this.context.view,i=s.getScaleByField(r,e);return i&&i.isCategory},e.prototype.allowSetStateByItem=function(t,e){var n=this.ignoreItemStates;return!n.length||0===n.filter((function(n){return e.hasState(t,n)})).length},e.prototype.setStateByElement=function(t,e,n){var r=t.get("field"),i=this.context.view,o=s.getScaleByField(i,r),a=s.getElementValue(e,r),c=o.getText(a);this.setItemsState(t,c,n)},e.prototype.setStateEnable=function(t){var e=this,n=s.getCurrentElement(this.context);if(n){var r=this.getAllowComponents();i.each(r,(function(r){e.setStateByElement(r,n,t)}))}else{var o=s.getDelegationObject(this.context);if(s.isList(o)){var a=o.item,c=o.component;this.allowSetStateByElement(c)&&this.allowSetStateByItem(a,c)&&this.setItemState(c,a,t)}}},e.prototype.setItemsState=function(t,e,n){var r=this,o=t.getItems();i.each(o,(function(i){i.name===e&&r.setItemState(t,i,n)}))},e.prototype.setItemState=function(t,e,n){t.setItemState(e,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,r=this.hasState(e,n);this.setItemState(e,n,!r)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(o.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RANGE_VIEW_ID=e.INDICATEOR_VIEW_ID=e.DEFAULT_COLOR=e.PERCENT=e.RANGE_TYPE=e.RANGE_VALUE=void 0,e.RANGE_VALUE="range",e.RANGE_TYPE="type",e.PERCENT="percent",e.DEFAULT_COLOR="#f0f0f0",e.INDICATEOR_VIEW_ID="indicator-view",e.RANGE_VIEW_ID="range-view"},function(t,e,n){"use strict";var r=function(){function t(t,e){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=t,this.name=t,this.originalEvent=e,this.timeStamp=e.timeStamp}return t.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.save=function(){},t.prototype.restore=function(){},t}();e.a=r},function(t,e,n){"use strict";var r=n(1),i=n(128),o=n(31),a=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=n.getDefaultCfg();return n.cfg=Object(o.i)(r,e),n}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,e){this.cfg[t]=e},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(i.default);e.a=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=null;function i(){if(!r){var t=document.createElement("canvas");t.width=1,t.height=1,r=t.getContext("2d")}return r}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(24);function i(t,e,n){var i=new r.Event(e,n);i.target=t,i.propagationPath.push(t),t.emitDelegation(e,i);for(var o=t.getParent();o;)o.emitDelegation(e,i),i.propagationPath.push(o),o=o.getParent()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCallbackAction=e.unregisterAction=e.registerAction=e.getActionClass=e.createAction=void 0;var r=n(1).__importDefault(n(546)),i=n(0),o={};e.createAction=function(t,e){var n=o[t],r=null;return n&&((r=new(0,n.ActionClass)(e,n.cfg)).name=t,r.init()),r},e.getActionClass=function(t){var e=o[t];return i.get(e,"ActionClass")},e.registerAction=function(t,e,n){o[t]={ActionClass:e,cfg:n}},e.unregisterAction=function(t){delete o[t]},e.createCallbackAction=function(t,e){var n=new r.default(e);return n.callback=t,n.name="callback",n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(81),a=n(65),s=n(59),c=n(238),l=n(88),u=n(110),g=r.__importDefault(n(240)),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isLocked=!1,e}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"tooltip"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.isVisible=function(){return!1!==this.view.getOptions().tooltip},e.prototype.render=function(){},e.prototype.showTooltip=function(t){if(this.point=t,this.isVisible()){var e=this.view,n=this.getTooltipItems(t);if(n.length){var o=this.getTitle(n),a={x:n[0].x,y:n[0].y};e.emit("tooltip:show",g.default.fromData(e,"tooltip:show",r.__assign({items:n,title:o},t)));var s=this.getTooltipCfg(),c=s.follow,l=s.showMarkers,u=s.showCrosshairs,f=s.showContent,d=s.marker,h=this.items,p=this.title;if(i.isEqual(p,o)&&i.isEqual(h,n)?(this.tooltip&&c&&(this.tooltip.update(t),this.tooltip.show()),this.tooltipMarkersGroup&&this.tooltipMarkersGroup.show()):(e.emit("tooltip:change",g.default.fromData(e,"tooltip:change",r.__assign({items:n,title:o},t))),f&&(this.tooltip||this.renderTooltip(),this.tooltip.update(i.mix({},s,{items:n,title:o},c?t:{})),this.tooltip.show()),l&&this.renderTooltipMarkers(n,d)),this.items=n,this.title=o,u){var A=i.get(s,["crosshairs","follow"],!1);this.renderCrosshairs(A?t:a,s)}}else this.hideTooltip()}},e.prototype.hideTooltip=function(){if(this.getTooltipCfg().follow){var t=this.tooltipMarkersGroup;t&&t.hide();var e=this.xCrosshair,n=this.yCrosshair;e&&e.hide(),n&&n.hide();var r=this.tooltip;r&&r.hide(),this.view.emit("tooltip:hide",g.default.fromData(this.view,"tooltip:hide",{})),this.point=null}else this.point=null},e.prototype.lockTooltip=function(){this.isLocked=!0,this.tooltip&&this.tooltip.setCapture(!0)},e.prototype.unlockTooltip=function(){this.isLocked=!1;var t=this.getTooltipCfg();this.tooltip&&this.tooltip.setCapture(t.capture)},e.prototype.isTooltipLocked=function(){return this.isLocked},e.prototype.clear=function(){var t=this,e=t.tooltip,n=t.xCrosshair,r=t.yCrosshair,i=t.tooltipMarkersGroup;e&&(e.hide(),e.clear()),n&&n.clear(),r&&r.clear(),i&&i.clear(),this.reset()},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),this.xCrosshair&&this.xCrosshair.destroy(),this.yCrosshair&&this.yCrosshair.destroy(),this.guideGroup&&this.guideGroup.remove(!0),this.reset()},e.prototype.reset=function(){this.items=null,this.title=null,this.tooltipMarkersGroup=null,this.tooltipCrosshairsGroup=null,this.xCrosshair=null,this.yCrosshair=null,this.tooltip=null,this.guideGroup=null,this.isLocked=!1,this.point=null},e.prototype.changeVisible=function(t){if(this.visible!==t){var e=this,n=e.tooltip,r=e.tooltipMarkersGroup,i=e.xCrosshair,o=e.yCrosshair;t?(n&&n.show(),r&&r.show(),i&&i.show(),o&&o.show()):(n&&n.hide(),r&&r.hide(),i&&i.hide(),o&&o.hide()),this.visible=t}},e.prototype.getTooltipItems=function(t){var e=this.findItemsFromView(this.view,t);if(e.length){for(var n=0,r=e=i.flatten(e);n<r.length;n++)for(var o=0,a=r[n];o<a.length;o++){var s=a[o],c=s.mappingData,l=c.x,u=c.y;s.x=i.isArray(l)?l[l.length-1]:l,s.y=i.isArray(u)?u[u.length-1]:u}if(!1===this.getTooltipCfg().shared&&e.length>1){for(var g=e[0],f=Math.abs(t.y-g[0].y),d=0,h=e;d<h.length;d++){var p=h[d],A=Math.abs(t.y-p[0].y);A<=f&&(g=p,f=A)}e=[g]}return function(t){for(var e=[],n=function(n){var r=t[n];i.find(e,(function(t){return t.color===r.color&&t.name===r.name&&t.value===r.value&&t.title===r.title}))||e.push(r)},r=0;r<t.length;r++)n(r);return e}(i.flatten(e))}return[]},e.prototype.layout=function(){},e.prototype.update=function(){if(this.point&&this.showTooltip(this.point),this.tooltip){var t=this.view.getCanvas();this.tooltip.set("region",{start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}})}},e.prototype.isCursorEntered=function(t){if(this.tooltip){var e=this.tooltip.getContainer(),n=this.tooltip.get("capture");if(e&&n){var r=e.getBoundingClientRect(),i=r.x,o=r.y,a=r.width,s=r.height;return new l.BBox(i,o,a,s).isPointIn(t)}}return!1},e.prototype.getTooltipCfg=function(){var t=this.view,e=t.getOptions().tooltip,n=this.processCustomContent(e),r=t.getTheme(),o=i.get(r,["components","tooltip"],{}),a=i.get(n,"enterable",o.enterable);return i.deepMix({},o,n,{capture:!(!a&&!this.isLocked)})},e.prototype.processCustomContent=function(t){if(i.isBoolean(t)||!i.get(t,"customContent"))return t;var e=t.customContent;return r.__assign(r.__assign({},t),{customContent:function(t,n){var r=e(t,n)||"";return i.isString(r)?'<div class="g2-tooltip">'+r+"</div>":r}})},e.prototype.getTitle=function(t){var e=t[0].title||t[0].name;return this.title=e,e},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),e={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),i=new o.HtmlTooltip(r.__assign(r.__assign({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));i.init(),this.tooltip=i},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),i=0,o=t;i<o.length;i++){var a=o[i],s=a.x,c=a.y,l=r.__assign(r.__assign({fill:a.color,symbol:"circle",shadowColor:a.color},e),{x:s,y:c});n.addShape("marker",{attrs:l})}},e.prototype.renderCrosshairs=function(t,e){var n=i.get(e,["crosshairs","type"],"x");"x"===n?(this.yCrosshair&&this.yCrosshair.hide(),this.renderXCrosshairs(t,e)):"y"===n?(this.xCrosshair&&this.xCrosshair.hide(),this.renderYCrosshairs(t,e)):"xy"===n&&(this.renderXCrosshairs(t,e),this.renderYCrosshairs(t,e))},e.prototype.renderXCrosshairs=function(t,e){var n=this.getViewWithGeometry(this.view).getCoordinate();if(a.isPointInCoordinate(n,t)){var r,c;if(n.isRect)n.isTransposed?(r={x:n.start.x,y:t.y},c={x:n.end.x,y:t.y}):(r={x:t.x,y:n.end.y},c={x:t.x,y:n.start.y});else{var l=a.getAngleByPoint(n,t),u=n.getCenter(),g=n.getRadius();c=s.polarToCartesian(u.x,u.y,g,l),r=u}var f=i.deepMix({start:r,end:c,container:this.getTooltipCrosshairsGroup()},i.get(e,"crosshairs",{}),this.getCrosshairsText("x",t,e));delete f.type;var d=this.xCrosshair;d?d.update(f):(d=new o.Crosshair.Line(f)).init(),d.render(),d.show(),this.xCrosshair=d}},e.prototype.renderYCrosshairs=function(t,e){var n=this.getViewWithGeometry(this.view).getCoordinate();if(a.isPointInCoordinate(n,t)){var r,s;if(n.isRect){var c=void 0,l=void 0;n.isTransposed?(c={x:t.x,y:n.end.y},l={x:t.x,y:n.start.y}):(c={x:n.start.x,y:t.y},l={x:n.end.x,y:t.y}),r={start:c,end:l},s="Line"}else r={center:n.getCenter(),radius:a.getDistanceToCenter(n,t),startAngle:n.startAngle,endAngle:n.endAngle},s="Circle";delete(r=i.deepMix({container:this.getTooltipCrosshairsGroup()},r,i.get(e,"crosshairs",{}),this.getCrosshairsText("y",t,e))).type;var u=this.yCrosshair;u?n.isRect&&"circle"===u.get("type")||!n.isRect&&"line"===u.get("type")?(u=new o.Crosshair[s](r)).init():u.update(r):(u=new o.Crosshair[s](r)).init(),u.render(),u.show(),this.yCrosshair=u}},e.prototype.getCrosshairsText=function(t,e,n){var r=i.get(n,["crosshairs","text"]),o=i.get(n,["crosshairs","follow"]),a=this.items;if(r){var s=this.getViewWithGeometry(this.view),c=a[0],l=s.getXScale(),u=s.getYScales()[0],g=void 0,f=void 0;if(o){var d=this.view.getCoordinate().invert(e);g=l.invert(d.x),f=u.invert(d.y)}else g=c.data[l.field],f=c.data[u.field];var h="x"===t?g:f;return i.isFunction(r)?r=r(t,h,a,e):r.content=h,{text:r}}},e.prototype.getGuideGroup=function(){if(!this.guideGroup){var t=this.view.foregroundGroup;this.guideGroup=t.addGroup({name:"tooltipGuide",capture:!1})}return this.guideGroup},e.prototype.getTooltipMarkersGroup=function(){var t=this.tooltipMarkersGroup;return t&&!t.destroyed?(t.clear(),t.show()):((t=this.getGuideGroup().addGroup({name:"tooltipMarkersGroup"})).toFront(),this.tooltipMarkersGroup=t),t},e.prototype.getTooltipCrosshairsGroup=function(){var t=this.tooltipCrosshairsGroup;return t||((t=this.getGuideGroup().addGroup({name:"tooltipCrosshairsGroup",capture:!1})).toBack(),this.tooltipCrosshairsGroup=t),t},e.prototype.getTooltipItemsByHitShape=function(t,e,n){var r=[],i=t.container.getShape(e.x,e.y);if(i&&i.get("visible")&&i.get("origin")){var o=i.get("origin").mappingData,a=c.getTooltipItems(o,t,n);a.length&&r.push(a)}return r},e.prototype.getTooltipItemsByFindData=function(t,e,n){var r=[],o=t.dataArray;if(!i.isEmpty(o)){t.sort(o);for(var a=0,s=o;a<s.length;a++){var l=s[a],u=c.findDataByPoint(e,l,t);if(u){var g=t.getElementId(u),f=t.elementsMap[g];if("heatmap"===t.type||f.visible){var d=c.getTooltipItems(u,t,n);d.length&&r.push(d)}}}}return r},e.prototype.findItemsFromView=function(t,e){if(!1===t.getOptions().tooltip)return[];for(var n=[],r=t.geometries,i=this.getTooltipCfg(),o=i.shared,a=i.title,s=i.reversed,c=0,l=r;c<l.length;c++){var u=l[c];if(u.visible&&!1!==u.tooltipOption){var g=u.type,f=void 0;(f=["point","edge","polygon"].includes(g)?this.getTooltipItemsByHitShape(u,e,a):["area","line","path","heatmap"].includes(g)||!1!==o?this.getTooltipItemsByFindData(u,e,a):this.getTooltipItemsByHitShape(u,e,a)).length&&(s&&f.reverse(),n.push(f))}}for(var d=0,h=t.views;d<h.length;d++){var p=h[d];n=n.concat(this.findItemsFromView(p,e))}return n},e.prototype.getViewWithGeometry=function(t){var e=this;return t.geometries.length?t:i.find(t.views,(function(t){return e.getViewWithGeometry(t)}))},e}(u.Controller);e.default=f},function(t,e,n){"use strict";n.r(e),n.d(e,"version",(function(){return l}));var r=n(97);n.d(e,"Shape",(function(){return r}));var i=n(24);for(var o in i)["default","Canvas","Group","Shape","getArcParams","version"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var a=n(453);n.d(e,"Canvas",(function(){return a.a}));var s=n(131);n.d(e,"Group",(function(){return s.a}));var c=n(165);n.d(e,"getArcParams",(function(){return c.a}));var l="0.5.6"},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l);function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}var f=function(t){a()(n,t);var e=g(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).annotationType="arc",t}return n}(n(49).a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l);function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}var f=function(t){a()(n,t);var e=g(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).annotationType="dataMarker",t}return n}(n(49).a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l);function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}var f=function(t){a()(n,t);var e=g(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).annotationType="dataRegion",t}return n}(n(49).a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l);function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}var f=function(t){a()(n,t);var e=g(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).annotationType="image",t}return n}(n(49).a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l);function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}var f=function(t){a()(n,t);var e=g(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).annotationType="line",t}return n}(n(49).a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l);function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}var f=function(t){a()(n,t);var e=g(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).annotationType="region",t}return n}(n(49).a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l);function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}var f=function(t){a()(n,t);var e=g(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).annotationType="text",t}return n}(n(49).a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(65),a=n(65),s=r.__importDefault(n(103)),c=Math.PI/2,l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getLabelOffset=function(t){var e=this.getCoordinate(),n=0;if(i.isNumber(t))n=t;else if(i.isString(t)&&-1!==t.indexOf("%")){var r=e.getRadius();e.innerRadius>0&&(r*=1-e.innerRadius),n=.01*parseFloat(t)*r}return n},e.prototype.getLabelItems=function(e){var n=t.prototype.getLabelItems.call(this,e),o=this.geometry.getYScale();return i.map(n,(function(t){if(t&&o){var e=o.scale(i.get(t.data,o.field));return r.__assign(r.__assign({},t),{percent:e})}return t}))},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate();if(t.labelEmit)e=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(n.isTransposed){var r=n.getCenter(),i=t.offset;e=Math.abs(t.x-r.x)<1?"center":t.angle>Math.PI||t.angle<=0?i>0?"left":"right":i>0?"right":"left"}else e="center";return e},e.prototype.getLabelPoint=function(t,e,n){var r,i=1,o=t.content[n];this.isToMiddle(e)?r=this.getMiddlePoint(e.points):(1===t.content.length&&0===n?n=1:0===n&&(i=-1),r=this.getArcPoint(e,n));var a=t.offset*i,s=this.getPointAngle(r),c=t.labelEmit,l=this.getCirclePoint(s,a,r,c);return 0===l.r?l.content="":(l.content=o,l.angle=s,l.color=e.color),l.rotate=t.autoRotate?this.getLabelRotate(s,a,c):t.rotate,l.start={x:r.x,y:r.y},l},e.prototype.getArcPoint=function(t,e){return void 0===e&&(e=0),i.isArray(t.x)||i.isArray(t.y)?{x:i.isArray(t.x)?t.x[e]:t.x,y:i.isArray(t.y)?t.y[e]:t.y}:{x:t.x,y:t.y}},e.prototype.getPointAngle=function(t){return a.getAngleByPoint(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,i){var a=this.getCoordinate(),s=a.getCenter(),c=o.getDistanceToCenter(a,n);if(0===c)return r.__assign(r.__assign({},s),{r:c});var l=t;return a.isTransposed&&c>e&&!i?l=t+2*Math.asin(e/(2*c)):c+=e,{x:s.x+c*Math.cos(l),y:s.y+c*Math.sin(l),r:c}},e.prototype.getLabelRotate=function(t,e,n){var r=t+c;return n&&(r-=c),r&&(r>c?r-=Math.PI:r<-c&&(r+=Math.PI)),r},e.prototype.getMiddlePoint=function(t){var e=this.getCoordinate(),n=t.length,r={x:0,y:0};return i.each(t,(function(t){r.x+=t.x,r.y+=t.y})),r.x/=n,r.y/=n,r=e.convert(r)},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(s.default);e.default=l},function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(57),i=n.n(r),o=n(5),a=n.n(o),s=n(52),c=n.n(s),l=n(36),u=n.n(l),g=n(54),f=function(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){var i=0;for(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 d(t){var e=t.type,n=t.transpose,r=t.rotate,o=t.scale,s=t.reflect,l=t.actions,d=f(t,["type","transpose","rotate","scale","reflect","actions"]),h=Object(g.a)(),p=h.coordinate();return p.update({}),e?h.coordinate(e,a()({},d)):h.coordinate("rect",a()({},d)),r&&p.rotate(r),o&&p.scale.apply(p,i()(o)),c()(s)||p.reflect(s),n&&p.transpose(),u()(l)&&l(p),null}},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l),g=n(273),f=n.n(g),d=n(50),h=n(7);function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}n(348),Object(h.registerGeometry)("Edge",f.a);var A=function(t){a()(n,t);var e=p(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).GemoBaseClassName="edge",t}return n}(d.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l),g=n(274),f=n.n(g),d=n(50),h=n(7);function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}Object(h.registerGeometry)("Heatmap",f.a);var A=function(t){a()(n,t);var e=p(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).GemoBaseClassName="heatmap",t}return n}(d.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l),g=n(275),f=n.n(g),d=n(167),h=n.n(d),p=n(168),A=n.n(p),C=n(50),v=n(7);function I(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}n(353),n(354),n(355),n(356),n(357),Object(v.registerGeometry)("Interval",f.a),Object(v.registerGeometryLabel)("interval",h.a),Object(v.registerGeometryLabel)("pie",A.a),Object(v.registerInteraction)("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]});var y=function(t){a()(n,t);var e=I(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).interactionTypes=["active-region","element-highlight"],t.GemoBaseClassName="interval",t}return n}(C.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l),g=n(278),f=n.n(g),d=n(50),h=n(7);function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}n(350),n(363),Object(h.registerGeometry)("Polygon",f.a);var A=function(t){a()(n,t);var e=p(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).GemoBaseClassName="polygon",t}return n}(d.a)},function(t,e,n){"use strict";var r=n(5),i=n.n(r),o=n(4),a=n.n(o),s=n(105),c=(n(245),n(248),n(73)),l=n.n(c),u=n(172),g=n.n(u),f=n(19),d=n.n(f),h=n(25),p=n.n(h),A=n(7),C=n(149),v=n(54),I=n(135),y=n(136),m=n(134),b=function(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){var i=0;for(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},x={default:{style:{fill:"#5B8FF9",fillOpacity:.25,stroke:null}},active:{style:{fillOpacity:.5}},inactive:{style:{fillOpacity:.4}},selected:{style:{fillOpacity:.5}}};Object(A.registerShape)("area","gradient",{draw:function(t,e){var n=Object(s.getShapeAttrs)(t,!1,!1,this),r=n.fill,i=C.a(r);return i&&(n.fill="l (90) 0:".concat(C.b(i.r,i.g,i.b,1).formatRgb()," 1:").concat(C.b(i.r,i.g,i.b,.1).formatRgb())),e.addShape({type:"path",attrs:n,name:"area"})}}),Object(A.registerShape)("area","gradient-smooth",{draw:function(t,e){var n=this.coordinate,r=Object(s.getShapeAttrs)(t,!1,!0,this,Object(s.getConstraint)(n)),i=r.fill,o=C.a(i);return o&&(r.fill="l (90) 0:".concat(C.b(o.r,o.g,o.b,1).formatRgb()," 1:").concat(C.b(o.r,o.g,o.b,.1).formatRgb())),e.addShape({type:"path",attrs:r,name:"area"})}}),e.a=function(t){var e=t.point,n=t.area,r=t.shape,o=b(t,["point","area","shape"]),s={shape:"circle"},c={shape:"smooth"===r?"gradient-smooth":"gradient"},u=Object(v.a)(),f=u.getTheme();return f.geometries.area.gradient=x,f.geometries.area["gradient-smooth"]=x,void 0===d()(u,["options","tooltip","shared"])&&p()(u,["options","tooltip","shared"],!0),void 0===d()(u,["options","tooltip","showCrosshairs"])&&p()(u,["options","tooltip","showCrosshairs"],!0),void 0===d()(u,["options","tooltip","showMarkers"])&&p()(u,["options","tooltip","showMarkers"],!0),l()(s)&&g()(s,e),l()(c)&&g()(c,n),a.a.createElement(a.a.Fragment,null,a.a.createElement(I.a,i()({shape:r,state:{default:{style:{shadowColor:"#ddd",shadowBlur:3,shadowOffsetY:2}},active:{style:{shadowColor:"#ddd",shadowBlur:3,shadowOffsetY:5}}}},o)),!!n&&a.a.createElement(m.a,i()({},o,{tooltip:!1},c)),!!e&&a.a.createElement(y.a,i()({size:3},o,{state:{active:{style:{stroke:"#fff",lineWidth:1.5,strokeOpacity:.9}}},tooltip:!1},s)))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(1),i=n(55),o=n(2),a=n(51);function s(t){var e=t.options,n=e.polygon,s=e.xField,c=e.yField,l=e.seriesField,u=e.tooltip,g=Object(i.a)(u,[s,c,l]),f=g.fields,d=g.formatter;return n?Object(a.a)(Object(o.b)({},t,{options:{type:"polygon",colorField:l,tooltipFields:f,mapping:Object(r.__assign)({tooltip:d},n)}})):t}},function(t,e,n){"use strict";function r(t,e){return t.parent===e.parent?1:2}function i(t,e){return t+e.x}function o(t,e){return Math.max(t,e.y)}n.r(e),n.d(e,"cluster",(function(){return a})),n.d(e,"hierarchy",(function(){return s.c})),n.d(e,"pack",(function(){return S})),n.d(e,"packSiblings",(function(){return b})),n.d(e,"packEnclose",(function(){return l})),n.d(e,"partition",(function(){return E.a})),n.d(e,"stratify",(function(){return D})),n.d(e,"tree",(function(){return G})),n.d(e,"treemap",(function(){return W.a})),n.d(e,"treemapBinary",(function(){return Y})),n.d(e,"treemapDice",(function(){return H.a})),n.d(e,"treemapSlice",(function(){return U.a})),n.d(e,"treemapSliceDice",(function(){return X})),n.d(e,"treemapSquarify",(function(){return Z.a})),n.d(e,"treemapResquarify",(function(){return q}));var a=function(){var t=r,e=1,n=1,a=!1;function s(r){var s,c=0;r.eachAfter((function(e){var n=e.children;n?(e.x=function(t){return t.reduce(i,0)/t.length}(n),e.y=function(t){return 1+t.reduce(o,0)}(n)):(e.x=s?c+=t(e,s):0,e.y=0,s=e)}));var l=function(t){for(var e;e=t.children;)t=e[0];return t}(r),u=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(r),g=l.x-t(l,u)/2,f=u.x+t(u,l)/2;return r.eachAfter(a?function(t){t.x=(t.x-r.x)*e,t.y=(r.y-t.y)*n}:function(t){t.x=(t.x-g)/(f-g)*e,t.y=(1-(r.y?t.y/r.y:1))*n})}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(a=!1,e=+t[0],n=+t[1],s):a?null:[e,n]},s.nodeSize=function(t){return arguments.length?(a=!0,e=+t[0],n=+t[1],s):a?[e,n]:null},s},s=n(107);function c(t){return(c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var l=function(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(Array.from(t))).length,o=[];r<i;)e=t[r],n&&f(n,e)?++r:(n=h(o=u(o,e)),r=0);return n};function u(t,e){var n,r;if(d(e,t))return[e];for(n=0;n<t.length;++n)if(g(e,t[n])&&d(p(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(g(p(t[n],t[r]),e)&&g(p(t[n],e),t[r])&&g(p(t[r],e),t[n])&&d(A(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function g(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n<r*r+i*i}function f(t,e){var n=t.r-e.r+1e-9*Math.max(t.r,e.r,1),r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function d(t,e){for(var n=0;n<e.length;++n)if(!f(t,e[n]))return!1;return!0}function h(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return p(t[0],t[1]);case 3:return A(t[0],t[1],t[2])}var e}function p(t,e){var n=t.x,r=t.y,i=t.r,o=e.x,a=e.y,s=e.r,c=o-n,l=a-r,u=s-i,g=Math.sqrt(c*c+l*l);return{x:(n+o+c/g*u)/2,y:(r+a+l/g*u)/2,r:(g+i+s)/2}}function A(t,e,n){var r=t.x,i=t.y,o=t.r,a=e.x,s=e.y,c=e.r,l=n.x,u=n.y,g=n.r,f=r-a,d=r-l,h=i-s,p=i-u,A=c-o,C=g-o,v=r*r+i*i-o*o,I=v-a*a-s*s+c*c,y=v-l*l-u*u+g*g,m=d*h-f*p,b=(h*y-p*I)/(2*m)-r,x=(p*A-h*C)/m,w=(d*I-f*y)/(2*m)-i,O=(f*C-d*A)/m,S=x*x+O*O-1,_=2*(o+b*x+w*O),k=b*b+w*w-o*o,j=-(S?(_+Math.sqrt(_*_-4*S*k))/(2*S):k/_);return{x:r+b+x*j,y:i+w+O*j,r:j}}function C(t,e,n){var r,i,o,a,s=t.x-e.x,c=t.y-e.y,l=s*s+c*c;l?(i=e.r+n.r,i*=i,a=t.r+n.r,i>(a*=a)?(r=(l+a-i)/(2*l),o=Math.sqrt(Math.max(0,a/l-r*r)),n.x=t.x-r*s-o*c,n.y=t.y-r*c+o*s):(r=(l+i-a)/(2*l),o=Math.sqrt(Math.max(0,i/l-r*r)),n.x=e.x+r*s-o*c,n.y=e.y+r*c+o*s)):(n.x=e.x+n.r,n.y=e.y)}function v(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function I(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function y(t){this._=t,this.next=null,this.previous=null}function m(t){if(!(o=(e=t,t="object"===c(e)&&"length"in e?e:Array.from(e)).length))return 0;var e,n,r,i,o,a,s,u,g,f,d,h;if((n=t[0]).x=0,n.y=0,!(o>1))return n.r;if(r=t[1],n.x=-r.r,r.x=n.r,r.y=0,!(o>2))return n.r+r.r;C(r,n,i=t[2]),n=new y(n),r=new y(r),i=new y(i),n.next=i.previous=r,r.next=n.previous=i,i.next=r.previous=n;t:for(u=3;u<o;++u){C(n._,r._,i=t[u]),i=new y(i),g=r.next,f=n.previous,d=r._.r,h=n._.r;do{if(d<=h){if(v(g._,i._)){r=g,n.next=r,r.previous=n,--u;continue t}d+=g._.r,g=g.next}else{if(v(f._,i._)){(n=f).next=r,r.previous=n,--u;continue t}h+=f._.r,f=f.previous}}while(g!==f.next);for(i.previous=n,i.next=r,n.next=r.previous=r=i,a=I(n);(i=i.next)!==r;)(s=I(i))<a&&(n=i,a=s);r=n.next}for(n=[r._],i=r;(i=i.next)!==r;)n.push(i._);for(i=l(n),u=0;u<o;++u)(n=t[u]).x-=i.x,n.y-=i.y;return i.r}var b=function(t){return m(t),t},x=n(118),w=n(64);function O(t){return Math.sqrt(t.value)}var S=function(){var t=null,e=1,n=1,r=w.a;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(_(t)).eachAfter(k(r,.5)).eachBefore(j(1)):i.eachBefore(_(O)).eachAfter(k(w.a,1)).eachAfter(k(r,i.r/Math.min(e,n))).eachBefore(j(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=Object(x.a)(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"===typeof t?t:Object(w.b)(+t),i):r},i};function _(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function k(t,e){return function(n){if(r=n.children){var r,i,o,a=r.length,s=t(n)*e||0;if(s)for(i=0;i<a;++i)r[i].r+=s;if(o=m(r),s)for(i=0;i<a;++i)r[i].r-=s;n.r=o+s}}}function j(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}var E=n(391),P={depth:-1},M={};function T(t){return t.id}function R(t){return t.parentId}var D=function(){var t=T,e=R;function n(n){var r,i,o,a,c,l,u,g=Array.from(n),f=g.length,d=new Map;for(i=0;i<f;++i)r=g[i],c=g[i]=new s.a(r),null!=(l=t(r,i,n))&&(l+="")&&(u=c.id=l,d.set(u,d.has(u)?M:c)),null!=(l=e(r,i,n))&&(l+="")&&(c.parent=l);for(i=0;i<f;++i)if(l=(c=g[i]).parent){if(!(a=d.get(l)))throw new Error("missing: "+l);if(a===M)throw new Error("ambiguous: "+l);a.children?a.children.push(c):a.children=[c],c.parent=a}else{if(o)throw new Error("multiple roots");o=c}if(!o)throw new Error("no root");if(o.parent=P,o.eachBefore((function(t){t.depth=t.parent.depth+1,--f})).eachBefore(s.b),o.parent=null,f>0)throw new Error("cycle");return o}return n.id=function(e){return arguments.length?(t=Object(x.b)(e),n):t},n.parentId=function(t){return arguments.length?(e=Object(x.b)(t),n):e},n};function N(t,e){return t.parent===e.parent?1:2}function L(t){var e=t.children;return e?e[0]:t.t}function F(t){var e=t.children;return e?e[e.length-1]:t.t}function B(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function z(t,e,n){return t.a.parent===e.parent?t.a:n}function V(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}V.prototype=Object.create(s.a.prototype);var G=function(){var t=N,e=1,n=1,r=null;function i(i){var c=function(t){for(var e,n,r,i,o,a=new V(t,0),s=[a];e=s.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)s.push(n=e.children[i]=new V(r[i],i)),n.parent=e;return(a.parent=new V(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)i.eachBefore(s);else{var l=i,u=i,g=i;i.eachBefore((function(t){t.x<l.x&&(l=t),t.x>u.x&&(u=t),t.depth>g.depth&&(g=t)}));var f=l===u?1:t(l,u)/2,d=f-l.x,h=e/(u.x+f+d),p=n/(g.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*h,t.y=t.depth*p}))}return i}function o(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,o=e,a=e,s=n,c=o.parent.children[0],l=o.m,u=a.m,g=s.m,f=c.m;s=F(s),o=L(o),s&&o;)c=L(c),(a=F(a)).a=e,(i=s.z+g-o.z-l+t(s._,o._))>0&&(B(z(s,e,r),e,i),l+=i,u+=i),g+=s.m,l+=o.m,f+=c.m,u+=a.m;s&&!F(a)&&(a.t=s,a.m+=g-u),o&&!L(c)&&(c.t=o,c.m+=l-f,r=e)}return r}(e,i,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i},W=n(311),Y=function(t,e,n,r,i){var o,a,s=t.children,c=s.length,l=new Array(c+1);for(l[0]=a=o=0;o<c;++o)l[o+1]=a+=s[o].value;!function t(e,n,r,i,o,a,c){if(e>=n-1){var u=s[e];return u.x0=i,u.y0=o,u.x1=a,void(u.y1=c)}for(var g=l[e],f=r/2+g,d=e+1,h=n-1;d<h;){var p=d+h>>>1;l[p]<f?d=p+1:h=p}f-l[d-1]<l[d]-f&&e+1<d&&--d;var A=l[d]-g,C=r-A;if(a-i>c-o){var v=r?(i*C+a*A)/r:a;t(e,d,A,i,o,v,c),t(d,n,C,v,o,a,c)}else{var I=r?(o*C+c*A)/r:c;t(e,d,A,i,o,a,I),t(d,n,C,i,I,a,c)}}(0,c,t.value,e,n,r,i)},H=n(91),U=n(106),X=function(t,e,n,r,i){(1&t.depth?U.a:H.a)(t,e,n,r,i)},Z=n(114),q=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,c,l,u,g=-1,f=a.length,d=t.value;++g<f;){for(c=(s=a[g]).children,l=s.value=0,u=c.length;l<u;++l)s.value+=c[l].value;s.dice?Object(H.a)(s,n,r,i,d?r+=(o-r)*s.value/d:o):Object(U.a)(s,n,r,d?n+=(i-n)*s.value/d:i,o),d-=s.value}else t._squarify=a=Object(Z.c)(e,t,n,r,i,o),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(Z.b)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(1),i=n(18),o=n(0),a=n(51),s=n(3),c=n(2),l=n(70);function u(t){var e=t.chart,n=t.options,i=n.views,s=n.legend,u=n.tooltip;return Object(o.each)(i,(function(t){var n=t.region,i=t.data,s=t.meta,u=t.axes,g=t.coordinate,f=t.interactions,d=t.annotations,h=t.geometries,p=e.createView({region:n});p.data(i);var A={};u&&Object(o.each)(u,(function(t,e){A[e]=Object(c.k)(t,l.a)})),A=Object(c.b)({},s,A),p.scale(A),u?Object(o.each)(u,(function(t,e){p.axis(e,t)})):p.axis(!1),p.coordinate(g),Object(o.each)(h,(function(t){var e=Object(a.a)({chart:p,options:t}).ext,n=t.adjust;n&&e.geometry.adjust(n)})),Object(o.each)(f,(function(t){!1===t.enable?p.removeInteraction(t.type):p.interaction(t.type,t.cfg)})),Object(o.each)(d,(function(t){p.annotation()[t.type](Object(r.__assign)({},t))}))})),s?Object(o.each)(s,(function(t,n){e.legend(n,t)})):e.legend(!1),e.tooltip(u),t}function g(t){return Object(c.e)(s.a,u,s.c,s.a,s.j,s.k)(t)}var f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="multi-view",e}return Object(r.__extends)(e,t),e.prototype.getSchemaAdaptor=function(){return g},e}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(207),o=n(31),a={};function s(t,e){if(t.set("canvas",e),t.isGroup()){var n=t.get("children");n.length&&n.forEach((function(t){s(t,e)}))}}function c(t,e){if(t.set("timeline",e),t.isGroup()){var n=t.get("children");n.length&&n.forEach((function(t){c(t,e)}))}}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.isCanvas=function(){return!1},e.prototype.getBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],a=[],s=this.getChildren().filter((function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)}));return s.length>0?(Object(o.a)(s,(function(t){var e=t.getBBox();i.push(e.minX,e.maxX),a.push(e.minY,e.maxY)})),t=Math.min.apply(null,i),e=Math.max.apply(null,i),n=Math.min.apply(null,a),r=Math.max.apply(null,a)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],a=[],s=this.getChildren().filter((function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)}));return s.length>0?(Object(o.a)(s,(function(t){var e=t.getCanvasBBox();i.push(e.minX,e.maxX),a.push(e.minY,e.maxY)})),t=Math.min.apply(null,i),e=Math.max.apply(null,i),n=Math.min.apply(null,a),r=Math.max.apply(null,a)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.children=[],e},e.prototype.onAttrChange=function(e,n,r){if(t.prototype.onAttrChange.call(this,e,n,r),"matrix"===e){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();Object(o.a)(e,(function(e){e.applyMatrix(t)}))},e.prototype.addShape=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[0],r=t[1];Object(o.f)(n)?r=n:r.type=n;var i=a[r.type];i||(i=Object(o.k)(r.type),a[r.type]=i);var s=this.getShapeBase(),c=new s[i](r);return this.add(c),c},e.prototype.addGroup=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n,r=t[0],i=t[1];if(Object(o.d)(r))n=new r(i||{parent:this});else{var a=r||{},s=this.getGroupBase();n=new s(a)}return this.add(n),n},e.prototype.getCanvas=function(){return this.isCanvas()?this:this.get("canvas")},e.prototype.getShape=function(t,e,n){if(!Object(o.b)(this))return null;var r,i=this.getChildren();if(this.isCanvas())r=this._findShape(i,t,e,n);else{var a=[t,e,1];a=this.invertFromMatrix(a),this.isClipped(a[0],a[1])||(r=this._findShape(i,a[0],a[1],n))}return r},e.prototype._findShape=function(t,e,n,r){for(var i=null,a=t.length-1;a>=0;a--){var s=t[a];if(Object(o.b)(s)&&(s.isGroup()?i=s.getShape(e,n,r):s.isHit(e,n)&&(i=s)),i)break}return i},e.prototype.add=function(t){var e=this.getCanvas(),n=this.getChildren(),r=this.get("timeline"),i=t.getParent();i&&function(t,e,n){void 0===n&&(n=!0),n?e.destroy():(e.set("parent",null),e.set("canvas",null)),Object(o.j)(t.getChildren(),e)}(i,t,!1),t.set("parent",this),e&&s(t,e),r&&c(t,r),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var e=this.getTotalMatrix();e&&t.applyMatrix(e)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t,e=this.getChildren();Object(o.a)(e,(function(t,e){return t._INDEX=e,t})),e.sort((t=function(t,e){return t.get("zIndex")-e.get("zIndex")},function(e,n){var r=t(e,n);return 0===r?e._INDEX-n._INDEX:r})),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),e=t.length-1;e>=0;e--)t[e].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),t.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){return this.getChildren()[t]},e.prototype.getCount=function(){return this.getChildren().length},e.prototype.contain=function(t){return this.getChildren().indexOf(t)>-1},e.prototype.removeChild=function(t,e){void 0===e&&(e=!0),this.contain(t)&&t.remove(e)},e.prototype.findAll=function(t){var e=[],n=this.getChildren();return Object(o.a)(n,(function(n){t(n)&&e.push(n),n.isGroup()&&(e=e.concat(n.findAll(t)))})),e},e.prototype.find=function(t){var e=null,n=this.getChildren();return Object(o.a)(n,(function(n){if(t(n)?e=n:n.isGroup()&&(e=n.find(t)),e)return!1})),e},e.prototype.findById=function(t){return this.find((function(e){return e.get("id")===t}))},e.prototype.findByClassName=function(t){return this.find((function(e){return e.get("className")===t}))},e.prototype.findAllByName=function(t){return this.findAll((function(e){return e.get("name")===t}))},e}(i.a);e.a=l},function(t,e,n){"use strict";var r=n(1),i=n(0),o=n(15),a=n(31),s=n(71),c=n(183),l=o.ext.transform,u="matrix",g=["zIndex","capture","visible","type"],f=["repeat"];function d(t,e){var n={},r=e.attrs;for(var i in t)n[i]=r[i];return n}function h(t,e){var n={},r=e.attr();return Object(i.each)(t,(function(t,e){-1!==f.indexOf(e)||Object(i.isEqual)(r[e],t)||(n[e]=t)})),n}function p(t,e){if(e.onFrame)return t;var n=e.startTime,r=e.delay,o=e.duration,a=Object.prototype.hasOwnProperty;return Object(i.each)(t,(function(t){n+r<t.startTime+t.delay+t.duration&&o>t.delay&&Object(i.each)(e.toAttrs,(function(e,n){a.call(t.toAttrs,n)&&(delete t.toAttrs[n],delete t.fromAttrs[n])}))})),t}var A=function(t){function e(e){var n=t.call(this,e)||this;n.attrs={};var r=n.getDefaultAttrs();return Object(i.mix)(r,e.attrs),n.attrs=r,n.initAttrs(r),n.initAnimate(),n}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0],o=e[1];if(!r)return this.attrs;if(Object(i.isObject)(r)){for(var a in r)this.setAttr(a,r[a]);return this.afterAttrsChange(r),this}return 2===e.length?(this.setAttr(r,o),this.afterAttrsChange(((t={})[r]=o,t)),this):this.attrs[r]},e.prototype.isClipped=function(t,e){var n=this.getClip();return n&&!n.isHit(t,e)},e.prototype.setAttr=function(t,e){var n=this.attrs[t];n!==e&&(this.attrs[t]=e,this.onAttrChange(t,e,n))},e.prototype.onAttrChange=function(t,e,n){"matrix"===t&&this.set("totalMatrix",null)},e.prototype.afterAttrsChange=function(t){if(this.cfg.isClipShape){var e=this.cfg.applyTo;e&&e.onCanvasChange("clip")}else this.onCanvasChange("attr")},e.prototype.show=function(){return this.set("visible",!0),this.onCanvasChange("show"),this},e.prototype.hide=function(){return this.set("visible",!1),this.onCanvasChange("hide"),this},e.prototype.setZIndex=function(t){this.set("zIndex",t);var e=this.getParent();return e&&e.sort(),this},e.prototype.toFront=function(){var t=this.getParent();if(t){var e=t.getChildren(),n=(this.get("el"),e.indexOf(this));e.splice(n,1),e.push(this),this.onCanvasChange("zIndex")}},e.prototype.toBack=function(){var t=this.getParent();if(t){var e=t.getChildren(),n=(this.get("el"),e.indexOf(this));e.splice(n,1),e.unshift(this),this.onCanvasChange("zIndex")}},e.prototype.remove=function(t){void 0===t&&(t=!0);var e=this.getParent();e?(Object(a.j)(e.getChildren(),this),e.get("clearing")||this.onCanvasChange("remove")):this.onCanvasChange("remove"),t&&this.destroy()},e.prototype.resetMatrix=function(){this.attr(u,this.getDefaultMatrix()),this.onCanvasChange("matrix")},e.prototype.getMatrix=function(){return this.attr(u)},e.prototype.setMatrix=function(t){this.attr(u,t),this.onCanvasChange("matrix")},e.prototype.getTotalMatrix=function(){var t=this.cfg.totalMatrix;if(!t){var e=this.attr("matrix"),n=this.cfg.parentMatrix;t=n&&e?Object(s.b)(n,e):e||n,this.set("totalMatrix",t)}return t},e.prototype.applyMatrix=function(t){var e=this.attr("matrix"),n=null;n=t&&e?Object(s.b)(t,e):e||t,this.set("totalMatrix",n),this.set("parentMatrix",t)},e.prototype.getDefaultMatrix=function(){return null},e.prototype.applyToMatrix=function(t){var e=this.attr("matrix");return e?Object(s.c)(e,t):t},e.prototype.invertFromMatrix=function(t){var e=this.attr("matrix");if(e){var n=Object(s.a)(e);if(n)return Object(s.c)(n,t)}return t},e.prototype.setClip=function(t){var e=this.getCanvas(),n=null;if(t){var r=this.getShapeBase()[Object(i.upperFirst)(t.type)];r&&(n=new r({type:t.type,isClipShape:!0,applyTo:this,attrs:t.attrs,canvas:e}))}return this.set("clipShape",n),this.onCanvasChange("clip"),n},e.prototype.getClip=function(){var t=this.cfg.clipShape;return t||null},e.prototype.clone=function(){var t=this,e=this.attrs,n={};Object(i.each)(e,(function(t,r){Object(i.isArray)(e[r])?n[r]=function(t){for(var e=[],n=0;n<t.length;n++)Object(i.isArray)(t[n])?e.push([].concat(t[n])):e.push(t[n]);return e}(e[r]):n[r]=e[r]}));var r=new(0,this.constructor)({attrs:n});return Object(i.each)(g,(function(e){r.set(e,t.get(e))})),r},e.prototype.destroy=function(){this.destroyed||(this.attrs={},t.prototype.destroy.call(this))},e.prototype.isAnimatePaused=function(){return this.get("_pause").isPaused},e.prototype.animate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.isCanvas&&this.isCanvas();if(n||this.get("canvas")){this.set("animating",!0);var r=this.get("timeline");r||(r=this.get("canvas").get("timeline"),this.set("timeline",r));var o=this.get("animations")||[];r.timer||r.initTimer();var a,s,c,l,u,g=t[0],f=t[1],A=t[2],C=void 0===A?"easeLinear":A,v=t[3],I=void 0===v?i.noop:v,y=t[4],m=void 0===y?0:y;Object(i.isFunction)(g)?(a=g,g={}):Object(i.isObject)(g)&&g.onFrame&&(a=g.onFrame,s=g.repeat),Object(i.isObject)(f)?(f=(u=f).duration,C=u.easing||"easeLinear",m=u.delay||0,s=u.repeat||s||!1,I=u.callback||i.noop,c=u.pauseCallback||i.noop,l=u.resumeCallback||i.noop):(Object(i.isNumber)(I)&&(m=I,I=null),Object(i.isFunction)(C)?(I=C,C="easeLinear"):C=C||"easeLinear");var b=h(g,this),x={fromAttrs:d(b,this),toAttrs:b,duration:f,easing:C,repeat:s,callback:I,pauseCallback:c,resumeCallback:l,delay:m,startTime:r.getTime(),id:Object(i.uniqueId)(),onFrame:a,pathFormatted:!1};o.length>0?o=p(o,x):r.addAnimator(this),o.push(x),this.set("animations",o),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");Object(i.each)(n,(function(n){t&&(n.onFrame?e.attr(n.onFrame(1)):e.attr(n.toAttrs)),n.callback&&n.callback()})),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),e=this.get("animations"),n=t.getTime();return Object(i.each)(e,(function(t){t._paused=!0,t._pauseTime=n,t.pauseCallback&&t.pauseCallback()})),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline").getTime(),e=this.get("animations"),n=this.get("_pause").pauseTime;return Object(i.each)(e,(function(e){e.startTime=e.startTime+(t-n),e._paused=!1,e._pauseTime=null,e.resumeCallback&&e.resumeCallback()})),this.set("_pause",{isPaused:!1}),this.set("animations",e),this},e.prototype.emitDelegation=function(t,e){var n,r=this,o=e.propagationPath;this.getEvents(),"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var s=function(t){var s=o[t],l=s.get("name");if(l){if((s.isGroup()||s.isCanvas&&s.isCanvas())&&n&&Object(a.g)(s,n))return"break";Object(i.isArray)(l)?Object(i.each)(l,(function(t){r.emitDelegateEvent(s,t,e)})):c.emitDelegateEvent(s,l,e)}},c=this,l=0;l<o.length&&"break"!==s(l);l++);},e.prototype.emitDelegateEvent=function(t,e,n){var r=this.getEvents(),i=e+":"+n.type;(r[i]||r["*"])&&(n.name=i,n.currentTarget=t,n.delegateTarget=this,n.delegateObject=t.get("delegateObject"),this.emit(i,n))},e.prototype.translate=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0);var n=this.getMatrix(),r=l(n,[["t",t,e]]);return this.setMatrix(r),this},e.prototype.move=function(t,e){var n=this.attr("x")||0,r=this.attr("y")||0;return this.translate(t-n,e-r),this},e.prototype.moveTo=function(t,e){return this.move(t,e)},e.prototype.scale=function(t,e){var n=this.getMatrix(),r=l(n,[["s",t,e||t]]);return this.setMatrix(r),this},e.prototype.rotate=function(t){var e=this.getMatrix(),n=l(e,[["r",t]]);return this.setMatrix(n),this},e.prototype.rotateAtStart=function(t){var e=this.attr(),n=e.x,r=e.y,i=this.getMatrix(),o=l(i,[["t",-n,-r],["r",t],["t",n,r]]);return this.setMatrix(o),this},e.prototype.rotateAtPoint=function(t,e,n){var r=this.getMatrix(),i=l(r,[["t",-t,-e],["r",n],["t",t,e]]);return this.setMatrix(i),this},e}(c.a);e.a=A},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fadeOut=e.fadeIn=void 0;var r=n(0);e.fadeIn=function(t,e,n){var i={fillOpacity:r.isNil(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),strokeOpacity:r.isNil(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity"),opacity:r.isNil(t.attr("opacity"))?1:t.attr("opacity")};t.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),t.animate(i,e)},e.fadeOut=function(t,e,n){var r=e.easing,i=e.duration,o=e.delay;t.animate({fillOpacity:0,strokeOpacity:0,opacity:0},i,r,(function(){t.remove(!0)}),o)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.scaleInY=e.scaleInX=void 0;var r=n(15);e.scaleInX=function(t,e,n){var i=t.getBBox(),o=t.get("origin").mappingData.points,a=o[0].y-o[1].y>0?i.maxX:i.minX,s=(i.minY+i.maxY)/2;t.applyToMatrix([a,s,1]);var c=r.ext.transform(t.getMatrix(),[["t",-a,-s],["s",.01,1],["t",a,s]]);t.setMatrix(c),t.animate({matrix:r.ext.transform(t.getMatrix(),[["t",-a,-s],["s",100,1],["t",a,s]])},e)},e.scaleInY=function(t,e,n){var i=t.getBBox(),o=t.get("origin").mappingData,a=(i.minX+i.maxX)/2,s=o.points,c=s[0].y-s[1].y<=0?i.maxY:i.minY;t.applyToMatrix([a,c,1]);var l=r.ext.transform(t.getMatrix(),[["t",-a,-c],["s",1,.01],["t",a,c]]);t.setMatrix(l),t.animate({matrix:r.ext.transform(t.getMatrix(),[["t",-a,-c],["s",1,100],["t",a,c]])},e)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return u}));var r=n(23),i=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,o=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,a=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function c(t,e){var n=t.match(s);Object(r.c)(n,(function(t){var n=t.split(":");e.addColorStop(n[0],n[1])}))}function l(t,e,n){if(Object(r.k)(n)){if("("===n[1]||"("===n[2]){if("l"===n[0])return function(t,e,n){var r,o,a=i.exec(n),s=parseFloat(a[1])%360*(Math.PI/180),l=a[2],u=e.getBBox();s>=0&&s<.5*Math.PI?(r={x:u.minX,y:u.minY},o={x:u.maxX,y:u.maxY}):.5*Math.PI<=s&&s<Math.PI?(r={x:u.maxX,y:u.minY},o={x:u.minX,y:u.maxY}):Math.PI<=s&&s<1.5*Math.PI?(r={x:u.maxX,y:u.maxY},o={x:u.minX,y:u.minY}):(r={x:u.minX,y:u.maxY},o={x:u.maxX,y:u.minY});var g=Math.tan(s),f=g*g,d=(o.x-r.x+g*(o.y-r.y))/(f+1)+r.x,h=g*(o.x-r.x+g*(o.y-r.y))/(f+1)+r.y,p=t.createLinearGradient(r.x,r.y,d,h);return c(l,p),p}(t,e,n);if("r"===n[0])return function(t,e,n){var r=o.exec(n),i=parseFloat(r[1]),a=parseFloat(r[2]),l=parseFloat(r[3]),u=r[4];if(0===l){var g=u.match(s);return g[g.length-1].split(":")[1]}var f=e.getBBox(),d=f.maxX-f.minX,h=f.maxY-f.minY,p=Math.sqrt(d*d+h*h)/2,A=t.createRadialGradient(f.minX+d*i,f.minY+h*a,0,f.minX+d/2,f.minY+h/2,l*p);return c(u,A),A}(t,e,n);if("p"===n[0])return function(t,e,n){if(e.get("patternSource")&&e.get("patternSource")===n)return e.get("pattern");var r,i,o=a.exec(n),s=o[1],c=o[2];function l(){r=t.createPattern(i,s),e.set("pattern",r),e.set("patternSource",n)}switch(s){case"a":s="repeat";break;case"x":s="repeat-x";break;case"y":s="repeat-y";break;case"n":s="no-repeat";break;default:s="no-repeat"}return i=new Image,c.match(/^data:/i)||(i.crossOrigin="Anonymous"),i.src=c,i.complete?l():(i.onload=l,i.src=i.src),r}(t,e,n)}return n}}function u(t){var e=0,n=0,i=0,o=0;return Object(r.g)(t)?1===t.length?e=n=i=o=t[0]:2===t.length?(e=i=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],o=t[3]):e=n=i=o=t,[e,n,i,o]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zoomOut=e.zoomIn=void 0;var r=n(1),i=n(15),o=n(0);function a(t,e,n){if(t.isGroup())o.each(t.getChildren(),(function(t){a(t,e,n)}));else{var s=t.getBBox(),c=(s.minX+s.maxX)/2,l=(s.minY+s.maxY)/2;if(t.applyToMatrix([c,l,1]),"zoomIn"===n){var u=i.ext.transform(t.getMatrix(),[["t",-c,-l],["s",.01,.01],["t",c,l]]);t.setMatrix(u),t.animate({matrix:i.ext.transform(t.getMatrix(),[["t",-c,-l],["s",100,100],["t",c,l]])},e)}else t.animate({matrix:i.ext.transform(t.getMatrix(),[["t",-c,-l],["s",.01,.01],["t",c,l]])},r.__assign(r.__assign({},e),{callback:function(){t.remove(!0)}}))}}e.zoomIn=function(t,e,n){a(t,e,"zoomIn")},e.zoomOut=function(t,e,n){a(t,e,"zoomOut")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.overlap=e.fixedOverlap=void 0;var r=n(0),i=function(){function t(t){void 0===t&&(t={}),this.bitmap={};var e=t.xGap,n=void 0===e?1:e,r=t.yGap,i=void 0===r?8:r;this.xGap=n,this.yGap=i}return t.prototype.hasGap=function(t){for(var e=!0,n=this.bitmap,r=Math.round(t.minX),i=Math.round(t.maxX),o=Math.round(t.minY),a=Math.round(t.maxY),s=r;s<=i;s+=1)if(n[s]){if(s===r||s===i){for(var c=o;c<=a;c++)if(n[s][c]){e=!1;break}}else if(n[s][o]||n[s][a]){e=!1;break}}else n[s]={};return e},t.prototype.fillGap=function(t){for(var e=this.bitmap,n=Math.round(t.minX),r=Math.round(t.maxX),i=Math.round(t.minY),o=Math.round(t.maxY),a=n;a<=r;a+=1)e[a]||(e[a]={});for(a=n;a<=r;a+=this.xGap){for(var s=i;s<=o;s+=this.yGap)e[a][s]=!0;e[a][o]=!0}if(1!==this.yGap)for(a=i;a<=o;a+=1)e[n][a]=!0,e[r][a]=!0;if(1!==this.xGap)for(a=n;a<=r;a+=1)e[a][i]=!0,e[a][o]=!0},t.prototype.destroy=function(){this.bitmap={}},t}();function o(t,e,n,r){var i=t.getCanvasBBox(),o=i.width,a=i.height,s={x:e,y:n,textAlign:"center"};switch(r){case 0:s.y-=a+1,s.x+=1,s.textAlign="left";break;case 1:s.y-=a+1,s.x-=1,s.textAlign="right";break;case 2:s.y+=a+1,s.x-=1,s.textAlign="right";break;case 3:s.y+=a+1,s.x+=1,s.textAlign="left";break;case 5:s.y-=2*a+2;break;case 6:s.y+=2*a+2;break;case 7:s.x+=o+1,s.textAlign="left";break;case 8:s.x-=o+1,s.textAlign="right"}return t.attr(s),t.getCanvasBBox()}e.fixedOverlap=function(t,e,n,o){var a=new i;r.each(e,(function(t){(function(t,e,n){void 0===n&&(n=100);var r,i=t.attr(),o=i.x,a=i.y,s=t.getCanvasBBox(),c=Math.sqrt(s.width*s.width+s.height*s.height),l=1,u=0,g=0,f=function(t){var e=.1*t;return[e*Math.cos(e),e*Math.sin(e)]};if(e.hasGap(s))return e.fillGap(s),!0;for(var d=!1,h=0,p={};Math.min(Math.abs(u),Math.abs(g))<c&&h<n;)if(u=~~(r=f(l+=-1))[0],g=~~r[1],(u||g)&&!p[u+"-"+g]&&(t.attr({x:o+u,y:a+g}),u+g<0&&t.attr("textAlign","right"),h++,e.hasGap(t.getCanvasBBox()))){e.fillGap(t.getCanvasBBox()),d=!0,p[u+"-"+g]=!0;break}return d})(t.find((function(t){return"text"===t.get("type")})),a)||t.remove(!0)})),a.destroy()},e.overlap=function(t,e,n,a){var s=new i;r.each(e,(function(t){for(var e=t.find((function(t){return"text"===t.get("type")})),n=e.attr(),r=n.x,i=n.y,a=!1,c=0;c<=8;c++){var l=o(e,r,i,c);if(s.hasGap(l)){s.fillGap(l),a=!0;break}}a||t.remove(!0)})),s.destroy()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(256),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return r.__extends(e,t),e.prototype.clearViewState=function(t){i.clearHighlight(t)},e.prototype.highlight=function(){this.setState()},e.prototype.setElementsState=function(t,e,n){i.setHighlightBy(n,(function(e){return t.indexOf(e)>=0}),e)},e}(r.__importDefault(n(254)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(585),a=r.__importDefault(n(180)),s="inactive",c="active",l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=c,e.ignoreItemStates=["unchecked"],e}return r.__extends(e,t),e.prototype.setItemsState=function(t,e,n){this.setHighlightBy(t,(function(t){return t.name===e}),n)},e.prototype.setItemState=function(t,e,n){t.getItems(),this.setHighlightBy(t,(function(t){return t===e}),n)},e.prototype.setHighlightBy=function(t,e,n){var r=t.getItems();if(n)i.each(r,(function(n){e(n)?(t.hasState(n,s)&&t.setItemState(n,s,!1),t.setItemState(n,c,!0)):t.hasState(n,c)||t.setItemState(n,s,!0)}));else{var o=t.getItemsByState(c),a=!0;i.each(o,(function(t){if(!e(t))return a=!1,!1})),a?this.clear():i.each(r,(function(n){e(n)&&(t.hasState(n,c)&&t.setItemState(n,c,!1),t.setItemState(n,s,!0))}))}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)o.clearList(t.list);else{var e=this.getAllowComponents();i.each(e,(function(t){t.clearItemsState(c),t.clearItemsState(s)}))}},e}(a.default);e.default=l},function(t,e,n){var r=n(602),i=n(603),o=n(369),a=n(604);t.exports=function(t,e){return r(t)||i(t,e)||o(t,e)||a()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(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)}}},function(t,e,n){"use strict";e.a=function(t){if(0===t.length)return 0;for(var e,n=t[0],r=0,i=1;i<t.length;i++)e=n+t[i],Math.abs(n)>=Math.abs(t[i])?r+=n-e+t[i]:r+=t[i]-e+n,n=e;return n+r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(371),i=n(608),o=n(63);e.default=function t(e,n){if(e===n)return!0;if(!e||!n)return!1;if(o.default(e)||o.default(n))return!1;if(i.default(e)||i.default(n)){if(e.length!==n.length)return!1;for(var a=!0,s=0;s<e.length&&(a=t(e[s],n[s]));s++);return a}if(r.default(e)||r.default(n)){var c=Object.keys(e),l=Object.keys(n);if(c.length!==l.length)return!1;for(a=!0,s=0;s<c.length&&(a=t(e[c[s]],n[c[s]]));s++);return a}return!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Line=void 0;var r=n(1),i=n(44),o=n(20),a=n(390);n(639);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left"},isStack:!1})},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Line=s},function(t,e,n){"use strict";e.a=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pie=void 0;var r=n(1),i=n(44),o=n(20),a=n(649);n(651);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return r.__extends(e,t),e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{legend:{position:"right"},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}})},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Pie=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scatter=void 0;var r=n(1),i=n(44),o=n(20),a=n(673);n(675);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption(a.transformOptions(o.deepAssign({},this.options,{data:t})));var e=this.options,n=this.chart;a.meta({chart:n,options:e}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}})},e}(i.Plot);e.Scatter=s},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(0);function i(t,e){return Object(r.isNumber)(t)&&Object(r.isNumber)(e)?t===e?"100%":0===t?"\u221e":0===e?"-\u221e":(100*e/t).toFixed(2)+"%":"-"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return g}));var r=n(0),i=n(2),o=n(3),a=n(16),s=n(225),c=n(145);function l(t){var e=t.chart,n=t.options,o=n.percent,l=n.progressStyle,u=n.color,g=n.barWidthRatio;e.data(Object(c.a)(o));var f=Object(i.b)({},t,{options:{xField:"1",yField:"percent",seriesField:"type",isStack:!0,widthRatio:g,interval:{style:l,color:Object(r.isString)(u)?[u,s.a[1]]:u}}});return Object(a.c)(f),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function u(t){return t.chart.coordinate("rect").transpose(),t}function g(t){return Object(i.e)(l,Object(o.f)({}),u,o.a,o.j,Object(o.b)())(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=["#FAAD14","#E8EDF3"]},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(311),i=n(204),o=n(107),a=n(0),s=n(148),c={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"]};function l(t,e){var n,l=(e=Object(a.assign)({},c,e)).as;if(!Object(a.isArray)(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=Object(s.b)(e)}catch(d){console.warn(d)}var u=function(t){return r.a().tile(i[e.tile]).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(o.c(t).sum((function(t){return e.ignoreParentValue&&t.children?0:t[n]})))}(t),g=l[0],f=l[1];return u.each((function(t){t[g]=[t.x0,t.x1,t.x1,t.x0],t[f]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach((function(e){-1===l.indexOf(e)&&delete t[e]}))})),Object(s.a)(u)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(1),i=n(2),o=n(3),a=n(0),s=n(9),c=n(223);function l(t,e){return Object(i.b)({size:e?32:80,spacing:e?8:12,offset:e?32:0,arrow:!1!==t.arrow&&{headSize:12,style:{fill:"rgba(0, 0, 0, 0.05)"}},text:!1!==t.text&&{style:{fontSize:12,fill:"rgba(0, 0, 0, 0.85)",textAlign:"center",textBaseline:"middle"},formatter:c.a}},t)}function u(t,e){return Object(a.map)(e.getModel().points,(function(e){return t.convertPoint(e)}))}function g(t,e,n){!function(t,e,n){var i=t.view,o=t.geometry,a=t.group,s=t.options,c=t.horizontal,l=s.offset,g=s.size,f=s.arrow,d=i.getCoordinate(),h=u(d,e)[c?3:0],p=u(d,n)[c?0:3],A=p.y-h.y,C=p.x-h.x;if("boolean"!==typeof f){var v,I=f.headSize,y=s.spacing;c?(C-I)/2<y?(y=Math.max(1,(C-I)/2),v=[[h.x+y,h.y-l],[h.x+y,h.y-l-g],[p.x-y,p.y-l-g/2]]):v=[[h.x+y,h.y-l],[h.x+y,h.y-l-g],[p.x-y-I,p.y-l-g],[p.x-y,p.y-l-g/2],[p.x-y-I,p.y-l]]:(A-I)/2<y?(y=Math.max(1,(A-I)/2),v=[[h.x+l,h.y+y],[h.x+l+g,h.y+y],[p.x+l+g/2,p.y-y]]):v=[[h.x+l,h.y+y],[h.x+l+g,h.y+y],[p.x+l+g,p.y-y-I],[p.x+l+g/2,p.y-y],[p.x+l,p.y-y-I]],a.addShape("polygon",{id:i.id+"-conversion-tag-arrow-"+o.getElementId(e.getModel().mappingData),name:"conversion-tag-arrow",attrs:Object(r.__assign)(Object(r.__assign)({},f.style||{}),{points:v})})}}(t,e,n),function(t,e,n){var i,o,a,s=t.view,c=t.geometry,l=t.group,g=t.options,f=t.field,d=t.horizontal,h=g.offset,p=g.size;if("boolean"!==typeof g.text){var A=s.getCoordinate(),C=(null===(i=g.text)||void 0===i?void 0:i.formatter)&&(null===(o=g.text)||void 0===o?void 0:o.formatter(e.getData()[f],n.getData()[f])),v=u(A,e)[d?3:0],I=u(A,n)[d?0:3],y=l.addShape("text",{id:s.id+"-conversion-tag-text-"+c.getElementId(e.getModel().mappingData),name:"conversion-tag-text",attrs:Object(r.__assign)(Object(r.__assign)({},(null===(a=g.text)||void 0===a?void 0:a.style)||{}),{text:C,x:d?(v.x+I.x)/2:v.x+h+p/2,y:d?v.y-h-p/2:(v.y+I.y)/2})});if(d){var m=I.x-v.x,b=y.getBBox().width;if(b>m){var x=b/C.length,w=Math.max(1,Math.ceil(m/x)-1),O=C.slice(0,w)+"...";y.attr("text",O)}}}}(t,e,n)}var f={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"};Object(s.registerInteraction)(f.hover,{start:[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"]}],end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),Object(s.registerInteraction)(f.click,{start:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"]}],end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]});var d=n(16),h=n(77),p=n(68);function A(t){var e=t.options,n=e.legend,i=e.seriesField,o=e.isStack;return i?!1!==n&&(n=Object(r.__assign)({position:o?"right-top":"top-left"},n)):n=!1,t.options.legend=n,t}function C(t){var e=t.chart,n=t.options,o=n.data,a=n.columnStyle,s=n.color,c=n.columnWidthRatio,l=n.isPercent,u=n.xField,g=n.yField,f=n.seriesField,p=n.tooltip;e.data(Object(h.a)(o,g,u,g,l));var A=l?Object(r.__assign)({formatter:function(t){return{name:t[f]||t[u],value:(100*Number(t[g])).toFixed(2)+"%"}}},p):p,C=Object(i.b)({},t,{options:{widthRatio:c,tooltip:A,interval:{style:a,color:s}}});return Object(d.c)(C),t}function v(t){var e,n,a=t.options,s=a.xAxis,c=a.yAxis,l=a.xField,u=a.yField,g=a.data,f=a.isPercent?{max:1,min:0,minLimit:0,maxLimit:1}:{};return Object(i.e)(Object(o.f)(((e={})[l]=s,e[u]=c,e),((n={})[l]={type:"cat"},n[u]=Object(r.__assign)(Object(r.__assign)({},Object(p.a)(g,u)),f),n)))(t)}function I(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function y(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function m(t){var e=t.chart,n=t.options,o=n.label,a=n.yField,s=n.isRange,c=Object(i.c)(e,"interval");if(o){var l=o.callback,u=Object(r.__rest)(o,["callback"]);c.label({fields:[a],callback:l,cfg:Object(r.__assign)({layout:(null===u||void 0===u?void 0:u.position)?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Object(i.o)(s?Object(r.__assign)({content:function(t){var e;return null===(e=t[a])||void 0===e?void 0:e.join("-")}},u):u))})}else c.label(!1);return t}function b(t,e){void 0===e&&(e=!1);var n,r,c,u,d=t.options,h=d.seriesField;return Object(i.e)(A,o.j,C,v,I,y,o.k,o.h,o.g,m,o.c,o.a,Object(o.b)(),(r=d.yField,void 0===(c=!e)&&(c=!0),void 0===(u=!!h)&&(u=!1),function(t){var e=t.options,n=t.chart,o=e.conversionTag,f=e.theme;return o&&!u&&(n.theme(Object(i.b)({},Object(a.isObject)(f)?f:Object(s.getTheme)(f),{columnWidthRatio:1/3})),n.annotation().shape({render:function(t,e){var i=t.addGroup({id:n.id+"-conversion-tag-group",name:"conversion-tag-group"}),s=Object(a.find)(n.geometries,(function(t){return"interval"===t.type})),u={view:e,geometry:s,group:i,field:r,horizontal:c,options:l(o,c)},f=c?s.elements:s.elements.slice().reverse();Object(a.each)(f,(function(t,e){e>0&&g(u,f[e-1],t)}))}})),t}),(void 0===(n=!d.isStack)&&(n=!1),function(t){var e=t.chart,r=t.options.connectedArea,i=function(){e.removeInteraction(f.hover),e.removeInteraction(f.click)};if(!n&&r){var o=r.trigger||"hover";i(),e.interaction(f[o])}else i();return t}),o.e)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.Shape=void 0;var r=n(1),i=n(150);e.Shape=i,r.__exportStar(n(24),e);var o=n(522);Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return o.default}});var a=n(230);Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return a.default}});var s=n(333);Object.defineProperty(e,"getArcParams",{enumerable:!0,get:function(){return s.default}}),e.version="0.5.6"},function(t,e,n){"use strict";var r=n(499);t.exports=Function.prototype.bind||r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(24),o=n(150),a=n(151),s=n(0),c=n(66),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.onCanvasChange=function(t){a.refreshElement(this,t)},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),a.applyAttrsToContext(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];s.each(t,(function(t){var r=t.cfg.cacheCanvasBBox;r&&t.cfg.isInView&&(e.push(r.minX,r.maxX),n.push(r.minY,r.maxY))}));var r=null;if(e.length){var i=Math.min.apply(null,e),o=Math.max.apply(null,e),a=Math.min.apply(null,n),l=Math.max.apply(null,n);r={minX:i,minY:a,x:i,y:a,maxX:o,maxY:l,width:o-i,height:l-a};var u=this.cfg.canvas;if(u){var g=u.getViewRange();this.set("isInView",c.intersectRect(r,g))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},e.prototype.draw=function(t,e){var n=this.cfg.children,r=!e||this.cfg.refresh;n.length&&r&&(t.save(),a.applyAttrsToContext(t,this),this._applyClip(t,this.getClip()),a.drawChildren(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(i.AbstractGroup);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.refreshElement=e.drawChildren=void 0;var r=n(152),i=n(83);e.drawChildren=function(t,e){e.forEach((function(e){e.draw(t)}))},e.refreshElement=function(t,e){var n=t.get("canvas");if(n&&n.get("autoDraw")){var o=n.get("context"),a=t.getParent(),s=a?a.getChildren():[n],c=t.get("el");if("remove"===e)if(t.get("isClipShape")){var l=c&&c.parentNode,u=l&&l.parentNode;l&&u&&u.removeChild(l)}else c&&c.parentNode&&c.parentNode.removeChild(c);else if("show"===e)c.setAttribute("visibility","visible");else if("hide"===e)c.setAttribute("visibility","hidden");else if("zIndex"===e)i.moveTo(c,s.indexOf(t));else if("sort"===e){var g=t.get("children");g&&g.length&&i.sortDom(t,(function(t,e){return g.indexOf(t)-g.indexOf(e)?1:0}))}else"clear"===e?c&&(c.innerHTML=""):"matrix"===e?r.setTransform(t):"clip"===e?r.setClip(t,o):"attr"===e||"add"===e&&t.draw(o)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(24),o=n(0),a=n(179),s=n(231),c=n(152),l=n(67),u=n(83),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.isEntityGroup=function(){return!0},e.prototype.createDom=function(){var t=u.createSVGElement("g");this.set("el",t);var e=this.getParent();if(e){var n=e.get("el");n||(n=e.createDom(),e.set("el",n)),n.appendChild(t)}return t},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.createPath(r,e)}},e.prototype.onCanvasChange=function(t){s.refreshElement(this,t)},e.prototype.getShapeBase=function(){return a},e.prototype.getGroupBase=function(){return e},e.prototype.draw=function(t){var e=this.getChildren(),n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||this.createDom(),c.setClip(this,t),this.createPath(t),e.length&&s.drawChildren(t,e))},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");o.each(e||n,(function(t,e){l.SVG_ATTR_MAP[e]&&r.setAttribute(l.SVG_ATTR_MAP[e],t)})),c.setTransform(this)},e}(i.AbstractGroup);e.default=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=e.visible,i=void 0===r||r;return n.visible=i,n}return r.__extends(e,t),e.prototype.show=function(){this.visible||this.changeVisible(!0)},e.prototype.hide=function(){this.visible&&this.changeVisible(!1)},e.prototype.destroy=function(){this.off(),this.destroyed=!0},e.prototype.changeVisible=function(t){this.visible!==t&&(this.visible=t)},e}(r.__importDefault(n(128)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerFacet=e.getFacet=void 0;var r=n(0),i=n(111);Object.defineProperty(e,"Facet",{enumerable:!0,get:function(){return i.Facet}});var o={};e.getFacet=function(t){return o[r.lowerCase(t)]},e.registerFacet=function(t,e){o[r.lowerCase(t)]=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAxisTitleText=e.getAxisDirection=e.getAxisOption=e.getCircleAxisCenterRadius=e.getAxisThemeCfg=e.getAxisFactorByRegion=e.isVertical=e.getAxisFactor=e.getAxisRegion=e.getCircleAxisRelativeRegion=e.getLineAxisRelativeRegion=void 0;var r=n(0),i=n(27),o=n(153),a=n(15);function s(t){var e,n;switch(t){case i.DIRECTION.TOP:e={x:0,y:1},n={x:1,y:1};break;case i.DIRECTION.RIGHT:e={x:1,y:0},n={x:1,y:1};break;case i.DIRECTION.BOTTOM:e={x:0,y:0},n={x:1,y:0};break;case i.DIRECTION.LEFT:e={x:0,y:0},n={x:0,y:1};break;default:e=n={x:0,y:0}}return{start:e,end:n}}function c(t){var e,n;return t.isTransposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{start:e,end:n}}function l(t){var e=t.start,n=t.end;return e.x===n.x}e.getLineAxisRelativeRegion=s,e.getCircleAxisRelativeRegion=c,e.getAxisRegion=function(t,e){var n={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?n=s(e):t.isPolar&&(n=c(t));var r=n.start,i=n.end;return{start:t.convert(r),end:t.convert(i)}},e.getAxisFactor=function(t,e){return t.isRect?t.isTransposed?[i.DIRECTION.RIGHT,i.DIRECTION.BOTTOM].includes(e)?1:-1:[i.DIRECTION.BOTTOM,i.DIRECTION.RIGHT].includes(e)?-1:1:t.isPolar&&t.x.start<0?-1:1},e.isVertical=l,e.getAxisFactorByRegion=function(t,e){var n=t.start,r=t.end;return l(t)?(n.y-r.y)*(e.x-n.x)>0?1:-1:(r.x-n.x)*(n.y-e.y)>0?-1:1},e.getAxisThemeCfg=function(t,e){return r.get(t,["components","axis",e],{})},e.getCircleAxisCenterRadius=function(t){var e=t.x,n=t.y,r=t.circleCenter,i=n.start>n.end,o=t.isTransposed?t.convert({x:i?0:1,y:0}):t.convert({x:0,y:i?0:1}),s=[o.x-r.x,o.y-r.y],c=[1,0],l=o.y>r.y?a.vec2.angle(s,c):-1*a.vec2.angle(s,c),u=l+(e.end-e.start);return{center:r,radius:Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),startAngle:l,endAngle:u}},e.getAxisOption=function(t,e){return r.isBoolean(t)?!1!==t&&{}:r.get(t,[e])},e.getAxisDirection=function(t,e){return r.get(t,"position",e)},e.getAxisTitleText=function(t,e){return r.get(e,["title","text"],o.getName(t))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createInteraction=e.registerInteraction=e.getInteraction=void 0;var r=n(1),i=n(0),o=r.__importDefault(n(545)),a={};function s(t){return a[i.lowerCase(t)]}e.getInteraction=s,e.registerInteraction=function(t,e){a[i.lowerCase(t)]=e},e.createInteraction=function(t,e,n){var r=s(t);if(!r)return null;if(i.isPlainObject(r)){var a=i.mix(i.clone(r),n);return new o.default(e,a)}return new r(e,n)};var c=n(340);Object.defineProperty(e,"Interaction",{enumerable:!0,get:function(){return c.default}});var l=n(237);Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return l.Action}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return l.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return l.getActionClass}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(56);Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return r.default}});var i=n(186);Object.defineProperty(e,"createAction",{enumerable:!0,get:function(){return i.createAction}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return i.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return i.getActionClass}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipItems=e.findDataByPoint=void 0;var r=n(1),i=n(0),o=n(27),a=n(153);function s(t,e,n){var r=n.translate(t),o=n.translate(e);return i.isNumberEqual(r,o)}function c(t,e,n){var r=n.coordinate,a=n.getYScale(),s=a.field,c=r.invert(e),l=a.invert(c.y);return i.find(t,(function(t){var e=t[o.FIELD_ORIGIN];return e[s][0]<=l&&e[s][1]>=l}))||t[t.length-1]}var l=i.memoize((function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,r=t.translate(e[0]),i=r,o=0;o<n;o++){var a=e[o],s=t.translate(a);s<r&&(r=s),s>i&&(i=s)}return(i-r)/(n-1)}));function u(t){for(var e,n=0,r=function(t){var e=i.values(t.attributes);return i.filter(e,(function(t){return i.contains(o.GROUP_ATTRS,t.type)}))}(t);n<r.length;n++){var a=r[n],s=a.getScale(a.type);if(s&&s.isLinear){e=s;break}}var c=t.getXScale(),l=t.getYScale();return e||l||c}e.findDataByPoint=function(t,e,n){if(0===e.length)return null;var r=n.type,a=n.getXScale(),u=n.getYScale(),g=a.field,f=u.field,d=null;if("heatmap"===r||"point"===r){for(var h=n.coordinate.invert(t),p=a.invert(h.x),A=u.invert(h.y),C=1/0,v=0;v<e.length;v++){var I=e[v],y=I[o.FIELD_ORIGIN],m=Math.pow(y[g]-p,2)+Math.pow(y[f]-A,2);m<C&&(C=m,d=I)}return d}var b=e[0],x=e[e.length-1],w=function(t,e){var n=e.coordinate,r=e.getXScale(),i=r.range,o=i[i.length-1],a=i[0],s=n.invert(t).x;return n.isPolar&&s>(1+o)/2&&(s=a),r.translate(r.invert(s))}(t,n),O=b[o.FIELD_ORIGIN][g],S=b[o.FIELD_ORIGIN][f],_=x[o.FIELD_ORIGIN][g],k=u.isLinear&&i.isArray(S);if(i.isArray(O)){for(v=0;v<e.length;v++)if(y=(R=e[v])[o.FIELD_ORIGIN],a.translate(y[g][0])<=w&&a.translate(y[g][1])>=w){if(!k){d=R;break}i.isArray(d)||(d=[]),d.push(R)}i.isArray(d)&&(d=c(d,t,n))}else{var j=void 0;if(a.isLinear||"timeCat"===a.type){if((w>a.translate(_)||w<a.translate(O))&&(w>a.max||w<a.min))return null;for(var E=0,P=e.length-1,M=void 0;E<=P;){var T=e[M=Math.floor((E+P)/2)][o.FIELD_ORIGIN][g];if(s(T,w,a))return e[M];a.translate(T)<=a.translate(w)?(E=M+1,x=e[M],j=e[M+1]):(0===P&&(x=e[0]),P=M-1)}}else{for(v=0;v<e.length;v++){var R;if(s((y=(R=e[v])[o.FIELD_ORIGIN])[g],w,a)){if(!k){d=R;break}i.isArray(d)||(d=[]),d.push(R)}else a.translate(y[g])<=w&&(x=R,j=e[v+1])}i.isArray(d)&&(d=c(d,t,n))}x&&j&&Math.abs(a.translate(x[o.FIELD_ORIGIN][g])-w)>Math.abs(a.translate(j[o.FIELD_ORIGIN][g])-w)&&(x=j)}var D=l(n.getXScale());return!d&&Math.abs(a.translate(x[o.FIELD_ORIGIN][g])-w)<=D/2&&(d=x),d},e.getTooltipItems=function(t,e,n){void 0===n&&(n="");var s,c=t[o.FIELD_ORIGIN],l=function(t,e,n){var r=n;n||(r=e.getAttribute("position").getFields()[0]);var o=e.scales;return o[r]?o[r].getText(t[r]):i.hasKey(t,r)?t[r]:r}(c,e,n),g=e.tooltipOption,f=e.theme.defaultColor,d=[];function h(e,n){if(!i.isNil(n)&&""!==n){var r={title:l,data:c,mappingData:t,name:e,value:n,color:t.color||f,marker:!0};d.push(r)}}if(i.isObject(g)){var p=g.fields,A=g.callback;if(A){var C=p.map((function(e){return t[o.FIELD_ORIGIN][e]})),v=A.apply(void 0,C),I=r.__assign({data:t[o.FIELD_ORIGIN],mappingData:t,title:l,color:t.color||f,marker:!0},v);d.push(I)}else for(var y=e.scales,m=0,b=p;m<b.length;m++){var x=b[m];if(!i.isNil(c[x])){var w=y[x];h(a.getName(w),s=w.getText(c[x]))}}}else{var O=u(e);i.isNil(c[O.field])||(s=function(t,e){var n=t[e.field];return i.isArray(n)?n.map((function(t){return e.getText(t)})).join("-"):e.getText(n)}(c,O),h(function(t,e){var n,r=e.getGroupScales();if(r.length&&(n=r[0]),n){var i=n.field;return n.getText(t[i])}var o=u(e);return a.getName(o)}(c,e),s))}return d}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePadding=e.isAutoPadding=void 0;var r=n(1),i=n(0);e.isAutoPadding=function(t){return!i.isNumber(t)&&!i.isArray(t)},e.parsePadding=function(t){void 0===t&&(t=0);var e=i.isArray(t)?t:[t];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=new Array(4).fill(e[0]);break;case 2:e=r.__spreadArrays(e,e);break;case 3:e=r.__spreadArrays(e,[e[1]]);break;default:e=e.slice(0,4)}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(81),i=function(){function t(t,e,n){this.view=t,this.gEvent=e,this.data=n,this.type=e.type}return t.fromData=function(e,n,i){return new t(e,new r.Event(n,{}),i)},Object.defineProperty(t.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.clone=function(){return new t(this.view,this.gEvent,this.data)},t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(176),a=n(101),s=r.__importDefault(n(233)),c=n(59),l=n(27),u=n(242),g=function(t){function e(e){var n=t.call(this,e)||this;n.states=[];var r=e.shapeFactory,i=e.container,o=e.offscreenGroup,a=e.visible,s=void 0===a||a;return n.shapeFactory=r,n.container=i,n.offscreenGroup=o,n.visible=s,n}return r.__extends(e,t),e.prototype.draw=function(t,e){void 0===e&&(e=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,e),!1===this.visible&&this.changeVisible(!1)},e.prototype.update=function(t){var e=this.shapeFactory,n=this.shape;if(n){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(n,t);var r=this.getOffscreenGroup(),i=e.drawShape(this.shapeType,t,r);i.cfg.data=this.data,i.cfg.origin=t,i.cfg.element=this,this.syncShapeStyle(n,i,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var e=this.shapeFactory,n=this.shape;if(n){var i=this.getAnimateCfg("leave");i?a.doAnimate(n,i,{coordinate:e.coordinate,toAttrs:r.__assign({},n.attr())}):n.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=void 0,this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,t.prototype.destroy.call(this)},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e),e?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach((function(t){t.show()}))):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach((function(t){t.hide()})))},e.prototype.setState=function(t,e){var n=this,r=n.states,i=n.shapeFactory,a=n.model,s=n.shape,c=n.shapeType,l=r.indexOf(t);if(e){if(l>-1)return;r.push(t),"active"!==t&&"selected"!==t||s.toFront()}else{if(-1===l)return;r.splice(l,1),"active"!==t&&"selected"!==t||s.toBack()}var u=i.drawShape(c,a,this.getOffscreenGroup());r.length?this.syncShapeStyle(s,u,r,null):this.syncShapeStyle(s,u,["reset"],null),u.remove(!0);var g={state:t,stateStatus:e,element:this,target:this.container};this.container.emit("statechange",g),o.propagationDelegate(this.shape,"statechange",g)},e.prototype.clearStates=function(){var t=this,e=this.states;i.each(e,(function(e){t.setState(e,!1)})),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this.shape,e=this.labelShape,n={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return t&&(n=t.getCanvasBBox()),e&&e.forEach((function(t){var e=t.getCanvasBBox();n.x=Math.min(e.x,n.x),n.y=Math.min(e.y,n.y),n.minX=Math.min(e.minX,n.minX),n.minY=Math.min(e.minY,n.minY),n.maxX=Math.max(e.maxX,n.maxX),n.maxY=Math.max(e.maxY,n.maxY)})),n.width=n.maxX-n.minX,n.height=n.maxY-n.minY,n},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,e=t.shapeType,n=t.geometry,r=t.shapeFactory,o=n.stateOption,a=r.defaultShapeType,s=r.theme[e]||r.theme[a];this.statesStyle=i.deepMix({},s,o)}return this.statesStyle},e.prototype.getStateStyle=function(t,e){var n=this.getStatesStyle(),r=i.get(n,[t,"style"],{}),o=r[e]||r;return i.isFunction(o)?o(this):o},e.prototype.getAnimateCfg=function(t){var e=this,n=this.animate;if(n){var o=n[t];return o?r.__assign(r.__assign({},o),{callback:function(){var t;i.isFunction(o.callback)&&o.callback(),null===(t=e.geometry)||void 0===t||t.emit(l.GEOMETRY_LIFE_CIRCLE.AFTER_DRAW_ANIMATE)}}):o}return null},e.prototype.drawShape=function(t,e){var n;void 0===e&&(e=!1);var o=this,s=o.shapeFactory,c=o.container,u=o.shapeType;if(this.shape=s.drawShape(u,t,c),this.shape){this.setShapeInfo(this.shape,t);var g=this.shape.cfg.name;g?i.isString(g)&&(this.shape.cfg.name=["element",g]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var f=e?"enter":"appear",d=this.getAnimateCfg(f);d&&(null===(n=this.geometry)||void 0===n||n.emit(l.GEOMETRY_LIFE_CIRCLE.BEFORE_DRAW_ANIMATE),a.doAnimate(this.shape,d,{coordinate:s.coordinate,toAttrs:r.__assign({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,e){var n=this;t.cfg.origin=e,t.cfg.element=this,t.isGroup()&&t.get("children").forEach((function(t){n.setShapeInfo(t,e)}))},e.prototype.syncShapeStyle=function(t,e,n,r,o){var s,g=this;if(void 0===n&&(n=[]),void 0===o&&(o=0),t&&e){var f=t.get("clipShape"),d=e.get("clipShape");if(this.syncShapeStyle(f,d,n,r),t.isGroup())for(var h=t.get("children"),p=e.get("children"),A=0;A<h.length;A++)this.syncShapeStyle(h[A],p[A],n,r,o+A);else{if(!i.isEmpty(n)&&!i.isEqual(n,["reset"])){var C=t.get("name");i.isArray(C)&&(C=C[1]),i.each(n,(function(t){if(e.get("name")!==u.BACKGROUND_SHAPE){var n=g.getStateStyle(t,C||o);e.attr(n)}}))}var v=c.getReplaceAttrs(t,e);this.animate?r?(null===(s=this.geometry)||void 0===s||s.emit(l.GEOMETRY_LIFE_CIRCLE.BEFORE_DRAW_ANIMATE),a.doAnimate(t,r,{coordinate:this.shapeFactory.coordinate,toAttrs:v,shapeModel:this.model})):i.isEmpty(n)?(t.stopAnimate(),t.animate(v,{duration:300})):t.attr(v):t.attr(v)}}},e.prototype.getShapeType=function(t){var e=i.get(t,"shape");return i.isArray(e)?e[0]:e},e}(s.default);e.default=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BACKGROUND_SHAPE=void 0,e.BACKGROUND_SHAPE="element-background"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerGeometryLabelLayout=e.getGeometryLabelLayout=e.registerGeometryLabel=e.getGeometryLabel=void 0;var r={},i={};e.getGeometryLabel=function(t){return r[t.toLowerCase()]},e.registerGeometryLabel=function(t,e){r[t.toLowerCase()]=e},e.getGeometryLabelLayout=function(t){return i[t.toLowerCase()]},e.registerGeometryLabelLayout=function(t,e){i[t.toLowerCase()]=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(39),o=n(246),a=n(53),s=n(154),c=n(247),l=n(347);function u(t,e,n,r,i){return 1===t.length?[["M",t[0].x,t[0].y-i.lineWidth/2],["L",t[0].x,t[0].y],["L",t[0].x,t[0].y+i.lineWidth/2]]:(n?(e&&t.length&&t.push({x:t[0].x,y:t[0].y}),o=s.getSplinePath(t,!1,r)):(o=s.getLinePath(t,!1),e&&o.push(["Z"])),o);var o}function g(t,e,n,i,o,a){if(t.length){var s=t[0];return r.isArray(s.y)?function(t,e,n,i,o,a){var s=[],l=[];r.each(t,(function(t){var e=c.splitPoints(t);s.push(e[1]),l.push(e[0])}));var g=u(s,e,i,o,a),f=u(l,e,i,o,a);return n?g:g.concat(f)}(t,e,n,i,o,a):u(t,e,i,o,a)}return[]}var f=i.registerShapeFactory("line",{defaultShapeType:"line"});r.each(["line","dot","dash","smooth"],(function(t){i.registerShape("line",t,{draw:function(e,n){var r,i="smooth"===t;if(i){var s=this.coordinate,c=s.start,l=s.end;r=[[c.x,l.y],[l.x,c.y]]}var u=function(t,e,n){for(var r=t.isStack,i=t.connectNulls,s=t.isInCircle,c=t.showSinglePoint,l=a.getStyle(t,!0,!1,"lineWidth"),u=o.getPathPoints(t.points,i,c),f=[],d=0,h=u.length;d<h;d++){var p=u[d];f=f.concat(g(p,s,r,e,n,l))}return l.path=f,l}(e,i,r);return n.addShape({type:"path",attrs:u,name:"line"})},getMarker:function(e){return l.getLineMarker(e,t)}})})),e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPathPoints=void 0;var r=n(0);function i(t){return!t&&(null===t||void 0===t||isNaN(t))}function o(t){if(r.isArray(t))return i(t[1].y);var e=t.y;return r.isArray(e)?i(e[0]):i(e)}e.getPathPoints=function(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!0),!t.length||1===t.length&&!n)return[];if(e){for(var r=[],i=0,a=t.length;i<a;i++)o(l=t[i])||r.push(l);return[r]}var s=[],c=[];for(i=0,a=t.length;i<a;i++){var l;o(l=t[i])?c.length&&((1!==c.length||n)&&s.push(c),c=[]):c.push(l)}return c.length&&s.push(c),s}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.splitPoints=void 0;var r=n(0);e.splitPoints=function(t){var e=t.x;return(r.isArray(t.y)?t.y:[t.y]).map((function(t,n){return{x:r.isArray(e)?e[n]:e,y:t}}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(39),o=n(105),a=i.registerShapeFactory("area",{defaultShapeType:"area",getDefaultPoints:function(t){var e=t.x,n=t.y0;return(r.isArray(t.y)?t.y:[n,t.y]).map((function(t){return{x:e,y:t}}))}});i.registerShape("area","area",{draw:function(t,e){var n=o.getShapeAttrs(t,!1,!1,this);return e.addShape({type:"path",attrs:n,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,fill:t.color}}}}),e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.drawPoints=e.HOLLOW_SHAPES=e.SHAPES=void 0;var r=n(1),i=n(155),o=n(53);e.SHAPES=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],e.HOLLOW_SHAPES=["cross","tick","plus","hyphen","line"],e.drawPoints=function(t,e,n,a,s){var c=o.getStyle(e,s,!s,"r"),l=t.parsePoints(e.points),u=l[0];if(e.isStack)u=l[1];else if(l.length>1){for(var g=n.addGroup(),f=0,d=l;f<d.length;f++){var h=d[f];g.addShape({type:"marker",attrs:r.__assign(r.__assign(r.__assign({},c),{symbol:i.MarkerSymbols[a]||a}),h)})}return g}return n.addShape({type:"marker",attrs:r.__assign(r.__assign(r.__assign({},c),{symbol:i.MarkerSymbols[a]||a}),u)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(39),a=n(246),s=n(53),c=n(347);function l(t,e){var n=a.getPathPoints(t.points,t.connectNulls,t.showSinglePoint),o=[];return i.each(n,(function(t){var n=function(t,e){var n=[];return i.each(t,(function(r,i){var o=t[i+1];if(n.push(r),o){var a=function(t,e,n){var r,i=t.x,o=t.y,a=e.x,s=e.y;switch(n){case"hv":r=[{x:a,y:o}];break;case"vh":r=[{x:i,y:s}];break;case"hvh":var c=(a+i)/2;r=[{x:c,y:o},{x:c,y:s}];break;case"vhv":var l=(o+s)/2;r=[{x:i,y:l},{x:a,y:l}]}return r}(r,o,e);n=n.concat(a)}})),n}(t,e);o=o.concat(function(t){return t.map((function(t,e){return 0===e?["M",t.x,t.y]:["L",t.x,t.y]}))}(n))})),r.__assign(r.__assign({},s.getStyle(t,!0,!1,"lineWidth")),{path:o})}i.each(["hv","vh","hvh","vhv"],(function(t){o.registerShape("line",t,{draw:function(e,n){var r=l(e,t);return n.addShape({type:"path",attrs:r,name:"line"})},getMarker:function(e){return c.getLineMarker(e,t)}})}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTranslateDirection=e.directionToPosition=void 0;var r=n(27);function i(t){return t===r.DIRECTION.LEFT?r.DIRECTION.RIGHT:t===r.DIRECTION.RIGHT?r.DIRECTION.LEFT:t}function o(t){return t===r.DIRECTION.TOP?r.DIRECTION.BOTTOM:t===r.DIRECTION.BOTTOM?r.DIRECTION.TOP:t}e.directionToPosition=function(t,e,n){return n===r.DIRECTION.TOP?[t.minX+t.width/2-e.width/2,t.minY]:n===r.DIRECTION.BOTTOM?[t.minX+t.width/2-e.width/2,t.maxY-e.height]:n===r.DIRECTION.LEFT?[t.minX,t.minY+t.height/2-e.height/2]:n===r.DIRECTION.RIGHT?[t.maxX-e.width,t.minY+t.height/2-e.height/2]:n===r.DIRECTION.TOP_LEFT||n===r.DIRECTION.LEFT_TOP?[t.tl.x,t.tl.y]:n===r.DIRECTION.TOP_RIGHT||n===r.DIRECTION.RIGHT_TOP?[t.tr.x-e.width,t.tr.y]:n===r.DIRECTION.BOTTOM_LEFT||n===r.DIRECTION.LEFT_BOTTOM?[t.bl.x,t.bl.y-e.height]:n===r.DIRECTION.BOTTOM_RIGHT||n===r.DIRECTION.RIGHT_BOTTOM?[t.br.x-e.width,t.br.y-e.height]:[0,0]},e.getTranslateDirection=function(t,e){var n=t;return n=function(t,e){var n=t;return e.isReflect("x")&&(n=i(n)),e.isReflect("y")&&(n=o(n)),n}(n=function(t,e){var n=e.matrix[0],r=e.matrix[4],a=t;return n<0&&(a=i(a)),r<0&&(a=o(a)),a}(n=function(t,e){if(e.isTransposed)switch(t){case r.DIRECTION.BOTTOM:return r.DIRECTION.LEFT;case r.DIRECTION.LEFT:return r.DIRECTION.BOTTOM;case r.DIRECTION.RIGHT:return r.DIRECTION.TOP;case r.DIRECTION.TOP:return r.DIRECTION.RIGHT}return t}(n,e),e),e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(43);function a(t){return i.get(t.get("delegateObject"),"item")}var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreListItemStates=["unchecked"],e}return r.__extends(e,t),e.prototype.isItemIgnore=function(t,e){return!!this.ignoreListItemStates.filter((function(n){return e.hasState(t,n)})).length},e.prototype.setStateByComponent=function(t,e,n){var r=this.context.view,i=t.get("field"),a=o.getElements(r);this.setElementsStateByItem(a,i,e,n)},e.prototype.setStateByElement=function(t,e){this.setElementState(t,e)},e.prototype.isMathItem=function(t,e,n){var r=this.context.view,a=o.getScaleByField(r,e),s=o.getElementValue(t,e);return!i.isNil(s)&&n.name===a.getText(s)},e.prototype.setElementsStateByItem=function(t,e,n,r){var o=this;i.each(t,(function(t){o.isMathItem(t,e,n)&&t.setState(o.stateName,r)}))},e.prototype.setStateEnable=function(t){var e=o.getCurrentElement(this.context);if(e)o.isElementChange(this.context)&&this.setStateByElement(e,t);else{var n=o.getDelegationObject(this.context);if(o.isList(n)){var r=n.item,i=n.component;if(r&&i&&!this.isItemIgnore(r,i)){var s=this.context.event.gEvent;if(s&&s.fromShape&&s.toShape&&a(s.fromShape)===a(s.toShape))return;this.setStateByComponent(i,r,t)}}}},e.prototype.toggle=function(){var t=o.getCurrentElement(this.context);if(t){var e=t.hasState(this.stateName);this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(r.__importDefault(n(253)).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=r.__importDefault(n(56)),a=n(43),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e}return r.__extends(e,t),e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,e){t.setState(this.stateName,e)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var e=this,n=a.getElementsByState(t,this.stateName);i.each(n,(function(t){e.setElementState(t,!1)}))},e}(o.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(43),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.endPoint=null,e.isStarted=!1,e.effectSiblings=!1,e.effectByRecord=!1,e}return r.__extends(e,t),e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.start=function(){this.clear(),this.startPoint=this.getCurrentPoint(),this.isStarted=!0},e.prototype.getIntersectElements=function(){var t=null;if(o.isMask(this.context))t=o.getMaskedElements(this.context,10);else{var e=this.startPoint,n=this.isStarted?this.getCurrentPoint():this.endPoint;if(!e||!n)return;var r={minX:Math.min(e.x,n.x),minY:Math.min(e.y,n.y),maxX:Math.max(e.x,n.x),maxY:Math.max(e.y,n.y)},i=this.context.view;t=o.getIntersectElements(i,r)}return t},e.prototype.setStateEnable=function(t){if(this.effectSiblings&&!this.effectByRecord)this.setSiblingsState(t);else{var e=o.getElements(this.context.view),n=this.getIntersectElements();n&&n.length?this.effectByRecord?this.setSiblingsStateByRecord(n,t):this.setElementsState(n,t,e):this.clear()}},e.prototype.setSiblingsStateByRecord=function(t,e){var n=this,r=this.context.view,a=o.getSilbings(r),s=t.map((function(t){return t.getModel().data})),c=r.getXScale().field,l=r.getYScales()[0].field;i.each(a,(function(t){var r=o.getElements(t),i=r.filter((function(t){var e=t.getModel().data;return o.isInRecords(s,e,c,l)}));n.setElementsState(i,e,r)}))},e.prototype.setSiblingsState=function(t){var e=this,n=this.context.view,r=o.getSilbings(n);o.isMask(this.context)&&i.each(r,(function(n){var r=o.getElements(n),i=o.getSiblingMaskElements(e.context,n,10);i&&i.length?e.setElementsState(i,t,r):e.clearViewState(n)}))},e.prototype.setElementsState=function(t,e,n){var r=this;i.each(n,(function(n){t.includes(n)?r.setElementState(n,e):r.setElementState(n,!1)}))},e.prototype.end=function(){this.isStarted=!1,this.endPoint=this.getCurrentPoint()},e.prototype.clear=function(){var t=this,e=this.context.view;if(this.effectSiblings){var n=o.getSilbings(e);i.each(n,(function(e){t.clearViewState(e)}))}else this.clearViewState(e)},e}(r.__importDefault(n(253)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(43),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.setStateEnable=function(t){var e=i.getCurrentElement(this.context);if(e){if(!i.isElementChange(this.context))return;t?(this.clear(),this.setElementState(e,!0)):this.hasState(e)&&this.setElementState(e,!1)}},e.prototype.toggle=function(){var t=i.getCurrentElement(this.context);if(t){var e=this.hasState(t);e||this.clear(),this.setElementState(t,!e)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(r.__importDefault(n(253)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHighlightBy=e.clearHighlight=void 0;var r=n(0),i=n(43),o="inactive",a="active";e.clearHighlight=function(t){var e=i.getElements(t);r.each(e,(function(t){t.hasState(a)&&t.setState(a,!1),t.hasState(o)&&t.setState(o,!1)}))},e.setHighlightBy=function(t,e,n){r.each(t,(function(t){e(t)?(t.hasState(o)&&t.setState(o,!1),t.setState(a,n)):(t.hasState(a)&&t.setState(a,!1),t.setState(o,n))}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.maskShape=null,e.points=[],e.starting=!1,e.moving=!1,e.preMovePoint=null,e.shapeType="path",e}return r.__extends(e,t),e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var e="mask:"+t,n=this.context.view,r=this.context.event;n.emit(e,{target:this.maskShape,shape:this.maskShape,points:this.points,x:r.x,y:r.y})},e.prototype.createMask=function(){var t=this.context.view,e=this.getMaskAttrs();return t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:r.__assign({fill:"#C5D4EB",opacity:.3},e)})},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(this.moving&&this.maskShape){var t=this.getCurrentPoint(),e=this.preMovePoint,n=t.x-e.x,r=t.y-e.y,o=this.points;i.each(o,(function(t){t.x+=n,t.y+=r})),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(){var t=this.getMaskAttrs();this.maskShape.attr(t)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,t.prototype.destroy.call(this)},e}(r.__importDefault(n(56)).default);e.default=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(4),i=n.n(r),o=n(103),a=n.n(o),s=n(167),c=n.n(s),l=n(168),u=n.n(l),g=n(196),f=n.n(g),d=n(280),h=n(281),p=n(282),A=n(212),C=n(7),v=n(14),I=n.n(v),y=function(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){var i=0;for(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 m(t){var e=t.parentInstance,n=t.content,r=y(t,["parentInstance","content"]);return I()(!1,"Label\u7ec4\u4ef6\u5373\u5c06\u88ab\u53d6\u6d88\uff0c\u8bf7\u4f7f\u7528\u56fe\u5f62\u7ec4\u4ef6\u7684label\u5c5e\u6027\u8fdb\u884c\u914d\u7f6e"),e.label(!1),e.label(n,r),i.a.createElement(i.a.Fragment,null)}Object(C.registerGeometryLabel)("base",a.a),Object(C.registerGeometryLabel)("interval",c.a),Object(C.registerGeometryLabel)("pie",u.a),Object(C.registerGeometryLabel)("polar",f.a),Object(C.registerGeometryLabelLayout)("overlap",A.overlap),Object(C.registerGeometryLabelLayout)("distribute",d.distribute),Object(C.registerGeometryLabelLayout)("fixed-overlap",A.fixedOverlap),Object(C.registerGeometryLabelLayout)("limit-in-shape",p.limitInShape),Object(C.registerGeometryLabelLayout)("limit-in-canvas",h.limitInCanvas)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_COLORS=e.AXIS_META_CONFIG_KEYS=void 0,e.AXIS_META_CONFIG_KEYS=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask"],e.DEFAULT_COLORS={GRADIENT:{CONTINUOUS:"#BAE7FF-#1890FF-#0050B3"}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getProgressData=void 0;var r=n(0),i=n(389);e.getProgressData=function(t){var e=r.clamp(i.isRealNumber(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagComponent=e.transformData=void 0;var r=n(1),i=n(0),o=n(126);e.transformData=function(t,e,n){var r=n.yField,a=n.maxSize,s=n.minSize,c=i.maxBy(e,r)[r],l=i.isNumber(a)?a:1,u=i.isNumber(s)?s:0;return i.map(t,(function(e,n){var a=(e[r]||0)/c;return e[o.FUNNEL_PERCENT]=a,e[o.FUNNEL_MAPPING_VALUE]=(l-u)*a+u,e[o.FUNNEL_CONVERSATION]=[i.get(t,[n-1,r]),e[r]],e}))},e.conversionTagComponent=function(t){return function(e){var n=e.chart,o=e.options.conversionTag,a=n.getOptions().data;if(o){var s=o.formatter;a.forEach((function(e,c){if(!(c<=0)){var l=t(e,c,a,{top:!0,text:{content:i.isFunction(s)?s(e,a):s,offsetX:o.offsetX,offsetY:o.offsetY,position:"end",autoRotate:!1,style:r.__assign({textAlign:"start",textBaseline:"middle"},o.style)}});n.annotation().line(l)}}))}return e}}},function(t,e,n){"use strict";n.r(e),n.d(e,"registerAttribute",(function(){return A})),n.d(e,"getAttribute",(function(){return p})),n.d(e,"Attribute",(function(){return o})),n.d(e,"Color",(function(){return c})),n.d(e,"Opacity",(function(){return l})),n.d(e,"Position",(function(){return u})),n.d(e,"Shape",(function(){return g})),n.d(e,"Size",(function(){return f})),n.d(e,"Scale",(function(){return d.Scale}));var r=n(0),i=function(t,e){return Object(r.isString)(e)?e:t.invert(t.scale(e))},o=function(){function t(t){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(t)}return t.prototype.mapping=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.map((function(e,n){return t._toOriginParam(e,t.scales[n])}));return this.callback.apply(this,r)},t.prototype.getLinearValue=function(t){var e=this.values.length-1,n=Math.floor(e*t),r=e*t-n,i=this.values[n];return i+((n===e?i:this.values[n+1])-i)*r},t.prototype.getNames=function(){for(var t=this.scales,e=this.names,n=Math.min(t.length,e.length),r=[],i=0;i<n;i+=1)r.push(e[i]);return r},t.prototype.getFields=function(){return this.scales.map((function(t){return t.field}))},t.prototype.getScale=function(t){return this.scales[this.names.indexOf(t)]},t.prototype.defaultCallback=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 0===e.length?this.values:e.map((function(e,n){var r=t.scales[n];return"identity"===r.type?r.values[0]:t._getAttributeValue(r,e)}))},t.prototype._parseCfg=function(t){var e=this,n=t.type,i=void 0===n?"base":n,o=t.names,a=void 0===o?[]:o,s=t.scales,c=void 0===s?[]:s,l=t.values,u=void 0===l?[]:l,g=t.callback;this.type=i,this.scales=c,this.values=u,this.names=a,this.callback=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(g){var i=g.apply(void 0,t);if(!Object(r.isNil)(i))return[i]}return e.defaultCallback.apply(e,t)}},t.prototype._getAttributeValue=function(t,e){if(t.isCategory&&!this.linear){var n=t.translate(e);return this.values[n%this.values.length]}var r=t.scale(e);return this.getLinearValue(r)},t.prototype._toOriginParam=function(t,e){return e.isLinear?t:Object(r.isArray)(t)?t.map((function(t){return i(e,t)})):i(e,t)},t}(),a=n(30),s=n(129),c=function(t){function e(e){var n=t.call(this,e)||this;return n.type="color",n.names=["color"],Object(r.isString)(n.values)&&(n.linear=!0),n.gradient=s.default.gradient(n.values),n}return Object(a.b)(e,t),e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(o),l=function(t){function e(e){var n=t.call(this,e)||this;return n.type="opacity",n.names=["opacity"],n}return Object(a.b)(e,t),e}(o),u=function(t){function e(e){var n=t.call(this,e)||this;return n.names=["x","y"],n.type="position",n}return Object(a.b)(e,t),e.prototype.mapping=function(t,e){var n=this.scales,i=n[0],o=n[1];return Object(r.isNil)(t)||Object(r.isNil)(e)?[]:[Object(r.isArray)(t)?t.map((function(t){return i.scale(t)})):i.scale(t),Object(r.isArray)(e)?e.map((function(t){return o.scale(t)})):o.scale(e)]},e}(o),g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="shape",n.names=["shape"],n}return Object(a.b)(e,t),e.prototype.getLinearValue=function(t){var e=Math.round((this.values.length-1)*t);return this.values[e]},e}(o),f=function(t){function e(e){var n=t.call(this,e)||this;return n.type="size",n.names=["size"],n}return Object(a.b)(e,t),e}(o),d=n(86),h={},p=function(t){return h[t.toLowerCase()]},A=function(t,e){if(p(t))throw new Error("Attribute type '"+t+"' existed.");h[t.toLowerCase()]=e};A("Color",c),A("Opacity",l),A("Position",u),A("Shape",g),A("Size",f)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(3),a=n(2),s=n(223),c=n(0),l=n(55),u=n(51),g="$$percentage$$",f="$$mappingValue$$",d="$$conversion$$",h="$$x$$",p="$$y$$";function A(t,e,n){var r=n.yField,i=n.maxSize,o=n.minSize,a=Object(c.maxBy)(e,r)[r],s=Object(c.isNumber)(i)?i:1,l=Object(c.isNumber)(o)?o:0;return Object(c.map)(t,(function(e,n){var i=(e[r]||0)/a;return e.$$percentage$$=i,e.$$mappingValue$$=(s-l)*i+l,e.$$conversion$$=[Object(c.get)(t,[n-1,r]),e[r]],e}))}function C(t){return function(e){var n=e.chart,i=e.options.conversionTag,o=n.getOptions().data;if(i){var a=i.formatter;o.forEach((function(e,s){if(!(s<=0)){var l=t(e,s,o,{top:!0,text:{content:Object(c.isFunction)(a)?a(e,o):a,offsetX:i.offsetX,offsetY:i.offsetY,position:"end",autoRotate:!1,style:Object(r.__assign)({textAlign:"start",textBaseline:"middle"},i.style)}});n.annotation().line(l)}}))}return e}}function v(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,o=A(i,i,{yField:n.yField,maxSize:n.maxSize,minSize:n.minSize});return e.data(o),t}function I(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.color,s=n.tooltip,h=n.label,p=Object(l.a)(s,[r,i]),A=p.fields,C=p.formatter;return Object(u.a)({chart:e,options:{type:"interval",xField:r,yField:f,colorField:r,tooltipFields:Object(c.isArray)(A)&&A.concat([g,d]),mapping:{shape:"funnel",tooltip:C,color:o},label:h}}),Object(a.c)(t.chart,"interval").adjust("symmetric"),t}function y(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),t}function m(t){var e=t.options.maxSize;return C((function(t,n,i,o){var a=e-(e-t.$$mappingValue$$)/2;return Object(r.__assign)(Object(r.__assign)({},o),{start:[n-.5,a],end:[n-.5,a+.05]})}))(t),t}function b(t){return Object(a.e)(v,I,y,m)(t)}function x(t){var e,n=t.chart,r=t.options,i=r.data,o=void 0===i?[]:i,a=r.yField;return n.data(o),n.scale(((e={})[a]={sync:!0},e)),t}function w(t){var e=t.chart,n=t.options,r=n.data,i=n.xField,o=n.yField,s=n.color,h=n.compareField,p=n.isTransposed,C=n.tooltip,v=n.maxSize,I=n.minSize,y=n.label;return e.facet("mirror",{fields:[h],transpose:!p,padding:p?0:[32,0,0,0],eachView:function(t,e){var n=p?e.rowIndex:e.columnIndex;p||t.coordinate({type:"rect",actions:[["transpose"],["scale",0===n?-1:1,-1]]});var m=A(e.data,r,{yField:o,maxSize:v,minSize:I});t.data(m);var b=Object(l.a)(C,[i,o,h]),x=b.fields,w=b.formatter,O=p?{offset:0===n?10:-23,position:0===n?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:0===n?"end":"start"}};Object(u.a)({chart:t,options:{type:"interval",xField:i,yField:f,colorField:i,tooltipFields:Object(c.isArray)(x)&&x.concat([g,d]),mapping:{shape:"funnel",tooltip:w,color:s,style:{lineWidth:1,stroke:"#fff"}},label:!1!==y&&Object(a.b)({},O,y)}})}}),t}function O(t){var e=t.chart,n=t.options,r=n.conversionTag,i=n.isTransposed;return e.once("beforepaint",(function(){e.views.forEach((function(t,e){C((function(t,n,o,s){var c=0===e?-1:1;return Object(a.b)({},s,{start:[n-.5,t.$$mappingValue$$],end:[n-.5,t.$$mappingValue$$+.05],text:i?{style:{textAlign:"start"}}:{offsetX:!1!==r?c*r.offsetX:0,style:{textAlign:0===e?"end":"start"}}})}))(Object(a.b)({},{chart:t,options:n}))}))})),t}function S(t){var e,n=t.chart,r=t.options,i=r.data,o=void 0===i?[]:i,a=r.yField;return n.data(o),n.scale(((e={})[a]={sync:!0},e)),t}function _(t){var e=t.chart,n=t.options,r=n.seriesField,i=n.isTransposed;return e.facet("rect",{fields:[r],padding:[i?0:32,10,0,10],eachView:function(e,n){b(Object(a.b)({},t,{chart:e,options:{data:n.data}}))}}),t}function k(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,o=n.yField,a=Object(c.reduce)(i,(function(t,e){return t+(e[o]||0)}),0),s=Object(c.maxBy)(i,o)[o],l=Object(c.map)(i,(function(t,e){var n=[],r=[];if(t.$$totalPercentage$$=(t[o]||0)/a,e){var l=i[e-1].$$x$$,u=i[e-1].$$y$$;n[0]=l[3],r[0]=u[3],n[1]=l[2],r[1]=u[2]}else n[0]=-.5,r[0]=1,n[1]=.5,r[1]=1;return r[2]=r[1]-t.$$totalPercentage$$,n[2]=(r[2]+1)/4,r[3]=r[2],n[3]=-n[2],t.$$x$$=n,t.$$y$$=r,t.$$percentage$$=(t[o]||0)/s,t.$$conversion$$=[Object(c.get)(i,[e-1,o]),t[o]],t}));return e.data(l),t}function j(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.color,a=n.tooltip,s=n.label,f=Object(l.a)(a,[r,i]),A=f.fields,C=f.formatter;return Object(u.a)({chart:e,options:{type:"polygon",xField:h,yField:p,colorField:r,tooltipFields:Object(c.isArray)(A)&&A.concat([g,d]),label:s,mapping:{tooltip:C,color:o}}}),t}function E(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[["transpose"],["reflect","x"]]:[]}),t}function P(t){return C((function(t,e,n,i){return Object(r.__assign)(Object(r.__assign)({},i),{start:[t.$$x$$[1],t.$$y$$[1]],end:[t.$$x$$[1]+.05,t.$$y$$[1]]})}))(t),t}function M(t){var e,n=t.options,r=n.compareField,i=n.xField,o=n.yField,c={minSize:0,maxSize:1,meta:(e={},e.$$mappingValue$$={min:0,max:1,nice:!1},e),label:r?{fields:[i,o,r,g,d],style:{fill:"#fff",fontSize:12},formatter:function(t){return""+t[o]}}:{fields:[i,o,g,d],offset:0,position:"middle",style:{fill:"#fff",fontSize:12},formatter:function(t){return t[i]+" "+t[o]}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1,title:i,formatter:function(t){return{name:t[i],value:t[o]}}},conversionTag:{offsetX:10,offsetY:0,style:{},formatter:function(t){return"\u8f6c\u5316\u7387: "+s.a.apply(void 0,t.$$conversion$$)}}};return Object(a.b)({options:c},t)}function T(t){var e=t.options,n=e.compareField,r=e.dynamicHeight;return e.seriesField?function(t){return Object(a.e)(S,_)(t)}(t):n?function(t){return Object(a.e)(x,w,O)(t)}(t):r?function(t){return Object(a.e)(k,j,E,P)(t)}(t):b(t)}function R(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,c=n.yField;return Object(a.e)(Object(o.f)(((e={})[s]=r,e[c]=i,e)))(t)}function D(t){return t.chart.axis(!1),t}function N(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}function L(t){return Object(a.e)(M,T,R,D,o.k,o.c,N,o.a,o.j,Object(o.b)())(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="funnel",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:[0,80]}},e.prototype.getSchemaAdaptor=function(){return L}}(i.a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(81),a=n(101),s=n(27),c=n(65),l=n(87),u=n(507),g=n(110),f=["regionFilter","shape"],d=function(t){function e(e){var n=t.call(this,e)||this;return n.cache=new Map,n.foregroundContainer=n.view.getLayer(s.LAYER.FORE).addGroup(),n.backgroundContainer=n.view.getLayer(s.LAYER.BG).addGroup(),n.option=[],n}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"annotation"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.layout=function(){this.update()},e.prototype.render=function(){},e.prototype.update=function(){var t=this;this.onAfterRender((function(){var e=new Map;i.each(t.option,(function(n){if(i.includes(f,n.type)){var r=t.updateOrCreate(n);r&&e.set(t.getCacheKey(n),r)}})),t.cache=t.syncCache(e)}));var e=new Map;i.each(this.option,(function(n){if(!i.includes(f,n.type)){var r=t.updateOrCreate(n);r&&e.set(t.getCacheKey(n),r)}})),this.cache=this.syncCache(e)},e.prototype.clear=function(e){void 0===e&&(e=!1),t.prototype.clear.call(this),this.clearComponents(),this.foregroundContainer.clear(),this.backgroundContainer.clear(),e&&(this.option=[])},e.prototype.destroy=function(){this.clear(!0),this.foregroundContainer.remove(!0),this.backgroundContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach((function(e){t.push(e)})),t},e.prototype.clearComponents=function(){this.getComponents().forEach((function(t){t.component.destroy()})),this.cache.clear()},e.prototype.onAfterRender=function(t){this.view.getOptions().animate?this.view.geometries.forEach((function(e){e.animateOption&&e.once(s.GEOMETRY_LIFE_CIRCLE.AFTER_DRAW_ANIMATE,(function(){t()}))})):this.view.getRootView().once(s.VIEW_LIFE_CIRCLE.AFTER_RENDER,(function(){t()}))},e.prototype.createAnnotation=function(t){var e=t.type,n=o.Annotation[i.upperFirst(e)];if(n){var r=this.getAnnotationTheme(e),a=this.getAnnotationCfg(e,t,r);return{component:new n(a),layer:this.isTop(a)?s.LAYER.FORE:s.LAYER.BG,direction:s.DIRECTION.NONE,type:s.COMPONENT_TYPE.ANNOTATION,extra:t}}},e.prototype.annotation=function(t){this.option.push(t)},e.prototype.arc=function(t){return this.annotation(r.__assign({type:"arc"},t)),this},e.prototype.image=function(t){return this.annotation(r.__assign({type:"image"},t)),this},e.prototype.line=function(t){return this.annotation(r.__assign({type:"line"},t)),this},e.prototype.region=function(t){return this.annotation(r.__assign({type:"region"},t)),this},e.prototype.text=function(t){return this.annotation(r.__assign({type:"text"},t)),this},e.prototype.dataMarker=function(t){return this.annotation(r.__assign({type:"dataMarker"},t)),this},e.prototype.dataRegion=function(t){this.annotation(r.__assign({type:"dataRegion"},t))},e.prototype.regionFilter=function(t){this.annotation(r.__assign({type:"regionFilter"},t))},e.prototype.shape=function(t){this.annotation(r.__assign({type:"shape"},t))},e.prototype.html=function(t){this.annotation(r.__assign({type:"html"},t))},e.prototype.parsePosition=function(t){var e=this.view.getXScale(),n=this.view.getScalesByDim("y"),r=i.isFunction(t)?t.call(null,e,n):t,o=0,a=0;if(i.isArray(r)){var s=r[0],c=r[1];if(i.isString(s)&&-1!==s.indexOf("%")&&!isNaN(s.slice(0,-1)))return this.parsePercentPosition(r);o=u.getNormalizedValue(s,e),a=u.getNormalizedValue(c,Object.values(n)[0])}else if(!i.isNil(r))for(var l=0,g=i.keys(r);l<g.length;l++){var f=g[l],d=r[f];f===e.field&&(o=u.getNormalizedValue(d,e)),n[f]&&(a=u.getNormalizedValue(d,n[f]))}return this.view.getCoordinate().convert({x:o,y:a})},e.prototype.getRegionPoints=function(t,e){var n,r=this,o=this.view.getXScale(),a=this.view.getScalesByDim("y"),s=Object.values(a)[0],c=o.field,l=this.view.getData(),u=i.isArray(t)?t[0]:t[c],g=i.isArray(e)?e[0]:e[c],f=[];return i.each(l,(function(t,e){if(t[c]===u&&(n=e),e>=n){var i=r.parsePosition([t[c],t[s.field]]);i&&f.push(i)}if(t[c]===g)return!1})),f},e.prototype.parsePercentPosition=function(t){var e=parseFloat(t[0])/100,n=parseFloat(t[1])/100,r=this.view.getCoordinate(),i=r.start,o=r.end,a=Math.min(i.x,o.x),s=Math.min(i.y,o.y);return{x:r.getWidth()*e+a,y:r.getHeight()*n+s}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),e=t.start,n=t.end,r=t.getWidth(),i=t.getHeight(),o={x:Math.min(e.x,n.x),y:Math.min(e.y,n.y)};return{x:o.x,y:o.y,minX:o.x,minY:o.y,maxX:o.x+r,maxY:o.y+i,width:r,height:i}},e.prototype.getAnnotationCfg=function(t,e,n){var o=this,s=this.view.getCoordinate(),l=this.view.getCanvas(),u={};if(i.isNil(e))return null;if("arc"===t){var g=e,f=g.start,d=g.end,h=this.parsePosition(f),p=this.parsePosition(d),A=c.getAngleByPoint(s,h),C=c.getAngleByPoint(s,p);A>C&&(C=2*Math.PI+C),u={center:s.getCenter(),radius:c.getDistanceToCenter(s,h),startAngle:A,endAngle:C}}else if("image"===t){var v=e;f=v.start,d=v.end,u={start:this.parsePosition(f),end:this.parsePosition(d),src:e.src}}else if("line"===t){var I=e;f=I.start,d=I.end,u={start:this.parsePosition(f),end:this.parsePosition(d),text:i.get(e,"text",null)}}else if("region"===t){var y=e;f=y.start,d=y.end,u={start:this.parsePosition(f),end:this.parsePosition(d)}}else if("text"===t){var m=this.view.getData(),b=e,x=b.position,w=b.content,O=r.__rest(b,["position","content"]),S=w;i.isFunction(w)&&(S=w(m)),u=r.__assign(r.__assign(r.__assign({},this.parsePosition(x)),O),{content:S})}else if("dataMarker"===t){var _=e,k=(x=_.position,_.point),j=_.line,E=_.text,P=_.autoAdjust,M=_.direction;u=r.__assign(r.__assign({},this.parsePosition(x)),{coordinateBBox:this.getCoordinateBBox(),point:k,line:j,text:E,autoAdjust:P,direction:M})}else if("dataRegion"===t){var T=e,R=(f=T.start,d=T.end,T.region),D=(E=T.text,T.lineLength);u={points:this.getRegionPoints(f,d),region:R,text:E,lineLength:D}}else if("regionFilter"===t){var N=e,L=(f=N.start,d=N.end,N.apply),F=N.color,B=this.view.geometries,z=[],V=function t(e){e&&(e.isGroup()?e.getChildren().forEach((function(e){return t(e)})):z.push(e))};i.each(B,(function(t){L?i.contains(L,t.type)&&i.each(t.elements,(function(t){V(t.shape)})):i.each(t.elements,(function(t){V(t.shape)}))})),u={color:F,shapes:z,start:this.parsePosition(f),end:this.parsePosition(d)}}else if("shape"===t){var G=e,W=G.render,Y=r.__rest(G,["render"]);u=r.__assign(r.__assign({},Y),{render:function(t){if(i.isFunction(e.render))return W(t,o.view,{parsePosition:o.parsePosition.bind(o)})}})}else if("html"===t){var H=e,U=H.html;x=H.position,Y=r.__rest(H,["html","position"]),u=r.__assign(r.__assign(r.__assign({},Y),this.parsePosition(x)),{parent:l.get("el").parentNode,html:function(t){return i.isFunction(U)?U(t,o.view):U}})}var X=i.deepMix({},n,r.__assign(r.__assign({},u),{top:e.top,style:e.style,offsetX:e.offsetX,offsetY:e.offsetY}));return"html"!==t&&(X.container=this.getComponentContainer(X)),X.animate=this.view.getOptions().animate&&X.animate&&i.get(e,"animate",X.animate),X.animateOption=i.deepMix({},a.DEFAULT_ANIMATE_CFG,X.animateOption,e.animateOption),X},e.prototype.isTop=function(t){return i.get(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return i.get(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var e=this.cache.get(this.getCacheKey(t));if(e){var n=t.type,r=this.getAnnotationTheme(n),o=this.getAnnotationCfg(n,t,r);l.omit(o,["container"]),e.component.update(o),i.includes(f,t.type)&&e.component.render()}else(e=this.createAnnotation(t))&&(e.component.init(),i.includes(f,t.type)&&e.component.render());return e},e.prototype.syncCache=function(t){var e=this,n=new Map(this.cache);return t.forEach((function(t,e){n.set(e,t)})),n.forEach((function(t,r){i.find(e.option,(function(t){return r===e.getCacheKey(t)}))||(t.component.destroy(),n.delete(r))})),n},e.prototype.getCacheKey=function(t){return t},e}(g.Controller);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeDom=e.getChartSize=void 0;var r=n(27);function i(t){return"number"===typeof t&&!isNaN(t)}e.getChartSize=function(t,e,n,o){var a=n,s=o;if(e){var c=function(t){var e=getComputedStyle(t);return{width:(t.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(t.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}(t);a=c.width?c.width:a,s=c.height?c.height:s}return{width:Math.max(i(a)?a:r.MIN_CHART_WIDTH,r.MIN_CHART_WIDTH),height:Math.max(i(s)?s:r.MIN_CHART_HEIGHT,r.MIN_CHART_HEIGHT)}},e.removeDom=function(t){var e=t.parentNode;e&&e.removeChild(t)};var o=n(29);Object.defineProperty(e,"createDom",{enumerable:!0,get:function(){return o.createDom}}),Object.defineProperty(e,"modifyCSS",{enumerable:!0,get:function(){return o.modifyCSS}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.positionUpdate=void 0,e.positionUpdate=function(t,e,n){var r=n.toAttrs,i=r.x,o=r.y;delete r.x,delete r.y,t.attr(r),t.animate({x:i,y:o},e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sectorPathUpdate=void 0;var r=n(1),i=n(188),o=n(0),a=n(59);function s(t,e){var n,r=i.getArcParams(t,e),a=r.startAngle,s=r.endAngle;return!o.isNumberEqual(a,.5*-Math.PI)&&a<.5*-Math.PI&&(a+=2*Math.PI),!o.isNumberEqual(s,.5*-Math.PI)&&s<.5*-Math.PI&&(s+=2*Math.PI),0===e[5]&&(a=(n=[s,a])[0],s=n[1]),o.isNumberEqual(a,1.5*Math.PI)&&(a=-.5*Math.PI),o.isNumberEqual(s,-.5*Math.PI)&&(s=1.5*Math.PI),{startAngle:a,endAngle:s}}function c(t){var e;return"M"===t[0]||"L"===t[0]?e=[t[1],t[2]]:"a"!==t[0]&&"A"!==t[0]||(e=[t[t.length-2],t[t.length-1]]),e}function l(t){var e,n,r,i=t.filter((function(t){return"A"===t[0]||"a"===t[0]})),a=i[0],l=i.length>1?i[1]:i[0],u=t.indexOf(a),g=t.indexOf(l),f=c(t[u-1]),d=c(t[g-1]),h=s(f,a),p=h.startAngle,A=h.endAngle,C=s(d,l),v=C.startAngle,I=C.endAngle;o.isNumberEqual(p,v)&&o.isNumberEqual(A,I)?(n=p,r=A):(n=Math.min(p,v),r=Math.max(A,I));var y=a[1],m=i[i.length-1][1];return y<m?(y=(e=[m,y])[0],m=e[1]):y===m&&(m=0),{startAngle:n,endAngle:r,radius:y,innerRadius:m}}e.sectorPathUpdate=function(t,e,n){var i=n.toAttrs,s=n.coordinate,c=i.path||[],u=c.map((function(t){return t[0]}));if(!(c.length<1)){var g=l(c),f=g.startAngle,d=g.endAngle,h=g.radius,p=g.innerRadius,A=l(t.attr("path")),C=A.startAngle,v=A.endAngle,I=s.getCenter(),y=f-C,m=d-v;t.animate((function(t){var e=C+t*y,n=v+t*m;return r.__assign(r.__assign({},i),{path:o.isEqual(u,["M","A","A","Z"])?a.getArcPath(I.x,I.y,h,e,n):a.getSectorPath(I.x,I.y,h,e,n,p)})}),r.__assign(r.__assign({},e),{callback:function(){t.attr("path",c)}}))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.waveIn=void 0;var r=n(1),i=n(65);e.waveIn=function(t,e,n){var o=i.getCoordinateClipCfg(n.coordinate,20),a=o.type,s=o.startState,c=o.endState,l=t.setClip({type:a,attrs:s});l.animate(c,r.__assign(r.__assign({},e),{callback:function(){t&&!t.get("destroyed")&&t.set("clipShape",null),l.remove(!0)}}))}},function(t,e,n){var r,i,o,a;function s(t){return(s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}a=function(t,e){"use strict";var n={error:null},r=function(t){var r,i;function o(){for(var e,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))||this).state=n,e.updatedWithError=!1,e.resetErrorBoundary=function(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];null==e.props.onReset||(t=e.props).onReset.apply(t,r),e.reset()},e}i=t,(r=o).prototype=Object.create(i.prototype),r.prototype.constructor=r,r.__proto__=i,o.getDerivedStateFromError=function(t){return{error:t}};var a=o.prototype;return a.reset=function(){this.updatedWithError=!1,this.setState(n)},a.componentDidCatch=function(t,e){var n,r;null==(n=(r=this.props).onError)||n.call(r,t,e)},a.componentDidUpdate=function(t){var e,n,r,i,o=this.state.error,a=this.props.resetKeys;null===o||this.updatedWithError?null!==o&&(void 0===(r=t.resetKeys)&&(r=[]),void 0===(i=a)&&(i=[]),r.length!==i.length||r.some((function(t,e){return!Object.is(t,i[e])})))&&(null==(e=(n=this.props).onResetKeysChange)||e.call(n,t.resetKeys,a),this.reset()):this.updatedWithError=!0},a.render=function(){var t=this.state.error,n=this.props,r=n.fallbackRender,i=n.FallbackComponent,o=n.fallback;if(null!==t){var a={error:t,resetErrorBoundary:this.resetErrorBoundary};if(e.isValidElement(o))return o;if("function"===typeof r)return r(a);if(i)return e.createElement(i,a);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},o}(e.Component);t.ErrorBoundary=r,t.useErrorHandler=function(t){var n=e.useState(null),r=n[0],i=n[1];if(t)throw t;if(r)throw r;return i},t.withErrorBoundary=function(t,n){var i=function(i){return e.createElement(r,n,e.createElement(t,i))},o=t.displayName||t.name||"Unknown";return i.displayName="withErrorBoundary("+o+")",i},Object.defineProperty(t,"__esModule",{value:!0})},"object"===s(e)&&"undefined"!==typeof t?a(e,n(4)):(i=[e,n(4)],void 0===(o="function"===typeof(r=a)?r.apply(e,i):r)||(t.exports=o))},function(t,e,n){"use strict";n.r(e);var r=n(9);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i)},function(t,e,n){"use strict";n.r(e),n.d(e,"version",(function(){return c}));var r=n(138);n.d(e,"Shape",(function(){return r}));var i=n(24);for(var o in i)["default","Canvas","Group","Shape","version"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var a=n(421);n.d(e,"Canvas",(function(){return a.a}));var s=n(132);n.d(e,"Group",(function(){return s.a}));var c="0.5.6"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),o=r.__importDefault(n(161));n(248);var a=function(t){function e(e){var n=t.call(this,e)||this;n.type="area",n.shapeType="area",n.generatePoints=!0,n.startOnZero=!0;var r=e.startOnZero,i=void 0===r||r,o=e.sortable,a=void 0!==o&&o,s=e.showSinglePoint,c=void 0!==s&&s;return n.startOnZero=i,n.sortable=a,n.showSinglePoint=c,n}return r.__extends(e,t),e.prototype.getPointsAndData=function(t){for(var e=[],n=[],r=0,o=t.length;r<o;r++){var a=t[r];e.push(a.points),n.push(a[i.FIELD_ORIGIN])}return{points:e,data:n}},e.prototype.getYMinValue=function(){return this.startOnZero?t.prototype.getYMinValue.call(this):this.getYScale().min},e}(o.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=r.__importDefault(n(102));n(348);var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="edge",e.shapeType="edge",e.generatePoints=!0,e}return r.__extends(e,t),e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=r.__importDefault(n(129)),o=n(0),a=n(27),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e.paletteCache={},e}return r.__extends(e,t),e.prototype.createElements=function(t,e,n){void 0===n&&(n=!1);var r=this.prepareRange(t),i=this.prepareSize(),a=o.get(this.styleOption,["style","shadowBlur"]);return o.isNumber(a)||(a=i/2),this.prepareGreyScaleBlurredCircle(i,a),this.drawWithRange(t,r,i,a),null},e.prototype.clear=function(){t.prototype.clear.call(this),this.clearShadowCanvasCtx(),this.paletteCache={}},e.prototype.prepareRange=function(t){var e=this.getAttribute("color").getFields()[0],n=1/0,r=-1/0;return t.forEach((function(t){var i=t[a.FIELD_ORIGIN][e];i>r&&(r=i),i<n&&(n=i)})),n===r&&(n=r-1),[n,r]},e.prototype.prepareSize=function(){var t=this.getDefaultValue("size");return o.isNumber(t)||(t=this.getDefaultSize()),t},e.prototype.prepareGreyScaleBlurredCircle=function(t,e){var n=this.getGrayScaleBlurredCanvas(),r=t+e,i=n.getContext("2d");n.width=n.height=2*r,i.clearRect(0,0,n.width,n.height),i.shadowOffsetX=i.shadowOffsetY=2*r,i.shadowBlur=e,i.shadowColor="black",i.beginPath(),i.arc(-r,-r,t,0,2*Math.PI,!0),i.closePath(),i.fill()},e.prototype.drawWithRange=function(t,e,n,r){var i=this.coordinate,o=i.start,s=i.end,c=this.coordinate.getWidth(),l=this.coordinate.getHeight(),u=this.getAttribute("color").getFields()[0];this.clearShadowCanvasCtx();var g=this.getShadowCanvasCtx();e&&(t=t.filter((function(t){return t[a.FIELD_ORIGIN][u]<=e[1]&&t[a.FIELD_ORIGIN][u]>=e[0]})));for(var f=this.scales[u],d=0,h=t;d<h.length;d++){var p=h[d],A=this.getDrawCfg(p),C=A.x,v=A.y,I=f.scale(p[a.FIELD_ORIGIN][u]);this.drawGrayScaleBlurredCircle(C-o.x,v-s.y,n+r,I,g)}var y=g.getImageData(0,0,c,l);this.clearShadowCanvasCtx(),this.colorize(y),g.putImageData(y,0,0);var m=this.getImageShape();m.attr("x",o.x),m.attr("y",s.y),m.attr("width",c),m.attr("height",l),m.attr("img",g.canvas),m.set("origin",this.getShapeInfo(t))},e.prototype.getDefaultSize=function(){var t=this.getAttribute("position"),e=this.coordinate;return Math.min(e.getWidth()/(4*t.scales[0].ticks.length),e.getHeight()/(4*t.scales[1].ticks.length))},e.prototype.clearShadowCanvasCtx=function(){var t=this.getShadowCanvasCtx();t.clearRect(0,0,t.canvas.width,t.canvas.height)},e.prototype.getShadowCanvasCtx=function(){var t=this.shadowCanvas;return t||(t=document.createElement("canvas"),this.shadowCanvas=t),t.width=this.coordinate.getWidth(),t.height=this.coordinate.getHeight(),t.getContext("2d")},e.prototype.getGrayScaleBlurredCanvas=function(){return this.grayScaleBlurredCanvas||(this.grayScaleBlurredCanvas=document.createElement("canvas")),this.grayScaleBlurredCanvas},e.prototype.drawGrayScaleBlurredCircle=function(t,e,n,r,i){var o=this.getGrayScaleBlurredCanvas();i.globalAlpha=r,i.drawImage(o,t-n,e-n)},e.prototype.colorize=function(t){for(var e=this.getAttribute("color"),n=t.data,r=this.paletteCache,a=3;a<n.length;a+=4){var s=n[a];if(o.isNumber(s)){var c=r[s]?r[s]:i.default.rgb2arr(e.gradient(s/256));n[a-3]=c[0],n[a-2]=c[1],n[a-1]=c[2],n[a]=s}}},e.prototype.getImageShape=function(){var t=this.imageShape;return t||(t=this.container.addShape({type:"image",attrs:{}}),this.imageShape=t,t)},e.prototype.getShapeInfo=function(t){var e=this.getDrawCfg(t[0]);return r.__assign(r.__assign({},e),{mappingData:t,data:this.getData(t)})},e.prototype.getData=function(t){return t.map((function(t){return t[a.FIELD_ORIGIN]}))},e}(r.__importDefault(n(102)).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(65),a=r.__importDefault(n(102));n(562);var s=n(349),c=function(t){function e(e){var n=t.call(this,e)||this;n.type="interval",n.shapeType="interval",n.generatePoints=!0;var r=e.background;return n.background=r,n}return r.__extends(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),i=this.getAttribute("size");if(i){n=this.getAttributeValues(i,e)[0];var a=this.coordinate;n/=o.getXDimensionLength(a)}else this.defaultSize||(this.defaultSize=s.getDefaultSize(this)),n=this.defaultSize;return r.size=n,r},e.prototype.adjustScale=function(){t.prototype.adjustScale.call(this);var e=this.getYScale();if("theta"===this.coordinate.type)e.change({nice:!1,min:0,max:Math.max(Math.max.apply(null,e.values),e.max)});else{var n=this.scaleDefs,r=e.field,o=e.min,a=e.max;"time"!==e.type&&(o>0&&!i.get(n,[r,"min"])&&e.change({min:0}),a<=0&&!i.get(n,[r,"max"])&&e.change({max:0}))}},e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.background=this.background,n},e}(a.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=r.__importDefault(n(161));n(245);var o=function(t){function e(e){var n=t.call(this,e)||this;n.type="line";var r=e.sortable,i=void 0!==r&&r;return n.sortable=i,n}return r.__extends(e,t),e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=r.__importDefault(n(102));n(563);var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e.shapeType="point",e.generatePoints=!0,e}return r.__extends(e,t),e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return r.__assign(r.__assign({},n),{isStack:!!this.getAdjust("stack")})},e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=r.__importDefault(n(102));n(350);var a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.shapeType="polygon",e.generatePoints=!0,e}return r.__extends(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),o=r.x,a=r.y;if(!i.isArray(o)||!i.isArray(a)){var s=this.getXScale(),c=this.getYScale(),l=.5/s.values.length,u=.5/c.values.length;s.isCategory&&c.isCategory?(o=[o-l,o-l,o+l,o+l],a=[a-u,a+u,a+u,a-u]):i.isArray(o)?(o=[(n=o)[0],n[0],n[1],n[1]],a=[a-u/2,a+u/2,a+u/2,a-u/2]):i.isArray(a)&&(a=[(n=a)[0],n[1],n[1],n[0]],o=[o-l/2,o-l/2,o+l/2,o+l/2]),r.x=o,r.y=a}return r},e}(o.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(65),o=r.__importDefault(n(102));n(351);var a=n(349),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="schema",e.shapeType="schema",e.generatePoints=!0,e}return r.__extends(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),o=this.getAttribute("size");if(o){n=this.getAttributeValues(o,e)[0];var s=this.coordinate;n/=i.getXDimensionLength(s)}else this.defaultSize||(this.defaultSize=a.getDefaultSize(this)),n=this.defaultSize;return r.size=n,r},e}(o.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.distribute=void 0;var r=n(0),i=n(59);e.distribute=function(t,e,n,o){if(t.length&&e.length){var a=t[0]?t[0].offset:0,s=e[0].get("coordinate"),c=s.getRadius(),l=s.getCenter();if(a>0){var u=2*(c+a)+28,g={start:s.start,end:s.end},f=[[],[]];t.forEach((function(t){t&&("right"===t.textAlign?f[0].push(t):f[1].push(t))})),f.forEach((function(t,n){var i=u/14;t.length>i&&(t.sort((function(t,e){return e["..percent"]-t["..percent"]})),t.splice(i,t.length-i)),t.sort((function(t,e){return t.y-e.y})),function(t,e,n,i,o,a){var s,c=!0,l=i.start,u=i.end,g=Math.min(l.y,u.y),f=Math.abs(l.y-u.y),d=0,h=Number.MIN_VALUE,p=e.map((function(t){return t.y>d&&(d=t.y),t.y<h&&(h=t.y),{size:n,targets:[t.y-g]}}));for(h-=g,d-g>f&&(f=d-g);c;)for(p.forEach((function(t){var e=(Math.min.apply(h,t.targets)+Math.max.apply(h,t.targets))/2;t.pos=Math.min(Math.max(h,e-t.size/2),f-t.size)})),c=!1,s=p.length;s--;)if(s>0){var A=p[s-1],C=p[s];A.pos+A.size>C.pos&&(A.size+=C.size,A.targets=A.targets.concat(C.targets),A.pos+A.size>f&&(A.pos=f-A.size),p.splice(s,1),c=!0)}s=0,p.forEach((function(t){var r=g+n/2;t.targets.forEach((function(){e[s].y=t.pos+r,r+=n,s++}))}));for(var v={},I=0,y=t;I<y.length;I++){var m=y[I];v[m.get("id")]=m}e.forEach((function(t){var e=t.r*t.r,n=Math.pow(Math.abs(t.y-o.y),2);if(e<n)t.x=o.x;else{var i=Math.sqrt(e-n);t.x=a?o.x+i:o.x-i}var s=v[t.id];s.attr("x",t.x),s.attr("y",t.y);var c=r.find(s.getChildren(),(function(t){return"text"===t.get("type")}));c&&(c.attr("y",t.y),c.attr("x",t.x))}))}(e,t,14,g,l,n)}))}r.each(t,(function(t){if(t&&t.labelLine){var e=t.offset,n=t.angle,o=i.polarToCartesian(l.x,l.y,c,n),a=i.polarToCartesian(l.x,l.y,c+e/2,n),s=t.x+r.get(t,"offsetX",0),u=t.y+r.get(t,"offsetY",0),g={x:s-4*Math.cos(n),y:u-4*Math.sin(n)};r.isObject(t.labelLine)||(t.labelLine={}),t.labelLine.path=["M "+o.x,o.y+" Q"+a.x,a.y+" "+g.x,g.y].join(",")}}))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInCanvas=void 0;var r=n(0),i=n(122);e.limitInCanvas=function(t,e,n,o){r.each(e,(function(t){var e=o.minX,n=o.minY,r=o.maxX,a=o.maxY,s=t.getCanvasBBox(),c=s.minX,l=s.minY,u=s.maxX,g=s.maxY,f=s.x,d=s.y,h=s.width,p=s.height,A=f,C=d;(c<e||u<e)&&(A=e),(l<n||g<n)&&(C=n),c>r?A=r-h:u>r&&(A-=u-r),l>a?C=a-p:g>a&&(C-=g-a),A===f&&C===d||i.translate(t,A-f,C-d)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInShape=void 0;var r=n(0);e.limitInShape=function(t,e,n,i){r.each(e,(function(t,e){var r=t.getCanvasBBox(),i=n[e].getBBox();(r.minX<i.minX||r.minY<i.minY||r.maxX>i.maxX||r.maxY>i.maxY)&&t.remove(!0)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(123),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){return i.deepMix({},t.prototype.getDefaultCfg.call(this),{type:"circle",showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.getRegion=function(t,e){var n=2*Math.PI/t,r=-1*Math.PI/2+n*e,i=.5/(1+1/Math.sin(n/2)),o=a.getAnglePoint({x:.5,y:.5},.5-i,r),s=5*Math.PI/4,c=1*Math.PI/4;return{start:a.getAnglePoint(o,i,s),end:a.getAnglePoint(o,i,c)}},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg,r=n.fields,o=n.type,a=r[0];if(!a)throw new Error("No `fields` specified!");var s=this.getFieldValues(t,a),c=s.length,l=[];return s.forEach((function(n,r){var u=[{field:a,value:n,values:s}],g=i.filter(t,e.getFacetDataFilter(u)),f={type:o,data:g,region:e.getRegion(c,r),columnValue:n,columnField:a,columnIndex:r,columnValuesLength:c,rowValue:null,rowField:null,rowIndex:0,rowValuesLength:1};l.push(f)})),l},e.prototype.getXAxisOption=function(t,e,n,r){return n},e.prototype.getYAxisOption=function(t,e,n,r){return n},e.prototype.renderTitle=function(){var t=this;i.each(this.facets,(function(e){var n=e.columnValue,r=e.view,s=i.get(t.cfg.title,"formatter"),c=i.deepMix({position:["50%","0%"],content:s?s(n):n},a.getFactTitleConfig(o.DIRECTION.TOP),t.cfg.title);r.annotation().text(c)}))},e}(n(111).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(123),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){return i.deepMix({},t.prototype.getDefaultCfg.call(this),{type:"list",cols:null,showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg.fields,r=this.cfg.cols,o=n[0];if(!o)throw new Error("No `fields` specified!");var a=this.getFieldValues(t,o),s=a.length;r=r||s;var c=this.getPageCount(s,r),l=[];return a.forEach((function(n,u){var g=e.getRowCol(u,r),f=g.row,d=g.col,h=[{field:o,value:n,values:a}],p=i.filter(t,e.getFacetDataFilter(h)),A={type:e.cfg.type,data:p,region:e.getRegion(c,r,d,f),columnValue:n,rowValue:n,columnField:o,rowField:null,columnIndex:d,rowIndex:f,columnValuesLength:r,rowValuesLength:c,total:s};l.push(A)})),l},e.prototype.getXAxisOption=function(t,e,n,i){return i.rowIndex!==i.rowValuesLength-1&&i.columnValuesLength*i.rowIndex+i.columnIndex+1+i.columnValuesLength<=i.total?r.__assign(r.__assign({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,i){return 0!==i.columnIndex?r.__assign(r.__assign({},n),{title:null,label:null}):n},e.prototype.renderTitle=function(){var t=this;i.each(this.facets,(function(e){var n=e.columnValue,r=e.view,s=i.get(t.cfg.title,"formatter"),c=i.deepMix({position:["50%","0%"],content:s?s(n):n},a.getFactTitleConfig(o.DIRECTION.TOP),t.cfg.title);r.annotation().text(c)}))},e.prototype.getPageCount=function(t,e){return Math.floor((t+e-1)/e)},e.prototype.getRowCol=function(t,e){return{row:Math.floor(t/e),col:t%e}},e}(n(111).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(123),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){return i.deepMix({},t.prototype.getDefaultCfg.call(this),{type:"matrix",showTitle:!1,columnTitle:r.__assign({},t.prototype.getDefaultTitleCfg.call(this)),rowTitle:r.__assign({},t.prototype.getDefaultTitleCfg.call(this))})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){for(var e=this.cfg,n=e.fields,r=e.type,i=n.length,o=i,a=[],s=0;s<o;s++)for(var c=n[s],l=0;l<i;l++){var u=n[l],g={type:r,data:t,region:this.getRegion(i,o,s,l),columnValue:c,rowValue:u,columnField:c,rowField:u,columnIndex:s,rowIndex:l,columnValuesLength:o,rowValuesLength:i};a.push(g)}return a},e.prototype.getXAxisOption=function(t,e,n,i){return i.rowIndex!==i.rowValuesLength-1?r.__assign(r.__assign({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,i){return 0!==i.columnIndex?r.__assign(r.__assign({},n),{title:null,label:null}):n},e.prototype.renderTitle=function(){var t=this;i.each(this.facets,(function(e,n){var r=e.columnIndex,s=e.rowIndex,c=e.columnValuesLength,l=(e.rowValuesLength,e.columnValue),u=e.rowValue,g=e.view;if(0===s){var f=i.get(t.cfg.columnTitle,"formatter"),d=i.deepMix({position:["50%","0%"],content:f?f(l):l},a.getFactTitleConfig(o.DIRECTION.TOP),t.cfg.columnTitle);g.annotation().text(d)}r===c-1&&(f=i.get(t.cfg.rowTitle,"formatter"),d=i.deepMix({position:["100%","50%"],content:f?f(u):u},a.getFactTitleConfig(o.DIRECTION.RIGHT),t.cfg.rowTitle),g.annotation().text(d))}))},e}(n(111).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(123),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){return i.deepMix({},t.prototype.getDefaultCfg.call(this),{type:"mirror",showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this),transpose:!1})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.beforeEachView=function(t,e){this.cfg.transpose?e.columnIndex%2===0?t.coordinate().transpose().reflect("x"):t.coordinate().transpose():e.rowIndex%2!==0&&t.coordinate().reflect("y")},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.generateFacets=function(t){var e,n,r=this,o=this.cfg.fields[0],a=[],s=1,c=1,l=[""],u=[""];return this.cfg.transpose?(e=o,l=this.getFieldValues(t,e).slice(0,2),s=l.length):(n=o,u=this.getFieldValues(t,n).slice(0,2),c=u.length),l.forEach((function(o,g){u.forEach((function(f,d){var h=[{field:e,value:o,values:l},{field:n,value:f,values:u}],p=i.filter(t,r.getFacetDataFilter(h)),A={type:r.cfg.type,data:p,region:r.getRegion(c,s,g,d),columnValue:o,rowValue:f,columnField:e,rowField:n,columnIndex:g,rowIndex:d,columnValuesLength:s,rowValuesLength:c};a.push(A)}))})),a},e.prototype.getXAxisOption=function(t,e,n,i){return 1===i.columnIndex||1===i.rowIndex?r.__assign(r.__assign({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,r){return n},e.prototype.renderTitle=function(){var t=this;i.each(this.facets,(function(e,n){var r=e.columnValue,s=e.rowValue,c=e.view,l=i.get(t.cfg.title,"formatter");if(t.cfg.transpose){var u=i.deepMix({position:["50%","0%"],content:l?l(r):r},a.getFactTitleConfig(o.DIRECTION.TOP),t.cfg.title);c.annotation().text(u)}else u=i.deepMix({position:["100%","50%"],content:l?l(s):s},a.getFactTitleConfig(o.DIRECTION.RIGHT),t.cfg.title),c.annotation().text(u)}))},e}(n(111).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(123),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.getDefaultCfg=function(){return i.deepMix({},t.prototype.getDefaultCfg.call(this),{type:"rect",columnTitle:r.__assign({},t.prototype.getDefaultTitleCfg.call(this)),rowTitle:r.__assign({},t.prototype.getDefaultTitleCfg.call(this))})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.generateFacets=function(t){var e=this,n=this.cfg.fields,r=n[0],o=n[1],a=[],s=1,c=1,l=[""],u=[""];return r&&(l=this.getFieldValues(t,r),s=l.length),o&&(u=this.getFieldValues(t,o),c=u.length),l.forEach((function(n,g){u.forEach((function(f,d){var h=[{field:r,value:n,values:l},{field:o,value:f,values:u}],p=i.filter(t,e.getFacetDataFilter(h)),A={type:e.cfg.type,data:p,region:e.getRegion(c,s,g,d),columnValue:n,rowValue:f,columnField:r,rowField:o,columnIndex:g,rowIndex:d,columnValuesLength:s,rowValuesLength:c};a.push(A)}))})),a},e.prototype.renderTitle=function(){var t=this;i.each(this.facets,(function(e,n){var r=e.columnIndex,s=e.rowIndex,c=e.columnValuesLength,l=e.columnValue,u=e.rowValue,g=e.view;if(0===s){var f=i.get(t.cfg.columnTitle,"formatter"),d=i.deepMix({position:["50%","0%"],content:f?f(l):l},a.getFactTitleConfig(o.DIRECTION.TOP),t.cfg.columnTitle);g.annotation().text(d)}r===c-1&&(f=i.get(t.cfg.rowTitle,"formatter"),d=i.deepMix({position:["100%","50%"],content:f?f(u):u},a.getFactTitleConfig(o.DIRECTION.RIGHT),t.cfg.rowTitle),g.annotation().text(d))}))},e.prototype.getXAxisOption=function(t,e,n,i){return i.rowIndex!==i.rowValuesLength-1?r.__assign(r.__assign({},n),{title:null,label:null}):i.columnIndex!==Math.floor((i.columnValuesLength-1)/2)?r.__assign(r.__assign({},n),{title:null}):n},e.prototype.getYAxisOption=function(t,e,n,i){return 0!==i.columnIndex?r.__assign(r.__assign({},n),{title:null,label:null}):i.rowIndex!==Math.floor((i.rowValuesLength-1)/2)?r.__assign(r.__assign({},n),{title:null}):n},e}(n(111).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(123),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.afterChartRender=function(){e.facets&&e.cfg.line&&(e.container.clear(),e.drawLines(e.facets))},e}return r.__extends(e,t),e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.init=function(){t.prototype.init.call(this),this.view.on(o.VIEW_LIFE_CIRCLE.AFTER_RENDER,this.afterChartRender)},e.prototype.getDefaultCfg=function(){return i.deepMix({},t.prototype.getDefaultCfg.call(this),{type:"tree",line:{style:{lineWidth:1,stroke:"#ddd"},smooth:!1},showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.generateFacets=function(t){if(!this.cfg.fields.length)throw new Error("Please specify for the fields for rootFacet!");var e=[],n={type:this.cfg.type,data:t,region:null,rowValuesLength:this.getRows(),columnValuesLength:1,rowIndex:0,columnIndex:0,rowField:"",columnField:"",rowValue:"",columnValue:""};return e.push(n),n.children=this.getChildFacets(t,1,e),this.setRegion(e),e},e.prototype.setRegion=function(t){var e=this;this.forceColIndex(t),t.forEach((function(t){t.region=e.getRegion(t.rowValuesLength,t.columnValuesLength,t.columnIndex,t.rowIndex)}))},e.prototype.getRegion=function(t,e,n,r){var i=1/e,o=1/t,a={x:i*n,y:o*r};return{start:a,end:{x:a.x+i,y:a.y+2*o/3}}},e.prototype.forceColIndex=function(t){var e=this,n=[],r=0;t.forEach((function(t){e.isLeaf(t)&&(n.push(t),t.columnIndex=r,r++)})),n.forEach((function(t){t.columnValuesLength=n.length}));for(var i=this.cfg.fields.length-1;i>=0;i--)for(var o=0,a=this.getFacetsByLevel(t,i);o<a.length;o++){var s=a[o];this.isLeaf(s)||(s.originColIndex=s.columnIndex,s.columnIndex=this.getRegionIndex(s.children),s.columnValuesLength=n.length)}},e.prototype.getFacetsByLevel=function(t,e){var n=[];return t.forEach((function(t){t.rowIndex===e&&n.push(t)})),n},e.prototype.getRegionIndex=function(t){var e=t[0];return(t[t.length-1].columnIndex-e.columnIndex)/2+e.columnIndex},e.prototype.isLeaf=function(t){return!t.children||!t.children.length},e.prototype.getRows=function(){return this.cfg.fields.length+1},e.prototype.getChildFacets=function(t,e,n){var r=this,i=this.cfg.fields;if(!(i.length<e)){var o=[],a=i[e-1],s=this.getFieldValues(t,a);return s.forEach((function(i,c){var l=[{field:a,value:i,values:s}],u=t.filter(r.getFacetDataFilter(l));if(u.length){var g={type:r.cfg.type,data:u,region:null,columnValue:i,rowValue:"",columnField:a,rowField:"",columnIndex:c,rowValuesLength:r.getRows(),columnValuesLength:1,rowIndex:e,children:r.getChildFacets(u,e+1,n)};o.push(g),n.push(g)}})),o}},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.renderTitle=function(){var t=this;i.each(this.facets,(function(e){var n=e.columnValue,r=e.view,s=i.get(t.cfg.title,"formatter"),c=i.deepMix({position:["50%","0%"],content:s?s(n):n},a.getFactTitleConfig(o.DIRECTION.TOP),t.cfg.title);r.annotation().text(c)}))},e.prototype.drawLines=function(t){var e=this;t.forEach((function(t){if(!e.isLeaf(t)){var n=t.children;e.addFacetLines(t,n)}}))},e.prototype.addFacetLines=function(t,e){var n=this,r=t.view.coordinateBBox,i={x:r.x+r.width/2,y:r.y+r.height};e.forEach((function(t){var e=t.view.coordinateBBox,r={x:e.bl.x+(e.tr.x-e.bl.x)/2,y:e.tr.y},o={x:i.x,y:i.y+(r.y-i.y)/2},a={x:r.x,y:o.y};n.drawLine([i,o,a,r])}))},e.prototype.getPath=function(t){var e=[];return this.cfg.line.smooth?(e.push(["M",t[0].x,t[0].y]),e.push(["C",t[1].x,t[1].y,t[2].x,t[2].y,t[3].x,t[3].y])):t.forEach((function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])})),e},e.prototype.drawLine=function(t){var e=this.getPath(t),n=this.cfg.line.style;this.container.addShape("path",{attrs:i.assign({path:e},n)})},e.prototype.getXAxisOption=function(t,e,n,i){return i.rowIndex!==i.rowValuesLength-1?r.__assign(r.__assign({},n),{title:null,label:null}):n},e.prototype.getYAxisOption=function(t,e,n,i){return 0!==i.originColIndex&&0!==i.columnIndex?r.__assign(r.__assign({},n),{title:null,label:null}):n},e}(n(111).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(81),s=n(101),c=n(235),l=n(235),u=n(583),g=n(87),f=n(110),d=["container"],h=r.__assign(r.__assign({},s.DEFAULT_ANIMATE_CFG),{appear:null}),p=function(t){function e(e){var n=t.call(this,e)||this;return n.cache=new Map,n.gridContainer=n.view.getLayer(o.LAYER.BG).addGroup(),n.axisContainer=n.view.getLayer(o.LAYER.BG).addGroup(),n}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,e=this.view.getCoordinate();i.each(this.getComponents(),(function(n){var r,i=n.component,a=n.direction,s=n.type,l=n.extra,g=l.dim,f=l.scale,d=l.alignTick;s===o.COMPONENT_TYPE.AXIS?e.isPolar?"x"===g?r=e.isTransposed?c.getAxisRegion(e,a):c.getCircleAxisCenterRadius(e):"y"===g&&(r=e.isTransposed?c.getCircleAxisCenterRadius(e):c.getAxisRegion(e,a)):r=c.getAxisRegion(e,a):s===o.COMPONENT_TYPE.GRID&&(r=e.isPolar?{items:e.isTransposed?"x"===g?u.getCircleGridItems(e,t.view.getYScales()[0],f,d,g):u.getLineGridItems(e,f,g,d):"x"===g?u.getLineGridItems(e,f,g,d):u.getCircleGridItems(e,t.view.getXScale(),f,d,g),center:t.view.getCoordinate().getCenter()}:{items:u.getLineGridItems(e,f,g,d)}),i.update(r)}))},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var e=new Map;this.cache.forEach((function(n,r){t.has(r)?e.set(r,n):n.component.destroy()})),this.cache=e},e.prototype.clear=function(){t.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.axisContainer.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.gridContainer.remove(!0),this.axisContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach((function(e){t.push(e)})),t},e.prototype.updateXAxes=function(t){var e=this.view.getXScale();if(e&&!e.isIdentity){var n=l.getAxisOption(this.option,e.field);if(!1!==n){var r=c.getAxisDirection(n,o.DIRECTION.BOTTOM),a=o.LAYER.BG,s="x",u=this.view.getCoordinate(),f=this.getId("axis",e.field),h=this.getId("grid",e.field);if(u.isRect){if(A=this.cache.get(f)){var p=this.getLineAxisCfg(e,n,r);g.omit(p,d),A.component.update(p),t.set(f,A)}else A=this.createLineAxis(e,n,a,r,s),this.cache.set(f,A),t.set(f,A);(C=this.cache.get(h))?(p=this.getLineGridCfg(e,n,r,s),g.omit(p,d),C.component.update(p),t.set(h,C)):(C=this.createLineGrid(e,n,a,r,s))&&(this.cache.set(h,C),t.set(h,C))}else if(u.isPolar){var A,C;if(A=this.cache.get(f))p=u.isTransposed?this.getLineAxisCfg(e,n,o.DIRECTION.RADIUS):this.getCircleAxisCfg(e,n,r),g.omit(p,d),A.component.update(p),t.set(f,A);else{if(u.isTransposed){if(i.isUndefined(n))return;A=this.createLineAxis(e,n,a,o.DIRECTION.RADIUS,s)}else A=this.createCircleAxis(e,n,a,r,s);this.cache.set(f,A),t.set(f,A)}if(C=this.cache.get(h))p=u.isTransposed?this.getCircleGridCfg(e,n,o.DIRECTION.RADIUS,s):this.getLineGridCfg(e,n,o.DIRECTION.CIRCLE,s),g.omit(p,d),C.component.update(p),t.set(h,C);else{if(u.isTransposed){if(i.isUndefined(n))return;C=this.createCircleGrid(e,n,a,o.DIRECTION.RADIUS,s)}else C=this.createLineGrid(e,n,a,o.DIRECTION.CIRCLE,s);C&&(this.cache.set(h,C),t.set(h,C))}}}}},e.prototype.updateYAxes=function(t){var e=this,n=this.view.getYScales();i.each(n,(function(n,r){if(n&&!n.isIdentity){var a=n.field,s=l.getAxisOption(e.option,a);if(!1!==s){var u=o.LAYER.BG,f="y",h=e.getId("axis",a),p=e.getId("grid",a),A=e.view.getCoordinate();if(A.isRect){var C=c.getAxisDirection(s,0===r?o.DIRECTION.LEFT:o.DIRECTION.RIGHT);if(I=e.cache.get(h)){var v=e.getLineAxisCfg(n,s,C);g.omit(v,d),I.component.update(v),t.set(h,I)}else I=e.createLineAxis(n,s,u,C,f),e.cache.set(h,I),t.set(h,I);(y=e.cache.get(p))?(v=e.getLineGridCfg(n,s,C,f),g.omit(v,d),y.component.update(v),t.set(p,y)):(y=e.createLineGrid(n,s,u,C,f))&&(e.cache.set(p,y),t.set(p,y))}else if(A.isPolar){var I,y;if(I=e.cache.get(h))v=A.isTransposed?e.getCircleAxisCfg(n,s,o.DIRECTION.CIRCLE):e.getLineAxisCfg(n,s,o.DIRECTION.RADIUS),g.omit(v,d),I.component.update(v),t.set(h,I);else{if(A.isTransposed){if(i.isUndefined(s))return;I=e.createCircleAxis(n,s,u,o.DIRECTION.CIRCLE,f)}else I=e.createLineAxis(n,s,u,o.DIRECTION.RADIUS,f);e.cache.set(h,I),t.set(h,I)}if(y=e.cache.get(p))v=A.isTransposed?e.getLineGridCfg(n,s,o.DIRECTION.CIRCLE,f):e.getCircleGridCfg(n,s,o.DIRECTION.RADIUS,f),g.omit(v,d),y.component.update(v),t.set(p,y);else{if(A.isTransposed){if(i.isUndefined(s))return;y=e.createLineGrid(n,s,u,o.DIRECTION.CIRCLE,f)}else y=e.createCircleGrid(n,s,u,o.DIRECTION.RADIUS,f);y&&(e.cache.set(p,y),t.set(p,y))}}}}}))},e.prototype.createLineAxis=function(t,e,n,r,i){var s={component:new a.LineAxis(this.getLineAxisCfg(t,e,r)),layer:n,direction:r===o.DIRECTION.RADIUS?o.DIRECTION.NONE:r,type:o.COMPONENT_TYPE.AXIS,extra:{dim:i,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createLineGrid=function(t,e,n,r,s){var c=this.getLineGridCfg(t,e,r,s);if(c){var l={component:new a.LineGrid(c),layer:n,direction:o.DIRECTION.NONE,type:o.COMPONENT_TYPE.GRID,extra:{dim:s,scale:t,alignTick:i.get(c,"alignTick",!0)}};return l.component.init(),l}},e.prototype.createCircleAxis=function(t,e,n,r,i){var s={component:new a.CircleAxis(this.getCircleAxisCfg(t,e,r)),layer:n,direction:r,type:o.COMPONENT_TYPE.AXIS,extra:{dim:i,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createCircleGrid=function(t,e,n,r,s){var c=this.getCircleGridCfg(t,e,r,s);if(c){var l={component:new a.CircleGrid(c),layer:n,direction:o.DIRECTION.NONE,type:o.COMPONENT_TYPE.GRID,extra:{dim:s,scale:t,alignTick:i.get(c,"alignTick",!0)}};return l.component.init(),l}},e.prototype.getLineAxisCfg=function(t,e,n){var o=this.axisContainer,a=this.view.getCoordinate(),s=c.getAxisRegion(a,n),l=c.getAxisTitleText(t,e),u=c.getAxisThemeCfg(this.view.getTheme(),n),g=i.get(e,["title"])?i.deepMix({title:{style:{text:l}}},{title:i.get(c.getAxisThemeCfg(this.view.getTheme(),"common"),"title")},e):e,f=i.deepMix(r.__assign(r.__assign({container:o},s),{ticks:t.getTicks().map((function(t){return{id:""+t.tickValue,name:t.text,value:t.value}})),verticalFactor:a.isPolar?-1*c.getAxisFactorByRegion(s,a.getCenter()):c.getAxisFactorByRegion(s,a.getCenter()),theme:u}),u,g),d=this.getAnimateCfg(f),h=d.animate,p=d.animateOption;f.animateOption=p,f.animate=h;var A=c.isVertical(s),C=i.get(f,"verticalLimitLength",A?1/3:.5);if(C<=1){var v=this.view.getCanvas().get("width"),I=this.view.getCanvas().get("height");f.verticalLimitLength=C*(A?v:I)}return f},e.prototype.getLineGridCfg=function(t,e,n,r){if(u.showGrid(c.getAxisThemeCfg(this.view.getTheme(),n),e)){var o=u.getGridThemeCfg(this.view.getTheme(),n),a=i.deepMix({container:this.gridContainer},o,i.get(e,"grid"),this.getAnimateCfg(e));return a.items=u.getLineGridItems(this.view.getCoordinate(),t,r,i.get(a,"alignTick",!0)),a}},e.prototype.getCircleAxisCfg=function(t,e,n){var a=this.axisContainer,s=this.view.getCoordinate(),l=t.getTicks().map((function(t){return{id:""+t.tickValue,name:t.text,value:t.value}}));t.isCategory||Math.abs(s.endAngle-s.startAngle)!==2*Math.PI||l.pop();var u=c.getAxisTitleText(t,e),g=c.getAxisThemeCfg(this.view.getTheme(),o.DIRECTION.CIRCLE),f=i.get(e,["title"])?i.deepMix({title:{style:{text:u}}},{title:i.get(c.getAxisThemeCfg(this.view.getTheme(),"common"),"title")},e):e,d=i.deepMix(r.__assign(r.__assign({container:a},c.getCircleAxisCenterRadius(this.view.getCoordinate())),{ticks:l,verticalFactor:1,theme:g}),g,f),h=this.getAnimateCfg(d),p=h.animate,A=h.animateOption;return d.animate=p,d.animateOption=A,d},e.prototype.getCircleGridCfg=function(t,e,n,r){if(u.showGrid(c.getAxisThemeCfg(this.view.getTheme(),n),e)){var a=u.getGridThemeCfg(this.view.getTheme(),o.DIRECTION.RADIUS),s=i.deepMix({container:this.gridContainer,center:this.view.getCoordinate().getCenter()},a,i.get(e,"grid"),this.getAnimateCfg(e)),l=i.get(s,"alignTick",!0),g="x"===r?this.view.getYScales()[0]:this.view.getXScale();return s.items=u.getCircleGridItems(this.view.getCoordinate(),g,t,l,r),s}},e.prototype.getId=function(t,e){return t+"-"+e+"-"+this.view.getCoordinate().type},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&i.get(t,"animate"),animateOption:t&&t.animateOption?i.deepMix({},h,t.animateOption):h}},e}(f.Controller);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(81),s=n(101),c=n(88),l=n(251),u=n(87),g=n(345),f=n(153);function d(t,e){return i.isBoolean(t)?!1!==t&&{}:i.get(t,[e],t)}function h(t){return i.get(t,"position",o.DIRECTION.BOTTOM)}var p=function(t){function e(e){var n=t.call(this,e)||this;return n.container=n.view.getLayer(o.LAYER.FORE).addGroup(),n}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,i.each(this.components,(function(e){var n=e.component,r=e.direction,i=g.getLegendLayout(r),o=t.getCategoryLegendSizeCfg(i),a=n.get("maxWidth"),s=n.get("maxHeight");n.update({maxWidth:Math.min(o.maxWidth,a||0),maxHeight:Math.min(o.maxHeight,s||0)});var u=n.get("padding"),f=n.getLayoutBBox(),d=new c.BBox(f.x,f.y,f.width,f.height).expand(u),h=l.directionToPosition(t.view.viewBBox,d,r),p=h[0],A=h[1],C=l.directionToPosition(t.layoutBBox,d,r),v=C[0],I=C[1],y=0,m=0;r.startsWith("top")||r.startsWith("bottom")?(y=p,m=I):(y=v,m=A),n.setLocation({x:y+u[3],y:m+u[0]}),t.layoutBBox=t.layoutBBox.cut(d,r)}))},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var e={};if(i.get(this.option,"custom")){var n="global-custom",r=this.getComponentById(n);if(r){var a=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);u.omit(a,["container"]),r.component.update(a),e[n]=!0}else{var s=this.createCustomLegend(void 0,void 0,void 0,this.option);if(s){s.init();var c=o.LAYER.FORE,l=h(this.option);this.components.push({id:n,component:s,layer:c,direction:l,type:o.COMPONENT_TYPE.LEGEND,extra:void 0}),e[n]=!0}}}else this.loopLegends((function(n,r,o){var a=t.getId(o.field),s=t.getComponentById(a);if(s){var c=void 0,l=d(t.option,o.field);!1!==l&&(i.get(l,"custom")?c=t.getCategoryCfg(n,r,o,l,!0):o.isLinear?c=t.getContinuousCfg(n,r,o,l):o.isCategory&&(c=t.getCategoryCfg(n,r,o,l))),c&&(u.omit(c,["container"]),s.direction=h(l),s.component.update(c),e[a]=!0)}else{var g=t.createFieldLegend(n,r,o);g&&(g.component.init(),t.components.push(g),e[a]=!0)}}));var g=[];i.each(this.getComponents(),(function(t){e[t.id]?g.push(t):t.component.destroy()})),this.components=g},e.prototype.clear=function(){t.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var e=this,n=t.geometries;return i.each(t.views,(function(t){n=n.concat(e.getGeometries(t))})),n},e.prototype.loopLegends=function(t){if(this.view.getRootView()===this.view){var e=this.getGeometries(this.view),n={};i.each(e,(function(e){var r=e.getGroupAttributes();i.each(r,(function(r){var i=r.getScale(r.type);i&&"identity"!==i.type&&!n[i.field]&&(t(e,r,i),n[i.field]=!0)}))}))}},e.prototype.createFieldLegend=function(t,e,n){var r,a=d(this.option,n.field),s=o.LAYER.FORE,c=h(a);if(!1!==a&&(i.get(a,"custom")?r=this.createCustomLegend(t,e,n,a):n.isLinear?r=this.createContinuousLegend(t,e,n,a):n.isCategory&&(r=this.createCategoryLegend(t,e,n,a))),r)return r.set("field",n.field),{id:this.getId(n.field),component:r,layer:s,direction:c,type:o.COMPONENT_TYPE.LEGEND,extra:{scale:n}}},e.prototype.createCustomLegend=function(t,e,n,r){var i=this.getCategoryCfg(t,e,n,r,!0);return new a.CategoryLegend(i)},e.prototype.createContinuousLegend=function(t,e,n,r){var i=this.getContinuousCfg(t,e,n,r);return new a.ContinuousLegend(i)},e.prototype.createCategoryLegend=function(t,e,n,r){var i=this.getCategoryCfg(t,e,n,r);return new a.CategoryLegend(i)},e.prototype.getContinuousCfg=function(t,e,n,r){var o=n.getTicks(),a=i.find(o,(function(t){return 0===t.value})),c=i.find(o,(function(t){return 1===t.value})),l=o.map((function(t){var r=t.value,i=t.tickValue,o=e.mapping(n.invert(r)).join("");return{value:i,attrValue:o,color:o,scaleValue:r}}));a||l.push({value:n.min,attrValue:e.mapping(n.invert(0)).join(""),color:e.mapping(n.invert(0)).join(""),scaleValue:0}),c||l.push({value:n.max,attrValue:e.mapping(n.invert(1)).join(""),color:e.mapping(n.invert(1)).join(""),scaleValue:1}),l.sort((function(t,e){return t.value-e.value}));var u={min:i.head(l).value,max:i.last(l).value,colors:[],rail:{type:e.type},track:{}};"size"===e.type&&(u.track={style:{fill:"size"===e.type?this.view.getTheme().defaultColor:void 0}}),"color"===e.type&&(u.colors=l.map((function(t){return t.attrValue})));var d=this.container,p=h(r),A=g.getLegendLayout(p),C=i.get(r,"title");return C&&(C=i.deepMix({text:f.getName(n)},C)),u.container=d,u.layout=A,u.title=C,u.animateOption=s.DEFAULT_ANIMATE_CFG,this.mergeLegendCfg(u,r,"continuous")},e.prototype.getCategoryCfg=function(t,e,n,r,a){var c=this.container,l=i.get(r,"position",o.DIRECTION.BOTTOM),u=i.get(this.view.getTheme(),["components","legend",l,"marker"]),d=i.get(r,"marker"),h=g.getLegendLayout(l),p=a?g.getCustomLegendItems(u,d,r.items):g.getLegendItems(this.view,t,e,u,d),A=i.get(r,"title");A&&(A=i.deepMix({text:n?f.getName(n):""},A));var C=this.getCategoryLegendSizeCfg(h);C.container=c,C.layout=h,C.items=p,C.title=A,C.animateOption=s.DEFAULT_ANIMATE_CFG;var v=this.mergeLegendCfg(C,r,l);v.reversed&&v.items.reverse();var I=i.get(v,"maxItemWidth");return I&&I<=1&&(v.maxItemWidth=this.view.viewBBox.width*I),v},e.prototype.mergeLegendCfg=function(t,e,n){var r=n.split("-")[0],o=i.get(this.view.getTheme(),["components","legend",r],{});return i.deepMix({},o,t,e)},e.prototype.getId=function(t){return this.name+"-"+t},e.prototype.getComponentById=function(t){return i.find(this.components,(function(e){return e.id===t}))},e.prototype.getCategoryLegendSizeCfg=function(t){var e=this.view.viewBBox,n=e.width,r=e.height;return"vertical"===t?{maxWidth:n*o.COMPONENT_MAX_VIEW_PERCENTAGE,maxHeight:r}:{maxWidth:n,maxHeight:r*o.COMPONENT_MAX_VIEW_PERCENTAGE}},e}(n(110).Controller);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(81),s=n(88),c=n(251),l=n(87),u=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=i.noop,n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t[0],r=t[1];n.start=e,n.end=r,n.changeViewData(e,r)},n.container=n.view.getLayer(o.LAYER.FORE).addGroup(),n.onChangeFn=i.throttle(n.onValueChange,20,{leading:!0}),n.width=0,n.view.on(o.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(o.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(o.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(o.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),e=t.start,n=t.end;i.isNil(this.start)&&(this.start=e,this.end=n);var r=this.view.getOptions().data;this.option&&!i.isEmpty(r)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout((function(){t.view.destroyed||t.changeViewData(t.start,t.end)}),0)),this.slider){var e=this.view.coordinateBBox.width,n=this.slider.component.get("padding"),i=n[0],a=(n[1],n[2],n[3]),l=this.slider.component.getLayoutBBox(),u=new s.BBox(l.x,l.y,Math.min(l.width,e),l.height).expand(n),g=this.getMinMaxText(this.start,this.end),f=g.minText,d=g.maxText,h=c.directionToPosition(this.view.viewBBox,u,o.DIRECTION.BOTTOM),p=(h[0],h[1]),A=c.directionToPosition(this.view.coordinateBBox,u,o.DIRECTION.BOTTOM),C=A[0];A[1],this.slider.component.update(r.__assign(r.__assign({},this.getSliderCfg()),{x:C+a,y:p+i,width:this.width,start:this.start,end:this.end,minText:f,maxText:d})),this.view.viewBBox=this.view.viewBBox.cut(u,o.DIRECTION.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),e=new a.Slider(r.__assign({container:this.container},t));return e.init(),{component:e,layer:o.LAYER.FORE,direction:o.DIRECTION.BOTTOM,type:o.COMPONENT_TYPE.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var e=this.getMinMaxText(this.start,this.end),n=e.minText,i=e.maxText;t=r.__assign(r.__assign({},t),{width:this.width,start:this.start,end:this.end,minText:n,maxText:i})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if(i.isObject(this.option)){var e=r.__assign({data:this.getData()},i.get(this.option,"trendCfg",{}));t=i.deepMix({},t,this.getThemeOptions(),this.option),t=r.__assign(r.__assign({},t),{trendCfg:e})}return t.start=i.clamp(Math.min(i.isNil(t.start)?0:t.start,i.isNil(t.end)?1:t.end),0,1),t.end=i.clamp(Math.max(i.isNil(t.start)?0:t.start,i.isNil(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,e=this.view.getYScales()[0],n=this.view.getGroupScales();if(n.length){var r=n[0],i=r.field,o=r.ticks;return t.reduce((function(t,n){return n[i]===o[0]&&t.push(n[e.field]),t}),[])}return t.map((function(t){return t[e.field]||0}))},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return i.get(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,e){var n=this.view.getOptions().data,r=this.view.getXScale(),o=i.valuesOfKey(n,r.field),a=o,s=i.size(n);if(!r||!s)return{};var c=i.size(a),l=Math.floor(t*(c-1)),u=Math.floor(e*(c-1)),g=i.get(a,[l]),f=i.get(a,[u]),d=this.getSliderCfg().formatter;return d&&(g=d(g,n[l],l),f=d(f,n[u],u)),{minText:g,maxText:f}},e.prototype.changeViewData=function(t,e){var n=this.view.getOptions().data,r=this.view.getXScale(),o=i.valuesOfKey(n,r.field),a=o,s=i.size(n);if(r&&s){var c=i.size(a),u=Math.floor(t*(c-1)),g=Math.floor(e*(c-1));this.view.filter(r.field,(function(t,e){var n=a.indexOf(t);return!(n>-1)||l.isBetween(n,u,g)})),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(n(110).Controller);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(59),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.show=function(){var t=this.context.view,e=this.context.event,n=t.getTooltipItems({x:e.x,y:e.y});if(!i.isEqual(n,this.items)&&(this.items=n,n.length)){var r=t.getXScale().field,a=n[0].data[r],s=[],c=t.geometries;if(i.each(c,(function(t){if("interval"===t.type||"schema"===t.type){var e=t.getElementsBy((function(t){return t.getData()[r]===a}));s=s.concat(e)}})),s.length){var l=t.getCoordinate(),u=s[0].shape.getCanvasBBox(),g=s[0].shape.getCanvasBBox(),f=u;i.each(s,(function(t){var e=t.shape.getCanvasBBox();l.isTransposed?(e.minY<u.minY&&(u=e),e.maxY>g.maxY&&(g=e)):(e.minX<u.minX&&(u=e),e.maxX>g.maxX&&(g=e)),f.x=Math.min(e.minX,f.minX),f.y=Math.min(e.minY,f.minY),f.width=Math.max(e.maxX,f.maxX)-f.x,f.height=Math.max(e.maxY,f.maxY)-f.y}));var d=t.backgroundGroup,h=t.coordinateBBox,p=void 0;if(l.isRect){var A=t.getXScale().isLinear?0:.25,C=void 0,v=void 0,I=void 0,y=void 0;l.isTransposed?(C=h.minX,v=Math.min(g.minY,u.minY)-A*g.height,I=h.width,y=f.height+2*A*g.height):(C=Math.min(u.minX,g.minX)-A*u.width,v=Math.min(h.minY,u.minY),I=f.width+2*A*u.width,y=h.height),p=[["M",C,v],["L",C+I,v],["L",C+I,v+y],["L",C,v+y],["Z"]]}else{var m=i.head(s),b=i.last(s),x=o.getAngle(m.getModel(),l).startAngle,w=o.getAngle(b.getModel(),l).endAngle,O=l.getCenter(),S=l.getRadius(),_=l.innerRadius*S;p=o.getSectorPath(O.x,O.y,S,x,w,_)}this.regionPath?(this.regionPath.attr("path",p),this.regionPath.show()):this.regionPath=d.addShape({type:"path",name:"active-region",capture:!1,attrs:{path:p,fill:"#CCD6EC",opacity:.3}})}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),t.prototype.destroy.call(this)},e}(r.__importDefault(n(56)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(43),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.showTooltip=function(t,e){var n=o.getSilbings(t);i.each(n,(function(n){var r=o.getSiblingPoint(t,n,e);n.showTooltip(r)}))},e.prototype.hideTooltip=function(t){var e=o.getSilbings(t);i.each(e,(function(t){t.hideTooltip()}))},e}(r.__importDefault(n(133)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(176),a=r.__importDefault(n(56)),s=n(81),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return r.__extends(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context.event,e=this.timeStamp,n=+new Date;if(n-e>16){var r=this.location,o={x:t.x,y:t.y};r&&i.isEqual(r,o)||this.showTooltip(o),this.timeStamp=n,this.location=o}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context.event.target;if(e&&e.get("tip")){this.tooltip||this.renderTooltip();var n=e.get("tip");this.tooltip.update(r.__assign({title:n},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=this.context.view,n=e.canvas,a={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},c=e.getTheme(),l=i.get(c,["components","tooltip","domStyles"],{}),u=new s.HtmlTooltip({parent:n.get("el").parentNode,region:a,visible:!1,crosshairs:null,domStyles:r.__assign({},i.deepMix({},l,(t={},t[o.TOOLTIP_CSS_CONST.CONTAINER_CLASS]={"max-width":"50%"},t[o.TOOLTIP_CSS_CONST.TITLE_CLASS]={"word-break":"break-all"},t)))});u.init(),u.setCapture(!1),this.tooltip=u},e}(a.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return r.__extends(e,t),e.prototype.active=function(){this.setState()},e}(r.__importDefault(n(252)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=r.__importDefault(n(56)),o=n(43),a=n(0),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return r.__extends(e,t),e.prototype.getColorScale=function(t,e){var n=e.geometry.getAttribute("color");return n?t.getScaleByField(n.getFields()[0]):null},e.prototype.getLinkPath=function(t,e){var n=this.context.view.getCoordinate().isTransposed,r=t.shape.getCanvasBBox(),i=e.shape.getCanvasBBox();return n?[["M",r.minX,r.minY],["L",i.minX,i.maxY],["L",i.maxX,i.maxY],["L",r.maxX,r.minY],["Z"]]:[["M",r.maxX,r.minY],["L",i.minX,i.minY],["L",i.minX,i.maxY],["L",r.maxX,r.maxY],["Z"]]},e.prototype.addLinkShape=function(t,e,n){t.addShape({type:"path",attrs:{opacity:.4,fill:e.shape.attr("fill"),path:this.getLinkPath(e,n)}})},e.prototype.linkByElement=function(t){var e=this,n=this.context.view,r=this.getColorScale(n,t);if(r){var i=o.getElementValue(t,r.field);if(!this.cache[i]){var s=o.getElementsByField(n,r.field,i),c=this.linkGroup.addGroup();this.cache[i]=c;var l=s.length;a.each(s,(function(t,n){if(n<l-1){var r=s[n+1];e.addLinkShape(c,t,r)}}))}}},e.prototype.removeLink=function(t){var e=this.getColorScale(this.context.view,t);if(e){var n=o.getElementValue(t,e.field);this.cache[n]&&(this.cache[n].remove(),this.cache[n]=null)}},e.prototype.link=function(){var t=this.context;this.linkGroup||(this.linkGroup=t.view.foregroundGroup.addGroup({capture:!1}));var e=o.getCurrentElement(t);e&&this.linkByElement(e)},e.prototype.unlink=function(){var t=o.getCurrentElement(this.context);t&&this.removeLink(t)},e.prototype.clear=function(){this.linkGroup&&this.linkGroup.clear(),this.cache={}},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.linkGroup&&this.linkGroup.remove()},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return r.__extends(e,t),e.prototype.active=function(){this.setState()},e}(r.__importDefault(n(254)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return r.__extends(e,t),e.prototype.active=function(){this.setState()},e}(r.__importDefault(n(255)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(43),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.setStateByElement=function(t,e){var n=this.context.view,r=t.geometry.getAttribute("color");if(r){var o=n.getScaleByField(r.getFields()[0]),a=i.getElementValue(t,o.field),s=i.getElements(n),c=s.filter((function(t){return i.getElementValue(t,o.field)===a}));this.setHighlightBy(s,(function(t){return c.includes(t)}),e)}},e}(r.__importDefault(n(162)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(43),o=r.__importStar(n(162)),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.setElementHighlight=function(t,e){e(t)?(t.hasState(o.STATUS_UNACTIVE)&&t.setState(o.STATUS_UNACTIVE,!1),t.setState(o.STATUS_ACTIVE,!0)):(t.setState(o.STATUS_UNACTIVE,!0),t.hasState(o.STATUS_ACTIVE)&&t.setState(o.STATUS_ACTIVE,!1))},e.prototype.setStateByElement=function(t,e){var n=this.context.view,r=n.getXScale(),o=i.getElementValue(t,r.field),a=i.getElements(n),s=a.filter((function(t){return i.getElementValue(t,r.field)===o}));this.setHighlightBy(a,(function(t){return s.includes(t)}),e)},e.prototype.toggle=function(){var t=i.getCurrentElement(this.context);if(t){var e=t.hasState(this.stateName);this.setStateByElement(t,!e)}},e}(o.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(43),o=n(256),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return r.__extends(e,t),e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,e){var n=this.context.view,r=i.getElements(n);o.setHighlightBy(r,(function(e){return t===e}),e)},e.prototype.clear=function(){var t=this.context.view;o.clearHighlight(t)},e}(r.__importDefault(n(255)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return r.__extends(e,t),e.prototype.selected=function(){this.setState()},e}(r.__importDefault(n(254)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return r.__extends(e,t),e.prototype.selected=function(){this.setState()},e}(r.__importDefault(n(252)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return r.__extends(e,t),e.prototype.selected=function(){this.setState()},e}(r.__importDefault(n(255)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return r.__extends(e,t),e.prototype.active=function(){this.setState()},e}(r.__importDefault(n(180)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="selected",e}return r.__extends(e,t),e.prototype.selected=function(){this.setState()},e}(r.__importDefault(n(180)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="unchecked",e}return r.__extends(e,t),e.prototype.unchecked=function(){this.setState()},e}(r.__importDefault(n(180)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.setCursor=function(t){this.context.view.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e}(r.__importDefault(n(56)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=r.__importDefault(n(56)),a=n(43),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.filterView=function(t,e,n){var r=this;t.getScaleByField(e)&&t.filter(e,n),t.views&&t.views.length&&i.each(t.views,(function(t){r.filterView(t,e,n)}))},e.prototype.filter=function(){var t=a.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=n.get("field");if(a.isList(t)){if(r){var i=n.getItemsByState("unchecked"),o=a.getScaleByField(e,r),s=i.map((function(t){return t.name}));s.length?this.filterView(e,r,(function(t){var e=o.getText(t);return!s.includes(e)})):this.filterView(e,r,null),e.render(!0)}}else if(a.isSlider(t)){var c=n.getValue(),l=c[0],u=c[1];this.filterView(e,r,(function(t){return t>=l&&t<=u})),e.render(!0)}}},e}(o.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ver=e.clear=e.bind=void 0;var r=n(611);e.bind=function(t,e){var n=(0,r.getSensor)(t);return n.bind(e),function(){n.unbind(e)}},e.clear=function(t){var e=(0,r.getSensor)(t);(0,r.removeSensor)(e)},e.ver="1.0.1"},function(t,e,n){"use strict";var r=n(220),i=n(114),o=n(118),a=n(64);e.a=function(){var t=i.a,e=!1,n=1,s=1,c=[0],l=a.a,u=a.a,g=a.a,f=a.a,d=a.a;function h(t){return t.x0=t.y0=0,t.x1=n,t.y1=s,t.eachBefore(p),c=[0],e&&t.eachBefore(r.a),t}function p(e){var n=c[e.depth],r=e.x0+n,i=e.y0+n,o=e.x1-n,a=e.y1-n;o<r&&(r=o=(r+o)/2),a<i&&(i=a=(i+a)/2),e.x0=r,e.y0=i,e.x1=o,e.y1=a,e.children&&(n=c[e.depth+1]=l(e)/2,r+=d(e)-n,i+=u(e)-n,(o-=g(e)-n)<r&&(r=o=(r+o)/2),(a-=f(e)-n)<i&&(i=a=(i+a)/2),t(e,r,i,o,a))}return h.round=function(t){return arguments.length?(e=!!t,h):e},h.size=function(t){return arguments.length?(n=+t[0],s=+t[1],h):[n,s]},h.tile=function(e){return arguments.length?(t=Object(o.b)(e),h):t},h.padding=function(t){return arguments.length?h.paddingInner(t).paddingOuter(t):h.paddingInner()},h.paddingInner=function(t){return arguments.length?(l="function"===typeof t?t:Object(a.b)(+t),h):l},h.paddingOuter=function(t){return arguments.length?h.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):h.paddingTop()},h.paddingTop=function(t){return arguments.length?(u="function"===typeof t?t:Object(a.b)(+t),h):u},h.paddingRight=function(t){return arguments.length?(g="function"===typeof t?t:Object(a.b)(+t),h):g},h.paddingBottom=function(t){return arguments.length?(f="function"===typeof t?t:Object(a.b)(+t),h):f},h.paddingLeft=function(t){return arguments.length?(d="function"===typeof t?t:Object(a.b)(+t),h):d},h}},function(t,e,n){var r=n(559);function i(e,n,o){return"undefined"!==typeof Reflect&&Reflect.get?t.exports=i=Reflect.get:t.exports=i=function(t,e,n){var i=r(t,e);if(i){var o=Object.getOwnPropertyDescriptor(i,e);return o.get?o.get.call(n):o.value}},i(e,n,o||e)}t.exports=i},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},,function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=n(316),o="function"===typeof Symbol&&"symbol"===r(Symbol("foo")),a=Object.prototype.toString,s=Array.prototype.concat,c=Object.defineProperty,l=c&&function(){var t={};try{for(var e in c(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(n){return!1}}(),u=function(t,e,n,r){var i;(!(e in t)||"function"===typeof(i=r)&&"[object Function]"===a.call(i)&&r())&&(l?c(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)},g=function(t,e){var n=arguments.length>2?arguments[2]:{},r=i(e);o&&(r=s.call(r,Object.getOwnPropertySymbols(e)));for(var a=0;a<r.length;a+=1)u(t,r[a],e[r[a]],n[r[a]])};g.supportsDescriptors=!!l,t.exports=g},function(t,e,n){"use strict";var r=Array.prototype.slice,i=n(317),o=Object.keys,a=o?function(t){return o(t)}:n(498),s=Object.keys;a.shim=function(){return Object.keys?function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)||(Object.keys=function(t){return i(t)?s(r.call(t)):s(t)}):Object.keys=a,Object.keys||a},t.exports=a},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=Object.prototype.toString;t.exports=function(t){var e=i.call(t),n="[object Arguments]"===e;return n||(n="[object Array]"!==e&&null!==t&&"object"===r(t)&&"number"===typeof t.length&&t.length>=0&&"[object Function]"===i.call(t.callee)),n}},function(t,e,n){"use strict";var r=n(229),i=n(319),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),c=i("%Object.getOwnPropertyDescriptor%",!0),l=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(f){l=null}t.exports=function(t){var e=s(r,a,arguments);if(c&&l){var n=c(e,"length");n.configurable&&l(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var g=function(){return s(r,o,arguments)};l?l(t.exports,"apply",{value:g}):t.exports.apply=g},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i,o=SyntaxError,a=Function,s=TypeError,c=function(t){try{return Function('"use strict"; return ('+t+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(E){l=null}var u=function(){throw new s},g=l?function(){try{return u}catch(t){try{return l(arguments,"callee").get}catch(e){return u}}}():u,f=n(500)(),d=Object.getPrototypeOf||function(t){return t.__proto__},h=c("async function* () {}"),p=h?h.prototype:i,A=p?p.prototype:i,C="undefined"===typeof Uint8Array?i:d(Uint8Array),v={"%AggregateError%":"undefined"===typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":c("async function () {}"),"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":A?d(A):i,"%Atomics%":"undefined"===typeof Atomics?i:Atomics,"%BigInt%":"undefined"===typeof BigInt?i:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":c("function* () {}"),"%Int8Array%":"undefined"===typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?d(d([][Symbol.iterator]())):i,"%JSON%":"object"===("undefined"===typeof JSON?"undefined":r(JSON))?JSON:i,"%Map%":"undefined"===typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&f?d((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?i:Promise,"%Proxy%":"undefined"===typeof Proxy?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&f?d((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):i,"%Symbol%":f?Symbol:i,"%SyntaxError%":o,"%ThrowTypeError%":g,"%TypedArray%":C,"%TypeError%":s,"%Uint8Array%":"undefined"===typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?i:WeakSet},I={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n(229),m=n(501),b=y.call(Function.call,Array.prototype.concat),x=y.call(Function.apply,Array.prototype.splice),w=y.call(Function.call,String.prototype.replace),O=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,k=function(t){var e=O(t,0,1),n=O(t,-1);if("%"===e&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return w(t,S,(function(t,e,n,i){r[r.length]=n?w(i,_,"$1"):e||t})),r},j=function(t,e){var n,r=t;if(m(I,r)&&(r="%"+(n=I[r])[0]+"%"),m(v,r)){var i=v[r];if("undefined"===typeof i&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!==typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof e)throw new s('"allowMissing" argument must be a boolean');var n=k(t),r=n.length>0?n[0]:"",i=j("%"+r+"%",e),a=i.name,c=i.value,u=!1,g=i.alias;g&&(r=g[0],x(n,b([0,1],g)));for(var f=1,d=!0;f<n.length;f+=1){var h=n[f],p=O(h,0,1),A=O(h,-1);if(('"'===p||"'"===p||"`"===p||'"'===A||"'"===A||"`"===A)&&p!==A)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&d||(u=!0),m(v,a="%"+(r+="."+h)+"%"))c=v[a];else if(null!=c){if(!(h in c)){if(!e)throw new s("base intrinsic for "+t+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var C=l(c,h);c=(d=!!C)&&"get"in C&&!("originalValue"in C.get)?C.get:c[h]}else d=m(c,h),c=c[h];d&&!u&&(v[a]=c)}}return c}},function(t,e){function n(t){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(i){"object"===("undefined"===typeof window?"undefined":n(window))&&(r=window)}t.exports=r},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===r(Symbol.iterator))return!0;var t={},e=Symbol("test"),n=Object(e);if("string"===typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"===typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(t,e,n){"use strict";var r=n(316),i=function(t){return"undefined"!==typeof t&&null!==t},o=n(321)(),a=n(502),s=Object,c=a("Array.prototype.push"),l=a("Object.prototype.propertyIsEnumerable"),u=o?Object.getOwnPropertySymbols:null;t.exports=function(t,e){if(!i(t))throw new TypeError("target must be an object");var n,a,g,f,d,h,p,A=s(t);for(n=1;n<arguments.length;++n){a=s(arguments[n]),f=r(a);var C=o&&(Object.getOwnPropertySymbols||u);if(C)for(d=C(a),g=0;g<d.length;++g)p=d[g],l(a,p)&&c(f,p);for(g=0;g<f.length;++g)h=a[p=f[g]],l(a,p)&&(A[p]=h)}return A}},function(t,e,n){"use strict";var r=n(322);t.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},r=0;r<e.length;++r)n[e[r]]=e[r];var i=Object.assign({},n),o="";for(var a in i)o+=a;return t!==o}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return"y"===t[1]}return!1}()?r:Object.assign:r}},function(t,e){},function(t,e){},function(t,e,n){"use strict";var r=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=this.getChildren(),r=0;r<n.length;r++){var i=n[r];e.add(i.clone())}return e},e}(n(206).a);e.a=i},function(t,e,n){"use strict";var r=n(1),i=n(207),o=n(71),a=function(t){function e(e){return t.call(this,e)||this}return Object(r.__extends)(e,t),e.prototype._isInBBox=function(t,e){var n=this.getBBox();return n.minX<=t&&n.maxX>=t&&n.minY<=e&&n.maxY>=e},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(e){t.prototype.applyMatrix.call(this,e),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),e=this.getTotalMatrix(),n=t.minX,r=t.minY,i=t.maxX,a=t.maxY;if(e){var s=Object(o.c)(e,[t.minX,t.minY]),c=Object(o.c)(e,[t.maxX,t.minY]),l=Object(o.c)(e,[t.minX,t.maxY]),u=Object(o.c)(e,[t.maxX,t.maxY]);n=Math.min(s[0],c[0],l[0],u[0]),i=Math.max(s[0],c[0],l[0],u[0]),r=Math.min(s[1],c[1],l[1],u[1]),a=Math.max(s[1],c[1],l[1],u[1])}var g=this.attrs;if(g.shadowColor){var f=g.shadowBlur,d=void 0===f?0:f,h=g.shadowOffsetX,p=void 0===h?0:h,A=g.shadowOffsetY,C=void 0===A?0:A,v=n-d+p,I=i+d+p,y=r-d+C,m=a+d+C;n=Math.min(n,v),i=Math.max(i,I),r=Math.min(r,y),a=Math.max(a,m)}return{x:n,y:r,minX:n,minY:r,maxX:i,maxY:a,width:i-n,height:a-r}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,e){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,e){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),i=[t,e,1],o=(i=this.invertFromMatrix(i))[0],a=i[1],s=this._isInBBox(o,a);if(this.isOnlyHitBox())return s;if(s&&!this.isClipped(o,a)){if(this.isInShape(o,a))return!0;if(n&&n.isHit(o,a))return!0;if(r&&r.isHit(o,a))return!0}return!1},e}(i.a);e.a=a},function(t,e,n){"use strict";n.r(e);var r=n(115);n.d(e,"getAdjust",(function(){return r.getAdjust})),n.d(e,"registerAdjust",(function(){return r.registerAdjust}));var i=n(76);n.d(e,"Adjust",(function(){return i.a}));var o=n(461),a=n(462),s=n(463),c=n(464),l=n(175);for(var u in l)["default","getAdjust","registerAdjust","Adjust"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return l[t]}))}(u);Object(r.registerAdjust)("Dodge",o.a),Object(r.registerAdjust)("Jitter",a.a),Object(r.registerAdjust)("Stack",s.a),Object(r.registerAdjust)("Symmetric",c.a)},function(t,e){},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerAnimation=e.getAnimation=void 0;var r={};e.getAnimation=function(t){return r[t.toLowerCase()]},e.registerAnimation=function(t,e){r[t.toLowerCase()]=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseRadius=e.parseStyle=e.parsePattern=e.parseRadialGradient=e.parseLineGradient=void 0;var r=n(66),i=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,o=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,a=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function c(t,e){var n=t.match(s);r.each(n,(function(t){var n=t.split(":");e.addColorStop(n[0],n[1])}))}function l(t,e,n){var r,o,a=i.exec(n),s=parseFloat(a[1])%360*(Math.PI/180),l=a[2],u=e.getBBox();s>=0&&s<.5*Math.PI?(r={x:u.minX,y:u.minY},o={x:u.maxX,y:u.maxY}):.5*Math.PI<=s&&s<Math.PI?(r={x:u.maxX,y:u.minY},o={x:u.minX,y:u.maxY}):Math.PI<=s&&s<1.5*Math.PI?(r={x:u.maxX,y:u.maxY},o={x:u.minX,y:u.minY}):(r={x:u.minX,y:u.maxY},o={x:u.maxX,y:u.minY});var g=Math.tan(s),f=g*g,d=(o.x-r.x+g*(o.y-r.y))/(f+1)+r.x,h=g*(o.x-r.x+g*(o.y-r.y))/(f+1)+r.y,p=t.createLinearGradient(r.x,r.y,d,h);return c(l,p),p}function u(t,e,n){var r=o.exec(n),i=parseFloat(r[1]),a=parseFloat(r[2]),l=parseFloat(r[3]),u=r[4];if(0===l){var g=u.match(s);return g[g.length-1].split(":")[1]}var f=e.getBBox(),d=f.maxX-f.minX,h=f.maxY-f.minY,p=Math.sqrt(d*d+h*h)/2,A=t.createRadialGradient(f.minX+d*i,f.minY+h*a,0,f.minX+d/2,f.minY+h/2,l*p);return c(u,A),A}function g(t,e,n){if(e.get("patternSource")&&e.get("patternSource")===n)return e.get("pattern");var r,i,o=a.exec(n),s=o[1],c=o[2];function l(){r=t.createPattern(i,s),e.set("pattern",r),e.set("patternSource",n)}switch(s){case"a":s="repeat";break;case"x":s="repeat-x";break;case"y":s="repeat-y";break;case"n":s="no-repeat";break;default:s="no-repeat"}return i=new Image,c.match(/^data:/i)||(i.crossOrigin="Anonymous"),i.src=c,i.complete?l():(i.onload=l,i.src=i.src),r}e.parseLineGradient=l,e.parseRadialGradient=u,e.parsePattern=g,e.parseStyle=function(t,e,n){if(r.isString(n)){if("("===n[1]||"("===n[2]){if("l"===n[0])return l(t,e,n);if("r"===n[0])return u(t,e,n);if("p"===n[0])return g(t,e,n)}return n}},e.parseRadius=function(t){var e=0,n=0,i=0,o=0;return r.isArray(t)?1===t.length?e=n=i=o=t[0]:2===t.length?(e=i=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],o=t[3]):e=n=i=o=t,[e,n,i,o]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(66);function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function o(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function a(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(o(t,e))}e.default=function(t,e){var n=e[1],i=e[2],s=r.mod(r.toRadian(e[3]),2*Math.PI),c=e[4],l=e[5],u=t[0],g=t[1],f=e[6],d=e[7],h=Math.cos(s)*(u-f)/2+Math.sin(s)*(g-d)/2,p=-1*Math.sin(s)*(u-f)/2+Math.cos(s)*(g-d)/2,A=h*h/(n*n)+p*p/(i*i);A>1&&(n*=Math.sqrt(A),i*=Math.sqrt(A));var C=n*n*(p*p)+i*i*(h*h),v=C?Math.sqrt((n*n*(i*i)-C)/C):1;c===l&&(v*=-1),isNaN(v)&&(v=0);var I=i?v*n*p/i:0,y=n?v*-i*h/n:0,m=(u+f)/2+Math.cos(s)*I-Math.sin(s)*y,b=(g+d)/2+Math.sin(s)*I+Math.cos(s)*y,x=[(h-I)/n,(p-y)/i],w=[(-1*h-I)/n,(-1*p-y)/i],O=a([1,0],x),S=a(x,w);return o(x,w)<=-1&&(S=Math.PI),o(x,w)>=1&&(S=0),0===l&&S>0&&(S-=2*Math.PI),1===l&&S<0&&(S+=2*Math.PI),{cx:m,cy:b,rx:r.isSamePoint(t,[f,d])?0:n,ry:r.isSamePoint(t,[f,d])?0:i,startAngle:O,endAngle:O+S,xRotation:s,arcFlag:c,sweepFlag:l}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(24);e.default=function(t,e,n){var i=r.getOffScreenContext();return t.createPath(i),i.isPointInPath(e,n)}},function(t,e,n){"use strict";function r(t){return Math.abs(t)<1e-6?0:t<0?-1:1}function i(t,e,n){return(n[0]-t[0])*(e[1]-t[1])===(e[0]-t[0])*(n[1]-t[1])&&Math.min(t[0],e[0])<=n[0]&&n[0]<=Math.max(t[0],e[0])&&Math.min(t[1],e[1])<=n[1]&&n[1]<=Math.max(t[1],e[1])}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var o=!1,a=t.length;if(a<=2)return!1;for(var s=0;s<a;s++){var c=t[s],l=t[(s+1)%a];if(i(c,l,[e,n]))return!0;r(c[1]-n)>0!==r(l[1]-n)>0&&r(e-(n-c[1])*(c[0]-l[0])/(c[1]-l[1])-c[0])<0&&(o=!o)}return o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(66);e.default=function(t,e,n,i,o,a,s,c){var l=(Math.atan2(c-e,s-t)+2*Math.PI)%(2*Math.PI);if(l<i||l>o)return!1;var u={x:t+n*Math.cos(l),y:e+n*Math.sin(l)};return r.distance(u.x,u.y,s,c)<=a/2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(178);e.default=function(t,e,n,i,o){var a=t.length;if(a<2)return!1;for(var s=0;s<a-1;s++){var c=t[s][0],l=t[s][1],u=t[s+1][0],g=t[s+1][1];if(r.default(c,l,u,g,e,n,i))return!0}if(o){var f=t[0],d=t[a-1];if(r.default(f[0],f[1],d[0],d[1],e,n,i))return!0}return!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerEngine=e.getEngine=void 0;var r={};e.getEngine=function(t){var e=r[t];if(!e)throw new Error("G engine '"+t+"' is not exist, please register it at first.");return e},e.registerEngine=function(t,e){r[t]=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerGeometry=e.View=void 0;var r=n(1),i=n(0),o=n(27),a=r.__importDefault(n(233)),s=n(234),c=n(236),l=n(98),u=n(88),g=n(65),f=n(87),d=n(238),h=n(239),p=n(153),A=n(341),C=n(342),v=r.__importDefault(n(549)),I=r.__importDefault(n(240)),y=r.__importDefault(n(550)),m=n(551),b=n(343),x=n(552),w=n(553),O=function(t){function e(e){var n=t.call(this,{visible:e.visible})||this;n.views=[],n.geometries=[],n.controllers=[],n.interactions={},n.limitInPlot=!1,n.options={data:[],animate:!0},n.usedControllers=C.getComponentControllerNames(),n.scalePool=new m.ScalePool,n.layoutFunc=y.default,n.isPreMouseInPlot=!1,n.isDataChanged=!1,n.isCoordinateChanged=!1,n.createdScaleKeys=new Map,n.onCanvasEvent=function(t){var e=t.name;if(!e.includes(":")){var r=n.createViewEvent(t);n.doPlotEvent(r),n.emit(e,r)}},n.onDelegateEvents=function(t){var e=t.name;if(e.includes(":")){var r=n.createViewEvent(t);n.emit(e,r)}};var o=e.id,a=void 0===o?i.uniqueId("view"):o,s=e.parent,c=e.canvas,u=e.backgroundGroup,g=e.middleGroup,f=e.foregroundGroup,d=e.region,h=void 0===d?{start:{x:0,y:0},end:{x:1,y:1}}:d,p=e.padding,v=e.appendPadding,I=e.theme,b=e.options,x=e.limitInPlot,w=e.syncViewPadding;return n.parent=s,n.canvas=c,n.backgroundGroup=u,n.middleGroup=g,n.foregroundGroup=f,n.region=h,n.padding=p,n.appendPadding=v,n.options=r.__assign(r.__assign({},n.options),b),n.limitInPlot=x,n.id=a,n.syncViewPadding=w,n.themeObject=i.isObject(I)?i.deepMix({},l.getTheme("default"),A.createTheme(I)):l.getTheme(I),n.init(),n}return r.__extends(e,t),e.prototype.setLayout=function(t){this.layoutFunc=t},e.prototype.init=function(){this.calculateViewBBox(),this.initEvents(),this.initComponentController(),this.initOptions()},e.prototype.render=function(t){void 0===t&&(t=!1),this.emit(o.VIEW_LIFE_CIRCLE.BEFORE_RENDER),this.paint(t),this.emit(o.VIEW_LIFE_CIRCLE.AFTER_RENDER),!1===this.visible&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this;this.emit(o.VIEW_LIFE_CIRCLE.BEFORE_CLEAR),this.filteredData=[],this.coordinateInstance=void 0,this.isDataChanged=!1,this.isCoordinateChanged=!1;for(var e=this.geometries,n=0;n<e.length;n++)e[n].clear(),e[n].container.remove(!0);this.geometries=[];var r=this.controllers;for(n=0;n<r.length;n++)"annotation"===r[n].name?r[n].clear(!0):r[n].clear();this.createdScaleKeys.forEach((function(e,n){t.getRootView().scalePool.deleteScale(n)})),this.createdScaleKeys.clear();var i=this.views;for(n=0;n<i.length;n++)i[n].clear();this.emit(o.VIEW_LIFE_CIRCLE.AFTER_CLEAR)},e.prototype.destroy=function(){this.emit(o.VIEW_LIFE_CIRCLE.BEFORE_DESTROY);var e=this.interactions;i.each(e,(function(t){t&&t.destroy()})),this.clear();for(var n=this.controllers,r=0,a=n.length;r<a;r++)n[r].destroy();this.backgroundGroup.remove(!0),this.middleGroup.remove(!0),this.foregroundGroup.remove(!0),t.prototype.destroy.call(this)},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e);for(var n=this.geometries,r=0,i=n.length;r<i;r++)n[r].changeVisible(e);var o=this.controllers;for(r=0,i=o.length;r<i;r++)o[r].changeVisible(e);return this.foregroundGroup.set("visible",e),this.middleGroup.set("visible",e),this.backgroundGroup.set("visible",e),this.getCanvas().draw(),this},e.prototype.data=function(t){return i.set(this.options,"data",t),this.isDataChanged=!0,this},e.prototype.source=function(t){return console.warn("This method will be removed at G2 V4.1. Please use chart.data() instead."),this.data(t)},e.prototype.filter=function(t,e){return i.isFunction(e)?(i.set(this.options,["filters",t],e),this):(!e&&i.get(this.options,["filters",t])&&delete this.options.filters[t],this)},e.prototype.axis=function(t,e){return i.isBoolean(t)?i.set(this.options,["axes"],t):i.set(this.options,["axes",t],e),this},e.prototype.legend=function(t,e){return i.isBoolean(t)?i.set(this.options,["legends"],t):i.isString(t)?i.set(this.options,["legends",t],e):i.set(this.options,["legends"],t),this},e.prototype.scale=function(t,e){var n=this;return i.isString(t)?i.set(this.options,["scales",t],e):i.isObject(t)&&i.each(t,(function(t,e){i.set(n.options,["scales",e],t)})),this},e.prototype.tooltip=function(t){return i.set(this.options,"tooltip",t),this},e.prototype.annotation=function(){return this.getController("annotation")},e.prototype.guide=function(){return console.warn("This method will be removed at G2 V4.1. Please use chart.annotation() instead."),this.annotation()},e.prototype.coordinate=function(t,e){return i.isString(t)?i.set(this.options,"coordinate",{type:t,cfg:e}):i.set(this.options,"coordinate",t),this.coordinateController.update(this.options.coordinate),this.coordinateController},e.prototype.coord=function(t,e){return console.warn("This method will be removed at G2 V4.1. Please use chart.coordinate() instead."),this.coordinate(t,e)},e.prototype.facet=function(t,e){this.facetInstance&&this.facetInstance.destroy();var n=s.getFacet(t);if(!n)throw new Error("facet '"+t+"' is not exist!");return this.facetInstance=new n(this,r.__assign(r.__assign({},e),{type:t})),this},e.prototype.animate=function(t){return i.set(this.options,"animate",t),this},e.prototype.updateOptions=function(t){return this.clear(),i.mix(this.options,t),this.views.forEach((function(t){return t.destroy()})),this.views=[],this.initOptions(),this.coordinateBBox=this.viewBBox,this},e.prototype.option=function(t,n){if(e.prototype[t])throw new Error("Can't use built in variable name \""+t+'", please change another one.');return i.set(this.options,t,n),this},e.prototype.theme=function(t){return this.themeObject=i.isObject(t)?i.deepMix({},this.themeObject,A.createTheme(t)):l.getTheme(t),this},e.prototype.interaction=function(t,e){var n=this.interactions[t];n&&n.destroy();var r=c.createInteraction(t,this,e);return r&&(r.init(),this.interactions[t]=r),this},e.prototype.removeInteraction=function(t){var e=this.interactions[t];e&&(e.destroy(),this.interactions[t]=void 0)},e.prototype.changeData=function(t){this.isDataChanged=!0,this.emit(o.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA),this.data(t),this.paint(!0);for(var e=this.views,n=0,r=e.length;n<r;n++)e[n].changeData(t);this.emit(o.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA)},e.prototype.createView=function(t){this.parent&&this.parent.parent&&console.warn("The view nesting recursive feature will be removed at G2 V4.1. Please avoid to use it.");var n={data:this.options.data,scales:i.clone(this.options.scales),axes:i.clone(this.options.axes),coordinate:i.clone(this.coordinateController.getOption()),tooltip:i.clone(this.options.tooltip),legends:i.clone(this.options.legends),animate:this.options.animate,visible:this.visible},a=new e(r.__assign(r.__assign({parent:this,canvas:this.canvas,backgroundGroup:this.backgroundGroup.addGroup({zIndex:o.GROUP_Z_INDEX.BG}),middleGroup:this.middleGroup.addGroup({zIndex:o.GROUP_Z_INDEX.MID}),foregroundGroup:this.foregroundGroup.addGroup({zIndex:o.GROUP_Z_INDEX.FORE}),theme:this.themeObject,padding:this.padding},t),{options:r.__assign(r.__assign({},n),i.get(t,"options",{}))}));return this.views.push(a),a},e.prototype.view=function(t){return console.warn("This method will be removed at G2 V4.1. Please use chart.createView() instead."),this.createView(t)},e.prototype.removeView=function(t){var e=i.remove(this.views,(function(e){return e===t}))[0];return e&&e.destroy(),e},e.prototype.getCoordinate=function(){return this.coordinateInstance},e.prototype.getTheme=function(){return this.themeObject},e.prototype.getXScale=function(){var t=this.geometries[0];return t?t.getXScale():null},e.prototype.getYScales=function(){var t={};return this.geometries.map((function(e){var n=e.getYScale(),r=n.field;if(!t[r])return t[r]=!0,n}))},e.prototype.getScalesByDim=function(t){for(var e=this.geometries,n={},r=0,i=e.length;r<i;r++){var o=e[r],a="x"===t?o.getXScale():o.getYScale();a&&!n[a.field]&&(n[a.field]=a)}return n},e.prototype.getScaleByField=function(t,e){var n=e||this.getScaleKey(t);return this.getRootView().scalePool.getScale(n)},e.prototype.getOptions=function(){return this.options},e.prototype.getData=function(){return this.filteredData},e.prototype.getLayer=function(t){return t===o.LAYER.BG?this.backgroundGroup:t===o.LAYER.MID?this.middleGroup:(o.LAYER.FORE,this.foregroundGroup)},e.prototype.isPointInPlot=function(t){return g.isPointInCoordinate(this.getCoordinate(),t)},e.prototype.getLegendAttributes=function(){return i.flatten(this.geometries.map((function(t){return t.getGroupAttributes()})))},e.prototype.getGroupScales=function(){var t=this.geometries.map((function(t){return t.getGroupScales()}));return f.uniq(i.flatten(t))},e.prototype.getCanvas=function(){return this.getRootView().canvas},e.prototype.getRootView=function(){for(var t=this;t.parent;)t=t.parent;return t},e.prototype.getXY=function(t){var e,n,r=this.getCoordinate(),o=this.getScalesByDim("x"),a=this.getScalesByDim("y");if(i.each(t,(function(t,r){o[r]&&(e=o[r].scale(t)),a[r]&&(n=a[r].scale(t))})),!i.isNil(e)&&!i.isNil(n))return r.convert({x:e,y:n})},e.prototype.getController=function(t){return i.find(this.controllers,(function(e){return e.name===t}))},e.prototype.showTooltip=function(t){var e=this.getController("tooltip");return e&&e.showTooltip(t),this},e.prototype.hideTooltip=function(){var t=this.getController("tooltip");return t&&t.hideTooltip(),this},e.prototype.lockTooltip=function(){var t=this.getController("tooltip");return t&&t.lockTooltip(),this},e.prototype.unlockTooltip=function(){var t=this.getController("tooltip");return t&&t.unlockTooltip(),this},e.prototype.isTooltipLocked=function(){var t=this.getController("tooltip");return t&&t.isTooltipLocked()},e.prototype.getTooltipItems=function(t){var e=this.getController("tooltip");return e?e.getTooltipItems(t):[]},e.prototype.getSnapRecords=function(t){for(var e=this.geometries,n=[],r=0,i=e.length;r<i;r++){var o=e[r],a=o.dataArray;o.sort(a);for(var s=void 0,c=0,l=a.length;c<l;c++){var u=a[c];(s=d.findDataByPoint(t,u,o))&&n.push(s)}}var g=this.views;for(r=0,i=g.length;r<i;r++){var f=g[r].getSnapRecords(t);n=n.concat(f)}return n},e.prototype.getComponents=function(){for(var t=[],e=this.controllers,n=0,r=e.length;n<r;n++){var i=e[n];t=t.concat(i.getComponents())}return t},e.prototype.filterData=function(t){var e=this.options.filters;return 0===i.size(e)?t:i.filter(t,(function(t,n){return Object.keys(e).every((function(r){return(0,e[r])(t[r],t,n)}))}))},e.prototype.filterFieldData=function(t,e){var n=this.options.filters,r=i.get(n,t);return i.isUndefined(r)?e:e.filter((function(e,n){return r(e[t],e,n)}))},e.prototype.adjustCoordinate=function(){var t=this.getCoordinate(),e=t.start,n=t.end,r=this.coordinateBBox.bl,o=this.coordinateBBox.tr;i.isEqual(e,r)&&i.isEqual(n,o)?this.isCoordinateChanged=!1:(this.isCoordinateChanged=!0,this.coordinateInstance=this.coordinateController.adjust(r,o))},e.prototype.paint=function(t){this.renderDataRecursive(t),this.syncScale(),this.emit(o.VIEW_LIFE_CIRCLE.BEFORE_PAINT),this.renderPaddingRecursive(t),this.renderLayoutRecursive(t),this.renderBackgroundStyleShape(),this.renderPaintRecursive(t),this.emit(o.VIEW_LIFE_CIRCLE.AFTER_PAINT),this.isDataChanged=!1},e.prototype.renderBackgroundStyleShape=function(){if(!this.parent){var t=i.get(this.themeObject,"background");if(t){this.backgroundStyleRectShape||(this.backgroundStyleRectShape=this.backgroundGroup.addShape("rect",{attrs:{},zIndex:-1,capture:!1}),this.backgroundStyleRectShape.toBack());var e=this.viewBBox,n=e.x,r=e.y,o=e.width,a=e.height;this.backgroundStyleRectShape.attr({fill:t,x:n,y:r,width:o,height:a})}else this.backgroundStyleRectShape&&(this.backgroundStyleRectShape.remove(!0),this.backgroundStyleRectShape=void 0)}},e.prototype.renderPaddingRecursive=function(t){this.calculateViewBBox(),this.adjustCoordinate(),this.initComponents(t),this.autoPadding=x.calculatePadding(this).shrink(h.parsePadding(this.appendPadding)),this.coordinateBBox=this.viewBBox.shrink(this.autoPadding.getPadding()),this.adjustCoordinate();for(var e=this.views,n=0,r=e.length;n<r;n++)e[n].renderPaddingRecursive(t)},e.prototype.renderLayoutRecursive=function(t){var e=!0===this.syncViewPadding?w.defaultSyncViewPadding:i.isFunction(this.syncViewPadding)?this.syncViewPadding:void 0;e&&(e(this,this.views,b.PaddingCal),this.views.forEach((function(t){t.coordinateBBox=t.viewBBox.shrink(t.autoPadding.getPadding()),t.adjustCoordinate()}))),this.doLayout();for(var n=this.views,r=0,o=n.length;r<o;r++)n[r].renderLayoutRecursive(t)},e.prototype.renderPaintRecursive=function(t){var e=this.middleGroup;if(this.limitInPlot){var n=g.getCoordinateClipCfg(this.coordinateInstance),r=n.type,i=n.attrs;e.setClip({type:r,attrs:i})}else e.setClip(void 0);this.paintGeometries(t),this.renderComponents(t);for(var o=this.views,a=0,s=o.length;a<s;a++)o[a].renderPaintRecursive(t)},e.prototype.createScale=function(t,e,n,o){var a=i.get(this.options.scales,[t]),s=r.__assign(r.__assign({},a),n);return this.parent?this.parent.createScale(t,e,s,o):this.scalePool.createScale(t,e,s,o)},e.prototype.renderDataRecursive=function(t){this.doFilterData(),this.createCoordinate(),this.initGeometries(t),this.renderFacet(t);for(var e=this.views,n=0,r=e.length;n<r;n++)e[n].renderDataRecursive(t)},e.prototype.calculateViewBBox=function(){var t,e,n,r;if(this.parent){var i=this.parent.coordinateBBox;t=i.x,e=i.y,n=i.width,r=i.height}else t=0,e=0,n=this.canvas.get("width"),r=this.canvas.get("height");var o=this.region,a=o.start,s=o.end,c=new u.BBox(t+n*a.x,e+r*a.y,n*(s.x-a.x),r*(s.y-a.y));this.viewBBox&&this.viewBBox.isEqual(c)||(this.viewBBox=new u.BBox(t+n*a.x,e+r*a.y,n*(s.x-a.x),r*(s.y-a.y))),this.coordinateBBox=this.viewBBox},e.prototype.initEvents=function(){this.foregroundGroup.on("*",this.onDelegateEvents),this.middleGroup.on("*",this.onDelegateEvents),this.backgroundGroup.on("*",this.onDelegateEvents),this.canvas.on("*",this.onCanvasEvent)},e.prototype.initComponentController=function(){for(var t=this.usedControllers,e=0,n=t.length;e<n;e++){var r=t[e],i=C.getComponentController(r);i&&this.controllers.push(new i(this))}},e.prototype.createViewEvent=function(t){var e=t.shape,n=t.name,r=e?e.get("origin"):null,i=new I.default(this,t,r);return i.type=n,i},e.prototype.doPlotEvent=function(t){var e=t.type,n={x:t.x,y:t.y};if(["mousedown","mouseup","mousemove","mouseleave","mousewheel","touchstart","touchmove","touchend","touchcancel","click","dblclick","contextmenu"].includes(e)){var r=this.isPointInPlot(n);if(r){var i="plot:"+e;t.type=i,this.emit(i,t),"mouseleave"!==e&&"touchend"!==e||(this.isPreMouseInPlot=!1)}"mousemove"===e||"touchmove"===e?(this.isPreMouseInPlot&&!r?("mousemove"===e&&(t.type=o.PLOT_EVENTS.MOUSE_LEAVE,this.emit(o.PLOT_EVENTS.MOUSE_LEAVE,t)),t.type=o.PLOT_EVENTS.LEAVE,this.emit(o.PLOT_EVENTS.LEAVE,t)):!this.isPreMouseInPlot&&r&&("mousemove"===e&&(t.type=o.PLOT_EVENTS.MOUSE_ENTER,this.emit(o.PLOT_EVENTS.MOUSE_ENTER,t)),t.type=o.PLOT_EVENTS.ENTER,this.emit(o.PLOT_EVENTS.ENTER,t)),this.isPreMouseInPlot=r):"mouseleave"!==e&&"touchend"!==e||this.isPreMouseInPlot&&("mouseleave"===e&&(t.type=o.PLOT_EVENTS.MOUSE_LEAVE,this.emit(o.PLOT_EVENTS.MOUSE_LEAVE,t)),t.type=o.PLOT_EVENTS.LEAVE,this.emit(o.PLOT_EVENTS.LEAVE,t),this.isPreMouseInPlot=!1)}},e.prototype.doFilterData=function(){var t=this.options.data;this.filteredData=this.filterData(t)},e.prototype.initGeometries=function(t){this.createOrUpdateScales();for(var e=this.getCoordinate(),n=i.get(this.options,"scales",{}),r=this.geometries,o=0,a=r.length;o<a;o++){var s=r[o];s.scales=this.getGeometryScales();var c={coordinate:e,scaleDefs:n,data:this.filteredData,theme:this.themeObject,isDataChanged:this.isDataChanged,isCoordinateChanged:this.isCoordinateChanged};t?s.update(c):s.init(c)}this.adjustScales()},e.prototype.createOrUpdateScales=function(){for(var t=this.getScaleFields(),e=this.getGroupedFields(),n=this.getOptions(),r=n.data,i=n.scales,o=void 0===i?{}:i,a=this.filteredData,s=0,c=t.length;s<c;s++){var l=t[s],u=o[l],g=this.getScaleKey(l);this.createScale(l,e.includes(l)?r:a,u,g),this.createdScaleKeys.set(g,!0)}},e.prototype.syncScale=function(){this.getRootView().scalePool.sync(this.getCoordinate(),this.theme)},e.prototype.getGeometryScales=function(){for(var t=this.getScaleFields(),e={},n=0;n<t.length;n++){var r=t[n];e[r]=this.getScaleByField(r)}return e},e.prototype.getScaleFields=function(){for(var t=[],e={},n=this.geometries,r=0;r<n.length;r++){var i=n[r].getScaleFields();f.uniq(i,t,e)}return t},e.prototype.getGroupedFields=function(){for(var t=[],e={},n=this.geometries,r=0;r<n.length;r++){var i=n[r].getGroupFields();f.uniq(i,t,e)}return t},e.prototype.adjustScales=function(){this.adjustCategoryScaleRange()},e.prototype.adjustCategoryScaleRange=function(){var t=this,e=r.__spreadArrays([this.getXScale()],this.getYScales()).filter((function(t){return!!t})),n=this.getCoordinate(),o=this.options.scales;i.each(e,(function(e){var r=e.field,a=e.values,s=e.isCategory,c=e.isIdentity;(s||c)&&a&&!i.get(o,[r,"range"])&&(e.range=p.getDefaultCategoryScaleRange(e,n,t.theme))}))},e.prototype.initComponents=function(t){for(var e=this.controllers,n=0;n<e.length;n++){var r=e[n];t?r.update():(r.clear(),r.render())}},e.prototype.doLayout=function(){this.layoutFunc(this)},e.prototype.createCoordinate=function(){var t=this.coordinateBBox.bl,e=this.coordinateBBox.tr;this.coordinateInstance=this.coordinateController.create(t,e)},e.prototype.paintGeometries=function(t){for(var e=this.options.animate,n=this.getCoordinate(),r={x:this.viewBBox.x,y:this.viewBBox.y,minX:this.viewBBox.minX,minY:this.viewBBox.minY,maxX:this.viewBBox.maxX,maxY:this.viewBBox.maxY,width:this.viewBBox.width,height:this.viewBBox.height},i=this.geometries,o=0;o<i.length;o++){var a=i[o];a.coordinate=n,a.canvasRegion=r,e||a.animate(!1),a.paint(t)}},e.prototype.renderComponents=function(t){for(var e=0;e<this.getComponents().length;e++)this.getComponents()[e].component.render()},e.prototype.renderFacet=function(t){this.facetInstance&&(t?this.facetInstance.update():(this.facetInstance.clear(),this.facetInstance.init(),this.facetInstance.render()))},e.prototype.initOptions=function(){var t=this,e=this.options,n=e.geometries,o=void 0===n?[]:n,a=e.interactions,s=void 0===a?[]:a,c=e.views,l=void 0===c?[]:c,u=e.annotations,g=void 0===u?[]:u,f=e.coordinate,d=e.events,h=e.facets;this.coordinateController?f&&this.coordinateController.update(f):this.coordinateController=new v.default(f);for(var p=0;p<o.length;p++){var A=o[p];this.createGeometry(A)}for(var C=0;C<s.length;C++){var I=s[C],y=I.type,m=I.cfg;this.interaction(y,m)}for(var b=0;b<l.length;b++){var x=l[b];this.createView(x)}for(var w=this.getController("annotation"),O=0;O<g.length;O++){var S=g[O];w.annotation(S)}d&&i.each(d,(function(e,n){t.on(n,e)})),h&&i.each(h,(function(e){var n=e.type,i=r.__rest(e,["type"]);t.facet(n,i)}))},e.prototype.createGeometry=function(t){var e=t.type,n=t.cfg,r=void 0===n?{}:n;if(this[e]){var o=this[e](r);i.each(t,(function(t,e){i.isFunction(o[e])&&o[e](t)}))}},e.prototype.getScaleKey=function(t){return this.id+"-"+t},e}(a.default);e.View=O,e.registerGeometry=function(t,e){O.prototype[t.toLowerCase()]=function(t){void 0===t&&(t={});var n=r.__assign({container:this.middleGroup.addGroup(),labelsContainer:this.foregroundGroup.addGroup()},t),i=new e(n);return this.geometries.push(i),i}},e.default=O},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){this.view=t,this.cfg=e}return t.prototype.init=function(){this.initEvents()},t.prototype.initEvents=function(){},t.prototype.clearEvents=function(){},t.prototype.destroy=function(){this.clearEvents()},t}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(548);Object.defineProperty(e,"createTheme",{enumerable:!0,get:function(){return r.createTheme}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getComponentController=e.getComponentControllerNames=e.unregisterComponentController=e.registerComponentController=void 0;var r={};e.registerComponentController=function(t,e){r[t]=e},e.unregisterComponentController=function(t){delete r[t]},e.getComponentControllerNames=function(){return Object.keys(r)},e.getComponentController=function(t){return r[t]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PaddingCal=void 0;var r=n(1),i=n(27),o=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.top=t,this.right=e,this.bottom=n,this.left=r}return t.instance=function(e,n,r,i){return void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=0),new t(e,n,r,i)},t.prototype.max=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return this.top=Math.max(this.top,e),this.right=Math.max(this.right,n),this.bottom=Math.max(this.bottom,r),this.left=Math.max(this.left,i),this},t.prototype.shrink=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return this.top+=e,this.right+=n,this.bottom+=r,this.left+=i,this},t.prototype.inc=function(t,e){var n=t.width,r=t.height;switch(e){case i.DIRECTION.TOP:case i.DIRECTION.TOP_LEFT:case i.DIRECTION.TOP_RIGHT:this.top+=r;break;case i.DIRECTION.RIGHT:case i.DIRECTION.RIGHT_TOP:case i.DIRECTION.RIGHT_BOTTOM:this.right+=n;break;case i.DIRECTION.BOTTOM:case i.DIRECTION.BOTTOM_LEFT:case i.DIRECTION.BOTTOM_RIGHT:this.bottom+=r;break;case i.DIRECTION.LEFT:case i.DIRECTION.LEFT_TOP:case i.DIRECTION.LEFT_BOTTOM:this.left+=n}return this},t.prototype.getPadding=function(){return[this.top,this.right,this.bottom,this.left]},t.prototype.clone=function(){return new(t.bind.apply(t,r.__spreadArrays([void 0],this.getPadding())))},t}();e.PaddingCal=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isModelChange=void 0;var r=n(0);e.isModelChange=function(t,e){return r.some(["color","shape","size","x","y","isInCircle","data","style","defaultStyle","points","mappingData"],(function(n){return!r.isEqual(t[n],e[n])}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCustomLegendItems=e.getLegendItems=e.getLegendLayout=void 0;var r=n(0),i=n(27),o=n(558),a=n(155),s=["line","cross","tick","plus","hyphen"];function c(t){var e=t.symbol;r.isString(e)&&a.MarkerSymbols[e]&&(t.symbol=a.MarkerSymbols[e])}e.getLegendLayout=function(t){return t.startsWith(i.DIRECTION.LEFT)||t.startsWith(i.DIRECTION.RIGHT)?"vertical":"horizontal"},e.getLegendItems=function(t,e,n,i,a){var l=n.getScale(n.type);if(l.isCategory){var u=l.field,g=e.getAttribute("color"),f=e.getAttribute("shape"),d=t.getTheme().defaultColor,h=e.coordinate.isPolar;return l.getTicks().map((function(n){var p,A=n.text,C=n.value,v=A,I=l.invert(C),y=0===t.filterFieldData(u,[(p={},p[u]=I,p)]).length;r.each(t.views,(function(t){var e;t.filterFieldData(u,[(e={},e[u]=I,e)]).length||(y=!0)}));var m=o.getMappingValue(g,I,d),b=o.getMappingValue(f,I,"point"),x=e.getShapeMarker(b,{color:m,isInPolar:h});return function(t,e){var n=t.symbol;r.isString(n)&&-1!==s.indexOf(n)&&(t.style=r.deepMix({},t.style,{lineWidth:1,stroke:e,fill:null}))}(x=r.deepMix({},i,x,a),m),c(x),{id:I,name:v,value:I,marker:x,unchecked:y}}))}return[]},e.getCustomLegendItems=function(t,e,n){return n.map((function(n){var i=r.deepMix({},t,e,n.marker);return c(i),n.marker=i,n}))}},function(t,e,n){"use strict";var r=n(166);n.d(e,"a",(function(){return r.antvDark}));var i=n(140);n.d(e,"b",(function(){return i.antvLight}));var o=n(113);n.d(e,"c",(function(){return o.createThemeByStyleSheet}));var a=n(98);r.antvDark.fontFamily='"-apple-system", "Segoe UI", "Helvetica Neue", Arial,\n"Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n"Noto Color Emoji", Roboto',i.antvLight.fontFamily='"-apple-system", "Segoe UI", "Helvetica Neue", Arial,\n"Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",\n"Noto Color Emoji", Roboto',Object(a.registerTheme)("dark",Object(o.createThemeByStyleSheet)(r.antvDark)),Object(a.registerTheme)("default",Object(o.createThemeByStyleSheet)(i.antvLight)),Object(a.registerTheme)("ligtht",Object(o.createThemeByStyleSheet)(i.antvLight))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLineMarker=void 0;var r={line:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},dot:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},dash:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},smooth:function(t,e,n){return[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]]},hv:function(t,e,n){return[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]]},vh:function(t,e,n){return[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]]},hvh:function(t,e,n){return[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]]},vhv:function(t,e){return[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]]}};e.getLineMarker=function(t,e){var n=t.color;return{symbol:r[e],style:{lineWidth:2,r:6,stroke:n}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(39),o=n(53),a=n(154),s=n(247),c=i.registerShapeFactory("edge",{defaultShapeType:"line",getDefaultPoints:function(t){return s.splitPoints(t)}});i.registerShape("edge","line",{draw:function(t,e){var n=o.getStyle(t,!0,!1,"lineWidth"),i=a.getLinePath(this.parsePoints(t.points),this.coordinate.isPolar);return e.addShape("path",{attrs:r.__assign(r.__assign({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}}),e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultSize=void 0;var r=n(0),i=n(65);e.getDefaultSize=function(t){var e=t.theme,n=t.coordinate,o=t.getXScale(),a=o.values,s=t.beforeMappingData,c=a.length,l=i.getXDimensionLength(t.coordinate),u=t.intervalPadding,g=t.dodgePadding,f=t.maxColumnWidth||e.maxColumnWidth,d=t.minColumnWidth||e.minColumnWidth,h=t.columnWidthRatio||e.columnWidthRatio,p=t.multiplePieWidthRatio||e.multiplePieWidthRatio,A=t.roseWidthRatio||e.roseWidthRatio;if(o.isLinear&&a.length>1){a.sort();var C=function(t,e){var n=t.length,i=t;r.isString(i[0])&&(i=t.map((function(t){return e.translate(t)})));for(var o=i[1]-i[0],a=2;a<n;a++){var s=i[a]-i[a-1];o>s&&(o=s)}return o}(a,o);c=(o.max-o.min)/C,a.length>c&&(c=a.length)}var v=o.range,I=1/c,y=1;if(n.isPolar?y=n.isTransposed&&c>1?p:A:(o.isLinear&&(I*=v[1]-v[0]),y=h),!r.isNil(u)&&u>=0?I=(1-u/l*(c-1))/c:I*=y,t.getAdjust("dodge")){var m=function(t,e){if(e){var n=r.flatten(t);return r.valuesOfKey(n,e).length}return t.length}(s,t.getAdjust("dodge").dodgeBy);!r.isNil(g)&&g>=0?I=(I-g/l*(m-1))/m:!r.isNil(u)&&u>=0?(I*=y,I/=m):I/=m,I=I>=0?I:0}if(!r.isNil(f)&&f>=0){var b=f/l;I>b&&(I=b)}if(!r.isNil(d)&&d>=0){var x=d/l;I<x&&(I=x)}return I}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(39),a=n(53),s=o.registerShapeFactory("polygon",{defaultShapeType:"polygon",getDefaultPoints:function(t){var e=[];return i.each(t.x,(function(n,r){var i=t.y[r];e.push({x:n,y:i})})),e}});o.registerShape("polygon","polygon",{draw:function(t,e){if(!i.isEmpty(t.points)){var n=a.getStyle(t,!0,!0),o=this.parsePath(function(t){for(var e=t[0],n=1,r=[["M",e.x,e.y]];n<t.length;){var o=t[n];o.x===t[n-1].x&&o.y===t[n-1].y||(r.push(["L",o.x,o.y]),o.x===e.x&&o.y===e.y&&n<t.length-1&&(e=t[n+1],r.push(["Z"]),r.push(["M",e.x,e.y]),n++)),n++}return i.isEqual(i.last(r),e)||r.push(["L",e.x,e.y]),r.push(["Z"]),r}(t.points));return e.addShape("path",{attrs:r.__assign(r.__assign({},n),{path:o}),name:"polygon"})}},getMarker:function(t){return{symbol:"square",style:{r:4,fill:t.color}}}}),e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(39).registerShapeFactory("schema",{defaultShapeType:""});e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getQPath=e.getCPath=void 0;var r=n(0);e.getCPath=function(t,e){return["C",1*t.x/2+1*e.x/2,t.y,1*t.x/2+1*e.x/2,e.y,e.x,e.y]},e.getQPath=function(t,e){var n=[];n.push({x:e.x,y:e.y}),n.push(t);var i=["Q"];return r.each(n,(function(t){i.push(t.x,t.y)})),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(39),o=n(53),a=n(156);i.registerShape("interval","funnel",{getPoints:function(t){return t.size=2*t.size,a.getRectPoints(t)},draw:function(t,e){var n=o.getStyle(t,!1,!0),i=this.parsePath(a.getFunnelPath(t.points,t.nextPoints,!1));return e.addShape("path",{attrs:r.__assign(r.__assign({},n),{path:i}),name:"interval"})},getMarker:function(t){return{symbol:"square",style:{r:4,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(39),o=n(242),a=n(53),s=n(156);i.registerShape("interval","hollow-rect",{draw:function(t,e){var n=a.getStyle(t,!0,!1),i=e,c=null===t||void 0===t?void 0:t.background;if(c){i=e.addGroup();var l=a.getBackgroundRectStyle(t),u=s.getBackgroundRectPath(t,this.parsePoints(t.points),this.coordinate);i.addShape("path",{attrs:r.__assign(r.__assign({},l),{path:u}),zIndex:-1,name:o.BACKGROUND_SHAPE})}var g=this.parsePath(s.getRectPath(t.points)),f=i.addShape("path",{attrs:r.__assign(r.__assign({},n),{path:g}),name:"interval"});return c?i:f},getMarker:function(t){var e=t.color;return t.isInPolar?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(39),a=n(53),s=n(156),c=n(87);o.registerShape("interval","line",{getPoints:function(t){return function(t){var e=t.x,n=t.y,r=t.y0;return i.isArray(n)?n.map((function(t,n){return{x:i.isArray(e)?e[n]:e,y:t}})):[{x:e,y:r},{x:e,y:n}]}(t)},draw:function(t,e){var n=a.getStyle(t,!0,!1,"lineWidth"),i=c.omit(r.__assign({},n),["fill"]),o=this.parsePath(s.getRectPath(t.points,!1));return e.addShape("path",{attrs:r.__assign(r.__assign({},i),{path:o}),name:"interval"})},getMarker:function(t){return{symbol:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]},style:{r:5,stroke:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(39),o=n(53),a=n(156);i.registerShape("interval","pyramid",{getPoints:function(t){return t.size=2*t.size,a.getRectPoints(t,!0)},draw:function(t,e){var n=o.getStyle(t,!1,!0),i=this.parsePath(a.getFunnelPath(t.points,t.nextPoints,!0));return e.addShape("path",{attrs:r.__assign(r.__assign({},n),{path:i}),name:"interval"})},getMarker:function(t){return{symbol:"square",style:{r:4,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(39),a=n(53);o.registerShape("interval","tick",{getPoints:function(t){return function(t){var e,n,r=t.x,o=t.y,a=t.y0,s=t.size;i.isArray(o)?(e=o[0],n=o[1]):(e=a,n=o);var c=r+s/2,l=r-s/2;return[{x:r,y:e},{x:r,y:n},{x:l,y:e},{x:c,y:e},{x:l,y:n},{x:c,y:n}]}(t)},draw:function(t,e){var n,i=a.getStyle(t,!0,!1),o=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["M",n[4].x,n[4].y],["L",n[5].x,n[5].y]]);return e.addShape("path",{attrs:r.__assign(r.__assign({},i),{path:o}),name:"interval"})},getMarker:function(t){return{symbol:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},style:{r:5,stroke:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(155),o=n(39),a=n(249);r.each(a.HOLLOW_SHAPES,(function(t){o.registerShape("point",t,{draw:function(e,n){return a.drawPoints(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:i.MarkerSymbols[t],style:{r:4.5,stroke:n,fill:null}}}})}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(39),i=n(53);r.registerShape("point","image",{draw:function(t,e){var n=i.getStyle(t,!1,!1,"r").r,r=this.parsePoints(t.points),o=r[0];if(t.isStack)o=r[1];else if(r.length>1){for(var a=e.addGroup(),s=0,c=r;s<c.length;s++){var l=c[s];a.addShape("image",{attrs:{x:l.x-n/2,y:l.y-n,width:n,height:n,img:t.shape[1]}})}return a}return e.addShape("image",{attrs:{x:o.x-n/2,y:o.y-n,width:n,height:n,img:t.shape[1]}})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(155),o=n(39),a=n(249);r.each(a.SHAPES,(function(t){o.registerShape("point",t,{draw:function(e,n){return a.drawPoints(this,e,n,t,!1)},getMarker:function(e){var n=e.color;return{symbol:i.MarkerSymbols[t]||t,style:{r:4.5,fill:n}}}})}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(39),a=n(53);function s(t){var e=i.isArray(t)?t:[t],n=e[0],r=e[e.length-1],o=e.length>1?e[1]:n;return{min:n,max:r,min1:o,max1:e.length>3?e[3]:r,median:e.length>2?e[2]:o}}function c(t,e,n){var r,o=n/2;if(i.isArray(e)){var a=s(e),c=a.min,l=a.max,u=a.median,g=a.min1,f=t-o,d=t+o;r=[[f,l],[d,l],[t,l],[t,h=a.max1],[f,g],[f,h],[d,h],[d,g],[t,g],[t,c],[f,c],[d,c],[f,u],[d,u]]}else{e=i.isNil(e)?.5:e;var h,p=s(t),A=(c=p.min,l=p.max,u=p.median,e-o),C=e+o;r=[[c,A],[c,C],[c,e],[g=p.min1,e],[g,A],[g,C],[h=p.max1,C],[h,A],[h,e],[l,e],[l,A],[l,C],[u,A],[u,C]]}return r.map((function(t){return{x:t[0],y:t[1]}}))}o.registerShape("schema","box",{getPoints:function(t){return c(t.x,t.y,t.size)},draw:function(t,e){var n,i=a.getStyle(t,!0,!1),o=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["M",n[4].x,n[4].y],["L",n[5].x,n[5].y],["L",n[6].x,n[6].y],["L",n[7].x,n[7].y],["L",n[4].x,n[4].y],["Z"],["M",n[8].x,n[8].y],["L",n[9].x,n[9].y],["M",n[10].x,n[10].y],["L",n[11].x,n[11].y],["M",n[12].x,n[12].y],["L",n[13].x,n[13].y]]);return e.addShape("path",{attrs:r.__assign(r.__assign({},i),{path:o,name:"schema"})})},getMarker:function(t){return{symbol:function(t,e,n){var r=c(t,[e-6,e-3,e,e+3,e+6],n);return[["M",r[0].x+1,r[0].y],["L",r[1].x-1,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x+1,r[10].y],["L",r[11].x-1,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]},style:{r:6,lineWidth:1,stroke:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(87),a=n(39),s=n(53);function c(t,e,n){var r=function(t){var e=(i.isArray(t)?t:[t]).sort((function(t,e){return e-t}));return o.padEnd(e,4,e[e.length-1])}(e);return[{x:t,y:r[0]},{x:t,y:r[1]},{x:t-n/2,y:r[2]},{x:t-n/2,y:r[1]},{x:t+n/2,y:r[1]},{x:t+n/2,y:r[2]},{x:t,y:r[2]},{x:t,y:r[3]}]}a.registerShape("schema","candle",{getPoints:function(t){return c(t.x,t.y,t.size)},draw:function(t,e){var n,i=s.getStyle(t,!0,!0),o=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["L",n[4].x,n[4].y],["L",n[5].x,n[5].y],["Z"],["M",n[6].x,n[6].y],["L",n[7].x,n[7].y]]);return e.addShape("path",{attrs:r.__assign(r.__assign({},i),{path:o,name:"schema"})})},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){var r=c(t,[e+7.5,e+3,e-3,e-7.5],n);return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(39),a=n(53);function s(t,e){var n=Math.abs(t[0].x-t[2].x),r=Math.abs(t[0].y-t[2].y),o=Math.min(n,r);return e&&(o=i.clamp(e,0,Math.min(n,r))),o/=2,{x:(t[0].x+t[2].x)/2-o,y:(t[0].y+t[2].y)/2-o,width:2*o,height:2*o}}o.registerShape("polygon","square",{draw:function(t,e){if(!i.isEmpty(t.points)){var n=a.getStyle(t,!0,!0),o=this.parsePoints(t.points);return e.addShape("rect",{attrs:r.__assign(r.__assign({},n),s(o,t.size)),name:"polygon"})}},getMarker:function(t){return{symbol:"square",style:{r:4,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.antiCollision=void 0,e.antiCollision=function(t,e,n){var r=t.filter((function(t){return!t.invisible}));r.sort((function(t,e){return t.y-e.y}));var i,o=!0,a=n.minY,s=n.maxY,c=Math.abs(a-s),l=0,u=Number.MIN_VALUE,g=r.map((function(t){return t.y>l&&(l=t.y),t.y<u&&(u=t.y),{content:t.content,size:e,targets:[t.y-a],pos:null}}));for(u-=a,l-a>c&&(c=l-a);o;)for(g.forEach((function(t){var e=(Math.min.apply(u,t.targets)+Math.max.apply(u,t.targets))/2;t.pos=Math.min(Math.max(u,e-t.size/2),c-t.size),t.pos=Math.max(0,t.pos)})),o=!1,i=g.length;i--;)if(i>0){var f=g[i-1],d=g[i];f.pos+f.size>d.pos&&(f.size+=d.size,f.targets=f.targets.concat(d.targets),f.pos+f.size>c&&(f.pos=c-f.size),g.splice(i,1),o=!0)}i=0,g.forEach((function(t){var n=a+e/2;t.targets.forEach((function(){r[i].y=t.pos+n,n+=e,i++}))}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return r.__extends(e,t),e.prototype.getRegion=function(){var t=this.points;return{start:i.head(t),end:i.last(t)}},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),e=t.start,n=t.end;return{x:Math.min(e.x,n.x),y:Math.min(e.y,n.y),width:Math.abs(n.x-e.x),height:Math.abs(n.y-e.y)}},e}(r.__importDefault(n(257)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getMaskPath=function(){var t=this.points,e=[];return t.length&&(i.each(t,(function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])})),e.push(["L",t[0].x,t[0].y])),e},e.prototype.getMaskAttrs=function(){return{path:this.getMaskPath()}},e.prototype.addPoint=function(){this.resize()},e}(r.__importDefault(n(257)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=r.__importDefault(n(56)),o=n(43);function a(t,e,n,r){var i=Math.min(n[e],r[e]),o=Math.max(n[e],r[e]),a=t.range,s=a[0],c=a[1];if(i<s&&(i=s),o>c&&(o=c),i===c&&o===c)return null;var l=t.invert(i),u=t.invert(o);if(t.isCategory){var g=t.values.indexOf(l),f=t.values.indexOf(u),d=t.values.slice(g,f+1);return function(t){return d.includes(t)}}return function(t){return t>=l&&t<=u}}var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.startPoint=null,e.isStarted=!1,e}return r.__extends(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,e;if(o.isMask(this.context)){var n=this.context.event.target.getCanvasBBox();t={x:n.x,y:n.y},e={x:n.maxX,y:n.maxY}}else{if(!this.isStarted)return;t=this.startPoint,e=this.context.getCurrentPoint()}if(!(Math.abs(t.x-e.x)<5||Math.abs(t.x-e.y)<5)){var r=this.context.view,i=r.getCoordinate(),s=i.invert(e),c=i.invert(t);if(this.hasDim("x")){var l=r.getXScale(),u=a(l,"x",s,c);this.filterView(r,l.field,u)}if(this.hasDim("y")){var g=r.getYScales()[0];u=a(g,"y",s,c),this.filterView(r,g.field,u)}this.reRender(r)}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(this.isStarted=!1,this.hasDim("x")){var e=t.getXScale();this.filterView(t,e.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t)},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t){t.render(!0)},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(237),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.cfgFields=["dims"],e.cacheScaleDefs={},e}return r.__extends(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var e=this.context.view;return"x"===t?e.getXScale():e.getYScales()[0]},e.prototype.resetDim=function(t){var e=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);e.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim("x"),this.resetDim("y"),this.context.view.render(!0)},e}(i.Action);e.default=o},function(t,e,n){var r=n(370);t.exports=function(t,e){if(t){if("string"===typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"object"===r(t)&&null!==t}},function(t,e,n){"use strict";var r=n(5),i=n.n(r),o=n(36),a=n.n(o),s=n(283),c=n.n(s),l=n(284),u=n.n(l),g=n(285),f=n.n(g),d=n(286),h=n.n(d),p=n(287),A=n.n(p),C=n(288),v=n.n(C),I=n(54),y=n(7),m=function(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){var i=0;for(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};Object(y.registerFacet)("rect",A.a),Object(y.registerFacet)("mirror",h.a),Object(y.registerFacet)("list",u.a),Object(y.registerFacet)("matrix",f.a),Object(y.registerFacet)("circle",c.a),Object(y.registerFacet)("tree",v.a),e.a=function(t){var e=Object(I.a)(),n=t.type,r=t.children,o=m(t,["type","children"]);return a()(r)?e.facet(n,i()(i()({},o),{eachView:r})):e.facet(n,i()({},o)),null}},function(t,e,n){"use strict";n(4);var r=n(291),i=n.n(r),o=n(34),a=n(54);Object(o.registerComponentController)("slider",i.a),e.a=function(t){return Object(a.a)().option("slider",t),null}},function(t,e,n){"use strict";n(120),n(244)},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l),g=n(279),f=n.n(g),d=n(50),h=n(7);function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}n(351),n(362),n(361),Object(h.registerGeometry)("Schema",f.a);var A=function(t){a()(n,t);var e=p(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).GemoBaseClassName="schema",t}return n}(d.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return C}));var r=n(8),i=n.n(r),o=n(11),a=n.n(o),s=n(12),c=n.n(s),l=n(6),u=n.n(l),g=n(161),f=n.n(g),d=n(164),h=n(50),p=n(7);function A(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u()(t);if(e){var i=u()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c()(this,n)}}Object(p.registerAnimation)("path-in",d.pathIn),Object(p.registerGeometry)("Path",f.a);var C=function(t){a()(n,t);var e=A(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).GemoBaseClassName="path",t}return n}(h.a)},function(t,e,n){"use strict";var r=n(5),i=n.n(r),o=n(4),a=n.n(o),s=n(134),c=n(198),l=n(199),u=n(200),g=n(135),f=n(136),d=n(201),h=n(202),p=n(14),A=n.n(p),C=function(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){var i=0;for(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},v={area:s.a,edge:c.a,heatmap:l.a,interval:u.a,line:g.a,point:f.a,polygon:d.a,"line-advance":h.a};e.a=function(t){var e=t.type,n=C(t,["type"]),r=v[e];return r?a.a.createElement(r,i()({},n)):(A()(!1,"Only support the below type: area|edge|heatmap|interval|line|point|polygon|line-advance"),null)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(5),i=n.n(r),o=n(4),a=n.n(o),s=n(14),c=n.n(s),l=n(197);function u(t){return c()(!1,"Coord (\u534f\u8c03) \u7ec4\u4ef6\u5c06\u91cd\u547d\u540d\u4e3a\u66f4\u52a0\u8bed\u4e49\u5316\u7684\u7ec4\u4ef6\u540d Coordinate\uff08\u5750\u6807\uff09,\u8bf7\u4f7f\u7528Coordinate\u66ff\u4ee3\uff0c\u6211\u4eec\u5c06\u57285.0\u540e\u5220\u9664Coord\u7ec4\u4ef6"),a.a.createElement(l.a,i()({},t))}},function(t,e,n){"use strict";var r=n(14),i=n.n(r),o=n(189),a=n(190),s=n(191),c=n(192),l=n(193),u=n(194),g=n(195),f=function(t){return i()(!1,"Guide\u7ec4\u4ef6\u5c06\u57285.0\u540e\u4e0d\u518d\u652f\u6301\uff0c\u8bf7\u4f7f\u7528Annotation\u66ff\u4ee3\uff0c\u8bf7\u67e5\u770bAnnotation\u7684\u4f7f\u7528\u6587\u6863"),t.children};f.Arc=o.a,f.DataMarker=a.a,f.DataRegion=s.a,f.Image=c.a,f.Line=l.a,f.Region=u.a,f.Text=g.a,e.a=f},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(4),i=n.n(r),o=n(36),a=n.n(o),s=n(127),c=n(14),l=n.n(c);function u(t){var e=Object(s.a)();if(a()(t.children)){var n=t.children(e);return i.a.isValidElement(n)?n:null}return l()(!1,"Effects \u7684\u5b50\u7ec4\u4ef6\u5e94\u5f53\u662f\u4e00\u4e2a\u51fd\u6570 (chart) => {}"),null}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(4),i=n(54);function o(t){var e=Object(i.a)(),n=t.type,o=t.config;return Object(r.useLayoutEffect)((function(){return e.interaction(n,o),function(){e.removeInteraction(n)}})),null}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(215),i=n.n(r),o=n(4),a=n(98);function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=Object(a.getTheme)(t);e.name=t;var n=Object(o.useState)(e),r=i()(n,2),s=r[0],c=r[1],l=function(t){var e=Object(a.getTheme)(t);e.name=t,c(e)};return[s,l]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){t.apply(r,o)}),e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SensorTabIndex=e.SensorClassName=e.SizeSensorId=void 0,e.SizeSensorId="size-sensor-id",e.SensorClassName="size-sensor-object",e.SensorTabIndex="-1"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderGaugeStatistic=e.renderStatistic=e.setStatisticContainerStyle=e.adapteStyle=void 0;var r=n(1),i=n(0),o=n(20);function a(t){var e={overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",display:"flex",justifyContent:"center",alignItems:"center"},n=["stroke","lineWidth","shadowColor","strokeOpacity","shadowBlur","shadowOffsetX","shadowOffsetY","fill"];i.get(t,"fill")&&(e.color=t.fill);var r=o.pick(t,n),a=r.shadowColor,s=r.shadowBlur,c=void 0===s?0:s,l=r.shadowOffsetX,u=void 0===l?0:l,g=r.shadowOffsetY,f=void 0===g?0:g;e["text-shadow"]=""+[a,u+"px",f+"px",c+"px"].join(" ");var d=o.pick(t,n),h=d.stroke,p=d.lineWidth,A=void 0===p?0:p;return e["-webkit-text-stroke"]=""+[A+"px",h].join(" "),i.each(t,(function(t,r){["fontSize"].includes(r)&&i.isNumber(t)?e[o.kebabCase(r)]=t+"px":r&&!n.includes(r)&&(e[o.kebabCase(r)]=""+t)})),e}function s(t,e){t.style["pointer-events"]="none",i.each(e,(function(e,n){n&&e&&(t.style[n]=e)}))}e.adapteStyle=a,e.setStatisticContainerStyle=s,e.renderStatistic=function(t,e,n){var c=e.statistic,l=e.plotType,u=c.title,g=c.content;[u,g].forEach((function(e,c){if(e){var f="",d="";d=0===c?g?"translate(-50%, -100%)":"translate(-50%, -50%)":u?"translate(-50%, 0)":"translate(-50%, -50%)";var h=i.isFunction(e.style)?e.style(n):e.style;t.annotation().html(r.__assign({position:["50%","50%"],html:function(t,o){var c=o.getCoordinate(),u=0;if("pie"===l||"ring-progress"===l)u=c.getRadius()*c.innerRadius*2;else if("liquid"===l){var g=i.get(o.geometries,[0,"elements",0,"shape"]);g&&(u=g.find((function(t){return"circle"===t.get("type")})).getCanvasBBox().width)}else u||(u=c.getWidth());s(t,r.__assign({width:u+"px",transform:d},a(h)));var p=o.getData();return e.customHtml?e.customHtml(t,o,n,p):(e.formatter&&(f=e.formatter(n,p)),f?i.isString(f)?f:""+f:"<div></div>")},key:(0===c?"top":"bottom")+"-statistic"},o.pick(e,["offsetX","offsetY","rotate","style","formatter"])))}}))},e.renderGaugeStatistic=function(t,e,n){var c=e.statistic;[c.title,c.content].forEach((function(e){if(e){var c="",l=i.isFunction(e.style)?e.style(n):e.style;t.annotation().html(r.__assign({position:["50%","100%"],html:function(t,o){var u=o.getCoordinate(),g=o.views[0].getCoordinate(),f=g.getCenter(),d=g.getRadius(),h=Math.max(Math.sin(g.startAngle),Math.sin(g.endAngle))*d,p=f.y+h-u.y.start-parseFloat(i.get(l,"fontSize",0)),A=u.getRadius()*u.innerRadius*2;s(t,r.__assign({width:A+"px",transform:"translate(-50%, "+p+"px)"},a(l)));var C=o.getData();return e.customHtml?e.customHtml(t,o,n,C):(e.formatter&&(c=e.formatter(n,C)),c?i.isString(c)?c:""+c:"<div></div>")}},o.pick(e,["offsetX","offsetY","rotate","style","formatter"])))}}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.geometry=void 0;var r=n(0),i=n(20),o=n(47),a=n(60),s=n(388),c=n(260);function l(t){var e=t.chart,n=t.options,o=n.percent,l=n.progressStyle,u=n.color,g=n.barWidthRatio;e.data(c.getProgressData(o));var f=i.deepAssign({},t,{options:{xField:"1",yField:"percent",seriesField:"type",isStack:!0,widthRatio:g,interval:{style:l,color:r.isString(u)?[u,s.DEFAULT_COLOR[1]]:u}}});return a.interval(f),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function u(t){return t.chart.coordinate("rect").transpose(),t}e.geometry=l,e.adaptor=function(t){return i.flow(l,o.scale({}),u,o.animation,o.theme,o.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.polygon=void 0;var r=n(1),i=n(95),o=n(20),a=n(96);e.polygon=function(t){var e=t.options,n=e.polygon,s=e.xField,c=e.yField,l=e.seriesField,u=e.tooltip,g=i.getTooltipMapping(u,[s,c,l]),f=g.fields,d=g.formatter;return n?a.geometry(o.deepAssign({},t,{options:{type:"polygon",colorField:l,tooltipFields:f,mapping:r.__assign({tooltip:d},n)}})):t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_COLOR=void 0,e.DEFAULT_COLOR=["#FAAD14","#E8EDF3"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isRealNumber=void 0,e.isRealNumber=function(t){return"number"===typeof t&&!isNaN(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.adjust=e.legend=e.axis=e.meta=void 0;var r=n(1),i=n(0),o=n(47),a=n(20),s=n(60),c=n(20),l=n(158);function u(t){var e=t.chart,n=t.options,i=n.data,o=n.color,c=n.lineStyle,l=n.lineShape,u=n.point,g=n.seriesField;e.data(i);var f=a.deepAssign({},t,{options:{shapeField:g,line:{color:o,style:c,shape:l},point:u&&r.__assign({color:o,shape:"circle"},u),label:void 0}}),d=a.deepAssign({},f,{options:{tooltip:!1}});return s.line(f),s.point(d),t}function g(t){var e,n,r=t.options,i=r.xAxis,a=r.yAxis,s=r.xField,u=r.yField,g=r.data;return c.flow(o.scale(((e={})[s]=i,e[u]=a,e),((n={})[s]={type:"cat"},n[u]=l.adjustYMetaByZero(g,u),n)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function h(t){var e=t.chart,n=t.options,i=n.label,o=n.yField,s=a.findGeometry(e,"line");if(i){var c=i.callback,l=r.__rest(i,["callback"]);s.label({fields:[o],callback:c,cfg:r.__assign({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},a.transformLabel(l))})}else s.label(!1);return t}function p(t){var e=t.chart;return t.options.isStack&&i.each(e.geometries,(function(t){t.adjust("stack")})),t}e.meta=g,e.axis=f,e.legend=d,e.adjust=p,e.adaptor=function(t){return c.flow(u,g,p,o.theme,f,d,o.tooltip,h,o.slider,o.interaction,o.animation,o.annotation(),o.limitInPlot)(t)}},function(t,e,n){"use strict";var r=n(220),i=n(91);e.a=function(){var t=1,e=1,n=0,o=!1;function a(a){var s=a.height+1;return a.x0=a.y0=n,a.x1=t,a.y1=e/s,a.eachBefore(function(t,e){return function(r){r.children&&Object(i.a)(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var o=r.x0,a=r.y0,s=r.x1-n,c=r.y1-n;s<o&&(o=s=(o+s)/2),c<a&&(a=c=(a+c)/2),r.x0=o,r.y0=a,r.x1=s,r.y1=c}}(e,s)),o&&a.eachBefore(r.a),a}return a.round=function(t){return arguments.length?(o=!!t,a):o},a.size=function(n){return arguments.length?(t=+n[0],e=+n[1],a):[t,e]},a.padding=function(t){return arguments.length?(n=+t,a):n},a}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.legend=void 0;var r=n(1),i=n(20),o=n(47),a=n(646),s=n(647),c=n(60),l=n(20),u=n(159),g=n(158);function f(t){var e=t.options,n=e.legend,i=e.seriesField,o=e.isStack;return i?!1!==n&&(n=r.__assign({position:o?"right-top":"top-left"},n)):n=!1,t.options.legend=n,t}function d(t){var e=t.chart,n=t.options,i=n.data,o=n.columnStyle,a=n.color,s=n.columnWidthRatio,g=n.isPercent,f=n.xField,d=n.yField,h=n.seriesField,p=n.tooltip;e.data(u.getDataWhetherPecentage(i,d,f,d,g));var A=g?r.__assign({formatter:function(t){return{name:t[h]||t[f],value:(100*Number(t[d])).toFixed(2)+"%"}}},p):p,C=l.deepAssign({},t,{options:{widthRatio:s,tooltip:A,interval:{style:o,color:a}}});return c.interval(C),t}function h(t){var e,n,i=t.options,a=i.xAxis,s=i.yAxis,c=i.xField,u=i.yField,f=i.data,d=i.isPercent?{max:1,min:0,minLimit:0,maxLimit:1}:{};return l.flow(o.scale(((e={})[c]=a,e[u]=s,e),((n={})[c]={type:"cat"},n[u]=r.__assign(r.__assign({},g.adjustYMetaByZero(f,u)),d),n)))(t)}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function A(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function C(t){var e=t.chart,n=t.options,o=n.label,a=n.yField,s=n.isRange,c=i.findGeometry(e,"interval");if(o){var u=o.callback,g=r.__rest(o,["callback"]);c.label({fields:[a],callback:u,cfg:r.__assign({layout:(null===g||void 0===g?void 0:g.position)?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},l.transformLabel(s?r.__assign({content:function(t){var e;return null===(e=t[a])||void 0===e?void 0:e.join("-")}},g):g))})}else c.label(!1);return t}e.legend=A,e.adaptor=function(t,e){void 0===e&&(e=!1);var n=t.options,r=n.seriesField;return l.flow(f,o.theme,d,h,p,A,o.tooltip,o.slider,o.scrollbar,C,o.interaction,o.animation,o.annotation(),a.conversionTag(n.yField,!e,!!r),s.connectedArea(!n.isStack),o.limitInPlot)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagFormatter=void 0;var r=n(0);e.conversionTagFormatter=function(t,e){return r.isNumber(t)&&r.isNumber(e)?t===e?"100%":0===t?"\u221e":0===e?"-\u221e":(100*e/t).toFixed(2)+"%":"-"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transform=void 0;var r=n(1),i=n(9),o=[1,0,0,0,1,0,0,0,1];e.transform=function(t,e){var n=e?r.__spreadArrays(e):r.__spreadArrays(o);return i.Util.transform(n,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSingleKeyValues=e.getFontSizeMapping=e.processImageMask=e.getSize=e.transform=void 0;var r=n(1),i=n(0),o=n(20),a=n(658);function s(t){var e=t.width,n=t.height,r=t.container,i=t.autoFit,a=t.padding,s=t.appendPadding;if(i){var l=o.getContainerSize(r);e=l.width,n=l.height}e=e||400,n=n||400;var u=function(t){var e=c(t.padding),n=c(t.appendPadding),r=e[0]+n[0],i=e[1]+n[1],o=e[2]+n[2],a=e[3]+n[3];return[r,i,o,a]}({padding:a,appendPadding:s}),g=u[0],f=u[1],d=u[2];return[e-(u[3]+f),n-(g+d)]}function c(t){if(i.isNumber(t))return[t,t,t,t];if(i.isArray(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}function l(t,e){if(i.isFunction(t))return t;if(i.isArray(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var o=e[0],a=e[1];return a===o?function(){return(r+n)/2}:function(t){var e=t.value;return(r-n)/(a-o)*(e-o)+n}}return function(){return t}}function u(t,e){return t.map((function(t){return t[e]})).filter((function(t){return"number"===typeof t&&!isNaN(t)}))}function g(t){var e=function(t){var e=t.wordStyle.rotationSteps;return e<1&&(o.log(o.LEVEL.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}}(t),n=e.rotation,r=e.rotationSteps;if(!i.isArray(n))return n;var a=n[0],s=n[1],c=1===r?0:(s-a)/(r-1);return function(){return s===a?s:Math.floor(Math.random()*r)*c}}function f(t){return Math.max.apply(Math,t)}e.transform=function(t){var e=t.options,n=t.chart,o=n,c=o.width,d=o.height,h=o.padding,p=o.appendPadding,A=o.ele,C=e.data,v=e.imageMask,I=e.wordField,y=e.weightField,m=e.colorField,b=e.wordStyle,x=e.timeInterval,w=e.random,O=e.spiral,S=e.autoFit,_=void 0===S||S,k=e.placementStrategy;if(!C||!C.length)return[];var j,E=b.fontFamily,P=b.fontWeight,M=b.padding,T=b.fontSize,R=u(C,y),D=[(j=R,Math.min.apply(Math,j)),f(R)],N=C.map((function(t){return{text:t[I],value:t[y],color:t[m],datum:t}})),L={imageMask:v,font:E,fontSize:l(T,D),fontWeight:P,size:s({width:c,height:d,padding:h,appendPadding:p,autoFit:_,container:A}),padding:M,timeInterval:x,random:w,spiral:O,rotate:g(e)};if(i.isFunction(k)){var F=N.map((function(t,e,i){return r.__assign(r.__assign(r.__assign({},t),{hasText:!!t.text,font:a.functor(L.font)(t,e,i),weight:a.functor(L.fontWeight)(t,e,i),rotate:a.functor(L.rotate)(t,e,i),size:a.functor(L.fontSize)(t,e,i),style:"normal"}),k.call(n,t,e,i))}));return F.push({text:"",value:0,x:0,y:0,opacity:0}),F.push({text:"",value:0,x:L.size[0],y:L.size[1],opacity:0}),F}return a.wordCloud(N,L)},e.getSize=s,e.processImageMask=function(t){return new Promise((function(e,n){if(t instanceof HTMLImageElement)e(t);else{if(i.isString(t)){var r=new Image;return r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},void(r.onerror=function(){o.log(o.LEVEL.ERROR,!1,"image %s load failed !!!",t),n()})}o.log(o.LEVEL.WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()}}))},e.getFontSizeMapping=l,e.getSingleKeyValues=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.basicFunnel=void 0;var r=n(1),i=n(0),o=n(20),a=n(95),s=n(96),c=n(126),l=n(261);function u(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,o=n.yField,a=n.maxSize,s=n.minSize,c=l.transformData(i,i,{yField:o,maxSize:a,minSize:s});return e.data(c),t}function g(t){var e=t.chart,n=t.options,r=n.xField,l=n.yField,u=n.color,g=n.tooltip,f=n.label,d=a.getTooltipMapping(g,[r,l]),h=d.fields,p=d.formatter;return s.geometry({chart:e,options:{type:"interval",xField:r,yField:c.FUNNEL_MAPPING_VALUE,colorField:r,tooltipFields:i.isArray(h)&&h.concat([c.FUNNEL_PERCENT,c.FUNNEL_CONVERSATION]),mapping:{shape:"funnel",tooltip:p,color:u},label:f}}),o.findGeometry(t.chart,"interval").adjust("symmetric"),t}function f(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),t}function d(t){var e=t.options.maxSize;return l.conversionTagComponent((function(t,n,i,o){var a=e-(e-t[c.FUNNEL_MAPPING_VALUE])/2;return r.__assign(r.__assign({},o),{start:[n-.5,a],end:[n-.5,a+.05]})}))(t),t}e.basicFunnel=function(t){return o.flow(u,g,f,d)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLiquidData=void 0,e.getLiquidData=function(t){return[{percent:t,type:"liquid"}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.binHistogram=void 0;var r=n(0);function i(t,e){var n=Math.floor(t/e);return[e*n,e*(n+1)]}e.binHistogram=function(t,e,n,o,a){var s=r.clone(t);r.sortBy(s,e);var c=r.valuesOfKey(s,e),l=r.getRange(c),u=l.max-l.min,g=n;if(!n&&o&&(g=u/o),!n&&!o){var f=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}(c);g=u/f}var d={},h=r.groupBy(s,a);r.isEmpty(h)?r.each(s,(function(t){var n=i(t[e],g),o=n[0]+"-"+n[1];r.hasKey(d,o)||(d[o]={range:n,count:0}),d[o].count+=1})):Object.keys(h).forEach((function(t){r.each(h[t],(function(n){var o=i(n[e],g),s=o[0]+"-"+o[1]+"-"+t;r.hasKey(d,s)||(d[s]={range:o,count:0},d[s][a]=t),d[s].count+=1}))}));var p=[];return r.each(d,(function(t){p.push(t)})),p}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IS_TOTAL=e.ABSOLUTE_FIELD=e.DIFF_FIELD=e.Y_FIELD=void 0,e.Y_FIELD="$$yField$$",e.DIFF_FIELD="$$diffField$$",e.ABSOLUTE_FIELD="$$absoluteField$$",e.IS_TOTAL="$$isTotal$$"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=e.processData=void 0;var r=n(1),i=n(0),o=n(20),a=n(399);function s(t,e,n,a,s){var c,l=[];if(i.reduce(t,(function(t,e){var s;o.log(o.LEVEL.WARN,i.isNumber(e[n]),e[n]+" is not a valid number");var c=i.isUndefined(e[n])?null:e[n];return l.push(r.__assign(r.__assign({},e),((s={})[a]=[t,t+c],s))),t+c}),0),l.length&&s){var u=i.get(l,[[t.length-1],a,[1]]);l.push(((c={})[e]=s.label,c[n]=u,c[a]=[0,u],c))}return l}e.processData=s,e.transformData=function(t,e,n,o){return s(t,e,n,a.Y_FIELD,o).map((function(e,n){var o;return i.isObject(e)?r.__assign(r.__assign({},e),((o={})[a.ABSOLUTE_FIELD]=e[a.Y_FIELD][1],o[a.DIFF_FIELD]=e[a.Y_FIELD][1]-e[a.Y_FIELD][0],o[a.IS_TOTAL]=n===t.length,o)):e}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=void 0,e.transformData=function(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,o=t.targetField,a=t.layout,s=[],c=[];e.forEach((function(t,e){var a;t[i].sort((function(t,e){return t-e})),t[i].forEach((function(r,o){var a,c=0===o?r:t[i][o]-t[i][o-1];s.push(((a={rKey:i+"_"+o})[n]=n?t[n]:String(e),a[i]=c,a))})),t[r].forEach((function(i,o){var a;s.push(((a={mKey:t[r].length>1?r+"_"+o:""+r})[n]=n?t[n]:String(e),a[r]=i,a))})),s.push(((a={tKey:""+o})[n]=n?t[n]:String(e),a[o]=t[o],a)),c.push(t[i],t[r],t[o])}));var l=Math.min.apply(Math,c.flat(1/0)),u=Math.max.apply(Math,c.flat(1/0));return l=l>0?0:l,"vertical"===a&&s.reverse(),{min:l,max:u,ds:s}}},function(t,e,n){"use strict";n(403),n(404),n(405),n(406),n(407),n(408)},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(77),s=n(227);!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent;this.chart.changeData(Object(a.a)(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return s.a}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(224),a=n(225),s=n(145);!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="process",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return{percent:.2,color:a.a,animation:!0}},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(Object(s.a)(t))},e.prototype.getSchemaAdaptor=function(){return o.a}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(2);!function(t){function e(e,n,r,o){var a=t.call(this,e,Object(i.b)({},o,n))||this;return a.type="g2-plot",a.defaultOptions=o,a.adaptor=r,a}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor}}(n(18).a)},function(t,e,n){"use strict";var r,i=n(205);!function(t){t.DEV="DEV",t.BETA="BETA",t.STABLE="STABLE"}(r||(r={})),function(){function t(){}Object.defineProperty(t,"MultiView",{get:function(){var t,e;return t=r.STABLE,e="MultiView",console.warn(t===r.DEV?"Plot '"+e+"' is in DEV stage, just give us issues.":t===r.BETA?"Plot '"+e+"' is in BETA stage, DO NOT use it in production env.":t===r.STABLE?"Plot '"+e+"' is in STABLE stage, import it by \"import { "+e+" } from '@antv/g2plot'\".":"invalid Stage type."),i.a},enumerable:!1,configurable:!0})}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getRangeData=e.getIndicatorData=e.processRangeData=void 0;var r=n(0),i=n(181);function o(t){return t.map((function(e,n){var r;return(r={})[i.RANGE_VALUE]=e-(t[n-1]||0),r[i.RANGE_TYPE]=""+n,r})).filter((function(t){return!!t[i.RANGE_VALUE]}))}e.processRangeData=o,e.getIndicatorData=function(t){var e;return[(e={},e[i.PERCENT]=r.clamp(t,0,1),e)]},e.getRangeData=function(t,e){var n=r.get(e,["ticks"],[]);return o(r.size(n)?n:[0,r.clamp(t,0,1),1])}},function(t,e,n){"use strict";n.d(e,"w",(function(){return g})),n.d(e,"A",(function(){return d})),n.d(e,"J",(function(){return I})),n.d(e,"I",(function(){return b})),n.d(e,"K",(function(){return S})),n.d(e,"p",(function(){return j})),n.d(e,"L",(function(){return R})),n.d(e,"H",(function(){return D})),n.d(e,"b",(function(){return B})),n.d(e,"E",(function(){return z})),n.d(e,"k",(function(){return W})),n.d(e,"s",(function(){return Y})),n.d(e,"y",(function(){return H})),n.d(e,"a",(function(){return Z})),n.d(e,"D",(function(){return q})),n.d(e,"r",(function(){return K})),n.d(e,"f",(function(){return tt})),n.d(e,"l",(function(){return nt})),n.d(e,"F",(function(){return rt})),n.d(e,"z",(function(){return it})),n.d(e,"t",(function(){return ot})),n.d(e,"u",(function(){return st})),n.d(e,"g",(function(){return lt})),n.d(e,"n",(function(){return gt})),n.d(e,"N",(function(){return pt})),n.d(e,"B",(function(){return vt})),n.d(e,"i",(function(){return yt})),n.d(e,"G",(function(){return bt})),n.d(e,"m",(function(){return wt})),n.d(e,"x",(function(){return Mt})),n.d(e,"q",(function(){return Dt})),n.d(e,"o",(function(){return Lt})),n.d(e,"h",(function(){return Ft})),n.d(e,"M",(function(){return zt})),n.d(e,"C",(function(){return Gt})),n.d(e,"c",(function(){return Wt})),n.d(e,"d",(function(){return Xt})),n.d(e,"e",(function(){return qt})),n.d(e,"j",(function(){return Jt})),n.d(e,"v",(function(){return ne}));var r={};n.r(r),n.d(r,"ProgressChart",(function(){return g})),n.d(r,"RingProgressChart",(function(){return d})),n.d(r,"TinyColumnChart",(function(){return I})),n.d(r,"TinyAreaChart",(function(){return b})),n.d(r,"TinyLineChart",(function(){return S}));var i={};n.r(i),n.d(i,"LineChart",(function(){return j})),n.d(i,"TreemapChart",(function(){return R})),n.d(i,"StepLineChart",(function(){return D})),n.d(i,"BarChart",(function(){return B})),n.d(i,"StackedBarChart",(function(){return z})),n.d(i,"GroupedBarChart",(function(){return W})),n.d(i,"PercentStackedBarChart",(function(){return Y})),n.d(i,"RangeBarChart",(function(){return H})),n.d(i,"AreaChart",(function(){return Z})),n.d(i,"StackedAreaChart",(function(){return q})),n.d(i,"PercentStackedAreaChart",(function(){return K})),n.d(i,"ColumnChart",(function(){return tt})),n.d(i,"GroupedColumnChart",(function(){return nt})),n.d(i,"StackedColumnChart",(function(){return rt})),n.d(i,"RangeColumnChart",(function(){return it})),n.d(i,"PercentStackedColumnChart",(function(){return ot})),n.d(i,"PieChart",(function(){return st})),n.d(i,"DensityHeatmapChart",(function(){return lt})),n.d(i,"HeatmapChart",(function(){return gt})),n.d(i,"WordCloudChart",(function(){return pt})),n.d(i,"RoseChart",(function(){return vt})),n.d(i,"FunnelChart",(function(){return yt})),n.d(i,"StackedRoseChart",(function(){return bt})),n.d(i,"GroupedRoseChart",(function(){return wt})),n.d(i,"RadarChart",(function(){return Mt})),n.d(i,"LiquidChart",(function(){return Dt})),n.d(i,"HistogramChart",(function(){return Lt})),n.d(i,"DonutChart",(function(){return Ft})),n.d(i,"WaterfallChart",(function(){return zt})),n.d(i,"ScatterChart",(function(){return Gt})),n.d(i,"BubbleChart",(function(){return Wt})),n.d(i,"BulletChart",(function(){return Xt})),n.d(i,"CalendarChart",(function(){return qt})),n.d(i,"GaugeChart",(function(){return Jt}));var o=n(5),a=n.n(o),s=n(4),c=n.n(s),l=n(473),u=n(10),g=Object(u.a)(l.Progress,"ProgressChart",(function(t){return a()({data:t.percent,color:"#5B8FF9"},t)})),f=n(474),d=Object(u.a)(f.RingProgress,"RingProgressChart",(function(t){return a()({data:t.percent,color:"#5B8FF9"},t)})),h=n(475),p=n(25),A=n.n(p),C=n(13),v=n(0),I=Object(u.a)(h.TinyColumn,"TinyColumnChart",(function(t){var e=Object(C.c)(t);if(!Object(v.isNil)(e.yField)){var n=e.data.map((function(t){return t[e.yField]})).filter((function(t){return!Object(v.isNil)(t)}));n&&n.length&&A()(e,"data",n)}return A()(e,"tooltip",!1),e})),y=n(476),m=function(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){var i=0;for(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},b=Object(u.a)(y.TinyArea,"TinyAreaChart",(function(t){var e=Object(C.c)(t),n=e.xField,r=e.yField,i=e.data,o=m(e,["xField","yField","data"]);return n&&r&&i&&(o.data=i.map((function(t){return t[r]}))),a()({},o)})),x=n(477),w=n(19),O=n.n(w),S=Object(u.a)(x.TinyLine,"TinyLineChart",(function(t){var e=Object(C.c)(t);if(!Object(v.isNil)(e.yField)){var n=e.data.map((function(t){return t[e.yField]})).filter((function(t){return!Object(v.isNil)(t)}));n&&n.length&&A()(e,"data",n)}var r=O()(e,"size");if(!Object(v.isNil)(r)){var i=O()(e,"lineStyle",{});A()(e,"lineStyle",a()(a()({},i),{lineWidth:r}))}return A()(e,"tooltip",!1),e})),_=n(219),k=function(t){var e=Object(C.c)(t);return Object(C.e)(e,"point"),!0===e.point&&(e.point={}),e},j=Object(u.a)(_.Line,"LineChart",k),E=n(478),P=n(14),M=n.n(P),T=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(r>n)delete e.children;else{var i=e.children;i&&i.length&&i.forEach((function(e){t(e,n,r+1)}))}},R=Object(u.a)(E.Treemap,"TreemapChart",(function(t){var e=Object(C.c)(t),n=Object(v.get)(e,"maxLevel",2);if(!Object(v.isNil)(n))if(n<1)M()(!1,"maxLevel \u5fc5\u987b\u5927\u4e8e\u7b49\u4e8e1");else{var r=Object(v.get)(e,"data",{});T(r,n),Object(v.set)(e,"data",r),Object(v.set)(e,"maxLevel",n)}return e})),D=Object(u.a)(_.Line,"StepLineChart",(function(t){return M()(!1,"<StepLineChart />\u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<LineChart />\u66ff\u4ee3\u3002"),t.stepType=t.stepType||t.step||"hv",k(t)})),N=n(92),L=function(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){var i=0;for(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},F=function(t){var e=Object(C.c)(t),n=e.barSize,r=L(e,["barSize"]);return Object(C.f)([{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField\u662f\u65e7\u7248API\uff0c\u5373\u5c06\u5e9f\u5f03 \u8bf7\u4f7f\u7528seriesField\u66ff\u4ee3"},{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField\u662f\u65e7\u7248API\uff0c\u5373\u5c06\u5e9f\u5f03 \u8bf7\u4f7f\u7528seriesField\u66ff\u4ee3"}],r),Object(v.isNil)(n)||(r.minBarWidth=n,r.maxBarWidth=n),r},B=Object(u.a)(N.Bar,"BarChart",F),z=Object(u.a)(N.Bar,"StackedBarChart",(function(t){return M()(!1,"<StackedBarChart /> \u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<BarChart />\u66ff\u4ee3\uff0c"),Object(v.deepMix)(t,{isStack:!0}),F(t)})),V=function(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){var i=0;for(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},G=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528seriesField\u66ff\u4ee3"}],W=Object(u.a)(N.Bar,"GroupedBarChart",(function(t){M()(!1,"<GroupedBarChart /> \u57285.0\u540e\u5373\u5c06\u88ab\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<BarChart /> \u66ff\u4ee3");var e=Object(C.c)(t),n=e.barSize,r=V(e,["barSize"]);return Object(C.f)(G,r),Object(v.isNil)(n)||(r.minBarWidth=n,r.maxBarWidth=n),r})),Y=Object(u.a)(N.Bar,"PercentStackedBarChart",(function(t){return M()(!1,"<PercentStackedBarChart /> \u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<BarChart />\u66ff\u4ee3\u3002"),Object(v.deepMix)(t,{isPercent:!0,isStack:!0}),F(t)})),H=Object(u.a)(N.Bar,"RangeBarChart",(function(t){return M()(!1,"<RangeBarChart /> \u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<BarChart />\u66ff\u4ee3\u3002"),Object(v.deepMix)(t,{isRange:!0}),F(t)})),U=n(142),X=function(t){var e=Object(C.c)(t);return Object(C.e)(e,"line"),Object(C.e)(e,"point"),Object(C.f)([{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField\u662f\u65e7\u7248api\uff0c\u5373\u5c06\u5e9f\u5f03 \u8bf7\u4f7f\u7528seriesField\u66ff\u4ee3"}],e),e},Z=Object(u.a)(U.Area,"AreaChart",X),q=Object(u.a)(U.Area,"StackedAreaChart",(function(t){return M()(!1,"<StackedAreaChart /> \u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<AreaChart /> \u66ff\u4ee3\u3002"),X(t)})),K=Object(u.a)(U.Area,"PercentStackedAreaChart",(function(t){return M()(!1,"<PercentStackedAreaChart /> \u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<AreaChart /> \u66ff\u4ee3\u3002"),Object(v.deepMix)(t,{isPercent:!0}),X(t)})),Q=n(93),J=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528seriesField\u66ff\u4ee3"},{sourceKey:"stackField",targetKey:"seriesField",notice:"colorField\u662f\u65e7\u7248API\uff0c\u5373\u5c06\u5e9f\u5f03 \u8bf7\u4f7f\u7528seriesField\u66ff\u4ee3"}],$=function(t){var e=Object(C.c)(t);return Object(C.f)(J,e),e},tt=Object(u.a)(Q.Column,"ColumnChart",$),et=function(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){var i=0;for(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},nt=Object(u.a)(Q.Column,"GroupedColumnChart",(function(t){M()(!1,"<GroupedColumnChart /> \u57285.0\u540e\u5373\u5c06\u88ab\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<ColumnChart /> \u66ff\u4ee3");var e=Object(C.c)(t),n=e.columnSize,r=et(e,["columnSize"]);return Object(v.isNil)(n)||(r.minColumnWidth=n,r.maxColumnWidth=n),r})),rt=Object(u.a)(Q.Column,"StackedColumnChart",(function(t){return M()(!1,"<StackedColumnChart />\u5373\u5c06\u57285.0\u4e2d\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<ColumnChart />\u66ff\u4ee3\u3002"),Object(v.deepMix)(t,{isStack:!0}),$(t)})),it=Object(u.a)(Q.Column,"RangeColumnChart",(function(t){return M()(!1,"<RangeColumnChart /> \u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<ColumnChart />\u66ff\u4ee3\u3002"),Object(v.deepMix)(t,{isRange:!0}),$(t)})),ot=Object(u.a)(Q.Column,"PercentStackedColumnChart",(function(t){return M()(!1,"<PercentStackedColumnChart /> \u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<ColumnChart />\u66ff\u4ee3\u3002"),Object(v.deepMix)(t,{isPercent:!0,isStack:!0}),$(t)})),at=n(221),st=Object(u.a)(at.Pie,"PieChart",C.c),ct=n(143),lt=Object(u.a)(ct.Heatmap,"DensityHeatmapChartChart",(function(t){var e=Object(C.c)(t);return Object(C.f)([{sourceKey:"radius",targetKey:"sizeRatio",notice:"radius \u8bf7\u4f7f\u7528sizeRatio\u66ff\u4ee3"}],e),Object(v.set)(e,"type","density"),e})),ut=function(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){var i=0;for(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},gt=Object(u.a)(ct.Heatmap,"HeatmapChart",(function(t){var e=Object(C.c)(t),n=e.shapeType,r=ut(e,["shapeType"]);return n&&(r.heatmapStyle=n,Object(P.warn)(!1,"shapeType\u662fg2plot@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528 `heatmapStyle` \u66ff\u4ee3")),!r.shape&&r.sizeField&&(r.shape="square"),r})),ft=n(479),dt=n(9),ht=function(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){var i=0;for(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},pt=Object(u.a)(ft.WordCloud,"WordCloudChart",(function(t){var e=t.maskImage,n=t.wordField,r=void 0===n?"word":n,i=t.weightField,o=void 0===i?"weight":i,s=t.colorField,c=void 0===s?"word":s,l=t.selected,u=t.shuffle,g=t.interactions,f=void 0===g?[{type:"element-active"}]:g,d=t.onGetG2Instance,h=t.tooltip,p=t.wordStyle,A=t.onWordCloudHover,C=t.onWordCloudClick,v=ht(t,["maskImage","wordField","weightField","colorField","selected","shuffle","interactions","onGetG2Instance","tooltip","wordStyle","onWordCloudHover","onWordCloudClick"]),I=p.active,y=ht(p,["active"]);return a()({colorField:c,wordField:r,weightField:o,imageMask:e,random:u,interactions:f,wordStyle:y,tooltip:!(h&&!h.visible)&&h,onGetG2Instance:function(t){if(d&&d(t),l>=0){var e=t.chart,n=Object(dt.getTheme)();I&&a()(n.geometries.point["hollow-circle"].active.style,I),e.on("afterrender",(function(){e.geometries.length&&e.geometries[0].elements.forEach((function(t,e){e===l&&t.setState("active",!0)}))})),e.on("plot:mousemove",(function(t){if(t.data){var e=t.data.data,n=e.datum,r=e.x,i=e.y,o=e.width,a=e.height;A&&A(n,{x:r,y:i,w:o,h:a},t.event)}else A&&A(void 0,void 0,t.event)})),e.on("plot:click",(function(t){if(t.data){var e=t.data.data,n=e.datum,r=e.x,i=e.y,o=e.width,a=e.height;C&&C(n,{x:r,y:i,w:o,h:a},t.event)}else C&&C(void 0,void 0,t.event)}))}}},v)})),At=n(144),Ct=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528seriesField\u66ff\u4ee3"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528xField\u66ff\u4ee3"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528yFeild\u66ff\u4ee3"}],vt=Object(u.a)(At.Rose,"RoseChart",(function(t){var e=Object(C.c)(t);return Object(C.f)(Ct,e),!1===O()(e,"tooltip.visible")&&A()(e,"tooltip",!1),!1===O()(e,"label.visible")&&A()(e,"label",!1),"inner"===O()(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===O()(e,"label.type")&&delete e.label.type,e})),It=n(480),yt=Object(u.a)(It.Funnel,"FunnelChart",(function(t){var e=Object(C.c)(t);return Object(C.f)([{sourceKey:"transpose",targetKey:"isTransposed",notice:"transpose \u5373\u5c06\u5e9f\u5f03 \u8bf7\u4f7f\u7528isTransposed\u66ff\u4ee3"}],e),e})),mt=[{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528seriesField\u66ff\u4ee3"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528xField\u66ff\u4ee3"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528yFeild\u66ff\u4ee3"}],bt=Object(u.a)(At.Rose,"StackedRoseChart",(function(t){M()(!1,"<StackedRoseChart /> \u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<RoseChart />\u66ff\u4ee3\uff0c");var e=Object(C.c)(t);return Object(C.f)(mt,e),!1===O()(e,"tooltip.visible")&&A()(e,"tooltip",!1),!1===O()(e,"label.visible")&&A()(e,"label",!1),"inner"===O()(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===O()(e,"label.type")&&delete e.label.type,a()(a()({},e),{isStack:!0})})),xt=[{sourceKey:"groupField",targetKey:"seriesField",notice:"groupField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528seriesField\u66ff\u4ee3"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528xField\u66ff\u4ee3"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528yFeild\u66ff\u4ee3"}],wt=Object(u.a)(At.Rose,"GroupedRoseChart",(function(t){M()(!1,"<GroupedRose /> \u5373\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528<Rose />\u3002");var e=Object(C.c)(t);return Object(C.f)(xt,e),"inner"===Object(v.get)(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===Object(v.get)(e,"label.type")&&delete e.label.type,a()(a()({},e),{isGroup:!0})})),Ot=n(52),St=n.n(Ot),_t=n(73),kt=n.n(_t),jt=n(481),Et=[{sourceKey:"angleField",targetKey:"xField",notice:"angleField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528xField\u66ff\u4ee3"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528yFeild\u66ff\u4ee3"}],Pt=function(t){var e=O()(t,"line",{}),n=e.visible,r=e.size,i=e.style,o=a()({},i||{},a()({opacity:1,lineWidth:"number"===typeof r?r:2},function(t){return St()(t)||t?{fillOpacity:1,strokeOpacity:1}:{fillOpacity:0,strokeOpacity:0}}(n)));A()(t,"lineStyle",o)},Mt=Object(u.a)(jt.Radar,"RadarChart",(function(t){var e=Object(C.c)(t);return Object(C.f)(Et,e),!1===O()(e,"area.visible")&&A()(e,"area",!1),!1===O()(e,"point.visible")&&A()(e,"point",!1),Pt(e),(kt()(e.angleAxis)||kt()(e.radiusAxis))&&(e.angleAxis||(e.angleAxis={}),e.angleAxis.line=O()(e,"angleAxis.line",null),e.angleAxis.tickLine=O()(e,"angleAxis.tickLine",null)),Object(C.g)(e,"angleAxis","xAxis"),Object(C.g)(e,"radiusAxis","yAxis"),!1===O()(e,"tooltip.visible")&&A()(e,"tooltip",!1),!1===O()(e,"label.visible")&&A()(e,"label",!1),e})),Tt=n(482),Rt=function(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){var i=0;for(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},Dt=Object(u.a)(Tt.Liquid,"LiquidChart",(function(t){var e=Object(C.c)(t),n=(e.range,e.min),r=void 0===n?0:n,i=e.max,o=void 0===i?1:i,s=e.value,c=Rt(e,["range","min","max","value"]);if(!Object(v.isNil)(s)){c.percent=s/(o-r);var l=Object(v.get)(c,"statistic.content.formatter");Object(v.deepMix)(c,{statistic:{content:{formatter:function(){return Object(v.isFunction)(l)&&l(s),s}}}})}var u=c.percent;return a()({data:u},c)})),Nt=n(483),Lt=Object(u.a)(Nt.Histogram,"HistogramChart"),Ft=Object(u.a)(at.Pie,"DonutChart",(function(t){var e=Object(C.c)(t);return a()({innerRadius:.8},e)})),Bt=n(484),zt=Object(u.a)(Bt.Waterfall,"WaterfallChart"),Vt=n(222),Gt=Object(u.a)(Vt.Scatter,"ScatterChart",(function(t){var e=Object(C.c)(t);O()(e,"pointSize")&&A()(e,"size",O()(e,"pointSize")),Object(C.g)(e,"xAxis","xAxis"),Object(C.g)(e,"yAxis","yAxis"),Object(C.e)(e,"quadrant");var n=O()(e,"quadrant.label");if(!O()(e,"quadrant.labels")&&n){var r=n.text,i=n.style;if(r&&r.length&&i){var o=r.map((function(t){return{style:i,content:t}}));A()(e,"quadrant.labels",o)}}if(!O()(e,"regressionLine")){var a=O()(e,"trendline");Object(v.isObject)(a)&&!1===O()(a,"visible")?A()(e,"regressionLine",null):A()(e,"regressionLine",a)}return e})),Wt=Object(u.a)(Vt.Scatter,"BubbleChart",(function(t){var e=Object(C.c)(t);return St()(O()(e,"pointSize"))||A()(e,"size",O()(e,"pointSize")),M()(!1,"BubbleChart \u56fe\u8868\u7c7b\u578b\u547d\u540d\u5df2\u53d8\u66f4\u4e3aScatter\uff0c\u8bf7\u4fee\u6539\u4e3a<ScatterChart />"),e})),Yt=n(485),Ht=n(32),Ut=n.n(Ht),Xt=Object(u.a)(Yt.Bullet,"BulletChart",(function(t){var e=Object(C.c)(t);return St()(O()(t,"measureSize"))||(M()(!1,"measureSize\u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528size.measure\u66ff\u4ee3"),A()(e,"size.measure",O()(t,"measureSize"))),St()(O()(t,"rangeSize"))||(M()(!1,"rangeSize\u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528size.range\u66ff\u4ee3"),A()(e,"size.range",O()(t,"rangeSize"))),St()(O()(t,"markerSize"))||(M()(!1,"markerSizee\u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528size.target\u66ff\u4ee3"),A()(e,"size.target",O()(t,"markerSize"))),St()(O()(t,"measureColors"))||(M()(!1,"measureColors\u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528color.measure\u66ff\u4ee3"),A()(e,"color.measure",O()(t,"measureColors"))),St()(O()(t,"rangeColors"))||(M()(!1,"rangeColors\u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528color.range\u66ff\u4ee3"),A()(e,"color.range",O()(t,"rangeColors"))),St()(O()(t,"markerColors"))||(M()(!1,"markerColors\u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528color.target\u66ff\u4ee3"),A()(e,"color.target",O()(t,"markerColors"))),St()(O()(t,"markerStyle"))||(M()(!1,"markerStyle\u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528bulletStyle.target\u66ff\u4ee3"),A()(e,"bulletStyle.target",O()(t,"markerStyle"))),St()(O()(t,"xAxis.line"))&&A()(e,"xAxis.line",!1),St()(O()(t,"yAxis"))&&A()(e,"yAxis",!1),St()(O()(t,"measureField"))&&A()(e,"measureField","measures"),St()(O()(t,"rangeField"))&&A()(e,"rangeField","ranges"),St()(O()(t,"targetField"))&&A()(e,"targetField","target"),Ut()(O()(t,"data.0.targets"))&&A()(e,"data.0.target",O()(t,"data.0.targets")[0]),St()(O()(t,"rangeMax"))||(M()(!1,"\u8be5\u5c5e\u6027\u5df2\u5e9f\u5f03\uff0c\u8bf7\u5728\u6570\u636e\u4e2d\u914d\u7f6erange\uff0c\u5e76\u914d\u7f6erangeField"),A()(e,"data.0.ranges",[O()(t,"rangeMax")])),e}));n(486).G2.registerShape("polygon","boundary-polygon",{draw:function(t,e){var n=e.addGroup(),r={stroke:"#fff",lineWidth:1,fill:t.color,paht:[]},i=t.points,o=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],["L",i[2].x,i[2].y],["L",i[3].x,i[3].y],["Z"]];if(r.path=this.parsePath(o),n.addShape("path",{attrs:r}),Object(v.get)(t,"data.lastWeek")){var a=[["M",i[2].x,i[2].y],["L",i[3].x,i[3].y]];n.addShape("path",{attrs:{path:this.parsePath(a),lineWidth:4,stroke:"#404040"}}),Object(v.get)(t,"data.lastDay")&&n.addShape("path",{attrs:{path:this.parsePath([["M",i[1].x,i[1].y],["L",i[2].x,i[2].y]]),lineWidth:4,stroke:"#404040"}})}return n}});var Zt=[{sourceKey:"colors",targetKey:"color",notice:"colors \u662f g2Plot@1.0 \u7684\u5c5e\u6027\uff0c\u8bf7\u4f7f\u7528 color \u5c5e\u6027\u66ff\u4ee3"},{sourceKey:"valueField",targetKey:"colorField",notice:"valueField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528colorField\u66ff\u4ee3"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField \u662f g2@1.0\u7684\u5c5e\u6027\uff0c\u5373\u5c06\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528yFeild\u66ff\u4ee3"}],qt=Object(u.a)(ct.Heatmap,"CalendarChart",(function(t){var e=Object(C.c)(t);return Object(C.f)(Zt,e),Object(v.isNil)(Object(v.get)(t,"shape"))&&Object(v.set)(e,"shape","boundary-polygon"),Object(v.isNil)(Object(v.get)(e,"xField"))&&Object(v.isNil)(Object(v.get)(e,"yField"))&&(Object(v.set)(e,"xField","week"),Object(v.set)(e,"meta.week",a()({type:"cat"},Object(v.get)(e,"meta.week",{}))),Object(v.set)(e,"yField","day"),Object(v.set)(e,"meta.day",{type:"cat",values:["Sun.","Mon.","Tues.","Wed.","Thur.","Fri.","Sat."]}),Object(v.set)(e,"reflect","y"),Object(v.set)(e,"xAxis",a()({tickLine:null,line:null,title:null,label:{offset:20,style:{fontSize:12,fill:"#bbb",textBaseline:"top"},formatter:function(t){return"2"==t?"MAY":"6"===t?"JUN":"10"==t?"JUL":"14"===t?"AUG":"18"==t?"SEP":"24"===t?"OCT":""}}},Object(v.get)(e,"xAxis",{})))),e})),Kt=n(487),Qt=function(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){var i=0;for(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},Jt=Object(u.a)(Kt.Gauge,"GaugeChart",(function(t){var e=Object(C.c)(t),n=e.range,r=e.min,i=e.max,o=e.value,s=Qt(e,["range","min","max","value"]);Object(v.isArray)(n)?(M()(!1,"range \u5e94\u5f53\u662f\u4e2a\u5bf9\u8c61\uff0c\u8bf7\u4fee\u6539\u914d\u7f6e\u3002"),Object(v.set)(s,"range.ticks",n),Object(v.set)(s,"range.color",Object(dt.getTheme)().colors10)):s.range=n;var c=Object(v.get)(s,"color");if(Object(v.isNil)(c)||(M()(!1,"\u8bf7\u901a\u8fc7\u914d\u7f6e\u5c5e\u6027range.color\u6765\u914d\u7f6e\u989c\u8272"),Object(v.set)(s,"range.color",c)),Object(v.isNil)(Object(v.get)(s,"indicator"))&&Object(v.set)(s,"indicator",{pointer:{style:{stroke:"#D0D0D0"}},pin:{style:{stroke:"#D0D0D0"}}}),Object(v.get)(s,"statistic.visible")&&Object(v.set)(s,"statistic.title",Object(v.get)(s,"statistic")),!Object(v.isNil)(r)&&!Object(v.isNil)(i)&&!Object(v.isNil)(o)){s.percent=o/(i-r);var l=Object(v.get)(s,"axis.label.formatter",(function(){return o}));Object(v.set)(s,"axis",{label:{formatter:function(){return Object(v.isFunction)(l)?l(o):o}}})}M()(!(Object(v.get)(s,"min")||Object(v.get)(s,"max")),"\u5c5e\u6027 `max` \u548c `min` \u4e0d\u63a8\u8350\u4f7f\u7528\uff0c \u8bf7\u76f4\u63a5\u914d\u7f6e\u5c5e\u6027range.ticks"),M()((Object(v.get)(s,"rangeSize")||Object(v.get)(s,"rangeStyle"),!1),"\u4e0d\u518d\u652f\u6301rangeSize\u3001rangeStyle\u3001rangeBackgroundStyle\u5c5e\u6027, \u8bf7\u67e5\u770b\u65b0\u7248\u4eea\u8868\u76d8\u914d\u7f6e\u6587\u6863\u3002");var u=Object(v.isNil)(s.percent)?o:s.percent;return a()({data:u},s)})),$t=function(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){var i=0;for(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},te=a()(a()({},i),r),ee=function(t){var e=t.chartName,n=(t.adapter||function(e){return{plotType:t.plotType||"Line",options:e}})($t(t,["chartName","adapter"]))||{},r=n.plotType,i=n.options,o=te[r];return o.displayName=e,o?c.a.createElement(o,a()({},i)):c.a.createElement("div",{style:{color:"#aaa"}},"\u4e0d\u5b58\u5728plotName=\uff1a","".concat(r),"\u7684Plot\u7ec4\u4ef6")};ee.registerPlot=function(t,e){M()(!te[t],"%s\u7684plot\u5df2\u5b58\u5728",t),te[t]=e};var ne=ee},function(t,e,n){"use strict";var r={};n.r(r),n.d(r,"easeLinear",(function(){return _})),n.d(r,"easeQuad",(function(){return E})),n.d(r,"easeQuadIn",(function(){return k})),n.d(r,"easeQuadOut",(function(){return j})),n.d(r,"easeQuadInOut",(function(){return E})),n.d(r,"easeCubic",(function(){return T})),n.d(r,"easeCubicIn",(function(){return P})),n.d(r,"easeCubicOut",(function(){return M})),n.d(r,"easeCubicInOut",(function(){return T})),n.d(r,"easePoly",(function(){return N})),n.d(r,"easePolyIn",(function(){return R})),n.d(r,"easePolyOut",(function(){return D})),n.d(r,"easePolyInOut",(function(){return N})),n.d(r,"easeSin",(function(){return V})),n.d(r,"easeSinIn",(function(){return B})),n.d(r,"easeSinOut",(function(){return z})),n.d(r,"easeSinInOut",(function(){return V})),n.d(r,"easeExp",(function(){return H})),n.d(r,"easeExpIn",(function(){return W})),n.d(r,"easeExpOut",(function(){return Y})),n.d(r,"easeExpInOut",(function(){return H})),n.d(r,"easeCircle",(function(){return Z})),n.d(r,"easeCircleIn",(function(){return U})),n.d(r,"easeCircleOut",(function(){return X})),n.d(r,"easeCircleInOut",(function(){return Z})),n.d(r,"easeBounce",(function(){return J})),n.d(r,"easeBounceIn",(function(){return Q})),n.d(r,"easeBounceOut",(function(){return J})),n.d(r,"easeBounceInOut",(function(){return $})),n.d(r,"easeBack",(function(){return rt})),n.d(r,"easeBackIn",(function(){return et})),n.d(r,"easeBackOut",(function(){return nt})),n.d(r,"easeBackInOut",(function(){return rt})),n.d(r,"easeElastic",(function(){return at})),n.d(r,"easeElasticIn",(function(){return ot})),n.d(r,"easeElasticOut",(function(){return at})),n.d(r,"easeElasticInOut",(function(){return st}));var i=n(1),o=n(163),a=n(206),s=n(31),c=n(0);function l(t){return(l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u,g,f=0,d=0,h=0,p=0,A=0,C=0,v="object"===("undefined"===typeof performance?"undefined":l(performance))&&performance.now?performance:Date,I="object"===("undefined"===typeof window?"undefined":l(window))&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function y(){return A||(I(m),A=v.now()+C)}function m(){A=0}function b(){this._call=this._time=this._next=null}function x(t,e,n){var r=new b;return r.restart(t,e,n),r}function w(){A=(p=v.now())+C,f=d=0;try{!function(){y(),++f;for(var t,e=u;e;)(t=A-e._time)>=0&&e._call.call(null,t),e=e._next;--f}()}finally{f=0,function(){for(var t,e,n=u,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:u=e);g=t,S(r)}(),A=0}}function O(){var t=v.now(),e=t-p;e>1e3&&(C-=e,p=t)}function S(t){f||(d&&(d=clearTimeout(d)),t-A>24?(t<1/0&&(d=setTimeout(w,t-v.now()-C)),h&&(h=clearInterval(h))):(h||(p=v.now(),h=setInterval(O,1e3)),f=1,I(w)))}function _(t){return+t}function k(t){return t*t}function j(t){return t*(2-t)}function E(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function P(t){return t*t*t}function M(t){return--t*t*t+1}function T(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}b.prototype=x.prototype={constructor:b,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?y():+n)+(null==e?0:+e),this._next||g===this||(g?g._next=this:u=this,g=this),this._call=t,this._time=n,S()},stop:function(){this._call&&(this._call=null,this._time=1/0,S())}};var R=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),D=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),N=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),L=Math.PI,F=L/2;function B(t){return 1===+t?1:1-Math.cos(t*F)}function z(t){return Math.sin(t*F)}function V(t){return(1-Math.cos(L*t))/2}function G(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function W(t){return G(1-+t)}function Y(t){return 1-G(t)}function H(t){return((t*=2)<=1?G(1-t):2-G(t-1))/2}function U(t){return 1-Math.sqrt(1-t*t)}function X(t){return Math.sqrt(1- --t*t)}function Z(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var q=4/11,K=7.5625;function Q(t){return 1-J(1-t)}function J(t){return(t=+t)<q?K*t*t:t<.7272727272727273?K*(t-=.5454545454545454)*t+.75:t<.9090909090909091?K*(t-=.8181818181818182)*t+.9375:K*(t-=.9545454545454546)*t+.984375}function $(t){return((t*=2)<=1?1-J(1-t):J(t-1)+1)/2}var tt=1.70158,et=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(tt),nt=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(tt),rt=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(tt),it=2*Math.PI,ot=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=it);function i(t){return e*G(- --t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*it)},i.period=function(n){return t(e,n)},i}(1,.3),at=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=it);function i(t){return 1-e*G(t=+t)*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*it)},i.period=function(n){return t(e,n)},i}(1,.3),st=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=it);function i(t){return((t=2*t-1)<0?e*G(-t)*Math.sin((r-t)/n):2-e*G(t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*it)},i.period=function(n){return t(e,n)},i}(1,.3),ct=n(149);function lt(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}var ut=function(t){return function(){return t}};function gt(t,e){return function(n){return t+n*e}}function ft(t){return 1===(t=+t)?dt:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):ut(isNaN(e)?n:e)}}function dt(t,e){var n=e-t;return n?gt(t,n):ut(isNaN(t)?e:t)}var ht=function t(e){var n=ft(e);function r(t,e){var r=n((t=Object(ct.b)(t)).r,(e=Object(ct.b)(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=dt(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function pt(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=Object(ct.b)(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}pt((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return lt((n-r/e)*e,a,i,o,s)}})),pt((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return lt((n-r/e)*e,i,o,a,s)}}));var At=function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}};function Ct(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function vt(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=_t(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}var It=function(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}},yt=function(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}};function mt(t){return(mt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var bt=function(t,e){var n,r={},i={};for(n in null!==t&&"object"===mt(t)||(t={}),null!==e&&"object"===mt(e)||(e={}),e)n in t?r[n]=_t(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}},xt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,wt=new RegExp(xt.source,"g"),Ot=function(t,e){var n,r,i,o=xt.lastIndex=wt.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=xt.exec(t))&&(r=wt.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:yt(n,r)})),o=wt.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})};function St(t){return(St="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var _t=function(t,e){var n,r=St(e);return null==e||"boolean"===r?ut(e):("number"===r?yt:"string"===r?(n=Object(ct.a)(e))?(e=n,ht):Ot:e instanceof ct.a?ht:e instanceof Date?It:Ct(e)?At:Array.isArray(e)?vt:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?bt:yt)(t,e)},kt=n(94),jt=[1,0,0,0,1,0,0,0,1];function Et(t,e,n){var i,o=e.startTime;if(n<o+e.delay||e._paused)return!1;var a=e.duration,s=e.easing;if(n=n-o-e.delay,e.repeat)i=n%a/a,i=r[s](i);else{if(!((i=n/a)<1))return e.onFrame?t.attr(e.onFrame(1)):t.attr(e.toAttrs),!0;i=r[s](i)}if(e.onFrame){var l=e.onFrame(i);t.attr(l)}else!function(t,e,n){var r={},i=e.fromAttrs,o=e.toAttrs;if(!t.destroyed){var a,s,l,u;for(var g in o)if(!Object(c.isEqual)(i[g],o[g]))if("path"===g){var f=o[g],d=i[g];f.length>d.length?(f=kt.parsePathString(o[g]),d=kt.parsePathString(i[g]),d=kt.fillPathByDiff(d,f),d=kt.formatPath(d,f),e.fromAttrs.path=d,e.toAttrs.path=f):e.pathFormatted||(f=kt.parsePathString(o[g]),d=kt.parsePathString(i[g]),d=kt.formatPath(d,f),e.fromAttrs.path=d,e.toAttrs.path=f,e.pathFormatted=!0),r[g]=[];for(var h=0;h<f.length;h++){for(var p=f[h],A=d[h],C=[],v=0;v<p.length;v++)Object(c.isNumber)(p[v])&&A&&Object(c.isNumber)(A[v])?(a=_t(A[v],p[v]),C.push(a(n))):C.push(p[v]);r[g].push(C)}}else if("matrix"===g){var I=(l=i[g]||jt,(Ct(u=o[g]||jt)?At:vt)(l,u))(n);r[g]=I}else["fill","stroke","fillStyle","strokeStyle"].includes(g)&&(s=o[g],/^[r,R,L,l]{1}[\s]*\(/.test(s))?r[g]=o[g]:Object(c.isFunction)(o[g])||(a=_t(i[g],o[g]),r[g]=a(n));t.attr(r)}}(t,e,i);return!1}var Pt=function(){function t(t){this.animators=[],this.current=0,this.timer=null,this.canvas=t}return t.prototype.initTimer=function(){var t,e,n,r=this;this.timer=x((function(i){if(r.current=i,r.animators.length>0){for(var o=r.animators.length-1;o>=0;o--)if((t=r.animators[o]).destroyed)r.removeAnimator(o);else{if(!t.isAnimatePaused())for(var a=(e=t.get("animations")).length-1;a>=0;a--)n=e[a],Et(t,n,i)&&(e.splice(a,1),n.callback&&n.callback());0===e.length&&r.removeAnimator(o)}r.canvas.get("autoDraw")||r.canvas.draw()}}))},t.prototype.addAnimator=function(t){this.animators.push(t)},t.prototype.removeAnimator=function(t){this.animators.splice(t,1)},t.prototype.isAnimating=function(){return!!this.animators.length},t.prototype.stop=function(){this.timer&&this.timer.stop()},t.prototype.stopAllAnimations=function(t){void 0===t&&(t=!0),this.animators.forEach((function(e){e.stopAnimate(t)})),this.animators=[],this.canvas.draw()},t.prototype.getTime=function(){return this.current},t}(),Mt=n(182),Tt=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function Rt(t,e,n){n.name=e,n.target=t,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}function Dt(t,e,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===e?(r=n.fromShape,i=!0):"mouseleave"===e&&(i=!0,r=n.toShape),t.isCanvas()&&i)return;if(r&&Object(s.g)(t,r))return void(n.bubbles=!1);n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}var Nt=function(){function t(t){var e=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(t){var n=t.type;e._triggerEvent(n,t)},this._onDocumentMove=function(t){if(e.canvas.get("el")!==t.target&&(e.dragging||e.currentShape)){var n=e._getPointInfo(t);e.dragging&&e._emitEvent("drag",t,n,e.draggingShape)}},this._onDocumentMouseUp=function(t){if(e.canvas.get("el")!==t.target&&e.dragging){var n=e._getPointInfo(t);e.draggingShape&&e._emitEvent("drop",t,n,null),e._emitEvent("dragend",t,n,e.draggingShape),e._afterDrag(e.draggingShape,n,t)}},this.canvas=t.canvas}return t.prototype.init=function(){this._bindEvents()},t.prototype._bindEvents=function(){var t=this,e=this.canvas.get("el");Object(s.a)(Tt,(function(n){e.addEventListener(n,t._eventCallback)})),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._clearEvents=function(){var t=this,e=this.canvas.get("el");Object(s.a)(Tt,(function(n){e.removeEventListener(n,t._eventCallback)})),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._getEventObj=function(t,e,n,r,i,o){var a=new Mt.a(t,e);return a.fromShape=i,a.toShape=o,a.x=n.x,a.y=n.y,a.clientX=n.clientX,a.clientY=n.clientY,a.propagationPath.push(r),a},t.prototype._getShape=function(t,e){return this.canvas.getShape(t.x,t.y,e)},t.prototype._getPointInfo=function(t){var e=this.canvas,n=e.getClientByEvent(t),r=e.getPointByEvent(t);return{x:r.x,y:r.y,clientX:n.x,clientY:n.y}},t.prototype._triggerEvent=function(t,e){var n=this._getPointInfo(e),r=this._getShape(n,e),i=this["_on"+t],o=!1;if(i)i.call(this,n,r,e);else{var a=this.currentShape;"mouseenter"===t||"dragenter"===t||"mouseover"===t?(this._emitEvent(t,e,n,null,null,r),r&&this._emitEvent(t,e,n,r,null,r),"mouseenter"===t&&this.draggingShape&&this._emitEvent("dragenter",e,n,null)):"mouseleave"===t||"dragleave"===t||"mouseout"===t?(o=!0,a&&this._emitEvent(t,e,n,a,a,null),this._emitEvent(t,e,n,null,a,null),"mouseleave"===t&&this.draggingShape&&this._emitEvent("dragleave",e,n,null)):this._emitEvent(t,e,n,r,null,null)}if(o||(this.currentShape=r),r&&!r.get("destroyed")){var s=this.canvas;s.get("el").style.cursor=r.attr("cursor")||s.get("cursor")}},t.prototype._onmousedown=function(t,e,n){0===n.button&&(this.mousedownShape=e,this.mousedownPoint=t,this.mousedownTimeStamp=n.timeStamp),this._emitEvent("mousedown",n,t,e,null,null)},t.prototype._emitMouseoverEvents=function(t,e,n,r){var i=this.canvas.get("el");n!==r&&(n&&(this._emitEvent("mouseout",t,e,n,n,r),this._emitEvent("mouseleave",t,e,n,n,r),r&&!r.get("destroyed")||(i.style.cursor=this.canvas.get("cursor"))),r&&(this._emitEvent("mouseover",t,e,r,n,r),this._emitEvent("mouseenter",t,e,r,n,r)))},t.prototype._emitDragoverEvents=function(t,e,n,r,i){r?(r!==n&&(n&&this._emitEvent("dragleave",t,e,n,n,r),this._emitEvent("dragenter",t,e,r,n,r)),i||this._emitEvent("dragover",t,e,r)):n&&this._emitEvent("dragleave",t,e,n,n,r),i&&this._emitEvent("dragover",t,e,r)},t.prototype._afterDrag=function(t,e,n){t&&(t.set("capture",!0),this.draggingShape=null),this.dragging=!1;var r=this._getShape(e,n);r!==t&&this._emitMouseoverEvents(n,e,t,r),this.currentShape=r},t.prototype._onmouseup=function(t,e,n){if(0===n.button){var r=this.draggingShape;this.dragging?(r&&this._emitEvent("drop",n,t,e),this._emitEvent("dragend",n,t,r),this._afterDrag(r,t,n)):(this._emitEvent("mouseup",n,t,e),e===this.mousedownShape&&this._emitEvent("click",n,t,e),this.mousedownShape=null,this.mousedownPoint=null)}},t.prototype._ondragover=function(t,e,n){n.preventDefault();var r=this.currentShape;this._emitDragoverEvents(n,t,r,e,!0)},t.prototype._onmousemove=function(t,e,n){var r=this.canvas,i=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(n,t,i,e,!1),this._emitEvent("drag",n,t,o);else{var a=this.mousedownPoint;if(a){var s=this.mousedownShape,c=n.timeStamp-this.mousedownTimeStamp,l=a.clientX-t.clientX,u=a.clientY-t.clientY;c>120||l*l+u*u>40?s&&s.get("draggable")?((o=this.mousedownShape).set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",n,t,o),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e))}else this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)}},t.prototype._emitEvent=function(t,e,n,r,i,o){var a=this._getEventObj(t,e,n,r,i,o);if(r){a.shape=r,Rt(r,t,a);for(var s=r.getParent();s;)s.emitDelegation(t,a),a.propagationStopped||Dt(s,t,a),a.propagationPath.push(s),s=s.getParent()}else Rt(this.canvas,t,a)},t.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t}(),Lt=Object(o.detect)(),Ft=Lt&&"firefox"===Lt.name,Bt=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return Object(i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.cursor="default",e.supportCSSTransform=!1,e},e.prototype.initContainer=function(){var t=this.get("container");Object(s.h)(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t),this.get("container").appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new Nt({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new Pt(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,e){var n=this.get("el");s.c&&(n.style.width=t+"px",n.style.height=e+"px")},e.prototype.changeSize=function(t,e){this.setDOMSize(t,e),this.set("width",t),this.set("height",e),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var e=this.get("el");s.c&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){if(this.get("supportCSSTransform")){if(Ft&&!Object(s.e)(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!Object(s.e)(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var e=this.getClientByEvent(t),n=e.x,r=e.y;return this.getPointByClient(n,r)},e.prototype.getClientByEvent=function(t){var e=t;return t.touches&&(e="touchend"===t.type?t.changedTouches[0]:t.touches[0]),{x:e.clientX,y:e.clientY}},e.prototype.getPointByClient=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t-n.left,y:e-n.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t+n.left,y:e+n.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){this.get("eventController").destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),t.prototype.destroy.call(this))},e}(a.a);e.a=Bt},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(3),a=n(2),s=n(0);function c(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"===typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function u(t,e){var n=0;if(void 0===e){var r,i=c(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;(o=+o)&&(n+=o)}}catch(g){i.e(g)}finally{i.f()}}else{var a,s=-1,l=c(t);try{for(l.s();!(a=l.n()).done;){var u=a.value;(u=+e(u,++s,t))&&(n+=u)}}catch(g){l.e(g)}finally{l.f()}}return n}function g(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"===typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function d(t,e){var n;if(void 0===e){var r,i=g(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(n<o||void 0===n&&o>=o)&&(n=o)}}catch(u){i.e(u)}finally{i.f()}}else{var a,s=-1,c=g(t);try{for(c.s();!(a=c.n()).done;){var l=a.value;null!=(l=e(l,++s,t))&&(n<l||void 0===n&&l>=l)&&(n=l)}}catch(u){c.e(u)}finally{c.f()}}return n}function h(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"===typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(t,e):void 0}}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function A(t,e){var n;if(void 0===e){var r,i=h(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(n>o||void 0===n&&o>=o)&&(n=o)}}catch(u){i.e(u)}finally{i.f()}}else{var a,s=-1,c=h(t);try{for(c.s();!(a=c.n()).done;){var l=a.value;null!=(l=e(l,++s,t))&&(n>l||void 0===n&&l>=l)&&(n=l)}}catch(u){c.e(u)}finally{c.f()}}return n}function C(t){return t.target.depth}function v(t,e){return t.sourceLinks.length?t.depth:e-1}function I(t){return function(){return t}}function y(t){return(y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||x(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=x(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function x(t,e){if(t){if("string"===typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function O(t,e){return _(t.source,e.source)||t.index-e.index}function S(t,e){return _(t.target,e.target)||t.index-e.index}function _(t,e){return t.y0-e.y0}function k(t){return t.value}function j(t){return t.index}function E(t){return t.nodes}function P(t){return t.links}function M(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function T(t){var e,n=b(t.nodes);try{for(n.s();!(e=n.n()).done;){var r,i=e.value,o=i.y0,a=o,s=b(i.sourceLinks);try{for(s.s();!(r=s.n()).done;){var c=r.value;c.y0=o+c.width/2,o+=c.width}}catch(f){s.e(f)}finally{s.f()}var l,u=b(i.targetLinks);try{for(u.s();!(l=u.n()).done;){var g=l.value;g.y1=a+g.width/2,a+=g.width}}catch(f){u.e(f)}finally{u.f()}}}catch(f){n.e(f)}finally{n.f()}}function R(){var t,e,n,r=0,i=0,o=1,a=1,s=24,c=8,l=j,g=v,f=E,h=P,p=6;function C(){var t={nodes:f.apply(null,arguments),links:h.apply(null,arguments)};return x(t),w(t),R(t),D(t),N(t),T(t),t}function x(t){var e,r=t.nodes,i=t.links,o=b(r.entries());try{for(o.s();!(e=o.n()).done;){var a=m(e.value,2),s=a[0],c=a[1];c.index=s,c.sourceLinks=[],c.targetLinks=[]}}catch(S){o.e(S)}finally{o.f()}var u,g=new Map(r.map((function(t,e){return[l(t,e,r),t]}))),f=b(i.entries());try{for(f.s();!(u=f.n()).done;){var d=m(u.value,2),h=d[0],p=d[1];p.index=h;var A=p.source,C=p.target;"object"!==y(A)&&(A=p.source=M(g,A)),"object"!==y(C)&&(C=p.target=M(g,C)),A.sourceLinks.push(p),C.targetLinks.push(p)}}catch(S){f.e(S)}finally{f.f()}if(null!=n){var v,I=b(r);try{for(I.s();!(v=I.n()).done;){var x=v.value,w=x.sourceLinks,O=x.targetLinks;w.sort(n),O.sort(n)}}catch(S){I.e(S)}finally{I.f()}}}function w(t){var e,n=b(t.nodes);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.value=void 0===r.fixedValue?Math.max(u(r.sourceLinks,k),u(r.targetLinks,k)):r.fixedValue}}catch(i){n.e(i)}finally{n.f()}}function R(t){for(var e=t.nodes,n=e.length,r=new Set(e),i=new Set,o=0;r.size;){var a,s=b(r);try{for(s.s();!(a=s.n()).done;){var c=a.value;c.depth=o;var l,u=b(c.sourceLinks);try{for(u.s();!(l=u.n()).done;){var g=l.value.target;i.add(g)}}catch(f){u.e(f)}finally{u.f()}}}catch(f){s.e(f)}finally{s.f()}if(++o>n)throw new Error("circular link");r=i,i=new Set}}function D(t){for(var e=t.nodes,n=e.length,r=new Set(e),i=new Set,o=0;r.size;){var a,s=b(r);try{for(s.s();!(a=s.n()).done;){var c=a.value;c.height=o;var l,u=b(c.targetLinks);try{for(u.s();!(l=u.n()).done;){var g=l.value.source;i.add(g)}}catch(f){u.e(f)}finally{u.f()}}}catch(f){s.e(f)}finally{s.f()}if(++o>n)throw new Error("circular link");r=i,i=new Set}}function N(n){var l=function(t){var n,i=t.nodes,a=d(i,(function(t){return t.depth}))+1,c=(o-r-s)/(a-1),l=new Array(a),u=b(i);try{for(u.s();!(n=u.n()).done;){var f=n.value,h=Math.max(0,Math.min(a-1,Math.floor(g.call(null,f,a))));f.layer=h,f.x0=r+h*c,f.x1=f.x0+s,l[h]?l[h].push(f):l[h]=[f]}}catch(C){u.e(C)}finally{u.f()}if(e){var p,A=b(l);try{for(A.s();!(p=A.n()).done;)p.value.sort(e)}catch(C){A.e(C)}finally{A.f()}}return l}(n);t=Math.min(c,(a-i)/(d(l,(function(t){return t.length}))-1)),function(e){var n,r=A(e,(function(e){return(a-i-(e.length-1)*t)/u(e,k)})),o=b(e);try{for(o.s();!(n=o.n()).done;){var s,c=n.value,l=i,g=b(c);try{for(g.s();!(s=g.n()).done;){var f=s.value;f.y0=l,f.y1=l+f.value*r,l=f.y1+t;var d,h=b(f.sourceLinks);try{for(h.s();!(d=h.n()).done;){var p=d.value;p.width=p.value*r}}catch(I){h.e(I)}finally{h.f()}}}catch(I){g.e(I)}finally{g.f()}l=(a-l+t)/(c.length+1);for(var C=0;C<c.length;++C){var v=c[C];v.y0+=l*(C+1),v.y1+=l*(C+1)}W(c)}}catch(I){o.e(I)}finally{o.f()}}(l);for(var f=0;f<p;++f){var h=Math.pow(.99,f),C=Math.max(1-h,(f+1)/p);F(l,h,C),L(l,h,C)}}function L(t,n,r){for(var i=1,o=t.length;i<o;++i){var a,s=t[i],c=b(s);try{for(c.s();!(a=c.n()).done;){var l,u=a.value,g=0,f=0,d=b(u.targetLinks);try{for(d.s();!(l=d.n()).done;){var h=l.value,p=h.source,A=h.value*(u.layer-p.layer);g+=Y(p,u)*A,f+=A}}catch(v){d.e(v)}finally{d.f()}if(f>0){var C=(g/f-u.y0)*n;u.y0+=C,u.y1+=C,G(u)}}}catch(v){c.e(v)}finally{c.f()}void 0===e&&s.sort(_),B(s,r)}}function F(t,n,r){for(var i=t.length-2;i>=0;--i){var o,a=t[i],s=b(a);try{for(s.s();!(o=s.n()).done;){var c,l=o.value,u=0,g=0,f=b(l.sourceLinks);try{for(f.s();!(c=f.n()).done;){var d=c.value,h=d.target,p=d.value*(h.layer-l.layer);u+=H(l,h)*p,g+=p}}catch(C){f.e(C)}finally{f.f()}if(g>0){var A=(u/g-l.y0)*n;l.y0+=A,l.y1+=A,G(l)}}}catch(C){s.e(C)}finally{s.f()}void 0===e&&a.sort(_),B(a,r)}}function B(e,n){var r=e.length>>1,o=e[r];V(e,o.y0-t,r-1,n),z(e,o.y1+t,r+1,n),V(e,a,e.length-1,n),z(e,i,0,n)}function z(e,n,r,i){for(;r<e.length;++r){var o=e[r],a=(n-o.y0)*i;a>1e-6&&(o.y0+=a,o.y1+=a),n=o.y1+t}}function V(e,n,r,i){for(;r>=0;--r){var o=e[r],a=(o.y1-n)*i;a>1e-6&&(o.y0-=a,o.y1-=a),n=o.y0-t}}function G(t){var e=t.sourceLinks,r=t.targetLinks;if(void 0===n){var i,o=b(r);try{for(o.s();!(i=o.n()).done;)i.value.source.sourceLinks.sort(S)}catch(c){o.e(c)}finally{o.f()}var a,s=b(e);try{for(s.s();!(a=s.n()).done;)a.value.target.targetLinks.sort(O)}catch(c){s.e(c)}finally{s.f()}}}function W(t){if(void 0===n){var e,r=b(t);try{for(r.s();!(e=r.n()).done;){var i=e.value,o=i.sourceLinks,a=i.targetLinks;o.sort(S),a.sort(O)}}catch(s){r.e(s)}finally{r.f()}}}function Y(e,n){var r,i=e.y0-(e.sourceLinks.length-1)*t/2,o=b(e.sourceLinks);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.target,c=a.width;if(s===n)break;i+=c+t}}catch(h){o.e(h)}finally{o.f()}var l,u=b(n.targetLinks);try{for(u.s();!(l=u.n()).done;){var g=l.value,f=g.source,d=g.width;if(f===e)break;i-=d}}catch(h){u.e(h)}finally{u.f()}return i}function H(e,n){var r,i=n.y0-(n.targetLinks.length-1)*t/2,o=b(n.targetLinks);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.source,c=a.width;if(s===e)break;i+=c+t}}catch(h){o.e(h)}finally{o.f()}var l,u=b(e.sourceLinks);try{for(u.s();!(l=u.n()).done;){var g=l.value,f=g.target,d=g.width;if(f===n)break;i-=d}}catch(h){u.e(h)}finally{u.f()}return i}return C.update=function(t){return T(t),t},C.nodeId=function(t){return arguments.length?(l="function"===typeof t?t:I(t),C):l},C.nodeAlign=function(t){return arguments.length?(g="function"===typeof t?t:I(t),C):g},C.nodeSort=function(t){return arguments.length?(e=t,C):e},C.nodeWidth=function(t){return arguments.length?(s=+t,C):s},C.nodePadding=function(e){return arguments.length?(c=t=+e,C):c},C.nodes=function(t){return arguments.length?(f="function"===typeof t?t:I(t),C):f},C.links=function(t){return arguments.length?(h="function"===typeof t?t:I(t),C):h},C.linkSort=function(t){return arguments.length?(n=t,C):n},C.size=function(t){return arguments.length?(r=i=0,o=+t[0],a=+t[1],C):[o-r,a-i]},C.extent=function(t){return arguments.length?(r=+t[0][0],o=+t[1][0],i=+t[0][1],a=+t[1][1],C):[[r,i],[o,a]]},C.iterations=function(t){return arguments.length?(p=+t,C):p},C}var D=Math.PI,N=2*D,L=1e-6,F=N-L;function B(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function z(){return new B}B.prototype=z.prototype={constructor:B,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,s=n-t,c=r-e,l=o-t,u=a-e,g=l*l+u*u;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(g>L)if(Math.abs(u*s-c*l)>L&&i){var f=n-o,d=r-a,h=s*s+c*c,p=f*f+d*d,A=Math.sqrt(h),C=Math.sqrt(g),v=i*Math.tan((D-Math.acos((h+g-p)/(2*A*C)))/2),I=v/C,y=v/A;Math.abs(I-1)>L&&(this._+="L"+(t+I*l)+","+(e+I*u)),this._+="A"+i+","+i+",0,0,"+ +(u*f>l*d)+","+(this._x1=t+y*s)+","+(this._y1=e+y*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),c=t+a,l=e+s,u=1^o,g=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>L||Math.abs(this._y1-l)>L)&&(this._+="L"+c+","+l),n&&(g<0&&(g=g%N+N),g>F?this._+="A"+n+","+n+",0,1,"+u+","+(t-a)+","+(e-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=c)+","+(this._y1=l):g>L&&(this._+="A"+n+","+n+",0,"+ +(g>=D)+","+u+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},Array.prototype.slice;var V={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?A(t.sourceLinks,C)-1:0},justify:v},G={nodeId:function(t){return t.index},nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodeSort:void 0};function W(t,e){var n=function(t){return Object(s.assign)({},G,t)}(t),r=n.nodeId,i=n.nodeSort,o=n.nodeAlign,a=n.nodeWidth,c=n.nodePadding,l=R().nodeSort(i).links((function(t){return t.links})).nodeWidth(a).nodePadding(c).nodeAlign(function(t){return(Object(s.isString)(t)?V[t]:Object(s.isFunction)(t)?t:null)||v}(o)).extent([[0,0],[1,1]]).nodeId(r)(e);return l.nodes.forEach((function(t){var e=t.x0,n=t.x1,r=t.y0,i=t.y1;t.x=[e,n,n,e],t.y=[r,r,i,i]})),l.links.forEach((function(t){var e=t.source,n=t.target,r=e.x1,i=n.x0;t.x=[r,r,i,i];var o=t.width/2;t.y=[t.y0+o,t.y0-o,t.y1+o,t.y1-o]})),l}var Y=n(16),H=n(68),U="name";function X(t,e,n){return 0!==Object(s.size)(e)&&(!!e.includes(n)||e.some((function(e){return X(t,t.get(e),n)})))}function Z(t,e,n){var r=[],i=[],o=new Map;return Object(s.each)(t,(function(t){var a=t[e],s=t[n];X(o,[a],s)?i.push(t):(r.push(t),o.has(s)||o.set(s,[]),o.get(s).push(a))})),0!==i.length&&console.warn("sankey data contains circle, "+i.length+" records removed.",i),r}function q(t){var e=t.chart,n=t.options,r=n.data,i=n.sourceField,o=n.targetField,a=n.weightField,s=n.color,c=n.nodeStyle,l=n.edgeStyle,u=n.label,g=n.tooltip,f=n.nodeAlign,d=n.nodePaddingRatio,h=n.nodeWidthRatio,p=n.nodeSort;e.legend(!1),e.tooltip(g),e.axis(!1);var A=W({nodeAlign:f,nodePadding:d,nodeWidth:h,nodeSort:p},Object(H.b)(Z(r,i,o),i,o,a)),C=A.nodes,v=A.links,I=C.map((function(t){return{x:t.x,y:t.y,name:t.name}})),y=v.map((function(t){return{source:t.source.name,target:t.target.name,name:t.source.name||t.target.name,x:t.x,y:t.y,value:t.value}})),m=e.createView();m.data(I),Object(Y.f)({chart:m,options:{xField:"x",yField:"y",seriesField:U,polygon:{color:s,style:c},label:u,tooltip:!1}});var b=e.createView();return b.data(y),Object(Y.b)({chart:b,options:{xField:"x",yField:"y",seriesField:U,edge:{color:s,style:l,shape:"arc"},tooltip:g,state:{active:{style:{opacity:.8,lineWidth:0}}}}}),e.interaction("element-active"),e.scale({x:{sync:!0,nice:!0},y:{sync:!0,nice:!0},name:{sync:"color"}}),t}function K(t){return Object(a.e)(q,o.c,o.a,o.j)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="sankey",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:8,syncViewPadding:!0,nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.3,lineWidth:0},label:{fields:["x","name"],callback:function(t,e){var n=1===t[1];return{style:{fill:"#545454",textAlign:n?"end":"start"},offsetX:n?-8:8,content:e}},layout:[{type:"hide-overlap"}]},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value"],formatter:function(t){return{name:t.source+" -> "+t.target,value:t.value}}},nodeWidthRatio:.008,nodePaddingRatio:.01}},e.prototype.getSchemaAdaptor=function(){return K}}(i.a)},function(t,e,n){"use strict";n.r(e),n.d(e,"Canvas",(function(){return R})),n.d(e,"Group",(function(){return Q})),n.d(e,"Circle",(function(){return st})),n.d(e,"Ellipse",(function(){return ut})),n.d(e,"Image",(function(){return dt})),n.d(e,"Line",(function(){return At})),n.d(e,"Marker",(function(){return It})),n.d(e,"Path",(function(){return bt})),n.d(e,"Polygon",(function(){return Ot})),n.d(e,"Polyline",(function(){return kt})),n.d(e,"Rect",(function(){return Pt})),n.d(e,"Text",(function(){return Rt})),n.d(e,"render",(function(){return Dt}));var r=n(466),i=n.n(r),o=n(4),a=n.n(o),s=n(37),c={},l={getRootHostContext:function(){},getChildHostContext:function(){},createInstance:function(){},finalizeInitialChildren:function(){return!1},hideTextInstance:function(){},getPublicInstance:function(t){return t},hideInstance:function(){},unhideInstance:function(){},createTextInstance:function(){},prepareUpdate:function(){return c},shouldDeprioritizeSubtree:function(){return!1},appendInitialChild:function(){},appendChildToContainer:function(){},removeChildFromContainer:function(){},prepareForCommit:function(){},resetAfterCommit:function(){},shouldSetTextContent:function(){return!1},supportsMutation:!0,appendChild:function(){}},u=i()(l),g={render:function(t,e){e.clear&&e.clear();var n=u.createContainer(e,0,!1);return u.updateContainer(function(t,e){return a.a.createElement(s.a.Provider,{value:e},a.a.createElement(a.a.Fragment,null,t))}(t,e),n,null,(function(){})),u.getPublicRootInstance(n)}},f=n(11),d=n.n(f),h=n(12),p=n.n(h),A=n(6),C=n.n(A),v=n(5),I=n.n(v),y=n(8),m=n.n(y),b=n(35),x=n.n(b),w=n(188),O=n(271),S=n(141),_=n(79),k=a.a.createContext(null);k.displayName="CanvasContext";var j=k;function E(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var P=function(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){var i=0;for(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},M=function(){function t(){m()(this,t)}return x()(t,[{key:"createInstance",value:function(t){t.children;var e=t.renderer,n=P(t,["children","renderer"]);this.instance="svg"===e?new O.Canvas(I()({},n)):new w.Canvas(I()({},n))}},{key:"update",value:function(t){this.instance||this.createInstance(t)}},{key:"draw",value:function(){this.instance&&this.instance.draw()}},{key:"destory",value:function(){this.instance&&(this.instance.remove(),this.instance=null)}}]),t}(),T=function(t){d()(n,t);var e=E(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new M,r}return x()(n,[{key:"componentDidMount",value:function(){this.helper.draw()}},{key:"componentWillUnmount",value:function(){this.helper.destory()}},{key:"getInstance",value:function(){return this.helper.instance}},{key:"render",value:function(){return this.helper.update(this.props),a.a.createElement(_.b,I()({},this.props.ErrorBoundaryProps),a.a.createElement(j.Provider,{value:this.helper},a.a.createElement(s.a.Provider,{value:this.helper.instance},a.a.createElement(a.a.Fragment,null,this.props.children))))}}]),n}(a.a.Component),R=Object(S.a)(T),D=n(57),N=n.n(D),L=n(85),F=n.n(L),B=n(36),z=n.n(B),V=n(216),G=n.n(V),W=n(32),Y=n.n(W),H=n(117),U=n.n(H),X={onClick:"click",onMousedown:"mousedown",onMouseup:"mouseup",onDblclick:"dblclick",onMouseout:"mouseout",onMouseover:"mouseover",onMousemove:"mousemove",onMouseleave:"mouseleave",onMouseenter:"mouseenter",onTouchstart:"touchstart",onTouchmove:"touchmove",onTouchend:"touchend",onDragenter:"dragenter",onDragover:"dragover",onDragleave:"dragleave",onDrop:"drop",onContextmenu:"contextmenu"};function Z(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var q=function(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){var i=0;for(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},K=function(t){d()(n,t);var e=Z(n);function n(t){var r;m()(this,n),(r=e.call(this,t)).state={isReady:!1},r.handleRender=G()((function(){if(r.instance)r.forceUpdate();else{var t=r.props,e=t.group,n=t.zIndex,i=t.name;r.instance=e.chart.canvas.addGroup({zIndex:n,name:i}),e.chart.canvas.sort(),r.setState({isReady:!0})}}),300),r.configGroup=function(t){var e,n=t.rotate,i=t.animate,o=t.rotateAtPoint,a=t.scale,s=t.translate,c=t.move;if(n&&r.instance.rotate(n),Y()(o)&&(e=r.instance).rotateAtPoint.apply(e,N()(o)),a&&r.instance.rotate(a),s&&r.instance.translate(s[0],s[1]),c&&r.instance.move(c.x,c.y),i){var l=i.toAttrs,u=q(i,["toAttrs"]);r.instance.animate(l,u)}},r.bindEvents=function(){r.instance.off(),F()(X,(function(t,e){z()(r.props[e])&&r.instance.on(t,r.props[e])}))};var i=t.group,o=t.zIndex,a=t.name;return r.id=U()("group"),i.isChartCanvas?i.chart.on("afterrender",r.handleRender):(r.instance=i.addGroup({zIndex:o,name:a}),r.configGroup(t)),r}return x()(n,[{key:"componentWillUnmount",value:function(){var t=this.props.group;t.isChartCanvas&&t.chart.off("afterrender",this.handleRender),this.instance&&this.instance.remove(!0)}},{key:"getInstance",value:function(){return this.instance}},{key:"render",value:function(){var t=this.props.group;return this.instance&&(this.instance.clear(),this.bindEvents()),t.isChartCanvas&&this.state.isReady||!t.isChartCanvas?a.a.createElement(s.a.Provider,{value:this.instance},a.a.createElement(a.a.Fragment,{key:U()(this.id)},this.props.children)):a.a.createElement(a.a.Fragment,null)}}]),n}(a.a.Component);K.defaultProps={zIndex:3};var Q=Object(s.b)(K),J=n(80),$=n(99),tt=n(89),et=function(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){var i=0;for(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},nt=function(){function t(e){m()(this,t),this.shape=e,this.shape=e}return x()(t,[{key:"createInstance",value:function(t){this.instance=t.group.addShape(this.shape,Object(J.a)(t,["group","ctx"]))}},{key:"destroy",value:function(){this.instance&&(this.instance.remove(!0),this.instance=null)}},{key:"update",value:function(t){var e=this,n=Object(J.a)(t,N()($.a));this.destroy(),this.createInstance(n);var r=n.attrs,i=n.animate,o=n.isClipShape,a=n.visible,s=n.matrix,c=et(n,["attrs","animate","isClipShape","visible","matrix"]);if(this.instance.attr(r),i){var l=i.toAttrs,u=et(i,["toAttrs"]);this.instance.animate(l,u)}o&&this.instance.isClipShape(),!1===a&&this.instance.hide(),s&&this.instance.setMatrix(s),F()(X,(function(t,n){z()(c[n])&&e.instance.on(t,c[n])})),this.config=Object(tt.a)(n)}}]),t}();function rt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var it=function(t){d()(n,t);var e=rt(n);function n(){return m()(this,n),e.apply(this,arguments)}return x()(n,[{key:"componentWillUnmount",value:function(){this.helper.destroy()}},{key:"getInstance",value:function(){return this.helper.instance}},{key:"render",value:function(){return this.helper.update(this.props),null}}]),n}(a.a.Component);function ot(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var at=function(t){d()(n,t);var e=ot(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("circle"),r}return n}(it),st=Object(s.b)(at);function ct(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var lt=function(t){d()(n,t);var e=ct(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("ellipse"),r}return n}(it),ut=Object(s.b)(lt);function gt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var ft=function(t){d()(n,t);var e=gt(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("image"),r}return n}(it),dt=Object(s.b)(ft);function ht(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var pt=function(t){d()(n,t);var e=ht(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("line"),r}return n}(it),At=Object(s.b)(pt);function Ct(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var vt=function(t){d()(n,t);var e=Ct(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("marker"),r}return n}(it),It=Object(s.b)(vt);function yt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var mt=function(t){d()(n,t);var e=yt(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("path"),r}return n}(it),bt=Object(s.b)(mt);function xt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var wt=function(t){d()(n,t);var e=xt(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("polygon"),r}return n}(it),Ot=Object(s.b)(wt);function St(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var _t=function(t){d()(n,t);var e=St(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("polyline"),r}return n}(it),kt=Object(s.b)(_t);function jt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var Et=function(t){d()(n,t);var e=jt(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("rect"),r}return n}(it),Pt=Object(s.b)(Et);function Mt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C()(t);if(e){var i=C()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p()(this,n)}}var Tt=function(t){d()(n,t);var e=Mt(n);function n(t){var r;return m()(this,n),(r=e.call(this,t)).helper=new nt("text"),r}return n}(it),Rt=Object(s.b)(Tt),Dt=g.render},function(t,e,n){"use strict";n.r(e),n.d(e,"Line",(function(){return g})),n.d(e,"Text",(function(){return f})),n.d(e,"Arc",(function(){return d})),n.d(e,"Region",(function(){return h})),n.d(e,"Image",(function(){return p})),n.d(e,"DataMarker",(function(){return A})),n.d(e,"DataRegion",(function(){return C})),n.d(e,"RegionFilter",(function(){return v})),n.d(e,"Shape",(function(){return I})),n.d(e,"Html",(function(){return m}));var r=n(1),i=n(0),o=n(28),a=n(74),s=n(41),c=n(17);function l(t,e){var n=e.x,o=e.y,l=e.content,u=e.style,g=e.id,f=e.name,d=e.rotate,h=e.maxLength,p=e.autoEllipsis,A=e.isVertical,C=e.ellipsisPosition,v=e.background,I=t.addGroup({id:g+"-group",name:f+"-group",attrs:{x:n,y:o}}),y=I.addShape({type:"text",id:g,name:f,attrs:Object(r.__assign)({x:0,y:0,text:l},u)}),m=Object(c.c)(Object(i.get)(v,"padding",0));if(h&&p){var b=h-(m[1]+m[3]);Object(a.a)(!A,y,b,C)}if(v){var x=Object(i.get)(v,"style",{}),w=y.getCanvasBBox(),O=w.minX,S=w.minY,_=w.width,k=w.height;I.addShape("rect",{id:g+"-bg",name:g+"-bg",attrs:Object(r.__assign)({x:O-m[3],y:S-m[0],width:_+m[1]+m[3],height:k+m[0]+m[2]},x)}).toBack()}Object(s.c)(I,n,o),Object(s.b)(I,d,n,o)}var u=n(21),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:u.a.textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:u.a.fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:u.a.lineColor,lineWidth:1}}}})},e.prototype.renderInner=function(t){this.renderLine(t),this.get("text")&&this.renderLabel(t)},e.prototype.renderLine=function(t){var e=this.get("start"),n=this.get("end"),i=this.get("style");this.addShape(t,{type:"line",id:this.getElementId("line"),name:"annotation-line",attrs:Object(r.__assign)({x1:e.x,y1:e.y,x2:n.x,y2:n.y},i)})},e.prototype.getLabelPoint=function(t,e,n){var r;return((r="start"===n?0:"center"===n?.5:Object(i.isString)(n)&&-1!==n.indexOf("%")?parseInt(n,10)/100:Object(i.isNumber)(n)?n:1)>1||r<0)&&(r=1),{x:Object(c.g)(t.x,e.x,r),y:Object(c.g)(t.y,e.y,r)}},e.prototype.renderLabel=function(t){var e=this.get("text"),n=this.get("start"),r=this.get("end"),i=e.position,o=e.content,a=e.style,s=e.offsetX,c=e.offsetY,u=e.autoRotate,g=e.maxLength,f=e.autoEllipsis,d=e.ellipsisPosition,h=e.background,p=e.isVertical,A=void 0!==p&&p,C=this.getLabelPoint(n,r,i),v=C.x+s,I=C.y+c,y={id:this.getElementId("line-text"),name:"annotation-line-text",x:v,y:I,content:o,style:a,maxLength:g,autoEllipsis:f,ellipsisPosition:d,background:h,isVertical:A};if(u){var m=[r.x-n.x,r.y-n.y];y.rotate=Math.atan2(m[1],m[0])}l(t,y)},e}(o.a),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:u.a.textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:u.a.fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var e=this.getLocation(),n=e.x,r=e.y,i=this.get("content"),o=this.get("style");l(t,{id:this.getElementId("text"),name:this.get("name")+"-text",x:n,y:r,content:i,style:o,maxLength:this.get("maxLength"),autoEllipsis:this.get("autoEllipsis"),isVertical:this.get("isVertical"),ellipsisPosition:this.get("ellipsisPosition"),background:this.get("background"),rotate:this.get("rotate")})},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var e=this.getLocation(),n=e.x,r=e.y,i=this.get("rotate");Object(s.c)(t,n,r),Object(s.b)(t,i,n,r)}},e}(o.a),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,o=Object(c.e)(e,n,r),a=Object(c.e)(e,n,i),s=i-r>Math.PI?1:0,l=[["M",o.x,o.y]];if(i-r===2*Math.PI){var u=Object(c.e)(e,n,r+Math.PI);l.push(["A",n,n,0,s,1,u.x,u.y]),l.push(["A",n,n,0,s,1,a.x,a.y])}else l.push(["A",n,n,0,s,1,a.x,a.y]);return l},e.prototype.renderArc=function(t){var e=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:Object(r.__assign)({path:e},n)})},e}(o.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:u.a.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var e=this.get("start"),n=this.get("end"),i=this.get("style"),o=Object(c.k)({start:e,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:Object(r.__assign)({x:o.x,y:o.y,width:o.width,height:o.height},i)})},e}(o.a),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),e=this.get("end"),n=this.get("style"),i=Object(c.k)({start:t,end:e}),o=this.get("src");return Object(r.__assign)({x:i.x,y:i.y,img:o,width:i.width,height:i.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(o.a),A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:u.a.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:u.a.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:u.a.fontFamily}}}})},e.prototype.renderInner=function(t){Object(i.get)(this.get("line"),"display")&&this.renderLine(t),Object(i.get)(this.get("text"),"display")&&this.renderText(t),Object(i.get)(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var e=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:e})},e.prototype.renderLine=function(t){var e=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:e})},e.prototype.renderText=function(t){var e=this.getShapeAttrs().text,n=e.x,i=e.y,o=e.text,a=Object(r.__rest)(e,["x","y","text"]),s=this.get("text"),c=s.background,u=s.maxLength,g=s.autoEllipsis,f=s.isVertival,d=s.ellipsisPosition;l(t,{x:n,y:i,id:this.getElementId("text"),name:"annotation-text",content:o,style:a,background:c,maxLength:u,autoEllipsis:g,isVertival:f,ellipsisPosition:d})},e.prototype.autoAdjust=function(t){var e=this.get("direction"),n=this.get("x"),r=this.get("y"),o=Object(i.get)(this.get("line"),"length",0),a=this.get("coordinateBBox"),c=t.getBBox(),l=c.minX,u=c.maxX,g=c.minY,f=c.maxY,d=t.findById(this.getElementId("text-group")),h=t.findById(this.getElementId("text")),p=t.findById(this.getElementId("line"));if(a){if(d){if(n+l<=a.minX){var A=a.minX-(n+l);Object(s.c)(d,d.attr("x")+A,d.attr("y"))}n+u>=a.maxX&&(A=n+u-a.maxX,Object(s.c)(d,d.attr("x")-A,d.attr("y")))}if("upward"===e&&r+g<=a.minY||"upward"!==e&&r+f>=a.maxY){var C=void 0,v=void 0;"upward"===e&&r+g<=a.minY?(C="top",v=1):(C="bottom",v=-1),h.attr("textBaseline",C),p&&p.attr("path",[["M",0,0],["L",0,o*v]]),Object(s.c)(d,d.attr("x"),(o+2)*v)}}},e.prototype.getShapeAttrs=function(){var t=Object(i.get)(this.get("line"),"display"),e=Object(i.get)(this.get("point"),"style",{}),n=Object(i.get)(this.get("line"),"style",{}),o=Object(i.get)(this.get("text"),"style",{}),a=this.get("direction"),s=t?Object(i.get)(this.get("line"),"length",0):0,c="upward"===a?-1:1;return{point:Object(r.__assign)({x:0,y:0},e),line:Object(r.__assign)({path:[["M",0,0],["L",0,s*c]]},n),text:Object(r.__assign)({x:0,y:(s+2)*c,text:Object(i.get)(this.get("text"),"content",""),textBaseline:"upward"===a?"bottom":"top"},o)}},e}(o.a),C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:u.a.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:u.a.textColor,fontFamily:u.a.fontFamily}}}})},e.prototype.renderInner=function(t){var e=Object(i.get)(this.get("region"),"style",{}),n=(Object(i.get)(this.get("text"),"style",{}),this.get("lineLength")||0),o=this.get("points");if(o.length){var a=Object(c.j)(o),s=[];s.push(["M",o[0].x,a.minY-n]),o.forEach((function(t){s.push(["L",t.x,t.y])})),s.push(["L",o[o.length-1].x,o[o.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:Object(r.__assign)({path:s},e)}),l(t,Object(r.__assign)({id:this.getElementId("text"),name:"annotation-text",x:(a.minX+a.maxX)/2,y:a.minY-n},this.get("text")))}},e}(o.a),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var e=this,n=this.get("start"),r=this.get("end"),o=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});Object(i.each)(this.get("shapes"),(function(t,n){var r=t.get("type"),a=Object(i.clone)(t.attr());e.adjustShapeAttrs(a),e.addShape(o,{id:e.getElementId("shape-"+r+"-"+n),capture:!1,type:r,attrs:a})}));var a=Object(c.k)({start:n,end:r});o.setClip({type:"rect",attrs:{x:a.minX,y:a.minY,width:a.width,height:a.height}})},e.prototype.adjustShapeAttrs=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},e}(o.a),I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"shape",draw:i.noop})},e.prototype.renderInner=function(t){var e=this.get("render");Object(i.isFunction)(e)&&e(t)},e}(o.a),y=n(29),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'<div class="g2-html-annotation"></div>',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");Object(c.a)(t);var n=Object(i.isFunction)(e)?e(t):e;Object(i.isElement)(n)?t.appendChild(n):Object(i.isString)(n)&&t.appendChild(Object(y.createDom)(n)),this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,i=this.get("alignX"),o=this.get("alignY"),a=this.get("offsetX"),s=this.get("offsetY"),c=Object(y.getOuterWidth)(t),l=Object(y.getOuterHeight)(t),u={x:n,y:r};"middle"===i?u.x-=Math.round(c/2):"right"===i&&(u.x-=Math.round(c)),"middle"===o?u.y-=Math.round(l/2):"bottom"===o&&(u.y-=Math.round(l)),a&&(u.x+=a),s&&(u.y+=s),Object(y.modifyCSS)(t,{position:"absolute",left:u.x+"px",top:u.y+"px",zIndex:this.get("zIndex")})},e}(n(104).a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=new Map;function i(t,e){r.set(t,e)}function o(t){return r.get(t)}var a=function(t){var e=t.attr();return{x:e.x,y:e.y,width:e.width,height:e.height}},s=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.r;return{x:n-i,y:r-i,width:2*i,height:2*i}},c=n(26);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 u(t,e){var n=t.get("startArrowShape"),r=t.get("endArrowShape");return n&&(e=l(e,n.getCanvasBBox())),r&&(e=l(e,r.getCanvasBBox())),e}var g=n(112),f=n(72),d=n(0);function h(t,e){var n=t.prePoint,r=t.currentPoint,i=t.nextPoint,o=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),a=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),s=Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2),c=Math.acos((o+a-s)/(2*Math.sqrt(o)*Math.sqrt(a)));if(!c||0===Math.sin(c)||Object(d.isNumberEqual)(c,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(i[1]-r[1],i[0]-r[0])),u=Math.abs(Math.atan2(i[0]-r[0],i[1]-r[1]));return l=l>Math.PI/2?Math.PI-l:l,u=u>Math.PI/2?Math.PI-u:u,{xExtra:Math.cos(c/2-l)*(e/2*(1/Math.sin(c/2)))-e/2||0,yExtra:Math.cos(u-c/2)*(e/2*(1/Math.sin(c/2)))-e/2||0}}i("rect",a),i("image",a),i("circle",s),i("marker",s),i("polyline",(function(t){for(var e=t.attr().points,n=[],r=[],i=0;i<e.length;i++){var o=e[i];n.push(o[0]),r.push(o[1])}var a=c.Util.getBBoxByArray(n,r),s=a.x,l=a.y,g={minX:s,minY:l,maxX:s+a.width,maxY:l+a.height};return{x:(g=u(t,g)).minX,y:g.minY,width:g.maxX-g.minX,height:g.maxY-g.minY}})),i("polygon",(function(t){for(var e=t.attr().points,n=[],r=[],i=0;i<e.length;i++){var o=e[i];n.push(o[0]),r.push(o[1])}return c.Util.getBBoxByArray(n,r)})),i("text",(function(t){var e=t.attr(),n=e.x,r=e.y,i=e.text,o=e.fontSize,a=e.lineHeight,s=e.font;s||(s=Object(g.a)(e));var c,l=Object(g.c)(i,s);if(l){var u=e.textAlign,f=e.textBaseline,d=Object(g.b)(i,o,a),h={x:n,y:r-d};u&&("end"===u||"right"===u?h.x-=l:"center"===u&&(h.x-=l/2)),f&&("top"===f?h.y+=d:"middle"===f&&(h.y+=d/2)),c={x:h.x,y:h.y,width:l,height:d}}else c={x:n,y:r,width:0,height:0};return c})),i("path",(function(t){var e=t.attr(),n=e.path,r=e.stroke?e.lineWidth:0,i=function(t,e){for(var n=[],r=[],i=[],o=0;o<t.length;o++){var a=(C=t[o]).currentPoint,s=C.params,l=C.prePoint,u=void 0;switch(C.command){case"Q":u=c.Quad.box(l[0],l[1],s[1],s[2],s[3],s[4]);break;case"C":u=c.Cubic.box(l[0],l[1],s[1],s[2],s[3],s[4],s[5],s[6]);break;case"A":var g=C.arcParams;u=c.Arc.box(g.cx,g.cy,g.rx,g.ry,g.xRotation,g.startAngle,g.endAngle);break;default:n.push(a[0]),r.push(a[1])}u&&(C.box=u,n.push(u.x,u.x+u.width),r.push(u.y,u.y+u.height)),e&&("L"===C.command||"M"===C.command)&&C.prePoint&&C.nextPoint&&i.push(C)}n=n.filter((function(t){return!Number.isNaN(t)})),r=r.filter((function(t){return!Number.isNaN(t)}));var f=Math.min.apply(null,n),d=Math.min.apply(null,r),p=Math.max.apply(null,n),A=Math.max.apply(null,r);if(0===i.length)return{x:f,y:d,width:p-f,height:A-d};for(o=0;o<i.length;o++){var C;(a=(C=i[o]).currentPoint)[0]===f?f-=h(C,e).xExtra:a[0]===p&&(p+=h(C,e).xExtra),a[1]===d?d-=h(C,e).yExtra:a[1]===A&&(A+=h(C,e).yExtra)}return{x:f,y:d,width:p-f,height:A-d}}(t.get("segments")||Object(f.path2Segments)(n),r),o=i.x,a=i.y,s={minX:o,minY:a,maxX:o+i.width,maxY:a+i.height};return{x:(s=u(t,s)).minX,y:s.minY,width:s.maxX-s.minX,height:s.maxY-s.minY}})),i("line",(function(t){var e=t.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a={minX:Math.min(n,i),maxX:Math.max(n,i),minY:Math.min(r,o),maxY:Math.max(r,o)};return{x:(a=u(t,a)).minX,y:a.minY,width:a.maxX-a.minX,height:a.maxY-a.minY}})),i("ellipse",(function(t){var e=t.attr(),n=e.x,r=e.y,i=e.rx,o=e.ry;return{x:n-i,y:r-o,width:2*i,height:2*o}}))},function(t,e,n){"use strict";n.r(e),n.d(e,"Line",(function(){return N})),n.d(e,"Circle",(function(){return L})),n.d(e,"Base",(function(){return h}));var r={};n.r(r),n.d(r,"getDefault",(function(){return C})),n.d(r,"ellipsisHead",(function(){return v})),n.d(r,"ellipsisTail",(function(){return I})),n.d(r,"ellipsisMiddle",(function(){return y}));var i={};n.r(i),n.d(i,"getDefault",(function(){return S})),n.d(i,"reserveFirst",(function(){return _})),n.d(i,"reserveLast",(function(){return k})),n.d(i,"reserveBoth",(function(){return j})),n.d(i,"equidistance",(function(){return E})),n.d(i,"equidistanceWithReverseBoth",(function(){return P}));var o={};n.r(o),n.d(o,"getDefault",(function(){return T})),n.d(o,"fixedAngle",(function(){return R})),n.d(o,"unfixedAngle",(function(){return D}));var a={};n.r(a),n.d(a,"autoHide",(function(){return i})),n.d(a,"autoRotate",(function(){return o})),n.d(a,"autoEllipsis",(function(){return r}));var s=n(1),c=n(15),l=n(0),u=n(28),g=n(41),f=n(119),d=n(21),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s.__assign)(Object(s.__assign)({},e),{name:"axis",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:["autoRotate","autoEllipsis","autoHide"],tickStates:{},optimize:{},defaultCfg:{line:{style:{lineWidth:1,stroke:d.a.lineColor}},tickLine:{style:{lineWidth:1,stroke:d.a.lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:d.a.lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:d.a.textColor,fontFamily:d.a.fontFamily,fontWeight:"normal"},offset:10},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:d.a.textColor,textBaseline:"middle",fontFamily:d.a.fontFamily,textAlign:"center"}},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:d.a.uncheckedColor}}},optimize:{enable:!0,threshold:400}},theme:{}})},e.prototype.renderInner=function(t){this.get("line")&&this.drawLine(t),this.drawTicks(t),this.get("title")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("ticks")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,e){Object(l.mix)(t,e),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("label-group");t&&t.clear()},e.prototype.setItemState=function(t,e,n){t[e]=n,this.updateTickStates(t)},e.prototype.hasState=function(t,e){return!!t[e]},e.prototype.getItemStates=function(t){var e=this.get("tickStates"),n=[];return Object(l.each)(e,(function(e,r){t[r]&&n.push(r)})),n},e.prototype.clearItemsState=function(t){var e=this,n=this.getItemsByState(t);Object(l.each)(n,(function(n){e.setItemState(n,t,!1)}))},e.prototype.getItemsByState=function(t){var e=this,n=this.getItems();return Object(l.filter)(n,(function(n){return e.hasState(n,t)}))},e.prototype.getSidePoint=function(t,e){var n=this.getSideVector(e,t);return{x:t.x+n[0],y:t.y+n[1]}},e.prototype.getTextAnchor=function(t){var e;return Object(l.isNumberEqual)(t[0],0)?e="center":t[0]>0?e="start":t[0]<0&&(e="end"),e},e.prototype.getTextBaseline=function(t){var e;return Object(l.isNumberEqual)(t[1],0)?e="middle":t[1]>0?e="top":t[1]<0&&(e="bottom"),e},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var e=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:Object(l.mix)({path:e},n.style)})},e.prototype.getTickLineItems=function(t){var e=this,n=[],r=this.get("tickLine"),i=r.alignTick,o=r.length,a=1;return t.length>=2&&(a=t[1].value-t[0].value),Object(l.each)(t,(function(t){var r=t.point;i||(r=e.getTickPoint(t.value-a/2));var s=e.getSidePoint(r,o);n.push({startPoint:r,tickValue:t.value,endPoint:s,tickId:t.id,id:"tickline-"+t.id})})),n},e.prototype.getSubTickLineItems=function(t){var e=[],n=this.get("subTickLine"),r=n.count,i=t.length;if(i>=2)for(var o=0;o<i-1;o++)for(var a=t[o],s=t[o+1],c=0;c<r;c++){var l=(c+1)/(r+1),u=(1-l)*a.tickValue+l*s.tickValue,g=this.getTickPoint(u),f=this.getSidePoint(g,n.length);e.push({startPoint:g,endPoint:f,tickValue:u,id:"sub-"+a.id+"-"+c})}return e},e.prototype.getTickLineAttrs=function(t,e,n,r){var i=this.get(e).style,o={points:[t.startPoint,t.endPoint]},a=Object(l.get)(this.get("theme"),["tickLine","style"],{});i=Object(l.isFunction)(i)?Object(l.mix)({},a,i(o,n,r)):i;var c=t.startPoint,u=t.endPoint;return Object(s.__assign)({x1:c.x,y1:c.y,x2:u.x,y2:u.y},i)},e.prototype.drawTick=function(t,e,n,r,i){this.addShape(e,{type:"line",id:this.getElementId(t.id),name:"axis-"+n,attrs:this.getTickLineAttrs(t,n,r,i)})},e.prototype.drawTickLines=function(t){var e=this,n=this.get("ticks"),r=this.get("subTickLine"),i=this.getTickLineItems(n),o=this.addGroup(t,{name:"axis-tickline-group",id:this.getElementId("tickline-group")}),a=this.get("tickLine");if(Object(l.each)(i,(function(n,r){if(a.displayWithLabel){var s=e.getElementId("label-"+n.tickId);t.findById(s)&&e.drawTick(n,o,"tickLine",r,i)}else e.drawTick(n,o,"tickLine",r,i)})),r){var s=this.getSubTickLineItems(i);Object(l.each)(s,(function(t,n){e.drawTick(t,o,"subTickLine",n,s)}))}},e.prototype.processTicks=function(){var t=this,e=this.get("ticks");Object(l.each)(e,(function(e){e.point=t.getTickPoint(e.value),Object(l.isNil)(e.id)&&(e.id=e.name)}))},e.prototype.drawTicks=function(t){var e=this;this.optimizeTicks(),this.processTicks(),this.get("label")&&this.drawLabels(t),this.get("tickLine")&&this.drawTickLines(t);var n=this.get("ticks");Object(l.each)(n,(function(n){e.applyTickStates(n,t)}))},e.prototype.optimizeTicks=function(){var t=this.get("optimize"),e=this.get("ticks");if(t&&t.enable&&t.threshold>0){var n=Object(l.size)(e);if(n>t.threshold){var r=Math.ceil(n/t.threshold),i=e.filter((function(t,e){return e%r===0}));this.set("ticks",i),this.set("originalTicks",e)}}},e.prototype.getLabelAttrs=function(t,e,n){var r=this.get("label"),i=r.offset,o=r.rotate,a=r.formatter,s=this.getSidePoint(t.point,i),c=this.getSideVector(i,s),u=a?a(t.name,t,e):t.name,f=r.style;f=Object(l.isFunction)(f)?Object(l.get)(this.get("theme"),["label","style"],{}):f;var d=Object(l.mix)({x:s.x,y:s.y,text:u,textAlign:this.getTextAnchor(c),textBaseline:this.getTextBaseline(c)},f);return o&&(d.matrix=Object(g.e)(s,o)),d},e.prototype.drawLabels=function(t){var e=this,n=this.get("ticks"),r=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});Object(l.each)(n,(function(t,i){e.addShape(r,{type:"text",name:"axis-label",id:e.getElementId("label-"+t.id),attrs:e.getLabelAttrs(t,i,n),delegateObject:{tick:t,item:t,index:i}})})),this.processOverlap(r);var i=r.getChildren(),o=Object(l.get)(this.get("theme"),["label","style"],{}),a=this.get("label"),s=a.style,c=a.formatter;if(Object(l.isFunction)(s)){var u=i.map((function(t){return Object(l.get)(t.get("delegateObject"),"tick")}));Object(l.each)(i,(function(t,e){var n=t.get("delegateObject").tick,r=c?c(n.name,n,e):n.name,i=Object(l.mix)({},o,s(r,e,u));t.attr(i)}))}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),e=t.style,n=t.position,r=t.offset,i=t.spacing,o=void 0===i?0:i,a=t.autoRotate,s=e.fontSize,u=.5;"start"===n?u=0:"end"===n&&(u=1);var f=this.getTickPoint(u),d=this.getSidePoint(f,r||o+s/2),h=Object(l.mix)({x:d.x,y:d.y,text:t.text},e),p=t.rotate,A=p;if(Object(l.isNil)(p)&&a){var C=this.getAxisVector(f);A=c.ext.angleTo(C,[1,0],!0)}if(A){var v=Object(g.e)(d,A);h.matrix=v}return h},e.prototype.drawTitle=function(t){this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:this.getTitleAttrs()})},e.prototype.applyTickStates=function(t,e){if(this.getItemStates(t).length){var n=this.get("tickStates"),r=this.getElementId("label-"+t.id),i=e.findById(r);if(i){var o=Object(f.a)(t,"label",n);o&&i.attr(o)}var a=this.getElementId("tickline-"+t.id),s=e.findById(a);if(s){var c=Object(f.a)(t,"tickLine",n);c&&s.attr(c)}}},e.prototype.updateTickStates=function(t){var e=this.getItemStates(t),n=this.get("tickStates"),r=this.get("label"),i=this.getElementByLocalId("label-"+t.id),o=this.get("tickLine"),a=this.getElementByLocalId("tickline-"+t.id);if(e.length){if(i){var s=Object(f.a)(t,"label",n);s&&i.attr(s)}if(a){var c=Object(f.a)(t,"tickLine",n);c&&a.attr(c)}}else i&&i.attr(r.style),a&&a.attr(o.style)},e}(u.a),p=n(74);function A(t,e,n,r){var i=e.getChildren(),o=!1;return Object(l.each)(i,(function(e){var i=Object(p.a)(t,e,n,r);o=o||i})),o}function C(){return I}function v(t,e,n){return A(t,e,n,"head")}function I(t,e,n){return A(t,e,n,"tail")}function y(t,e,n){return A(t,e,n,"middle")}var m=n(17);function b(t){return(function(t){var e=t.attr("matrix");return e&&1!==e[0]}(t)?Object(g.d)(t.attr("matrix")):0)%360}function x(t,e,n,r){var i=!1,o=b(e),a=t?Math.abs(n.attr("y")-e.attr("y")):Math.abs(n.attr("x")-e.attr("x")),s=(t?n.attr("y")>e.attr("y"):n.attr("x")>e.attr("x"))?e.getBBox():n.getBBox();if(t){var c=Math.abs(Math.cos(o));i=Object(m.i)(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a}else c=Math.abs(Math.sin(o)),i=Object(m.i)(c,0,Math.PI/180)?s.width+r>a:s.height/c+r>a;return i}function w(t,e,n,r){var i=(null===r||void 0===r?void 0:r.minGap)||0,o=e.getChildren().slice().filter((function(t){return t.get("visible")}));if(!o.length)return!1;var a=!1;n&&o.reverse();for(var s=o.length,c=o[0],l=1;l<s;l++){var u=o[l];u.getBBox(),x(t,c,u,i)?(u.hide(),a=!0):c=u}return a}function O(t,e,n){var r=(null===n||void 0===n?void 0:n.minGap)||0,i=e.getChildren().slice();if(i.length<2)return!1;var o=!1,a=i[0],s=a.getBBox(),c=i[1],l=i.length,u=b(a),g=t?Math.abs(c.attr("y")-a.attr("y")):Math.abs(c.attr("x")-a.attr("x")),f=0;if(t){var d=Math.abs(Math.cos(u));f=Object(m.i)(d,0,Math.PI/180)?(Object(p.b)(i)+r)/g:(s.height/d+r)/g}else d=Math.abs(Math.sin(u)),f=Object(m.i)(d,0,Math.PI/180)?(Object(p.b)(i)+r)/g:(s.height/d+r)/g;if(f>1){f=Math.ceil(f);for(var h=0;h<l;h++)h%f!==0&&(i[h].hide(),o=!0)}return o}function S(){return E}function _(t,e,n,r){return w(t,e,!1,r)}function k(t,e,n,r){return w(t,e,!0,r)}function j(t,e,n,r){var i=(null===r||void 0===r?void 0:r.minGap)||0,o=e.getChildren().slice();if(o.length<=2)return!1;for(var a=!1,s=o.length,c=o[0],l=o[s-1],u=c,g=1;g<s-1;g++){var f=o[g];f.getBBox(),x(t,u,f,i)?(f.hide(),a=!0):u=f}return x(t,u,l,i)&&(u.hide(),a=!0),a}function E(t,e,n,r){var i=O(t,e,r);return w(t,e,!1)&&(i=!0),i}function P(t,e,n,r){var i=e.getChildren().slice(),o=O(t,e,r);if(i.length>2){var a=i[0],s=i[i.length-1];a.get("visible")||(a.show(),w(t,e,!1,r)&&(o=!0)),s.get("visible")||(s.show(),w(t,e,!0,r)&&(o=!0))}return o}function M(t,e,n,r){var i=e.getChildren();if(!i.length)return!1;if(!t&&i.length<2)return!1;var o=Object(p.b)(i),a=!1;return(a=t?!!n&&o>n:o>Math.abs(i[1].attr("x")-i[0].attr("x")))&&function(t,e){Object(l.each)(t,(function(t){var n=t.attr("x"),r=t.attr("y"),i=Object(g.e)({x:n,y:r},e);t.attr("matrix",i)}))}(i,r(n,o)),a}function T(){return R}function R(t,e,n,r){return M(t,e,n,(function(){return Object(l.isNumber)(r)?r:t?d.a.verticalAxisRotate:d.a.horizontalAxisRotate}))}function D(t,e,n){return M(t,e,n,(function(e,n){if(!e)return t?d.a.verticalAxisRotate:d.a.horizontalAxisRotate;if(t)return-Math.acos(e/n);var r=0;return(e>n||(r=Math.asin(e/n))>Math.PI/4)&&(r=Math.PI/4),r}))}var N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s.__assign)(Object(s.__assign)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),e=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",e.x,e.y]),n},e.prototype.getInnerLayoutBBox=function(){var e=this.get("start"),n=this.get("end"),r=t.prototype.getInnerLayoutBBox.call(this),i=Math.min(e.x,n.x,r.x),o=Math.min(e.y,n.y,r.y),a=Math.max(e.x,n.x,r.maxX),s=Math.max(e.y,n.y,r.maxY);return{x:i,y:o,minX:i,minY:o,maxX:a,maxY:s,width:a-i,height:s-o}},e.prototype.isVertical=function(){var t=this.get("start"),e=this.get("end");return Object(l.isNumberEqual)(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),e=this.get("end");return Object(l.isNumberEqual)(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this.get("start"),n=this.get("end"),r=n.x-e.x,i=n.y-e.y;return{x:e.x+r*t,y:e.y+i*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=c.vec2.normalize([0,0],e),r=this.get("verticalFactor"),i=[n[1],-1*n[0]];return c.vec2.scale([0,0],i,t*r)},e.prototype.getAxisVector=function(){var t=this.get("start"),e=this.get("end");return[e.x-t.x,e.y-t.y]},e.prototype.processOverlap=function(t){var e=this,n=this.isVertical(),r=this.isHorizontal();if(n||r){var i=this.get("label"),o=this.get("title"),a=this.get("verticalLimitLength"),s=i.offset,c=a,u=0,g=0;o&&(u=o.style.fontSize,g=o.spacing),c&&(c=c-s-g-u);var f=this.get("overlapOrder");if(Object(l.each)(f,(function(n){i[n]&&e.canProcessOverlap(n)&&e.autoProcessOverlap(n,i[n],t,c)})),o&&Object(l.isNil)(o.offset)){var d=t.getCanvasBBox(),h=n?d.width:d.height;o.offset=s+h+g+u/2}}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||Object(l.isNil)(e.rotate)},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,o=this.isVertical(),s=!1,c=a[t];if(!0===e)this.get("label"),s=c.getDefault()(o,n,r);else if(Object(l.isFunction)(e))s=e(o,n,r);else if(Object(l.isObject)(e)){var u=e;c[u.type]&&(s=c[u.type](o,n,r,u.cfg))}else c[e]&&(s=c[e](o,n,r));if("autoRotate"===t){if(s){var g=n.getChildren(),f=this.get("verticalFactor");Object(l.each)(g,(function(t){if("center"===t.attr("textAlign")){var e=f>0?"end":"start";t.attr("textAlign",e)}}))}}else if("autoHide"===t){var d=n.getChildren().slice(0);Object(l.each)(d,(function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())}))}},e}(h),L=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(s.__assign)(Object(s.__assign)({},e),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getLinePath=function(){var t=this.get("center"),e=t.x,n=t.y,r=this.get("radius"),i=r,o=this.get("startAngle"),a=this.get("endAngle"),s=[];if(Math.abs(a-o)===2*Math.PI)s=[["M",e,n-i],["A",r,i,0,1,1,e,n+i],["A",r,i,0,1,1,e,n-i],["Z"]];else{var c=this.getCirclePoint(o),l=this.getCirclePoint(a),u=Math.abs(a-o)>Math.PI?1:0,g=o>a?0:1;s=[["M",e,n],["L",c.x,c.y],["A",r,i,0,u,g,l.x,l.y],["L",e,n]]}return s},e.prototype.getTickPoint=function(t){var e=this.get("startAngle"),n=e+(this.get("endAngle")-e)*t;return this.getCirclePoint(n)},e.prototype.getSideVector=function(t,e){var n=this.get("center"),r=[e.x-n.x,e.y-n.y],i=this.get("verticalFactor"),o=c.vec2.length(r);return c.vec2.scale(r,r,i*t/o),r},e.prototype.getAxisVector=function(t){var e=this.get("center"),n=[t.x-e.x,t.y-e.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,e){var n=this.get("center");return e=e||this.get("radius"),{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},e}(h)},function(t,e,n){"use strict";var r=n(1),i=n(24),o=n(22),a=n(116),s=n(62),c=n(40),l=n(138),u=n(132),g=n(0),f=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,d=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,h=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function p(t){var e=t.match(h);if(!e)return"";var n="";return e.sort((function(t,e){return t=t.split(":"),e=e.split(":"),Number(t[0])-Number(e[0])})),Object(g.each)(e,(function(t){t=t.split(":"),n+='<stop offset="'+t[0]+'" stop-color="'+t[1]+'"></stop>'})),n}var A=function(){function t(t){this.cfg={};var e=null,n=Object(g.uniqueId)("gradient_");return"l"===t.toLowerCase()[0]?function(t,e){var n,r,i=f.exec(t),o=Object(g.mod)(Object(g.toRadian)(parseFloat(i[1])),2*Math.PI),a=i[2];o>=0&&o<.5*Math.PI?(n={x:0,y:0},r={x:1,y:1}):.5*Math.PI<=o&&o<Math.PI?(n={x:1,y:0},r={x:0,y:1}):Math.PI<=o&&o<1.5*Math.PI?(n={x:1,y:1},r={x:0,y:0}):(n={x:0,y:1},r={x:1,y:0});var s=Math.tan(o),c=s*s,l=(r.x-n.x+s*(r.y-n.y))/(c+1)+n.x,u=s*(r.x-n.x+s*(r.y-n.y))/(c+1)+n.y;e.setAttribute("x1",n.x),e.setAttribute("y1",n.y),e.setAttribute("x2",l),e.setAttribute("y2",u),e.innerHTML=p(a)}(t,e=Object(c.b)("linearGradient")):function(t,e){var n=d.exec(t),r=parseFloat(n[1]),i=parseFloat(n[2]),o=parseFloat(n[3]),a=n[4];e.setAttribute("cx",r),e.setAttribute("cy",i),e.setAttribute("r",o),e.innerHTML=p(a)}(t,e=Object(c.b)("radialGradient")),e.setAttribute("id",n),this.el=e,this.id=n,this.cfg=t,this}return t.prototype.match=function(t,e){return this.cfg===e},t}(),C={shadowColor:"color",shadowOpacity:"opacity",shadowBlur:"blur",shadowOffsetX:"dx",shadowOffsetY:"dy"},v={x:"-40%",y:"-40%",width:"200%",height:"200%"},I=function(){function t(t){this.type="filter",this.cfg={},this.type="filter";var e=Object(c.b)("filter");return Object(g.each)(v,(function(t,n){e.setAttribute(n,t)})),this.el=e,this.id=Object(g.uniqueId)("filter_"),this.el.id=this.id,this.cfg=t,this._parseShadow(t,e),this}return t.prototype.match=function(t,e){if(this.type!==t)return!1;var n=!0,r=this.cfg;return Object(g.each)(Object.keys(r),(function(t){if(r[t]!==e[t])return n=!1,!1})),n},t.prototype.update=function(t,e){var n=this.cfg;return n[C[t]]=e,this._parseShadow(n,this.el),this},t.prototype._parseShadow=function(t,e){var n='<feDropShadow\n dx="'+(t.dx||0)+'"\n dy="'+(t.dy||0)+'"\n stdDeviation="'+(t.blur?t.blur/10:0)+'"\n flood-color="'+(t.color?t.color:"#000")+'"\n flood-opacity="'+(t.opacity?t.opacity:1)+'"\n />';e.innerHTML=n},t}(),y=function(){function t(t,e){this.cfg={};var n=Object(c.b)("marker"),r=Object(g.uniqueId)("marker_");n.setAttribute("id",r);var i=Object(c.b)("path");i.setAttribute("stroke",t.stroke||"none"),i.setAttribute("fill",t.fill||"none"),n.appendChild(i),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=i,this.id=r;var o=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===o?this._setDefaultPath(e,i):(this.cfg=o,this._setMarker(t.lineWidth,i)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,r=this.cfg.path,i=this.cfg.d;Object(g.isArray)(r)&&(r=r.map((function(t){return t.join(" ")})).join("")),e.setAttribute("d",r),n.appendChild(e),i&&n.setAttribute("refX",""+i/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}(),m=function(){function t(t){this.type="clip",this.cfg={};var e=Object(c.b)("clipPath");this.el=e,this.id=Object(g.uniqueId)("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}(),b=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,x=function(){function t(t){this.cfg={};var e=Object(c.b)("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=Object(c.b)("image");e.appendChild(n);var r=Object(g.uniqueId)("pattern_");e.id=r,this.el=e,this.id=r,this.cfg=t;var i=b.exec(t)[2];n.setAttribute("href",i);var o=new Image;function a(){e.setAttribute("width",""+o.width),e.setAttribute("height",""+o.height)}return i.match(/^data:/i)||(o.crossOrigin="Anonymous"),o.src=i,o.complete?a():(o.onload=a,o.src=o.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}(),w=function(){function t(t){var e=Object(c.b)("defs"),n=Object(g.uniqueId)("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i<n.length;i++)if(n[i].match(t,e)){r=n[i].id;break}return r},t.prototype.findById=function(t){for(var e=this.children,n=null,r=0;r<e.length;r++)if(e[r].id===t){n=e[r];break}return n},t.prototype.add=function(t){this.children.push(t),t.canvas=this.canvas,t.parent=this},t.prototype.getDefaultArrow=function(t,e){var n=t.stroke||t.strokeStyle;if(this.defaultArrow[n])return this.defaultArrow[n].id;var r=new y(t,e);return this.defaultArrow[n]=r,this.el.appendChild(r.el),this.add(r),r.id},t.prototype.addGradient=function(t){var e=new A(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addArrow=function(t,e){var n=new y(t,e);return this.el.appendChild(n.el),this.add(n),n.id},t.prototype.addShadow=function(t){var e=new I(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addPattern=function(t){var e=new x(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addClip=function(t){var e=new m(t);return this.el.appendChild(e.el),this.add(e),e.id},t}(),O=function(t){function e(e){return t.call(this,Object(r.__assign)(Object(r.__assign)({},e),{autoDraw:!0,renderer:"svg"}))||this}return Object(r.__extends)(e,t),e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u.a},e.prototype.getShape=function(t,e,n){var r=n.target||n.srcElement;if(!o.a[r.tagName]){for(var i=r.parentNode;i&&!o.a[i.tagName];)i=i.parentNode;r=i}return this.find((function(t){return t.get("el")===r}))},e.prototype.createDom=function(){var t=Object(c.b)("svg"),e=new w(t);return t.setAttribute("width",""+this.get("width")),t.setAttribute("height",""+this.get("height")),this.set("context",e),t},e.prototype.onCanvasChange=function(t){var e=this.get("context"),n=this.get("el");if("sort"===t){var r=this.get("children");r&&r.length&&Object(c.d)(this,(function(t,e){return r.indexOf(t)-r.indexOf(e)?1:0}))}else if("clear"===t){if(n){n.innerHTML="";var i=e.el;i.innerHTML="",n.appendChild(i)}}else"matrix"===t?Object(s.c)(this):"clip"===t?Object(s.a)(this,e):"changeSize"===t&&(n.setAttribute("width",""+this.get("width")),n.setAttribute("height",""+this.get("height")))},e.prototype.draw=function(){var t=this.get("context"),e=this.getChildren();Object(s.a)(this,t),e.length&&Object(a.a)(t,e)},e}(i.AbstractCanvas);e.a=O},function(t,e,n){"use strict";n.r(e),n.d(e,"Line",(function(){return g})),n.d(e,"Circle",(function(){return f})),n.d(e,"Base",(function(){return u})),n.d(e,"Html",(function(){return I}));var r,i=n(1),o=n(17),a=n(0),s=n(28),c=n(41),l=n(21),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:l.a.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:l.a.textColor,textAlign:"center",textBaseline:"middle",fontFamily:l.a.fontFamily}},textBackground:{padding:5,style:{stroke:l.a.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var e=this.get("text"),n=e.style,r=e.autoRotate,o=e.content;if(!Object(a.isNil)(o)){var s=this.getTextPoint(),l=null;if(r){var u=this.getRotateAngle();l=Object(c.e)(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:Object(i.__assign)(Object(i.__assign)(Object(i.__assign)({},s),{text:o,matrix:l}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get("line").style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:Object(i.__assign)({path:e},n)})},e.prototype.renderBackground=function(t){var e=this.getElementId("text"),n=t.findById(e),r=this.get("textBackground");if(r&&n){var a=n.getBBox(),s=Object(o.c)(r.padding),c=r.style;this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:Object(i.__assign)({x:a.x-s[3],y:a.y-s[0],width:a.width+s[1]+s[3],height:a.height+s[0]+s[2],matrix:n.attr("matrix")},c)}).toBack()}},e}(s.a),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text").position,i=Math.atan2(n.y-e.y,n.x-e.x);return"start"===r?i-Math.PI/2:i+Math.PI/2},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return Object(o.f)(e,n,i,a)},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.start,n=t.end;return[["M",e.x,e.y],["L",n.x,n.y]]},e}(u),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.startAngle,n=t.endAngle;return"start"===this.get("text").position?e+Math.PI/2:n-Math.PI/2},e.prototype.getTextPoint=function(){var t=this.get("text"),e=t.position,n=t.offset,r=this.getLocation(),i=r.center,a=r.radius,s=r.startAngle,c=r.endAngle,l="start"===e?s:c,u=this.getRotateAngle()-Math.PI,g=Object(o.e)(i,a,l),f=Math.cos(u)*n,d=Math.sin(u)*n;return{x:g.x+f,y:g.y+d}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,a=null;if(i-r===2*Math.PI){var s=e.x,c=e.y;a=[["M",s,c-n],["A",n,n,0,1,1,s,c+n],["A",n,n,0,1,1,s,c-n],["Z"]]}else{var l=Object(o.e)(e,n,r),u=Object(o.e)(e,n,i),g=Math.abs(i-r)>Math.PI?1:0,f=r>i?0:1;a=[["M",l.x,l.y],["A",n,n,0,g,f,u.x,u.y]]}return a},e}(u),d=n(29),h=n(104),p="g2-crosshair",A="g2-crosshair-line",C="g2-crosshair-text",v=((r={})["g2-crosshair"]={position:"relative"},r[""+A]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+C]={position:"absolute",color:l.a.textColor,fontFamily:l.a.fontFamily},r),I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'<div class="g2-crosshair"></div>',crosshairTpl:'<div class="g2-crosshair-line"></div>',textTpl:'<span class="g2-crosshair-text">{content}</span>',domStyles:null,containerClassName:p,defaultStyles:v,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),e=this.get("crosshairTpl"),n=Object(d.createDom)(e);t.appendChild(n),this.applyStyle(A,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return Object(o.f)(e,n,i,a)},e.prototype.resetText=function(){var t=this.get("text"),e=this.get("textEl");if(t){var n=t.content;if(!e){var r=this.getContainer(),i=Object(a.substitute)(this.get("textTpl"),t);e=Object(d.createDom)(i),r.appendChild(e),this.applyStyle(C,e),this.set("textEl",e)}e.innerHTML=n}else e&&e.remove()},e.prototype.isVertical=function(t,e){return t.x===e.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var e=this.get("start"),n=this.get("end"),r=Math.min(e.x,n.x),i=Math.min(e.y,n.y);this.isVertical(e,n)?Object(d.modifyCSS)(t,{width:"1px",height:Object(o.l)(Math.abs(n.y-e.y))}):Object(d.modifyCSS)(t,{height:"1px",width:Object(o.l)(Math.abs(n.x-e.x))}),Object(d.modifyCSS)(t,{top:Object(o.l)(i),left:Object(o.l)(r)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var e=this.get("text").align,n=t.clientWidth,r=this.getTextPoint();switch(e){case"center":r.x=r.x-n/2;break;case"right":r.x=r.x-n}Object(d.modifyCSS)(t,{top:Object(o.l)(r.y),left:Object(o.l)(r.x)})}},e.prototype.updateInner=function(e){Object(a.hasKey)(e,"text")&&this.resetText(),t.prototype.updateInner.call(this,e)},e}(h.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(1),i=n(0),o=n(28),a={opacity:0},s={stroke:"#C5C5C5",strokeOpacity:.85},c={fill:"#CACED4",opacity:.85},l=n(72),u=n(86);function g(t){return function(t){return Object(i.map)(t,(function(t,e){return[0===e?"M":"L",t[0],t[1]]}))}(t)}function f(t,e,n,r){void 0===r&&(r=!0);var o=new u.Linear({values:t}),a=new u.Category({values:Object(i.map)(t,(function(t,e){return e}))}),s=Object(i.map)(t,(function(t,r){return[a.scale(r)*e,n-o.scale(t)*n]}));return r?function(t){if(t.length<=2)return g(t);var e=[];Object(i.each)(t,(function(t){Object(i.isEqual)(t,e.slice(e.length-2))||e.push(t[0],t[1])}));var n=Object(l.catmullRom2Bezier)(e,!1),r=Object(i.head)(t),o=r[0],a=r[1];return n.unshift(["M",o,a]),n}(s):g(s)}function d(t,e,n,i){var o=Object(r.__spreadArrays)(t),a=function(t,e){var n=new u.Linear({values:t}),r=Math.max(0,n.min);return e-n.scale(r)*e}(i,n);return o.push(["L",e,a]),o.push(["L",0,a]),o.push(["Z"]),o}var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:a,lineStyle:s,areaStyle:c})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,i=e.height,o=e.data,a=e.smooth,s=e.isArea,c=e.backgroundStyle,l=e.lineStyle,u=e.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:Object(r.__assign)({x:0,y:0,width:n,height:i},c)});var g=f(o,n,i,a);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:Object(r.__assign)({path:g},l)}),s){var h=d(g,n,i,o);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:Object(r.__assign)({path:h},u)})}},e.prototype.applyOffset=function(){var t=this.cfg,e=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:e,y:n})},e}(o.a),p={fill:"#416180",opacity:.05},A={fill:"#5B8FF9",opacity:.15,cursor:"move"},C={width:10,height:24},v={textBaseline:"middle",fill:"#000",opacity:.45},I="sliderchange",y={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"handler",x:0,y:0,width:10,height:24,style:y})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,r=e.height,i=e.style,o=i.fill,a=i.stroke,s=i.radius,c=i.opacity,l=i.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:r,fill:o,stroke:a,radius:s,opacity:c,cursor:l}});var u=1/3*n,g=2/3*n,f=1/4*r,d=3/4*r;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:u,y1:f,x2:u,y2:d,stroke:a,cursor:l}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:g,y1:f,x2:g,y2:d,stroke:a,cursor:l}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",(function(){var e=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",e),t.draw()})),this.get("group").on("mouseleave",(function(){var e=t.get("style").fill;t.getElementByLocalId("background").attr("fill",e),t.draw()}))},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(o.a),b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onMouseDown=function(t){return function(n){e.currentTarget=t;var r=n.originalEvent;r.stopPropagation(),r.preventDefault(),e.prevX=Object(i.get)(r,"touches.0.pageX",r.pageX),e.prevY=Object(i.get)(r,"touches.0.pageY",r.pageY);var o=e.getContainerDOM();o.addEventListener("mousemove",e.onMouseMove),o.addEventListener("mouseup",e.onMouseUp),o.addEventListener("mouseleave",e.onMouseUp),o.addEventListener("touchmove",e.onMouseMove),o.addEventListener("touchend",e.onMouseUp),o.addEventListener("touchcancel",e.onMouseUp)}},e.onMouseMove=function(t){var n=e.cfg.width,r=[e.get("start"),e.get("end")];t.stopPropagation(),t.preventDefault();var o=Object(i.get)(t,"touches.0.pageX",t.pageX),a=Object(i.get)(t,"touches.0.pageY",t.pageY),s=o-e.prevX,c=e.adjustOffsetRange(s/n);e.updateStartEnd(c),e.updateUI(e.getElementByLocalId("foreground"),e.getElementByLocalId("minText"),e.getElementByLocalId("maxText")),e.prevX=o,e.prevY=a,e.draw(),e.emit(I,[e.get("start"),e.get("end")].sort()),e.delegateEmit("valuechanged",{originValue:r,value:[e.get("start"),e.get("end")]})},e.onMouseUp=function(){e.currentTarget&&(e.currentTarget=void 0);var t=e.getContainerDOM();t&&(t.removeEventListener("mousemove",e.onMouseMove),t.removeEventListener("mouseup",e.onMouseUp),t.removeEventListener("mouseleave",e.onMouseUp),t.removeEventListener("touchmove",e.onMouseMove),t.removeEventListener("touchend",e.onMouseUp),t.removeEventListener("touchcancel",e.onMouseUp))},e}return Object(r.__extends)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.get("start"),r=this.get("end"),o=Object(i.clamp)(n,t,e),a=Object(i.clamp)(r,t,e);this.get("isInit")||n===o&&r===a||this.setValue([o,a])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange();if(Object(i.isArray)(t)&&2===t.length){var n=[this.get("start"),this.get("end")];this.update({start:Object(i.clamp)(t[0],e.min,e.max),end:Object(i.clamp)(t[1],e.min,e.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:p,foregroundStyle:A,handlerStyle:C,textStyle:v}})},e.prototype.update=function(e){var n=e.start,o=e.end,a=Object(r.__assign)({},e);Object(i.isNil)(n)||(a.start=Object(i.clamp)(n,0,1)),Object(i.isNil)(o)||(a.end=Object(i.clamp)(o,0,1)),t.prototype.update.call(this,a),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",Object(i.clamp)(this.get("start"),0,1)),this.set("end",Object(i.clamp)(this.get("end"),0,1)),t.prototype.init.call(this)},e.prototype.render=function(){t.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var e=this.cfg,n=(e.start,e.end,e.width),o=e.height,a=e.trendCfg,s=void 0===a?{}:a,c=e.minText,l=e.maxText,u=e.backgroundStyle,g=void 0===u?{}:u,f=e.foregroundStyle,d=void 0===f?{}:f,p=e.textStyle,A=void 0===p?{}:p,C=e.handlerStyle,v=void 0===C?{}:C;Object(i.size)(Object(i.get)(s,"data"))&&(this.trend=this.addComponent(t,Object(r.__assign)({component:h,id:this.getElementId("trend"),x:0,y:0,width:n,height:o},s))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:Object(r.__assign)({x:0,y:0,width:n,height:o},g)}),this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:Object(r.__assign)({y:o/2,textAlign:"right",text:c,silent:!1},A)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:Object(r.__assign)({y:o/2,textAlign:"left",text:l,silent:!1},A)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:Object(r.__assign)({y:0,height:o},d)});var I=Object(i.get)(v,"height",24);this.minHandler=this.addComponent(t,Object(r.__assign)({component:m,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(o-I)/2,width:n,height:I,cursor:"ew-resize"},v)),this.maxHandler=this.addComponent(t,Object(r.__assign)({component:m,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(o-I)/2,width:n,height:I,cursor:"ew-resize"},v))},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,e,n){var r=this.cfg,o=r.start,a=r.end,s=r.width,c=r.minText,l=r.maxText,u=r.handlerStyle,g=r.height,f=o*s,d=a*s;this.trend&&(this.trend.update({width:s,height:g}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",f),t.attr("width",d-f);var h=Object(i.get)(u,"width",10);e.attr("text",c),n.attr("text",l);var p=this._dodgeText([f,d],e,n),A=p[0],C=p[1];this.minHandler&&(this.minHandler.update({x:f-h/2}),this.get("updateAutoRender")||this.minHandler.render()),Object(i.each)(A,(function(t,n){return e.attr(n,t)})),this.maxHandler&&(this.maxHandler.update({x:d-h/2}),this.get("updateAutoRender")||this.maxHandler.render()),Object(i.each)(C,(function(t,e){return n.attr(e,t)}))},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var e=t.findById(this.getElementId("foreground"));e.on("mousedown",this.onMouseDown("foreground")),e.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":var i=0-n,o=1-n;return Math.min(o,Math.max(i,t));case"maxHandler":return i=0-r,o=1-r,Math.min(o,Math.max(i,t));case"foreground":return i=0-n,o=1-r,Math.min(o,Math.max(i,t))}},e.prototype.updateStartEnd=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":r+=t;break;case"foreground":n+=t,r+=t}this.set("start",n),this.set("end",r)},e.prototype._dodgeText=function(t,e,n){var r,o,a=this.cfg,s=a.handlerStyle,c=a.width,l=Object(i.get)(s,"width",10),u=t[0],g=t[1],f=!1;u>g&&(u=(r=[g,u])[0],g=r[1],e=(o=[n,e])[0],n=o[1],f=!0);var d=e.getBBox(),h=n.getBBox(),p=d.width>u-2?{x:u+l/2+2,textAlign:"left"}:{x:u-l/2-2,textAlign:"right"},A=h.width>c-g-2?{x:g-l/2-2,textAlign:"right"}:{x:g+l/2+2,textAlign:"left"};return f?[A,p]:[p,A]},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e}(o.a)},function(t,e,n){"use strict";var r,i,o=n(1),a=n(18),s=n(2),c=n(0),l=n(3),u=n(77),g=n(48);!function(t){t.Left="Left",t.Right="Right"}(r||(r={})),function(t){t.Line="line",t.Column="column"}(i||(i={}));var f="left-axes-view",d="right-axes-view",h={nice:!0,label:{autoHide:!0,autoRotate:!1}},p=Object(o.__assign)(Object(o.__assign)({},h),{position:"left"}),A=Object(o.__assign)(Object(o.__assign)({},h),{position:"right",grid:null});function C(t){return Object(c.get)(t,"geometry")===i.Line}function v(t){return Object(c.get)(t,"geometry")===i.Column}function I(t,e,n){return v(n)?Object(s.b)({},{geometry:i.Column,label:n.label&&n.isRange?{content:function(t){var n;return null===(n=t[e])||void 0===n?void 0:n.join("-")}}:void 0},n):Object(o.__assign)({geometry:i.Line},n)}function y(t,e){var n=t[0],r=t[1];return Object(c.isArray)(e)?[e[0],e[1]]:[Object(c.get)(e,n),Object(c.get)(e,r)]}function m(t,e){return e===r.Left?!1!==t&&Object(s.b)({},p,t):e===r.Right?!1!==t&&Object(s.b)({},A,t):t}var b=n(9);function x(t){var e=t.view,n=t.geometryOption,r=t.yField,i=t.legend,o=Object(c.get)(i,"marker"),a=Object(s.c)(e,C(n)?"line":"interval");if(!n.seriesField){var l=a.getAttribute("color").values[0],u=o||(C(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:l}}:{symbol:"square",style:{fill:l}});return[{value:r,name:Object(c.get)(e,"options.scales."+r+".alias")||r,marker:u,isGeometry:!0,viewId:e.id}]}var g=a.getGroupAttributes();return Object(c.reduce)(g,(function(t,n){var r=b.Util.getLegendItems(e,a,n,e.getTheme(),o);return t.concat(r)}),[])}var w=n(16);function O(t){var e,n=t.options,r=n.geometryOptions,o=void 0===r?[]:r,a=n.xField,l=n.yField,u=Object(c.every)(o,(function(t){var e=t.geometry;return e===i.Line||void 0===e}));return Object(s.b)({},{options:{geometryOptions:[],meta:(e={},e[a]={type:"cat",sync:!0,range:u?[0,1]:void 0},e),tooltip:{showMarkers:u,showCrosshairs:u,shared:!0,crosshairs:{type:"x"}},interactions:u?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},t,{options:{yAxis:y(l,n.yAxis),geometryOptions:[I(0,l[0],o[0]),I(0,l[1],o[1])],annotations:y(l,n.annotations)}})}function S(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,a=n.geometryOptions,l=n.data,g=n.tooltip,h={line:0,column:1};return[Object(o.__assign)(Object(o.__assign)({},a[0]),{id:f,data:l[0],yField:i[0]}),Object(o.__assign)(Object(o.__assign)({},a[1]),{id:d,data:l[1],yField:i[1]})].sort((function(t,e){return-h[t.geometry]+h[e.geometry]})).forEach((function(t){var n=t.id,i=t.data,a=t.yField,l=v(t)&&t.isPercent,f=l?Object(u.b)(i,a,r,a):i,d=e.createView({id:n}).data(f),h=l?Object(o.__assign)({formatter:function(e){return{name:e[t.seriesField]||a,value:(100*Number(e[a])).toFixed(2)+"%"}}},g):g;!function(t){var e=t.options,n=t.chart,r=e.geometryOption,i=r.isStack,a=r.color,l=r.seriesField,u=r.groupField,g=r.isGroup,f=["xField","yField"];if(C(r)){Object(w.d)(Object(s.b)({},t,{options:Object(o.__assign)(Object(o.__assign)(Object(o.__assign)({},Object(s.k)(e,f)),r),{line:{color:r.color,style:r.lineStyle}})})),Object(w.e)(Object(s.b)({},t,{options:Object(o.__assign)(Object(o.__assign)(Object(o.__assign)({},Object(s.k)(e,f)),r),{point:r.point&&Object(o.__assign)({color:a,shape:"circle"},r.point)})}));var d=[];g&&d.push({type:"dodge",dodgeBy:u||l,customOffset:0}),i&&d.push({type:"stack"}),d.length&&Object(c.each)(n.geometries,(function(t){t.adjust(d)}))}v(r)&&Object(w.c)(Object(s.b)({},t,{options:Object(o.__assign)(Object(o.__assign)(Object(o.__assign)({},Object(s.k)(e,f)),r),{widthRatio:r.columnWidthRatio,interval:Object(o.__assign)(Object(o.__assign)({},Object(s.k)(r,["color"])),{style:r.columnStyle})})}))}({chart:d,options:{xField:r,yField:a,tooltip:h,geometryOption:t}})})),t}function _(t){var e,n=t.chart,r=t.options.geometryOptions,i=(null===(e=n.getTheme())||void 0===e?void 0:e.colors10)||[],o=0;return n.once("beforepaint",(function(){Object(c.each)(r,(function(t,e){var r=Object(g.a)(n,0===e?f:d);if(!t.color){var a=r.getGroupScales(),s=Object(c.get)(a,[0,"values","length"],1),l=i.slice(o,o+s).concat(0===e?[]:i);r.geometries.forEach((function(e){t.seriesField?e.color(t.seriesField,l):e.color(l[0])})),o+=s}})),n.render(!0)})),t}function k(t){var e,n,r=t.chart,i=t.options,o=i.xAxis,a=i.yAxis,c=i.xField,u=i.yField;return Object(l.f)(((e={})[c]=o,e[u[0]]=a[0],e))(Object(s.b)({},t,{chart:Object(g.a)(r,f)})),Object(l.f)(((n={})[c]=o,n[u[1]]=a[1],n))(Object(s.b)({},t,{chart:Object(g.a)(r,d)})),t}function j(t){var e=t.chart,n=t.options,i=Object(g.a)(e,f),o=Object(g.a)(e,d),a=n.xField,s=n.yField,c=n.xAxis,l=n.yAxis;return e.axis(a,!1),e.axis(s[0],!1),e.axis(s[1],!1),i.axis(a,c),i.axis(s[0],m(l[0],r.Left)),o.axis(a,!1),o.axis(s[1],m(l[1],r.Right)),t}function E(t){var e=t.chart,n=t.options.tooltip,r=Object(g.a)(e,f),i=Object(g.a)(e,d);return e.tooltip(n),r.tooltip({shared:!0}),i.tooltip({shared:!0}),t}function P(t){var e=t.chart;return Object(l.c)(Object(s.b)({},t,{chart:Object(g.a)(e,f)})),Object(l.c)(Object(s.b)({},t,{chart:Object(g.a)(e,d)})),t}function M(t){var e=t.chart,n=t.options.annotations,r=Object(c.get)(n,[0]),i=Object(c.get)(n,[1]);return Object(l.b)(r)(Object(s.b)({},t,{chart:Object(g.a)(e,f),options:{annotations:r}})),Object(l.b)(i)(Object(s.b)({},t,{chart:Object(g.a)(e,d),options:{annotations:i}})),t}function T(t){var e=t.chart;return Object(l.a)(Object(s.b)({},t,{chart:Object(g.a)(e,f)})),Object(l.a)(Object(s.b)({},t,{chart:Object(g.a)(e,d)})),t}function R(t){var e=t.chart,n=t.options.yAxis;return Object(l.e)(Object(s.b)({},t,{chart:Object(g.a)(e,f),options:{yAxis:n[0]}})),Object(l.e)(Object(s.b)({},t,{chart:Object(g.a)(e,d),options:{yAxis:n[1]}})),t}function D(t){var e=t.chart,n=t.options,r=n.legend,i=n.geometryOptions,o=n.yField,a=n.data,l=Object(g.a)(e,f),u=Object(g.a)(e,d);return!1===r?e.legend(!1):Object(c.isObject)(r)&&!0===r.custom?e.legend(r):(e.once("beforepaint",(function(){var t=a[0].length?x({view:l,geometryOption:i[0],yField:o[0],legend:r}):[],n=a[1].length?x({view:u,geometryOption:i[1],yField:o[1],legend:r}):[];e.legend(Object(s.b)({},r,{custom:!0,items:t.concat(n)}))})),e.on("legend-item:click",(function(t){var n=Object(c.get)(t,"gEvent.delegateObject",{});if(n&&n.item){var r=n.item,i=r.value,a=r.isGeometry,s=r.viewId;if(a){if(Object(c.findIndex)(o,(function(t){return t===i}))>-1){var l=Object(c.get)(Object(g.a)(e,s),"geometries");Object(c.each)(l,(function(t){t.changeVisible(!n.item.unchecked)}))}}else{var u=Object(c.get)(e.getController("legend"),"option.items",[]);Object(c.each)(e.views,(function(t){var n=t.getGroupScales();Object(c.each)(n,(function(e){e.values&&e.values.indexOf(i)>-1&&t.filter(e.field,(function(t){return!Object(c.find)(u,(function(e){return e.value===t})).unchecked}))})),e.render(!0)}))}}}))),t}function N(t){return Object(s.e)(O,S,k,j,R,E,P,M,l.j,T,_,D)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dual-axes",e}Object(o.__extends)(e,t),e.prototype.getDefaultOptions=function(){return Object(s.b)({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return N}}(a.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(0),s=n(3),c=n(16);function l(t,e){var n;switch(t){case"inner":return n="-30%",Object(a.isString)(e)&&e.endsWith("%")?.01*parseFloat(e)>0?n:e:e<0?e:n;case"outer":return n=12,Object(a.isString)(e)&&e.endsWith("%")?.01*parseFloat(e)<0?n:e:e>0?e:n;default:return e}}function u(t){var e=t.chart,n=t.options,i=n.data,s=n.angleField,l=n.colorField,u=n.color,g=n.pieStyle,f=Object(a.filter)(i,(function(t){return"number"===typeof t[s]||Object(a.isNil)(t[s])}));if(Object(o.j)(o.a.WARN,f.length===i.length,"illegal data existed in chart data."),Object(a.every)(f,(function(t){return 0===t[s]}))){var d="$$percentage$$";f=f.map((function(t){var e;return Object(r.__assign)(Object(r.__assign)({},t),((e={}).$$percentage$$=1/f.length,e))})),e.data(f);var h=Object(o.b)({},t,{options:{xField:"1",yField:d,seriesField:l,isStack:!0,interval:{color:u,style:g}}});Object(c.c)(h),e.geometries[0].tooltip(l+"*"+s)}else e.data(f),h=Object(o.b)({},t,{options:{xField:"1",yField:s,seriesField:l,isStack:!0,interval:{color:u,style:g}}}),Object(c.c)(h);return t}function g(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,s=Object(o.b)({},i);return n.scale(s,((e={})[a]={type:"cat"},e)),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:o,endAngle:a}}),t}function d(t){var e=t.chart,n=t.options,i=n.label,s=n.colorField,c=n.angleField,u=e.geometries[0];if(i){var g=i.callback,f=Object(r.__rest)(i,["callback"]),d=Object(o.o)(f);if(d.content){var h=d.content;d.content=function(t,n,i){var l=t[s],u=t[c],g=e.getScaleByField(c),f=null===g||void 0===g?void 0:g.scale(u);return Object(a.isFunction)(h)?h(Object(r.__assign)(Object(r.__assign)({},t),{percent:f}),n,i):Object(a.isString)(h)?Object(o.n)(h,{value:u,name:l,percentage:Object(a.isNumber)(f)&&!Object(a.isNil)(u)?(100*f).toFixed(2)+"%":null}):h}}var p=d.type?{inner:"",outer:"pie-outer",spider:"pie-spider"}[d.type]:"pie-outer",A=d.layout?Object(a.isArray)(d.layout)?d.layout:[d.layout]:[];d.layout=(p?[{type:p}]:[]).concat(A),u.label({fields:s?[c,s]:[c],callback:g,cfg:Object(r.__assign)(Object(r.__assign)({},d),{offset:l(d.type,d.offset),type:"pie"})})}else u.label(!1);return t}function h(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.statistic,s=n.angleField,c=n.colorField,l=n.meta;if(r&&i){var u=i.title,g=i.content;!1!==u&&(u=Object(o.b)({},{formatter:function(t){return t?t[c]:"\u603b\u8ba1"}},u)),!1!==g&&(g=Object(o.b)({},{formatter:function(t,e){var n=Object(a.get)(l,[s,"formatter"]),r=t?t[s]:function(t,e){var n=null;return Object(a.each)(t,(function(t){"number"===typeof t[e]&&(n+=t[e])})),n}(e,s);return n?n(r):r}},g)),Object(o.m)(e,{statistic:{title:u,content:g},plotType:"pie"})}return t}function p(t){return Object(o.e)(u,g,s.j,f,s.d,(function(t){return Object(s.k)(function(t){return!1!==Object(a.get)(t,["options","tooltip"])?Object(o.b)({},t,{options:{tooltip:{shared:!1}}}):t}(t))}),d,s.i,Object(s.b)(),h,s.c,s.a)(t)}var A=n(9),C=n(174),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getActiveElements=function(){var t=A.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,i=n.get("field");if(i)return e.geometries[0].elements.filter((function(t){return t.getModel().data[i]===r.value}))}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter((function(t){return e.find((function(e){return Object(a.isEqual)(e.getData(),t.get("data"))}))}))},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach((function(e,r){var i=n[r],o=e.geometry.coordinate;if(o.isPolar&&o.isTransposed){var a=A.Util.getAngle(e.getModel(),o),s=(a.startAngle+a.endAngle)/2,c=t,l=c*Math.cos(s),u=c*Math.sin(s);e.shape.setMatrix(Object(C.a)([["t",l,u]])),i.setMatrix(Object(C.a)([["t",l,u]]))}}))},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(A.Action),I=n(137),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",(function(){var n=t.getAnnotations(e);t.initialAnnotation=n}))},e.prototype.change=function(){var t=this.context,e=t.view,n=t.event,i=this.getAnnotations();this.initialAnnotation||(this.initialAnnotation=i);var o=((null===n||void 0===n?void 0:n.data)||{}).data;if(n.type.match("legend-item")){var s=A.Util.getDelegationObject(this.context),c=e.getGroupedFields()[0];if(s&&c){var l=s.item;o=e.getData().find((function(t){return t[c]===l.value}))}}if(o){var u=e.getController("annotation");u.clear(!0);var g=e.getScaleFields(),f=g[1],d=g[2],h=e.getScaleByField(f),p=e.getScaleByField(d),C=i.filter((function(t){return!Object(a.get)(t,"key","").match("statistic")})),v=i.filter((function(t){return Object(a.get)(t,"key","").match("statistic")})),y=v.filter((function(t){return"top-statistic"===t.key})),m=v.filter((function(t){return"bottom-statistic"===t.key}));Object(a.each)(v,(function(t){var n,i;"top-statistic"===t.key?(n=p?p.getText(o[d]):null,i=m?"translate(-50%, -100%)":"translate(-50%, -50%)"):(n=h?h.getText(o[f]):o[f],i=y?"translate(-50%, 0)":"translate(-50%,-50%)"),C.push(Object(r.__assign)(Object(r.__assign)({},t),{html:function(e,s){var c=s.getCoordinate(),l=c.getRadius()*c.innerRadius*2,u=Object(a.isFunction)(t.style)?t.style():t.style;Object(I.d)(e,Object(r.__assign)({width:l+"px",transform:i},Object(I.a)(u)));var g=s.getData();return t.customHtml?t.customHtml(e,s,o,g):(t.formatter&&(n=t.formatter(o,g)),n?Object(a.isString)(n)?n:""+n:"<div></div>")}})),C.forEach((function(t){u.annotation(t)})),e.render(!0)}))}},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();Object(a.each)(e,(function(e){t.annotation()[e.type](e)})),t.render(!0)},e}(A.Action);Object(A.registerAction)("pie-statistic",y),Object(A.registerInteraction)("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),Object(A.registerAction)("pie-legend",v),Object(A.registerInteraction)("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{legend:{position:"right"},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}})},e.prototype.getSchemaAdaptor=function(){return p}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(3),s=n(16),c=n(0),l={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function u(t,e){return function(t,e){var n=function(){var t=[256,256],e=h,n=A,r=p,i=C,o=v,a=x,s=Math.random,c=[],l=1/0,u=d,g=p,k=O,j={};function E(t){t.width=t.height=1;var e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2);t.width=2048/e,t.height=f/e;var n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",{context:n,ratio:e}}function P(e,n,r){for(var i,o,c,l=n.x,u=n.y,g=Math.sqrt(t[0]*t[0]+t[1]*t[1]),f=a(t),d=s()<.5?1:-1,h=-d;(i=f(h+=d))&&(o=~~i[0],c=~~i[1],!(Math.min(Math.abs(o),Math.abs(c))>=g));)if(n.x=l+o,n.y=u+c,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>t[0]||n.y+n.y1>t[1])&&(!r||!y(n,e,t[0]))&&(!r||b(n,r))){for(var p=n.sprite,A=n.width>>5,C=t[0]>>5,v=n.x-(A<<4),I=127&v,m=32-I,x=n.y1-n.y0,w=void 0,O=(n.y+n.y0)*C+(v>>5),S=0;S<x;S++){w=0;for(var _=0;_<=A;_++)e[O+_]|=w<<m|(_<A?(w=p[S*A+_])>>>I:0);O+=C}return delete n.sprite,!0}return!1}return j.start=function(){var a=t[0],f=t[1],d=E(k()),h=j.board?j.board:w((t[0]>>5)*t[1]),p=c.length,A=[],C=c.map((function(t,a,s){return t.text=u.call(this,t,a,s),t.font=e.call(this,t,a,s),t.style=g.call(this,t,a,s),t.weight=r.call(this,t,a,s),t.rotate=i.call(this,t,a,s),t.size=~~n.call(this,t,a,s),t.padding=o.call(this,t,a,s),t})).sort((function(t,e){return e.size-t.size})),v=-1,y=j.board?[{x:0,y:0},{x:a,y:f}]:null;function b(){for(var e=Date.now();Date.now()-e<l&&++v<p;){var n=C[v];n.x=a*(s()+.5)>>1,n.y=f*(s()+.5)>>1,I(d,n,C,v),n.hasText&&P(h,n,y)&&(A.push(n),y?j.hasImage||m(y,n):y=[{x:n.x+n.x0,y:n.y+n.y0},{x:n.x+n.x1,y:n.y+n.y1}],n.x-=t[0]>>1,n.y-=t[1]>>1)}j._tags=A,j._bounds=y}return b(),j},j.createMask=function(e){var n=document.createElement("canvas"),r=t[0],i=t[1];if(r&&i){var o=r>>5,a=w((r>>5)*i);n.width=r,n.height=i;var s=n.getContext("2d");s.drawImage(e,0,0,e.width,e.height,0,0,r,i);for(var c=s.getImageData(0,0,r,i).data,l=0;l<i;l++)for(var u=0;u<r;u++){var g=o*l+(u>>5),f=l*r+u<<2,d=c[f]>=250&&c[f+1]>=250&&c[f+2]>=250?1<<31-u%32:0;a[g]|=d}j.board=a,j.hasImage=!0}},j.timeInterval=function(t){l=null==t?1/0:t},j.words=function(t){c=t},j.size=function(e){t=[+e[0],+e[1]]},j.font=function(t){e=S(t)},j.fontWeight=function(t){r=S(t)},j.rotate=function(t){i=S(t)},j.spiral=function(t){a=_[t]||t},j.fontSize=function(t){n=S(t)},j.padding=function(t){o=S(t)},j.random=function(t){s=S(t)},j}();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach((function(t){Object(c.isNil)(e[t])||n[t](e[t])})),n.words(t),e.imageMask&&n.createMask(e.imageMask);var r=n.start()._tags;r.forEach((function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2}));var i=e.size,o=i[0],a=i[1];return r.push({text:"",value:0,x:0,y:0,opacity:0}),r.push({text:"",value:0,x:o,y:a,opacity:0}),r}(t,e=Object(c.assign)({},l,e))}var g=Math.PI/180,f=2048;function d(t){return t.text}function h(){return"serif"}function p(){return"normal"}function A(t){return t.value}function C(){return 90*~~(2*Math.random())}function v(){return 1}function I(t,e,n,r){if(!e.sprite){var i=t.context,o=t.ratio;i.clearRect(0,0,2048/o,f/o);var a=0,s=0,c=0,l=n.length;for(--r;++r<l;){e=n[r],i.save(),i.font=e.style+" "+e.weight+" "+~~((e.size+1)/o)+"px "+e.font;var u=i.measureText(e.text+"m").width*o,d=e.size<<1;if(e.rotate){var h=Math.sin(e.rotate*g),p=Math.cos(e.rotate*g),A=u*p,C=u*h,v=d*p,I=d*h;u=Math.max(Math.abs(A+I),Math.abs(A-I))+31>>5<<5,d=~~Math.max(Math.abs(C+v),Math.abs(C-v))}else u=u+31>>5<<5;if(d>c&&(c=d),a+u>=2048&&(a=0,s+=c,c=0),s+d>=f)break;i.translate((a+(u>>1))/o,(s+(d>>1))/o),e.rotate&&i.rotate(e.rotate*g),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=u,e.height=d,e.xoff=a,e.yoff=s,e.x1=u>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,a+=u}for(var y=i.getImageData(0,0,2048/o,f/o).data,m=[];--r>=0;)if((e=n[r]).hasText){for(var b=(u=e.width)>>5,x=(d=e.y1-e.y0,0);x<d*b;x++)m[x]=0;if(null==(a=e.xoff))return;s=e.yoff;for(var w=0,O=-1,S=0;S<d;S++){for(x=0;x<u;x++){var _=b*S+(x>>5),k=y[2048*(s+S)+(a+x)<<2]?1<<31-x%32:0;m[_]|=k,w|=k}w?O=S:(e.y0++,d--,S--,s++)}e.y1=e.y0+O,e.sprite=m.slice(0,(e.y1-e.y0)*b)}}}function y(t,e,n){n>>=5;for(var r,i=t.sprite,o=t.width>>5,a=t.x-(o<<4),s=127&a,c=32-s,l=t.y1-t.y0,u=(t.y+t.y0)*n+(a>>5),g=0;g<l;g++){r=0;for(var f=0;f<=o;f++)if((r<<c|(f<o?(r=i[g*o+f])>>>s:0))&e[u+f])return!0;u+=n}return!1}function m(t,e){var n=t[0],r=t[1];e.x+e.x0<n.x&&(n.x=e.x+e.x0),e.y+e.y0<n.y&&(n.y=e.y+e.y0),e.x+e.x1>r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function b(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0<e[1].x&&t.y+t.y1>e[0].y&&t.y+t.y0<e[1].y}function x(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function w(t){for(var e=[],n=-1;++n<t;)e[n]=0;return e}function O(){return document.createElement("canvas")}function S(t){return Object(c.isFunction)(t)?t:function(){return t}}var _={archimedean:x,rectangular:function(t){var e=4*t[0]/t[1],n=0,r=0;return function(t){var i=t<0?-1:1;switch(Math.sqrt(1+4*i*t)-i&3){case 0:n+=e;break;case 1:r+=4;break;case 2:n-=e;break;default:r-=4}return[n,r]}}};function k(t){var e=t.options,n=t.chart,i=n,o=i.width,a=i.height,s=i.padding,l=i.appendPadding,g=i.ele,f=e.data,d=e.imageMask,h=e.wordField,p=e.weightField,A=e.colorField,C=e.wordStyle,v=e.timeInterval,I=e.random,y=e.spiral,m=e.autoFit,b=void 0===m||m,x=e.placementStrategy;if(!f||!f.length)return[];var w,O=C.fontFamily,_=C.fontWeight,k=C.padding,E=C.fontSize,R=function(t,e){return t.map((function(t){return t[e]})).filter((function(t){return"number"===typeof t&&!isNaN(t)}))}(f,p),D=[(w=R,Math.min.apply(Math,w)),T(R)],N=f.map((function(t){return{text:t[h],value:t[p],color:t[A],datum:t}})),L={imageMask:d,font:O,fontSize:P(E,D),fontWeight:_,size:j({width:o,height:a,padding:s,appendPadding:l,autoFit:b,container:g}),padding:k,timeInterval:v,random:I,spiral:y,rotate:M(e)};if(Object(c.isFunction)(x)){var F=N.map((function(t,e,i){return Object(r.__assign)(Object(r.__assign)(Object(r.__assign)({},t),{hasText:!!t.text,font:S(L.font)(t,e,i),weight:S(L.fontWeight)(t,e,i),rotate:S(L.rotate)(t,e,i),size:S(L.fontSize)(t,e,i),style:"normal"}),x.call(n,t,e,i))}));return F.push({text:"",value:0,x:0,y:0,opacity:0}),F.push({text:"",value:0,x:L.size[0],y:L.size[1],opacity:0}),F}return u(N,L)}function j(t){var e=t.width,n=t.height,r=t.container,i=t.autoFit,a=t.padding,s=t.appendPadding;if(i){var c=Object(o.g)(r);e=c.width,n=c.height}e=e||400,n=n||400;var l=function(t){var e=E(t.padding),n=E(t.appendPadding),r=e[0]+n[0],i=e[1]+n[1],o=e[2]+n[2],a=e[3]+n[3];return[r,i,o,a]}({padding:a,appendPadding:s}),u=l[0],g=l[1],f=l[2];return[e-(l[3]+g),n-(u+f)]}function E(t){if(Object(c.isNumber)(t))return[t,t,t,t];if(Object(c.isArray)(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}function P(t,e){if(Object(c.isFunction)(t))return t;if(Object(c.isArray)(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var i=e[0],o=e[1];return o===i?function(){return(r+n)/2}:function(t){var e=t.value;return(r-n)/(o-i)*(e-i)+n}}return function(){return t}}function M(t){var e=function(t){var e=t.wordStyle.rotationSteps;return e<1&&(Object(o.j)(o.a.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}}(t),n=e.rotation,r=e.rotationSteps;if(!Object(c.isArray)(n))return n;var i=n[0],a=n[1],s=1===r?0:(a-i)/(r-1);return function(){return a===i?a:Math.floor(Math.random()*r)*s}}function T(t){return Math.max.apply(Math,t)}function R(t){var e=t.chart,n=t.options,r=n.colorField,i=n.color,a=k(t);e.data(a);var c=Object(o.b)({},t,{options:{xField:"x",yField:"y",seriesField:r&&"color",point:{color:i,shape:"word-cloud"}}});return Object(s.e)(c).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function D(t){return Object(o.e)(Object(a.f)({x:{nice:!1},y:{nice:!1}}))(t)}function N(t){Object(o.e)(R,D,a.k,a.d,a.c,a.a,a.j,a.i)(t)}var L=n(9);function F(t){return{fontSize:t.data.size,text:t.data.text,textAlign:"center",fontFamily:t.data.font,fontWeight:t.data.weight,fill:t.color||t.defaultStyle.stroke,textBaseline:"alphabetic"}}Object(L.registerShape)("point","word-cloud",{draw:function(t,e){var n=t.x,i=t.y,o=e.addShape("text",{attrs:Object(r.__assign)(Object(r.__assign)({},F(t)),{x:n,y:i})}),a=t.data.rotate;return"number"===typeof a&&L.Util.rotate(o,a*Math.PI/180),o}}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(k({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value","color"],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}})},e.prototype.render=function(){var e=this;return new Promise((function(n){var i=e.options.imageMask;if(!i)return t.prototype.render.call(e),void n();var a,s=function(i){e.options=Object(r.__assign)(Object(r.__assign)({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};(a=i,new Promise((function(t,e){if(a instanceof HTMLImageElement)t(a);else{if(Object(c.isString)(a)){var n=new Image;return n.crossOrigin="anonymous",n.src=a,n.onload=function(){t(n)},void(n.onerror=function(){Object(o.j)(o.a.ERROR,!1,"image %s load failed !!!",a),e()})}Object(o.j)(o.a.WARN,void 0===a,"The type of imageMask option must be String or HTMLImageElement."),e()}}))).then(s).catch(s)}))},e.prototype.getSchemaAdaptor=function(){return N},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout((function(){t.prototype.triggerResize.call(e)})))}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(0),a=n(3),s=n(16),c=n(2),l="$$yField$$",u="$$diffField$$",g="$$absoluteField$$",f="$$isTotal$$";function d(t,e,n,i){return function(t,e,n,i,a){var s,l=[];if(Object(o.reduce)(t,(function(t,e){var a;Object(c.j)(c.a.WARN,Object(o.isNumber)(e[n]),e[n]+" is not a valid number");var s=Object(o.isUndefined)(e[n])?null:e[n];return l.push(Object(r.__assign)(Object(r.__assign)({},e),((a={})[i]=[t,t+s],a))),t+s}),0),l.length&&a){var u=Object(o.get)(l,[[t.length-1],i,[1]]);l.push(((s={})[e]=a.label,s[n]=u,s[i]=[0,u],s))}return l}(t,e,n,l,i).map((function(e,n){var i;return Object(o.isObject)(e)?Object(r.__assign)(Object(r.__assign)({},e),((i={})[g]=e[l][1],i[u]=e[l][1]-e[l][0],i[f]=n===t.length,i)):e}))}var h=n(9);function p(t){var e=t.chart,n=t.options,r=n.data,i=n.xField,a=n.yField,g=n.total,h=n.leaderLine,p=n.columnWidthRatio,A=n.waterfallStyle,C=n.risingFill,v=n.fallingFill,I=n.color;e.data(d(r,i,a,g));var y=I||function(t){return Object(o.get)(t,[f])?Object(o.get)(g,["style","fill"],""):Object(o.get)(t,[l,1])-Object(o.get)(t,[l,0])>0?C:v},m=Object(c.b)({},t,{options:{xField:i,yField:l,seriesField:i,rawFields:[a,u,f,l],widthRatio:p,interval:{style:A,shape:"waterfall",color:y}}}),b=Object(s.c)(m).ext.geometry;return b.customInfo({leaderLine:h}),b.tooltip(a),t}function A(t){var e,n,r=t.options,i=r.xAxis,s=r.yAxis,f=r.xField,d=r.yField,h=r.meta,p=Object(c.b)({},{alias:d},Object(o.get)(h,d));return Object(c.e)(Object(a.f)(((e={})[f]=i,e[d]=s,e[l]=s,e),Object(c.b)({},h,((n={})[l]=p,n[u]=p,n[g]=p,n))))(t)}function C(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?(e.axis(a,!1),e.axis(l,!1)):(e.axis(a,i),e.axis(l,i)),t}function v(t){var e=t.chart,n=t.options,r=n.legend,i=n.total,a=n.risingFill,s=n.fallingFill;if(!1===r)e.legend(!1);else{var l=[{name:"\u589e\u52a0",value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:"\u51cf\u5c11",value:"decrease",marker:{symbol:"square",style:{r:5,fill:s}}}];i&&l.push({name:i.label||"",value:"total",marker:{symbol:"square",style:Object(c.b)({},{r:5},Object(o.get)(i,"style"))}}),e.legend(Object(c.b)({},{custom:!0,position:"top",items:l},r)),e.removeInteraction("legend-filter")}return t}function I(t){var e=t.chart,n=t.options,i=n.label,o=n.labelMode,a=n.xField,s=Object(c.c)(e,"interval");if(i){var l=i.callback,f=Object(r.__rest)(i,["callback"]);s.label({fields:"absolute"===o?[g,a]:[u,a],callback:l,cfg:Object(c.o)(f)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.yField;return!1!==i?e.tooltip(Object(r.__assign)({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i)):e.tooltip(!1),t}function m(t){return Object(c.e)(p,A,C,v,y,I,a.i,a.j,a.c,a.a,Object(a.b)())(t)}Object(h.registerShape)("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,a=t.nextPoints,s=e.addGroup(),l=this.parsePath(function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r){var i=0===n?"M":"L";e.push([i,r.x,r.y])}}var o=t[0];return e.push(["L",o.x,o.y]),e.push(["z"]),e}(i)),u=function(t){return Object(c.b)({},t.defaultStyle,t.style,{fill:t.color})}(t);s.addShape("path",{attrs:Object(r.__assign)(Object(r.__assign)({},u),{path:l})});var g=Object(o.get)(n,"leaderLine");if(g&&a){var f=[["M",i[2].x,i[2].y],["L",a[0].x,a[0].y]];i[2].y===a[1].y&&(f[1]=["L",a[1].x,a[1].y]),f=this.parsePath(f),s.addShape("path",{attrs:Object(r.__assign)({path:f},g.style||{})})}return s}}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="waterfall",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){var e=this.options,n=e.xField,r=e.yField,i=e.total;this.updateOption({data:t}),this.chart.changeData(d(t,n,r,i))},e.prototype.getSchemaAdaptor=function(){return m},e.prototype.getDefaultOptions=function(){return{label:{},leaderLine:{style:{lineWidth:1,stroke:"#8c8c8c",lineDash:[4,2]}},total:{label:"\u603b\u8ba1",style:{fill:"rgba(0, 0, 0, 0.25)"}},interactions:[{type:"element-active"}],risingFill:"#f4664a",fallingFill:"#30bf78",waterfallStyle:{fill:"rgba(0, 0, 0, 0.25)"},yAxis:{grid:{line:{style:{lineDash:[4,2]}}}}}}}(i.a)},function(t,e,n){"use strict";n.r(e),n.d(e,"Base",(function(){return s})),n.d(e,"Circle",(function(){return c})),n.d(e,"Line",(function(){return l}));var r=n(1),i=n(0),o=n(28),a=n(21),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:a.a.lineColor}}}})},e.prototype.getLineType=function(){return(this.get("line")||this.get("defaultCfg").line).type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,e){var n=this.getGridPath(t),r=e.slice(0).reverse(),i=this.getGridPath(r,!0);return this.get("closed")?n=n.concat(i):(i[0][0]="L",(n=n.concat(i)).push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var e=this,n=this.get("line"),r=this.get("items"),o=this.get("alternateColor"),a=null;Object(i.each)(r,(function(s,c){var l=s.id||c;if(n){var u=e.getPathStyle();u=Object(i.isFunction)(u)?u(s,c,r):u;var g=e.getElementId("line-"+l),f=e.getGridPath(s.points);e.addShape(t,{type:"path",name:"grid-line",id:g,attrs:Object(i.mix)({path:f},u)})}if(o&&c>0){var d=e.getElementId("region-"+l),h=c%2===0;if(Object(i.isString)(o))h&&e.drawAlternateRegion(d,t,a.points,s.points,o);else{var p=h?o[1]:o[0];e.drawAlternateRegion(d,t,a.points,s.points,p)}}a=s}))},e.prototype.drawAlternateRegion=function(t,e,n,r,i){var o=this.getAlternatePath(n,r);this.addShape(e,{type:"path",id:t,name:"grid-region",attrs:{path:o,fill:i}})},e}(o.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),r=this.get("closed"),o=[];if(t.length)if("circle"===n){var a=this.get("center"),s=t[0],c=function(t,e,n,r){var i=n-t,o=r-e;return Math.sqrt(i*i+o*o)}(a.x,a.y,s.x,s.y),l=e?0:1;r?(o.push(["M",a.x,a.y-c]),o.push(["A",c,c,0,0,l,a.x,a.y+c]),o.push(["A",c,c,0,0,l,a.x,a.y-c]),o.push(["Z"])):Object(i.each)(t,(function(t,e){0===e?o.push(["M",t.x,t.y]):o.push(["A",c,c,0,0,l,t.x,t.y])}))}else Object(i.each)(t,(function(t,e){0===e?o.push(["M",t.x,t.y]):o.push(["L",t.x,t.y])})),r&&o.push(["Z"]);return o},e}(s),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{type:"line"})},e.prototype.getGridPath=function(t){var e=[];return Object(i.each)(t,(function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])})),e},e}(s)},function(t,e,n){"use strict";n.r(e),n.d(e,"Category",(function(){return f})),n.d(e,"Continuous",(function(){return d})),n.d(e,"Base",(function(){return g}));var r=n(1),i=n(0),o=n(74),a=n(41),s=n(119),c=n(21),l=n(28),u=n(17),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var e=t.prototype.getLayoutBBox.call(this),n=this.get("maxWidth"),r=this.get("maxHeight"),i=e.width,o=e.height;return n&&(i=Math.min(i,n)),r&&(o=Math.min(o,r)),Object(u.b)(e.minX,e.minY,i,o)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),e=this.get("y"),n=this.get("offsetX"),r=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:e+r})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var e=this.get("background"),n=t.getBBox(),i=Object(u.c)(e.padding),o=Object(r.__assign)({x:0,y:0,width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},e.style);this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:o}).toBack()},e.prototype.drawTitle=function(t){var e=this.get("currentPoint"),n=this.get("title"),i=n.spacing,o=n.style,a=n.text,s=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:Object(r.__assign)({text:a,x:e.x,y:e.y},o)}).getBBox();this.set("currentPoint",{x:e.x,y:s.maxY+i})},e.prototype.resetDraw=function(){var t=this.get("background"),e={x:0,y:0};if(t){var n=Object(u.c)(t.padding);e.x=n[3],e.y=n[0]}this.set("currentPoint",e)},e}(l.a),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPageIndex=1,e.totalPagesCnt=1,e.pageWidth=0,e.pageHeight=0,e.startX=0,e.startY=0,e.onNavigationBack=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex>1){e.currentPageIndex-=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e.onNavigationAfter=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex<e.totalPagesCnt){e.currentPageIndex+=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"legend",type:"category",itemSpacing:24,itemMarginBottom:8,maxItemWidth:null,itemWidth:null,itemHeight:null,itemName:{},itemValue:null,maxWidth:null,maxHeight:null,marker:{},items:[],itemStates:{},itemBackground:{},defaultCfg:{title:{spacing:5,style:{fill:c.a.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}},background:{padding:5,style:{stroke:c.a.lineColor}},itemBackground:{style:{opacity:0,fill:"#fff"}},itemName:{spacing:16,style:{fill:c.a.textColor,fontSize:12,textAlign:"start",textBaseline:"middle"}},marker:{spacing:8,style:{r:6,symbol:"circle"}},itemValue:{alignRight:!1,formatter:null,style:{fill:c.a.textColor,fontSize:12,textAlign:"start",textBaseline:"middle"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:c.a.uncheckedColor},markerStyle:{fill:c.a.uncheckedColor,stroke:c.a.uncheckedColor}},inactive:{nameStyle:{fill:c.a.uncheckedColor},markerStyle:{opacity:.2}}}}})},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("items")},e.prototype.setItems=function(t){this.update({items:t})},e.prototype.updateItem=function(t,e){Object(i.mix)(t,e),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("item-group");t&&t.clear()},e.prototype.setItemState=function(t,e,n){t[e]=n;var r=this.getElementByLocalId("item-"+t.id);if(r){var i=this.getItems().indexOf(t),o=this.createOffScreenGroup(),a=this.drawItem(t,i,this.getItemHeight(),o);this.updateElements(a,r),this.clearUpdateStatus(r)}},e.prototype.hasState=function(t,e){return!!t[e]},e.prototype.getItemStates=function(t){var e=this.get("itemStates"),n=[];return Object(i.each)(e,(function(e,r){t[r]&&n.push(r)})),n},e.prototype.clearItemsState=function(t){var e=this,n=this.getItemsByState(t);Object(i.each)(n,(function(n){e.setItemState(n,t,!1)}))},e.prototype.getItemsByState=function(t){var e=this,n=this.getItems();return Object(i.filter)(n,(function(n){return e.hasState(n,t)}))},e.prototype.drawLegendContent=function(t){this.processItems(),this.drawItems(t)},e.prototype.processItems=function(){var t=this.get("items");Object(i.each)(t,(function(t){t.id||(t.id=t.name)}))},e.prototype.drawItems=function(t){var e=this,n=this.addGroup(t,{id:this.getElementId("item-container-group"),name:"legend-item-container-group"}),r=this.addGroup(n,{id:this.getElementId("item-group"),name:"legend-item-group"}),o=this.getItemHeight(),a=this.get("itemWidth"),s=this.get("itemSpacing"),c=this.get("itemMarginBottom"),l=this.get("currentPoint"),u=l.x,g=l.y,f=this.get("layout"),d=this.get("items"),h=!1,p=0,A=this.get("maxWidth"),C=this.get("maxHeight");Object(i.each)(d,(function(t,n){var i=e.drawItem(t,n,o,r),d=i.getBBox(),v=a||d.width;v>p&&(p=v),"horizontal"===f?(A&&A<l.x+v-u&&(h=!0,l.x=u,l.y+=o+c),e.moveElementTo(i,l),l.x+=v+s):(C&&C<l.y+o+c-g&&(h=!0,l.x+=p+s,l.y=g,p=0),e.moveElementTo(i,l),l.y+=o+c)})),h&&this.get("flipPage")&&(this.pageHeight=0,this.pageWidth=0,this.totalPagesCnt=1,this.startX=u,this.startY=g,this.adjustNavigation(t,r))},e.prototype.getItemHeight=function(){var t=this.get("itemHeight");if(!t){var e=this.get("itemName");e&&(t=e.style.fontSize)}return t},e.prototype.drawMarker=function(t,e,n,o){var a=Object(r.__assign)(Object(r.__assign)(Object(r.__assign)({x:0,y:o/2},e.style),{symbol:Object(i.get)(n.marker,"symbol","circle")}),Object(i.get)(n.marker,"style",{})),s=this.addShape(t,{type:"marker",id:this.getElementId("item-"+n.id+"-marker"),name:"legend-item-marker",attrs:a}),c=s.getBBox();s.attr("x",c.width/2);var l=s.attr(),u=l.stroke,g=l.fill;return u&&s.set("isStroke",!0),g&&s.set("isFill",!0),s},e.prototype.drawItemText=function(t,e,n,i,o,a,s){var c=n.formatter,l=Object(r.__assign)({x:a,y:o/2,text:c?c(i[e],i,s):i[e]},n.style);return this.addShape(t,{type:"text",id:this.getElementId("item-"+i.id+"-"+e),name:"legend-item-"+e,attrs:l})},e.prototype.drawItem=function(t,e,n,a){var s="item-"+t.id,c=this.addGroup(a,{name:"legend-item-container",id:this.getElementId("item-container-"+s),delegateObject:{item:t,index:e}}),l=this.addGroup(c,{name:"legend-item",id:this.getElementId(s),delegateObject:{item:t,index:e}}),u=this.get("marker"),g=this.get("itemName"),f=this.get("itemValue"),d=this.get("itemBackground"),h=this.getLimitItemWidth(),p=0;if(u&&(p=this.drawMarker(l,u,t,n).getBBox().maxX+u.spacing),g){var A=this.drawItemText(l,"name",g,t,n,p,e);h&&Object(o.a)(!0,A,Object(i.clamp)(h-p,0,h)),p=A.getBBox().maxX+g.spacing}if(f){var C=this.drawItemText(l,"value",f,t,n,p,e);h&&(f.alignRight?(C.attr({textAlign:"right",x:h}),Object(o.a)(!0,C,Object(i.clamp)(h-p,0,h),"head")):Object(o.a)(!0,C,Object(i.clamp)(h-p,0,h)))}if(d){var v=l.getBBox();this.addShape(l,{type:"rect",name:"legend-item-background",id:this.getElementId(s+"-background"),attrs:Object(r.__assign)({x:0,y:0,width:v.width,height:n},d.style)}).toBack()}return this.applyItemStates(t,l),l},e.prototype.adjustNavigation=function(t,e){var n=this,r=this.startX,o=this.startY,a=this.get("layout"),s=e.findAll((function(t){return"legend-item"===t.get("name")})),c=this.get("maxWidth"),l=this.get("maxHeight"),u=this.get("itemWidth"),g=this.get("itemSpacing"),f=this.getItemHeight(),d=this.drawNavigation(t,a,"00/00",12),h=d.getBBox(),p={x:r,y:o},A=1,C=0,v=0,I=0;if("horizontal"===a)this.pageHeight=f,Object(i.each)(s,(function(t){var e=t.getBBox(),i=u||e.width;(C&&C<p.x+i+g||c<p.x+i+g+h.width)&&(1===A&&(C=p.x+g,n.pageWidth=C,n.moveElementTo(d,{x:c-g-h.width-h.minX,y:p.y+f/2-h.height/2-h.minY})),A+=1,p.x=r,p.y+=f),n.moveElementTo(t,p),t.getParent().setClip({type:"rect",attrs:{x:p.x,y:p.y,width:i+g,height:f}}),p.x+=i+g}));else{var y=this.get("itemMarginBottom");Object(i.each)(s,(function(t){var e=t.getBBox();e.width>v&&(v=e.width)})),I=v,v+=g,c&&(v=Math.min(c,v),I=Math.min(c,I)),this.pageWidth=v,this.pageHeight=l-Math.max(h.height,f+y);var m=Math.floor(this.pageHeight/(f+y));Object(i.each)(s,(function(t,e){0!==e&&e%m===0&&(A+=1,p.x+=v,p.y=o),n.moveElementTo(t,p),t.getParent().setClip({type:"rect",attrs:{x:p.x,y:p.y,width:v,height:f}}),p.y+=f+y})),this.totalPagesCnt=A,this.moveElementTo(d,{x:r+I/2-h.width/2-h.minX,y:l-h.height-h.minY})}this.pageHeight&&this.pageWidth&&e.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),this.totalPagesCnt=A,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(d),e.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,e,n,r){var i={x:0,y:0},o=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),a=this.drawArrow(o,i,"navigation-arrow-left","horizontal"===e?"up":"left",r);a.on("click",this.onNavigationBack);var s=a.getBBox();i.x+=s.width+2;var c=this.addShape(o,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:{x:i.x,y:i.y+r/2,text:n,fontSize:12,fill:"#ccc",textBaseline:"middle"}}).getBBox();return i.x+=c.width+2,this.drawArrow(o,i,"navigation-arrow-right","horizontal"===e?"down":"right",r).on("click",this.onNavigationAfter),o},e.prototype.updateNavigation=function(t){var e=this.currentPageIndex+"/"+this.totalPagesCnt,n=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),r=t?t.findById(this.getElementId("navigation-arrow-left")):this.getElementByLocalId("navigation-arrow-left"),i=t?t.findById(this.getElementId("navigation-arrow-right")):this.getElementByLocalId("navigation-arrow-right"),o=n.getBBox();n.attr("text",e);var a=n.getBBox();n.attr("x",n.attr("x")-(a.width-o.width)/2),r.attr("opacity",1===this.currentPageIndex?.45:1),r.attr("cursor",1===this.currentPageIndex?"not-allowed":"pointer"),i.attr("opacity",this.currentPageIndex===this.totalPagesCnt?.45:1),i.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer")},e.prototype.drawArrow=function(t,e,n,r,i){var o=e.x,s=e.y,c={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},l=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:{path:[["M",o+i/2,s],["L",o,s+i],["L",o+i,s+i],["Z"]],fill:"#000",cursor:"pointer"}});return l.attr("matrix",Object(a.e)({x:o+i/2,y:s+i/2},c[r])),l},e.prototype.getCurrentNavigationMatrix=function(){var t=this,e=t.currentPageIndex,n=t.pageWidth,r=t.pageHeight,i="horizontal"===this.get("layout")?{x:0,y:r*(1-e)}:{x:n*(1-e),y:0};return Object(a.f)(i)},e.prototype.applyItemStates=function(t,e){if(this.getItemStates(t).length>0){var n=e.getChildren(),r=this.get("itemStates");Object(i.each)(n,(function(e){var n=e.get("name").split("-")[2],i=Object(s.a)(t,n,r);i&&(e.attr(i),"marker"!==n||e.get("isStroke")&&e.get("isFill")||(e.get("isStroke")&&e.attr("fill",null),e.get("isFill")&&e.attr("stroke",null)))}))}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),e=this.get("maxItemWidth");return e?t&&(e=t<=e?t:e):t&&(e=t),e},e}(g),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:c.a.textColor,textBaseline:"middle",fontFamily:c.a.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:c.a.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,e){this.update({min:t,max:e})},e.prototype.setValue=function(t){var e=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:e,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var e=this;t.on("legend-handler-min:drag",(function(t){var n=e.getValueByCanvasPoint(t.x,t.y),r=e.getCurrentValue()[1];r<n&&(r=n),e.setValue([n,r])})),t.on("legend-handler-max:drag",(function(t){var n=e.getValueByCanvasPoint(t.x,t.y),r=e.getCurrentValue()[0];r>n&&(r=n),e.setValue([r,n])}))},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var e=this,n=null;t.on("legend-track:dragstart",(function(t){n={x:t.x,y:t.y}})),t.on("legend-track:drag",(function(t){if(n){var r=e.getValueByCanvasPoint(n.x,n.y),i=e.getValueByCanvasPoint(t.x,t.y),o=e.getCurrentValue(),a=o[1]-o[0],s=e.getRange(),c=i-r;c<0?o[0]+c>s.min?e.setValue([o[0]+c,o[1]+c]):e.setValue([s.min,s.min+a]):c>0&&(c>0&&o[1]+c<s.max?e.setValue([o[0]+c,o[1]+c]):e.setValue([s.max-a,s.max])),n={x:t.x,y:t.y}}})),t.on("legend-track:dragend",(function(t){n=null}))},e.prototype.drawLabels=function(t){this.drawLabel("min",t),this.drawLabel("max",t)},e.prototype.drawLabel=function(t,e){var n=this.get("label"),i=n.style,o=n.align,a=this.get(t),s=this.getLabelAlignAttrs(t,o),c="label-"+t;this.addShape(e,{type:"text",id:this.getElementId(c),name:"legend-label-"+t,attrs:Object(r.__assign)(Object(r.__assign)({x:0,y:0,text:a},i),s)})},e.prototype.getLabelAlignAttrs=function(t,e){var n="center",r="middle";return this.isVertical()?(n="start",r="rail"!==e?"min"===t?"top":"bottom":"top"):"rail"!==e?(r="top",n="min"===t?"start":"end"):(n="start",r="middle"),{textAlign:n,textBaseline:r}},e.prototype.getRailPath=function(t,e,n,r){var i=this.get("rail"),o=i.size,a=i.defaultLength,s=i.type,c=this.isVertical(),l=n,u=r;l||(l=c?o:a),u||(u=c?a:o);var g=[];return"color"===s?(g.push(["M",t,e]),g.push(["L",t+l,e]),g.push(["L",t+l,e+u]),g.push(["L",t,e+u]),g.push(["Z"])):(g.push(["M",t+l,e]),g.push(["L",t+l,e+u]),g.push(["L",t,e+u]),g.push(["Z"])),g},e.prototype.drawRail=function(t){var e=this.get("rail").style;this.addShape(t,{type:"path",id:this.getElementId("rail"),name:"legend-rail",attrs:Object(r.__assign)({path:this.getRailPath(0,0)},e)})},e.prototype.getTrackColor=function(t){var e,n=t.length;if(!n)return null;if(1===n)return t[0];e=this.isVertical()?"l(90)":"l(0)";for(var r=0;r<n;r++)e+=" "+r/(n-1)+":"+t[r];return e},e.prototype.getTrackPath=function(t){var e=this.getRailShape(t).attr("path");return Object(i.clone)(e)},e.prototype.getClipTrackAttrs=function(t){var e,n,r,i,o=this.getCurrentValue(),a=o[0],s=o[1],c=this.getRailBBox(t),l=this.getPointByValue(a,t),u=this.getPointByValue(s,t);return this.isVertical()?(e=c.minX,n=l.y,r=c.width,i=u.y-l.y):(e=l.x,n=c.minY,r=u.x-l.x,i=c.height),{x:e,y:n,width:r,height:i}},e.prototype.getTrackAttrs=function(t){var e=this.get("track"),n=this.get("colors"),r=this.getTrackPath(t);return Object(i.mix)({path:r,fill:this.getTrackColor(n)},e.style)},e.prototype.resetTrackClip=function(t){var e=t||this.get("group"),n=this.getElementId("track"),r=e.findById(n),i=r.getClip(),o=this.getClipTrackAttrs(t);i?i.attr(o):r.setClip({type:"rect",attrs:o})},e.prototype.resetTrack=function(t){var e=this.getElementId("track"),n=t.findById(e),r=this.getTrackAttrs(t);n?n.attr(r):this.addShape(t,{type:"path",id:e,draggable:this.get("slidable"),name:"legend-track",attrs:r})},e.prototype.getPointByValue=function(t,e){var n=this.getRange(),r=n.min,i=(t-r)/(n.max-r),o=this.getRailBBox(e),a={x:0,y:0};return this.isVertical()?(a.x=o.minX+o.width/2,a.y=Object(u.g)(o.minY,o.maxY,i)):(a.x=Object(u.g)(o.minX,o.maxX,i),a.y=o.minY+o.height/2),a},e.prototype.getRailShape=function(t){return(t||this.get("group")).findById(this.getElementId("rail"))},e.prototype.getRailBBox=function(t){return this.getRailShape(t).getBBox()},e.prototype.getRailCanvasBBox=function(){return this.get("group").findById(this.getElementId("rail")).getCanvasBBox()},e.prototype.isVertical=function(){return"vertical"===this.get("layout")},e.prototype.getValueByCanvasPoint=function(t,e){var n,r=this.getRange(),i=r.min,o=r.max,a=this.getRailCanvasBBox(),s=this.isVertical(),c=this.get("step");n=s?(e-a.minY)/a.height:(t-a.minX)/a.width;var l=Object(u.g)(i,o,n);return c&&(l=i+Math.round((l-i)/c)*c),l>o&&(l=o),l<i&&(l=i),l},e.prototype.getCurrentValue=function(){var t=this.get("value");return t||(t=[this.get("min"),this.get("max")]),t},e.prototype.resetHandlers=function(t){var e=this.getCurrentValue(),n=e[0],r=e[1];this.resetHandler(t,"min",n),this.resetHandler(t,"max",r)},e.prototype.getHandlerPath=function(t,e){var n=this.isVertical(),r=[],i=t.size,o=e.x,a=e.y,s=1.4*i,c=i/2,l=i/6;if(n){var u=o+.4*s;r.push(["M",o,a]),r.push(["L",u,a+c]),r.push(["L",o+s,a+c]),r.push(["L",o+s,a-c]),r.push(["L",u,a-c]),r.push(["Z"]),r.push(["M",u,a+l]),r.push(["L",o+s-2,a+l]),r.push(["M",u,a-l]),r.push(["L",o+s-2,a-l])}else{var g=a+.4*s;r.push(["M",o,a]),r.push(["L",o-c,g]),r.push(["L",o-c,a+s]),r.push(["L",o+c,a+s]),r.push(["L",o+c,g]),r.push(["Z"]),r.push(["M",o-l,g]),r.push(["L",o-l,a+s-2]),r.push(["M",o+l,g]),r.push(["L",o+l,a+s-2])}return r},e.prototype.resetHandler=function(t,e,n){var i=this.getPointByValue(n,t),o=this.get("handler"),a=this.getHandlerPath(o,i),s=this.getElementId("handler-"+e),c=t.findById(s),l=this.isVertical();c?c.attr("path",a):this.addShape(t,{type:"path",name:"legend-handler-"+e,draggable:!0,id:s,attrs:Object(r.__assign)(Object(r.__assign)({path:a},o.style),{cursor:l?"ns-resize":"ew-resize"})})},e.prototype.fixedElements=function(t){var e=t.findById(this.getElementId("rail")),n=t.findById(this.getElementId("label-min")),r=t.findById(this.getElementId("label-max")),i=this.getDrawPoint();this.isVertical()?this.fixedVertail(n,r,e,i):this.fixedHorizontal(n,r,e,i)},e.prototype.fitRailLength=function(t,e,n,r){var o=this.isVertical()?"height":"width",a=this.get("label"),s=a.align,c=a.spacing,l=this.get("max"+Object(i.upperFirst)(o));if(l){var u=("rail"===s?n[o]+t[o]+e[o]+2*c:n[o])-l;u>0&&this.changeRailLength(r,o,n[o]-u)}},e.prototype.changeRailLength=function(t,e,n){var r,i=t.getBBox();r="height"===e?this.getRailPath(i.x,i.y,i.width,n):this.getRailPath(i.x,i.y,n,i.height),t.attr("path",r)},e.prototype.changeRailPosition=function(t,e,n){var r=t.getBBox(),i=this.getRailPath(e,n,r.width,r.height);t.attr("path",i)},e.prototype.fixedHorizontal=function(t,e,n,r){var i=this.get("label"),o=i.align,a=i.spacing,s=n.getBBox(),c=t.getBBox(),l=e.getBBox(),u=s.height;this.fitRailLength(c,l,s,n),s=n.getBBox(),"rail"===o?(t.attr({x:r.x,y:r.y+u/2}),this.changeRailPosition(n,r.x+c.width+a,r.y),e.attr({x:r.x+c.width+s.width+2*a,y:r.y+u/2})):"top"===o?(t.attr({x:r.x,y:r.y}),e.attr({x:r.x+s.width,y:r.y}),this.changeRailPosition(n,r.x,r.y+c.height+a)):(this.changeRailPosition(n,r.x,r.y),t.attr({x:r.x,y:r.y+s.height+a}),e.attr({x:r.x+s.width,y:r.y+s.height+a}))},e.prototype.fixedVertail=function(t,e,n,r){var i=this.get("label"),o=i.align,a=i.spacing,s=n.getBBox(),c=t.getBBox(),l=e.getBBox();if(this.fitRailLength(c,l,s,n),s=n.getBBox(),"rail"===o)t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x,r.y+c.height+a),e.attr({x:r.x,y:r.y+c.height+s.height+2*a});else if("right"===o)t.attr({x:r.x+s.width+a,y:r.y}),this.changeRailPosition(n,r.x,r.y),e.attr({x:r.x+s.width+a,y:r.y+s.height});else{var u=Math.max(c.width,l.width);t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x+u+a,r.y),e.attr({x:r.x,y:r.y+s.height})}},e}(g)},function(t,e,n){"use strict";n.r(e),n.d(e,"Html",(function(){return d}));var r,i=n(1),o=n(129),a=n(29),s=n(0),c=n(104),l=n(17),u=n(42),g=n(21),f=((r={})[""+u.CONTAINER_CLASS]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:g.a.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},r[""+u.TITLE_CLASS]={marginBottom:"4px"},r[""+u.LIST_CLASS]={margin:"0px",listStyleType:"none",padding:"0px"},r[""+u.LIST_ITEM_CLASS]={listStyleType:"none",marginBottom:"4px"},r[""+u.MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},r[""+u.VALUE_CLASS]={display:"inline-block",float:"right",marginLeft:"30px"},r[""+u.CROSSHAIR_X]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+u.CROSSHAIR_Y]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(i.__assign)(Object(i.__assign)({},e),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'<div class="'+u.CONTAINER_CLASS+'"><div class="'+u.TITLE_CLASS+'"></div><ul class="'+u.LIST_CLASS+'"></ul></div>',itemTpl:'<li class="'+u.LIST_ITEM_CLASS+'" data-index={index}>\n <span class="'+u.MARKER_CLASS+'" style="background:{color}"></span>\n <span class="'+u.NAME_CLASS+'">{name}</span>:\n <span class="'+u.VALUE_CLASS+'">{value}</span>\n </li>',xCrosshairTpl:'<div class="'+u.CROSSHAIR_X+'"></div>',yCrosshairTpl:'<div class="'+u.CROSSHAIR_Y+'"></div>',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:u.CONTAINER_CLASS,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:f})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!0),Object(a.modifyCSS)(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!1),Object(a.modifyCSS)(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var e=t?"":"none",n=this.get("xCrosshairDom"),r=this.get("yCrosshairDom");n&&Object(a.modifyCSS)(n,{display:e}),r&&Object(a.modifyCSS)(r,{display:e})},e.prototype.initContainer=function(){if(t.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var e=this.getHtmlContentNode();this.get("parent").appendChild(e),this.set("container",e),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(e){this.get("customContent")?this.renderCustomContent():(function(t,e){var n=!1;return Object(s.each)(e,(function(e){if(Object(s.hasKey)(t,e))return n=!0,!1})),n}(e,["title","showTitle"])&&this.resetTitle(),Object(s.hasKey)(e,"items")&&this.renderItems()),t.prototype.updateInner.call(this,e)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){t.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t,e=this.get("x"),n=this.get("y"),r=this.get("offset"),i=this.getOffset(),o=i.offsetX,s=i.offsetY,c=this.get("position"),u=this.get("region"),g=this.getContainer(),f=this.getBBox(),d=f.width,h=f.height;u&&(t=Object(l.k)(u));var p=function(t,e,n,r,i,o,a){var s=function(t,e,n,r,i,o){var a=t,s=e;switch(o){case"left":a=t-r-n,s=e-i/2;break;case"right":a=t+n,s=e-i/2;break;case"top":a=t-r/2,s=e-i-n;break;case"bottom":a=t-r/2,s=e+n;break;default:a=t+n,s=e-i-n}return{x:a,y:s}}(t,e,n,r,i,o);if(a){var c=function(t,e,n,r,i){return{left:t<i.x,right:t+n>i.x+i.width,top:e<i.y,bottom:e+r>i.y+i.height}}(s.x,s.y,r,i,a);"auto"===o?(c.right&&(s.x=Math.max(0,t-r-n)),c.top&&(s.y=Math.max(0,e-i-n))):"top"===o||"bottom"===o?(c.left&&(s.x=a.x),c.right&&(s.x=a.x+a.width-r),"top"===o&&c.top&&(s.y=e+n),"bottom"===o&&c.bottom&&(s.y=e-i-n)):(c.top&&(s.y=a.y),c.bottom&&(s.y=a.y+a.height-i),"left"===o&&c.left&&(s.x=t+n),"right"===o&&c.right&&(s.x=t-r-n))}return s}(e,n,r,d,h,c,t);Object(a.modifyCSS)(g,{left:Object(l.l)(p.x+o),top:Object(l.l)(p.y+s)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),e=this.get("parent"),n=this.get("container");n&&n.parentNode===e?e.replaceChild(t,n):e.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,e=this.get("customContent");if(e){var n=e(this.get("title"),this.get("items"));t=Object(s.isElement)(n)?n:Object(a.createDom)(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),e=t.getElementsByClassName(u.TITLE_CLASS)[0],n=t.getElementsByClassName(u.LIST_CLASS)[0];this.set("titleDom",e),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title");this.get("showTitle")&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var e=this.get("titleDom");e&&(e.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),e=this.get("crosshairs");if(t&&e){var n=Object(l.k)(t),r=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");"x"===e?(this.resetCrosshair("x",n),i&&(i.remove(),this.set("yCrosshairDom",null))):"y"===e?(this.resetCrosshair("y",n),r&&(r.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}else this.clearCrosshairs()},e.prototype.resetCrosshair=function(t,e){var n=this.checkCrosshair(t),r=this.get(t);"x"===t?Object(a.modifyCSS)(n,{left:Object(l.l)(r),top:Object(l.l)(e.y),height:Object(l.l)(e.height)}):Object(a.modifyCSS)(n,{top:Object(l.l)(r),left:Object(l.l)(e.x),width:Object(l.l)(e.width)})},e.prototype.checkCrosshair=function(t){var e=t+"CrosshairDom",n=t+"CrosshairTpl",r="CROSSHAIR_"+t.toUpperCase(),i=u[r],o=this.get(e),s=this.get("parent");return o||(o=Object(a.createDom)(this.get(n)),this.applyStyle(i,o),s.appendChild(o),this.set(e,o)),o},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),e=this.get("itemTpl"),n=this.get("listDom");n&&(Object(s.each)(t,(function(t){var r=o.default.toCSSGradient(t.color),c=Object(i.__assign)(Object(i.__assign)({},t),{color:r}),l=Object(s.substitute)(e,c),u=Object(a.createDom)(l);n.appendChild(u)})),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&Object(l.a)(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),e=this.get("yCrosshairDom");t&&t.remove(),e&&e.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(c.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(0),s=n(16),c=n(3),l=n(100),u={exp:l.regressionExp,linear:l.regressionLinear,loess:l.regressionLoess,log:l.regressionLog,poly:l.regressionPoly,pow:l.regressionPow,quad:l.regressionQuad},g=function(t){var e=t.options,n=e.xField,r=e.yField,i=e.data,s=e.regressionLine,c=s.type,l=void 0===c?"linear":c,g=s.algorithm;return function(t,e){var n=e.view,r=e.options,i=r.xField,a=r.yField,s=n.getScaleByField(i),c=n.getScaleByField(a),l=t.map((function(t){return n.getCoordinate().convert({x:s.scale(t[0]),y:c.scale(t[1])})}));return Object(o.h)(l,!1)}(g?Object(a.isArray)(g)?g:g(i):u[l]().x((function(t){return t[n]})).y((function(t){return t[r]}))(i),t)},f=function(t){var e,n=t.meta,i=void 0===n?{}:n,o=t.xField,s=t.yField,c=t.data,l=c[0][o],u=c[0][s],g=l>0,f=u>0,d=function(t,e,n){var r=Object(a.get)(i,[t,e]);return Object(a.isNumber)(r)?r:"x"===n?{min:g?0:2*l,max:g?2*l:0}[e]:{min:f?0:2*u,max:f?2*u:0}[e]};return Object(r.__assign)(Object(r.__assign)({},i),((e={})[o]=Object(r.__assign)(Object(r.__assign)({},i[o]),{min:d(o,"min","x"),max:d(o,"max","x")}),e[s]=Object(r.__assign)(Object(r.__assign)({},i[s]),{min:d(s,"min","y"),max:d(s,"max","y")}),e))};function d(t){var e=t.data;return 1===(void 0===e?[]:e).length?Object(o.b)({},t,{meta:f(t)}):t}function h(t){var e=t.chart,n=t.options,i=n.data,c=n.type,l=n.color,u=n.shape,g=n.pointStyle,f=n.shapeField,d=n.colorField,h=n.xField,p=n.yField,A=n.sizeField,C=n.size,v=n.tooltip;A&&!Object(a.isArray)(C)&&(C=[2,8]),v&&!v.fields&&(v=Object(r.__assign)(Object(r.__assign)({},v),{fields:[h,p,d,A,f]})),e.data(i),Object(s.e)(Object(o.b)({},t,{options:{seriesField:d,point:{color:l,shape:u,size:C,style:g},tooltip:v}}));var I=Object(o.c)(e,"point");return c&&I.adjust(c),t}function p(t){var e,n=t.options,r=n.data,i=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField,u=n;return 1===r.length&&(u=d(Object(o.b)({},n,{meta:f(n)}))),Object(o.e)(Object(c.f)(((e={})[s]=i,e[l]=a,e)))(Object(o.b)({},t,{options:u}))}function A(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return e.axis(o,r),e.axis(a,i),t}function C(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,o=n.shapeField,s=n.sizeField;return(Object(a.isBoolean)(r)?r:r||o||i)?(e.legend(i||o,r),s&&e.legend(s,!1)):e.legend(!1),t}function v(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o.c)(e,"point");if(i){var c=i.callback,l=Object(r.__rest)(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(o.o)(l)})}else s.label(!1);return t}function I(t){var e=t.options.quadrant,n=[];if(e){var i=e.xBaseline,a=void 0===i?0:i,s=e.yBaseline,l=void 0===s?0:s,u=e.labels,g=e.regionStyle,f=e.lineStyle,d=function(t,e){var n=10;return{regionStyle:[{position:{start:[t,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[t,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[t,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[t,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-10,offsetY:-10,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:-10,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:n,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-10,offsetY:n,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]}}(a,l);new Array(4).join(",").split(",").forEach((function(t,e){n.push(Object(r.__assign)(Object(r.__assign)({type:"region",top:!1},d.regionStyle[e].position),{style:Object(o.b)({},d.regionStyle[e].style,null===g||void 0===g?void 0:g[e])}),Object(r.__assign)({type:"text",top:!0},Object(o.b)({},d.labelStyle[e],null===u||void 0===u?void 0:u[e])))})),n.push({type:"line",top:!1,start:["min",l],end:["max",l],style:Object(o.b)({},d.lineStyle,f)},{type:"line",top:!1,start:[a,"min"],end:[a,"max"],style:Object(o.b)({},d.lineStyle,f)})}return Object(o.e)(Object(c.b)(n))(t)}function y(t){var e=t.options,n=t.chart,i=e.regressionLine;if(i){var o=i.style,a=i.top,s=void 0!==a&&a,c={stroke:"#9ba29a",lineWidth:2,opacity:.5};n.annotation().shape({top:s,render:function(t,i){var a=t.addGroup({id:n.id+"-regression-line",name:"regression-line-group"}),s=g({view:i,options:e});a.addShape("path",{name:"regression-line",attrs:Object(r.__assign)(Object(r.__assign)({path:s},c),o)})}})}return t}function m(t){var e=t.chart,n=t.options.tooltip;return n?e.tooltip(n):!1===n&&e.tooltip(!1),t}function b(t){return Object(o.e)(h,p,A,C,m,v,c.c,I,c.a,c.j,y)(t)}var x=n(9);Object(x.registerInteraction)("drag-move",{start:[{trigger:"plot:mousedown",action:"scale-translate:start"}],processing:[{trigger:"plot:mousemove",action:"scale-translate:translate",throttle:{wait:100,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseup",action:"scale-translate:end"}]}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption(d(Object(o.b)({},this.options,{data:t})));var e=this.options;p({chart:this.chart,options:e}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return b},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}})}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(3),s=n(16);function c(t){var e=t.chart,n=t.options,i=n.data,a=n.lineStyle,c=n.color,l=n.point,u=n.area;e.data(i);var g=Object(o.b)({},t,{options:{line:{style:a,color:c},point:l?Object(r.__assign)({color:c},l):l,area:u?Object(r.__assign)({color:c},u):u,label:void 0}}),f=Object(o.b)({},g,{options:{tooltip:!1}});return Object(s.d)(g),Object(s.e)(f),Object(s.a)(f),t}function l(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,c=n.yField;return Object(o.e)(Object(a.f)(((e={})[s]=r,e[c]=i,e)))(t)}function u(t){var e=t.chart,n=t.options.radius;return e.coordinate("polar",{radius:n}),t}function g(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,o=n.yField,a=n.yAxis;return e.axis(r,i),e.axis(o,a),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o.c)(e,"line");if(i){var c=i.callback,l=Object(r.__rest)(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(o.o)(l)})}else s.label(!1);return t}function d(t){return Object(o.e)(c,l,a.j,u,g,a.d,a.k,f,a.c,a.a,Object(a.b)())(t)}var h=n(9),p=n(0),A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),i=n.shared,o=n.title,a=t.prototype.getTooltipItems.call(this,e);if(a.length>0){var s=this.view.geometries[0],c=s.dataArray,l=a[0].name,u=[];return c.forEach((function(t){t.forEach((function(t){var e=h.Util.getTooltipItems(t,s)[0];if(!i&&e&&e.name===l){var n=Object(p.isNil)(o)?l:o;u.push(Object(r.__assign)(Object(r.__assign)({},e),{name:e.title,title:n}))}else i&&e&&(n=Object(p.isNil)(o)?e.name||l:o,u.push(Object(r.__assign)(Object(r.__assign)({},e),{name:e.title,title:n})))}))})),u}return[]},e}(h.TooltipController);Object(h.registerComponentController)("radar-tooltip",A);var C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(h.Action);Object(h.registerAction)("radar-tooltip",C),Object(h.registerInteraction)("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return d}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(0),s=n(70),c=n(3);function l(t){var e,n=t.chart,r=t.options,i=r.data,o=r.type,a=r.reflect,c=r.xField,l=r.yField,u=r.colorField,g=r.sizeField,f=r.sizeRatio,d=r.shape,h=r.color;n.data(i),e="density"===o?n.heatmap().position(c+"*"+l):n.polygon().position(c+"*"+l),u&&e.color(u,h||s.b.GRADIENT.CONTINUOUS),a&&n.coordinate().reflect(a);var p=1;if((f||0===f)&&(d||g?f<0||f>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):p=f:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),d&&(g||e.shape("",(function(){return[d,1,p]})),g)){var A=i.map((function(t){return t[g]})),C=Math.min.apply(Math,A),v=Math.max.apply(Math,A);e.shape(g,(function(t){return[d,(t-C)/(v-C),p]}))}return t}function u(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,s=n.yField;return Object(o.e)(Object(c.f)(((e={})[a]=r,e[s]=i,e)))(t)}function g(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function f(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return r?e.legend(i,r):e.legend(!1),t}function d(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.colorField,s=n.sizeField,c=n.heatmapStyle,l=e.geometries[0];return c&&l&&(Object(a.isFunction)(c)?l.style(r+"*"+i+"*"+o+"*"+s,c):Object(a.isObject)(c)&&l.style(c)),t}function h(t){var e=t.chart,n=t.options,i=n.label,a=n.colorField,s=n.type,c=Object(o.c)(e,"density"===s?"heatmap":"polygon");if(i){if(a){var l=i.callback,u=Object(r.__rest)(i,["callback"]);c.label({fields:[a],callback:l,cfg:Object(o.o)(u)})}}else c.label(!1);return t}function p(t){return Object(o.e)(l,u,c.j,g,f,c.k,d,h,Object(c.b)(),c.c,c.a)(t)}var A=n(9);Object(A.registerShape)("polygon","circle",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l)/2,g=Number(t.shape[1]),f=Number(t.shape[2]),d=u*Math.sqrt(f)*Math.sqrt(g),h=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:Object(r.__assign)(Object(r.__assign)(Object(r.__assign)({x:o,y:a,r:d},t.defaultStyle),t.style),{fill:h})})}}),Object(A.registerShape)("polygon","square",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l),g=Number(t.shape[1]),f=Number(t.shape[2]),d=u*Math.sqrt(f)*Math.sqrt(g),h=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:Object(r.__assign)(Object(r.__assign)(Object(r.__assign)({x:o-d/2,y:a-d/2,width:d,height:d},t.defaultStyle),t.style),{fill:h})})}}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}Object(r.__extends)(e,t),e.prototype.getSchemaAdaptor=function(){return p},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{type:"polygon",legend:!1,xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}})}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(2),o=n(18),a=n(0),s=n(3),c=n(70),l="$$stock-range$$",u="trend",g="down",f=["#ef5350","#26a69a"],d={showTitle:!1,showMarkers:!1,showCrosshairs:!0,shared:!0,crosshairs:{type:"xy",follow:!0},itemTpl:'<li class="g2-tooltip-list-item" data-index={index}><span style="background-color:{color};" class="g2-tooltip-marker"></span>{name}{value}</li>'};function h(t,e){return Object(a.map)(t,(function(t){if(Object(a.isArray)(e)){var n=e[0],r=e[1],i=e[2],o=e[3];t.trend=t[n]<=t[r]?"up":g,t[l]=[t[n],t[r],t[i],t[o]]}return t}))}function p(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.data;return e.data(h(o,i)),e.schema().position(r+"*"+l).shape("candle").color(u,f),t}function A(t){var e,n,r=t.chart,o=t.options,a=o.meta,s=o.xAxis,u=o.yAxis,f=o.xField,d=((e={})[f]={type:"timeCat",tickCount:6},e.trend={values:["up",g]},e),h=Object(i.b)(d,a,((n={})[f]=Object(i.k)(s,c.a),n[l]=Object(i.k)(u,c.a),n));return r.scale(h),t}function C(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(l,!1):e.axis(l,i),t}function v(t){var e=t.chart,n=t.options,r=n.xField,o=n.yField,s=n.meta,c=void 0===s?{}:s,l=n.tooltip,u=void 0===l?{}:l,g=Object(i.c)(e,"schema"),f=o[0],d=o[1],h=o[2],p=o[3],A=c[f]&&c[f].alias||f,C=c[d]?c[d].alias||f:d,v=c[h]&&c[h].alias||h,I=c[p]&&c[p].alias||p,y={fields:[r,f,d,h,p],callback:function(t,e,n,r,i){return{name:t,value:'\n <br><span data-label="'+A+'" style="padding-left: 16px">'+A+"\uff1a"+e+'</span>\n <br><span data-label="'+C+'" style="padding-left: 16px">'+C+"\uff1a"+n+'</span>\n <br><span data-label="'+v+'" style="padding-left: 16px">'+v+"\uff1a"+r+'</span>\n <br><span data-label="'+I+'" style="padding-left: 16px">'+I+"\uff1a"+i+"</span>\n "}}},m={crosshairs:{text:function(t,e,n){var i={position:"end"};if("x"===t){var o=n[0];i.content=o?o.data[r]:e}else i.content=e;return i}}};if(u){if(Object(a.isObject)(u)){var b=Object(i.b)({},m,u);e.tooltip(b),g.tooltip(y)}}else e.tooltip(!1);return t}function I(t){var e=t.chart,n=t.options.legend;return n?e.legend(u,n):!1===n&&e.legend(!1),t}function y(t){Object(i.e)(p,A,s.j,C,v,I,s.c,s.a)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="stock",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return Object(i.b)({},t.prototype.getDefaultOptions.call(this),{tooltip:d,interactions:[{type:"tooltip"}],legend:{position:"top-left"}})},e.prototype.getSchemaAdaptor=function(){return y},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField;this.chart.changeData(h(t,e))}}(o.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(0),a=n(3),s=n(2),c=n(16);function l(t){return[{percent:t,type:"liquid"}]}function u(t){var e=t.chart,n=t.options,r=n.percent,i=n.color,o=n.liquidStyle,a=n.radius,u=n.outline,g=n.wave;e.scale({percent:{min:0,max:1}}),e.data(l(r));var f=Object(s.b)({},t,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:i,style:o,shape:"liquid-fill-gauge"}}});return Object(c.c)(f).ext.geometry.customInfo({radius:a,outline:u,wave:g}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function g(t,e){var n=t.chart,r=t.options,i=r.statistic,a=r.percent,c=r.meta;if(n.getController("annotation").clear(!0),i.content&&!i.content.formatter){var l=Object(o.get)(c,["percent","formatter"]);i.content.formatter=function(t){var e=t.percent;return l?l(e):(100*e).toFixed(2)+"%"}}return Object(s.m)(n,{statistic:i,plotType:"liquid"},{percent:a}),e&&n.render(!0),t}function f(t){return Object(s.e)(u,g,Object(a.f)({}),a.a,a.j,a.c)(t)}var d=n(9),h=n(174);function p(t,e,n){return t+(e-t)*n}function A(t,e,n,r){return 0===e?[[t+.5*n/Math.PI/2,r/2],[t+.5*n/Math.PI,r],[t+n/4,r]]:1===e?[[t+.5*n/Math.PI/2*(Math.PI-2),r],[t+.5*n/Math.PI/2*(Math.PI-1),r/2],[t+n/4,0]]:2===e?[[t+.5*n/Math.PI/2,-r/2],[t+.5*n/Math.PI,-r],[t+n/4,-r]]:[[t+.5*n/Math.PI/2*(Math.PI-2),-r],[t+.5*n/Math.PI/2*(Math.PI-1),-r/2],[t+n/4,0]]}function C(t,e,n,r,i,o,a){for(var s=4*Math.ceil(2*t/n*4),c=[],l=r;l<2*-Math.PI;)l+=2*Math.PI;for(;l>0;)l-=2*Math.PI;var u=o-t+(l=l/Math.PI/2*n)-2*t;c.push(["M",u,e]);for(var g=0,f=0;f<s;++f){var d=A(f*n/4,f%4,n,i);c.push(["C",d[0][0]+u,-d[0][1]+e,d[1][0]+u,-d[1][1]+e,d[2][0]+u,-d[2][1]+e]),f===s-1&&(g=d[2][0])}return c.push(["L",g+u,a+t]),c.push(["L",u,a+t]),c.push(["Z"]),c}Object(d.registerShape)("interval","liquid-fill-gauge",{draw:function(t,e){var n=t.customInfo,i=n.radius,a=n.outline,s=n.wave,c=a.border,l=a.distance,u=s.count,g=s.length,f=Object(o.reduce)(t.points,(function(t,e){return Math.min(t,e.x)}),1/0),d=this.parsePoint({x:.5,y:.5}),A=this.parsePoint({x:f,y:.5}),v=d.x-A.x,I=Math.min(v,A.y*i),y=function(t){var e=Object(r.__assign)({opacity:1},t.style);return t.color&&!e.fill&&(e.fill=t.color),e}(t),m=function(t){var e=Object(o.mix)({},{fill:"#fff",fillOpacity:0,lineWidth:4},t.style);return t.color&&!e.stroke&&(e.stroke=t.color),Object(o.isNumber)(t.opacity)&&(e.opacity=e.strokeOpacity=t.opacity),e}(t);e.addShape("circle",{name:"wrap",attrs:Object(o.mix)(m,{x:d.x,y:d.y,r:I,fill:"transparent",lineWidth:c})});var b=e.addGroup({name:"waves"}),x=b.setClip({type:"circle",attrs:{x:d.x,y:d.y,r:I-l-c/2}});return function(t,e,n,r,i,o,a,s,c){for(var l=i.fill,u=i.opacity,g=a.getBBox(),f=g.maxX-g.minX,d=g.maxY-g.minY,A=0;A<r;A++){var v=r<=1?0:A/(r-1),I=o.addShape("path",{name:"waterwave-path",attrs:{path:C(s,g.minY+d*n,c,0,f/32,t,e),fill:l,opacity:p(.2,.9,v)*u}});try{var y=Object(h.a)([["t",c,0]]);I.stopAnimate(),I.animate({matrix:y},{duration:p(2500,5e3,v),repeat:!0})}catch(m){console.warn("off-screen group animate error!")}}}(d.x,d.y,1-t.points[1].y,u,y,b,x,2*I,g),e}}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="liquid",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return{color:"#6a99f9",radius:.9,statistic:{title:!1,content:{formatter:function(t){return(100*t.percent).toFixed(2)+"%"},style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192}}},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.data(l(t)),g({chart:this.chart,options:this.options},!0)},e.prototype.getSchemaAdaptor=function(){return f}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(2),o=n(18),a=n(16),s=n(3),c=n(391),l=n(107),u=n(0),g=n(148),f={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};function d(t,e){var n,r=(e=Object(u.assign)({},f,e)).as;if(!Object(u.isArray)(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=Object(g.b)(e)}catch(s){console.warn(s)}var i=function(t){return c.a().size(e.size).round(e.round).padding(e.padding)(l.c(t).sum((function(t){return t[n]})))}(t),o=r[0],a=r[1];return i.each((function(t){t[o]=[t.x0,t.x1,t.x1,t.x0],t[a]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach((function(e){-1===r.indexOf(e)&&delete t[e]}))})),Object(g.a)(i)}var h=n(226);function p(t){var e=t.items,n=t.formatter,i=t.fields,o=e[0]||{},a=o.color,s=o.mappingData,c=o.data,l=document.createElement("ul");l.className="g2-tooltip";var u="";return i.forEach((function(t){var e=function(t,e){var i;return n?n(Object(r.__assign)(Object(r.__assign)({},t),{field:e})):{name:e,value:(null===t||void 0===t?void 0:t[e])||(null===(i=null===t||void 0===t?void 0:t.data)||void 0===i?void 0:i[e])}}(c,t),i=e.name,o=e.value;u+='<li class="g2-tooltip-list-item" data-index={index} style="margin-bottom:4px;display:flex;align-items: center;">\n <span style="background-color:'+((null===s||void 0===s?void 0:s.color)||a)+';" class="g2-tooltip-marker"></span>\n <span style="display:inline-flex;flex:1;justify-content:space-between">\n <span style="margin-right: 16px;">'+i+':</span>\n <span class="g2-tooltip-list-item-value">'+o+"</span>\n </span>\n </li>"})),l.innerHTML=u,l}function A(t){var e=t.chart,n=t.options,o=n.color,s=n.colorField,c=n.sunburstStyle,l=function(t){var e=t.data,n=t.type,i=t.seriesField,o=t.colorField,a=t.hierarchyConfig,s={partition:d,treemap:h.a}[n](e,Object(r.__assign)(Object(r.__assign)({},a),{type:"hierarchy."+n,field:i,as:["x","y"]})),c=[];return s.forEach((function(t){var e,n,s,l,u;if(0===t.depth)return null;var g=Object(r.__assign)(((e={})[i]=t.data[i]||(null===(s=null===(n=t.parent)||void 0===n?void 0:n.data)||void 0===s?void 0:s[i]),e[o]=t.data[o]||(null===(u=null===(l=t.parent)||void 0===l?void 0:l.data)||void 0===u?void 0:u[o]),e),t);g.ext=a,c.push(g)})),c}(n);return e.data(l),Object(a.f)(Object(i.b)({},t,{options:{xField:"x",yField:"y",seriesField:s,polygon:{color:o,style:c}}})),t}function C(t){return t.chart.axis(!1),t}function v(t){return t.chart.legend(!1),t}function I(t){var e=t.chart,n=t.options,o=n.label,a=n.seriesField,s=Object(i.c)(e,"polygon");if(o){var c=o.callback,l=Object(r.__rest)(o,["callback"]);s.label({fields:[a],callback:c,cfg:Object(i.o)(l)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius,o=n.reflect,a=e.coordinate({type:"polar",cfg:{innerRadius:r,radius:i}});return o&&a.reflect(o),t}function m(t){var e=t.chart,n=t.options.meta;return n&&e.scale(n),t}function b(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.seriesField,a=n.colorField;return i&&e.tooltip(Object(r.__assign)(Object(r.__assign)({},i),{customContent:i&&i.customContent?i.customContent:function(t,e){return p({value:t,items:e,formatter:i&&(null===i||void 0===i?void 0:i.formatter),fields:i&&i.fields||[o,a]})}})),t}function x(t){return Object(i.e)(A,s.j,C,m,v,y,b,I,s.c,s.a,Object(s.b)())(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="sunburst",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return Object(i.b)({},t.prototype.getDefaultOptions.call(this),{type:"partition",innerRadius:0,seriesField:"value",tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1}})},e.prototype.getSchemaAdaptor=function(){return x}}(o.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(0),a=n(3),s=n(70),c=n(2),l=n(46);function u(t){var e;return[(e={},e[l.c]=Object(o.clamp)(t,0,1),e)]}function g(t,e){var n=Object(o.get)(e,["ticks"],[]);return function(t){return t.map((function(e,n){var r;return(r={})[l.e]=e-(t[n-1]||0),r[l.d]=""+n,r})).filter((function(t){return!!t[l.e]}))}(Object(o.size)(n)?n:[0,Object(o.clamp)(t,0,1),1])}function f(t){var e=t.chart,n=t.options,r=n.percent,i=n.range,a=n.radius,f=n.innerRadius,d=n.startAngle,h=n.endAngle,p=n.axis,A=n.indicator,C=i.color;if(A){var v=u(r),I=e.createView({id:l.b});I.data(v),I.point().position(l.c+"*1").shape("gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:A}),I.coordinate("polar",{startAngle:d,endAngle:h,radius:f*a}),I.axis(l.c,p),I.scale(l.c,Object(c.k)(p,s.a))}var y=g(r,n.range),m=e.createView({id:l.f});m.data(y);var b=Object(o.isString)(C)?[C,l.a]:C;return m.interval().position("1*"+l.e).color(l.d,b).adjust("stack"),m.coordinate("polar",{innerRadius:f,radius:a,startAngle:d,endAngle:h}).transpose(),t}function d(t){var e;return Object(c.e)(Object(a.f)(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[l.c]={},e)))(t)}function h(t,e){var n=t.chart,i=t.options,o=i.statistic,a=i.percent;if(n.getController("annotation").clear(!0),o){var s=o.content,l=void 0;s&&(l=Object(c.b)({},{formatter:function(t){return(100*t.percent).toFixed(2)+"%"},style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},s)),Object(c.l)(n,{statistic:Object(r.__assign)(Object(r.__assign)({},o),{content:l})},{percent:a})}return e&&n.render(!0),t}function p(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}function A(t){return Object(c.e)(a.a,f,d,h,a.c,a.j,p)(t)}var C=n(9);Object(C.registerShape)("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,o=n.defaultColor,a=i,s=a.pointer,c=a.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return s&&l.addShape("line",{name:"pointer",attrs:Object(r.__assign)({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:o},s.style)}),c&&l.addShape("circle",{name:"pin",attrs:Object(r.__assign)({x:u.x,y:u.y,stroke:o},c.style)}),l}}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="gauge",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){var t;return{percent:0,range:{ticks:[]},innerRadius:.9,radius:.95,startAngle:-7/6*Math.PI,endAngle:1/6*Math.PI,syncViewPadding:!0,axis:{line:null,label:{offset:-24,style:{textAlign:"center",textBaseline:"middle"}},subTickLine:{length:-8},tickLine:{length:-12},grid:null},indicator:{pointer:{style:{lineWidth:5,lineCap:"round"}},pin:{style:{r:9.75,lineWidth:4.5,fill:"#fff"}}},statistic:{title:!1},meta:(t={},t[l.e]={sync:"v"},t[l.c]={sync:"v",tickCount:5,tickInterval:.2},t),animation:!1}},e.prototype.changeData=function(t){this.updateOption({percent:t});var e=this.chart.views.find((function(t){return t.id===l.b}));e&&e.data(u(t));var n=this.chart.views.find((function(t){return t.id===l.f}));n&&n.data(g(t,this.options.range)),h({chart:this.chart,options:this.options},!0)},e.prototype.getSchemaAdaptor=function(){return A}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(0),s=n(3),c=n(16),l="first-axes-view",u="second-axes-view",g="series-field-key";function f(t){return"vertical"!==t}function d(t,e,n){var r=e[0],i=e[1],o=r.autoPadding,a=i.autoPadding,s=t.__axisPosition,c=s.layout,l=s.position;if(f(c)&&"top"===l&&(r.autoPadding=n.instance(o.top,0,o.bottom,o.left),i.autoPadding=n.instance(a.top,o.left,a.bottom,0)),f(c)&&"bottom"===l&&(r.autoPadding=n.instance(o.top,o.right/2+5,o.bottom,o.left),i.autoPadding=n.instance(a.top,a.right,a.bottom,o.right/2+5)),!f(c)&&"bottom"===l){var u=o.left>=a.left?o.left:a.left;r.autoPadding=n.instance(o.top,o.right,o.bottom/2+5,u),i.autoPadding=n.instance(o.bottom/2+5,a.right,a.bottom,u)}f(c)||"top"!==l||(u=o.left>=a.left?o.left:a.left,r.autoPadding=n.instance(o.top,o.right,0,u),i.autoPadding=n.instance(0,a.right,o.top,u))}function h(t){var e,n,r=t.chart,i=t.options,s=i.data,d=i.xField,h=i.yField,p=i.color,A=i.barStyle,C=i.widthRatio,v=i.legend,I=i.layout,y=function(t,e,n,r){var i=[];return e.forEach((function(e){r.forEach((function(r){var o,a=((o={})[t]=r[t],o[n]=e,o[e]=r[e],o);i.push(a)}))})),i}(d,h,g,s),m=Object.values(Object(a.groupBy)(y,g));v?r.legend(g,v):!1===v&&r.legend(!1);var b=Object(a.get)(m,[0],[]),x=Object(a.get)(m,[1],[]);f(I)?((e=r.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:l})).coordinate().transpose().reflect("x"),(n=r.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:u})).coordinate().transpose(),e.data(b.reverse()),n.data(x.reverse())):(e=r.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:l}),(n=r.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:u})).coordinate().reflect("y").rotate(0*Math.PI),e.data(b),n.data(x));var w=Object(o.b)({},t,{chart:e,options:{widthRatio:C,xField:d,yField:h[0],seriesField:g,interval:{color:p,style:A}}});Object(c.c)(w);var O=Object(o.b)({},t,{chart:n,options:{xField:d,yField:h[1],seriesField:g,widthRatio:C,interval:{color:p,style:A}}});return Object(c.c)(O),t}function p(t){var e,n,r,i=t.options,c=t.chart,f=i.xAxis,d=i.yAxis,h=i.xField,p=i.yField,A=Object(o.d)(c,l),C=Object(o.d)(c,u),v={};return Object(a.keys)((null===i||void 0===i?void 0:i.meta)||{}).map((function(t){Object(a.get)(null===i||void 0===i?void 0:i.meta,[t,"alias"])&&(v[t]=i.meta[t].alias)})),c.scale(((e={})[g]={sync:!0,formatter:function(t){return Object(a.get)(v,t,t)}},e)),Object(s.f)(((n={})[h]=f,n[p[0]]=d[p[0]],n))(Object(o.b)({},t,{chart:A})),Object(s.f)(((r={})[h]=f,r[p[1]]=d[p[1]],r))(Object(o.b)({},t,{chart:C})),t}function A(t){var e=t.chart,n=t.options,i=n.xAxis,a=n.yAxis,s=n.xField,c=n.yField,g=n.layout,d=Object(o.d)(e,l),h=Object(o.d)(e,u);return h.axis(s,!1),!1===i?d.axis(s,!1):d.axis(s,Object(r.__assign)({position:f(g)?"top":"bottom"},i)),!1===a?(d.axis(c[0],!1),h.axis(c[1],!1)):(d.axis(c[0],a[c[0]]),h.axis(c[1],a[c[1]])),e.__axisPosition={position:d.getOptions().axes[s].position,layout:g},t}function C(t){var e=t.chart;return Object(s.c)(Object(o.b)({},t,{chart:Object(o.d)(e,l)})),Object(s.c)(Object(o.b)({},t,{chart:Object(o.d)(e,u)})),t}function v(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return Object(s.e)(Object(o.b)({},t,{chart:Object(o.d)(e,l),options:{yAxis:i[r[0]]}})),Object(s.e)(Object(o.b)({},t,{chart:Object(o.d)(e,u),options:{yAxis:i[r[1]]}})),t}function I(t){var e=t.chart;return Object(s.j)(Object(o.b)({},t,{chart:Object(o.d)(e,l)})),Object(s.j)(Object(o.b)({},t,{chart:Object(o.d)(e,u)})),t}function y(t){var e=t.chart;return Object(s.a)(Object(o.b)({},t,{chart:Object(o.d)(e,l)})),Object(s.a)(Object(o.b)({},t,{chart:Object(o.d)(e,u)})),t}function m(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o.d)(e,l),c=Object(o.d)(e,u),g=Object(o.c)(s,"interval"),f=Object(o.c)(c,"interval");if(i){var d=i.callback,h=Object(r.__rest)(i,["callback"]);g.label({fields:[a[0]],callback:d,cfg:Object(o.o)(h)}),f.label({fields:[a[1]],callback:d,cfg:Object(o.o)(h)})}else g.label(!1),f.label(!1);return t}function b(t){return Object(o.e)(h,p,A,v,I,m,s.k,C,y)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bidirectional-bar",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{syncViewPadding:d})},e.prototype.getSchemaAdaptor=function(){return b}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(3),a=n(2),s=n(16),c=n(0),l={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};function u(t,e){var n=function(t){return Object(c.assign)({},l,t)}(t),r={},i=e.nodes,o=e.links;return i.forEach((function(t){var e=n.id(t);r[e]=t})),function(t,e,n){Object(c.forIn)(t,(function(t,r){t.inEdges=e.filter((function(t){return""+n.target(t)===""+r})),t.outEdges=e.filter((function(t){return""+n.source(t)===""+r})),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach((function(e){t.value+=n.targetWeight(e)})),t.outEdges.forEach((function(e){t.value+=n.sourceWeight(e)}))}))}(r,o,n),function(t,e){var n={weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,n){return(""+e.id(t)).localeCompare(""+e.id(n))}}[e.sortBy];!n&&Object(c.isFunction)(e.sortBy)&&(n=e.sortBy),n&&t.sort(n)}(i,n),{nodes:function(t,e){var n=t.length;if(!n)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var r=e.nodePaddingRatio;if(r<0||r>=1)throw new TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var i=r/(2*n),o=e.nodeWidthRatio;if(o<=0||o>=1)throw new TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var a=0;t.forEach((function(t){a+=t.value})),t.forEach((function(t){t.weight=t.value/a,t.width=t.weight*(1-r),t.height=o})),t.forEach((function(n,r){for(var a=0,s=r-1;s>=0;s--)a+=t[s].width+2*i;var c=n.minX=i+a,l=n.maxX=n.minX+n.width,u=n.minY=e.y-o/2,g=n.maxY=u+o;n.x=[c,l,l,c],n.y=[u,u,g,g]}))}else{var s=1/n;t.forEach((function(t,n){t.x=(n+.5)*s,t.y=e.y}))}return t}(i,n),links:function(t,e,n){if(n.weight){var r={};Object(c.forIn)(t,(function(t,e){r[e]=t.value})),e.forEach((function(e){var i=n.source(e),o=n.target(e),a=t[i],s=t[o];if(a&&s){var c=r[i],l=n.sourceWeight(e),u=a.minX+(a.value-c)/a.value*a.width,g=u+l/a.value*a.width;r[i]-=l;var f=r[o],d=n.targetWeight(e),h=s.minX+(s.value-f)/s.value*s.width,p=h+d/s.value*s.width;r[o]-=d;var A=n.y;e.x=[u,g,h,p],e.y=[A,A,A,A],e.source=a,e.target=s}}))}else e.forEach((function(e){var r=t[n.source(e)],i=t[n.target(e)];r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y],e.source=r,e.target=i)}));return e}(r,o,n)}}var g=n(68),f="name",d="source";function h(t){var e=t.options,n=e.data,i=e.sourceField,o=e.targetField,a=e.weightField,s=u({weight:!0,nodePaddingRatio:e.nodePaddingRatio,nodeWidthRatio:e.nodeWidthRatio},Object(g.b)(n,i,o,a)),c=s.nodes,l=s.links,f=c.map((function(t){return{id:t.id,x:t.x,y:t.y,name:t.name}})),d=l.map((function(t){return{source:t.source.name,target:t.target.name,x:t.x,y:t.y,value:t.value}}));return Object(r.__assign)(Object(r.__assign)({},t),{ext:Object(r.__assign)(Object(r.__assign)({},t.ext),{chordData:{nodesData:f,edgesData:d}})})}function p(t){var e;return t.chart.scale(((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}}).name={sync:"color"},e.source={sync:"color"},e)),t}function A(t){return t.chart.axis(!1),t}function C(t){return t.chart.legend(!1),t}function v(t){return t.chart.tooltip({showTitle:!1,showMarkers:!1}),t}function I(t){return t.chart.coordinate("polar").reflect("y"),t}function y(t){var e=t.chart,n=t.options,r=t.ext.chordData.nodesData,i=n.nodeStyle,o=n.label,a=e.createView();return a.data(r),Object(s.f)({chart:a,options:{xField:"x",yField:"y",seriesField:f,polygon:{style:i},label:o,tooltip:!1}}),t}function m(t){var e=t.chart,n=t.options,r=t.ext.chordData.edgesData,i=n.edgeStyle,o=n.tooltip,a=e.createView();a.data(r);var c={xField:"x",yField:"y",seriesField:d,edge:{style:i,shape:"arc"},tooltip:o};return Object(s.b)({chart:a,options:c}),t}function b(t){return Object(a.e)(h,I,p,A,C,v,m,y,o.c,o.a,o.j)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="chord",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return{nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(t,e){return{labelEmit:!0,style:{fill:"#8c8c8c"},offsetX:(t[0]+t[1])/2>.5?-4:4,content:e}}},tooltip:{fields:["source","target","value"],formatter:function(t){return{name:t.source+" -> "+t.target,value:t.value}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05}},e.prototype.getSchemaAdaptor=function(){return b}}(i.a)},function(t,e,n){"use strict";n.r(e),n.d(e,"Base",(function(){return r.a})),n.d(e,"Arc",(function(){return i.a})),n.d(e,"DataMarker",(function(){return o.a})),n.d(e,"DataRegion",(function(){return a.a})),n.d(e,"RegionFilter",(function(){return A})),n.d(e,"Html",(function(){return v})),n.d(e,"Image",(function(){return I.a})),n.d(e,"Line",(function(){return y.a})),n.d(e,"Region",(function(){return m.a})),n.d(e,"Text",(function(){return b.a}));var r=n(49),i=n(189),o=n(190),a=n(191),s=n(8),c=n.n(s),l=n(11),u=n.n(l),g=n(12),f=n.n(g),d=n(6),h=n.n(d);function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h()(t);if(e){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var A=function(t){u()(n,t);var e=p(n);function n(){var t;return c()(this,n),(t=e.apply(this,arguments)).annotationType="regionFilter",t}return n}(r.a);function C(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h()(t);if(e){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var v=function(t){u()(n,t);var e=C(n);function n(){var t;return c()(this,n),(t=e.apply(this,arguments)).annotationType="html",t}return n}(r.a),I=n(192),y=n(193),m=n(194),b=n(195)},function(t,e,n){"use strict";n.d(e,"a",(function(){return $}));var r=n(5),i=n.n(r),o=n(4),a=n.n(o),s=n(36),c=n.n(s),l=n(187),u=n.n(l),g=n(117),f=n.n(g),d=n(32),h=n.n(d),p=n(63),A=n.n(p),C=n(7),v=n(54),I=n(8),y=n.n(I),m=n(35),b=n.n(m),x=n(11),w=n.n(x),O=n(12),S=n.n(O),_=n(6),k=n.n(_),j=n(470),E=n.n(j),P=n(19),M=n.n(P),T=n(471),R=n.n(T),D=n(61);function N(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=k()(t);if(e){var i=k()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return S()(this,n)}}var L=function(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){var i=0;for(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},F="g2-tooltip",B=function(t){w()(n,t);var e=N(n);function n(){var t;return y()(this,n),(t=e.apply(this,arguments)).renderInnder=function(e){var n=e.data,r=n.title,i=n.items,o=n.x,a=n.y;E.a.render(t.props.children(r,i,o,a,e),t.getElement())},t}return b()(n,[{key:"componentWillUnmount",value:function(){var t=this.props.chartView;this.element&&this.element.remove(),t.getController("tooltip").clear(),t.off("tooltip:change",this.renderInnder)}},{key:"getElement",value:function(){return this.element||(this.element=document.createElement("div"),this.element.classList.add("bizcharts-tooltip"),this.element.classList.add("g2-tooltip"),this.element.style.width="auto",this.element.style.height="auto"),this.element}},{key:"overwriteCfg",value:function(){var t=this,e=this.props,n=e.chartView,r=(e.children,e.domStyles),o=void 0===r?{}:r,a=L(e,["chartView","children","domStyles"]);n.tooltip(i()(i()({inPlot:!1,domStyles:o},a),{customContent:function(){return t.getElement()}})),n.on("tooltip:change",this.renderInnder);var s=M()(Object(C.getTheme)(),["components","tooltip","domStyles",F],{});R()(this.element,i()(i()({},s),o["g2-tooltip"]))}},{key:"render",value:function(){return this.overwriteCfg(),null}}]),n}(a.a.Component),z=Object(D.b)(B),V=n(170),G=n(292),W=n.n(G),Y=n(293),H=n.n(Y),U=n(133),X=n.n(U),Z=n(294),q=n.n(Z);Object(C.registerAction)("tooltip",X.a),Object(C.registerAction)("sibling-tooltip",H.a),Object(C.registerAction)("active-region",W.a),Object(C.registerAction)("ellipsis-text",q.a),Object(C.registerInteraction)("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Object(C.registerInteraction)("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),Object(C.registerInteraction)("tooltip-click",{start:[{trigger:"plot:click",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchstart",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:leave",action:"tooltip:hide"}]});var K=function(t){t.view.isTooltipLocked()?t.view.unlockTooltip():t.view.lockTooltip()};Object(C.registerInteraction)("tooltip-lock",{start:[{trigger:"plot:click",action:K},{trigger:"plot:touchstart",action:K},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:mousemove",action:"tooltip:show"}],end:[{trigger:"plot:click",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Object(C.registerInteraction)("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]});var Q=function(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){var i=0;for(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};Object(C.registerComponentController)("tooltip",u.a);var J=function(t){var e=t.visible,n=void 0===e||e,r=(t.children,Q(t,["visible","children"])),o=Object(v.a)();return o.getController("tooltip").clear(),!0===n?o.tooltip(i()({customContent:null,showMarkers:!1},r)):o.tooltip(!1),null};function $(t){var e=t.children,n=t.triggerOn,r=t.onShow,s=t.onChange,l=t.onHide,u=t.lock,g=t.linkage,d=Q(t,["children","triggerOn","onShow","onChange","onHide","lock","linkage"]),p=Object(v.a)();p.removeInteraction("tooltip"),p.removeInteraction("tooltip-click"),p.removeInteraction("tooltip-lock"),"click"===n?p.interaction("tooltip-click"):u?p.interaction("tooltip-lock"):p.interaction("tooltip");var C=Object(o.useRef)(f()("tooltip"));Object(o.useEffect)((function(){h()(g)?Object(V.b)(g[0],C.current,p,d.shared,g[1]):A()(g)&&Object(V.b)(g,C.current,p,d.shared)}),[g,p]);var I=Object(o.useCallback)((function(t){c()(r)&&r(t,p)}),[]),y=Object(o.useCallback)((function(t){c()(s)&&s(t,p)}),[]),m=Object(o.useCallback)((function(t){c()(l)&&l(t,p)}),[]);return p.off("tooltip:show",I),p.on("tooltip:show",I),p.off("tooltip:change",y),p.on("tooltip:change",y),p.off("tooltip:hide",m),p.on("tooltip:hide",m),function(t){var e=t.visible,n=void 0===e||e,r=t.children;return n&&c()(r)}(t)?a.a.createElement(z,i()({},d),e):a.a.createElement(J,i()({},t))}$.defaultProps={showMarkers:!1,triggerOn:"hover"}},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(147),s=n(9),c=n(0),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.active=function(){var t=this.getView(),e=this.context.event;if(e.data){var n=e.data.items,r=t.geometries.filter((function(t){return"point"===t.type}));Object(c.each)(r,(function(t){Object(c.each)(t.elements,(function(t){var e=-1!==Object(c.findIndex)(n,(function(e){return e.data===t.data}));t.setState("active",e)}))}))}},e.prototype.getView=function(){return this.context.view},e}(s.InteractionAction);Object(s.registerAction)("marker-active",l),Object(s.registerInteraction)("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}]}),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left"},isStack:!1})},e.prototype.getSchemaAdaptor=function(){return a.a}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(78),a=n(3),s=n(2),c=n(16),l=n(38),u=n(68);function g(t){var e,n,r=t.chart,i=t.options,g=i.data,f=i.xAxis,d=i.yAxis,h=i.color,p=i.columnStyle,A=i.columnWidthRatio,C=Object(o.a)(g);r.data(C);var v=Object(s.b)({},t,{options:{xField:l.b,yField:l.c,widthRatio:A,interval:{style:p,color:h}}});return Object(c.c)(v),r.axis(!1),r.legend(!1),r.interaction("element-active"),Object(a.f)(((e={})[l.b]=f,e[l.c]=d,e),((n={})[l.b]={type:"cat"},n[l.c]=Object(u.a)(C,l.c),n))(t),t}function f(t){return Object(s.e)(g,a.k,a.j,a.a,Object(a.b)())(t)}var d=n(0),h={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+Object(d.get)(e,[0,"data","y"],0)},containerTpl:'<div class="g2-tooltip"><div class="g2-tooltip-list"></div></div>',itemTpl:"<span>{value}</span>",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}};!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-column",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(Object(o.a)(t))},e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:Object(r.__assign)({},h),animation:!0}},e.prototype.getSchemaAdaptor=function(){return f}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(0);function s(t,e){var n=Math.floor(t/e);return[e*n,e*(n+1)]}function c(t,e,n,r,i){var o=Object(a.clone)(t);Object(a.sortBy)(o,e);var c=Object(a.valuesOfKey)(o,e),l=Object(a.getRange)(c),u=l.max-l.min,g=n;if(!n&&r&&(g=u/r),!n&&!r){var f=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}(c);g=u/f}var d={},h=Object(a.groupBy)(o,i);Object(a.isEmpty)(h)?Object(a.each)(o,(function(t){var n=s(t[e],g),r=n[0]+"-"+n[1];Object(a.hasKey)(d,r)||(d[r]={range:n,count:0}),d[r].count+=1})):Object.keys(h).forEach((function(t){Object(a.each)(h[t],(function(n){var r=s(n[e],g),o=r[0]+"-"+r[1]+"-"+t;Object(a.hasKey)(d,o)||(d[o]={range:r,count:0},d[o][i]=t),d[o].count+=1}))}));var p=[];return Object(a.each)(d,(function(t){p.push(t)})),p}var l=n(3),u=n(16);function g(t){var e=t.chart,n=t.options,r=n.data,i=n.binField,a=n.binNumber,s=n.binWidth,l=n.color,g=n.stackField,f=n.legend,d=n.columnStyle,h=c(r,i,s,a,g);e.data(h);var p=Object(o.b)({},t,{options:{xField:"range",yField:"count",seriesField:g,isStack:!0,interval:{color:l,style:d}}});return Object(u.c)(p),f&&g&&e.legend(g,f),t}function f(t){var e=t.options,n=e.xAxis,r=e.yAxis;return Object(o.e)(Object(l.f)({range:n,count:r}))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis;return!1===r?e.axis("range",!1):e.axis("range",r),!1===i?e.axis("count",!1):e.axis("count",i),t}function h(t){var e=t.chart,n=t.options.label,i=Object(o.c)(e,"interval");if(n){var a=n.callback,s=Object(r.__rest)(n,["callback"]);i.label({fields:["count"],callback:a,cfg:Object(o.o)(s)})}else i.label(!1);return t}function p(t){return Object(o.e)(g,f,d,l.j,h,l.k,l.c,l.a)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="histogram",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.binField,r=e.binNumber,i=e.binWidth,o=e.stackField;this.chart.changeData(c(t,n,i,r,o))},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return p}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(0),s=n(3),c=n(70),l="$$range$$";function u(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,o=n.groupField,s=n.color,c=Array.isArray(i)?l:i,u=e.schema().position(r+"*"+c).shape("box");o&&u.color(o,s).adjust("dodge");var g=n.data;if(Array.isArray(i)){var f=i[0],d=i[1],h=i[2],p=i[3],A=i[4];g=Object(a.map)(g,(function(t){return t.$$range$$=[t[f],t[d],t[h],t[p],t[A]],t}))}return e.data(g),t}function g(t){var e=t.chart,n=t.options,r=n.xField,i=n.data,o=n.outliersField,s=n.outliersStyle,c=n.padding;if(!o)return t;var l=e.createView({padding:c});l.data(i),l.axis(!1);var u=l.point().position(r+"*"+o).shape("circle");return Object(a.isFunction)(s)?u.style(r+"*"+o,(function(t,e){var n;return s(((n={})[r]=t,n[o]=e,n))})):Object(a.isObject)(s)&&u.style(s),t}function f(t){var e,n,r=t.chart,i=t.options,a=i.meta,s=i.xAxis,u=i.yAxis,g=i.xField,f=i.yField,d=i.outliersField,h=Array.isArray(f)?l:f,p={};if(d){var A="$$y_outliers$$";(e={})[d]={sync:A},e[h]={sync:A},p=e}var C=Object(o.b)(p,a,((n={})[g]=Object(o.k)(s,c.a),n[h]=Object(o.k)(u,c.a),n));return r.scale(C),t}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField,s=Array.isArray(a)?l:a;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(l,!1):e.axis(s,i),t}function h(t){var e=t.chart,n=t.options,r=n.legend,i=n.groupField;return i?r?e.legend(i,r):e.legend(i,{position:"bottom"}):e.legend(!1),t}function p(t){var e=t.chart,n=t.options,r=n.xField,i=n.yField,s=n.boxStyle,c=Object(o.c)(e,"schema"),u=Array.isArray(i)?l:i;return Object(a.isFunction)(s)?c.style(r+"*"+u,(function(t,e){var n;return s(((n={})[r]=t,n[u]=e,n))})):Object(a.isObject)(s)&&c.style(s),t}function A(t){var e=t.chart,n=t.options.tooltip;return void 0!==n&&e.tooltip(n),t}function C(t){return Object(o.e)(u,g,f,d,p,h,A,s.c,s.a,s.j)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="box",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){var e;return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{meta:(e={},e.$$range$$={min:0,alias:"low-q1-median-q3-high"},e),interactions:[{type:"active-region"}],tooltip:{showMarkers:!1,showCrosshairs:!0,shared:!0}})},e.prototype.getSchemaAdaptor=function(){return C}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(0),s=n(3),c=n(16);function l(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,o=t.targetField,a=t.layout,s=[],c=[];e.forEach((function(t,e){var a;t[i].sort((function(t,e){return t-e})),t[i].forEach((function(r,o){var a,c=0===o?r:t[i][o]-t[i][o-1];s.push(((a={rKey:i+"_"+o})[n]=n?t[n]:String(e),a[i]=c,a))})),t[r].forEach((function(i,o){var a;s.push(((a={mKey:t[r].length>1?r+"_"+o:""+r})[n]=n?t[n]:String(e),a[r]=i,a))})),s.push(((a={tKey:""+o})[n]=n?t[n]:String(e),a[o]=t[o],a)),c.push(t[i],t[r],t[o])}));var l=Math.min.apply(Math,c.flat(1/0)),u=Math.max.apply(Math,c.flat(1/0));return l=l>0?0:l,"vertical"===a&&s.reverse(),{min:l,max:u,ds:s}}function u(t){var e=t.chart,n=t.options,i=n.bulletStyle,s=n.targetField,u=n.rangeField,g=n.measureField,f=n.xField,d=n.color,h=n.layout,p=n.size,A=n.label,C=l(n),v=C.min,I=C.max,y=C.ds;e.data(y);var m=Object(o.b)({},t,{options:{xField:f,yField:u,seriesField:"rKey",isStack:!0,label:Object(a.get)(A,"range"),interval:{color:Object(a.get)(d,"range"),style:Object(a.get)(i,"range"),size:Object(a.get)(p,"range")}}});Object(c.c)(m),e.geometries[0].tooltip(!1);var b=Object(o.b)({},t,{options:{xField:f,yField:g,seriesField:"mKey",isStack:!0,label:Object(a.get)(A,"measure"),interval:{color:Object(a.get)(d,"measure"),style:Object(a.get)(i,"measure"),size:Object(a.get)(p,"measure")}}});Object(c.c)(b);var x=Object(o.b)({},t,{options:{xField:f,yField:s,seriesField:"tKey",label:Object(a.get)(A,"target"),point:{color:Object(a.get)(d,"target"),style:Object(a.get)(i,"target"),size:Object(a.get)(p,"target")/2,shape:"horizontal"===h?"line":"hyphen"}}});return Object(c.e)(x),"horizontal"===h&&e.coordinate().transpose(),Object(r.__assign)(Object(r.__assign)({},t),{ext:{data:{min:v,max:I}}})}function g(t){var e,n,r=t.options,i=t.ext,a=r.xAxis,c=r.yAxis,l=r.targetField,u=r.rangeField,g=r.measureField,f=r.xField,d=i.data;return Object(o.e)(Object(s.f)(((e={})[f]=a,e[g]=c,e),((n={})[g]={min:null===d||void 0===d?void 0:d.min,max:null===d||void 0===d?void 0:d.max},n[l]={sync:""+g},n[u]={sync:""+g},n)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.measureField,s=n.rangeField,c=n.targetField;return e.axis(""+s,!1),e.axis(""+c,!1),!1===r?e.axis(""+o,!1):e.axis(""+o,r),!1===i?e.axis(""+a,!1):e.axis(""+a,i),t}function d(t){var e=t.chart,n=t.options.legend;return e.removeInteraction("legend-filter"),e.legend(n),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function h(t){var e=t.chart,n=t.options,i=n.label,s=n.measureField,c=n.targetField,l=n.rangeField,u=e.geometries,g=u[0],f=u[1],d=u[2];return Object(a.get)(i,"range")?g.label(""+l,Object(r.__assign)({layout:[{type:"limit-in-plot"}]},Object(o.o)(i.range))):g.label(!1),Object(a.get)(i,"measure")?f.label(""+s,Object(r.__assign)({layout:[{type:"limit-in-plot"}]},Object(o.o)(i.measure))):f.label(!1),Object(a.get)(i,"target")?d.label(""+c,Object(r.__assign)({layout:[{type:"limit-in-plot"}]},Object(o.o)(i.target))):d.label(!1),t}function p(t){Object(o.e)(u,g,f,d,s.j,h,s.k,s.c,s.a)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bullet",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=l(this.options),n=e.min,r=e.max,i=e.ds;g({options:this.options,ext:{data:{min:n,max:r}},chart:this.chart}),this.chart.changeData(i)},e.prototype.getSchemaAdaptor=function(){return p},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}})}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(3),s=n(16);function c(t,e,n){var r=n.map((function(t){return t[e]})).filter((function(t){return void 0!==t})),i=r.length>0?Math.max.apply(Math,r):0,o=Math.abs(t)%360;return o?360*i/o:i}function l(t){var e=t.chart,n=t.options,r=n.data,i=n.barStyle,a=n.color,c=n.tooltip,l=n.colorField,u=n.type,g=n.xField,f=n.yField;e.data(r);var d=Object(o.b)({},t,{options:{tooltip:c,seriesField:l,interval:{style:i,color:a,shape:"line"===u?"line":"intervel"},minColumnWidth:n.minBarWidth,maxColumnWidth:n.maxBarWidth,columnBackground:n.barBackground}});return Object(s.c)(d),"line"===u&&Object(s.e)({chart:e,options:{xField:g,yField:f,seriesField:l,point:{shape:"circle",color:a}}}),t}function u(t){var e,n=t.options,r=n.yField,i=n.data,s=n.maxAngle;return Object(o.e)(Object(a.f)(((e={})[r]={min:0,max:c(s,r,i)},e)))(t)}function g(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:o,endAngle:a}}).transpose(),t}function f(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis;return e.axis(r,i),t}function d(t){return Object(o.e)(l,u,f,g,a.c,a.a,a.j,a.k,a.d,Object(a.b)())(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radial-bar",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),u({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240})},e.prototype.getSchemaAdaptor=function(){return d}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(203),a=n(3),s=n(2),c=n(226);function l(t){var e=t.options.colorField;return Object(s.b)({options:{colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapResquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1,fields:["name","value",e],formatter:function(t){return{name:t.name,value:t.value}}}}},t)}function u(t){var e=t.chart,n=t.options,i=n.color,a=n.colorField,l=n.rectStyle,u=function(t){var e=t.data,n=t.colorField,i=t.hierarchyConfig,o=Object(c.a)(e,Object(r.__assign)(Object(r.__assign)({},i),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),a=[];return o.forEach((function(t){if(!t.children){var e=Object.assign({},t.data,{x:t.x,y:t.y,depth:t.depth,value:t.value});if(!t.data[n]&&t.parent){var r=t.ancestors().find((function(t){return t.data[n]}));e[n]=null===r||void 0===r?void 0:r.data[n]}else e[n]=t.data[n];a.push(e)}})),a}(n);return e.data(u),Object(o.a)(Object(s.b)({},t,{options:{xField:"x",yField:"y",seriesField:a,rawFields:["value"],polygon:{color:i,style:l}}})),t}function g(t){return t.chart.axis(!1),t}function f(t){return Object(s.e)(l,u,g,a.j,a.d,a.k,a.c,a.a,Object(a.b)())(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="treemap",e}Object(r.__extends)(e,t),e.prototype.getSchemaAdaptor=function(){return f}}(i.a)},function(t,e,n){"use strict";var r=n(5),i=n.n(r),o=n(8),a=n.n(o),s=n(35),c=n.n(s),l=n(11),u=n.n(l),g=n(12),f=n.n(g),d=n(6),h=n.n(d),p=n(4),A=n.n(p),C=n(216),v=n.n(C),I=n(265),y=n(469),m=n(79),b=n(141),x=n(84),w=n(61),O=n(37),S=n(57),_=n.n(S),k=n(117),j=n.n(k),E=n(69),P=n.n(E),M=n(36),T=n.n(M),R=n(32),D=n.n(R),N=n(218),L=n.n(N),F=n(7),B=n(14),z=n.n(B),V=n(90),G=n(80),W=n(89),Y=n(99),H=n(27),U=n(146),X=function(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){var i=0;for(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},Z=function(){function t(){a()(this,t),this.config={}}return c()(t,[{key:"createInstance",value:function(t){this.chart=new F.Chart(i()({},t)),this.key=j()("bx-chart"),this.chart.emit("initialed"),this.isNewInstance=!0,this.extendGroup={isChartCanvas:!0,chart:this.chart}}},{key:"render",value:function(){this.chart&&(this.chart.render(),this.isNewInstance&&(this.onGetG2Instance(),this.chart.unbindAutoFit(),this.isNewInstance=!1),this.chart.emit("processElemens"))}},{key:"onGetG2Instance",value:function(){T()(this.config.onGetG2Instance)&&this.config.onGetG2Instance(this.chart)}},{key:"shouldReCreateInstance",value:function(t){if(!this.chart||t.forceUpdate)return!0;var e=this.config,n=e.data,r=X(e,["data"]),i=t.data,o=X(t,["data"]);if(D()(this.config.data)&&0===n.length&&D()(i)&&0!==i.length)return!0;var a=[].concat(_()(Y.a),["scale","width","height","container","_container","_interactions","placeholder",/^on/,/^\_on/]);return!L()(Object(G.a)(r,_()(a)),Object(G.a)(o,_()(a)))}},{key:"update",value:function(t){var e=this,n=Object(W.a)(this.adapterOptions(t));this.shouldReCreateInstance(n)&&(this.destory(),this.createInstance(n)),n.pure&&(this.chart.axis(!1),this.chart.tooltip(!1),this.chart.legend(!1));var r=Object(U.a)(this.config),i=Object(U.a)(n),o=n.data,a=n.interactions,s=X(n,["data","interactions"]),c=this.config,l=c.data,u=c.interactions,g=void 0===u?[]:u;if(this.isNewInstance||r.forEach((function(t){e.chart.off(t[1],e.config["_".concat(t[0])])})),i.forEach((function(t){n["_".concat(t[0])]=function(r){n[t[0]](r,e.chart)},e.chart.on(t[1],n["_".concat(t[0])])})),D()(l)&&l.length){var f=!0;if(n.notCompareData&&(f=!1),l.length!==o.length?f=!1:l.forEach((function(t,e){Object(V.a)(t,o[e])||(f=!1)})),!f){this.chart.isDataChanged=!0,this.chart.emit(H.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA),this.chart.data(o);for(var d=this.chart.views,h=0,p=d.length;h<p;h++)d[h].changeData(o);this.chart.emit(H.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA)}}else this.chart.data(o);this.chart.scale(s.scale),!1===s.animate?this.chart.animate(!1):this.chart.animate(!0),g.forEach((function(t){e.chart.removeInteraction(t)})),a.forEach((function(t){e.chart.interaction(t)})),P()(this.config.filter,(function(t,n){D()(t)?e.chart.filter(t[0],null):e.chart.filter(n,null)})),P()(n.filter,(function(t,n){D()(t)?e.chart.filter(t[0],t[1]):e.chart.filter(n,t)})),this.chart.theme(n.theme),this.config=n}},{key:"adapterOptions",value:function(t){var e=t.data,n=X(t,["data"]),r=Object(G.a)(n,_()(Y.a));return r.forceFit&&z()(!1,"forceFit \u5df2\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528`autoFit`\u66ff\u4ee3"),r.data=function(t){return t&&t.rows?t.rows:t}(e)||[],r}},{key:"destory",value:function(){if(this.chart){this.extendGroup=null;var t=this.chart;t.destroy(),t=null,this.chart=null,this.config={}}}}]),t}(),q=n(0);function K(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h()(t);if(e){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var Q=function(t){u()(n,t);var e=K(n);function n(t){var r;return a()(this,n),(r=e.call(this,t)).isRootView=!0,r.resize=v()((function(){var t=r.chartHelper.chart;if(r.props.autoFit&&r.chartHelper.chart){var e=Object(I.getChartSize)(r.props.container,r.props.autoFit,t.width,t.height),n=e.width,i=e.height;t.width===n&&t.height===i||(t.changeSize(n,i),t.emit("resize"))}}),300),r.resizeObserver=new y.a(r.resize),r.resizeObserver.observe(t.container),r.chartHelper=new Z,r}return c()(n,[{key:"componentDidMount",value:function(){this.isError?this.chartHelper.destory():this.chartHelper.render()}},{key:"componentDidUpdate",value:function(){if(this.isError)this.chartHelper.destory();else{var t=this.props,e=t.width,n=t.height;if(!t.autoFit&&this.chartHelper.chart)if(e>=0&&e!==this.chartHelper.chart.width||n>=0&&n!==this.chartHelper.chart.height){var r=e||this.chartHelper.chart.width,i=n||this.chartHelper.chart.height;this.chartHelper.chart.changeSize(r,i),this.chartHelper.chart.emit("resize")}else this.chartHelper.render();else this.chartHelper.render()}}},{key:"componentWillUnmount",value:function(){this.chartHelper.destory(),this.resizeObserver.unobserve(this.props.container)}},{key:"getG2Instance",value:function(){return this.chartHelper.chart}},{key:"render",value:function(){var t=this,e=this.props,n=e.placeholder,r=e.data,o=e.errorContent,a=this.props.ErrorBoundaryProps;if((void 0===r||0===r.length)&&n){this.chartHelper.destory();var s=!0===n?A.a.createElement("div",{style:{position:"relative",top:"48%",color:"#aaa",textAlign:"center"}},"\u6682\u65e0\u6570\u636e"):n;return A.a.createElement(m.b,i()({},a),s)}return this.chartHelper.update(this.props),a=o?i()({fallback:o},a):{FallbackComponent:m.a},A.a.createElement(m.b,i()({},a,{key:this.chartHelper.key,onError:function(){var e;t.isError=!0,Object(q.isFunction)(a.onError)&&(e=a).onError.apply(e,arguments)},onReset:function(){var e;t.isError=!1,Object(q.isFunction)(a.onReset)&&(e=a).onReset.apply(e,arguments)},resetKeys:[this.chartHelper.key],fallback:o}),A.a.createElement(x.a.Provider,{value:this.chartHelper},A.a.createElement(w.a.Provider,{value:this.chartHelper.chart},A.a.createElement(O.a.Provider,{value:this.chartHelper.extendGroup},this.props.children))))}}]),n}(A.a.Component);Q.defaultProps={placeholder:!1,visible:!0,interactions:[],filter:[]},e.a=Object(b.a)(Q)},function(t,e,n){"use strict";var r=n(8),i=n.n(r),o=n(35),a=n.n(o),s=n(11),c=n.n(s),l=n(12),u=n.n(l),g=n(6),f=n.n(g),d=n(4),h=n.n(d),p=n(84),A=n(61),C=n(5),v=n.n(C),I=n(32),y=n.n(I),m=n(172),b=n.n(m),x=n(69),w=n.n(x),O=n(14),S=n.n(O),_=n(90),k=function(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){var i=0;for(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},j=function(){function t(e){i()(this,t),this.chart=e,this.config={},this.isRootView=!1,this.chart=e}return a()(t,[{key:"creatViewInstance",value:function(t){this.view=this.chart.createView(this.processOptions(t)),this.view.rootChart=this.chart}},{key:"getView",value:function(){return this.view}},{key:"update",value:function(t){var e=this,n=this.config.data,r=t.scale,i=t.animate,o=t.filter,a=t.visible,s=t.data,c=void 0===s?[]:s;if(c.rows&&(S()(!c.rows,"bizcharts@4\u4e0d\u652f\u6301 dataset\u6570\u636e\u683c\u5f0f\uff0c\u8bf7\u4f7f\u7528data={dv.rows}"),c=c.rows),(!this.view||y()(n)&&0===n.length)&&(this.destroy(),this.creatViewInstance(t)),y()(n)){this.view.changeData(c);var l=!0;n.length!==c.length?l=!1:n.forEach((function(t,e){Object(_.a)(t,c[e])||(l=!1)})),l||this.view.changeData(c)}else this.view.data(c);this.view.scale(r),this.view.animate(i),w()(this.config.filter,(function(t,n){y()(t)?e.view.filter(t[0],null):e.view.filter(n,null)})),w()(o,(function(t,n){y()(t)?e.view.filter(t[0],t[1]):e.view.filter(n,t)})),a?this.view.show():this.view.hide(),this.config=v()(v()({},t),{data:c})}},{key:"destroy",value:function(){this.view&&(this.view.destroy(),this.view=null),this.config={}}},{key:"processOptions",value:function(t){var e=t.region,n=t.start,r=t.end,i=k(t,["region","start","end"]);S()(!n,"start \u5c5e\u6027\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528 region={{ start: {x:0,y:0}}} \u66ff\u4ee3"),S()(!r,"end \u5c5e\u6027\u5c06\u57285.0\u540e\u5e9f\u5f03\uff0c\u8bf7\u4f7f\u7528 region={{ end: {x:0,y:0}}} \u66ff\u4ee3");var o=b()({start:{x:0,y:0},end:{x:1,y:1}},{start:n,end:r},e);return v()(v()({},i),{region:o})}}]),t}();function E(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f()(t);if(e){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var P=function(t){c()(n,t);var e=E(n);function n(){var t;return i()(this,n),(t=e.apply(this,arguments)).name="view",t}return a()(n,[{key:"componentWillUnmount",value:function(){this.viewHelper.destroy(),this.viewHelper=null}},{key:"render",value:function(){return this.viewHelper||(this.viewHelper=new j(this.context.chart)),this.viewHelper.update(this.props),h.a.createElement(A.a.Provider,{value:this.viewHelper.view},h.a.createElement(h.a.Fragment,null,this.props.children))}}]),n}(h.a.Component);P.defaultProps={visible:!0,preInteractions:[],filter:[]},P.contextType=p.a,e.a=P},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(4),i=n(290),o=n.n(i),a=n(36),s=n.n(a),c=n(7),l=n(54),u=n(214),g=n.n(u),f=n(305),d=n.n(f),h=n(307),p=n.n(h),A=n(309),C=n.n(A),v=n(306),I=n.n(v);Object(c.registerAction)("list-active",d.a),Object(c.registerAction)("list-selected",I.a),Object(c.registerAction)("list-highlight",g.a),Object(c.registerAction)("list-unchecked",p.a),Object(c.registerAction)("data-filter",C.a),Object(c.registerAction)("legend-item-highlight",g.a,{componentNames:["legend"]}),Object(c.registerInteraction)("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),Object(c.registerInteraction)("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),Object(c.registerInteraction)("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:"list-unchecked:toggle"},{trigger:"legend-item:click",action:"data-filter:filter"}]});var y=function(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){var i=0;for(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 m(t){var e=t.name,n=t.visible,i=void 0===n||n,o=(t.onChange,t.filter),a=y(t,["name","visible","onChange","filter"]),c=Object(l.a)();return function(t){return void 0===t}(e)?i?c.legend(a):c.legend(!1):i?c.legend(e,a):c.legend(e,!1),s()(o)&&e&&c.filter(e,o),Object(r.useEffect)((function(){c.on("legend:valuechanged",(function(e){s()(t.onChange)&&t.onChange(e,c)})),c.on("legend-item:click",(function(e){if(s()(t.onChange)){var n=e.target.get("delegateObject").item;e.item=n,t.onChange(e,c)}}))}),[]),null}Object(c.registerComponentController)("legend",o.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(289),i=n.n(r),o=n(54),a=n(472),s=n.n(a),c=n(7),l=function(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){var i=0;for(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};Object(c.registerComponentController)("axis",i.a);var u=function(t){return void 0===t},g=function(t){return function(t,e){var n=s()(t);return e.forEach((function(t){!0===n[t]?n[t]={}:!1===n[t]&&(n[t]=null)})),n}(t,["title","line","tickLine","subTickLine","label","grid"])};function f(t){var e=t.name,n=t.visible,r=void 0===n||n,i=l(t,["name","visible"]),a=Object(o.a)(),s=g(i);return r?u(e)?a.axis(!0):a.axis(e,s):u(e)?a.axis(!1):a.axis(e,!1),null}},function(t,e,n){"use strict";var r=n(1),i=n(24);function o(t,e,n){var r=t.getTotalMatrix();if(r){var o=function(t,e){if(e){var n=Object(i.invert)(e);return Object(i.multiplyVec2)(n,t)}return t}([e,n,1],r);return[o[0],o[1]]}return[e,n]}function a(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!Object(i.isAllowCapture)(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var r=o(t,e,n),a=r[0],s=r[1];if(t.isClipped(a,s))return!1}var c=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=c.minX&&e<=c.maxX&&n>=c.minY&&n<=c.maxY}function s(t,e,n){if(!a(t,e,n))return null;for(var r=null,i=t.getChildren(),c=i.length-1;c>=0;c--){var l=i[c];if(l.isGroup())r=s(l,e,n);else if(a(l,e,n)){var u=l,g=o(l,e,n),f=g[0],d=g[1];u.isInShape(f,d)&&(r=l)}if(r)break}return r}var c=n(97),l=n(131),u=n(23),g=n(45),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){"attr"!==t&&"sort"!==t&&"changeSize"!==t||(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return c},e.prototype.getGroupBase=function(){return l.a},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||Object(u.d)();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),o=this.getPixelRatio();i.width=o*e,i.height=o*n,o>1&&r.scale(o,o)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?s(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();return e.length&&e[0]===this?t=n:(t=Object(g.f)(e))&&(t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1,this.get("clipView")&&(t=Object(g.g)(t,n))),t},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(Object(u.a)(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),Object(g.a)(t,this),Object(g.d)(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),Object(g.a)(t,this),Object(g.b)(this,n,r),Object(g.d)(t,n,r),t.restore()):e.length&&Object(g.c)(e),Object(u.c)(e,(function(t){t.get("hasChanged")&&t.set("hasChanged",!1)})),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=Object(u.n)((function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)})),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e}(i.AbstractCanvas);e.a=f},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(1),i=n(29),o=n(0),a=n(28),s={default:{trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},hover:{thumbColor:"rgba(0,0,0,0.2)"}},c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.clearEvents=o.noop,e.onStartEvent=function(t){return function(n){e.isMobile=t,n.originalEvent.preventDefault();var r=t?Object(o.get)(n.originalEvent,"touches.0.clientX"):n.clientX,i=t?Object(o.get)(n.originalEvent,"touches.0.clientY"):n.clientY;e.startPos=e.cfg.isHorizontal?r:i,e.bindLaterEvent()}},e.bindLaterEvent=function(){var t=e.getContainerDOM(),n=[];n=e.isMobile?[Object(i.addEventListener)(t,"touchmove",e.onMouseMove),Object(i.addEventListener)(t,"touchend",e.onMouseUp),Object(i.addEventListener)(t,"touchcancel",e.onMouseUp)]:[Object(i.addEventListener)(t,"mousemove",e.onMouseMove),Object(i.addEventListener)(t,"mouseup",e.onMouseUp),Object(i.addEventListener)(t,"mouseleave",e.onMouseUp)],e.clearEvents=function(){n.forEach((function(t){t.remove()}))}},e.onMouseMove=function(t){var n=e.cfg,r=n.isHorizontal,i=n.thumbOffset;t.preventDefault();var a=e.isMobile?Object(o.get)(t,"touches.0.clientX"):t.clientX,s=e.isMobile?Object(o.get)(t,"touches.0.clientY"):t.clientY,c=r?a:s,l=c-e.startPos;e.startPos=c,e.updateThumbOffset(i+l)},e.onMouseUp=function(t){t.preventDefault(),e.clearEvents()},e.onTrackClick=function(t){var n=e.cfg,r=n.isHorizontal,i=n.x,o=n.y,a=n.thumbLen,s=e.getContainerDOM().getBoundingClientRect(),c=t.clientX,l=t.clientY,u=r?c-s.left-i-a/2:l-s.top-o-a/2,g=e.validateRange(u);e.updateThumbOffset(g)},e.onThumbMouseOver=function(){var t=e.cfg.theme.hover.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e.onThumbMouseOut=function(){var t=e.cfg.theme.default.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e}return Object(r.__extends)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.getValue(),r=Object(o.clamp)(n,t,e);n===r||this.get("isInit")||this.setValue(r)},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*Object(o.clamp)(t,e.min,e.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return Object(o.clamp)(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return Object(r.__assign)(Object(r.__assign)({},e),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:s})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var e=this.cfg,n=e.trackLen,r=e.theme,i=(void 0===r?{default:{}}:r).default,o=i.lineCap,a=i.trackColor,s=i.size,c=this.get("isHorizontal")?{x1:0+s/2,y1:s/2,x2:n-s/2,y2:s/2,lineWidth:s,stroke:a,lineCap:o}:{x1:s/2,y1:0+s/2,x2:s/2,y2:n-s/2,lineWidth:s,stroke:a,lineCap:o};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:c})},e.prototype.renderThumbShape=function(t){var e=this.cfg,n=e.thumbOffset,r=e.thumbLen,i=e.theme,o=(void 0===i?{default:{}}:i).default,a=o.size,s=o.lineCap,c=o.thumbColor,l=this.get("isHorizontal")?{x1:n+a/2,y1:a/2,x2:n+r-a/2,y2:a/2,lineWidth:a,stroke:c,lineCap:s,cursor:"default"}:{x1:a/2,y1:n+a/2,x2:a/2,y2:n+r-a/2,lineWidth:a,stroke:c,lineCap:s,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:l})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp),t.findById(this.getElementId("track")).on("click",this.onTrackClick);var e=t.findById(this.getElementId("thumb"));e.on("mouseover",this.onThumbMouseOver),e.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e.prototype.validateRange=function(t){var e=this.cfg,n=e.thumbLen,r=e.trackLen,i=t;return t+n>r?i=r-n:t+n<n&&(i=0),i},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.updateThumbOffset=function(t){var e=this.cfg,n=e.thumbOffset,r=e.isHorizontal,i=e.thumbLen,o=e.size,a=this.validateRange(t);if(a!==n){var s=this.getElementByLocalId("thumb");r?s.attr({x1:a+o/2,x2:a+i-o/2}):s.attr({y1:a+o/2,y2:a+i-o/2}),this.emitOffsetChange(a)}},e.prototype.emitOffsetChange=function(t){var e=this.cfg,n=e.thumbOffset,r=e.trackLen,i=e.thumbLen;this.cfg.thumbOffset=t,this.emit("scrollchange",{thumbOffset:t,ratio:Object(o.clamp)(t/(r-i),0,1)}),this.delegateEmit("valuechange",{originalValue:n,value:t})},e}(a.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(77),s=n(0),c=n(3),l=n(16),u=n(147);function g(t){var e=t.chart,n=t.options,i=n.data,s=n.areaStyle,c=n.color,u=n.point,g=n.line,f=n.isPercent,d=n.xField,h=n.yField,p=n.tooltip,A=n.seriesField,C=Object(a.a)(i,h,d,h,f);e.data(C);var v=f?Object(r.__assign)({formatter:function(t){return{name:t[A]||t[d],value:(100*Number(t[h])).toFixed(2)+"%"}}},p):p,I=Object(o.b)({},t,{options:{area:{color:c,style:s},line:g&&Object(r.__assign)({color:c},g),point:u&&Object(r.__assign)({color:c},u),tooltip:v,label:void 0}}),y=Object(o.b)({},I,{options:{tooltip:!1}});return Object(l.a)(I),Object(l.d)(y),Object(l.e)(y),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=Object(o.c)(e,"area");if(i){var c=i.callback,l=Object(r.__rest)(i,["callback"]);s.label({fields:[a],callback:c,cfg:Object(r.__assign)({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Object(o.o)(l))})}else s.label(!1);return t}function d(t){var e=t.chart,n=t.options,r=n.isStack;return(n.isPercent||r)&&Object(s.each)(e.geometries,(function(t){t.adjust("stack")})),t}function h(t){return Object(o.e)(g,u.d,d,c.j,u.b,u.c,c.k,f,c.h,Object(c.b)(),c.c,c.a,c.e)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},isStack:!0,line:{},legend:{position:"top-left"}})},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,r=e.xField,i=e.yField;this.chart.changeData(Object(a.a)(t,i,r,i,n))},e.prototype.getSchemaAdaptor=function(){return h}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(77),s=n(227);function c(t){var e=t.chart,n=t.options,i=n.xField,o=n.yField,a=n.xAxis,c=n.yAxis,l=n.barStyle,u=n.barWidthRatio,g=n.label,f=n.data,d=n.seriesField,h=n.isStack,p=n.minBarWidth,A=n.maxBarWidth;g&&!g.position&&(g.position="left",g.layout||(g.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]));var C=n.legend;d?!1!==C&&(C=Object(r.__assign)({position:h?"top-left":"right-top",reversed:!h},C||{})):C=!1,t.options.legend=C;var v=n.tooltip;return d&&!1!==v&&(v=Object(r.__assign)({reversed:!h},v||{})),t.options.tooltip=v,e.coordinate().transpose(),Object(s.a)({chart:e,options:Object(r.__assign)(Object(r.__assign)({},n),{label:g,xField:o,yField:i,xAxis:c,yAxis:a,columnStyle:l,columnWidthRatio:u,minColumnWidth:p,maxColumnWidth:A,columnBackground:n.barBackground,data:f?f.slice().reverse():f})},!0)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.xField,r=e.yField,i=e.isPercent;this.chart.changeData(Object(a.a)(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return c}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(0),s=n(3),c=n(16);function l(t){var e=t.chart,n=t.options,r=n.data,i=n.sectorStyle,a=n.color;return e.data(r),Object(o.e)(c.c)(Object(o.b)({},t,{options:{marginRatio:1,interval:{style:i,color:a}}})),t}function u(t){var e=t.chart,n=t.options,i=n.label,s=n.xField,c=Object(o.c)(e,"interval");if(!1===i)c.label(!1);else if(Object(a.isObject)(i)){var l=i.callback,u=i.fields,g=Object(r.__rest)(i,["callback","fields"]),f=g.offset,d=g.layout;(void 0===f||f>=0)&&(d=d?Object(a.isArray)(d)?d:[d]:[],g.layout=Object(a.filter)(d,(function(t){return"limit-in-shape"!==t.type})),g.layout.length||delete g.layout),c.label({fields:u||[s],callback:l,cfg:Object(o.o)(g)})}else Object(o.j)(o.a.WARN,null===i,"the label option must be an Object."),c.label({fields:[s]});return t}function g(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i}}),t}function d(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,c=n.yField;return Object(o.e)(Object(s.f)(((e={})[a]=r,e[c]=i,e)))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return r?e.axis(o,r):e.axis(o,!1),i?e.axis(a,i):e.axis(a,!1),t}function p(t){Object(o.e)(l,d,u,f,h,g,s.k,s.c,s.a,s.j,Object(s.b)(),s.i)(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return Object(o.b)({},t.prototype.getDefaultOptions.call(this),{xAxis:!1,yAxis:!1,legend:{position:"right",offsetX:-10},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return p}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(2),a=n(3),s=n(16),c=n(68),l=n(78),u=n(38);function g(t){var e,n,r=t.chart,i=t.options,g=i.data,f=i.xAxis,d=i.yAxis,h=i.color,p=i.lineStyle,A=i.point,C=Object(l.a)(g);r.data(C);var v=Object(o.b)({},t,{options:{xField:u.b,yField:u.c,line:{color:h,style:p},point:A}}),I=Object(o.b)({},v,{options:{tooltip:!1}});return Object(s.d)(v),Object(s.e)(I),r.axis(!1),r.legend(!1),Object(a.f)(((e={})[u.b]=f,e[u.c]=d,e),((n={})[u.b]={type:"cat"},n[u.c]=Object(c.a)(C,u.c),n))(t),t}function f(t){return Object(o.e)(g,a.j,a.k,a.a,Object(a.b)())(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-line",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(Object(l.a)(t))},e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:Object(r.__assign)({},u.a),animation:!0}},e.prototype.getSchemaAdaptor=function(){return f}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(38),a=n(78),s=n(3),c=n(2),l=n(16),u=n(68);function g(t){var e,n,r=t.chart,i=t.options,g=i.data,f=i.xAxis,d=i.yAxis,h=i.color,p=i.areaStyle,A=i.point,C=i.line,v=Object(a.a)(g);r.data(v);var I=Object(c.b)({},t,{options:{xField:o.b,yField:o.c,area:{color:h,style:p},line:C,point:A}}),y=Object(c.b)({},I,{options:{tooltip:!1}});return Object(l.a)(I),Object(l.d)(y),Object(l.e)(y),r.axis(!1),r.legend(!1),Object(s.f)(((e={})[o.b]=f,e[o.c]=d,e),((n={})[o.b]={type:"cat"},n[o.c]=Object(u.a)(v,o.c),n))(t),t}function f(t){return Object(c.e)(g,s.k,s.j,s.a,Object(s.b)())(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-area",e}Object(r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(Object(a.a)(t))},e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:Object(r.__assign)({},o.a),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:!0}},e.prototype.getSchemaAdaptor=function(){return f}}(i.a)},function(t,e,n){"use strict";var r=n(1),i=n(18),o=n(145),a=n(0),s=n(2),c=n(3),l=n(224),u=n(46);function g(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius;return e.coordinate("theta",{innerRadius:r,radius:i}),t}function f(t,e){var n=t.chart,i=t.options,o=i.innerRadius,c=i.statistic,l=i.percent,g=i.meta;if(n.getController("annotation").clear(!0),o&&c){var f=c.content;f&&!f.formatter&&(f.formatter=function(t){var e=t.percent,n=Object(a.get)(g,[u.c,"formatter"]);return n?n(e):e}),Object(s.m)(n,{statistic:Object(r.__assign)(Object(r.__assign)({},c),{content:f}),plotType:"ring-progress"},{percent:l})}return e&&n.render(!0),t}function d(t){return Object(s.e)(l.b,Object(c.f)({}),g,f,c.a,c.j,Object(c.b)())(t)}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ring-process",e}Object(r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return{percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"},formatter:function(t){return(100*t.percent).toFixed(2)+"%"}}},animation:!0}},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.data(Object(o.a)(t)),f({chart:this.chart,options:this.options},!0)},e.prototype.getSchemaAdaptor=function(){return d}}(i.a)},function(t,e,n){"use strict";var r=n(30),i=n(0),o=n(109),a=function(t){function e(e){var n=t.call(this,e)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var r=e.marginRatio,i=void 0===r?o.d:r,a=e.dodgeRatio,s=void 0===a?o.b:a,c=e.dodgeBy,l=e.intervalPadding,u=e.dodgePadding,g=e.xDimensionLength,f=e.groupNum,d=e.defaultSize,h=e.maxColumnWidth,p=e.minColumnWidth,A=e.columnWidthRatio;return n.marginRatio=i,n.dodgeRatio=s,n.dodgeBy=c,n.intervalPadding=l,n.dodgePadding=u,n.xDimensionLegenth=g,n.groupNum=f,n.defaultSize=d,n.maxColumnWidth=h,n.minColumnWidth=p,n.columnWidthRatio=A,n}return Object(r.b)(e,t),e.prototype.process=function(t){var e=i.clone(t),n=i.flatten(e),r=this.dodgeBy,o=r?i.group(n,r):e;return this.cacheMap={},this.adjustDataArray=o,this.mergeData=n,this.adjustData(o,n),this.adjustDataArray=[],this.mergeData=[],e},e.prototype.adjustDim=function(t,e,n,r){var o=this,a=this.getDistribution(t),s=this.groupData(n,t);return i.each(s,(function(n,s){var c;c=1===e.length?{pre:e[0]-1,next:e[0]+1}:o.getAdjustRange(t,parseFloat(s),e),i.each(n,(function(e){var n=e[t],i=a[n],s=i.indexOf(r);e[t]=o.getDodgeOffset(c,s,i.length)}))})),[]},e.prototype.getDodgeOffset=function(t,e,n){var r,o=this,a=o.dodgeRatio,s=o.marginRatio,c=o.intervalPadding,l=o.dodgePadding,u=t.pre,g=t.next,f=g-u;if(!i.isNil(c)&&i.isNil(l)&&c>=0)r=u+this.getIntervalOnlyOffset(n,e);else if(!i.isNil(l)&&i.isNil(c)&&l>=0)r=u+this.getDodgeOnlyOffset(n,e);else if(!i.isNil(c)&&!i.isNil(l)&&c>=0&&l>=0)r=u+this.getIntervalAndDodgeOffset(n,e);else{var d=f*a/n,h=s*d;r=(u+g)/2+(.5*(f-n*d-(n-1)*h)+((e+1)*d+e*h)-.5*d-.5*f)}return r},e.prototype.getIntervalOnlyOffset=function(t,e){var n=this,r=n.defaultSize,o=n.intervalPadding,a=n.xDimensionLegenth,s=n.groupNum,c=n.dodgeRatio,l=n.maxColumnWidth,u=n.minColumnWidth,g=n.columnWidthRatio,f=o/a,d=(1-(s-1)*f)/s*c/(t-1),h=((1-f*(s-1))/s-d*(t-1))/t;if(h=i.isNil(g)?h:1/s/t*g,!i.isNil(l)){var p=l/a;h=Math.min(h,p)}if(!i.isNil(u)){var A=u/a;h=Math.max(h,A)}return((.5+e)*(h=r?r/a:h)+e*(d=((1-(s-1)*f)/s-t*h)/(t-1))+.5*f)*s-f/2},e.prototype.getDodgeOnlyOffset=function(t,e){var n=this,r=n.defaultSize,o=n.dodgePadding,a=n.xDimensionLegenth,s=n.groupNum,c=n.marginRatio,l=n.maxColumnWidth,u=n.minColumnWidth,g=n.columnWidthRatio,f=o/a,d=1*c/(s-1),h=((1-d*(s-1))/s-f*(t-1))/t;if(h=g?1/s/t*g:h,!i.isNil(l)){var p=l/a;h=Math.min(h,p)}if(!i.isNil(u)){var A=u/a;h=Math.max(h,A)}return((.5+e)*(h=r?r/a:h)+e*f+.5*(d=(1-(h*t+f*(t-1))*s)/(s-1)))*s-d/2},e.prototype.getIntervalAndDodgeOffset=function(t,e){var n=this,r=n.intervalPadding,i=n.dodgePadding,o=n.xDimensionLegenth,a=n.groupNum,s=r/o,c=i/o;return((.5+e)*(((1-s*(a-1))/a-c*(t-1))/t)+e*c+.5*s)*a-s/2},e.prototype.getDistribution=function(t){var e=this.adjustDataArray,n=this.cacheMap,r=n[t];return r||(r={},i.each(e,(function(e,n){var o=i.valuesOfKey(e,t);o.length||o.push(0),i.each(o,(function(t){r[t]||(r[t]=[]),r[t].push(n)}))})),n[t]=r),r},e}(n(76).a);e.a=a},function(t,e,n){"use strict";var r=n(30),i=n(0),o=n(109),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.process=function(t){var e=i.clone(t),n=i.flatten(e);return this.adjustData(e,n),e},e.prototype.adjustDim=function(t,e,n){var r=this,o=this.groupData(n,t);return i.each(o,(function(n,i){return r.adjustGroup(n,t,parseFloat(i),e)}))},e.prototype.getAdjustOffset=function(t){var e,n=t.pre,r=t.next,i=(r-n)*o.c;return(r-i-(e=n+i))*Math.random()+e},e.prototype.adjustGroup=function(t,e,n,r){var o=this,a=this.getAdjustRange(e,n,r);return i.each(t,(function(t){t[e]=o.getAdjustOffset(a)})),t},e}(n(76).a);e.a=a},function(t,e,n){"use strict";var r=n(30),i=n(0),o=n(76),a=i.Cache,s=function(t){function e(e){var n=t.call(this,e)||this,r=e.adjustNames,i=void 0===r?["y"]:r,o=e.height,a=void 0===o?NaN:o,s=e.size,c=void 0===s?10:s,l=e.reverseOrder,u=void 0!==l&&l;return n.adjustNames=i,n.height=a,n.size=c,n.reverseOrder=u,n}return Object(r.b)(e,t),e.prototype.process=function(t){var e=this.yField,n=this.reverseOrder,r=e?this.processStack(t):this.processOneDimStack(t);return n?this.reverse(r):r},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var e=this,n=e.xField,o=e.yField,s=e.reverseOrder?this.reverse(t):t,c=new a,l=new a;return s.map((function(t){return t.map((function(t){var e,a=i.get(t,n,0),s=i.get(t,[o]),u=a.toString();if(s=i.isArray(s)?s[1]:s,!i.isNil(s)){var g=s>=0?c:l;g.has(u)||g.set(u,0);var f=g.get(u),d=s+f;return g.set(u,d),Object(r.a)(Object(r.a)({},t),((e={})[o]=[f,d],e))}return t}))}))},e.prototype.processOneDimStack=function(t){var e=this,n=this,i=n.xField,o=n.height,s=n.reverseOrder,c=s?this.reverse(t):t,l=new a;return c.map((function(t){return t.map((function(t){var n,a=e.size,s=t[i],c=2*a/o;l.has(s)||l.set(s,c/2);var u=l.get(s);return l.set(s,u+c),Object(r.a)(Object(r.a)({},t),((n={}).y=u,n))}))}))},e}(o.a);e.a=s},function(t,e,n){"use strict";var r=n(30),i=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.process=function(t){var e=i.flatten(t),n=this.xField,o=this.yField,a=this.getXValuesMaxMap(e),s=Math.max.apply(Math,Object.keys(a).map((function(t){return a[t]})));return i.map(t,(function(t){return i.map(t,(function(t){var e,c,l=t[o],u=t[n];if(i.isArray(l)){var g=(s-a[u])/2;return Object(r.a)(Object(r.a)({},t),((e={})[o]=i.map(l,(function(t){return g+t})),e))}var f=(s-l)/2;return Object(r.a)(Object(r.a)({},t),((c={})[o]=[f,l+f],c))}))}))},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this.xField,r=this.yField,o=i.groupBy(t,(function(t){return t[n]}));return i.mapValues(o,(function(t){return e.getDimMaxValue(t,r)}))},e.prototype.getDimMaxValue=function(t,e){var n=i.map(t,(function(t){return i.get(t,e,[])})),r=i.flatten(n);return Math.max.apply(Math,r)},e}(n(76).a);e.a=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.Shape=void 0;var r=n(1),i=n(179);e.Shape=i,r.__exportStar(n(24),e);var o=n(537);Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return o.default}});var a=n(232);Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return a.default}}),e.version="0.5.6"},function(t,e,n){"use strict";t.exports=n(597)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(32),i=n(36),o=Object.prototype.hasOwnProperty;e.default=function(t,e){if(!e||!r.default(t))return{};for(var n,a={},s=i.default(e)?e:function(t){return t[e]},c=0;c<t.length;c++){var l=t[c];n=s(l),o.call(a,n)?a[n].push(l):a[n]=[l]}return a}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(124);e.default=function(t){return r.default(t,"Boolean")}},function(t,e,n){"use strict";(function(t){var n=function(){if("undefined"!==typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i="undefined"!==typeof t&&t.Math===Math?t:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")(),o="function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!==typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function a(){n&&(n=!1,t()),r&&c()}function s(){o(a)}function c(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,e);i=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;a.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},u=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},g=C(0,0,0,0);function f(t){return parseFloat(t)||0}function d(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+f(t["border-"+n+"-width"])}),0)}function h(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return g;var r=u(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=f(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,s=f(r.width),c=f(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==e&&(s-=d(r,"left","right")+o),Math.round(c+a)!==n&&(c-=d(r,"top","bottom")+a)),!function(t){return t===u(t).document.documentElement}(t)){var l=Math.round(s+o)-e,h=Math.round(c+a)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(h)&&(c-=h)}return C(i.left,i.top,s,c)}var p="undefined"!==typeof SVGGraphicsElement?function(t){return t instanceof u(t).SVGGraphicsElement}:function(t){return t instanceof u(t).SVGElement&&"function"===typeof t.getBBox};function A(t){return r?p(t)?function(t){var e=t.getBBox();return C(0,0,e.width,e.height)}(t):h(t):g}function C(t,e,n,r){return{x:t,y:e,width:n,height:r}}var v=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=C(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=A(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),I=function(t,e){var n=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return l(a,{x:e,y:n,width:r,height:i,top:n,right:e+r,bottom:i+n,left:e}),a}(e);l(this,{target:t,contentRect:n})},y=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof u(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new v(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof u(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new I(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),m="undefined"!==typeof WeakMap?new WeakMap:new n,b=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new y(e,n,this);m.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){b.prototype[t]=function(){var e;return(e=m.get(this))[t].apply(e,arguments)}}));var x="undefined"!==typeof i.ResizeObserver?i.ResizeObserver:b;e.a=x}).call(this,n(320))},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(32);e.default=function t(e){if("object"!==r(e)||null===e)return e;var n;if(i.default(e)){n=[];for(var o=0,a=e.length;o<a;o++)"object"===r(e[o])&&null!=e[o]?n[o]=t(e[o]):n[o]=e[o]}else for(var s in n={},e)"object"===r(e[s])&&null!=e[s]?n[s]=t(e[s]):n[s]=e[s];return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Progress=void 0;var r=n(1),i=n(44),o=n(386),a=n(388),s=n(260),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="process",e}return r.__extends(e,t),e.prototype.getDefaultOptions=function(){return{percent:.2,color:a.DEFAULT_COLOR,animation:!0}},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(s.getProgressData(t))},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Progress=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RingProgress=void 0;var r=n(1),i=n(44),o=n(260),a=n(634),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ring-process",e}return r.__extends(e,t),e.prototype.getDefaultOptions=function(){return{percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"},formatter:function(t){return(100*t.percent).toFixed(2)+"%"}}},animation:!0}},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.data(o.getProgressData(t)),a.statistic({chart:this.chart,options:this.options},!0)},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.RingProgress=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TinyColumn=void 0;var r=n(1),i=n(44),o=n(125),a=n(635),s=n(636),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-column",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(o.getTinyData(t))},e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:r.__assign({},s.DEFAULT_TOOLTIP_OPTIONS),animation:!0}},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.TinyColumn=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TinyArea=void 0;var r=n(1),i=n(44),o=n(157),a=n(125),s=n(637),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-area",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(a.getTinyData(t))},e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:r.__assign({},o.DEFAULT_TOOLTIP_OPTIONS),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:!0}},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(i.Plot);e.TinyArea=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TinyLine=void 0;var r=n(1),i=n(44),o=n(638),a=n(157),s=n(125),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="tiny-line",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(s.getTinyData(t))},e.prototype.getDefaultOptions=function(){return{appendPadding:2,tooltip:r.__assign({},a.DEFAULT_TOOLTIP_OPTIONS),animation:!0}},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.TinyLine=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Treemap=void 0;var r=n(1),i=n(44),o=n(641),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="treemap",e}return r.__extends(e,t),e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Treemap=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordCloud=void 0;var r=n(1),i=n(44),o=n(20),a=n(657),s=n(395);n(659);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(s.transform({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value","color"],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}})},e.prototype.render=function(){var e=this;return new Promise((function(n){var i=e.options.imageMask;if(!i)return t.prototype.render.call(e),void n();var o=function(i){e.options=r.__assign(r.__assign({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};s.processImageMask(i).then(o).catch(o)}))},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout((function(){t.prototype.triggerResize.call(e)})))},e}(i.Plot);e.WordCloud=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Funnel=e.FUNNEL_CONVERSATION_FIELD=void 0;var r=n(1),i=n(44),o=n(661),a=n(126);Object.defineProperty(e,"FUNNEL_CONVERSATION_FIELD",{enumerable:!0,get:function(){return a.FUNNEL_CONVERSATION}});var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="funnel",e}return r.__extends(e,t),e.prototype.getDefaultOptions=function(){return{appendPadding:[0,80]}},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Funnel=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Radar=void 0;var r=n(1),i=n(44),o=n(20),a=n(665);n(666);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Radar=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Liquid=void 0;var r=n(1),i=n(44),o=n(668),a=n(397);n(669);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="liquid",e}return r.__extends(e,t),e.prototype.getDefaultOptions=function(){return{color:"#6a99f9",radius:.9,statistic:{title:!1,content:{formatter:function(t){return(100*t.percent).toFixed(2)+"%"},style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192}}},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.data(a.getLiquidData(t)),o.statistic({chart:this.chart,options:this.options},!0)},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Liquid=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Histogram=void 0;var r=n(1),i=n(44),o=n(20),a=n(398),s=n(670),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="histogram",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.binField,r=e.binNumber,i=e.binWidth,o=e.stackField;this.chart.changeData(a.binHistogram(t,n,i,r,o))},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(i.Plot);e.Histogram=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Waterfall=void 0;var r=n(1),i=n(44),o=n(671),a=n(400),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="waterfall",e}return r.__extends(e,t),e.prototype.changeData=function(t){var e=this.options,n=e.xField,r=e.yField,i=e.total;this.updateOption({data:t}),this.chart.changeData(a.transformData(t,n,r,i))},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e.prototype.getDefaultOptions=function(){return{label:{},leaderLine:{style:{lineWidth:1,stroke:"#8c8c8c",lineDash:[4,2]}},total:{label:"\u603b\u8ba1",style:{fill:"rgba(0, 0, 0, 0.25)"}},interactions:[{type:"element-active"}],risingFill:"#f4664a",fallingFill:"#30bf78",waterfallStyle:{fill:"rgba(0, 0, 0, 0.25)"},yAxis:{grid:{line:{style:{lineDash:[4,2]}}}}}},e}(i.Plot);e.Waterfall=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Bullet=void 0;var r=n(1),i=n(44),o=n(20),a=n(676),s=n(401),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bullet",e}return r.__extends(e,t),e.prototype.changeData=function(t){this.updateOption({data:t});var e=s.transformData(this.options),n=e.min,r=e.max,i=e.ds;a.meta({options:this.options,ext:{data:{min:n,max:r}},chart:this.chart}),this.chart.changeData(i)},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return o.deepAssign({},t.prototype.getDefaultOptions.call(this),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}})},e}(i.Plot);e.Bullet=c},function(t,e,n){"use strict";var r=n(9);n.d(e,"G2",(function(){return r})),n(18),n(402),n(442),n(455),n(409),n(456),n(425),n(457),n(426),n(431),n(432),n(424),n(458),n(443),n(459),n(444),n(410),n(460),n(433),n(445),n(434),n(263),n(435),n(446),n(436),n(437),n(427),n(447),n(438),n(448),n(416),n(439),n(411),n(205),n(2),n(16);var i=n(3);n(412),i.f,i.d,i.k,i.b,i.c,i.j,i.a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Gauge=void 0;var r=n(1),i=n(44),o=n(677),a=n(181),s=n(413);n(678);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="gauge",e}return r.__extends(e,t),e.prototype.getDefaultOptions=function(){var t;return{percent:0,range:{ticks:[]},innerRadius:.9,radius:.95,startAngle:-7/6*Math.PI,endAngle:1/6*Math.PI,syncViewPadding:!0,axis:{line:null,label:{offset:-24,style:{textAlign:"center",textBaseline:"middle"}},subTickLine:{length:-8},tickLine:{length:-12},grid:null},indicator:{pointer:{style:{lineWidth:5,lineCap:"round"}},pin:{style:{r:9.75,lineWidth:4.5,fill:"#fff"}}},statistic:{title:!1},meta:(t={},t[a.RANGE_VALUE]={sync:"v"},t[a.PERCENT]={sync:"v",tickCount:5,tickInterval:.2},t),animation:!1}},e.prototype.changeData=function(t){this.updateOption({percent:t});var e=this.chart.views.find((function(t){return t.id===a.INDICATEOR_VIEW_ID}));e&&e.data(s.getIndicatorData(t));var n=this.chart.views.find((function(t){return t.id===a.RANGE_VIEW_ID}));n&&n.data(s.getRangeData(t,this.options.range)),o.statistic({chart:this.chart,options:this.options},!0)},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Gauge=c},function(t,e,n){"use strict";n.r(e),n.d(e,"fold",(function(){return s})),n.d(e,"percentage",(function(){return x})),n.d(e,"minifyNum",(function(){return w})),n.d(e,"splitBySeparator",(function(){return O})),n.d(e,"visibleHelper",(function(){return S.a})),n.d(e,"cloneDeep",(function(){return _.a})),n.d(e,"shallowEqual",(function(){return k.a}));var r=n(313),i=n.n(r),o=n(5),a=n.n(o),s=function(t,e,n,r){var o=[];return t.forEach((function(t){e.forEach((function(e){var s;o.push(a()(a()({},t),(s={},i()(s,n,e),i()(s,r,t[e]),s)))}))})),o},c=n(85),l=n.n(c),u=n(217),g=n(14),f=n.n(g),d=n(32),h=n.n(d),p=n(36),A=n.n(p),C=n(63),v=n.n(C),I=n(467),y=n.n(I);function m(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return A()(n)?e=n:h()(n)?e=function(t,e){for(var r=0;r<n.length;r++){var i=n[r];if(t[i]<e[i])return-1;if(t[i]>e[i])return 1}return 0}:v()(n)&&(e=function(t,e){return t[n]<e[n]?-1:t[n]>e[n]?1:0}),t.sort(e)}var b=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=t;r&&r.length&&(i=m(t,r)),A()(e)?n=e:h()(e)?n=function(t){return"_".concat(e.map((function(e){return t[e]})).join("-"))}:v()(e)&&(n=function(t){return"_".concat(t[e])});var o=y()(i,n);return o},x=function(t,e,n,r){var i=[],o=r?b(t,r):{_data:t};return l()(o,(function(t){var r=Object(u.a)(t.map((function(t){return t[e]})));f()(0!==r,"Invalid data: total sum of field ".concat(e," is 0!")),l()(t,(function(t){var o=a()({},t);o[n]=0===r?0:t[e]/r,i.push(o)}))})),i},w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=1e4,r=1e8;return t>=r?"".concat((t/r).toFixed(e).replace(/\.?0*$/,""),"\u4ebf"):t>=n?"".concat((t/n).toFixed(e).replace(/\.?0*$/,""),"\u4e07"):t.toFixed(e).replace(/\.?0*$/,"")},O=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";return"number"===typeof t?t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,e):t},S=n(169),_=n(89),k=n(90)},,,,,,,,function(t,e,n){t.exports=n(497)},function(t,e,n){"use strict";n.r(e),n.d(e,"Util",(function(){return H}));var r=n(5),i=n.n(r),o=n(0),a=n(440);n.d(e,"Annotation",(function(){return a}));var s=n(270);n.d(e,"G2",(function(){return s}));var c=n(417);n.d(e,"GComponents",(function(){return c}));var l=n(488),u=n(449);n.d(e,"Chart",(function(){return u.a}));var g=n(450);n.d(e,"View",(function(){return g.a}));var f=n(441);n.d(e,"Tooltip",(function(){return f.a}));var d=n(451);n.d(e,"Legend",(function(){return d.a}));var h=n(197);n.d(e,"Coordinate",(function(){return h.a}));var p=n(452);n.d(e,"Axis",(function(){return p.a}));var A=n(372);n.d(e,"Facet",(function(){return A.a}));var C=n(373);n.d(e,"Slider",(function(){return C.a}));var v=n(134);n.d(e,"Area",(function(){return v.a}));var I=n(198);n.d(e,"Edge",(function(){return I.a}));var y=n(199);n.d(e,"Heatmap",(function(){return y.a}));var m=n(200);n.d(e,"Interval",(function(){return m.a}));var b=n(135);n.d(e,"Line",(function(){return b.a}));var x=n(136);n.d(e,"Point",(function(){return x.a}));var w=n(201);n.d(e,"Polygon",(function(){return w.a}));var O=n(375);n.d(e,"Schema",(function(){return O.a}));var S=n(50);n.d(e,"BaseGeom",(function(){return S.a}));var _=n(258);n.d(e,"Label",(function(){return _.a}));var k=n(376);n.d(e,"Path",(function(){return k.a}));var j=n(202);n.d(e,"LineAdvance",(function(){return j.a}));var E=n(377);n.d(e,"Geom",(function(){return E.a}));var P=n(378);n.d(e,"Coord",(function(){return P.a}));var M=n(379);n.d(e,"Guide",(function(){return M.a}));var T=n(380);n.d(e,"Effects",(function(){return T.a}));var R=n(381);n.d(e,"Interaction",(function(){return R.a}));var D=n(10);n.d(e,"createPlot",(function(){return D.a}));var N=n(170);n.d(e,"createTooltipConnector",(function(){return N.a}));var L=n(54);n.d(e,"useView",(function(){return L.a}));var F=n(127);n.d(e,"useRootChart",(function(){return F.a})),n.d(e,"useChartInstance",(function(){return F.a}));var B=n(382);n.d(e,"useTheme",(function(){return B.a}));var z=n(61);n.d(e,"withView",(function(){return z.b}));var V=n(84);n.d(e,"withChartInstance",(function(){return V.b}));var G=n(7);for(var W in G)["default","Util","Annotation","G2","GComponents","Chart","View","Tooltip","Legend","Coordinate","Axis","Facet","Slider","Area","Edge","Heatmap","Interval","Line","Point","Polygon","Schema","BaseGeom","Label","Path","LineAdvance","Geom","Coord","Guide","Effects","Interaction","createPlot","createTooltipConnector","useView","useRootChart","useChartInstance","useTheme","withView","withChartInstance"].indexOf(W)<0&&function(t){n.d(e,t,(function(){return G[t]}))}(W);var Y=n(414);n.d(e,"ProgressChart",(function(){return Y.w})),n.d(e,"RingProgressChart",(function(){return Y.A})),n.d(e,"TinyColumnChart",(function(){return Y.J})),n.d(e,"TinyAreaChart",(function(){return Y.I})),n.d(e,"TinyLineChart",(function(){return Y.K})),n.d(e,"LineChart",(function(){return Y.p})),n.d(e,"TreemapChart",(function(){return Y.L})),n.d(e,"StepLineChart",(function(){return Y.H})),n.d(e,"BarChart",(function(){return Y.b})),n.d(e,"StackedBarChart",(function(){return Y.E})),n.d(e,"GroupedBarChart",(function(){return Y.k})),n.d(e,"PercentStackedBarChart",(function(){return Y.s})),n.d(e,"RangeBarChart",(function(){return Y.y})),n.d(e,"AreaChart",(function(){return Y.a})),n.d(e,"StackedAreaChart",(function(){return Y.D})),n.d(e,"PercentStackedAreaChart",(function(){return Y.r})),n.d(e,"ColumnChart",(function(){return Y.f})),n.d(e,"GroupedColumnChart",(function(){return Y.l})),n.d(e,"StackedColumnChart",(function(){return Y.F})),n.d(e,"RangeColumnChart",(function(){return Y.z})),n.d(e,"PercentStackedColumnChart",(function(){return Y.t})),n.d(e,"PieChart",(function(){return Y.u})),n.d(e,"DensityHeatmapChart",(function(){return Y.g})),n.d(e,"HeatmapChart",(function(){return Y.n})),n.d(e,"WordCloudChart",(function(){return Y.N})),n.d(e,"RoseChart",(function(){return Y.B})),n.d(e,"FunnelChart",(function(){return Y.i})),n.d(e,"StackedRoseChart",(function(){return Y.G})),n.d(e,"GroupedRoseChart",(function(){return Y.m})),n.d(e,"RadarChart",(function(){return Y.x})),n.d(e,"LiquidChart",(function(){return Y.q})),n.d(e,"HistogramChart",(function(){return Y.o})),n.d(e,"DonutChart",(function(){return Y.h})),n.d(e,"WaterfallChart",(function(){return Y.M})),n.d(e,"ScatterChart",(function(){return Y.C})),n.d(e,"BubbleChart",(function(){return Y.c})),n.d(e,"BulletChart",(function(){return Y.d})),n.d(e,"CalendarChart",(function(){return Y.e})),n.d(e,"GaugeChart",(function(){return Y.j})),n.d(e,"PlotAdapter",(function(){return Y.v}));var H=i()(i()(i()({},o),l),s.Util)},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i;if(!Object.keys){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,s=n(317),c=Object.prototype.propertyIsEnumerable,l=!c.call({toString:null},"toString"),u=c.call((function(){}),"prototype"),g=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var e=t.constructor;return e&&e.prototype===t},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"===typeof window)return!1;for(var t in window)try{if(!d["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"===r(window[t]))try{f(window[t])}catch(e){return!0}}catch(e){return!0}return!1}();i=function(t){var e=null!==t&&"object"===r(t),n="[object Function]"===a.call(t),i=s(t),c=e&&"[object String]"===a.call(t),d=[];if(!e&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var p=u&&n;if(c&&t.length>0&&!o.call(t,0))for(var A=0;A<t.length;++A)d.push(String(A));if(i&&t.length>0)for(var C=0;C<t.length;++C)d.push(String(C));else for(var v in t)p&&"prototype"===v||!o.call(t,v)||d.push(String(v));if(l)for(var I=function(t){if("undefined"===typeof window||!h)return f(t);try{return f(t)}catch(e){return!1}}(t),y=0;y<g.length;++y)I&&"constructor"===g[y]||!o.call(t,g[y])||d.push(g[y]);return d}}t.exports=i},function(t,e,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(t){var e=this;if("function"!==typeof e||o.call(e)!==a)throw new TypeError(r+e);for(var n,s=i.call(arguments,1),c=function(){if(this instanceof n){var r=e.apply(this,s.concat(i.call(arguments)));return Object(r)===r?r:this}return e.apply(t,s.concat(i.call(arguments)))},l=Math.max(0,e.length-s.length),u=[],g=0;g<l;g++)u.push("$"+g);if(n=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(c),e.prototype){var f=function(){};f.prototype=e.prototype,n.prototype=new f,f.prototype=null}return n}},function(t,e,n){"use strict";(function(e){function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=e.Symbol,o=n(321);t.exports=function(){return"function"===typeof i&&"function"===typeof Symbol&&"symbol"===r(i("foo"))&&"symbol"===r(Symbol("bar"))&&o()}}).call(this,n(320))},function(t,e,n){"use strict";var r=n(229);t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(t,e,n){"use strict";var r=n(319),i=n(318),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"===typeof n&&o(t,".prototype.")>-1?i(n):n}},function(t,e,n){"use strict";var r=n(315),i=n(323);t.exports=function(){var t=i();return r(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}},function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,r)}t.exports=n},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,l=[],u=!1,g=-1;function f(){u&&c&&(u=!1,c.length?l=c.concat(l):g=-1,l.length&&d())}function d(){if(!u){var t=s(f);u=!0;for(var e=l.length;e;){for(c=l,l=[];++g<e;)c&&c[g].run();g=-1,e=l.length}c=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function p(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new h(t,e)),1!==l.length||u||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNormalizedValue=void 0;var r=n(508);e.getNormalizedValue=function(t,e){var n;switch(t){case"start":return 0;case"end":return 1;case"median":n=e.isCategory?r.getMedian(e.values.map((function(t,e){return e}))):r.getMedian(e.values);break;case"mean":n=e.isCategory?(e.values.length-1)/2:r.getMean(e.values);break;case"min":n=e.isCategory?0:e[t];break;case"max":n=e.isCategory?e.values.length-1:e[t];break;default:n=t}return e.scale(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMean=e.getMedian=void 0;var r=n(1),i=n(0);e.getMedian=function(t){var e=r.__spreadArrays(t);e.sort((function(t,e){return t-e}));var n=e.length;return 0===n?0:n%2===1?e[(n-1)/2]:(e[n/2]+e[n/2-1])/2},e.getMean=function(t){var e=i.reduce(t,(function(t,e){return t+(isNaN(e)||!i.isNumber(e)?0:e)}),0);return 0===t.length?0:e/t.length}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(82),o=n(66),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),s=a.x,c=a.y,l=a.r,u=i/2,g=o.distance(s,c,t,e);return r&&n?g<=l+u:r?g<=l:!!n&&g>=l-u&&g<=l+u},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(i.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);function i(t,e,n,r){return t/(n*n)+e/(r*r)}var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,o){var a=this.attr(),s=o/2,c=a.x,l=a.y,u=a.rx,g=a.ry,f=(t-c)*(t-c),d=(e-l)*(e-l);return r&&n?i(f,d,u+s,g+s)<=1:r?i(f,d,u,g)<=1:!!n&&i(f,d,u-s,g-s)>=1&&i(f,d,u+s,g+s)<=1},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,o=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,o,0,0,2*Math.PI,!1);else{var a=i>o?i:o,s=i>o?1:i/o,c=i>o?o/i:1;t.save(),t.translate(n,r),t.scale(s,c),t.arc(0,0,a,0,2*Math.PI),t.restore(),t.closePath()}},e}(n(82).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(82),o=n(66);function a(t){return t instanceof HTMLElement&&o.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if(o.isString(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):a(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading"))return this.set("toDraw",!0),void this.set("context",t);var e=this.attr(),n=e.x,r=e.y,i=e.width,s=e.height,c=e.sx,l=e.sy,u=e.swidth,g=e.sheight,f=e.img;(f instanceof Image||a(f))&&(o.isNil(c)||o.isNil(l)||o.isNil(u)||o.isNil(g)?t.drawImage(f,n,r,i,s):t.drawImage(f,c,l,u,g,n,r,i,s))},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),o=n(82),a=n(178),s=n(177),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,o=t.startArrow,a=t.endArrow;o&&s.addStartArrow(this,t,r,i,e,n),a&&s.addEndArrow(this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var o=this.attr(),s=o.x1,c=o.y1,l=o.x2,u=o.y2;return a.default(s,c,l,u,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=e.startArrow,c=e.endArrow,l={dx:0,dy:0},u={dx:0,dy:0};a&&a.d&&(l=s.getShortenOffset(n,r,i,o,e.startArrow.d)),c&&c.d&&(u=s.getShortenOffset(n,r,i,o,e.endArrow.d)),t.beginPath(),t.moveTo(n+l.dx,r+l.dy),t.lineTo(i-u.dx,o-u.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,o=t.y2;return i.Line.length(e,n,r,o)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,o=e.x2,a=e.y2;return i.Line.pointAt(n,r,o,a,t)},e}(o.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(72),a=n(82),s=n(66),c=n(151),l={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return i.isNil(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,a=r.y,c=r.symbol||"circle",l=this._getR(r);if(s.isFunction(c))n=(t=c)(i,a,l),n=o.path2Absolute(n);else{if(!(t=e.Symbols[c]))return console.warn(c+" marker is not supported."),null;n=t(i,a,l)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");c.drawPath(this,t,{path:e},n)},e.Symbols=l,e}(a.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),o=n(0),a=n(82),s=n(72),c=n(151),l=n(334),u=n(335),g=n(515),f=n(177);function d(t,e,n){for(var r=!1,i=0;i<t.length;i++){var o=t[i];if(r=u.default(o,e,n))break}return r}var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this._setPathArr(t.path),this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"path"===e&&this._setPathArr(n),this.setArrow()},e.prototype._setPathArr=function(t){this.attrs.path=s.path2Absolute(t);var e=g.default.hasArc(t);this.set("hasArc",e),this.set("paramsCache",{}),this.set("segments",null),this.set("curve",null),this.set("tCache",null),this.set("totalLength",null)},e.prototype.getSegments=function(){var t=this.get("segements");return t||(t=s.path2Segments(this.attr("path")),this.set("segments",t)),t},e.prototype.setArrow=function(){var t=this.attr(),e=t.startArrow,n=t.endArrow;if(e){var r=this.getStartTangent();f.addStartArrow(this,t,r[0][0],r[0][1],r[1][0],r[1][1])}n&&(r=this.getEndTangent(),f.addEndArrow(this,t,r[0][0],r[0][1],r[1][0],r[1][1]))},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.getSegments(),a=this.get("hasArc"),s=!1;if(n){var c=this.getTotalLength();s=g.default.isPointInStroke(o,i,t,e,c)}if(!s&&r)if(a)s=l.default(this,t,e);else{var u=this.attr("path"),f=g.default.extractPolygons(u);s=d(f.polygons,t,e)||d(f.polylines,t,e)}return s},e.prototype.createPath=function(t){var e=this.attr(),n=this.get("paramsCache");c.drawPath(this,t,e,n)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.get("totalLength");return o.isNil(t)?(this._calculateCurve(),this._setTcache(),this.get("totalLength")):t},e.prototype.getPoint=function(t){var e,n,r=this.get("tCache");r||(this._calculateCurve(),this._setTcache(),r=this.get("tCache"));var a=this.get("curve");if(!r||0===r.length)return a?{x:a[0][1],y:a[0][2]}:null;o.each(r,(function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}));var s=a[n];if(o.isNil(s)||o.isNil(n))return null;var c=s.length,l=a[n+1];return i.Cubic.pointAt(s[c-2],s[c-1],l[1],l[2],l[3],l[4],l[5],l[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",g.default.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r,a=0,s=0,c=[],l=this.get("curve");l&&(o.each(l,(function(t,e){n=l[e+1],r=t.length,n&&(a+=i.Cubic.length(t[r-2],t[r-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)})),this.set("totalLength",a),0!==a?(o.each(l,(function(o,u){n=l[u+1],r=o.length,n&&((t=[])[0]=s/a,e=i.Cubic.length(o[r-2],o[r-1],n[1],n[2],n[3],n[4],n[5],n[6]),s+=e||0,t[1]=s/a,c.push(t))})),this.set("tCache",c)):this.set("tCache",[]))},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,o=e[n-1].endTangent;t=[],o?(t.push([i[0]-o[0],i[1]-o[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(a.default);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(24),o=n(26),a=n(26),s=n(15),c=n(160),l=n(66),u=n(178),g=n(336),f=s.ext.transform;e.default=r.__assign({hasArc:function(t){for(var e=!1,n=t.length,r=0;r<n;r++){var i=t[r][0];if("C"===i||"A"===i||"Q"===i){e=!0;break}}return e},extractPolygons:function(t){for(var e=t.length,n=[],r=[],i=[],o=0;o<e;o++){var a=t[o],s=a[0];"M"===s?(i.length&&(r.push(i),i=[]),i.push([a[1],a[2]])):"Z"===s?i.length&&(n.push(i),i=[]):i.push([a[1],a[2]])}return i.length>0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(t,e,n,r,i){for(var s=!1,d=e/2,h=0;h<t.length;h++){var p=t[h],A=p.currentPoint,C=p.params,v=p.prePoint,I=p.box;if(!I||l.inBox(I.x-d,I.y-d,I.width+e,I.height+e,n,r)){switch(p.command){case"L":case"Z":s=u.default(v[0],v[1],A[0],A[1],e,n,r);break;case"Q":s=o.Quad.pointDistance(v[0],v[1],C[1],C[2],C[3],C[4],n,r)<=e/2;break;case"C":s=a.Cubic.pointDistance(v[0],v[1],C[1],C[2],C[3],C[4],C[5],C[6],n,r,i)<=e/2;break;case"A":var y=p.arcParams,m=y.cx,b=y.cy,x=y.rx,w=y.ry,O=y.startAngle,S=y.endAngle,_=y.xRotation,k=[n,r,1],j=x>w?x:w,E=f(null,[["t",-m,-b],["r",-_],["s",1/(x>w?1:x/w),1/(x>w?w/x:1)]]);c.transformMat3(k,k,E),s=g.default(0,0,j,O,S,e,k[0],k[1])}if(s)break}}return s}},i.PathUtil)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(82),o=n(337),a=n(335),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var s=this.attr().points,c=!1;return n&&(c=o.default(s,i,t,e,!0)),!c&&r&&(c=a.default(s,t,e)),c},e.prototype.createPath=function(t){var e=this.attr().points;if(!(e.length<2)){t.beginPath();for(var n=0;n<e.length;n++){var r=e[n];0===n?t.moveTo(r[0],r[1]):t.lineTo(r[0],r[1])}t.closePath()}},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),o=n(26),a=n(0),s=n(82),c=n(337),l=n(177),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow(),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.setArrow=function(){var t=this.attr(),e=this.attrs,n=e.points,r=e.startArrow,i=e.endArrow,o=n.length,a=n[0][0],s=n[0][1],c=n[o-1][0],u=n[o-1][1];r&&l.addStartArrow(this,t,n[1][0],n[1][1],a,s),i&&l.addEndArrow(this,t,n[o-2][0],n[o-2][1],c,u)},e.prototype.isFill=function(){return!1},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var o=this.attr().points;return c.default(o,i,t,e,!1)},e.prototype.isStroke=function(){return!0},e.prototype.createPath=function(t){var e=this.attr(),n=e.points,r=e.startArrow,i=e.endArrow,o=n.length;if(!(n.length<2)){var a,s=n[0][0],c=n[0][1],u=n[o-1][0],g=n[o-1][1];r&&r.d&&(s+=(a=l.getShortenOffset(s,c,n[1][0],n[1][1],r.d)).dx,c+=a.dy),i&&i.d&&(u-=(a=l.getShortenOffset(n[o-2][0],n[o-2][1],u,g,i.d)).dx,g-=a.dy),t.beginPath(),t.moveTo(s,c);for(var f=0;f<o-1;f++){var d=n[f];t.lineTo(d[0],d[1])}t.lineTo(u,g)}},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return a.isNil(e)?(this.set("totalLength",o.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,o=this.get("tCache");return o||(this._setTcache(),o=this.get("tCache")),a.each(o,(function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)})),i.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,o=0,s=[];a.each(t,(function(a,c){t[c+1]&&((n=[])[0]=o/e,r=i.Line.length(a[0],a[1],t[c+1][0],t[c+1][1]),o+=r,n[1]=o/e,s.push(n))})),this.set("tCache",s)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(s.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(82),o=n(332),a=n(66),s=n(519),c=n(520),l=n(334),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),u=o.x,g=o.y,f=o.width,d=o.height,h=o.radius;if(h){var p=!1;return n&&(p=c.default(u,g,f,d,h,i,t,e)),!p&&r&&(p=l.default(this,t,e)),p}var A=i/2;return r&&n?a.inBox(u-A,g-A,f+A,d+A,t,e):r?a.inBox(u,g,f,d,t,e):n?s.default(u,g,f,d,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,a=e.height,s=e.radius;if(t.beginPath(),0===s)t.rect(n,r,i,a);else{var c=o.parseRadius(s),l=c[0],u=c[1],g=c[2],f=c[3];t.moveTo(n+l,r),t.lineTo(n+i-u,r),0!==u&&t.arc(n+i-u,r+u,u,-Math.PI/2,0),t.lineTo(n+i,r+a-g),0!==g&&t.arc(n+i-g,r+a-g,g,0,Math.PI/2),t.lineTo(n+f,r+a),0!==f&&t.arc(n+f,r+a-f,f,Math.PI/2,Math.PI),t.lineTo(n,r+l),0!==l&&t.arc(n+l,r+l,l,Math.PI,1.5*Math.PI),t.closePath()}},e}(i.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(66);e.default=function(t,e,n,i,o,a,s){var c=o/2;return r.inBox(t-c,e-c,n,o,a,s)||r.inBox(t+n-c,e-c,o,i,a,s)||r.inBox(t+c,e+i-c,n,o,a,s)||r.inBox(t-c,e+c,o,i,a,s)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(178),i=n(336);e.default=function(t,e,n,o,a,s,c,l){return r.default(t+a,e,t+n-a,e,s,c,l)||r.default(t+n,e+a,t+n,e+o-a,s,c,l)||r.default(t+n-a,e+o,t+a,e+o,s,c,l)||r.default(t,e+o-a,t,e+a,s,c,l)||i.default(t+n-a,e+a,a,1.5*Math.PI,2*Math.PI,s,c,l)||i.default(t+n-a,e+o-a,a,0,.5*Math.PI,s,c,l)||i.default(t+a,e+o-a,a,.5*Math.PI,Math.PI,s,c,l)||i.default(t+a,e+a,a,Math.PI,1.5*Math.PI,s,c,l)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(82),o=n(66),a=n(24),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=a.assembleFont(t)},e.prototype._setText=function(t){var e=null;o.isString(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,s=i.textBaseline,c=i.x,l=i.y,u=1*i.fontSize,g=this._getSpaceingY(),f=a.getTextHeight(i.text,i.fontSize,i.lineHeight);o.each(e,(function(e,i){r=l+i*(g+u)-f+u,"middle"===s&&(r+=f-u-(f-u)/2),"top"===s&&(r+=f-u),n?t.fillText(e,c,r):t.strokeText(e,c,r)}))},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var a=n.text;e?t.fillText(a,r,i):t.strokeText(a,r,i)}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,a=e.fillOpacity;this.isStroke()&&n>0&&(o.isNil(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&(o.isNil(a)||1===a?this.fill(t):(t.globalAlpha=a,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(24),o=n(523),a=n(150),s=n(230),c=n(66),l=n(151),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){"attr"!==t&&"sort"!==t&&"changeSize"!==t||(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return a},e.prototype.getGroupBase=function(){return s.default},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||c.getPixelRatio();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),o=this.getPixelRatio();i.width=o*e,i.height=o*n,o>1&&r.scale(o,o)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?o.getShape(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();return e.length&&e[0]===this?t=n:(t=l.getMergedRegion(e))&&(t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1,this.get("clipView")&&(t=l.mergeView(t,n))),t},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(c.clearAnimationFrame(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),l.applyAttrsToContext(t,this),l.drawChildren(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),l.applyAttrsToContext(t,this),l.checkRefresh(this,n,r),l.drawChildren(t,n,r),t.restore()):e.length&&l.clearChanged(e),c.each(e,(function(t){t.get("hasChanged")&&t.set("hasChanged",!1)})),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=c.requestAnimationFrame((function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)})),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e}(i.AbstractCanvas);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShape=void 0;var r=n(24);function i(t,e,n){var i=t.getTotalMatrix();if(i){var o=function(t,e){if(e){var n=r.invert(e);return r.multiplyVec2(n,t)}return t}([e,n,1],i);return[o[0],o[1]]}return[e,n]}function o(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!r.isAllowCapture(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var o=i(t,e,n),a=o[0],s=o[1];if(t.isClipped(a,s))return!1}var c=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=c.minX&&e<=c.maxX&&n>=c.minY&&n<=c.maxY}e.getShape=function t(e,n,r){if(!o(e,n,r))return null;for(var a=null,s=e.getChildren(),c=s.length-1;c>=0;c--){var l=s[c];if(l.isGroup())a=t(l,n,r);else if(o(l,n,r)){var u=l,g=i(l,n,r),f=g[0],d=g[1];u.isInShape(f,d)&&(a=l)}if(a)break}return a}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(67),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,(function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)}))},e}(n(75).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(67),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return r.__extends(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if(i.each(e||n,(function(t,e){o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})),"function"===typeof n.html){var a=n.html.call(this,n);if(a instanceof Element||a instanceof HTMLDocument){for(var s=r.childNodes,c=s.length-1;c>=0;c--)r.removeChild(s[c]);r.appendChild(a)}else r.innerHTML=a}else r.innerHTML=n.html},e}(n(75).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(67),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,(function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)}))},e}(n(75).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(67),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),a=this.get("el");i.each(e||r,(function(t,e){"img"===e?n._setImage(r.img):o.SVG_ATTR_MAP[e]&&a.setAttribute(o.SVG_ATTR_MAP[e],t)}))},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if(i.isString(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&i.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(n(75).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),o=n(0),a=n(67),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");o.each(e||n,(function(e,i){if("startArrow"===i||"endArrow"===i)if(e){var s=o.isObject(e)?t.addArrow(n,a.SVG_ATTR_MAP[i]):t.getDefaultArrow(n,a.SVG_ATTR_MAP[i]);r.setAttribute(a.SVG_ATTR_MAP[i],"url(#"+s+")")}else r.removeAttribute(a.SVG_ATTR_MAP[i]);else a.SVG_ATTR_MAP[i]&&r.setAttribute(a.SVG_ATTR_MAP[i],e)}))},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,o=t.y2;return i.Line.length(e,n,r,o)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,o=e.x2,a=e.y2;return i.Line.pointAt(n,r,o,a,t)},e}(n(75).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(75),a=n(530),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return i.isArray(t)?t.map((function(t){return t.join(" ")})).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,o=e.r||e.radius,s=e.symbol||"circle";return(t=i.isFunction(s)?s:a.default.get(s))?t(n,r,o):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=a.default,e}(o.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}};e.default={get:function(t){return r[t]},register:function(t,e){r[t]=e},remove:function(t){delete r[t]},getAll:function(){return r}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(67),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),a=this.get("el");i.each(e||r,(function(e,s){if("path"===s&&i.isArray(e))a.setAttribute("d",n._formatPath(e));else if("startArrow"===s||"endArrow"===s)if(e){var c=i.isObject(e)?t.addArrow(r,o.SVG_ATTR_MAP[s]):t.getDefaultArrow(r,o.SVG_ATTR_MAP[s]);a.setAttribute(o.SVG_ATTR_MAP[s],"url(#"+c+")")}else a.removeAttribute(o.SVG_ATTR_MAP[s]);else o.SVG_ATTR_MAP[s]&&a.setAttribute(o.SVG_ATTR_MAP[s],e)}))},e.prototype._formatPath=function(t){var e=t.map((function(t){return t.join(" ")})).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(n(75).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(67),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,(function(t,e){"points"===e&&i.isArray(t)&&t.length>=2?r.setAttribute("points",t.map((function(t){return t[0]+","+t[1]})).join(" ")):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)}))},e}(n(75).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),o=n(26),a=n(0),s=n(67),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");a.each(e||n,(function(t,e){"points"===e&&a.isArray(t)&&t.length>=2?r.setAttribute("points",t.map((function(t){return t[0]+","+t[1]})).join(" ")):s.SVG_ATTR_MAP[e]&&r.setAttribute(s.SVG_ATTR_MAP[e],t)}))},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return a.isNil(e)?(this.set("totalLength",i.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),a.each(i,(function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)})),o.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,s=[];a.each(t,(function(a,c){t[c+1]&&((n=[])[0]=i/e,r=o.Line.length(a[0],a[1],t[c+1][0],t[c+1][1]),i+=r,n[1]=i/e,s.push(n))})),this.set("tCache",s)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(n(75).default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(75),a=n(67),s=n(535),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),o=this.get("el"),s=!1,c=["x","y","width","height","radius"];i.each(e||r,(function(t,e){-1===c.indexOf(e)||s?-1===c.indexOf(e)&&a.SVG_ATTR_MAP[e]&&o.setAttribute(a.SVG_ATTR_MAP[e],t):(o.setAttribute("d",n._assembleRect(r)),s=!0)}))},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,o=t.height,a=t.radius;if(!a)return"M "+e+","+n+" l "+r+",0 l 0,"+o+" l"+-r+" 0 z";var c=s.parseRadius(a);return i.isArray(a)?1===a.length?c.r1=c.r2=c.r3=c.r4=a[0]:2===a.length?(c.r1=c.r3=a[0],c.r2=c.r4=a[1]):3===a.length?(c.r1=a[0],c.r2=c.r4=a[1],c.r3=a[2]):(c.r1=a[0],c.r2=a[1],c.r3=a[2],c.r4=a[3]):c.r1=c.r2=c.r3=c.r4=a,[["M "+(e+c.r1)+","+n],["l "+(r-c.r1-c.r2)+",0"],["a "+c.r2+","+c.r2+",0,0,1,"+c.r2+","+c.r2],["l 0,"+(o-c.r2-c.r3)],["a "+c.r3+","+c.r3+",0,0,1,"+-c.r3+","+c.r3],["l "+(c.r3+c.r4-r)+",0"],["a "+c.r4+","+c.r4+",0,0,1,"+-c.r4+","+-c.r4],["l 0,"+(c.r4+c.r1-o)],["a "+c.r1+","+c.r1+",0,0,1,"+c.r1+","+-c.r1],["z"]].join(" ")},e}(o.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePath=e.parseRadius=void 0;var r=n(0),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,o=/[^\s,]+/gi;e.parseRadius=function(t){var e=0,n=0,i=0,o=0;return r.isArray(t)?1===t.length?e=n=i=o=t[0]:2===t.length?(e=i=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],o=t[3]):e=n=i=o=t,{r1:e,r2:n,r3:i,r4:o}},e.parsePath=function(t){return t=t||[],r.isArray(t)?t:r.isString(t)?(t=t.match(i),r.each(t,(function(e,n){if((e=e.match(o))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}r.each(e,(function(t,n){isNaN(t)||(e[n]=+t)})),t[n]=e})),t):void 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(163),a=n(152),s=n(67),c=n(75),l={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},u={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},g={left:"left",start:"left",center:"middle",right:"end",end:"end"},f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),o=this.get("el");this._setFont(),i.each(e||r,(function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?a.setTransform(n):s.SVG_ATTR_MAP[e]&&o.setAttribute(s.SVG_ATTR_MAP[e],t)})),o.setAttribute("paint-order","stroke"),o.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=o.detect();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",u[n]||"alphabetic"):t.setAttribute("alignment-baseline",l[n]||"baseline"),t.setAttribute("text-anchor",g[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,o=n.textBaseline,a=void 0===o?"bottom":o;if(t)if(~t.indexOf("\n")){var s=t.split("\n"),c=s.length-1,l="";i.each(s,(function(t,e){0===e?"alphabetic"===a?l+='<tspan x="'+r+'" dy="'+-c+'em">'+t+"</tspan>":"top"===a?l+='<tspan x="'+r+'" dy="0.9em">'+t+"</tspan>":"middle"===a?l+='<tspan x="'+r+'" dy="'+-(c-1)/2+'em">'+t+"</tspan>":"bottom"===a?l+='<tspan x="'+r+'" dy="-'+(c+.3)+'em">'+t+"</tspan>":"hanging"===a&&(l+='<tspan x="'+r+'" dy="'+(-(c-1)-.3)+'em">'+t+"</tspan>"):l+='<tspan x="'+r+'" dy="1em">'+t+"</tspan>"})),e.innerHTML=l}else e.innerHTML=t;else e.innerHTML=""},e}(c.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(24),o=n(67),a=n(231),s=n(152),c=n(83),l=n(179),u=n(232),g=n(538),f=function(t){function e(e){return t.call(this,r.__assign(r.__assign({},e),{autoDraw:!0,renderer:"svg"}))||this}return r.__extends(e,t),e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u.default},e.prototype.getShape=function(t,e,n){var r=n.target||n.srcElement;if(!o.SHAPE_TO_TAGS[r.tagName]){for(var i=r.parentNode;i&&!o.SHAPE_TO_TAGS[i.tagName];)i=i.parentNode;r=i}return this.find((function(t){return t.get("el")===r}))},e.prototype.createDom=function(){var t=c.createSVGElement("svg"),e=new g.default(t);return t.setAttribute("width",""+this.get("width")),t.setAttribute("height",""+this.get("height")),this.set("context",e),t},e.prototype.onCanvasChange=function(t){var e=this.get("context"),n=this.get("el");if("sort"===t){var r=this.get("children");r&&r.length&&c.sortDom(this,(function(t,e){return r.indexOf(t)-r.indexOf(e)?1:0}))}else if("clear"===t){if(n){n.innerHTML="";var i=e.el;i.innerHTML="",n.appendChild(i)}}else"matrix"===t?s.setTransform(this):"clip"===t?s.setClip(this,e):"changeSize"===t&&(n.setAttribute("width",""+this.get("width")),n.setAttribute("height",""+this.get("height")))},e.prototype.draw=function(){var t=this.get("context"),e=this.getChildren();s.setClip(this,t),e.length&&a.drawChildren(t,e)},e}(i.AbstractCanvas);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(539),o=n(540),a=n(541),s=n(542),c=n(543),l=n(83),u=function(){function t(t){var e=l.createSVGElement("defs"),n=r.uniqueId("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i<n.length;i++)if(n[i].match(t,e)){r=n[i].id;break}return r},t.prototype.findById=function(t){for(var e=this.children,n=null,r=0;r<e.length;r++)if(e[r].id===t){n=e[r];break}return n},t.prototype.add=function(t){this.children.push(t),t.canvas=this.canvas,t.parent=this},t.prototype.getDefaultArrow=function(t,e){var n=t.stroke||t.strokeStyle;if(this.defaultArrow[n])return this.defaultArrow[n].id;var r=new a.default(t,e);return this.defaultArrow[n]=r,this.el.appendChild(r.el),this.add(r),r.id},t.prototype.addGradient=function(t){var e=new i.default(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addArrow=function(t,e){var n=new a.default(t,e);return this.el.appendChild(n.el),this.add(n),n.id},t.prototype.addShadow=function(t){var e=new o.default(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addPattern=function(t){var e=new c.default(t);return this.el.appendChild(e.el),this.add(e),e.id},t.prototype.addClip=function(t){var e=new s.default(t);return this.el.appendChild(e.el),this.add(e),e.id},t}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(83),o=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,a=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function c(t){var e=t.match(s);if(!e)return"";var n="";return e.sort((function(t,e){return t=t.split(":"),e=e.split(":"),Number(t[0])-Number(e[0])})),r.each(e,(function(t){t=t.split(":"),n+='<stop offset="'+t[0]+'" stop-color="'+t[1]+'"></stop>'})),n}var l=function(){function t(t){this.cfg={};var e=null,n=r.uniqueId("gradient_");return"l"===t.toLowerCase()[0]?function(t,e){var n,i,a=o.exec(t),s=r.mod(r.toRadian(parseFloat(a[1])),2*Math.PI),l=a[2];s>=0&&s<.5*Math.PI?(n={x:0,y:0},i={x:1,y:1}):.5*Math.PI<=s&&s<Math.PI?(n={x:1,y:0},i={x:0,y:1}):Math.PI<=s&&s<1.5*Math.PI?(n={x:1,y:1},i={x:0,y:0}):(n={x:0,y:1},i={x:1,y:0});var u=Math.tan(s),g=u*u,f=(i.x-n.x+u*(i.y-n.y))/(g+1)+n.x,d=u*(i.x-n.x+u*(i.y-n.y))/(g+1)+n.y;e.setAttribute("x1",n.x),e.setAttribute("y1",n.y),e.setAttribute("x2",f),e.setAttribute("y2",d),e.innerHTML=c(l)}(t,e=i.createSVGElement("linearGradient")):function(t,e){var n=a.exec(t),r=parseFloat(n[1]),i=parseFloat(n[2]),o=parseFloat(n[3]),s=n[4];e.setAttribute("cx",r),e.setAttribute("cy",i),e.setAttribute("r",o),e.innerHTML=c(s)}(t,e=i.createSVGElement("radialGradient")),e.setAttribute("id",n),this.el=e,this.id=n,this.cfg=t,this}return t.prototype.match=function(t,e){return this.cfg===e},t}();e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(83),o={shadowColor:"color",shadowOpacity:"opacity",shadowBlur:"blur",shadowOffsetX:"dx",shadowOffsetY:"dy"},a={x:"-40%",y:"-40%",width:"200%",height:"200%"},s=function(){function t(t){this.type="filter",this.cfg={},this.type="filter";var e=i.createSVGElement("filter");return r.each(a,(function(t,n){e.setAttribute(n,t)})),this.el=e,this.id=r.uniqueId("filter_"),this.el.id=this.id,this.cfg=t,this._parseShadow(t,e),this}return t.prototype.match=function(t,e){if(this.type!==t)return!1;var n=!0,i=this.cfg;return r.each(Object.keys(i),(function(t){if(i[t]!==e[t])return n=!1,!1})),n},t.prototype.update=function(t,e){var n=this.cfg;return n[o[t]]=e,this._parseShadow(n,this.el),this},t.prototype._parseShadow=function(t,e){var n='<feDropShadow\n dx="'+(t.dx||0)+'"\n dy="'+(t.dy||0)+'"\n stdDeviation="'+(t.blur?t.blur/10:0)+'"\n flood-color="'+(t.color?t.color:"#000")+'"\n flood-opacity="'+(t.opacity?t.opacity:1)+'"\n />';e.innerHTML=n},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(83),o=function(){function t(t,e){this.cfg={};var n=i.createSVGElement("marker"),o=r.uniqueId("marker_");n.setAttribute("id",o);var a=i.createSVGElement("path");a.setAttribute("stroke",t.stroke||"none"),a.setAttribute("fill",t.fill||"none"),n.appendChild(a),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=a,this.id=o;var s=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===s?this._setDefaultPath(e,a):(this.cfg=s,this._setMarker(t.lineWidth,a)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,i=this.cfg.path,o=this.cfg.d;r.isArray(i)&&(i=i.map((function(t){return t.join(" ")})).join("")),e.setAttribute("d",i),n.appendChild(e),o&&n.setAttribute("refX",""+o/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(83),o=function(){function t(t){this.type="clip",this.cfg={};var e=i.createSVGElement("clipPath");this.el=e,this.id=r.uniqueId("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(83),o=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,a=function(){function t(t){this.cfg={};var e=i.createSVGElement("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=i.createSVGElement("image");e.appendChild(n);var a=r.uniqueId("pattern_");e.id=a,this.el=e,this.id=a,this.cfg=t;var s=o.exec(t)[2];n.setAttribute("href",s);var c=new Image;function l(){e.setAttribute("width",""+c.width),e.setAttribute("height",""+c.height)}return s.match(/^data:/i)||(c.crossOrigin="Anonymous"),c.src=s,c.complete?l():(c.onload=l,c.src=c.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(27),a=n(338),s=n(265),c=function(t){function e(e){var n=this,c=e.container,l=e.width,u=e.height,g=e.autoFit,f=void 0!==g&&g,d=e.padding,h=e.appendPadding,p=e.renderer,A=void 0===p?"canvas":p,C=e.pixelRatio,v=e.localRefresh,I=void 0===v||v,y=e.visible,m=void 0===y||y,b=e.supportCSSTransform,x=void 0!==b&&b,w=e.defaultInteractions,O=void 0===w?["tooltip","legend-filter","legend-active","continuous-filter","ellipsis-text"]:w,S=e.options,_=e.limitInPlot,k=e.theme,j=e.syncViewPadding,E=i.isString(c)?document.getElementById(c):c,P=s.createDom('<div style="position:relative;"></div>');E.appendChild(P);var M=s.getChartSize(E,f,l,u),T=new(a.getEngine(A).Canvas)(r.__assign({container:P,pixelRatio:C,localRefresh:I,supportCSSTransform:x},M));return(n=t.call(this,{parent:null,canvas:T,backgroundGroup:T.addGroup({zIndex:o.GROUP_Z_INDEX.BG}),middleGroup:T.addGroup({zIndex:o.GROUP_Z_INDEX.MID}),foregroundGroup:T.addGroup({zIndex:o.GROUP_Z_INDEX.FORE}),padding:d,appendPadding:h,visible:m,options:S,limitInPlot:_,theme:k,syncViewPadding:j})||this).onResize=i.debounce((function(){n.forceFit()}),300),n.ele=E,n.canvas=T,n.width=M.width,n.height=M.height,n.autoFit=f,n.localRefresh=I,n.renderer=A,n.wrapperElement=P,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(O),n}return r.__extends(e,t),e.prototype.initDefaultInteractions=function(t){var e=this;i.each(t,(function(t){e.interaction(t)}))},e.prototype.changeSize=function(t,e){return this.width===t&&this.height===e||(this.emit(o.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE),this.width=t,this.height=e,this.canvas.changeSize(t,e),this.render(!0),this.emit(o.VIEW_LIFE_CIRCLE.AFTER_CHANGE_SIZE)),this},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),s.removeDom(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(e){return t.prototype.changeVisible.call(this,e),this.wrapperElement.style.display=e?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=s.getChartSize(this.ele,!0,this.width,this.height),e=t.width,n=t.height;this.changeSize(e,n)}},e.prototype.updateCanvasStyle=function(){s.modifyCSS(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(r.__importDefault(n(339)).default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(186),a=r.__importDefault(n(547)),s=r.__importDefault(n(340));function c(t,e){var n=t.split(":"),r=n[0],i=e.getAction(r)||o.createAction(r,e);if(!i)throw new Error("There is no action named "+r);return{action:i,methodName:n[1]}}function l(t){var e=t.action,n=t.methodName;if(!e[n])throw new Error("Action("+e.name+") doesn't have a method called "+n);e[n]()}var u="start",g="showEnable",f="end",d="rollback",h="processing",p=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.callbackCaches={},r.emitCaches={},r.steps=n,r}return r.__extends(e,t),e.prototype.init=function(){this.initContext(),t.prototype.init.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;i.each(this.steps,(function(e,n){i.each(e,(function(e){var r=t.getActionCallback(n,e);r&&t.bindEvent(e.trigger,r)}))}))},e.prototype.clearEvents=function(){var t=this;i.each(this.steps,(function(e,n){i.each(e,(function(e){var r=t.getActionCallback(n,e);r&&t.offEvent(e.trigger,r)}))}))},e.prototype.initContext=function(){var t=this.view,e=new a.default(t);this.context=e;var n=this.steps;i.each(n,(function(t){i.each(t,(function(t){if(i.isFunction(t.action))t.actionObject={action:o.createCallbackAction(t.action,e),methodName:"execute"};else if(i.isString(t.action))t.actionObject=c(t.action,e);else if(i.isArray(t.action)){var n=t.action;t.actionObject=[],i.each(n,(function(n){t.actionObject.push(c(n,e))}))}}))}))},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t)return!0;if(t===g)return!0;if(t===h)return e===u;if(t===u)return e!==h;if(t===f)return e===h||e===u;if(t===d){if(n[f])return e===f;if(e===u)return!0}return!1},e.prototype.isAllowExecute=function(t,e){if(this.isAllowStep(t)){var n=this.getKey(t,e);return(!e.once||!this.emitCaches[n])&&(!e.isEnable||e.isEnable(this.context))}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,e){t!==g&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,e);this.emitCaches[n]=!0},e.prototype.getKey=function(t,e){return t+e.trigger+e.action},e.prototype.getActionCallback=function(t,e){var n=this,r=this.context,o=this.callbackCaches,a=e.actionObject;if(e.action&&a){var s=this.getKey(t,e);if(!o[s]){var c=function(o){r.event=o,n.isAllowExecute(t,e)?(i.isArray(a)?i.each(a,(function(t){r.event=o,l(t)})):(r.event=o,l(a)),n.afterExecute(t,e),e.callback&&(r.event=o,e.callback(r))):r.event=null};e.debounce?o[s]=i.debounce(c,e.debounce.wait,e.debounce.immediate):e.throttle?o[s]=i.throttle(c,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):o[s]=c}return o[s]}return null},e.prototype.bindEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.addEventListener(n[1],e):"document"===n[0]?document.addEventListener(n[1],e):this.view.on(t,e)},e.prototype.offEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.removeEventListener(n[1],e):"document"===n[0]?document.removeEventListener(n[1],e):this.view.off(t,e)},e}(s.default);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}(r.__importDefault(n(56)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(43),o=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length)return this.cacheMap[t[0]];2===t.length&&(this.cacheMap[t[0]]=t[1])},t.prototype.getAction=function(t){return this.actions.find((function(e){return e.name===t}))},t.prototype.addAction=function(t){this.actions.push(t)},t.prototype.removeAction=function(t){var e=this.actions,n=this.actions.indexOf(t);n>=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;return t?t.target instanceof HTMLElement?this.view.getCanvas().getPointByClient(t.clientX,t.clientY):{x:t.x,y:t.y}:null},t.prototype.getCurrentShape=function(){return r.get(this.event,["gEvent","shape"])},t.prototype.isInPlot=function(){var t=this.getCurrentPoint();return!!t&&this.view.isPointInPlot(t)},t.prototype.isInShape=function(t){var e=this.getCurrentShape();return!!e&&e.get("name")===t},t.prototype.isInComponent=function(t){var e=i.getComponents(this.view),n=this.getCurrentPoint();return!!n&&!!e.find((function(e){var r=e.getBBox();return t?e.get("name")===t&&i.isInBox(r,n):i.isInBox(r,n)}))},t.prototype.destroy=function(){this.view=null,this.event=null,r.each(this.actions.slice(),(function(t){t.destroy()})),this.actions=null,this.cacheMap=null},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTheme=void 0;var r=n(1),i=n(0),o=n(113),a=n(140);e.createTheme=function(t){var e=t.styleSheet,n=void 0===e?{}:e,s=r.__rest(t,["styleSheet"]),c=a.createLightStyleSheet(n);return i.deepMix({},o.createThemeByStyleSheet(c),s)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(81),a=function(){function t(t){this.option=this.wrapperOption(t)}return t.prototype.update=function(t){return this.option=this.wrapperOption(t),this},t.prototype.hasAction=function(t){var e=this.option.actions;return i.some(e,(function(e){return e[0]===t}))},t.prototype.create=function(t,e){var n=this.option,i=n.type,a=n.cfg,s="theta"===i,c=r.__assign({start:t,end:e},a),l=o.getCoordinate(s?"polar":i);return this.coordinate=new l(c),this.coordinate.type=i,s&&(this.hasAction("transpose")||this.transpose()),this.execActions(),this.coordinate},t.prototype.adjust=function(t,e){return this.coordinate.update({start:t,end:e}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},t.prototype.rotate=function(t){return this.option.actions.push(["rotate",t]),this},t.prototype.reflect=function(t){return this.option.actions.push(["reflect",t]),this},t.prototype.scale=function(t,e){return this.option.actions.push(["scale",t,e]),this},t.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},t.prototype.getOption=function(){return this.option},t.prototype.getCoordinate=function(){return this.coordinate},t.prototype.wrapperOption=function(t){return r.__assign({type:"rect",actions:[],cfg:{}},t)},t.prototype.execActions=function(t){var e=this,n=this.option.actions;i.each(n,(function(n){var r,o=n[0],a=n.slice(1);(i.isNil(t)||t.includes(o))&&(r=e.coordinate)[o].apply(r,a)}))},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.getController("axis"),n=t.getController("legend"),r=t.getController("annotation");[e,t.getController("slider"),t.getController("scrollbar"),n,r].forEach((function(t){t&&t.layout()}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScalePool=void 0;var r=n(0),i=n(153),o=function(){function t(){this.scales=new Map,this.syncScales=new Map}return t.prototype.createScale=function(t,e,n,o){var a=n,s=this.getScaleMeta(o);if(0===e.length&&s){var c=s.scale,l={type:c.type};c.isCategory&&(l.values=c.values),a=r.deepMix(l,s.scaleDef,n)}var u=i.createScaleByField(t,e,a);return this.cacheScale(u,n,o),u},t.prototype.sync=function(t,e){var n=this;this.syncScales.forEach((function(o,a){var s=Number.MAX_SAFE_INTEGER,c=Number.MIN_SAFE_INTEGER,l=[];r.each(o,(function(t){var e=n.getScale(t);c=r.isNumber(e.max)?Math.max(c,e.max):c,s=r.isNumber(e.min)?Math.min(s,e.min):s,r.each(e.values,(function(t){l.includes(t)||l.push(t)}))})),r.each(o,(function(o){var a=n.getScale(o);if(a.isContinuous)a.change({min:s,max:c,values:l});else if(a.isCategory){var u=a.range,g=n.getScaleMeta(o);l&&!r.get(g,["scaleDef","range"])&&(u=i.getDefaultCategoryScaleRange(r.deepMix({},a,{values:l}),t,e)),a.change({values:l,range:u})}}))}))},t.prototype.cacheScale=function(t,e,n){var r=this.getScaleMeta(n);r&&r.scale.type===t.type?(i.syncScale(r.scale,t),r.scaleDef=e):(r={key:n,scale:t,scaleDef:e},this.scales.set(n,r));var o=this.getSyncKey(r);if(r.syncKey=o,this.removeFromSyncScales(n),o){var a=this.syncScales.get(o);a||(a=[],this.syncScales.set(o,a)),a.push(n)}},t.prototype.getScale=function(t){var e=this.getScaleMeta(t);if(!e){var n=r.last(t.split("-")),i=this.syncScales.get(n);i&&i.length&&(e=this.getScaleMeta(i[0]))}return e&&e.scale},t.prototype.deleteScale=function(t){var e=this.getScaleMeta(t);if(e){var n=e.syncKey,r=this.syncScales.get(n);if(r&&r.length){var i=r.indexOf(t);-1!==i&&r.splice(i,1)}}this.scales.delete(t)},t.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},t.prototype.removeFromSyncScales=function(t){var e=this;this.syncScales.forEach((function(n,r){var i=n.indexOf(t);if(-1!==i)return n.splice(i,1),0===n.length&&e.syncScales.delete(r),!1}))},t.prototype.getSyncKey=function(t){var e=t.scale,n=t.scaleDef,i=e.field,o=r.get(n,["sync"]);return!0===o?i:!1===o?void 0:o},t.prototype.getScaleMeta=function(t){return this.scales.get(t)},t}();e.ScalePool=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.calculatePadding=void 0;var r=n(1),i=n(0),o=n(27),a=n(88),s=n(239),c=n(343);e.calculatePadding=function(t){var e=t.padding;if(!s.isAutoPadding(e))return new(c.PaddingCal.bind.apply(c.PaddingCal,r.__spreadArrays([void 0],s.parsePadding(e))));var n=t.viewBBox,l=new c.PaddingCal,u=[],g=[],f=[];return i.each(t.getComponents(),(function(t){var e=t.type;e===o.COMPONENT_TYPE.AXIS?u.push(t):[o.COMPONENT_TYPE.LEGEND,o.COMPONENT_TYPE.SLIDER,o.COMPONENT_TYPE.SCROLLBAR].includes(e)?g.push(t):e!==o.COMPONENT_TYPE.GRID&&e!==o.COMPONENT_TYPE.TOOLTIP&&f.push(t)})),i.each(u,(function(t){var e=t.component.getLayoutBBox(),r=new a.BBox(e.x,e.y,e.width,e.height).exceed(n);l.max(r)})),i.each(g,(function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),i=e.get("padding"),o=new a.BBox(r.x,r.y,r.width,r.height).expand(i);l.inc(o,n)})),i.each(f,(function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),i=new a.BBox(r.x,r.y,r.width,r.height);l.inc(i,n)})),l}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultSyncViewPadding=void 0,e.defaultSyncViewPadding=function(t,e,n){var r=n.instance();e.forEach((function(t){t.autoPadding=r.max(t.autoPadding.getPadding())}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.group=void 0;var r=n(0);e.group=function(t,e,n){if(void 0===n&&(n={}),!e)return[t];var i=r.groupToMap(t,e),o=[];if(1===e.length&&n[e[0]])for(var a=0,s=n[e[0]];a<s.length;a++){var c=i["_"+s[a]];c&&o.push(c)}else for(var l in i)if(i.hasOwnProperty(l)){var u=i[l];o.push(u)}return o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseFields=void 0;var r=n(0);e.parseFields=function(t){return r.isArray(t)?t:t.split("*")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(101),a=n(243),s=n(121),c=n(59),l=n(122),u=n(27),g=n(557),f=function(){function t(t){this.shapesMap={},this.lastShapesMap={};var e=t.layout,n=t.container;this.layout=e,this.container=n}return t.prototype.render=function(t,e,n){var a=this;void 0===n&&(n=!1),this.shapesMap={};var s=this.container,c=this.createOffscreenGroup();if(t.length){for(var l=0,u=t;l<u.length;l++){var f=u[l];f&&this.renderLabel(f,c)}this.doLayout(t,e),this.renderLabelLine(t),this.renderLabelBackground(t),this.adjustLabel(t)}var d=this.lastShapesMap,h=this.shapesMap;i.each(h,(function(t,e){if(t.destroyed)delete h[e];else{if(d[e]){var c=t.get("data"),l=t.get("origin"),u=t.get("coordinate"),f=t.get("animateCfg"),p=d[e];g.updateLabel(p,h[e],{data:c,origin:l,animateCfg:f,coordinate:u}),a.shapesMap[e]=p}else{s.add(t);var A=i.get(t.get("animateCfg"),n?"enter":"appear");A&&o.doAnimate(t,A,{toAttrs:r.__assign({},t.attr()),coordinate:t.get("coordinate")})}delete d[e]}})),i.each(d,(function(t){var e=i.get(t.get("animateCfg"),"leave");e?o.doAnimate(t,e,{toAttrs:null,coordinate:t.get("coordinate")}):t.remove(!0)})),this.lastShapesMap=h,c.destroy()},t.prototype.clear=function(){this.container.clear(),this.shapesMap={},this.lastShapesMap={}},t.prototype.destroy=function(){this.container.destroy(),this.shapesMap=null,this.lastShapesMap=null},t.prototype.renderLabel=function(t,e){var n,o=t.id,a=t.elementId,s=t.data,c=t.mappingData,g=t.coordinate,f=t.animate,d=t.content,h={id:o,elementId:a,data:s,origin:r.__assign(r.__assign({},c),{data:c[u.FIELD_ORIGIN]}),coordinate:g},p=e.addGroup(r.__assign({name:"label",animateCfg:!1!==this.animate&&null!==f&&!1!==f&&i.deepMix({},this.animate,f)},h));if(d.isGroup&&d.isGroup()||d.isShape&&d.isShape()){var A=d.getCanvasBBox(),C=A.width,v=A.height,I=i.get(t,"textAlign","left"),y=t.x,m=t.y-v/2;"center"===I?y-=C/2:"right"!==I&&"end"!==I||(y-=C),l.translate(d,y,m),n=d,p.add(d)}else{var b=i.get(t,["style","fill"]);n=p.addShape("text",r.__assign({attrs:r.__assign(r.__assign({x:t.x,y:t.y,textAlign:t.textAlign,textBaseline:i.get(t,"textBaseline","middle"),text:t.content},t.style),{fill:i.isNull(b)?t.color:b})},h))}t.rotate&&l.rotate(n,t.rotate),this.shapesMap[o]=p},t.prototype.doLayout=function(t,e){var n=this;if(this.layout){var r=i.isArray(this.layout)?this.layout:[this.layout];i.each(r,(function(r){var o=a.getGeometryLabelLayout(i.get(r,"type",""));if(o){var s=[],c=[];i.each(n.shapesMap,(function(t,n){s.push(t),c.push(e[t.get("elementId")])})),o(t,s,c,n.region,r.cfg)}}))}},t.prototype.renderLabelLine=function(t){var e=this;i.each(t,(function(t){var n=i.get(t,"coordinate");if(t&&n){var o=n.getCenter(),a=n.getRadius();if(t.labelLine){var s=i.get(t,"labelLine",{}),l=t.id,u=s.path;if(!u){var g=c.polarToCartesian(o.x,o.y,a,t.angle);u=[["M",g.x,g.y],["L",t.x,t.y]]}var f=e.shapesMap[l];f.destroyed||f.addShape("path",{capture:!1,attrs:r.__assign({path:u,stroke:t.color?t.color:i.get(t,["style","fill"],"#000"),fill:null},s.style),id:l,origin:t.mappingData,data:t.data,coordinate:t.coordinate})}}}))},t.prototype.renderLabelBackground=function(t){var e=this;i.each(t,(function(t){var n=i.get(t,"coordinate"),o=i.get(t,"background");if(o&&n){var a=t.id,c=e.shapesMap[a];if(!c.destroyed){var l=c.getChildren()[0];if(l){var u=s.getlLabelBackgroundInfo(c,t,o.padding),g=u.rotation,f=r.__rest(u,["rotation"]),d=c.addShape("rect",{attrs:r.__assign(r.__assign({},f),o.style||{}),id:a,origin:t.mappingData,data:t.data,coordinate:t.coordinate});if(d.setZIndex(-1),g){var h=l.getMatrix();d.setMatrix(h)}}}}}))},t.prototype.createOffscreenGroup=function(){return new(this.container.getGroupBase())({})},t.prototype.adjustLabel=function(t){var e=this;i.each(t,(function(t){if(t){var n=t.id,r=e.shapesMap[n];if(!r.destroyed){var o=r.findAll((function(t){return"path"!==t.get("type")}));i.each(o,(function(e){e&&(t.offsetX&&e.attr("x",e.attr("x")+t.offsetX),t.offsetY&&e.attr("y",e.attr("y")+t.offsetY))}))}}}))},t}();e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.updateLabel=void 0;var r=n(0),i=n(101),o=n(59);e.updateLabel=function t(e,n,a){var s=a.data,c=a.origin,l=a.animateCfg,u=a.coordinate,g=r.get(l,"update");e.set("data",s),e.set("origin",c),e.set("animateCfg",l),e.set("coordinate",u),e.set("visible",n.get("visible")),e.getChildren().forEach((function(r,f){var d=n.getChildByIndex(f);if(d){r.set("data",s),r.set("origin",c),r.set("animateCfg",l),r.set("coordinate",u);var h=o.getReplaceAttrs(r,d);g?i.doAnimate(r,g,{toAttrs:h,coordinate:u}):r.attr(h),d.isGroup()&&t(r,d,a)}else e.removeChild(r),r.remove(!0)})),r.each(n.getChildren(),(function(t,n){n>=e.getCount()&&(t.destroyed||e.add(t))}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMappingValue=void 0;var r=n(1);e.getMappingValue=function(t,e,n){if(!t)return n;var i;if(t.callback&&t.callback.length>1){var o=Array(t.callback.length-1).fill("");i=t.mapping.apply(t,r.__spreadArrays([e],o)).join("")}else i=t.mapping(e).join("");return i||n}},function(t,e,n){var r=n(6);t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t}},function(t,e,n){"use strict";var r=n(208),i=n(171),o=n(164),a=n(266),s=n(209),c=n(267),l=n(268),u=n(211),g=n(34);Object(g.registerAnimation)("fade-in",r.fadeIn),Object(g.registerAnimation)("fade-out",r.fadeOut),Object(g.registerAnimation)("grow-in-x",i.growInX),Object(g.registerAnimation)("grow-in-xy",i.growInXY),Object(g.registerAnimation)("grow-in-y",i.growInY),Object(g.registerAnimation)("scale-in-x",s.scaleInX),Object(g.registerAnimation)("scale-in-y",s.scaleInY),Object(g.registerAnimation)("wave-in",l.waveIn),Object(g.registerAnimation)("zoom-in",u.zoomIn),Object(g.registerAnimation)("zoom-out",u.zoomOut),Object(g.registerAnimation)("position-update",a.positionUpdate),Object(g.registerAnimation)("sector-path-update",c.sectorPathUpdate),Object(g.registerAnimation)("path-in",o.pathIn)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doScaleAnimate=e.transformShape=void 0;var r=n(15);function i(t,e,n){var i,o=e[0],a=e[1];return t.applyToMatrix([o,a,1]),"x"===n?(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-o,-a],["s",.01,1],["t",o,a]])),i=r.ext.transform(t.getMatrix(),[["t",-o,-a],["s",100,1],["t",o,a]])):"y"===n?(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-o,-a],["s",1,.01],["t",o,a]])),i=r.ext.transform(t.getMatrix(),[["t",-o,-a],["s",1,100],["t",o,a]])):"xy"===n&&(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-o,-a],["s",.01,.01],["t",o,a]])),i=r.ext.transform(t.getMatrix(),[["t",-o,-a],["s",100,100],["t",o,a]])),i}e.transformShape=i,e.doScaleAnimate=function(t,e,n,r,o){var a,s,c=n.start,l=n.end,u=n.getWidth(),g=n.getHeight();"y"===o?(a=c.x+u/2,s=r.y<c.y?r.y:c.y):"x"===o?(a=r.x>c.x?r.x:c.x,s=c.y+g/2):"xy"===o&&(n.isPolar?(a=n.getCenter().x,s=n.getCenter().y):(a=(c.x+l.x)/2,s=(c.y+l.y)/2));var f=i(t,[a,s],o);t.animate({matrix:f},e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(39),o=n(242),a=n(53),s=n(156),c=i.registerShapeFactory("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return s.getRectPoints(t)}});i.registerShape("interval","rect",{draw:function(t,e){var n,i=a.getStyle(t,!1,!0),c=e,l=null===t||void 0===t?void 0:t.background;if(l){c=e.addGroup();var u=a.getBackgroundRectStyle(t),g=s.getBackgroundRectPath(t,this.parsePoints(t.points),this.coordinate);c.addShape("path",{attrs:r.__assign(r.__assign({},u),{path:g}),zIndex:-1,name:o.BACKGROUND_SHAPE})}n=i.radius&&this.coordinate.isRect?s.getRectWithCornerRadius(this.parsePoints(t.points),this.coordinate,i.radius):this.parsePath(s.getIntervalRectPath(t.points,i.lineCap,this.coordinate));var f=c.addShape("path",{attrs:r.__assign(r.__assign({},i),{path:n}),name:"interval"});return l?c:f},getMarker:function(t){var e=t.color;return t.isInPolar?{symbol:"circle",style:{r:4.5,fill:e}}:{symbol:"square",style:{r:4,fill:e}}}}),e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(155),o=n(39),a=n(247),s=n(249),c=o.registerShapeFactory("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(t){return a.splitPoints(t)}});r.each(s.SHAPES,(function(t){o.registerShape("point","hollow-"+t,{draw:function(e,n){return s.drawPoints(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:i.MarkerSymbols[t]||t,style:{r:4.5,stroke:n,fill:null}}}})})),e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(39),i=n(105);r.registerShape("area","line",{draw:function(t,e){var n=i.getShapeAttrs(t,!0,!1,this);return e.addShape({type:"path",attrs:n,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:t.color,fill:null}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(39),i=n(105);r.registerShape("area","smooth",{draw:function(t,e){var n=this.coordinate,r=i.getShapeAttrs(t,!1,!0,this,i.getConstraint(n));return e.addShape({type:"path",attrs:r,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(39),i=n(105);r.registerShape("area","smooth-line",{draw:function(t,e){var n=this.coordinate,r=i.getShapeAttrs(t,!0,!0,this,i.getConstraint(n));return e.addShape({type:"path",attrs:r,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:t.color,fill:null}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(59),o=n(39),a=n(53),s=n(352);o.registerShape("edge","arc",{draw:function(t,e){var n,o=a.getStyle(t,!0,!1,"lineWidth"),c=t.points,l=c.length>2?"weight":"normal";if(t.isInCircle){var u={x:0,y:1};return"normal"===l?n=function(t,e,n){var r=s.getQPath(e,n),i=[["M",t.x,t.y]];return i.push(r),i}(c[0],c[1],u):(o.fill=o.stroke,n=function(t,e){var n=s.getQPath(t[1],e),r=s.getQPath(t[3],e),i=[["M",t[0].x,t[0].y]];return i.push(r),i.push(["L",t[3].x,t[3].y]),i.push(["L",t[2].x,t[2].y]),i.push(n),i.push(["L",t[1].x,t[1].y]),i.push(["L",t[0].x,t[0].y]),i.push(["Z"]),i}(c,u)),n=this.parsePath(n),e.addShape("path",{attrs:r.__assign(r.__assign({},o),{path:n})})}if("normal"===l)return c=this.parsePoints(c),n=i.getArcPath((c[1].x+c[0].x)/2,c[0].y,Math.abs(c[1].x-c[0].x)/2,Math.PI,2*Math.PI),e.addShape("path",{attrs:r.__assign(r.__assign({},o),{path:n})});var g=s.getCPath(c[1],c[3]),f=s.getCPath(c[2],c[0]);return n=[["M",c[0].x,c[0].y],["L",c[1].x,c[1].y],g,["L",c[3].x,c[3].y],["L",c[2].x,c[2].y],f,["Z"]],n=this.parsePath(n),o.fill=o.stroke,e.addShape("path",{attrs:r.__assign(r.__assign({},o),{path:n})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(39),o=n(53),a=n(352);i.registerShape("edge","smooth",{draw:function(t,e){var n=o.getStyle(t,!0,!1,"lineWidth"),i=t.points,s=this.parsePath(function(t,e){var n=a.getCPath(t,e),r=[["M",t.x,t.y]];return r.push(n),r}(i[0],i[1]));return e.addShape("path",{attrs:r.__assign(r.__assign({},n),{path:s})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(39),a=n(53),s=1/3;o.registerShape("edge","vhv",{draw:function(t,e){var n=a.getStyle(t,!0,!1,"lineWidth"),o=t.points,c=this.parsePath(function(t,e){var n=[];n.push({x:t.x,y:t.y*(1-s)+e.y*s}),n.push({x:e.x,y:t.y*(1-s)+e.y*s}),n.push(e);var r=[["M",t.x,t.y]];return i.each(n,(function(t){r.push(["L",t.x,t.y])})),r}(o[0],o[1]));return e.addShape("path",{attrs:r.__assign(r.__assign({},n),{path:c})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieOuterLabelLayout=void 0;var r=n(0),i=n(59),o=n(364);e.pieOuterLabelLayout=function(t,e,n,a){var s=r.filter(t,(function(t){return!r.isNil(t)})),c=e[0]&&e[0].get("coordinate");if(c){for(var l=c.getCenter(),u=c.getRadius(),g={},f=0,d=e;f<d.length;f++){var h=d[f];g[h.get("id")]=h}var p=r.get(s[0],"labelHeight",14),A=r.get(s[0],"offset",0);if(!(A<=0)){var C="right",v=r.groupBy(s,(function(t){return t.x<l.x?"left":C})),I=c.start,y=c.end,m=Math.min(2*(u+A+p),c.getHeight()),b=m/2,x={minX:I.x,maxX:y.x,minY:l.y-b,maxY:l.y+b};r.each(v,(function(t,e){var n=Math.floor(m/p);t.length>n&&(t.sort((function(t,e){return e.percent-t.percent})),r.each(t,(function(t,e){e+1>n&&(g[t.id].set("visible",!1),t.invisible=!0)}))),o.antiCollision(t,p,x)})),r.each(v,(function(t,e){r.each(t,(function(t){var n=e===C,o=g[t.id].getChildByIndex(0);if(o){var a=u+A,s=t.y-l.y,f=Math.pow(a,2),d=Math.pow(s,2),h=f-d>0?f-d:0,p=Math.sqrt(h),v=Math.abs(Math.cos(t.angle)*a);t.x=n?l.x+Math.max(p,v):l.x-Math.max(p,v)}o&&(o.attr("y",t.y),o.attr("x",t.x)),function(t,e){var n=e.getCenter(),o=e.getRadius();if(t&&t.labelLine){var a=t.angle,s=t.offset,c=i.polarToCartesian(n.x,n.y,o,a),l=t.x+r.get(t,"offsetX",0)*(Math.cos(a)>0?1:-1),u=t.y+r.get(t,"offsetY",0)*(Math.sin(a)>0?1:-1),g={x:l-4*Math.cos(a),y:u-4*Math.sin(a)},f=t.labelLine.smooth,d=[],h=g.x-n.x,p=g.y-n.y,A=Math.atan(p/h);if(h<0&&(A+=Math.PI),!1===f){r.isObject(t.labelLine)||(t.labelLine={});var C=0;(a<0&&a>-Math.PI/2||a>1.5*Math.PI)&&g.y>c.y&&(C=1),a>=0&&a<Math.PI/2&&g.y>c.y&&(C=1),a>=Math.PI/2&&a<Math.PI&&c.y>g.y&&(C=1),(a<-Math.PI/2||a>=Math.PI&&a<1.5*Math.PI)&&c.y>g.y&&(C=1);var v=s/2>4?4:Math.max(s/2-1,0),I=i.polarToCartesian(n.x,n.y,o+v,a),y=i.polarToCartesian(n.x,n.y,o+s/2,A);d.push("M "+c.x+" "+c.y),d.push("L "+I.x+" "+I.y),d.push("A "+n.x+" "+n.y+" 0 0 "+C+" "+y.x+" "+y.y),d.push("L "+g.x+" "+g.y)}else{I=i.polarToCartesian(n.x,n.y,o+(s/2>4?4:Math.max(s/2-1,0)),a);var m=c.x<n.x?1:-1;d.push("M "+g.x+" "+g.y);var b=(c.y-n.y)/(c.x-n.x),x=(g.y-n.y)/(g.x-n.x);Math.abs(b-x)>Math.pow(Math.E,-16)&&d.push.apply(d,["C",g.x+4*m,g.y,2*I.x-c.x,2*I.y-c.y,c.x,c.y]),d.push("L "+c.x+" "+c.y)}t.labelLine.path=d.join(" ")}}(t,c)}))}))}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieSpiderLabelLayout=void 0;var r=n(0),i=n(59),o=n(364),a=n(122);e.pieSpiderLabelLayout=function(t,e,n,s){var c=e[0]&&e[0].get("coordinate");if(c){for(var l=c.getCenter(),u=c.getRadius(),g={},f=0,d=e;f<d.length;f++){var h=d[f];g[h.get("id")]=h}var p=r.get(t[0],"labelHeight",14),A=Math.max(r.get(t[0],"offset",0),4);r.each(t,(function(t){if(r.get(g,t.id)){var e=t.x>l.x||t.x===l.x&&t.y>l.y,n=r.isNil(t.offsetX)?4:t.offsetX,o=i.polarToCartesian(l.x,l.y,u+4,t.angle),a=A+n;t.x=l.x+(e?1:-1)*(u+a),t.y=o.y}}));var C=c.start,v=c.end,I="right",y=r.groupBy(t,(function(t){return t.x<l.x?"left":I})),m=2*(u+A)+p;r.each(y,(function(t){var e=t.length*p;e>m&&(m=Math.min(e,Math.abs(C.y-v.y)))}));var b={minX:C.x,maxX:v.x,minY:l.y-m/2,maxY:l.y+m/2};r.each(y,(function(t,e){var n=m/p;t.length>n&&(t.sort((function(t,e){return e.percent-t.percent})),r.each(t,(function(t,e){e>n&&(g[t.id].set("visible",!1),t.invisible=!0)}))),o.antiCollision(t,p,b)}));var x=b.minY,w=b.maxY;r.each(y,(function(t,e){var n=e===I;r.each(t,(function(t){var e=r.get(g,t&&t.id);if(e)if(t.y<x||t.y>w)e.set("visible",!1);else{var o=e.getChildByIndex(0),s=o.getCanvasBBox(),l=n?s.x:s.maxX,u=s.y+s.height/2;a.translate(o,t.x-l,t.y-u),t.labelLine&&function(t,e,n){var o,a=e.getCenter(),s=e.getRadius(),c={x:t.x-(n?4:-4),y:t.y},l=i.polarToCartesian(a.x,a.y,s+4,t.angle),u={x:c.x,y:c.y},g={x:l.x,y:l.y},f=i.polarToCartesian(a.x,a.y,s,t.angle);if(c.y!==l.y){var d=n?4:-4;u.y=c.y,t.angle<0&&t.angle>=-Math.PI/2&&(u.x=Math.max(l.x,c.x-d),c.y<l.y?g.y=u.y:(g.y=l.y,g.x=Math.max(g.x,u.x-d))),t.angle>0&&t.angle<Math.PI/2&&(u.x=Math.max(l.x,c.x-d),c.y>l.y?g.y=u.y:(g.y=l.y,g.x=Math.max(g.x,u.x-d))),t.angle>Math.PI/2&&(u.x=Math.min(l.x,c.x-d),c.y>l.y?g.y=u.y:(g.y=l.y,g.x=Math.min(g.x,u.x-d))),t.angle<-Math.PI/2&&(u.x=Math.min(l.x,c.x-d),c.y<l.y?g.y=u.y:(g.y=l.y,g.x=Math.min(g.x,u.x-d)))}o=["M "+c.x+","+c.y,"L "+u.x+","+u.y,"L "+g.x+","+g.y,"L "+l.x+","+l.y,"L "+f.x+","+f.y].join(" "),t.labelLine=r.deepMix({},t.labelLine,{path:o})}(t,c,n)}}))}))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hideOverlap=void 0;var r=n(0),i=n(573),o=n(121);e.hideOverlap=function(t,e,n,a){for(var s=0;s<e.length;s++){var c=e[s];if(e[s].get("visible"))for(var l=s+1;l<e.length;l++){var u=e[l];if(c&&u&&c!==u&&u.get("visible")){var g=o.getlLabelBackgroundInfo(c,t[s],r.get(t[s],"background.padding")),f=o.getlLabelBackgroundInfo(u,t[l],r.get(t[l],"background.padding"));i.isIntersect(g,f)&&e[l].set("visible",!1)}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIntersect=e.isIntersectRect=void 0;var r=n(1),i=n(15).vec2.dot;function o(t){if(t.length>4)return[];var e=function(t,e){return[e.x-t.x,e.y-t.y]};return[e(t[0],t[1]),e(t[1],t[2])]}function a(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var r=t.x,i=t.y;return{x:(r-n.x)*Math.cos(-e)+(i-n.y)*Math.sin(-e)+n.x,y:(n.x-r)*Math.sin(-e)+(i-n.y)*Math.cos(-e)+n.y}}function s(t){var e=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],n=t.rotation;return n?[a(e[0],n,e[0]),a(e[1],n,e[0]),a(e[2],n,e[0]),a(e[3],n,e[0])]:e}function c(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach((function(t){n.push(i([t.x,t.y],e))})),{min:Math.min.apply(Math,n),max:Math.max.apply(Math,n)}}function l(t,e){return t.max>e.min&&t.min<e.max}function u(t,e,n){return void 0===n&&(n=0),!(e.x>t.x+t.width+n||e.x+e.width<t.x-n||e.y>t.y+t.height+n||e.y+e.height<t.y-n)}e.isIntersectRect=u,e.isIntersect=function(t,e){if(!t.rotation&&!e.rotation)return u(t,e);for(var n=s(t),i=s(e),a=r.__spreadArrays(o(n),o(i)),g=0;g<a.length;g++){var f=a[g];if(!l(c(n,f),c(i,f)))return!1}return!0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adjustColor=void 0;var r=n(88),i=n(575);e.adjustColor=function(t,e,n){if(0!==n.length){var o=n[0].get("element").geometry.theme,a=o.labels||{},s=a.fillColorLight,c=a.fillColorDark;n.forEach((function(t,n){var a=e[n].find((function(t){return"text"===t.get("type")})),l=r.BBox.fromObject(t.getBBox()),u=r.BBox.fromObject(a.getCanvasBBox()),g=!l.contains(u),f=t.attr("fill"),d=i.isContrastColorWhite(f);g?a.attr(o.overflowLabels.style):d?s&&a.attr("fill",s):c&&a.attr("fill",c)}))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isContrastColorWhite=void 0;var r=n(1).__importDefault(n(129)),i={"#5B8FF9":!0};e.isContrastColorWhite=function(t){var e=r.default.toRGB(t).toUpperCase();if(i[e])return i[e];var n=r.default.rgb2arr(e);return(299*n[0]+587*n[1]+114*n[2])/1e3<128}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.intervalAdjustPosition=void 0;var r=n(88),i=n(121);function o(t,e,n){return!!t.getAdjust("stack")||e.every((function(e,o){var a=n[o];return function(t,e,n){var o=t.coordinate,a=i.findLabelTextShape(e),s=r.BBox.fromObject(a.getCanvasBBox()),c=r.BBox.fromObject(n.getBBox());return o.isTransposed?c.height>=s.height:c.width>=s.width}(t,e,a)}))}e.intervalAdjustPosition=function(t,e,n){var a;if(0!==n.length){var s=null===(a=n[0])||void 0===a?void 0:a.get("element"),c=null===s||void 0===s?void 0:s.geometry;c&&"interval"===c.type&&o(c,e,n)&&n.forEach((function(t,n){var o=e[n];!function(t,e,n){var o=t.coordinate,a=r.BBox.fromObject(n.getBBox()),s=i.findLabelTextShape(e);o.isTransposed?s.attr({x:a.minX+a.width/2,textAlign:"center"}):s.attr({y:a.minY+a.height/2,textBaseline:"middle"})}(c,o,t)}))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.intervalHideOverlap=void 0;var r=n(0),i=n(121);e.intervalHideOverlap=function(t,e,n){var o;if(0!==n.length){var a=null===(o=n[0])||void 0===o?void 0:o.get("element"),s=null===a||void 0===a?void 0:a.geometry;if(s&&"interval"===s.type){var c,l=function(t){var e=[],n=Math.max(Math.floor(t.length/500),1);return r.each(t,(function(t,r){r%n===0?e.push(t):t.set("visible",!1)})),e}(e),u=s.getXYFields()[0],g=[],f=[],d=r.groupBy(l,(function(t){return t.get("data")[u]})),h=r.uniq(r.map(l,(function(t){return t.get("data")[u]})));l.forEach((function(t){t.set("visible",!0)}));var p=function(t){t&&(t.length&&f.push(t.pop()),f.push.apply(f,t))};for(r.size(h)>0&&(c=h.shift(),p(d[c])),r.size(h)>0&&(c=h.pop(),p(d[c])),r.each(h.reverse(),(function(t){p(d[t])}));f.length>0;){var A=f.shift();A.get("visible")&&(i.checkShapeOverlap(A,g)?A.set("visible",!1):g.push(A))}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pointAdjustPosition=void 0;var r=n(0),i=n(121);function o(t,e,n){return t.some((function(t){return n(t,e)}))}function a(t,e){return o(t,e,(function(t,e){var n,r,o,a=i.findLabelTextShape(t),s=i.findLabelTextShape(e);return n=a.getCanvasBBox(),r=s.getCanvasBBox(),void 0===(o=2)&&(o=0),Math.max(0,Math.min(n.x+n.width+o,r.x+r.width+o)-Math.max(n.x-o,r.x-o))*Math.max(0,Math.min(n.y+n.height+o,r.y+r.height+o)-Math.max(n.y-o,r.y-o))>0}))}e.pointAdjustPosition=function(t,e,n,s,c){var l,u;if(0!==n.length){var g=null===(l=n[0])||void 0===l?void 0:l.get("element"),f=null===g||void 0===g?void 0:g.geometry;if(f&&"point"===f.type){var d=f.getXYFields(),h=d[0],p=d[1],A=r.groupBy(e,(function(t){return t.get("data")[h]})),C=[],v=c&&c.offset||(null===(u=t[0])||void 0===u?void 0:u.offset)||12;r.map(r.keys(A).reverse(),(function(t){for(var e=function(t,e){var n=t.getXYFields()[1],r=[],i=e.sort((function(t,e){return t.get("data")[n]-t.get("data")[n]}));return i.length>0&&r.push(i.shift()),i.length>0&&r.push(i.pop()),r.push.apply(r,i),r}(f,A[t]);e.length;){var n=e.shift(),r=i.findLabelTextShape(n);if(o(C,n,(function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[p]===e.get("data")[p]})))r.set("visible",!1);else{var s=!1;a(C,n)&&(r.attr("y",r.attr("y")+2*v),s=a(C,n)),s?r.set("visible",!1):C.push(n)}}}))}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pathAdjustPosition=void 0;var r=n(0),i=n(121);function o(t,e,n){return t.some((function(t){return n(t,e)}))}function a(t,e){return o(t,e,(function(t,e){var n,r,o,a=i.findLabelTextShape(t),s=i.findLabelTextShape(e);return n=a.getCanvasBBox(),r=s.getCanvasBBox(),void 0===(o=2)&&(o=0),Math.max(0,Math.min(n.x+n.width+o,r.x+r.width+o)-Math.max(n.x-o,r.x-o))*Math.max(0,Math.min(n.y+n.height+o,r.y+r.height+o)-Math.max(n.y-o,r.y-o))>0}))}e.pathAdjustPosition=function(t,e,n,s,c){var l,u;if(0!==n.length){var g=null===(l=n[0])||void 0===l?void 0:l.get("element"),f=null===g||void 0===g?void 0:g.geometry;if(f&&!(["path","line","area"].indexOf(f.type)<0)){var d=f.getXYFields(),h=d[0],p=d[1],A=r.groupBy(e,(function(t){return t.get("data")[h]})),C=[],v=c&&c.offset||(null===(u=t[0])||void 0===u?void 0:u.offset)||12;r.map(r.keys(A).reverse(),(function(t){for(var e=function(t,e){var n=t.getXYFields()[1],r=[],i=e.sort((function(t,e){return t.get("data")[n]-t.get("data")[n]}));return i.length>0&&r.push(i.shift()),i.length>0&&r.push(i.pop()),r.push.apply(r,i),r}(f,A[t]);e.length;){var n=e.shift(),r=i.findLabelTextShape(n);if(o(C,n,(function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[p]===e.get("data")[p]})))r.set("visible",!1);else{var s=!1;a(C,n)&&(r.attr("y",r.attr("y")+2*v),s=a(C,n)),s?r.set("visible",!1):C.push(n)}}}))}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInPlot=void 0;var r=n(0),i=n(65),o=n(581),a=n(122);e.limitInPlot=function(t,e,n,s,c){if(!(e.length<=0)){var l=(null===c||void 0===c?void 0:c.direction)||["top","right","bottom","left"],u=(null===c||void 0===c?void 0:c.action)||"translate",g=(null===c||void 0===c?void 0:c.margin)||0,f=e[0].get("coordinate");if(f){var d=i.getCoordinateBBox(f,g),h=d.minX,p=d.minY,A=d.maxX,C=d.maxY;r.each(e,(function(t){var e=t.getCanvasBBox(),n=e.minX,i=e.minY,s=e.maxX,c=e.maxY,g=e.x,f=e.y,d=e.width,v=e.height,I=g,y=f;if(l.indexOf("left")>=0&&(n<h||s<h)&&(I=h),l.indexOf("top")>=0&&(i<p||c<p)&&(y=p),l.indexOf("right")>=0&&(n>A?I=A-d:s>A&&(I-=s-A)),l.indexOf("bottom")>=0&&(i>C?y=C-v:c>C&&(y-=c-C)),I!==g||y!==f){var m=I-g;"translate"===u?a.translate(t,m,y-f):"ellipsis"===u?t.findAll((function(t){return"text"===t.get("type")})).forEach((function(t){var e=r.pick(t.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),n=t.getCanvasBBox(),i=o.getEllipsisText(t.attr("text"),n.width-Math.abs(m),e);t.attr("text",i)})):t.hide()}}))}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEllipsisText=e.measureTextWidth=void 0;var r=n(1),i=n(0),o=n(582);e.measureTextWidth=i.memoize((function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,a=e.fontWeight,s=e.fontStyle,c=e.fontVariant,l=o.getCanvasContext();return l.font=[s,c,a,n+"px",r].join(" "),l.measureText(i.isString(t)?t:"").width}),(function(t,e){return void 0===e&&(e={}),r.__spreadArrays([t],i.values(e)).join("")})),e.getEllipsisText=function(t,n,r){var o,a=e.measureTextWidth("...",r);o=i.isString(t)?t:i.toString(t);var s,c,l=n,u=[];if(e.measureTextWidth(t,r)<=n)return t;for(;s=o.substr(0,16),!((c=e.measureTextWidth(s,r))+a>l&&c>l);)if(u.push(s),l-=c,!(o=o.substr(16)))return u.join("");for(;s=o.substr(0,1),!((c=e.measureTextWidth(s,r))+a>l);)if(u.push(s),l-=c,!(o=o.substr(1)))return u.join("");return u.join("")+"..."}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.getCanvasContext=void 0,e.getCanvasContext=function(){return r||(r=document.createElement("canvas").getContext("2d")),r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showGrid=e.getCircleGridItems=e.getLineGridItems=e.getGridThemeCfg=void 0;var r=n(0);e.getGridThemeCfg=function(t,e){return r.get(t,["components","axis",e,"grid"],{})},e.getLineGridItems=function(t,e,n,r){var i=[],o=e.getTicks();return t.isPolar&&o.push({value:1,text:"",tickValue:""}),o.reduce((function(e,o,a){var s=o.value;if(r)i.push({points:[t.convert("y"===n?{x:0,y:s}:{x:s,y:0}),t.convert("y"===n?{x:1,y:s}:{x:s,y:1})]});else if(a){var c=(e.value+s)/2;i.push({points:[t.convert("y"===n?{x:0,y:c}:{x:c,y:0}),t.convert("y"===n?{x:1,y:c}:{x:c,y:1})]})}return o}),o[0]),i},e.getCircleGridItems=function(t,e,n,i,o){var a=e.values.length,s=[],c=n.getTicks();return c.reduce((function(e,n){var c=e?e.value:n.value,l=n.value,u=(c+l)/2;return"x"===o?s.push({points:[t.convert({x:i?l:u,y:0}),t.convert({x:i?l:u,y:1})]}):s.push({points:r.map(Array(a+1),(function(e,n){return t.convert({x:n/a,y:i?l:u})}))}),n}),c[0]),s},e.showGrid=function(t,e){var n=r.get(e,"grid");if(null===n)return!1;var i=r.get(t,"grid");return!(void 0===n&&null===i)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(110),o=n(81),a=n(88),s=n(251),c=n(27),l=n(0),u=n(87),g=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=l.noop,n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t.ratio,r=n.getValidScrollbarCfg().animate;n.ratio=l.clamp(e,0,1);var i=n.view.getOptions().animate;r||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(i)},n.container=n.view.getLayer(c.LAYER.FORE).addGroup(),n.onChangeFn=l.throttle(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(c.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(c.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(c.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(c.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout((function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)}))),this.scrollbar){var e=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),i=this.scrollbar.component.getLayoutBBox(),o=new a.BBox(i.x,i.y,Math.min(i.width,e),i.height).expand(n),l=this.getScrollbarComponentCfg(),u=void 0,g=void 0;if(l.isHorizontal){var f=s.directionToPosition(this.view.viewBBox,o,c.DIRECTION.BOTTOM),d=(f[0],f[1]),h=s.directionToPosition(this.view.coordinateBBox,o,c.DIRECTION.BOTTOM),p=h[0];h[1],u=p,g=d}else{var A=s.directionToPosition(this.view.viewBBox,o,c.DIRECTION.RIGHT),C=(A[0],d=A[1],s.directionToPosition(this.view.viewBBox,o,c.DIRECTION.RIGHT));p=C[0],C[1],u=p,g=d}u+=n[3],g+=n[0],this.trackLen?this.scrollbar.component.update(r.__assign(r.__assign({},l),{x:u,y:g,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(r.__assign(r.__assign({},l),{x:u,y:g})),this.view.viewBBox=this.view.viewBBox.cut(o,l.isHorizontal?c.DIRECTION.BOTTOM:c.DIRECTION.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return l.get(t,["components","slider","common"],{})},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),e=this.view.getYScales().slice();this.data=this.view.getOptions().data,this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),r=n.trackLen,i=n.thumbLen;this.trackLen=r,this.thumbLen=i,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=e},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*l.clamp(this.ratio,0,1));return[t,Math.min(t+this.step-1,this.cnt-1)]},e.prototype.changeViewData=function(t,e){var n=this,r=t[0],i=t[1],o="vertical"!==this.getValidScrollbarCfg().type,a=l.valuesOfKey(this.data,this.xScaleCfg.field),s=o?a:a.reverse();this.yScalesCfg.forEach((function(t){n.view.scale(t.field,{formatter:t.formatter,type:t.type,min:t.min,max:t.max})})),this.view.filter(this.xScaleCfg.field,(function(t){var e=s.indexOf(t);return!(e>-1)||u.isBetween(e,r,i)})),this.view.render(!0)},e.prototype.createScrollbar=function(){var t="vertical"!==this.getValidScrollbarCfg().type,e=new o.Scrollbar(r.__assign(r.__assign({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return e.init(),{component:e,layer:c.LAYER.FORE,direction:t?c.DIRECTION.BOTTOM:c.DIRECTION.RIGHT,type:c.COMPONENT_TYPE.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),e=this.trackLen?r.__assign(r.__assign({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):r.__assign({},t);return this.scrollbar.component.update(e),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,e=this.getValidScrollbarCfg(),n=e.type,r=e.categorySize,i="vertical"!==n;return Math.floor((i?t.width:t.height)/r)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),e=this.view.getOptions().data,n=l.valuesOfKey(e,t.field);return l.size(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,e=t.coordinateBBox,n=t.viewBBox,i=(this.view.getXScale(),this.getValidScrollbarCfg()),o=i.type,a=i.padding,s=i.width,c=i.height,u="vertical"!==o,g=a[0],f=a[1],d=a[2],h=a[3],p=u?{x:e.minX+h,y:n.maxY-c-d}:{x:n.maxX-s-f,y:e.minY+g},A=this.getStep(),C=this.getCnt(),v=u?e.width-h-f:e.height-g-d,I=Math.max(v*l.clamp(A/C,0,1),20);return r.__assign(r.__assign({},this.getThemeOptions()),{x:p.x,y:p.y,size:u?c:s,isHorizontal:u,trackLen:v,thumbLen:I,thumbOffset:0})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:32,width:8,height:8,padding:[0,0,0,0],animate:!0};return l.isObject(this.option)&&(t=r.__assign(r.__assign({},t),this.option)),l.isObject(this.option)&&this.option.padding||(t.padding=(t.type,[0,0,0,0])),t},e}(i.Controller);e.default=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearList=void 0;var r=n(0),i="inactive",o="active";e.clearList=function(t){var e=t.getItems();r.each(e,(function(e){t.hasState(e,o)&&t.setItemState(e,o,!1),t.hasState(e,i)&&t.setItemState(e,i,!1)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(43),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e}return r.__extends(e,t),e.prototype.getMaskAttrs=function(){var t=this.points,e=i.last(this.points),n=0,r=0,a=0;if(t.length){var s=t[0];n=o.distance(s,e)/2,r=(e.x+s.x)/2,a=(e.y+s.y)/2}return{x:r,y:a,r:n}},e}(r.__importDefault(n(257)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0);function o(t){t.x=i.clamp(t.x,0,1),t.y=i.clamp(t.y,0,1)}var a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return r.__extends(e,t),e.prototype.getRegion=function(){var t=null,e=null,n=this.points,r=this.dim,a=this.context.view.getCoordinate(),s=a.invert(i.head(n)),c=a.invert(i.last(n));return this.inPlot&&(o(s),o(c)),"x"===r?(t=a.convert({x:s.x,y:0}),e=a.convert({x:c.x,y:1})):(t=a.convert({x:0,y:s.y}),e=a.convert({x:1,y:c.y})),{start:t,end:e}},e}(r.__importDefault(n(365)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(43),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getMaskPath=function(){var t=this.points;return i.getSpline(t,!0)},e}(r.__importDefault(n(366)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=r.__importDefault(n(367)),a=n(43),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.filterView=function(t,e,n){var r=a.getSilbings(t);i.each(r,(function(t){t.filter(e,n)}))},e.prototype.reRender=function(t){var e=a.getSilbings(t);i.each(e,(function(t){t.render(!0)}))},e}(o.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=r.__importDefault(n(56)),a=n(43),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.filter=function(){var t=a.getDelegationObject(this.context),e=this.context.view,n=a.getElements(e);if(a.isMask(this.context)){var r=a.getMaskedElements(this.context,10);r&&i.each(n,(function(t){r.includes(t)?t.show():t.hide()}))}else if(t){var o=t.component,s=o.get("field");if(a.isList(t)){if(s){var c=o.getItemsByState("unchecked"),l=a.getScaleByField(e,s),u=c.map((function(t){return t.name}));i.each(n,(function(t){var e=a.getElementValue(t,s),n=l.getText(e);u.indexOf(n)>=0?t.hide():t.show()}))}}else if(a.isSlider(t)){var g=o.getValue(),f=g[0],d=g[1];i.each(n,(function(t){var e=a.getElementValue(t,s);e>=f&&e<=d?t.show():t.hide()}))}}},e.prototype.clear=function(){var t=a.getElements(this.context.view);i.each(t,(function(t){t.show()}))},e.prototype.reset=function(){this.clear()},e}(o.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=r.__importDefault(n(56)),a=n(43),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return r.__extends(e,t),e.prototype.filter=function(){a.isMask(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=a.getMaskedElements(this.context,10);if(e){var n=t.getXScale().field,r=t.getYScales()[0].field,o=e.map((function(t){return t.getModel().data})),s=a.getSilbings(t);i.each(s,(function(t){var e=a.getElements(t);i.each(e,(function(t){var e=t.getModel().data;a.isInRecords(o,e,n,r)?t.show():t.hide()}))}))}},e.prototype.filterByBBox=function(){var t=this,e=this.context.view,n=a.getSilbings(e);i.each(n,(function(e){var n=a.getSiblingMaskElements(t.context,e,10),r=a.getElements(e);n&&i.each(r,(function(t){n.includes(t)?t.show():t.hide()}))}))},e.prototype.reset=function(){var t=a.getSilbings(this.context.view);i.each(t,(function(t){var e=a.getElements(t);i.each(e,(function(t){t.show()}))}))},e}(o.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(15),o=n(0),a=n(239),s=r.__importDefault(n(56)),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},e}return r.__extends(e,t),e.prototype.getButtonCfg=function(){return o.deepMix(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=e.addShape({type:"text",name:"button-text",attrs:r.__assign({text:t.text},t.textStyle)}).getBBox(),i=a.parsePadding(t.padding),o=e.addShape({type:"rect",name:"button-rect",attrs:r.__assign({x:n.x-i[3],y:n.y-i[0],width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},t.style)});o.toBack(),e.on("mouseenter",(function(){o.attr(t.activeStyle)})),e.on("mouseleave",(function(){o.attr(t.style)})),this.buttonGroup=e},e.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.ext.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=r.__importDefault(n(56)),o=n(43),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return r.__extends(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),e=this.context.view,n=this.context.event;this.dragStart?e.emit("drag",{target:n.target,x:n.x,y:n.y}):o.distance(t,this.startPoint)>4&&(e.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,e=this.context.event;t.emit("dragend",{target:e.target,x:e.x,y:e.y})}this.starting=!1,this.dragStart=!1},e}(i.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(15),o=n(237),a=n(43),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.isMoving=!1,e.startPoint=null,e.startMatrix=null,e}return r.__extends(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,e=this.context.getCurrentPoint();if(a.distance(t,e)>5&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var n=this.context.view,r=i.ext.transform(this.startMatrix,[["t",e.x-t.x,e.y-t.y]]);n.backgroundGroup.setMatrix(r),n.foregroundGroup.setMatrix(r),n.middleGroup.setMatrix(r)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(o.Action);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.starting=!1,e.startCache={},e}return r.__extends(e,t),e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var e=this.dims;i.each(e,(function(e){var n=t.getScale(e),r=n.min,i=n.max,o=n.values;t.startCache[e]={min:r,max:i,values:o}}))},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var e=this.startPoint,n=this.context.view.getCoordinate(),r=this.context.getCurrentPoint(),o=n.invert(e),a=n.invert(r),s=a.x-o.x,c=a.y-o.y,l=this.context.view,u=this.dims;i.each(u,(function(e){t.translateDim(e,{x:-1*s,y:-1*c})})),l.render(!0)}},e.prototype.translateDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,e)}},e.prototype.translateLinear=function(t,e,n){var r=this.context.view,i=this.startCache[t],o=i.min,a=i.max,s=a-o,c=n[t]*s;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:o,max:a}),r.scale(e.field,{nice:!1,min:o+c,max:a+c})},e.prototype.reset=function(){t.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(r.__importDefault(n(368)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return r.__extends(e,t),e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var e=this,n=this.dims;i.each(n,(function(n){e.zoomDim(n,t)})),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,e)}},e.prototype.zoomLinear=function(t,e,n){var r=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:e.min,max:e.max});var i=this.cacheScaleDefs[t],o=i.max-i.min,a=e.min,s=e.max,c=n*o,l=a-c,u=s+c,g=(u-l)/o;u>l&&g<100&&g>.01&&r.scale(e.field,{nice:!1,min:a-c,max:s+c})},e}(r.__importDefault(n(368)).default);e.default=o},function(t,e,n){(function(t){function e(t){return(e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function r(i){"use strict";var o=n(599),a=n(4),s=n(600);function c(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;l.hasOwnProperty("ReactCurrentDispatcher")||(l.ReactCurrentDispatcher={current:null}),l.hasOwnProperty("ReactCurrentBatchConfig")||(l.ReactCurrentBatchConfig={suspense:null});var u="function"===typeof Symbol&&Symbol.for,g=u?Symbol.for("react.element"):60103,f=u?Symbol.for("react.portal"):60106,d=u?Symbol.for("react.fragment"):60107,h=u?Symbol.for("react.strict_mode"):60108,p=u?Symbol.for("react.profiler"):60114,A=u?Symbol.for("react.provider"):60109,C=u?Symbol.for("react.context"):60110,v=u?Symbol.for("react.concurrent_mode"):60111,I=u?Symbol.for("react.forward_ref"):60112,y=u?Symbol.for("react.suspense"):60113,m=u?Symbol.for("react.suspense_list"):60120,b=u?Symbol.for("react.memo"):60115,x=u?Symbol.for("react.lazy"):60116,w=u?Symbol.for("react.block"):60121,O="function"===typeof Symbol&&Symbol.iterator;function S(t){return null===t||"object"!==e(t)?null:"function"===typeof(t=O&&t[O]||t["@@iterator"])?t:null}function _(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case d:return"Fragment";case f:return"Portal";case p:return"Profiler";case h:return"StrictMode";case y:return"Suspense";case m:return"SuspenseList"}if("object"===e(t))switch(t.$$typeof){case C:return"Context.Consumer";case A:return"Context.Provider";case I:var n=t.render;return n=n.displayName||n.name||"",t.displayName||(""!==n?"ForwardRef("+n+")":"ForwardRef");case b:return _(t.type);case w:return _(t.render);case x:if(t=1===t._status?t._result:null)return _(t)}return null}function k(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).effectTag)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function j(t){if(k(t)!==t)throw Error(c(188))}function E(t){var e=t.alternate;if(!e){if(null===(e=k(t)))throw Error(c(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return j(i),t;if(o===r)return j(i),e;o=o.sibling}throw Error(c(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(c(189))}}if(n.alternate!==r)throw Error(c(190))}if(3!==n.tag)throw Error(c(188));return n.stateNode.current===n?t:e}function P(t){if(!(t=E(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}var M=i.getPublicInstance,T=i.getRootHostContext,R=i.getChildHostContext,D=i.prepareForCommit,N=i.resetAfterCommit,L=i.createInstance,F=i.appendInitialChild,B=i.finalizeInitialChildren,z=i.prepareUpdate,V=i.shouldSetTextContent,G=i.shouldDeprioritizeSubtree,W=i.createTextInstance,Y=i.setTimeout,H=i.clearTimeout,U=i.noTimeout,X=i.isPrimaryRenderer,Z=i.supportsMutation,q=i.supportsPersistence,K=i.supportsHydration,Q=i.appendChild,J=i.appendChildToContainer,$=i.commitTextUpdate,tt=i.commitMount,et=i.commitUpdate,nt=i.insertBefore,rt=i.insertInContainerBefore,it=i.removeChild,ot=i.removeChildFromContainer,at=i.resetTextContent,st=i.hideInstance,ct=i.hideTextInstance,lt=i.unhideInstance,ut=i.unhideTextInstance,gt=i.cloneInstance,ft=i.createContainerChildSet,dt=i.appendChildToContainerChildSet,ht=i.finalizeContainerChildren,pt=i.replaceContainerChildren,At=i.cloneHiddenInstance,Ct=i.cloneHiddenTextInstance,vt=i.canHydrateInstance,It=i.canHydrateTextInstance,yt=i.isSuspenseInstancePending,mt=i.isSuspenseInstanceFallback,bt=i.getNextHydratableSibling,xt=i.getFirstHydratableChild,wt=i.hydrateInstance,Ot=i.hydrateTextInstance,St=i.getNextHydratableInstanceAfterSuspenseInstance,_t=i.commitHydratedContainer,kt=i.commitHydratedSuspenseInstance,jt=/^(.*)[\\\/]/;function Et(t){var e="";do{t:switch(t.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break t;default:var r=t._debugOwner,i=t._debugSource,o=_(t.type);n=null,r&&(n=_(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(jt,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}e+=n,t=t.return}while(t);return e}var Pt=[],Mt=-1;function Tt(t){0>Mt||(t.current=Pt[Mt],Pt[Mt]=null,Mt--)}function Rt(t,e){Mt++,Pt[Mt]=t.current,t.current=e}var Dt={},Nt={current:Dt},Lt={current:!1},Ft=Dt;function Bt(t,e){var n=t.type.contextTypes;if(!n)return Dt;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function zt(t){return null!==(t=t.childContextTypes)&&void 0!==t}function Vt(){Tt(Lt),Tt(Nt)}function Gt(t,e,n){if(Nt.current!==Dt)throw Error(c(168));Rt(Nt,e),Rt(Lt,n)}function Wt(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(c(108,_(e)||"Unknown",i));return o({},n,{},r)}function Yt(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Dt,Ft=Nt.current,Rt(Nt,t),Rt(Lt,Lt.current),!0}function Ht(t,e,n){var r=t.stateNode;if(!r)throw Error(c(169));n?(t=Wt(t,e,Ft),r.__reactInternalMemoizedMergedChildContext=t,Tt(Lt),Tt(Nt),Rt(Nt,t)):Tt(Lt),Rt(Lt,n)}var Ut=s.unstable_runWithPriority,Xt=s.unstable_scheduleCallback,Zt=s.unstable_cancelCallback,qt=s.unstable_requestPaint,Kt=s.unstable_now,Qt=s.unstable_getCurrentPriorityLevel,Jt=s.unstable_ImmediatePriority,$t=s.unstable_UserBlockingPriority,te=s.unstable_NormalPriority,ee=s.unstable_LowPriority,ne=s.unstable_IdlePriority,re={},ie=s.unstable_shouldYield,oe=void 0!==qt?qt:function(){},ae=null,se=null,ce=!1,le=Kt(),ue=1e4>le?Kt:function(){return Kt()-le};function ge(){switch(Qt()){case Jt:return 99;case $t:return 98;case te:return 97;case ee:return 96;case ne:return 95;default:throw Error(c(332))}}function fe(t){switch(t){case 99:return Jt;case 98:return $t;case 97:return te;case 96:return ee;case 95:return ne;default:throw Error(c(332))}}function de(t,e){return t=fe(t),Ut(t,e)}function he(t,e,n){return t=fe(t),Xt(t,e,n)}function pe(t){return null===ae?(ae=[t],se=Xt(Jt,Ce)):ae.push(t),re}function Ae(){if(null!==se){var t=se;se=null,Zt(t)}Ce()}function Ce(){if(!ce&&null!==ae){ce=!0;var t=0;try{var e=ae;de(99,(function(){for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}})),ae=null}catch(n){throw null!==ae&&(ae=ae.slice(t+1)),Xt(Jt,Ae),n}finally{ce=!1}}}function ve(t,e,n){return 1073741821-(1+((1073741821-t+e/10)/(n/=10)|0))*n}var Ie="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},ye=Object.prototype.hasOwnProperty;function me(t,n){if(Ie(t,n))return!0;if("object"!==e(t)||null===t||"object"!==e(n)||null===n)return!1;var r=Object.keys(t),i=Object.keys(n);if(r.length!==i.length)return!1;for(i=0;i<r.length;i++)if(!ye.call(n,r[i])||!Ie(t[r[i]],n[r[i]]))return!1;return!0}function be(t,e){if(t&&t.defaultProps)for(var n in e=o({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}var xe={current:null},we=null,Oe=null,Se=null;function _e(){Se=Oe=we=null}function ke(t,e){t=t.type._context,X?(Rt(xe,t._currentValue),t._currentValue=e):(Rt(xe,t._currentValue2),t._currentValue2=e)}function je(t){var e=xe.current;Tt(xe),t=t.type._context,X?t._currentValue=e:t._currentValue2=e}function Ee(t,e){for(;null!==t;){var n=t.alternate;if(t.childExpirationTime<e)t.childExpirationTime=e,null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e);else{if(!(null!==n&&n.childExpirationTime<e))break;n.childExpirationTime=e}t=t.return}}function Pe(t,e){we=t,Se=Oe=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(t.expirationTime>=e&&(or=!0),t.firstContext=null)}function Me(t,e){if(Se!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(Se=t,e=1073741823),e={context:t,observedBits:e,next:null},null===Oe){if(null===we)throw Error(c(308));Oe=e,we.dependencies={expirationTime:0,firstContext:e,responders:null}}else Oe=Oe.next=e;return X?t._currentValue:t._currentValue2}var Te=!1;function Re(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function De(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function Ne(t,e){return(t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null}).next=t}function Le(t,e){if(null!==(t=t.updateQueue)){var n=(t=t.shared).pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function Fe(t,e){var n=t.alternate;null!==n&&De(n,t),null===(n=(t=t.updateQueue).baseQueue)?(t.baseQueue=e.next=e,e.next=e):(e.next=n.next,n.next=e)}function Be(t,e,n,r){var i=t.updateQueue;Te=!1;var a=i.baseQueue,s=i.shared.pending;if(null!==s){if(null!==a){var c=a.next;a.next=s.next,s.next=c}a=s,i.shared.pending=null,null!==(c=t.alternate)&&null!==(c=c.updateQueue)&&(c.baseQueue=s)}if(null!==a){c=a.next;var l=i.baseState,u=0,g=null,f=null,d=null;if(null!==c)for(var h=c;;){if((s=h.expirationTime)<r){var p={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===d?(f=d=p,g=l):d=d.next=p,s>u&&(u=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),Wi(s,h.suspenseConfig);t:{var A=t,C=h;switch(s=e,p=n,C.tag){case 1:if("function"===typeof(A=C.payload)){l=A.call(p,l,s);break t}l=A;break t;case 3:A.effectTag=-4097&A.effectTag|64;case 0:if(null===(s="function"===typeof(A=C.payload)?A.call(p,l,s):A)||void 0===s)break t;l=o({},l,s);break t;case 2:Te=!0}}null!==h.callback&&(t.effectTag|=32,null===(s=i.effects)?i.effects=[h]:s.push(h))}if(null===(h=h.next)||h===c){if(null===(s=i.shared.pending))break;h=a.next=s.next,s.next=c,i.baseQueue=a=s,i.shared.pending=null}}null===d?g=l:d.next=f,i.baseState=g,i.baseQueue=d,Yi(u),t.expirationTime=u,t.memoizedState=l}}function ze(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!==typeof r)throw Error(c(191,r));r.call(i)}}}var Ve=l.ReactCurrentBatchConfig,Ge=(new a.Component).refs;function We(t,e,n,r){n=null===(n=n(r,e=t.memoizedState))||void 0===n?e:o({},e,n),t.memoizedState=n,0===t.expirationTime&&(t.updateQueue.baseState=n)}var Ye={isMounted:function(t){return!!(t=t._reactInternalFiber)&&k(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternalFiber;var r=Ei(),i=Ve.suspense;(i=Ne(r=Pi(r,t,i),i)).payload=e,void 0!==n&&null!==n&&(i.callback=n),Le(t,i),Mi(t,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternalFiber;var r=Ei(),i=Ve.suspense;(i=Ne(r=Pi(r,t,i),i)).tag=1,i.payload=e,void 0!==n&&null!==n&&(i.callback=n),Le(t,i),Mi(t,r)},enqueueForceUpdate:function(t,e){t=t._reactInternalFiber;var n=Ei(),r=Ve.suspense;(r=Ne(n=Pi(n,t,r),r)).tag=2,void 0!==e&&null!==e&&(r.callback=e),Le(t,r),Mi(t,n)}};function He(t,e,n,r,i,o,a){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,o,a):!e.prototype||!e.prototype.isPureReactComponent||!me(n,r)||!me(i,o)}function Ue(t,n,r){var i=!1,o=Dt,a=n.contextType;return"object"===e(a)&&null!==a?a=Me(a):(o=zt(n)?Ft:Nt.current,a=(i=null!==(i=n.contextTypes)&&void 0!==i)?Bt(t,o):Dt),n=new n(r,a),t.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=Ye,t.stateNode=n,n._reactInternalFiber=t,i&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,t.__reactInternalMemoizedMaskedChildContext=a),n}function Xe(t,e,n,r){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&Ye.enqueueReplaceState(e,e.state,null)}function Ze(t,n,r,i){var o=t.stateNode;o.props=r,o.state=t.memoizedState,o.refs=Ge,Re(t);var a=n.contextType;"object"===e(a)&&null!==a?o.context=Me(a):(a=zt(n)?Ft:Nt.current,o.context=Bt(t,a)),Be(t,r,o,i),o.state=t.memoizedState,"function"===typeof(a=n.getDerivedStateFromProps)&&(We(t,n,a,r),o.state=t.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(n=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),n!==o.state&&Ye.enqueueReplaceState(o,o.state,null),Be(t,r,o,i),o.state=t.memoizedState),"function"===typeof o.componentDidMount&&(t.effectTag|=4)}var qe=Array.isArray;function Ke(t,n,r){if(null!==(t=r.ref)&&"function"!==typeof t&&"object"!==e(t)){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(c(309));var i=r.stateNode}if(!i)throw Error(c(147,t));var o=""+t;return null!==n&&null!==n.ref&&"function"===typeof n.ref&&n.ref._stringRef===o?n.ref:((n=function(t){var e=i.refs;e===Ge&&(e=i.refs={}),null===t?delete e[o]:e[o]=t})._stringRef=o,n)}if("string"!==typeof t)throw Error(c(284));if(!r._owner)throw Error(c(290,t))}return t}function Qe(t,e){if("textarea"!==t.type)throw Error(c(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e,""))}function Je(t){function n(e,n){if(t){var r=e.lastEffect;null!==r?(r.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function r(e,r){if(!t)return null;for(;null!==r;)n(e,r),r=r.sibling;return null}function i(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(t,e){return(t=go(t,e)).index=0,t.sibling=null,t}function a(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.effectTag=2,n):r:(e.effectTag=2,n):n}function s(e){return t&&null===e.alternate&&(e.effectTag=2),e}function l(t,e,n,r){return null===e||6!==e.tag?((e=po(n,t.mode,r)).return=t,e):((e=o(e,n)).return=t,e)}function u(t,e,n,r){return null!==e&&e.elementType===n.type?((r=o(e,n.props)).ref=Ke(t,e,n),r.return=t,r):((r=fo(n.type,n.key,n.props,null,t.mode,r)).ref=Ke(t,e,n),r.return=t,r)}function h(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=Ao(n,t.mode,r)).return=t,e):((e=o(e,n.children||[])).return=t,e)}function p(t,e,n,r,i){return null===e||7!==e.tag?((e=ho(n,t.mode,r,i)).return=t,e):((e=o(e,n)).return=t,e)}function A(t,n,r){if("string"===typeof n||"number"===typeof n)return(n=po(""+n,t.mode,r)).return=t,n;if("object"===e(n)&&null!==n){switch(n.$$typeof){case g:return(r=fo(n.type,n.key,n.props,null,t.mode,r)).ref=Ke(t,null,n),r.return=t,r;case f:return(n=Ao(n,t.mode,r)).return=t,n}if(qe(n)||S(n))return(n=ho(n,t.mode,r,null)).return=t,n;Qe(t,n)}return null}function C(t,n,r,i){var o=null!==n?n.key:null;if("string"===typeof r||"number"===typeof r)return null!==o?null:l(t,n,""+r,i);if("object"===e(r)&&null!==r){switch(r.$$typeof){case g:return r.key===o?r.type===d?p(t,n,r.props.children,i,o):u(t,n,r,i):null;case f:return r.key===o?h(t,n,r,i):null}if(qe(r)||S(r))return null!==o?null:p(t,n,r,i,null);Qe(t,r)}return null}function v(t,n,r,i,o){if("string"===typeof i||"number"===typeof i)return l(n,t=t.get(r)||null,""+i,o);if("object"===e(i)&&null!==i){switch(i.$$typeof){case g:return t=t.get(null===i.key?r:i.key)||null,i.type===d?p(n,t,i.props.children,o,i.key):u(n,t,i,o);case f:return h(n,t=t.get(null===i.key?r:i.key)||null,i,o)}if(qe(i)||S(i))return p(n,t=t.get(r)||null,i,o,null);Qe(n,i)}return null}function I(e,o,s,c){for(var l=null,u=null,g=o,f=o=0,d=null;null!==g&&f<s.length;f++){g.index>f?(d=g,g=null):d=g.sibling;var h=C(e,g,s[f],c);if(null===h){null===g&&(g=d);break}t&&g&&null===h.alternate&&n(e,g),o=a(h,o,f),null===u?l=h:u.sibling=h,u=h,g=d}if(f===s.length)return r(e,g),l;if(null===g){for(;f<s.length;f++)null!==(g=A(e,s[f],c))&&(o=a(g,o,f),null===u?l=g:u.sibling=g,u=g);return l}for(g=i(e,g);f<s.length;f++)null!==(d=v(g,e,f,s[f],c))&&(t&&null!==d.alternate&&g.delete(null===d.key?f:d.key),o=a(d,o,f),null===u?l=d:u.sibling=d,u=d);return t&&g.forEach((function(t){return n(e,t)})),l}function y(e,o,s,l){var u=S(s);if("function"!==typeof u)throw Error(c(150));if(null==(s=u.call(s)))throw Error(c(151));for(var g=u=null,f=o,d=o=0,h=null,p=s.next();null!==f&&!p.done;d++,p=s.next()){f.index>d?(h=f,f=null):h=f.sibling;var I=C(e,f,p.value,l);if(null===I){null===f&&(f=h);break}t&&f&&null===I.alternate&&n(e,f),o=a(I,o,d),null===g?u=I:g.sibling=I,g=I,f=h}if(p.done)return r(e,f),u;if(null===f){for(;!p.done;d++,p=s.next())null!==(p=A(e,p.value,l))&&(o=a(p,o,d),null===g?u=p:g.sibling=p,g=p);return u}for(f=i(e,f);!p.done;d++,p=s.next())null!==(p=v(f,e,d,p.value,l))&&(t&&null!==p.alternate&&f.delete(null===p.key?d:p.key),o=a(p,o,d),null===g?u=p:g.sibling=p,g=p);return t&&f.forEach((function(t){return n(e,t)})),u}return function(t,i,a,l){var u="object"===e(a)&&null!==a&&a.type===d&&null===a.key;u&&(a=a.props.children);var h="object"===e(a)&&null!==a;if(h)switch(a.$$typeof){case g:t:{for(h=a.key,u=i;null!==u;){if(u.key===h){switch(u.tag){case 7:if(a.type===d){r(t,u.sibling),(i=o(u,a.props.children)).return=t,t=i;break t}break;default:if(u.elementType===a.type){r(t,u.sibling),(i=o(u,a.props)).ref=Ke(t,u,a),i.return=t,t=i;break t}}r(t,u);break}n(t,u),u=u.sibling}a.type===d?((i=ho(a.props.children,t.mode,l,a.key)).return=t,t=i):((l=fo(a.type,a.key,a.props,null,t.mode,l)).ref=Ke(t,i,a),l.return=t,t=l)}return s(t);case f:t:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){r(t,i.sibling),(i=o(i,a.children||[])).return=t,t=i;break t}r(t,i);break}n(t,i),i=i.sibling}(i=Ao(a,t.mode,l)).return=t,t=i}return s(t)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==i&&6===i.tag?(r(t,i.sibling),(i=o(i,a)).return=t,t=i):(r(t,i),(i=po(a,t.mode,l)).return=t,t=i),s(t);if(qe(a))return I(t,i,a,l);if(S(a))return y(t,i,a,l);if(h&&Qe(t,a),"undefined"===typeof a&&!u)switch(t.tag){case 1:case 0:throw t=t.type,Error(c(152,t.displayName||t.name||"Component"))}return r(t,i)}}var $e=Je(!0),tn=Je(!1),en={},nn={current:en},rn={current:en},on={current:en};function an(t){if(t===en)throw Error(c(174));return t}function sn(t,e){Rt(on,e),Rt(rn,t),Rt(nn,en),t=T(e),Tt(nn),Rt(nn,t)}function cn(){Tt(nn),Tt(rn),Tt(on)}function ln(t){var e=an(on.current),n=an(nn.current);n!==(e=R(n,t.type,e))&&(Rt(rn,t),Rt(nn,e))}function un(t){rn.current===t&&(Tt(nn),Tt(rn))}var gn={current:0};function fn(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||yt(n)||mt(n)))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function dn(t,e){return{responder:t,props:e}}var hn=l.ReactCurrentDispatcher,pn=l.ReactCurrentBatchConfig,An=0,Cn=null,vn=null,In=null,yn=!1;function mn(){throw Error(c(321))}function bn(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Ie(t[n],e[n]))return!1;return!0}function xn(t,e,n,r,i,o){if(An=o,Cn=e,e.memoizedState=null,e.updateQueue=null,e.expirationTime=0,hn.current=null===t||null===t.memoizedState?Un:Xn,t=n(r,i),e.expirationTime===An){o=0;do{if(e.expirationTime=0,!(25>o))throw Error(c(301));o+=1,In=vn=null,e.updateQueue=null,hn.current=Zn,t=n(r,i)}while(e.expirationTime===An)}if(hn.current=Hn,e=null!==vn&&null!==vn.next,An=0,In=vn=Cn=null,yn=!1,e)throw Error(c(300));return t}function wn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===In?Cn.memoizedState=In=t:In=In.next=t,In}function On(){if(null===vn){var t=Cn.alternate;t=null!==t?t.memoizedState:null}else t=vn.next;var e=null===In?Cn.memoizedState:In.next;if(null!==e)In=e,vn=t;else{if(null===t)throw Error(c(310));t={memoizedState:(vn=t).memoizedState,baseState:vn.baseState,baseQueue:vn.baseQueue,queue:vn.queue,next:null},null===In?Cn.memoizedState=In=t:In=In.next=t}return In}function Sn(t,e){return"function"===typeof e?e(t):e}function _n(t){var e=On(),n=e.queue;if(null===n)throw Error(c(311));n.lastRenderedReducer=t;var r=vn,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=a=o=null,l=i;do{var u=l.expirationTime;if(u<An){var g={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===s?(a=s=g,o=r):s=s.next=g,u>Cn.expirationTime&&(Cn.expirationTime=u,Yi(u))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),Wi(u,l.suspenseConfig),r=l.eagerReducer===t?l.eagerState:t(r,l.action);l=l.next}while(null!==l&&l!==i);null===s?o=r:s.next=a,Ie(r,e.memoizedState)||(or=!0),e.memoizedState=r,e.baseState=o,e.baseQueue=s,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function kn(t){var e=On(),n=e.queue;if(null===n)throw Error(c(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do{o=t(o,a.action),a=a.next}while(a!==i);Ie(o,e.memoizedState)||(or=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function jn(t){var e=wn();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:t}).dispatch=Yn.bind(null,Cn,t),[e.memoizedState,t]}function En(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=Cn.updateQueue)?(e={lastEffect:null},Cn.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function Pn(){return On().memoizedState}function Mn(t,e,n,r){var i=wn();Cn.effectTag|=t,i.memoizedState=En(1|e,n,void 0,void 0===r?null:r)}function Tn(t,e,n,r){var i=On();r=void 0===r?null:r;var o=void 0;if(null!==vn){var a=vn.memoizedState;if(o=a.destroy,null!==r&&bn(r,a.deps))return void En(e,n,o,r)}Cn.effectTag|=t,i.memoizedState=En(1|e,n,o,r)}function Rn(t,e){return Mn(516,4,t,e)}function Dn(t,e){return Tn(516,4,t,e)}function Nn(t,e){return Tn(4,2,t,e)}function Ln(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Fn(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,Tn(4,2,Ln.bind(null,e,t),n)}function Bn(){}function zn(t,e){return wn().memoizedState=[t,void 0===e?null:e],t}function Vn(t,e){var n=On();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&bn(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Gn(t,e){var n=On();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&bn(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function Wn(t,e,n){var r=ge();de(98>r?98:r,(function(){t(!0)})),de(97<r?97:r,(function(){var r=pn.suspense;pn.suspense=void 0===e?null:e;try{t(!1),n()}finally{pn.suspense=r}}))}function Yn(t,e,n){var r=Ei(),i=Ve.suspense;i={expirationTime:r=Pi(r,t,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=e.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),e.pending=i,o=t.alternate,t===Cn||null!==o&&o===Cn)yn=!0,i.expirationTime=An,Cn.expirationTime=An;else{if(0===t.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=e.lastRenderedReducer))try{var a=e.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Ie(s,a))return}catch(c){}Mi(t,r)}}var Hn={readContext:Me,useCallback:mn,useContext:mn,useEffect:mn,useImperativeHandle:mn,useLayoutEffect:mn,useMemo:mn,useReducer:mn,useRef:mn,useState:mn,useDebugValue:mn,useResponder:mn,useDeferredValue:mn,useTransition:mn},Un={readContext:Me,useCallback:zn,useContext:Me,useEffect:Rn,useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,Mn(4,2,Ln.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Mn(4,2,t,e)},useMemo:function(t,e){var n=wn();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=wn();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=(t=r.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=Yn.bind(null,Cn,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},wn().memoizedState=t},useState:jn,useDebugValue:Bn,useResponder:dn,useDeferredValue:function(t,e){var n=jn(t),r=n[0],i=n[1];return Rn((function(){var n=pn.suspense;pn.suspense=void 0===e?null:e;try{i(t)}finally{pn.suspense=n}}),[t,e]),r},useTransition:function(t){var e=jn(!1),n=e[0];return e=e[1],[zn(Wn.bind(null,e,t),[e,t]),n]}},Xn={readContext:Me,useCallback:Vn,useContext:Me,useEffect:Dn,useImperativeHandle:Fn,useLayoutEffect:Nn,useMemo:Gn,useReducer:_n,useRef:Pn,useState:function(){return _n(Sn)},useDebugValue:Bn,useResponder:dn,useDeferredValue:function(t,e){var n=_n(Sn),r=n[0],i=n[1];return Dn((function(){var n=pn.suspense;pn.suspense=void 0===e?null:e;try{i(t)}finally{pn.suspense=n}}),[t,e]),r},useTransition:function(t){var e=_n(Sn),n=e[0];return e=e[1],[Vn(Wn.bind(null,e,t),[e,t]),n]}},Zn={readContext:Me,useCallback:Vn,useContext:Me,useEffect:Dn,useImperativeHandle:Fn,useLayoutEffect:Nn,useMemo:Gn,useReducer:kn,useRef:Pn,useState:function(){return kn(Sn)},useDebugValue:Bn,useResponder:dn,useDeferredValue:function(t,e){var n=kn(Sn),r=n[0],i=n[1];return Dn((function(){var n=pn.suspense;pn.suspense=void 0===e?null:e;try{i(t)}finally{pn.suspense=n}}),[t,e]),r},useTransition:function(t){var e=kn(Sn),n=e[0];return e=e[1],[Vn(Wn.bind(null,e,t),[e,t]),n]}},qn=null,Kn=null,Qn=!1;function Jn(t,e){var n=lo(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function $n(t,e){switch(t.tag){case 5:return null!==(e=vt(e,t.type,t.pendingProps))&&(t.stateNode=e,!0);case 6:return null!==(e=It(e,t.pendingProps))&&(t.stateNode=e,!0);case 13:default:return!1}}function tr(t){if(Qn){var e=Kn;if(e){var n=e;if(!$n(t,e)){if(!(e=bt(n))||!$n(t,e))return t.effectTag=-1025&t.effectTag|2,Qn=!1,void(qn=t);Jn(qn,n)}qn=t,Kn=xt(e)}else t.effectTag=-1025&t.effectTag|2,Qn=!1,qn=t}}function er(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;qn=t}function nr(t){if(!K||t!==qn)return!1;if(!Qn)return er(t),Qn=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!V(e,t.memoizedProps))for(e=Kn;e;)Jn(t,e),e=bt(e);if(er(t),13===t.tag){if(!K)throw Error(c(316));if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(c(317));Kn=St(t)}else Kn=qn?bt(t.stateNode):null;return!0}function rr(){K&&(Kn=qn=null,Qn=!1)}var ir=l.ReactCurrentOwner,or=!1;function ar(t,e,n,r){e.child=null===t?tn(e,null,n,r):$e(e,t.child,n,r)}function sr(t,e,n,r,i){n=n.render;var o=e.ref;return Pe(e,i),r=xn(t,e,n,r,o,i),null===t||or?(e.effectTag|=1,ar(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),wr(t,e,i))}function cr(t,e,n,r,i,o){if(null===t){var a=n.type;return"function"!==typeof a||uo(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=fo(n.type,null,r,null,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,lr(t,e,a,r,i,o))}return a=t.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:me)(i,r)&&t.ref===e.ref)?wr(t,e,o):(e.effectTag|=1,(t=go(a,r)).ref=e.ref,t.return=e,e.child=t)}function lr(t,e,n,r,i,o){return null!==t&&me(t.memoizedProps,r)&&t.ref===e.ref&&(or=!1,i<o)?(e.expirationTime=t.expirationTime,wr(t,e,o)):gr(t,e,n,r,o)}function ur(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.effectTag|=128)}function gr(t,e,n,r,i){var o=zt(n)?Ft:Nt.current;return o=Bt(e,o),Pe(e,i),n=xn(t,e,n,r,o,i),null===t||or?(e.effectTag|=1,ar(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),wr(t,e,i))}function fr(t,n,r,i,o){if(zt(r)){var a=!0;Yt(n)}else a=!1;if(Pe(n,o),null===n.stateNode)null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),Ue(n,r,i),Ze(n,r,i,o),i=!0;else if(null===t){var s=n.stateNode,c=n.memoizedProps;s.props=c;var l=s.context,u=r.contextType;u="object"===e(u)&&null!==u?Me(u):Bt(n,u=zt(r)?Ft:Nt.current);var g=r.getDerivedStateFromProps,f="function"===typeof g||"function"===typeof s.getSnapshotBeforeUpdate;f||"function"!==typeof s.UNSAFE_componentWillReceiveProps&&"function"!==typeof s.componentWillReceiveProps||(c!==i||l!==u)&&Xe(n,s,i,u),Te=!1;var d=n.memoizedState;s.state=d,Be(n,i,s,o),l=n.memoizedState,c!==i||d!==l||Lt.current||Te?("function"===typeof g&&(We(n,r,g,i),l=n.memoizedState),(c=Te||He(n,r,c,i,d,l,u))?(f||"function"!==typeof s.UNSAFE_componentWillMount&&"function"!==typeof s.componentWillMount||("function"===typeof s.componentWillMount&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"===typeof s.componentDidMount&&(n.effectTag|=4)):("function"===typeof s.componentDidMount&&(n.effectTag|=4),n.memoizedProps=i,n.memoizedState=l),s.props=i,s.state=l,s.context=u,i=c):("function"===typeof s.componentDidMount&&(n.effectTag|=4),i=!1)}else s=n.stateNode,De(t,n),c=n.memoizedProps,s.props=n.type===n.elementType?c:be(n.type,c),l=s.context,u="object"===e(u=r.contextType)&&null!==u?Me(u):Bt(n,u=zt(r)?Ft:Nt.current),(f="function"===typeof(g=r.getDerivedStateFromProps)||"function"===typeof s.getSnapshotBeforeUpdate)||"function"!==typeof s.UNSAFE_componentWillReceiveProps&&"function"!==typeof s.componentWillReceiveProps||(c!==i||l!==u)&&Xe(n,s,i,u),Te=!1,l=n.memoizedState,s.state=l,Be(n,i,s,o),d=n.memoizedState,c!==i||l!==d||Lt.current||Te?("function"===typeof g&&(We(n,r,g,i),d=n.memoizedState),(g=Te||He(n,r,c,i,l,d,u))?(f||"function"!==typeof s.UNSAFE_componentWillUpdate&&"function"!==typeof s.componentWillUpdate||("function"===typeof s.componentWillUpdate&&s.componentWillUpdate(i,d,u),"function"===typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(i,d,u)),"function"===typeof s.componentDidUpdate&&(n.effectTag|=4),"function"===typeof s.getSnapshotBeforeUpdate&&(n.effectTag|=256)):("function"!==typeof s.componentDidUpdate||c===t.memoizedProps&&l===t.memoizedState||(n.effectTag|=4),"function"!==typeof s.getSnapshotBeforeUpdate||c===t.memoizedProps&&l===t.memoizedState||(n.effectTag|=256),n.memoizedProps=i,n.memoizedState=d),s.props=i,s.state=d,s.context=u,i=g):("function"!==typeof s.componentDidUpdate||c===t.memoizedProps&&l===t.memoizedState||(n.effectTag|=4),"function"!==typeof s.getSnapshotBeforeUpdate||c===t.memoizedProps&&l===t.memoizedState||(n.effectTag|=256),i=!1);return dr(t,n,r,i,a,o)}function dr(t,e,n,r,i,o){ur(t,e);var a=0!==(64&e.effectTag);if(!r&&!a)return i&&Ht(e,n,!1),wr(t,e,o);r=e.stateNode,ir.current=e;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return e.effectTag|=1,null!==t&&a?(e.child=$e(e,t.child,null,o),e.child=$e(e,null,s,o)):ar(t,e,s,o),e.memoizedState=r.state,i&&Ht(e,n,!0),e.child}function hr(t){var e=t.stateNode;e.pendingContext?Gt(0,e.pendingContext,e.pendingContext!==e.context):e.context&&Gt(0,e.context,!1),sn(t,e.containerInfo)}var pr,Ar,Cr,vr,Ir={dehydrated:null,retryTime:0};function yr(t,e,n){var r,i=e.mode,o=e.pendingProps,a=gn.current,s=!1;if((r=0!==(64&e.effectTag))||(r=0!==(2&a)&&(null===t||null!==t.memoizedState)),r?(s=!0,e.effectTag&=-65):null!==t&&null===t.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),Rt(gn,1&a),null===t){if(void 0!==o.fallback&&tr(e),s){if(s=o.fallback,(o=ho(null,i,0,null)).return=e,0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(n=ho(s,i,n,null)).return=e,o.sibling=n,e.memoizedState=Ir,e.child=o,n}return i=o.children,e.memoizedState=null,e.child=tn(e,null,i,n)}if(null!==t.memoizedState){if(i=(t=t.child).sibling,s){if(o=o.fallback,(n=go(t,t.pendingProps)).return=e,0===(2&e.mode)&&(s=null!==e.memoizedState?e.child.child:e.child)!==t.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=go(i,o)).return=e,n.sibling=i,n.childExpirationTime=0,e.memoizedState=Ir,e.child=n,i}return n=$e(e,t.child,o.children,n),e.memoizedState=null,e.child=n}if(t=t.child,s){if(s=o.fallback,(o=ho(null,i,0,null)).return=e,o.child=t,null!==t&&(t.return=o),0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(n=ho(s,i,n,null)).return=e,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,e.memoizedState=Ir,e.child=o,n}return e.memoizedState=null,e.child=$e(e,t,o.children,n)}function mr(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e),Ee(t.return,e)}function br(t,e,n,r,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function xr(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(ar(t,e,r.children,n),0!==(2&(r=gn.current)))r=1&r|2,e.effectTag|=64;else{if(null!==t&&0!==(64&t.effectTag))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&mr(t,n);else if(19===t.tag)mr(t,n);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Rt(gn,r),0===(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;null!==n;)null!==(t=n.alternate)&&null===fn(t)&&(i=n),n=n.sibling;null===(n=i)?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),br(e,!1,i,n,o,e.lastEffect);break;case"backwards":for(n=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===fn(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}br(e,!0,n,null,o,e.lastEffect);break;case"together":br(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function wr(t,e,n){null!==t&&(e.dependencies=t.dependencies);var r=e.expirationTime;if(0!==r&&Yi(r),e.childExpirationTime<n)return null;if(null!==t&&e.child!==t.child)throw Error(c(153));if(null!==e.child){for(n=go(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=go(t,t.pendingProps)).return=e;n.sibling=null}return e.child}function Or(t){t.effectTag|=4}if(Z)pr=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)F(t,n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ar=function(){},Cr=function(t,e,n,r,i){if((t=t.memoizedProps)!==r){var o=e.stateNode,a=an(nn.current);n=z(o,n,t,r,i,a),(e.updateQueue=n)&&Or(e)}},vr=function(t,e,n,r){n!==r&&Or(e)};else if(q){pr=function(t,e,n,r){for(var i=e.child;null!==i;){if(5===i.tag){var o=i.stateNode;n&&r&&(o=At(o,i.type,i.memoizedProps,i)),F(t,o)}else if(6===i.tag)o=i.stateNode,n&&r&&(o=Ct(o,i.memoizedProps,i)),F(t,o);else if(4!==i.tag){if(13===i.tag&&0!==(4&i.effectTag)&&(o=null!==i.memoizedState)){var a=i.child;if(null!==a&&(null!==a.child&&(a.child.return=a,pr(t,a,!0,o)),null!==(o=a.sibling))){o.return=i,i=o;continue}}if(null!==i.child){i.child.return=i,i=i.child;continue}}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};var Sr=function t(e,n,r,i){for(var o=n.child;null!==o;){if(5===o.tag){var a=o.stateNode;r&&i&&(a=At(a,o.type,o.memoizedProps,o)),dt(e,a)}else if(6===o.tag)a=o.stateNode,r&&i&&(a=Ct(a,o.memoizedProps,o)),dt(e,a);else if(4!==o.tag){if(13===o.tag&&0!==(4&o.effectTag)&&(a=null!==o.memoizedState)){var s=o.child;if(null!==s&&(null!==s.child&&(s.child.return=s,t(e,s,!0,a)),null!==(a=s.sibling))){a.return=o,o=a;continue}}if(null!==o.child){o.child.return=o,o=o.child;continue}}if(o===n)break;for(;null===o.sibling;){if(null===o.return||o.return===n)return;o=o.return}o.sibling.return=o.return,o=o.sibling}};Ar=function(t){var e=t.stateNode;if(null!==t.firstEffect){var n=e.containerInfo,r=ft(n);Sr(r,t,!1,!1),e.pendingChildren=r,Or(t),ht(n,r)}},Cr=function(t,e,n,r,i){var o=t.stateNode,a=t.memoizedProps;if((t=null===e.firstEffect)&&a===r)e.stateNode=o;else{var s=e.stateNode,c=an(nn.current),l=null;a!==r&&(l=z(s,n,a,r,i,c)),t&&null===l?e.stateNode=o:(o=gt(o,l,n,a,r,e,t,s),B(o,n,r,i,c)&&Or(e),e.stateNode=o,t?Or(e):pr(o,e,!1,!1))}},vr=function(t,e,n,r){n!==r?(t=an(on.current),n=an(nn.current),e.stateNode=W(r,t,n,e),Or(e)):e.stateNode=t.stateNode}}else Ar=function(){},Cr=function(){},vr=function(){};function _r(t,e){switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function kr(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return zt(e.type)&&Vt(),null;case 3:return cn(),Tt(Lt),Tt(Nt),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===t||null===t.child)&&nr(e)&&Or(e),Ar(e),null;case 5:un(e);var i=an(on.current);if(n=e.type,null!==t&&null!=e.stateNode)Cr(t,e,n,r,i),t.ref!==e.ref&&(e.effectTag|=128);else{if(!r){if(null===e.stateNode)throw Error(c(166));return null}if(t=an(nn.current),nr(e)){if(!K)throw Error(c(175));t=wt(e.stateNode,e.type,e.memoizedProps,i,t,e),e.updateQueue=t,null!==t&&Or(e)}else{var o=L(n,r,i,t,e);pr(o,e,!1,!1),e.stateNode=o,B(o,n,r,i,t)&&Or(e)}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)vr(t,e,t.memoizedProps,r);else{if("string"!==typeof r&&null===e.stateNode)throw Error(c(166));if(t=an(on.current),i=an(nn.current),nr(e)){if(!K)throw Error(c(176));Ot(e.stateNode,e.memoizedProps,e)&&Or(e)}else e.stateNode=W(r,t,i,e)}return null;case 13:return Tt(gn),r=e.memoizedState,0!==(64&e.effectTag)?(e.expirationTime=n,e):(r=null!==r,i=!1,null===t?void 0!==e.memoizedProps.fallback&&nr(e):(i=null!==(n=t.memoizedState),r||null===n||null!==(n=t.child.sibling)&&(null!==(o=e.firstEffect)?(e.firstEffect=n,n.nextEffect=o):(e.firstEffect=e.lastEffect=n,n.nextEffect=null),n.effectTag=8)),r&&!i&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&gn.current)?gi===ii&&(gi=oi):(gi!==ii&&gi!==oi||(gi=ai),0!==Ai&&null!==ci&&(Io(ci,ui),yo(ci,Ai)))),q&&r&&(e.effectTag|=4),Z&&(r||i)&&(e.effectTag|=4),null);case 4:return cn(),Ar(e),null;case 10:return je(e),null;case 17:return zt(e.type)&&Vt(),null;case 19:if(Tt(gn),null===(r=e.memoizedState))return null;if(i=0!==(64&e.effectTag),null===(o=r.rendering)){if(i)_r(r,!1);else if(gi!==ii||null!==t&&0!==(64&t.effectTag))for(t=e.child;null!==t;){if(null!==(o=fn(t))){for(e.effectTag|=64,_r(r,!1),null!==(t=o.updateQueue)&&(e.updateQueue=t,e.effectTag|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,t=n,r=e.child;null!==r;)n=t,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(o=i.alternate)?(i.childExpirationTime=0,i.expirationTime=n,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=o.childExpirationTime,i.expirationTime=o.expirationTime,i.child=o.child,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,n=o.dependencies,i.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders}),r=r.sibling;return Rt(gn,1&gn.current|2),e.child}t=t.sibling}}else{if(!i)if(null!==(t=fn(o))){if(e.effectTag|=64,i=!0,null!==(t=t.updateQueue)&&(e.updateQueue=t,e.effectTag|=4),_r(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate)return null!==(e=e.lastEffect=r.lastEffect)&&(e.nextEffect=null),null}else 2*ue()-r.renderingStartTime>r.tailExpiration&&1<n&&(e.effectTag|=64,i=!0,_r(r,!1),e.expirationTime=e.childExpirationTime=n-1);r.isBackwards?(o.sibling=e.child,e.child=o):(null!==(t=r.last)?t.sibling=o:e.child=o,r.last=o)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=ue()+500),t=r.tail,r.rendering=t,r.tail=t.sibling,r.lastEffect=e.lastEffect,r.renderingStartTime=ue(),t.sibling=null,e=gn.current,Rt(gn,i?1&e|2:1&e),t):null}throw Error(c(156,e.tag))}function jr(t){switch(t.tag){case 1:zt(t.type)&&Vt();var e=t.effectTag;return 4096&e?(t.effectTag=-4097&e|64,t):null;case 3:if(cn(),Tt(Lt),Tt(Nt),0!==(64&(e=t.effectTag)))throw Error(c(285));return t.effectTag=-4097&e|64,t;case 5:return un(t),null;case 13:return Tt(gn),4096&(e=t.effectTag)?(t.effectTag=-4097&e|64,t):null;case 19:return Tt(gn),null;case 4:return cn(),null;case 10:return je(t),null;default:return null}}function Er(t,e){return{value:t,source:e,stack:Et(e)}}var Pr="function"===typeof WeakSet?WeakSet:Set;function Mr(t,e){var n=e.source,r=e.stack;null===r&&null!==n&&(r=Et(n)),null!==n&&_(n.type),e=e.value,null!==t&&1===t.tag&&_(t.type);try{console.error(e)}catch(i){setTimeout((function(){throw i}))}}function Tr(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(n){no(t,n)}else e.current=null}function Rr(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&e.effectTag&&null!==t){var n=t.memoizedProps,r=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?n:be(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(c(163))}function Dr(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==e)}}function Nr(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function Lr(t,e,n){switch(n.tag){case 0:case 11:case 15:case 22:return void Nr(3,n);case 1:if(t=n.stateNode,4&n.effectTag)if(null===e)t.componentDidMount();else{var r=n.elementType===n.type?e.memoizedProps:be(n.type,e.memoizedProps);t.componentDidUpdate(r,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate)}return void(null!==(e=n.updateQueue)&&ze(n,e,t));case 3:if(null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 5:t=M(n.child.stateNode);break;case 1:t=n.child.stateNode}ze(n,e,t)}return;case 5:return t=n.stateNode,void(null===e&&4&n.effectTag&&tt(t,n.type,n.memoizedProps,n));case 6:case 4:case 12:return;case 13:return void(K&&null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&kt(n)))));case 19:case 17:case 20:case 21:return}throw Error(c(163))}function Fr(t,e,n){switch("function"===typeof so&&so(e),e.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var r=t.next;de(97<n?97:n,(function(){var t=r;do{var n=t.destroy;if(void 0!==n){var i=e;try{n()}catch(o){no(i,o)}}t=t.next}while(t!==r)}))}break;case 1:Tr(e),"function"===typeof(n=e.stateNode).componentWillUnmount&&function(t,e){try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(n){no(t,n)}}(e,n);break;case 5:Tr(e);break;case 4:Z?Hr(t,e,n):q&&function(t){if(q){t=t.stateNode.containerInfo;var e=ft(t);pt(t,e)}}(e)}}function Br(t,e,n){for(var r=e;;)if(Fr(t,r,n),null===r.child||Z&&4===r.tag){if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}else r.child.return=r,r=r.child}function zr(t){var e=t.alternate;t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.alternate=null,t.firstEffect=null,t.lastEffect=null,t.pendingProps=null,t.memoizedProps=null,t.stateNode=null,null!==e&&zr(e)}function Vr(t){return 5===t.tag||3===t.tag||4===t.tag}function Gr(t){if(Z){t:{for(var e=t.return;null!==e;){if(Vr(e)){var n=e;break t}e=e.return}throw Error(c(160))}switch(e=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:e=e.containerInfo,r=!0;break;default:throw Error(c(161))}16&n.effectTag&&(at(e),n.effectTag&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||Vr(n.return)){n=null;break t}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue e;if(null===n.child||4===n.tag)continue e;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break t}}r?Wr(t,n,e):Yr(t,n,e)}}function Wr(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?rt(n,t,e):J(n,t);else if(4!==r&&null!==(t=t.child))for(Wr(t,e,n),t=t.sibling;null!==t;)Wr(t,e,n),t=t.sibling}function Yr(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?nt(n,t,e):Q(n,t);else if(4!==r&&null!==(t=t.child))for(Yr(t,e,n),t=t.sibling;null!==t;)Yr(t,e,n),t=t.sibling}function Hr(t,e,n){for(var r,i,o=e,a=!1;;){if(!a){a=o.return;t:for(;;){if(null===a)throw Error(c(160));switch(r=a.stateNode,a.tag){case 5:i=!1;break t;case 3:case 4:r=r.containerInfo,i=!0;break t}a=a.return}a=!0}if(5===o.tag||6===o.tag)Br(t,o,n),i?ot(r,o.stateNode):it(r,o.stateNode);else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(Fr(t,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Ur(t,e){if(Z){switch(e.tag){case 0:case 11:case 14:case 15:case 22:return void Dr(3,e);case 1:return;case 5:var n=e.stateNode;if(null!=n){var r=e.memoizedProps;t=null!==t?t.memoizedProps:r;var i=e.type,o=e.updateQueue;e.updateQueue=null,null!==o&&et(n,o,i,t,r,e)}return;case 6:if(null===e.stateNode)throw Error(c(162));return n=e.memoizedProps,void $(e.stateNode,null!==t?t.memoizedProps:n,n);case 3:return void(K&&(e=e.stateNode,e.hydrate&&(e.hydrate=!1,_t(e.containerInfo))));case 12:return;case 13:return Xr(e),void Zr(e);case 19:return void Zr(e);case 17:return}throw Error(c(163))}switch(e.tag){case 0:case 11:case 14:case 15:case 22:return void Dr(3,e);case 12:return;case 13:return Xr(e),void Zr(e);case 19:return void Zr(e);case 3:K&&(n=e.stateNode).hydrate&&(n.hydrate=!1,_t(n.containerInfo))}t:if(q){switch(e.tag){case 1:case 5:case 6:case 20:break t;case 3:case 4:e=e.stateNode,pt(e.containerInfo,e.pendingChildren);break t}throw Error(c(163))}}function Xr(t){var e=t;if(null===t.memoizedState)var n=!1;else n=!0,e=t.child,vi=ue();if(Z&&null!==e)t:if(t=e,Z)for(e=t;;){if(5===e.tag){var r=e.stateNode;n?st(r):lt(e.stateNode,e.memoizedProps)}else if(6===e.tag)r=e.stateNode,n?ct(r):ut(r,e.memoizedProps);else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(r=e.child.sibling).return=e,e=r;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===t)break t;for(;null===e.sibling;){if(null===e.return||e.return===t)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}}function Zr(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new Pr),e.forEach((function(e){var r=io.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}}var qr="function"===typeof WeakMap?WeakMap:Map;function Kr(t,e,n){(n=Ne(n,null)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){yi||(yi=!0,mi=r),Mr(t,e)},n}function Qr(t,e,n){(n=Ne(n,null)).tag=3;var r=t.type.getDerivedStateFromError;if("function"===typeof r){var i=e.value;n.payload=function(){return Mr(t,e),r(i)}}var o=t.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===bi?bi=new Set([this]):bi.add(this),Mr(t,e));var n=e.stack;this.componentDidCatch(e.value,{componentStack:null!==n?n:""})}),n}var Jr,$r=Math.ceil,ti=l.ReactCurrentDispatcher,ei=l.ReactCurrentOwner,ni=16,ri=32,ii=0,oi=3,ai=4,si=0,ci=null,li=null,ui=0,gi=ii,fi=null,di=1073741823,hi=1073741823,pi=null,Ai=0,Ci=!1,vi=0,Ii=null,yi=!1,mi=null,bi=null,xi=!1,wi=null,Oi=90,Si=null,_i=0,ki=null,ji=0;function Ei(){return 0!==(48&si)?1073741821-(ue()/10|0):0!==ji?ji:ji=1073741821-(ue()/10|0)}function Pi(t,e,n){if(0===(2&(e=e.mode)))return 1073741823;var r=ge();if(0===(4&e))return 99===r?1073741823:1073741822;if(0!==(si&ni))return ui;if(null!==n)t=ve(t,0|n.timeoutMs||5e3,250);else switch(r){case 99:t=1073741823;break;case 98:t=ve(t,150,100);break;case 97:case 96:t=ve(t,5e3,250);break;case 95:t=2;break;default:throw Error(c(326))}return null!==ci&&t===ui&&--t,t}function Mi(t,e){if(50<_i)throw _i=0,ki=null,Error(c(185));if(null!==(t=Ti(t,e))){var n=ge();1073741823===e?0!==(8&si)&&0===(48&si)?Li(t):(Di(t),0===si&&Ae()):Di(t),0===(4&si)||98!==n&&99!==n||(null===Si?Si=new Map([[t,e]]):(void 0===(n=Si.get(t))||n>e)&&Si.set(t,e))}}function Ti(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e);var r=t.return,i=null;if(null===r&&3===t.tag)i=t.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<e&&(r.childExpirationTime=e),null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(ci===i&&(Yi(e),gi===ai&&Io(i,ui)),yo(i,e)),i}function Ri(t){var e=t.lastExpiredTime;if(0!==e)return e;if(!vo(t,e=t.firstPendingTime))return e;var n=t.lastPingedTime;return 2>=(t=n>(t=t.nextKnownPendingLevel)?n:t)&&e!==t?0:t}function Di(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=pe(Li.bind(null,t));else{var e=Ri(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r=Ei();if(r=1073741823===e?99:1===e||2===e?95:0>=(r=10*(1073741821-e)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=r)return;n!==re&&Zt(n)}t.callbackExpirationTime=e,t.callbackPriority=r,e=1073741823===e?pe(Li.bind(null,t)):he(r,Ni.bind(null,t),{timeout:10*(1073741821-e)-ue()}),t.callbackNode=e}}}function Ni(t,e){if(ji=0,e)return mo(t,e=Ei()),Di(t),null;var n=Ri(t);if(0!==n){if(e=t.callbackNode,0!==(48&si))throw Error(c(327));if($i(),t===ci&&n===ui||zi(t,n),null!==li){var r=si;si|=ni;for(var i=Gi();;)try{Ui();break}catch(s){Vi(t,s)}if(_e(),si=r,ti.current=i,1===gi)throw e=fi,zi(t,n),Io(t,n),Di(t),e;if(null===li)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,r=gi,ci=null,r){case ii:case 1:throw Error(c(345));case 2:mo(t,2<n?2:n);break;case oi:if(Io(t,n),n===(r=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=qi(i)),1073741823===di&&10<(i=vi+500-ue())){if(Ci){var o=t.lastPingedTime;if(0===o||o>=n){t.lastPingedTime=n,zi(t,n);break}}if(0!==(o=Ri(t))&&o!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=Y(Ki.bind(null,t),i);break}Ki(t);break;case ai:if(Io(t,n),n===(r=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=qi(i)),Ci&&(0===(i=t.lastPingedTime)||i>=n)){t.lastPingedTime=n,zi(t,n);break}if(0!==(i=Ri(t))&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==hi?r=10*(1073741821-hi)-ue():1073741823===di?r=0:(r=10*(1073741821-di)-5e3,0>(r=(i=ue())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$r(r/1960))-r)&&(r=n)),10<r){t.timeoutHandle=Y(Ki.bind(null,t),r);break}Ki(t);break;case 5:if(1073741823!==di&&null!==pi){o=di;var a=pi;if(0>=(r=0|a.busyMinDurationMs)?r=0:(i=0|a.busyDelayMs,r=(o=ue()-(10*(1073741821-o)-(0|a.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Io(t,n),t.timeoutHandle=Y(Ki.bind(null,t),r);break}}Ki(t);break;default:throw Error(c(329))}if(Di(t),t.callbackNode===e)return Ni.bind(null,t)}}return null}function Li(t){var e=t.lastExpiredTime;if(e=0!==e?e:1073741823,0!==(48&si))throw Error(c(327));if($i(),t===ci&&e===ui||zi(t,e),null!==li){var n=si;si|=ni;for(var r=Gi();;)try{Hi();break}catch(i){Vi(t,i)}if(_e(),si=n,ti.current=r,1===gi)throw n=fi,zi(t,e),Io(t,e),Di(t),n;if(null!==li)throw Error(c(261));t.finishedWork=t.current.alternate,t.finishedExpirationTime=e,ci=null,Ki(t),Di(t)}return null}function Fi(t,e){var n=si;si|=1;try{return t(e)}finally{0===(si=n)&&Ae()}}function Bi(t,e){if(0!==(48&si))throw Error(c(187));var n=si;si|=1;try{return de(99,t.bind(null,e))}finally{si=n,Ae()}}function zi(t,e){t.finishedWork=null,t.finishedExpirationTime=0;var n=t.timeoutHandle;if(n!==U&&(t.timeoutHandle=U,H(n)),null!==li)for(n=li.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Vt();break;case 3:cn(),Tt(Lt),Tt(Nt);break;case 5:un(r);break;case 4:cn();break;case 13:case 19:Tt(gn);break;case 10:je(r)}n=n.return}ci=t,li=go(t.current,null),ui=e,gi=ii,fi=null,hi=di=1073741823,pi=null,Ai=0,Ci=!1}function Vi(t,n){for(;;){try{if(_e(),hn.current=Hn,yn)for(var r=Cn.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}if(An=0,In=vn=Cn=null,yn=!1,null===li||null===li.return)return gi=1,fi=n,li=null;t:{var o=t,a=li.return,s=li,c=n;if(n=ui,s.effectTag|=2048,s.firstEffect=s.lastEffect=null,null!==c&&"object"===e(c)&&"function"===typeof c.then){var l=c;if(0===(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.expirationTime=u.expirationTime):(s.updateQueue=null,s.memoizedState=null)}var g=0!==(1&gn.current),f=a;do{var d;if(d=13===f.tag){var h=f.memoizedState;if(null!==h)d=null!==h.dehydrated;else{var p=f.memoizedProps;d=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!g)}}if(d){var A=f.updateQueue;if(null===A){var C=new Set;C.add(l),f.updateQueue=C}else A.add(l);if(0===(2&f.mode)){if(f.effectTag|=64,s.effectTag&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var v=Ne(1073741823,null);v.tag=2,Le(s,v)}s.expirationTime=1073741823;break t}c=void 0,s=n;var I=o.pingCache;if(null===I?(I=o.pingCache=new qr,c=new Set,I.set(l,c)):void 0===(c=I.get(l))&&(c=new Set,I.set(l,c)),!c.has(s)){c.add(s);var y=ro.bind(null,o,l,s);l.then(y,y)}f.effectTag|=4096,f.expirationTime=n;break t}f=f.return}while(null!==f);c=Error((_(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+Et(s))}5!==gi&&(gi=2),c=Er(c,s),f=a;do{switch(f.tag){case 3:l=c,f.effectTag|=4096,f.expirationTime=n,Fe(f,Kr(f,l,n));break t;case 1:l=c;var m=f.type,b=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof m.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===bi||!bi.has(b)))){f.effectTag|=4096,f.expirationTime=n,Fe(f,Qr(f,l,n));break t}}f=f.return}while(null!==f)}li=Zi(li)}catch(x){n=x;continue}break}}function Gi(){var t=ti.current;return ti.current=Hn,null===t?Hn:t}function Wi(t,e){t<di&&2<t&&(di=t),null!==e&&t<hi&&2<t&&(hi=t,pi=e)}function Yi(t){t>Ai&&(Ai=t)}function Hi(){for(;null!==li;)li=Xi(li)}function Ui(){for(;null!==li&&!ie();)li=Xi(li)}function Xi(t){var e=Jr(t.alternate,t,ui);return t.memoizedProps=t.pendingProps,null===e&&(e=Zi(t)),ei.current=null,e}function Zi(t){li=t;do{var e=li.alternate;if(t=li.return,0===(2048&li.effectTag)){if(e=kr(e,li,ui),1===ui||1!==li.childExpirationTime){for(var n=0,r=li.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}li.childExpirationTime=n}if(null!==e)return e;null!==t&&0===(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=li.firstEffect),null!==li.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=li.firstEffect),t.lastEffect=li.lastEffect),1<li.effectTag&&(null!==t.lastEffect?t.lastEffect.nextEffect=li:t.firstEffect=li,t.lastEffect=li))}else{if(null!==(e=jr(li)))return e.effectTag&=2047,e;null!==t&&(t.firstEffect=t.lastEffect=null,t.effectTag|=2048)}if(null!==(e=li.sibling))return e;li=t}while(null!==li);return gi===ii&&(gi=5),null}function qi(t){var e=t.expirationTime;return e>(t=t.childExpirationTime)?e:t}function Ki(t){var e=ge();return de(99,Qi.bind(null,t,e)),null}function Qi(t,e){do{$i()}while(null!==wi);if(0!==(48&si))throw Error(c(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(c(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=qi(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===ci&&(li=ci=null,ui=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=si;si|=ri,ei.current=null,D(t.containerInfo),Ii=i;do{try{Ji()}catch(v){if(null===Ii)throw Error(c(330));no(Ii,v),Ii=Ii.nextEffect}}while(null!==Ii);Ii=i;do{try{for(var a=t,s=e;null!==Ii;){var l=Ii.effectTag;if(16&l&&Z&&at(Ii.stateNode),128&l){var u=Ii.alternate;if(null!==u){var g=u.ref;null!==g&&("function"===typeof g?g(null):g.current=null)}}switch(1038&l){case 2:Gr(Ii),Ii.effectTag&=-3;break;case 6:Gr(Ii),Ii.effectTag&=-3,Ur(Ii.alternate,Ii);break;case 1024:Ii.effectTag&=-1025;break;case 1028:Ii.effectTag&=-1025,Ur(Ii.alternate,Ii);break;case 4:Ur(Ii.alternate,Ii);break;case 8:var f=a,d=Ii,h=s;Z?Hr(f,d,h):Br(f,d,h),zr(d)}Ii=Ii.nextEffect}}catch(v){if(null===Ii)throw Error(c(330));no(Ii,v),Ii=Ii.nextEffect}}while(null!==Ii);N(t.containerInfo),t.current=n,Ii=i;do{try{for(l=t;null!==Ii;){var p=Ii.effectTag;if(36&p&&Lr(l,Ii.alternate,Ii),128&p){u=void 0;var A=Ii.ref;if(null!==A){var C=Ii.stateNode;switch(Ii.tag){case 5:u=M(C);break;default:u=C}"function"===typeof A?A(u):A.current=u}}Ii=Ii.nextEffect}}catch(v){if(null===Ii)throw Error(c(330));no(Ii,v),Ii=Ii.nextEffect}}while(null!==Ii);Ii=null,oe(),si=o}else t.current=n;if(xi)xi=!1,wi=t,Oi=e;else for(Ii=i;null!==Ii;)e=Ii.nextEffect,Ii.nextEffect=null,Ii=e;if(0===(e=t.firstPendingTime)&&(bi=null),1073741823===e?t===ki?_i++:(_i=0,ki=t):_i=0,"function"===typeof ao&&ao(n.stateNode,r),Di(t),yi)throw yi=!1,t=mi,mi=null,t;return 0!==(8&si)||Ae(),null}function Ji(){for(;null!==Ii;){var t=Ii.effectTag;0!==(256&t)&&Rr(Ii.alternate,Ii),0===(512&t)||xi||(xi=!0,he(97,(function(){return $i(),null}))),Ii=Ii.nextEffect}}function $i(){if(90!==Oi){var t=97<Oi?97:Oi;return Oi=90,de(t,to)}}function to(){if(null===wi)return!1;var t=wi;if(wi=null,0!==(48&si))throw Error(c(331));var e=si;for(si|=ri,t=t.current.firstEffect;null!==t;){try{var n=t;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:Dr(5,n),Nr(5,n)}}catch(r){if(null===t)throw Error(c(330));no(t,r)}n=t.nextEffect,t.nextEffect=null,t=n}return si=e,Ae(),!0}function eo(t,e,n){Le(t,e=Kr(t,e=Er(n,e),1073741823)),null!==(t=Ti(t,1073741823))&&Di(t)}function no(t,e){if(3===t.tag)eo(t,t,e);else for(var n=t.return;null!==n;){if(3===n.tag){eo(n,t,e);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===bi||!bi.has(r))){Le(n,t=Qr(n,t=Er(e,t),1073741823)),null!==(n=Ti(n,1073741823))&&Di(n);break}}n=n.return}}function ro(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),ci===t&&ui===n?gi===ai||gi===oi&&1073741823===di&&ue()-vi<500?zi(t,ui):Ci=!0:vo(t,n)&&(0!==(e=t.lastPingedTime)&&e<n||(t.lastPingedTime=n,Di(t)))}function io(t,e){var n=t.stateNode;null!==n&&n.delete(e),0===(e=0)&&(e=Pi(e=Ei(),t,null)),null!==(t=Ti(t,e))&&Di(t)}Jr=function(t,n,r){var i=n.expirationTime;if(null!==t){var o=n.pendingProps;if(t.memoizedProps!==o||Lt.current)or=!0;else{if(i<r){switch(or=!1,n.tag){case 3:hr(n),rr();break;case 5:if(ln(n),4&n.mode&&1!==r&&G(n.type,o))return n.expirationTime=n.childExpirationTime=1,null;break;case 1:zt(n.type)&&Yt(n);break;case 4:sn(n,n.stateNode.containerInfo);break;case 10:ke(n,n.memoizedProps.value);break;case 13:if(null!==n.memoizedState)return 0!==(i=n.child.childExpirationTime)&&i>=r?yr(t,n,r):(Rt(gn,1&gn.current),null!==(n=wr(t,n,r))?n.sibling:null);Rt(gn,1&gn.current);break;case 19:if(i=n.childExpirationTime>=r,0!==(64&t.effectTag)){if(i)return xr(t,n,r);n.effectTag|=64}if(null!==(o=n.memoizedState)&&(o.rendering=null,o.tail=null),Rt(gn,gn.current),!i)return null}return wr(t,n,r)}or=!1}}else or=!1;switch(n.expirationTime=0,n.tag){case 2:if(i=n.type,null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),t=n.pendingProps,o=Bt(n,Nt.current),Pe(n,r),o=xn(null,n,i,t,o,r),n.effectTag|=1,"object"===e(o)&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,zt(i)){var a=!0;Yt(n)}else a=!1;n.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Re(n);var s=i.getDerivedStateFromProps;"function"===typeof s&&We(n,i,s,t),o.updater=Ye,n.stateNode=o,o._reactInternalFiber=n,Ze(n,i,t,r),n=dr(null,n,i,!0,a,r)}else n.tag=0,ar(null,n,o,r),n=n.child;return n;case 16:t:{if(o=n.elementType,null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),t=n.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,n.type=o,a=n.tag=function(t){if("function"===typeof t)return uo(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===I)return 11;if(t===b)return 14}return 2}(o),t=be(o,t),a){case 0:n=gr(null,n,o,t,r);break t;case 1:n=fr(null,n,o,t,r);break t;case 11:n=sr(null,n,o,t,r);break t;case 14:n=cr(null,n,o,be(o.type,t),i,r);break t}throw Error(c(306,o,""))}return n;case 0:return i=n.type,o=n.pendingProps,gr(t,n,i,o=n.elementType===i?o:be(i,o),r);case 1:return i=n.type,o=n.pendingProps,fr(t,n,i,o=n.elementType===i?o:be(i,o),r);case 3:if(hr(n),i=n.updateQueue,null===t||null===i)throw Error(c(282));if(i=n.pendingProps,o=null!==(o=n.memoizedState)?o.element:null,De(t,n),Be(n,i,null,r),(i=n.memoizedState.element)===o)rr(),n=wr(t,n,r);else{if((o=n.stateNode.hydrate)&&(K?(Kn=xt(n.stateNode.containerInfo),qn=n,o=Qn=!0):o=!1),o)for(r=tn(n,null,i,r),n.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else ar(t,n,i,r),rr();n=n.child}return n;case 5:return ln(n),null===t&&tr(n),i=n.type,o=n.pendingProps,a=null!==t?t.memoizedProps:null,s=o.children,V(i,o)?s=null:null!==a&&V(i,a)&&(n.effectTag|=16),ur(t,n),4&n.mode&&1!==r&&G(i,o)?(n.expirationTime=n.childExpirationTime=1,n=null):(ar(t,n,s,r),n=n.child),n;case 6:return null===t&&tr(n),null;case 13:return yr(t,n,r);case 4:return sn(n,n.stateNode.containerInfo),i=n.pendingProps,null===t?n.child=$e(n,null,i,r):ar(t,n,i,r),n.child;case 11:return i=n.type,o=n.pendingProps,sr(t,n,i,o=n.elementType===i?o:be(i,o),r);case 7:return ar(t,n,n.pendingProps,r),n.child;case 8:case 12:return ar(t,n,n.pendingProps.children,r),n.child;case 10:t:{if(i=n.type._context,o=n.pendingProps,s=n.memoizedProps,ke(n,a=o.value),null!==s){var l=s.value;if(0===(a=Ie(l,a)?0:0|("function"===typeof i._calculateChangedBits?i._calculateChangedBits(l,a):1073741823))){if(s.children===o.children&&!Lt.current){n=wr(t,n,r);break t}}else for(null!==(l=n.child)&&(l.return=n);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var g=u.firstContext;null!==g;){if(g.context===i&&0!==(g.observedBits&a)){1===l.tag&&((g=Ne(r,null)).tag=2,Le(l,g)),l.expirationTime<r&&(l.expirationTime=r),null!==(g=l.alternate)&&g.expirationTime<r&&(g.expirationTime=r),Ee(l.return,r),u.expirationTime<r&&(u.expirationTime=r);break}g=g.next}}else s=10===l.tag&&l.type===n.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===n){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}}ar(t,n,o.children,r),n=n.child}return n;case 9:return o=n.type,i=(a=n.pendingProps).children,Pe(n,r),i=i(o=Me(o,a.unstable_observedBits)),n.effectTag|=1,ar(t,n,i,r),n.child;case 14:return a=be(o=n.type,n.pendingProps),cr(t,n,o,a=be(o.type,a),i,r);case 15:return lr(t,n,n.type,n.pendingProps,i,r);case 17:return i=n.type,o=n.pendingProps,o=n.elementType===i?o:be(i,o),null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),n.tag=1,zt(i)?(t=!0,Yt(n)):t=!1,Pe(n,r),Ue(n,i,o),Ze(n,i,o,r),dr(null,n,i,!0,t,r);case 19:return xr(t,n,r)}throw Error(c(156,n.tag))};var oo={current:!1},ao=null,so=null;function co(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function lo(t,e,n,r){return new co(t,e,n,r)}function uo(t){return!(!(t=t.prototype)||!t.isReactComponent)}function go(t,e){var n=t.alternate;return null===n?((n=lo(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=t.childExpirationTime,n.expirationTime=t.expirationTime,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{expirationTime:e.expirationTime,firstContext:e.firstContext,responders:e.responders},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function fo(t,n,r,i,o,a){var s=2;if(i=t,"function"===typeof t)uo(t)&&(s=1);else if("string"===typeof t)s=5;else t:switch(t){case d:return ho(r.children,o,a,n);case v:s=8,o|=7;break;case h:s=8,o|=1;break;case p:return(t=lo(12,r,n,8|o)).elementType=p,t.type=p,t.expirationTime=a,t;case y:return(t=lo(13,r,n,o)).type=y,t.elementType=y,t.expirationTime=a,t;case m:return(t=lo(19,r,n,o)).elementType=m,t.expirationTime=a,t;default:if("object"===e(t)&&null!==t)switch(t.$$typeof){case A:s=10;break t;case C:s=9;break t;case I:s=11;break t;case b:s=14;break t;case x:s=16,i=null;break t;case w:s=22;break t}throw Error(c(130,null==t?t:e(t),""))}return(n=lo(s,r,n,o)).elementType=t,n.type=i,n.expirationTime=a,n}function ho(t,e,n,r){return(t=lo(7,t,r,e)).expirationTime=n,t}function po(t,e,n){return(t=lo(6,t,null,e)).expirationTime=n,t}function Ao(t,e,n){return(e=lo(4,null!==t.children?t.children:[],t.key,e)).expirationTime=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Co(t,e,n){this.tag=e,this.current=null,this.containerInfo=t,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=U,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function vo(t,e){var n=t.firstSuspendedTime;return t=t.lastSuspendedTime,0!==n&&n>=e&&t<=e}function Io(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;n<e&&(t.firstSuspendedTime=e),(r>e||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function yo(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function mo(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}var bo=null;function xo(t){var e=t._reactInternalFiber;if(void 0===e){if("function"===typeof t.render)throw Error(c(188));throw Error(c(268,Object.keys(t)))}return null===(t=P(e))?null:t.stateNode}function wo(t,e){null!==(t=t.memoizedState)&&null!==t.dehydrated&&t.retryTime<e&&(t.retryTime=e)}function Oo(t,e){wo(t,e),(t=t.alternate)&&wo(t,e)}var So=l.IsSomeRendererActing,_o="function"===typeof s.unstable_flushAllWithoutAsserting,ko=s.unstable_flushAllWithoutAsserting||function(){for(var t=!1;$i();)t=!0;return t};function jo(e){try{ko(),function(e){if(null===bo)try{var n=("require"+Math.random()).slice(0,7);bo=(t&&t[n])("timers").setImmediate}catch(r){bo=function(t){var e=new MessageChannel;e.port1.onmessage=t,e.port2.postMessage(void 0)}}bo(e)}((function(){ko()?jo(e):e()}))}catch(n){e(n)}}var Eo=0,Po=!1,Mo={__proto__:null,createContainer:function(t,e,n){return t=new Co(t,e,n),e=lo(3,null,null,2===e?7:1===e?3:0),t.current=e,e.stateNode=t,Re(e),t},updateContainer:function(t,e,n,r){var i=e.current,o=Ei(),a=Ve.suspense;o=Pi(o,i,a);t:if(n){e:{if(k(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(c(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(zt(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(null!==s);throw Error(c(171))}if(1===n.tag){var l=n.type;if(zt(l)){n=Wt(n,l,s);break t}}n=s}else n=Dt;return null===e.context?e.context=n:e.pendingContext=n,(e=Ne(o,a)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),Le(i,e),Mi(i,o),o},batchedEventUpdates:function(t,e){var n=si;si|=2;try{return t(e)}finally{0===(si=n)&&Ae()}},batchedUpdates:Fi,unbatchedUpdates:function(t,e){var n=si;si&=-2,si|=8;try{return t(e)}finally{0===(si=n)&&Ae()}},deferredUpdates:function(t){return de(97,t)},syncUpdates:function(t,e,n,r){return de(99,t.bind(null,e,n,r))},discreteUpdates:function(t,e,n,r,i){var o=si;si|=4;try{return de(98,t.bind(null,e,n,r,i))}finally{0===(si=o)&&Ae()}},flushDiscreteUpdates:function(){0===(49&si)&&(function(){if(null!==Si){var t=Si;Si=null,t.forEach((function(t,e){mo(e,t),Di(e)})),Ae()}}(),$i())},flushControlled:function(t){var e=si;si|=1;try{de(99,t)}finally{0===(si=e)&&Ae()}},flushSync:Bi,flushPassiveEffects:$i,IsThisRendererActing:oo,getPublicRootInstance:function(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:return M(t.child.stateNode);default:return t.child.stateNode}},attemptSynchronousHydration:function(t){switch(t.tag){case 3:var e=t.stateNode;e.hydrate&&function(t,e){mo(t,e),Di(t),0===(48&si)&&Ae()}(e,e.firstPendingTime);break;case 13:Bi((function(){return Mi(t,1073741823)})),e=ve(Ei(),150,100),Oo(t,e)}},attemptUserBlockingHydration:function(t){if(13===t.tag){var e=ve(Ei(),150,100);Mi(t,e),Oo(t,e)}},attemptContinuousHydration:function(t){13===t.tag&&(Mi(t,3),Oo(t,3))},attemptHydrationAtCurrentPriority:function(t){if(13===t.tag){var e=Ei();Mi(t,e=Pi(e,t,null)),Oo(t,e)}},findHostInstance:xo,findHostInstanceWithWarning:function(t){return xo(t)},findHostInstanceWithNoPortals:function(t){return null===(t=function(t){if(!(t=E(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child&&4!==e.tag)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}(t))?null:20===t.tag?t.stateNode.instance:t.stateNode},shouldSuspend:function(){return!1},injectIntoDevTools:function(t){var e=t.findFiberByHostInstance;return function(t){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled||!e.supportsFiber)return!0;try{var n=e.inject(t);ao=function(t){try{e.onCommitFiberRoot(n,t,void 0,64===(64&t.current.effectTag))}catch(r){}},so=function(t){try{e.onCommitFiberUnmount(n,t)}catch(r){}}}catch(r){}return!0}(o({},t,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:l.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=P(t))?null:t.stateNode},findFiberByHostInstance:function(t){return e?e(t):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))},act:function(t){function n(){Eo--,So.current=r,oo.current=i}!1===Po&&(Po=!0,console.error("act(...) is not supported in production builds of React, and might not behave as expected.")),Eo++;var r=So.current,i=oo.current;So.current=!0,oo.current=!0;try{var o=Fi(t)}catch(a){throw n(),a}if(null!==o&&"object"===e(o)&&"function"===typeof o.then)return{then:function(t,e){o.then((function(){1<Eo||!0===_o&&!0===r?(n(),t()):jo((function(r){n(),r?e(r):t()}))}),(function(t){n(),e(t)}))}};try{1!==Eo||!1!==_o&&!1!==r||ko(),n()}catch(a){throw n(),a}return{then:function(t){t()}}}},To=Mo&&Mo.default||Mo;t.exports=To.default||To;var Ro=t.exports;return t.exports=r,Ro}}).call(this,n(598)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var n,s,c=a(t),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))i.call(n,u)&&(c[u]=n[u]);if(r){s=r(n);for(var g=0;g<s.length;g++)o.call(n,s[g])&&(c[s[g]]=n[s[g]])}}return c}},function(t,e,n){"use strict";t.exports=n(601)},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i,o,a,s,c;if("undefined"===typeof window||"function"!==typeof MessageChannel){var l=null,u=null,g=function t(){if(null!==l)try{var n=e.unstable_now();l(!0,n),l=null}catch(r){throw setTimeout(t,0),r}},f=Date.now();e.unstable_now=function(){return Date.now()-f},i=function(t){null!==l?setTimeout(i,0,t):(l=t,setTimeout(g,0))},o=function(t,e){u=setTimeout(t,e)},a=function(){clearTimeout(u)},s=function(){return!1},c=e.unstable_forceFrameRate=function(){}}else{var d=window.performance,h=window.Date,p=window.setTimeout,A=window.clearTimeout;if("undefined"!==typeof console){var C=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof C&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===r(d)&&"function"===typeof d.now)e.unstable_now=function(){return d.now()};else{var v=h.now();e.unstable_now=function(){return h.now()-v}}var I=!1,y=null,m=-1,b=5,x=0;s=function(){return e.unstable_now()>=x},c=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):b=0<t?Math.floor(1e3/t):5};var w=new MessageChannel,O=w.port2;w.port1.onmessage=function(){if(null!==y){var t=e.unstable_now();x=t+b;try{y(!0,t)?O.postMessage(null):(I=!1,y=null)}catch(n){throw O.postMessage(null),n}}else I=!1},i=function(t){y=t,I||(I=!0,O.postMessage(null))},o=function(t,n){m=p((function(){t(e.unstable_now())}),n)},a=function(){A(m),m=-1}}function S(t,e){var n=t.length;t.push(e);t:for(;;){var r=n-1>>>1,i=t[r];if(!(void 0!==i&&0<j(i,e)))break t;t[r]=e,t[n]=i,n=r}}function _(t){return void 0===(t=t[0])?null:t}function k(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length;r<i;){var o=2*(r+1)-1,a=t[o],s=o+1,c=t[s];if(void 0!==a&&0>j(a,n))void 0!==c&&0>j(c,a)?(t[r]=c,t[s]=n,r=s):(t[r]=a,t[o]=n,r=o);else{if(!(void 0!==c&&0>j(c,n)))break t;t[r]=c,t[s]=n,r=s}}}return e}return null}function j(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var E=[],P=[],M=1,T=null,R=3,D=!1,N=!1,L=!1;function F(t){for(var e=_(P);null!==e;){if(null===e.callback)k(P);else{if(!(e.startTime<=t))break;k(P),e.sortIndex=e.expirationTime,S(E,e)}e=_(P)}}function B(t){if(L=!1,F(t),!N)if(null!==_(E))N=!0,i(z);else{var e=_(P);null!==e&&o(B,e.startTime-t)}}function z(t,n){N=!1,L&&(L=!1,a()),D=!0;var r=R;try{for(F(n),T=_(E);null!==T&&(!(T.expirationTime>n)||t&&!s());){var i=T.callback;if(null!==i){T.callback=null,R=T.priorityLevel;var c=i(T.expirationTime<=n);n=e.unstable_now(),"function"===typeof c?T.callback=c:T===_(E)&&k(E),F(n)}else k(E);T=_(E)}if(null!==T)var l=!0;else{var u=_(P);null!==u&&o(B,u.startTime-n),l=!1}return l}finally{T=null,R=r,D=!1}}function V(t){switch(t){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var G=c;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){N||D||(N=!0,i(z))},e.unstable_getCurrentPriorityLevel=function(){return R},e.unstable_getFirstCallbackNode=function(){return _(E)},e.unstable_next=function(t){switch(R){case 1:case 2:case 3:var e=3;break;default:e=R}var n=R;R=e;try{return t()}finally{R=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=G,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=R;R=t;try{return e()}finally{R=n}},e.unstable_scheduleCallback=function(t,n,s){var c=e.unstable_now();if("object"===r(s)&&null!==s){var l=s.delay;l="number"===typeof l&&0<l?c+l:c,s="number"===typeof s.timeout?s.timeout:V(t)}else s=V(t),l=c;return t={id:M++,callback:n,priorityLevel:t,startTime:l,expirationTime:s=l+s,sortIndex:-1},l>c?(t.sortIndex=l,S(P,t),null===_(E)&&t===_(P)&&(L?a():L=!0,o(B,l-c))):(t.sortIndex=s,S(E,t),N||D||(N=!0,i(z))),t},e.unstable_shouldYield=function(){var t=e.unstable_now();F(t);var n=_(E);return n!==T&&null!==T&&null!==n&&null!==n.callback&&n.startTime<=t&&n.expirationTime<T.expirationTime||s()},e.unstable_wrapCallback=function(t){var e=R;return function(){var n=R;R=e;try{return t.apply(this,arguments)}finally{R=n}}}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){var r=n(370);t.exports=function(t){if(Array.isArray(t))return r(t)}},function(t,e){t.exports=function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null!==t&&"function"!==typeof t&&isFinite(t.length)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(371),i=n(124);e.default=function(t){if(!r.default(t)||!i.default(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,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(124);e.default=function(t){return r.default(t,"Number")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeSensor=e.getSensor=void 0;var r,i=(r=n(612))&&r.__esModule?r:{default:r},o=n(613),a=n(384),s={};e.getSensor=function(t){var e=t.getAttribute(a.SizeSensorId);if(e&&s[e])return s[e];var n=(0,i.default)();t.setAttribute(a.SizeSensorId,n);var r=(0,o.createSensor)(t);return s[n]=r,r},e.removeSensor=function(t){var e=t.element.getAttribute(a.SizeSensorId);t.element.removeAttribute(a.SizeSensorId),t.destroy(),e&&s[e]&&delete s[e]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=1;e.default=function(){return"".concat(r++)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var r=n(614),i=n(615),o="undefined"!==typeof ResizeObserver?i.createSensor:r.createSensor;e.createSensor=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var r,i=(r=n(383))&&r.__esModule?r:{default:r},o=n(384);e.createSensor=function(t){var e=void 0,n=[],r=(0,i.default)((function(){n.forEach((function(e){e(t)}))})),a=function(){e&&e.parentNode&&(e.contentDocument&&e.contentDocument.defaultView.removeEventListener("resize",r),e.parentNode.removeChild(e),e=void 0,n=[])};return{element:t,bind:function(i){e||(e=function(){"static"===getComputedStyle(t).position&&(t.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",r),r()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",o.SensorClassName),e.setAttribute("tabindex",o.SensorTabIndex),e.type="text/html",t.appendChild(e),e.data="about:blank",e}()),-1===n.indexOf(i)&&n.push(i)},destroy:a,unbind:function(t){var r=n.indexOf(t);-1!==r&&n.splice(r,1),0===n.length&&e&&a()}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var r,i=(r=n(383))&&r.__esModule?r:{default:r};e.createSensor=function(t){var e=void 0,n=[],r=(0,i.default)((function(){n.forEach((function(e){e(t)}))})),o=function(){e.disconnect(),n=[],e=void 0};return{element:t,bind:function(i){e||(e=function(){var e=new ResizeObserver(r);return e.observe(t),r(),e}()),-1===n.indexOf(i)&&n.push(i)},destroy:o,unbind:function(t){var r=n.indexOf(t);-1!==r&&n.splice(r,1),0===n.length&&e&&o()}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flow=void 0,e.flow=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return t.reduce((function(t,e){return e(t)}),e)}}},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.pick=void 0,e.pick=function(t,e){var n={};return null!==t&&"object"===r(t)&&e.forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.template=void 0;var r=n(0);e.template=function(t,e){return r.reduce(e,(function(t,e,n){return t.replace(new RegExp("{\\s*"+n+"\\s*}","g"),e)}),t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.log=e.invariant=e.LEVEL=void 0;var r=n(1);!function(t){t.ERROR="error",t.WARN="warn",t.INFO="log"}(e.LEVEL||(e.LEVEL={}));var i="AntV/G2Plot";function o(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=0;return i+": "+t.replace(/%s/g,(function(){return""+e[r++]}))}e.invariant=function(t,e){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];if(!t){var s=new Error(o.apply(void 0,r.__spreadArrays([e],n)));throw s.name=i,s}},e.log=function(t,e,n){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];e||console[t](o.apply(void 0,r.__spreadArrays([n],i)))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getContainerSize=void 0,e.getContainerSize=function(t){if(!t)return{width:0,height:0};var e=getComputedStyle(t);return{width:(t.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(t.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAllElements=e.findGeometry=void 0;var r=n(0);e.findGeometry=function(t,e){return t.geometries.find((function(t){return t.type===e}))},e.getAllElements=function(t){return r.reduce(t.geometries,(function(t,e){return t.concat(e.elements)}),[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findViewById=void 0,e.findViewById=function(t,e){return t.views.find((function(t){return t.id===e}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformLabel=void 0;var r=n(1),i=n(0);e.transformLabel=function(t){if(!i.isType(t,"Object"))return t;var e=r.__assign({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSplinePath=e.catmullRom2bezier=e.smoothBezier=e.points2Path=void 0;var r=n(15);function i(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r<i;r+=1){var o=t[r];n.push(["L",o.x,o.y])}e&&n.push(["Z"])}return n}function o(t,n,r){for(var i=!!n,o=[],a=0,s=t.length;a<s;a+=2)o.push([t[a],t[a+1]]);var c,l,u,g=e.smoothBezier(o,.4,i,r),f=o.length,d=[];for(a=0;a<f-1;a++)c=g[2*a],l=g[2*a+1],u=o[a+1],d.push(["C",c[0],c[1],l[0],l[1],u[0],u[1]]);return i&&(c=g[f],l=g[f+1],u=o[0],d.push(["C",c[0],c[1],l[0],l[1],u[0],u[1]])),d}e.points2Path=i,e.smoothBezier=function(t,e,n,i){var o,a,s,c,l=[],u=!!i;if(u){s=[1/0,1/0],c=[-1/0,-1/0];for(var g=0,f=t.length;g<f;g++){var d=t[g];s=r.vec2.min([0,0],s,d),c=r.vec2.max([0,0],c,d)}s=r.vec2.min([0,0],s,i[0]),c=r.vec2.max([0,0],c,i[1])}g=0;for(var h=t.length;g<h;g++){if(d=t[g],n)o=t[g?g-1:h-1],a=t[(g+1)%h];else{if(0===g||g===h-1){l.push(d);continue}o=t[g-1],a=t[g+1]}var p=[0,0];p=r.vec2.sub(p,a,o),p=r.vec2.scale(p,p,e);var A=r.vec2.distance(d,o),C=r.vec2.distance(d,a),v=A+C;0!==v&&(A/=v,C/=v);var I=r.vec2.scale([0,0],p,-A),y=r.vec2.scale([0,0],p,C),m=r.vec2.add([0,0],d,I),b=r.vec2.add([0,0],d,y);u&&(m=r.vec2.max([0,0],m,s),m=r.vec2.min([0,0],m,c),b=r.vec2.max([0,0],b,s),b=r.vec2.min([0,0],b,c)),l.push(m),l.push(b)}return n&&l.push(l.shift()),l},e.catmullRom2bezier=o,e.getSplinePath=function(t,e,n){var r=[],a=t[0],s=null;if(t.length<=2)return i(t,e);for(var c=0,l=t.length;c<l;c++){var u=t[c];s&&s.x===u.x&&s.y===u.y||(r.push(u.x),r.push(u.y),s=u)}var g=o(r,e,n||[[0,0],[1,1]]);return g.unshift(["M",a.x,a.y]),g}},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.deepAssign=void 0;var i={}.toString,o=function(t,e){return i.call(t)==="[object "+e+"]"},a=function(t){return o(t,"Array")},s=function(t){if(!function(t){return"object"===r(t)&&null!==t}(t)||!o(t,"Object"))return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},c=function t(e,n,r,i){for(var o in r=r||0,i=i||5,n)if(Object.prototype.hasOwnProperty.call(n,o)){var c=n[o];c?s(c)?(s(e[o])||(e[o]={}),r<i?t(e[o],c,r+1,i):e[o]=n[o]):a(c)?(e[o]=[],e[o]=e[o].concat(c)):e[o]=c:e[o]=c}};e.deepAssign=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)c(t,e[r]);return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.kebabCase=void 0,e.kebabCase=function(t){return t?t.match(/(([A-Z]{0,1}[a-z]*[^A-Z])|([A-Z]{1}))/g).map((function(t){return t.toLowerCase()})).join("-"):t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.measureTextWidth=void 0;var r=n(1),i=n(0),o=n(628);e.measureTextWidth=i.memoize((function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,a=void 0===r?"sans-serif":r,s=e.fontWeight,c=e.fontStyle,l=e.fontVariant,u=o.getCanvasContext();return u.font=[c,s,l,n+"px",a].join(" "),u.measureText(i.isString(t)?t:"").width}),(function(t,e){return void 0===e&&(e={}),r.__spreadArrays([t],i.values(e)).join("")}))},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.getCanvasContext=void 0,e.getCanvasContext=function(){return r||(r=document.createElement("canvas").getContext("2d")),r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.area=void 0;var r=n(1),i=n(95),o=n(20),a=n(96);e.area=function(t){var e=t.options,n=e.area,s=e.xField,c=e.yField,l=e.seriesField,u=e.smooth,g=e.tooltip,f=i.getTooltipMapping(g,[s,c,l]),d=f.fields,h=f.formatter;return n?a.geometry(o.deepAssign({},t,{options:{type:"area",colorField:l,tooltipFields:d,mapping:r.__assign({shape:u?"smooth":"area",tooltip:h},n)}})):t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.line=void 0;var r=n(0),i=n(95),o=n(20),a=n(96);e.line=function(t){var e=t.options,n=e.line,s=e.stepType,c=e.xField,l=e.yField,u=e.seriesField,g=e.smooth,f=e.connectNulls,d=e.tooltip,h=i.getTooltipMapping(d,[c,l,u]),p=h.fields,A=h.formatter;return n?a.geometry(o.deepAssign({},t,{options:{type:"line",colorField:u,tooltipFields:p,mapping:r.deepMix({shape:s||(g?"smooth":"line"),tooltip:A},n),args:{connectNulls:f}}})):t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.point=void 0;var r=n(1),i=n(95),o=n(20),a=n(96);e.point=function(t){var e=t.options,n=e.point,s=e.xField,c=e.yField,l=e.seriesField,u=e.sizeField,g=e.shapeField,f=e.tooltip,d=i.getTooltipMapping(f,[s,c,l,u,g]),h=d.fields,p=d.formatter;return n?a.geometry(o.deepAssign({},t,{options:{type:"point",colorField:l,shapeField:g,tooltipFields:h,mapping:r.__assign({tooltip:p},n)}})):t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.interval=void 0;var r=n(1),i=n(9),o=n(0),a=n(20),s=n(95),c=n(96);e.interval=function(t){var e=t.options,n=e.xField,l=e.yField,u=e.interval,g=e.seriesField,f=e.tooltip,d=e.minColumnWidth,h=e.maxColumnWidth,p=e.columnBackground,A=s.getTooltipMapping(f,[n,l,g]),C=A.fields,v=A.formatter,I=(u?c.geometry(a.deepAssign({},t,{options:{type:"interval",colorField:g,tooltipFields:C,mapping:r.__assign({tooltip:v},u),args:{minColumnWidth:d,maxColumnWidth:h,background:p}}})):t).ext;return function(t){var e=t.chart,n=t.options,r=t.ext,s=n.seriesField,c=n.isGroup,l=n.isStack,u=n.marginRatio,g=n.widthRatio,f=n.groupField,d=n.theme,h=[];return s&&(c&&h.push({type:"dodge",dodgeBy:f||s,marginRatio:u}),l&&h.push({type:"stack",marginRatio:u})),h.length&&(null===r||void 0===r?void 0:r.geometry)&&(null===r||void 0===r?void 0:r.geometry).adjust(h),o.isNil(g)||e.theme(a.deepAssign({},o.isObject(d)?d:i.getTheme(d),{columnWidthRatio:g})),t}(r.__assign(r.__assign({},t),{ext:I}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.edge=void 0;var r=n(1),i=n(95),o=n(20),a=n(96);e.edge=function(t){var e=t.options,n=e.edge,s=e.xField,c=e.yField,l=e.seriesField,u=e.tooltip,g=i.getTooltipMapping(u,[s,c,l]),f=g.fields,d=g.formatter;return n?a.geometry(o.deepAssign({},t,{options:{type:"edge",colorField:l,tooltipFields:f,mapping:r.__assign({tooltip:d},n)}})):t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),o=n(20),a=n(47),s=n(386),c=n(181);function l(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius;return e.coordinate("theta",{innerRadius:r,radius:i}),t}function u(t,e){var n=t.chart,a=t.options,s=a.innerRadius,l=a.statistic,u=a.percent,g=a.meta;if(n.getController("annotation").clear(!0),s&&l){var f=l.content;f&&!f.formatter&&(f.formatter=function(t){var e=t.percent,n=i.get(g,[c.PERCENT,"formatter"]);return n?n(e):e}),o.renderStatistic(n,{statistic:r.__assign(r.__assign({},l),{content:f}),plotType:"ring-progress"},{percent:u})}return e&&n.render(!0),t}e.statistic=u,e.adaptor=function(t){return o.flow(s.geometry,a.scale({}),l,u,a.animation,a.theme,a.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(47),i=n(20),o=n(60),a=n(157),s=n(125),c=n(158);function l(t){var e,n,l=t.chart,u=t.options,g=u.data,f=u.xAxis,d=u.yAxis,h=u.color,p=u.columnStyle,A=u.columnWidthRatio,C=s.getTinyData(g);l.data(C);var v=i.deepAssign({},t,{options:{xField:a.X_FIELD,yField:a.Y_FIELD,widthRatio:A,interval:{style:p,color:h}}});return o.interval(v),l.axis(!1),l.legend(!1),l.interaction("element-active"),r.scale(((e={})[a.X_FIELD]=f,e[a.Y_FIELD]=d,e),((n={})[a.X_FIELD]={type:"cat"},n[a.Y_FIELD]=c.adjustYMetaByZero(C,a.Y_FIELD),n))(t),t}e.adaptor=function(t){return i.flow(l,r.tooltip,r.theme,r.animation,r.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_TOOLTIP_OPTIONS=void 0;var r=n(0);e.DEFAULT_TOOLTIP_OPTIONS={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+r.get(e,[0,"data","y"],0)},containerTpl:'<div class="g2-tooltip"><div class="g2-tooltip-list"></div></div>',itemTpl:"<span>{value}</span>",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(47),i=n(20),o=n(60),a=n(157),s=n(125),c=n(158);function l(t){var e,n,l=t.chart,u=t.options,g=u.data,f=u.xAxis,d=u.yAxis,h=u.color,p=u.areaStyle,A=u.point,C=u.line,v=s.getTinyData(g);l.data(v);var I=i.deepAssign({},t,{options:{xField:a.X_FIELD,yField:a.Y_FIELD,area:{color:h,style:p},line:C,point:A}}),y=i.deepAssign({},I,{options:{tooltip:!1}});return o.area(I),o.line(y),o.point(y),l.axis(!1),l.legend(!1),r.scale(((e={})[a.X_FIELD]=f,e[a.Y_FIELD]=d,e),((n={})[a.X_FIELD]={type:"cat"},n[a.Y_FIELD]=c.adjustYMetaByZero(v,a.Y_FIELD),n))(t),t}e.adaptor=function(t){return i.flow(l,r.tooltip,r.theme,r.animation,r.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(20),i=n(47),o=n(60),a=n(158),s=n(125),c=n(157);function l(t){var e,n,l=t.chart,u=t.options,g=u.data,f=u.xAxis,d=u.yAxis,h=u.color,p=u.lineStyle,A=u.point,C=s.getTinyData(g);l.data(C);var v=r.deepAssign({},t,{options:{xField:c.X_FIELD,yField:c.Y_FIELD,line:{color:h,style:p},point:A}}),I=r.deepAssign({},v,{options:{tooltip:!1}});return o.line(v),o.point(I),l.axis(!1),l.legend(!1),i.scale(((e={})[c.X_FIELD]=f,e[c.Y_FIELD]=d,e),((n={})[c.X_FIELD]={type:"cat"},n[c.Y_FIELD]=a.adjustYMetaByZero(C,c.Y_FIELD),n))(t),t}e.adaptor=function(t){return r.flow(l,i.theme,i.tooltip,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9),i=n(640);r.registerAction("marker-active",i.MarkerActiveAction),r.registerInteraction("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerActiveAction=void 0;var r=n(1),i=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.active=function(){var t=this.getView(),e=this.context.event;if(e.data){var n=e.data.items,r=t.geometries.filter((function(t){return"point"===t.type}));i.each(r,(function(t){i.each(t.elements,(function(t){var e=-1!==i.findIndex(n,(function(e){return e.data===t.data}));t.setState("active",e)}))}))}},e.prototype.getView=function(){return this.context.view},e}(n(9).InteractionAction);e.MarkerActiveAction=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(387),i=n(47),o=n(20),a=n(642);function s(t){var e=t.options.colorField;return o.deepAssign({options:{colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapResquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1,fields:["name","value",e],formatter:function(t){return{name:t.name,value:t.value}}}}},t)}function c(t){var e=t.chart,n=t.options,i=n.color,s=n.colorField,c=n.rectStyle,l=a.transformData(n);return e.data(l),r.polygon(o.deepAssign({},t,{options:{xField:"x",yField:"y",seriesField:s,rawFields:["value"],polygon:{color:i,style:c}}})),t}function l(t){return t.chart.axis(!1),t}e.adaptor=function(t){return o.flow(s,c,l,i.theme,i.legend,i.tooltip,i.interaction,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=void 0;var r=n(1),i=n(643);e.transformData=function(t){var e=t.data,n=t.colorField,o=t.hierarchyConfig,a=i.treemap(e,r.__assign(r.__assign({},o),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),s=[];return a.forEach((function(t){if(!t.children){var e=Object.assign({},t.data,{x:t.x,y:t.y,depth:t.depth,value:t.value});if(!t.data[n]&&t.parent){var r=t.ancestors().find((function(t){return t.data[n]}));e[n]=null===r||void 0===r?void 0:r.data[n]}else e[n]=t.data[n];s.push(e)}})),s}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.treemap=void 0;var r=n(1).__importStar(n(204)),i=n(0),o=n(644),a={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"]};e.treemap=function(t,e){var n,s=(e=i.assign({},a,e)).as;if(!i.isArray(s)||2!==s.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=o.getField(e)}catch(g){console.warn(g)}var c=function(t){return r.treemap().tile(r[e.tile]).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(r.hierarchy(t).sum((function(t){return e.ignoreParentValue&&t.children?0:t[n]})))}(t),l=s[0],u=s[1];return c.each((function(t){t[l]=[t.x0,t.x1,t.x1,t.x0],t[u]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach((function(e){-1===s.indexOf(e)&&delete t[e]}))})),o.getAllNodes(c)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAllNodes=e.getField=void 0;var r=n(0),i="Invalid field: it must be a string!";e.getField=function(t,e){var n=t.field,o=t.fields;if(r.isString(n))return n;if(r.isArray(n))return console.warn(i),n[0];if(console.warn(i+" will try to get fields instead."),r.isString(o))return o;if(r.isArray(o)&&o.length)return o[0];if(e)return e;throw new TypeError(i)},e.getAllNodes=function(t){var e=[];return t&&t.each?t.each((function(t){e.push(t)})):t&&t.eachNode&&t.eachNode((function(t){e.push(t)})),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(392);e.adaptor=function(t){var e=t.chart,n=t.options,o=n.xField,a=n.yField,s=n.xAxis,c=n.yAxis,l=n.barStyle,u=n.barWidthRatio,g=n.label,f=n.data,d=n.seriesField,h=n.isStack,p=n.minBarWidth,A=n.maxBarWidth;g&&!g.position&&(g.position="left",g.layout||(g.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]));var C=n.legend;d?!1!==C&&(C=r.__assign({position:h?"top-left":"right-top",reversed:!h},C||{})):C=!1,t.options.legend=C;var v=n.tooltip;return d&&!1!==v&&(v=r.__assign({reversed:!h},v||{})),t.options.tooltip=v,e.coordinate().transpose(),i.adaptor({chart:e,options:r.__assign(r.__assign({},n),{label:g,xField:a,yField:o,xAxis:c,yAxis:s,columnStyle:l,columnWidthRatio:u,minColumnWidth:p,maxColumnWidth:A,columnBackground:n.barBackground,data:f?f.slice().reverse():f})},!0)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTag=void 0;var r=n(1),i=n(0),o=n(9),a=n(20),s=n(393);function c(t,e){return a.deepAssign({size:e?32:80,spacing:e?8:12,offset:e?32:0,arrow:!1!==t.arrow&&{headSize:12,style:{fill:"rgba(0, 0, 0, 0.05)"}},text:!1!==t.text&&{style:{fontSize:12,fill:"rgba(0, 0, 0, 0.85)",textAlign:"center",textBaseline:"middle"},formatter:s.conversionTagFormatter}},t)}function l(t,e){return i.map(e.getModel().points,(function(e){return t.convertPoint(e)}))}function u(t,e,n){!function(t,e,n){var i=t.view,o=t.geometry,a=t.group,s=t.options,c=t.horizontal,u=s.offset,g=s.size,f=s.arrow,d=i.getCoordinate(),h=l(d,e)[c?3:0],p=l(d,n)[c?0:3],A=p.y-h.y,C=p.x-h.x;if("boolean"!==typeof f){var v,I=f.headSize,y=s.spacing;c?(C-I)/2<y?(y=Math.max(1,(C-I)/2),v=[[h.x+y,h.y-u],[h.x+y,h.y-u-g],[p.x-y,p.y-u-g/2]]):v=[[h.x+y,h.y-u],[h.x+y,h.y-u-g],[p.x-y-I,p.y-u-g],[p.x-y,p.y-u-g/2],[p.x-y-I,p.y-u]]:(A-I)/2<y?(y=Math.max(1,(A-I)/2),v=[[h.x+u,h.y+y],[h.x+u+g,h.y+y],[p.x+u+g/2,p.y-y]]):v=[[h.x+u,h.y+y],[h.x+u+g,h.y+y],[p.x+u+g,p.y-y-I],[p.x+u+g/2,p.y-y],[p.x+u,p.y-y-I]],a.addShape("polygon",{id:i.id+"-conversion-tag-arrow-"+o.getElementId(e.getModel().mappingData),name:"conversion-tag-arrow",attrs:r.__assign(r.__assign({},f.style||{}),{points:v})})}}(t,e,n),function(t,e,n){var i,o,a,s=t.view,c=t.geometry,u=t.group,g=t.options,f=t.field,d=t.horizontal,h=g.offset,p=g.size;if("boolean"!==typeof g.text){var A=s.getCoordinate(),C=(null===(i=g.text)||void 0===i?void 0:i.formatter)&&(null===(o=g.text)||void 0===o?void 0:o.formatter(e.getData()[f],n.getData()[f])),v=l(A,e)[d?3:0],I=l(A,n)[d?0:3],y=u.addShape("text",{id:s.id+"-conversion-tag-text-"+c.getElementId(e.getModel().mappingData),name:"conversion-tag-text",attrs:r.__assign(r.__assign({},(null===(a=g.text)||void 0===a?void 0:a.style)||{}),{text:C,x:d?(v.x+I.x)/2:v.x+h+p/2,y:d?v.y-h-p/2:(v.y+I.y)/2})});if(d){var m=I.x-v.x,b=y.getBBox().width;if(b>m){var x=b/C.length,w=Math.max(1,Math.ceil(m/x)-1),O=C.slice(0,w)+"...";y.attr("text",O)}}}}(t,e,n)}e.conversionTag=function(t,e,n){return void 0===e&&(e=!0),void 0===n&&(n=!1),function(r){var s=r.options,l=r.chart,g=s.conversionTag,f=s.theme;return g&&!n&&(l.theme(a.deepAssign({},i.isObject(f)?f:o.getTheme(f),{columnWidthRatio:1/3})),l.annotation().shape({render:function(n,r){var o=n.addGroup({id:l.id+"-conversion-tag-group",name:"conversion-tag-group"}),a=i.find(l.geometries,(function(t){return"interval"===t.type})),s={view:r,geometry:a,group:o,field:t,horizontal:e,options:c(g,e)},f=e?a.elements:a.elements.slice().reverse();i.each(f,(function(t,e){e>0&&u(s,f[e-1],t)}))}})),r}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.connectedArea=void 0;var r=n(9),i={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"};r.registerInteraction(i.hover,{start:[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"]}],end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),r.registerInteraction(i.click,{start:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"]}],end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]}),e.connectedArea=function(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options.connectedArea,o=function(){n.removeInteraction(i.hover),n.removeInteraction(i.click)};if(!t&&r){var a=r.trigger||"hover";o(),n.interaction(i[a])}else o();return e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(0),o=n(47),a=n(20),s=n(60),c=n(20),l=n(159),u=n(390);function g(t){var e=t.chart,n=t.options,i=n.data,o=n.areaStyle,a=n.color,u=n.point,g=n.line,f=n.isPercent,d=n.xField,h=n.yField,p=n.tooltip,A=n.seriesField,C=l.getDataWhetherPecentage(i,h,d,h,f);e.data(C);var v=f?r.__assign({formatter:function(t){return{name:t[A]||t[d],value:(100*Number(t[h])).toFixed(2)+"%"}}},p):p,I=c.deepAssign({},t,{options:{area:{color:a,style:o},line:g&&r.__assign({color:a},g),point:u&&r.__assign({color:a},u),tooltip:v,label:void 0}}),y=c.deepAssign({},I,{options:{tooltip:!1}});return s.area(I),s.line(y),s.point(y),t}function f(t){var e=t.chart,n=t.options,i=n.label,o=n.yField,s=a.findGeometry(e,"area");if(i){var l=i.callback,u=r.__rest(i,["callback"]);s.label({fields:[o],callback:l,cfg:r.__assign({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},c.transformLabel(u))})}else s.label(!1);return t}function d(t){var e=t.chart,n=t.options,r=n.isStack;return(n.isPercent||r)&&i.each(e.geometries,(function(t){t.adjust("stack")})),t}e.adaptor=function(t){return c.flow(g,u.meta,d,o.theme,u.axis,u.legend,o.tooltip,f,o.slider,o.annotation(),o.interaction,o.animation,o.limitInPlot)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(0),o=n(47),a=n(60),s=n(20),c=n(650);function l(t){var e=t.chart,n=t.options,o=n.data,c=n.angleField,l=n.colorField,u=n.color,g=n.pieStyle,f=i.filter(o,(function(t){return"number"===typeof t[c]||i.isNil(t[c])}));if(s.log(s.LEVEL.WARN,f.length===o.length,"illegal data existed in chart data."),i.every(f,(function(t){return 0===t[c]}))){var d="$$percentage$$";f=f.map((function(t){var e;return r.__assign(r.__assign({},t),((e={}).$$percentage$$=1/f.length,e))})),e.data(f);var h=s.deepAssign({},t,{options:{xField:"1",yField:d,seriesField:l,isStack:!0,interval:{color:u,style:g}}});a.interval(h),e.geometries[0].tooltip(l+"*"+c)}else e.data(f),h=s.deepAssign({},t,{options:{xField:"1",yField:c,seriesField:l,isStack:!0,interval:{color:u,style:g}}}),a.interval(h);return t}function u(t){var e,n=t.chart,r=t.options,i=r.meta,o=r.colorField,a=s.deepAssign({},i);return n.scale(a,((e={})[o]={type:"cat"},e)),t}function g(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,o=n.startAngle,a=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:o,endAngle:a}}),t}function f(t){var e=t.chart,n=t.options,o=n.label,a=n.colorField,l=n.angleField,u=e.geometries[0];if(o){var g=o.callback,f=r.__rest(o,["callback"]),d=s.transformLabel(f);if(d.content){var h=d.content;d.content=function(t,n,o){var c=t[a],u=t[l],g=e.getScaleByField(l),f=null===g||void 0===g?void 0:g.scale(u);return i.isFunction(h)?h(r.__assign(r.__assign({},t),{percent:f}),n,o):i.isString(h)?s.template(h,{value:u,name:c,percentage:i.isNumber(f)&&!i.isNil(u)?(100*f).toFixed(2)+"%":null}):h}}var p=d.type?{inner:"",outer:"pie-outer",spider:"pie-spider"}[d.type]:"pie-outer",A=d.layout?i.isArray(d.layout)?d.layout:[d.layout]:[];d.layout=(p?[{type:p}]:[]).concat(A),u.label({fields:a?[l,a]:[l],callback:g,cfg:r.__assign(r.__assign({},d),{offset:c.adaptOffset(d.type,d.offset),type:"pie"})})}else u.label(!1);return t}function d(t){var e=t.chart,n=t.options,r=n.innerRadius,o=n.statistic,a=n.angleField,l=n.colorField,u=n.meta;if(r&&o){var g=o.title,f=o.content;!1!==g&&(g=s.deepAssign({},{formatter:function(t){return t?t[l]:"\u603b\u8ba1"}},g)),!1!==f&&(f=s.deepAssign({},{formatter:function(t,e){var n=i.get(u,[a,"formatter"]),r=t?t[a]:c.getTotalValue(e,a);return n?n(r):r}},f)),s.renderStatistic(e,{statistic:{title:g,content:f},plotType:"pie"})}return t}e.adaptor=function(t){return s.flow(l,u,o.theme,g,o.legend,(function(t){return o.tooltip(function(t){return!1!==i.get(t,["options","tooltip"])?s.deepAssign({},t,{options:{tooltip:{shared:!1}}}):t}(t))}),f,o.state,o.annotation(),d,o.interaction,o.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptOffset=e.getTotalValue=void 0;var r=n(0);e.getTotalValue=function(t,e){var n=null;return r.each(t,(function(t){"number"===typeof t[e]&&(n+=t[e])})),n},e.adaptOffset=function(t,e){var n;switch(t){case"inner":return n="-30%",r.isString(e)&&e.endsWith("%")?.01*parseFloat(e)>0?n:e:e<0?e:n;case"outer":return n=12,r.isString(e)&&e.endsWith("%")?.01*parseFloat(e)<0?n:e:e>0?e:n;default:return e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9),i=n(652),o=n(653);r.registerAction("pie-statistic",o.StatisticAction),r.registerInteraction("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),r.registerAction("pie-legend",i.PieLegendAction),r.registerInteraction("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieLegendAction=void 0;var r=n(1),i=n(9),o=n(0),a=n(394),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getActiveElements=function(){var t=i.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,o=n.get("field");if(o)return e.geometries[0].elements.filter((function(t){return t.getModel().data[o]===r.value}))}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter((function(t){return e.find((function(e){return o.isEqual(e.getData(),t.get("data"))}))}))},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach((function(e,r){var o=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var c=i.Util.getAngle(e.getModel(),s),l=(c.startAngle+c.endAngle)/2,u=t,g=u*Math.cos(l),f=u*Math.sin(l);e.shape.setMatrix(a.transform([["t",g,f]])),o.setMatrix(a.transform([["t",g,f]]))}}))},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i.Action);e.PieLegendAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StatisticAction=void 0;var r=n(1),i=n(9),o=n(0),a=n(385),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",(function(){var n=t.getAnnotations(e);t.initialAnnotation=n}))},e.prototype.change=function(){var t=this.context,e=t.view,n=t.event,s=this.getAnnotations();this.initialAnnotation||(this.initialAnnotation=s);var c=((null===n||void 0===n?void 0:n.data)||{}).data;if(n.type.match("legend-item")){var l=i.Util.getDelegationObject(this.context),u=e.getGroupedFields()[0];if(l&&u){var g=l.item;c=e.getData().find((function(t){return t[u]===g.value}))}}if(c){var f=e.getController("annotation");f.clear(!0);var d=e.getScaleFields(),h=d[1],p=d[2],A=e.getScaleByField(h),C=e.getScaleByField(p),v=s.filter((function(t){return!o.get(t,"key","").match("statistic")})),I=s.filter((function(t){return o.get(t,"key","").match("statistic")})),y=I.filter((function(t){return"top-statistic"===t.key})),m=I.filter((function(t){return"bottom-statistic"===t.key}));o.each(I,(function(t){var n,i;"top-statistic"===t.key?(n=C?C.getText(c[p]):null,i=m?"translate(-50%, -100%)":"translate(-50%, -50%)"):(n=A?A.getText(c[h]):c[h],i=y?"translate(-50%, 0)":"translate(-50%,-50%)"),v.push(r.__assign(r.__assign({},t),{html:function(e,s){var l=s.getCoordinate(),u=l.getRadius()*l.innerRadius*2,g=o.isFunction(t.style)?t.style():t.style;a.setStatisticContainerStyle(e,r.__assign({width:u+"px",transform:i},a.adapteStyle(g)));var f=s.getData();return t.customHtml?t.customHtml(e,s,c,f):(t.formatter&&(n=t.formatter(c,f)),n?o.isString(n)?n:""+n:"<div></div>")}})),v.forEach((function(t){f.annotation(t)})),e.render(!0)}))}},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();o.each(e,(function(e){t.annotation()[e.type](e)})),t.render(!0)},e}(i.Action);e.StatisticAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(0),o=n(20),a=n(20),s=n(259),c=n(47);function l(t){var e,n=t.chart,r=t.options,i=r.data,o=r.type,a=r.reflect,c=r.xField,l=r.yField,u=r.colorField,g=r.sizeField,f=r.sizeRatio,d=r.shape,h=r.color;n.data(i),e="density"===o?n.heatmap().position(c+"*"+l):n.polygon().position(c+"*"+l),u&&e.color(u,h||s.DEFAULT_COLORS.GRADIENT.CONTINUOUS),a&&n.coordinate().reflect(a);var p=1;if((f||0===f)&&(d||g?f<0||f>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):p=f:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),d&&(g||e.shape("",(function(){return[d,1,p]})),g)){var A=i.map((function(t){return t[g]})),C=Math.min.apply(Math,A),v=Math.max.apply(Math,A);e.shape(g,(function(t){return[d,(t-C)/(v-C),p]}))}return t}function u(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,s=n.yField;return a.flow(c.scale(((e={})[o]=r,e[s]=i,e)))(t)}function g(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?e.axis(a,!1):e.axis(a,i),t}function f(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return r?e.legend(i,r):e.legend(!1),t}function d(t){var e=t.chart,n=t.options,r=n.xField,o=n.yField,a=n.colorField,s=n.sizeField,c=n.heatmapStyle,l=e.geometries[0];return c&&l&&(i.isFunction(c)?l.style(r+"*"+o+"*"+a+"*"+s,c):i.isObject(c)&&l.style(c)),t}function h(t){var e=t.chart,n=t.options,i=n.label,s=n.colorField,c=n.type,l=o.findGeometry(e,"density"===c?"heatmap":"polygon");if(i){if(s){var u=i.callback,g=r.__rest(i,["callback"]);l.label({fields:[s],callback:u,cfg:a.transformLabel(g)})}}else l.label(!1);return t}e.adaptor=function(t){return a.flow(l,u,c.theme,g,f,c.tooltip,d,h,c.annotation(),c.interaction,c.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(9).registerShape("polygon","circle",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l)/2,g=Number(t.shape[1]),f=Number(t.shape[2]),d=u*Math.sqrt(f)*Math.sqrt(g),h=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:r.__assign(r.__assign(r.__assign({x:o,y:a,r:d},t.defaultStyle),t.style),{fill:h})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(9).registerShape("polygon","square",{draw:function(t,e){var n,i,o=t.x,a=t.y,s=this.parsePoints(t.points),c=Math.abs(s[2].x-s[1].x),l=Math.abs(s[1].y-s[0].y),u=Math.min(c,l),g=Number(t.shape[1]),f=Number(t.shape[2]),d=u*Math.sqrt(f)*Math.sqrt(g),h=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:r.__assign(r.__assign(r.__assign({x:o-d/2,y:a-d/2,width:d,height:d},t.defaultStyle),t.style),{fill:h})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(47),i=n(20),o=n(60),a=n(395);function s(t){var e=t.chart,n=t.options,r=n.colorField,s=n.color,c=a.transform(t);e.data(c);var l=i.deepAssign({},t,{options:{xField:"x",yField:"y",seriesField:r&&"color",point:{color:s,shape:"word-cloud"}}});return o.point(l).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function c(t){return i.flow(r.scale({x:{nice:!1},y:{nice:!1}}))(t)}e.adaptor=function(t){i.flow(s,c,r.tooltip,r.legend,r.interaction,r.animation,r.theme,r.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functor=e.transform=e.wordCloud=void 0;var r=n(0),i={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function o(t,e){var n=function(){var t=[256,256],e=l,n=g,r=u,i=f,o=d,a=v,x=Math.random,w=[],O=1/0,S=c,_=u,k=y,j={};function E(t){t.width=t.height=1;var e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2);t.width=2048/e,t.height=s/e;var n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",{context:n,ratio:e}}function P(e,n,r){for(var i,o,s,c=n.x,l=n.y,u=Math.sqrt(t[0]*t[0]+t[1]*t[1]),g=a(t),f=x()<.5?1:-1,d=-f;(i=g(d+=f))&&(o=~~i[0],s=~~i[1],!(Math.min(Math.abs(o),Math.abs(s))>=u));)if(n.x=c+o,n.y=l+s,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>t[0]||n.y+n.y1>t[1])&&(!r||!p(n,e,t[0]))&&(!r||C(n,r))){for(var h=n.sprite,A=n.width>>5,v=t[0]>>5,I=n.x-(A<<4),y=127&I,m=32-y,b=n.y1-n.y0,w=void 0,O=(n.y+n.y0)*v+(I>>5),S=0;S<b;S++){w=0;for(var _=0;_<=A;_++)e[O+_]|=w<<m|(_<A?(w=h[S*A+_])>>>y:0);O+=v}return delete n.sprite,!0}return!1}return j.start=function(){var a=t[0],s=t[1],c=E(k()),l=j.board?j.board:I((t[0]>>5)*t[1]),u=w.length,g=[],f=w.map((function(t,a,s){return t.text=S.call(this,t,a,s),t.font=e.call(this,t,a,s),t.style=_.call(this,t,a,s),t.weight=r.call(this,t,a,s),t.rotate=i.call(this,t,a,s),t.size=~~n.call(this,t,a,s),t.padding=o.call(this,t,a,s),t})).sort((function(t,e){return e.size-t.size})),d=-1,p=j.board?[{x:0,y:0},{x:a,y:s}]:null;function C(){for(var e=Date.now();Date.now()-e<O&&++d<u;){var n=f[d];n.x=a*(x()+.5)>>1,n.y=s*(x()+.5)>>1,h(c,n,f,d),n.hasText&&P(l,n,p)&&(g.push(n),p?j.hasImage||A(p,n):p=[{x:n.x+n.x0,y:n.y+n.y0},{x:n.x+n.x1,y:n.y+n.y1}],n.x-=t[0]>>1,n.y-=t[1]>>1)}j._tags=g,j._bounds=p}return C(),j},j.createMask=function(e){var n=document.createElement("canvas"),r=t[0],i=t[1];if(r&&i){var o=r>>5,a=I((r>>5)*i);n.width=r,n.height=i;var s=n.getContext("2d");s.drawImage(e,0,0,e.width,e.height,0,0,r,i);for(var c=s.getImageData(0,0,r,i).data,l=0;l<i;l++)for(var u=0;u<r;u++){var g=o*l+(u>>5),f=l*r+u<<2,d=c[f]>=250&&c[f+1]>=250&&c[f+2]>=250?1<<31-u%32:0;a[g]|=d}j.board=a,j.hasImage=!0}},j.timeInterval=function(t){O=null==t?1/0:t},j.words=function(t){w=t},j.size=function(e){t=[+e[0],+e[1]]},j.font=function(t){e=m(t)},j.fontWeight=function(t){r=m(t)},j.rotate=function(t){i=m(t)},j.spiral=function(t){a=b[t]||t},j.fontSize=function(t){n=m(t)},j.padding=function(t){o=m(t)},j.random=function(t){x=m(t)},j}();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach((function(t){r.isNil(e[t])||n[t](e[t])})),n.words(t),e.imageMask&&n.createMask(e.imageMask);var i=n.start()._tags;i.forEach((function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2}));var o=e.size,a=o[0],x=o[1];return i.push({text:"",value:0,x:0,y:0,opacity:0}),i.push({text:"",value:0,x:a,y:x,opacity:0}),i}e.wordCloud=function(t,e){return o(t,e=r.assign({},i,e))},e.transform=o;var a=Math.PI/180,s=2048;function c(t){return t.text}function l(){return"serif"}function u(){return"normal"}function g(t){return t.value}function f(){return 90*~~(2*Math.random())}function d(){return 1}function h(t,e,n,r){if(!e.sprite){var i=t.context,o=t.ratio;i.clearRect(0,0,2048/o,s/o);var c=0,l=0,u=0,g=n.length;for(--r;++r<g;){e=n[r],i.save(),i.font=e.style+" "+e.weight+" "+~~((e.size+1)/o)+"px "+e.font;var f=i.measureText(e.text+"m").width*o,d=e.size<<1;if(e.rotate){var h=Math.sin(e.rotate*a),p=Math.cos(e.rotate*a),A=f*p,C=f*h,v=d*p,I=d*h;f=Math.max(Math.abs(A+I),Math.abs(A-I))+31>>5<<5,d=~~Math.max(Math.abs(C+v),Math.abs(C-v))}else f=f+31>>5<<5;if(d>u&&(u=d),c+f>=2048&&(c=0,l+=u,u=0),l+d>=s)break;i.translate((c+(f>>1))/o,(l+(d>>1))/o),e.rotate&&i.rotate(e.rotate*a),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=d,e.xoff=c,e.yoff=l,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,c+=f}for(var y=i.getImageData(0,0,2048/o,s/o).data,m=[];--r>=0;)if((e=n[r]).hasText){for(var b=(f=e.width)>>5,x=(d=e.y1-e.y0,0);x<d*b;x++)m[x]=0;if(null==(c=e.xoff))return;l=e.yoff;for(var w=0,O=-1,S=0;S<d;S++){for(x=0;x<f;x++){var _=b*S+(x>>5),k=y[2048*(l+S)+(c+x)<<2]?1<<31-x%32:0;m[_]|=k,w|=k}w?O=S:(e.y0++,d--,S--,l++)}e.y1=e.y0+O,e.sprite=m.slice(0,(e.y1-e.y0)*b)}}}function p(t,e,n){n>>=5;for(var r,i=t.sprite,o=t.width>>5,a=t.x-(o<<4),s=127&a,c=32-s,l=t.y1-t.y0,u=(t.y+t.y0)*n+(a>>5),g=0;g<l;g++){r=0;for(var f=0;f<=o;f++)if((r<<c|(f<o?(r=i[g*o+f])>>>s:0))&e[u+f])return!0;u+=n}return!1}function A(t,e){var n=t[0],r=t[1];e.x+e.x0<n.x&&(n.x=e.x+e.x0),e.y+e.y0<n.y&&(n.y=e.y+e.y0),e.x+e.x1>r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function C(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0<e[1].x&&t.y+t.y1>e[0].y&&t.y+t.y0<e[1].y}function v(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function I(t){for(var e=[],n=-1;++n<t;)e[n]=0;return e}function y(){return document.createElement("canvas")}function m(t){return r.isFunction(t)?t:function(){return t}}e.functor=m;var b={archimedean:v,rectangular:function(t){var e=4*t[0]/t[1],n=0,r=0;return function(t){var i=t<0?-1:1;switch(Math.sqrt(1+4*i*t)-i&3){case 0:n+=e;break;case 1:r+=4;break;case 2:n-=e;break;default:r-=4}return[n,r]}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(9);function o(t){return{fontSize:t.data.size,text:t.data.text,textAlign:"center",fontFamily:t.data.font,fontWeight:t.data.weight,fill:t.color||t.defaultStyle.stroke,textBaseline:"alphabetic"}}i.registerShape("point","word-cloud",{draw:function(t,e){var n=t.x,a=t.y,s=e.addShape("text",{attrs:r.__assign(r.__assign({},o(t)),{x:n,y:a})}),c=t.data.rotate;return"number"===typeof c&&i.Util.rotate(s,c*Math.PI/180),s}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.legend=void 0;var r=n(1),i=n(0),o=n(20),a=n(47),s=n(60);function c(t){var e=t.chart,n=t.options,r=n.data,i=n.sectorStyle,a=n.color;return e.data(r),o.flow(s.interval)(o.deepAssign({},t,{options:{marginRatio:1,interval:{style:i,color:a}}})),t}function l(t){var e=t.chart,n=t.options,a=n.label,s=n.xField,c=o.findGeometry(e,"interval");if(!1===a)c.label(!1);else if(i.isObject(a)){var l=a.callback,u=a.fields,g=r.__rest(a,["callback","fields"]),f=g.offset,d=g.layout;(void 0===f||f>=0)&&(d=d?i.isArray(d)?d:[d]:[],g.layout=i.filter(d,(function(t){return"limit-in-shape"!==t.type})),g.layout.length||delete g.layout),c.label({fields:u||[s],callback:l,cfg:o.transformLabel(g)})}else o.log(o.LEVEL.WARN,null===a,"the label option must be an Object."),c.label({fields:[s]});return t}function u(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function g(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i}}),t}function f(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,c=n.yField;return o.flow(a.scale(((e={})[s]=r,e[c]=i,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return r?e.axis(o,r):e.axis(o,!1),i?e.axis(a,i):e.axis(a,!1),t}e.legend=u,e.adaptor=function(t){o.flow(c,f,l,g,d,u,a.tooltip,a.interaction,a.animation,a.theme,a.annotation(),a.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(47),i=n(20),o=n(393),a=n(396),s=n(662),c=n(663),l=n(664),u=n(126);function g(t){var e,n=t.options,r=n.compareField,a=n.xField,s=n.yField,c={minSize:0,maxSize:1,meta:(e={},e[u.FUNNEL_MAPPING_VALUE]={min:0,max:1,nice:!1},e),label:r?{fields:[a,s,r,u.FUNNEL_PERCENT,u.FUNNEL_CONVERSATION],style:{fill:"#fff",fontSize:12},formatter:function(t){return""+t[s]}}:{fields:[a,s,u.FUNNEL_PERCENT,u.FUNNEL_CONVERSATION],offset:0,position:"middle",style:{fill:"#fff",fontSize:12},formatter:function(t){return t[a]+" "+t[s]}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1,title:a,formatter:function(t){return{name:t[a],value:t[s]}}},conversionTag:{offsetX:10,offsetY:0,style:{},formatter:function(t){return"\u8f6c\u5316\u7387: "+o.conversionTagFormatter.apply(void 0,t[u.FUNNEL_CONVERSATION])}}};return i.deepAssign({options:c},t)}function f(t){var e=t.options,n=e.compareField,r=e.dynamicHeight;return e.seriesField?c.facetFunnel(t):n?s.compareFunnel(t):r?l.dynamicHeightFunnel(t):a.basicFunnel(t)}function d(t){var e,n=t.options,o=n.xAxis,a=n.yAxis,s=n.xField,c=n.yField;return i.flow(r.scale(((e={})[s]=o,e[c]=a,e)))(t)}function h(t){return t.chart.axis(!1),t}function p(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}e.meta=d,e.adaptor=function(t){return i.flow(g,f,d,h,r.tooltip,r.interaction,p,r.animation,r.theme,r.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareFunnel=void 0;var r=n(0),i=n(20),o=n(95),a=n(96),s=n(126),c=n(261);function l(t){var e,n=t.chart,r=t.options,i=r.data,o=void 0===i?[]:i,a=r.yField;return n.data(o),n.scale(((e={})[a]={sync:!0},e)),t}function u(t){var e=t.chart,n=t.options,l=n.data,u=n.xField,g=n.yField,f=n.color,d=n.compareField,h=n.isTransposed,p=n.tooltip,A=n.maxSize,C=n.minSize,v=n.label;return e.facet("mirror",{fields:[d],transpose:!h,padding:h?0:[32,0,0,0],eachView:function(t,e){var n=h?e.rowIndex:e.columnIndex;h||t.coordinate({type:"rect",actions:[["transpose"],["scale",0===n?-1:1,-1]]});var I=c.transformData(e.data,l,{yField:g,maxSize:A,minSize:C});t.data(I);var y=o.getTooltipMapping(p,[u,g,d]),m=y.fields,b=y.formatter,x=h?{offset:0===n?10:-23,position:0===n?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:0===n?"end":"start"}};a.geometry({chart:t,options:{type:"interval",xField:u,yField:s.FUNNEL_MAPPING_VALUE,colorField:u,tooltipFields:r.isArray(m)&&m.concat([s.FUNNEL_PERCENT,s.FUNNEL_CONVERSATION]),mapping:{shape:"funnel",tooltip:b,color:f,style:{lineWidth:1,stroke:"#fff"}},label:!1!==v&&i.deepAssign({},x,v)}})}}),t}function g(t){var e=t.chart,n=t.options,r=n.conversionTag,o=n.isTransposed;return e.once("beforepaint",(function(){e.views.forEach((function(t,e){c.conversionTagComponent((function(t,n,a,c){var l=0===e?-1:1;return i.deepAssign({},c,{start:[n-.5,t[s.FUNNEL_MAPPING_VALUE]],end:[n-.5,t[s.FUNNEL_MAPPING_VALUE]+.05],text:o?{style:{textAlign:"start"}}:{offsetX:!1!==r?l*r.offsetX:0,style:{textAlign:0===e?"end":"start"}}})}))(i.deepAssign({},{chart:t,options:n}))}))})),t}e.compareFunnel=function(t){return i.flow(l,u,g)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.facetFunnel=void 0;var r=n(20),i=n(396);function o(t){var e,n=t.chart,r=t.options,i=r.data,o=void 0===i?[]:i,a=r.yField;return n.data(o),n.scale(((e={})[a]={sync:!0},e)),t}function a(t){var e=t.chart,n=t.options,o=n.seriesField,a=n.isTransposed;return e.facet("rect",{fields:[o],padding:[a?0:32,10,0,10],eachView:function(e,n){i.basicFunnel(r.deepAssign({},t,{chart:e,options:{data:n.data}}))}}),t}e.facetFunnel=function(t){return r.flow(o,a)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dynamicHeightFunnel=void 0;var r=n(1),i=n(0),o=n(20),a=n(126),s=n(96),c=n(95),l=n(261);function u(t){var e=t.chart,n=t.options,r=n.data,o=void 0===r?[]:r,s=n.yField,c=i.reduce(o,(function(t,e){return t+(e[s]||0)}),0),l=i.maxBy(o,s)[s],u=i.map(o,(function(t,e){var n=[],r=[];if(t[a.FUNNEL_TOTAL_PERCENT]=(t[s]||0)/c,e){var u=o[e-1][a.PLOYGON_X],g=o[e-1][a.PLOYGON_Y];n[0]=u[3],r[0]=g[3],n[1]=u[2],r[1]=g[2]}else n[0]=-.5,r[0]=1,n[1]=.5,r[1]=1;return r[2]=r[1]-t[a.FUNNEL_TOTAL_PERCENT],n[2]=(r[2]+1)/4,r[3]=r[2],n[3]=-n[2],t[a.PLOYGON_X]=n,t[a.PLOYGON_Y]=r,t[a.FUNNEL_PERCENT]=(t[s]||0)/l,t[a.FUNNEL_CONVERSATION]=[i.get(o,[e-1,s]),t[s]],t}));return e.data(u),t}function g(t){var e=t.chart,n=t.options,r=n.xField,o=n.yField,l=n.color,u=n.tooltip,g=n.label,f=c.getTooltipMapping(u,[r,o]),d=f.fields,h=f.formatter;return s.geometry({chart:e,options:{type:"polygon",xField:a.PLOYGON_X,yField:a.PLOYGON_Y,colorField:r,tooltipFields:i.isArray(d)&&d.concat([a.FUNNEL_PERCENT,a.FUNNEL_CONVERSATION]),label:g,mapping:{tooltip:h,color:l}}}),t}function f(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[["transpose"],["reflect","x"]]:[]}),t}function d(t){return l.conversionTagComponent((function(t,e,n,i){return r.__assign(r.__assign({},i),{start:[t[a.PLOYGON_X][1],t[a.PLOYGON_Y][1]],end:[t[a.PLOYGON_X][1]+.05,t[a.PLOYGON_Y][1]]})}))(t),t}e.dynamicHeightFunnel=function(t){return o.flow(u,g,f,d)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(47),o=n(60),a=n(20);function s(t){var e=t.chart,n=t.options,i=n.data,s=n.lineStyle,c=n.color,l=n.point,u=n.area;e.data(i);var g=a.deepAssign({},t,{options:{line:{style:s,color:c},point:l?r.__assign({color:c},l):l,area:u?r.__assign({color:c},u):u,label:void 0}}),f=a.deepAssign({},g,{options:{tooltip:!1}});return o.line(g),o.point(f),o.area(f),t}function c(t){var e,n=t.options,r=n.xAxis,o=n.yAxis,s=n.xField,c=n.yField;return a.flow(i.scale(((e={})[s]=r,e[c]=o,e)))(t)}function l(t){var e=t.chart,n=t.options.radius;return e.coordinate("polar",{radius:n}),t}function u(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,o=n.yField,a=n.yAxis;return e.axis(r,i),e.axis(o,a),t}function g(t){var e=t.chart,n=t.options,i=n.label,o=n.yField,s=a.findGeometry(e,"line");if(i){var c=i.callback,l=r.__rest(i,["callback"]);s.label({fields:[o],callback:c,cfg:a.transformLabel(l)})}else s.label(!1);return t}e.adaptor=function(t){return a.flow(s,c,i.theme,l,u,i.legend,i.tooltip,g,i.interaction,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9),i=n(667);r.registerAction("radar-tooltip",i.RadarTooltipAction),r.registerInteraction("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTooltipAction=e.RadarTooltipController=void 0;var r=n(1),i=n(9),o=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),a=n.shared,s=n.title,c=t.prototype.getTooltipItems.call(this,e);if(c.length>0){var l=this.view.geometries[0],u=l.dataArray,g=c[0].name,f=[];return u.forEach((function(t){t.forEach((function(t){var e=i.Util.getTooltipItems(t,l)[0];if(!a&&e&&e.name===g){var n=o.isNil(s)?g:s;f.push(r.__assign(r.__assign({},e),{name:e.title,title:n}))}else a&&e&&(n=o.isNil(s)?e.name||g:s,f.push(r.__assign(r.__assign({},e),{name:e.title,title:n})))}))})),f}return[]},e}(i.TooltipController);e.RadarTooltipController=a,i.registerComponentController("radar-tooltip",a);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(i.Action);e.RadarTooltipAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(0),i=n(47),o=n(20),a=n(60),s=n(397);function c(t){var e=t.chart,n=t.options,r=n.percent,i=n.color,c=n.liquidStyle,l=n.radius,u=n.outline,g=n.wave;e.scale({percent:{min:0,max:1}}),e.data(s.getLiquidData(r));var f=o.deepAssign({},t,{options:{xField:"type",yField:"percent",widthRatio:l,interval:{color:i,style:c,shape:"liquid-fill-gauge"}}});return a.interval(f).ext.geometry.customInfo({radius:l,outline:u,wave:g}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function l(t,e){var n=t.chart,i=t.options,a=i.statistic,s=i.percent,c=i.meta;if(n.getController("annotation").clear(!0),a.content&&!a.content.formatter){var l=r.get(c,["percent","formatter"]);a.content.formatter=function(t){var e=t.percent;return l?l(e):(100*e).toFixed(2)+"%"}}return o.renderStatistic(n,{statistic:a,plotType:"liquid"},{percent:s}),e&&n.render(!0),t}e.statistic=l,e.adaptor=function(t){return o.flow(c,l,i.scale({}),i.animation,i.theme,i.interaction)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(9),o=n(0),a=n(394);function s(t,e,n){return t+(e-t)*n}function c(t,e,n,r){return 0===e?[[t+.5*n/Math.PI/2,r/2],[t+.5*n/Math.PI,r],[t+n/4,r]]:1===e?[[t+.5*n/Math.PI/2*(Math.PI-2),r],[t+.5*n/Math.PI/2*(Math.PI-1),r/2],[t+n/4,0]]:2===e?[[t+.5*n/Math.PI/2,-r/2],[t+.5*n/Math.PI,-r],[t+n/4,-r]]:[[t+.5*n/Math.PI/2*(Math.PI-2),-r],[t+.5*n/Math.PI/2*(Math.PI-1),-r/2],[t+n/4,0]]}function l(t,e,n,r,i,o,a){for(var s=4*Math.ceil(2*t/n*4),l=[],u=r;u<2*-Math.PI;)u+=2*Math.PI;for(;u>0;)u-=2*Math.PI;var g=o-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",g,e]);for(var f=0,d=0;d<s;++d){var h=c(d*n/4,d%4,n,i);l.push(["C",h[0][0]+g,-h[0][1]+e,h[1][0]+g,-h[1][1]+e,h[2][0]+g,-h[2][1]+e]),d===s-1&&(f=h[2][0])}return l.push(["L",f+g,a+t]),l.push(["L",g,a+t]),l.push(["Z"]),l}i.registerShape("interval","liquid-fill-gauge",{draw:function(t,e){var n=t.customInfo,i=n.radius,c=n.outline,u=n.wave,g=c.border,f=c.distance,d=u.count,h=u.length,p=o.reduce(t.points,(function(t,e){return Math.min(t,e.x)}),1/0),A=this.parsePoint({x:.5,y:.5}),C=this.parsePoint({x:p,y:.5}),v=A.x-C.x,I=Math.min(v,C.y*i),y=function(t){var e=r.__assign({opacity:1},t.style);return t.color&&!e.fill&&(e.fill=t.color),e}(t),m=function(t){var e=o.mix({},{fill:"#fff",fillOpacity:0,lineWidth:4},t.style);return t.color&&!e.stroke&&(e.stroke=t.color),o.isNumber(t.opacity)&&(e.opacity=e.strokeOpacity=t.opacity),e}(t);e.addShape("circle",{name:"wrap",attrs:o.mix(m,{x:A.x,y:A.y,r:I,fill:"transparent",lineWidth:g})});var b=e.addGroup({name:"waves"}),x=b.setClip({type:"circle",attrs:{x:A.x,y:A.y,r:I-f-g/2}});return function(t,e,n,r,i,o,c,u,g){for(var f=i.fill,d=i.opacity,h=c.getBBox(),p=h.maxX-h.minX,A=h.maxY-h.minY,C=0;C<r;C++){var v=r<=1?0:C/(r-1),I=o.addShape("path",{name:"waterwave-path",attrs:{path:l(u,h.minY+A*n,g,0,p/32,t,e),fill:f,opacity:s(.2,.9,v)*d}});try{var y=a.transform([["t",g,0]]);I.stopAnimate(),I.animate({matrix:y},{duration:s(2500,5e3,v),repeat:!0})}catch(m){console.warn("off-screen group animate error!")}}}(A.x,A.y,1-t.points[1].y,d,y,b,x,2*I,h),e}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(47),o=n(20),a=n(20),s=n(60),c=n(398);function l(t){var e=t.chart,n=t.options,r=n.data,i=n.binField,a=n.binNumber,l=n.binWidth,u=n.color,g=n.stackField,f=n.legend,d=n.columnStyle,h=c.binHistogram(r,i,l,a,g);e.data(h);var p=o.deepAssign({},t,{options:{xField:"range",yField:"count",seriesField:g,isStack:!0,interval:{color:u,style:d}}});return s.interval(p),f&&g&&e.legend(g,f),t}function u(t){var e=t.options,n=e.xAxis,r=e.yAxis;return a.flow(i.scale({range:n,count:r}))(t)}function g(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis;return!1===r?e.axis("range",!1):e.axis("range",r),!1===i?e.axis("count",!1):e.axis("count",i),t}function f(t){var e=t.chart,n=t.options.label,i=o.findGeometry(e,"interval");if(n){var s=n.callback,c=r.__rest(n,["callback"]);i.label({fields:["count"],callback:s,cfg:a.transformLabel(c)})}else i.label(!1);return t}e.adaptor=function(t){return a.flow(l,u,g,i.theme,f,i.tooltip,i.interaction,i.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.tooltip=void 0;var r=n(1),i=n(0),o=n(47),a=n(60),s=n(20),c=n(399),l=n(400);function u(t){var e=t.chart,n=t.options,r=n.data,o=n.xField,u=n.yField,g=n.total,f=n.leaderLine,d=n.columnWidthRatio,h=n.waterfallStyle,p=n.risingFill,A=n.fallingFill,C=n.color;e.data(l.transformData(r,o,u,g));var v=C||function(t){return i.get(t,[c.IS_TOTAL])?i.get(g,["style","fill"],""):i.get(t,[c.Y_FIELD,1])-i.get(t,[c.Y_FIELD,0])>0?p:A},I=s.deepAssign({},t,{options:{xField:o,yField:c.Y_FIELD,seriesField:o,rawFields:[u,c.DIFF_FIELD,c.IS_TOTAL,c.Y_FIELD],widthRatio:d,interval:{style:h,shape:"waterfall",color:v}}}),y=a.interval(I).ext.geometry;return y.customInfo({leaderLine:f}),y.tooltip(u),t}function g(t){var e,n,r=t.options,a=r.xAxis,l=r.yAxis,u=r.xField,g=r.yField,f=r.meta,d=s.deepAssign({},{alias:g},i.get(f,g));return s.flow(o.scale(((e={})[u]=a,e[g]=l,e[c.Y_FIELD]=l,e),s.deepAssign({},f,((n={})[c.Y_FIELD]=d,n[c.DIFF_FIELD]=d,n[c.ABSOLUTE_FIELD]=d,n))))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return!1===r?e.axis(o,!1):e.axis(o,r),!1===i?(e.axis(a,!1),e.axis(c.Y_FIELD,!1)):(e.axis(a,i),e.axis(c.Y_FIELD,i)),t}function d(t){var e=t.chart,n=t.options,r=n.legend,o=n.total,a=n.risingFill,c=n.fallingFill;if(!1===r)e.legend(!1);else{var l=[{name:"\u589e\u52a0",value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:"\u51cf\u5c11",value:"decrease",marker:{symbol:"square",style:{r:5,fill:c}}}];o&&l.push({name:o.label||"",value:"total",marker:{symbol:"square",style:s.deepAssign({},{r:5},i.get(o,"style"))}}),e.legend(s.deepAssign({},{custom:!0,position:"top",items:l},r)),e.removeInteraction("legend-filter")}return t}function h(t){var e=t.chart,n=t.options,i=n.label,o=n.labelMode,a=n.xField,l=s.findGeometry(e,"interval");if(i){var u=i.callback,g=r.__rest(i,["callback"]);l.label({fields:"absolute"===o?[c.ABSOLUTE_FIELD,a]:[c.DIFF_FIELD,a],callback:u,cfg:s.transformLabel(g)})}else l.label(!1);return t}function p(t){var e=t.chart,n=t.options,i=n.tooltip,o=n.yField;return!1!==i?e.tooltip(r.__assign({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i)):e.tooltip(!1),t}n(672),e.tooltip=p,e.adaptor=function(t){return s.flow(u,g,f,d,p,h,o.state,o.theme,o.interaction,o.animation,o.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(9),o=n(0),a=n(20);i.registerShape("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,s=t.nextPoints,c=e.addGroup(),l=this.parsePath(function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r){var i=0===n?"M":"L";e.push([i,r.x,r.y])}}var o=t[0];return e.push(["L",o.x,o.y]),e.push(["z"]),e}(i)),u=function(t){return a.deepAssign({},t.defaultStyle,t.style,{fill:t.color})}(t);c.addShape("path",{attrs:r.__assign(r.__assign({},u),{path:l})});var g=o.get(n,"leaderLine");if(g&&s){var f=[["M",i[2].x,i[2].y],["L",s[0].x,s[0].y]];i[2].y===s[1].y&&(f[1]=["L",s[1].x,s[1].y]),f=this.parsePath(f),c.addShape("path",{attrs:r.__assign({path:f},g.style||{})})}return c}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.tooltip=e.meta=e.transformOptions=void 0;var r=n(1),i=n(0),o=n(20),a=n(60),s=n(47),c=n(20),l=n(674);function u(t){var e=t.data;return 1===(void 0===e?[]:e).length?o.deepAssign({},t,{meta:l.getMeta(t)}):t}function g(t){var e=t.chart,n=t.options,s=n.data,l=n.type,u=n.color,g=n.shape,f=n.pointStyle,d=n.shapeField,h=n.colorField,p=n.xField,A=n.yField,C=n.sizeField,v=n.size,I=n.tooltip;C&&!i.isArray(v)&&(v=[2,8]),I&&!I.fields&&(I=r.__assign(r.__assign({},I),{fields:[p,A,h,C,d]})),e.data(s),a.point(o.deepAssign({},t,{options:{seriesField:h,point:{color:u,shape:g,size:v,style:f},tooltip:I}}));var y=c.findGeometry(e,"point");return l&&y.adjust(l),t}function f(t){var e,n=t.options,r=n.data,i=n.xAxis,a=n.yAxis,c=n.xField,g=n.yField,f=n;return 1===r.length&&(f=u(o.deepAssign({},n,{meta:l.getMeta(n)}))),o.flow(s.scale(((e={})[c]=i,e[g]=a,e)))(o.deepAssign({},t,{options:f}))}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.yField;return e.axis(o,r),e.axis(a,i),t}function h(t){var e=t.chart,n=t.options,r=n.legend,o=n.colorField,a=n.shapeField,s=n.sizeField;return(i.isBoolean(r)?r:r||a||o)?(e.legend(o||a,r),s&&e.legend(s,!1)):e.legend(!1),t}function p(t){var e=t.chart,n=t.options,i=n.label,o=n.yField,a=c.findGeometry(e,"point");if(i){var s=i.callback,l=r.__rest(i,["callback"]);a.label({fields:[o],callback:s,cfg:c.transformLabel(l)})}else a.label(!1);return t}function A(t){var e=t.options.quadrant,n=[];if(e){var i=e.xBaseline,a=void 0===i?0:i,c=e.yBaseline,u=void 0===c?0:c,g=e.labels,f=e.regionStyle,d=e.lineStyle,h=l.getQuadrantDefaultConfig(a,u);new Array(4).join(",").split(",").forEach((function(t,e){n.push(r.__assign(r.__assign({type:"region",top:!1},h.regionStyle[e].position),{style:o.deepAssign({},h.regionStyle[e].style,null===f||void 0===f?void 0:f[e])}),r.__assign({type:"text",top:!0},o.deepAssign({},h.labelStyle[e],null===g||void 0===g?void 0:g[e])))})),n.push({type:"line",top:!1,start:["min",u],end:["max",u],style:o.deepAssign({},h.lineStyle,d)},{type:"line",top:!1,start:[a,"min"],end:[a,"max"],style:o.deepAssign({},h.lineStyle,d)})}return o.flow(s.annotation(n))(t)}function C(t){var e=t.options,n=t.chart,i=e.regressionLine;if(i){var o=i.style,a=i.top,s=void 0!==a&&a,c={stroke:"#9ba29a",lineWidth:2,opacity:.5};n.annotation().shape({top:s,render:function(t,i){var a=t.addGroup({id:n.id+"-regression-line",name:"regression-line-group"}),s=l.getPath({view:i,options:e});a.addShape("path",{name:"regression-line",attrs:r.__assign(r.__assign({path:s},c),o)})}})}return t}function v(t){var e=t.chart,n=t.options.tooltip;return n?e.tooltip(n):!1===n&&e.tooltip(!1),t}e.transformOptions=u,e.meta=f,e.tooltip=v,e.adaptor=function(t){return o.flow(g,f,d,h,v,p,s.interaction,A,s.animation,s.theme,C)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMeta=e.getPath=e.getQuadrantDefaultConfig=void 0;var r=n(1),i=n(100),o=n(0),a=n(20),s={exp:i.regressionExp,linear:i.regressionLinear,loess:i.regressionLoess,log:i.regressionLog,poly:i.regressionPoly,pow:i.regressionPow,quad:i.regressionQuad};e.getQuadrantDefaultConfig=function(t,e){var n=10;return{regionStyle:[{position:{start:[t,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[t,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[t,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[t,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-10,offsetY:-10,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:-10,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:n,offsetY:n,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-10,offsetY:n,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]}},e.getPath=function(t){var e=t.options,n=e.xField,r=e.yField,i=e.data,c=e.regressionLine,l=c.type,u=void 0===l?"linear":l,g=c.algorithm;return function(t,e){var n=e.view,r=e.options,i=r.xField,o=r.yField,s=n.getScaleByField(i),c=n.getScaleByField(o),l=t.map((function(t){return n.getCoordinate().convert({x:s.scale(t[0]),y:c.scale(t[1])})}));return a.getSplinePath(l,!1)}(g?o.isArray(g)?g:g(i):s[u]().x((function(t){return t[n]})).y((function(t){return t[r]}))(i),t)},e.getMeta=function(t){var e,n=t.meta,i=void 0===n?{}:n,a=t.xField,s=t.yField,c=t.data,l=c[0][a],u=c[0][s],g=l>0,f=u>0,d=function(t,e,n){var r=o.get(i,[t,e]);return o.isNumber(r)?r:"x"===n?{min:g?0:2*l,max:g?2*l:0}[e]:{min:f?0:2*u,max:f?2*u:0}[e]};return r.__assign(r.__assign({},i),((e={})[a]=r.__assign(r.__assign({},i[a]),{min:d(a,"min","x"),max:d(a,"max","x")}),e[s]=r.__assign(r.__assign({},i[s]),{min:d(s,"min","y"),max:d(s,"max","y")}),e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(9).registerInteraction("drag-move",{start:[{trigger:"plot:mousedown",action:"scale-translate:start"}],processing:[{trigger:"plot:mousemove",action:"scale-translate:translate",throttle:{wait:100,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseup",action:"scale-translate:end"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(1),i=n(0),o=n(47),a=n(20),s=n(60),c=n(401);function l(t){var e=t.chart,n=t.options,o=n.bulletStyle,l=n.targetField,u=n.rangeField,g=n.measureField,f=n.xField,d=n.color,h=n.layout,p=n.size,A=n.label,C=c.transformData(n),v=C.min,I=C.max,y=C.ds;e.data(y);var m=a.deepAssign({},t,{options:{xField:f,yField:u,seriesField:"rKey",isStack:!0,label:i.get(A,"range"),interval:{color:i.get(d,"range"),style:i.get(o,"range"),size:i.get(p,"range")}}});s.interval(m),e.geometries[0].tooltip(!1);var b=a.deepAssign({},t,{options:{xField:f,yField:g,seriesField:"mKey",isStack:!0,label:i.get(A,"measure"),interval:{color:i.get(d,"measure"),style:i.get(o,"measure"),size:i.get(p,"measure")}}});s.interval(b);var x=a.deepAssign({},t,{options:{xField:f,yField:l,seriesField:"tKey",label:i.get(A,"target"),point:{color:i.get(d,"target"),style:i.get(o,"target"),size:i.get(p,"target")/2,shape:"horizontal"===h?"line":"hyphen"}}});return s.point(x),"horizontal"===h&&e.coordinate().transpose(),r.__assign(r.__assign({},t),{ext:{data:{min:v,max:I}}})}function u(t){var e,n,r=t.options,i=t.ext,s=r.xAxis,c=r.yAxis,l=r.targetField,u=r.rangeField,g=r.measureField,f=r.xField,d=i.data;return a.flow(o.scale(((e={})[f]=s,e[g]=c,e),((n={})[g]={min:null===d||void 0===d?void 0:d.min,max:null===d||void 0===d?void 0:d.max},n[l]={sync:""+g},n[u]={sync:""+g},n)))(t)}function g(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,o=n.xField,a=n.measureField,s=n.rangeField,c=n.targetField;return e.axis(""+s,!1),e.axis(""+c,!1),!1===r?e.axis(""+o,!1):e.axis(""+o,r),!1===i?e.axis(""+a,!1):e.axis(""+a,i),t}function f(t){var e=t.chart,n=t.options.legend;return e.removeInteraction("legend-filter"),e.legend(n),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function d(t){var e=t.chart,n=t.options,o=n.label,s=n.measureField,c=n.targetField,l=n.rangeField,u=e.geometries,g=u[0],f=u[1],d=u[2];return i.get(o,"range")?g.label(""+l,r.__assign({layout:[{type:"limit-in-plot"}]},a.transformLabel(o.range))):g.label(!1),i.get(o,"measure")?f.label(""+s,r.__assign({layout:[{type:"limit-in-plot"}]},a.transformLabel(o.measure))):f.label(!1),i.get(o,"target")?d.label(""+c,r.__assign({layout:[{type:"limit-in-plot"}]},a.transformLabel(o.target))):d.label(!1),t}e.meta=u,e.adaptor=function(t){a.flow(l,u,g,f,o.theme,d,o.tooltip,o.interaction,o.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),o=n(47),a=n(259),s=n(20),c=n(181),l=n(413);function u(t){var e=t.chart,n=t.options,r=n.percent,o=n.range,u=n.radius,g=n.innerRadius,f=n.startAngle,d=n.endAngle,h=n.axis,p=n.indicator,A=o.color;if(p){var C=l.getIndicatorData(r),v=e.createView({id:c.INDICATEOR_VIEW_ID});v.data(C),v.point().position(c.PERCENT+"*1").shape("gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:p}),v.coordinate("polar",{startAngle:f,endAngle:d,radius:g*u}),v.axis(c.PERCENT,h),v.scale(c.PERCENT,s.pick(h,a.AXIS_META_CONFIG_KEYS))}var I=l.getRangeData(r,n.range),y=e.createView({id:c.RANGE_VIEW_ID});y.data(I);var m=i.isString(A)?[A,c.DEFAULT_COLOR]:A;return y.interval().position("1*"+c.RANGE_VALUE).color(c.RANGE_TYPE,m).adjust("stack"),y.coordinate("polar",{innerRadius:g,radius:u,startAngle:f,endAngle:d}).transpose(),t}function g(t){var e;return s.flow(o.scale(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[c.PERCENT]={},e)))(t)}function f(t,e){var n=t.chart,i=t.options,o=i.statistic,a=i.percent;if(n.getController("annotation").clear(!0),o){var c=o.content,l=void 0;c&&(l=s.deepAssign({},{formatter:function(t){return(100*t.percent).toFixed(2)+"%"},style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},c)),s.renderGaugeStatistic(n,{statistic:r.__assign(r.__assign({},o),{content:l})},{percent:a})}return e&&n.render(!0),t}function d(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}e.statistic=f,e.adaptor=function(t){return s.flow(o.animation,u,g,f,o.interaction,o.theme,d)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(9).registerShape("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,o=n.defaultColor,a=i,s=a.pointer,c=a.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return s&&l.addShape("line",{name:"pointer",attrs:r.__assign({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:o},s.style)}),c&&l.addShape("circle",{name:"pin",attrs:r.__assign({x:u.x,y:u.y,stroke:o},c.style)}),l}})},function(t,e,n){"use strict";n.r(e),n.d(e,"getCoordinate",(function(){return g})),n.d(e,"registerCoordinate",(function(){return f})),n.d(e,"Coordinate",(function(){return a}));var r=n(30),i=n(15),o=n(0),a=function(){function t(t){this.type="coordinate",this.isRect=!1,this.isHelix=!1,this.isPolar=!1,this.isReflectX=!1,this.isReflectY=!1;var e=t.start,n=t.end,i=t.matrix,o=void 0===i?[1,0,0,0,1,0,0,0,1]:i,a=t.isTransposed,s=void 0!==a&&a;this.start=e,this.end=n,this.matrix=o,this.originalMatrix=Object(r.c)(o),this.isTransposed=s}return t.prototype.initial=function(){this.center={x:(this.start.x+this.end.x)/2,y:(this.start.y+this.end.y)/2},this.width=Math.abs(this.end.x-this.start.x),this.height=Math.abs(this.end.y-this.start.y)},t.prototype.update=function(t){Object(o.assign)(this,t),this.initial()},t.prototype.convertDim=function(t,e){var n,r=this[e],i=r.start,o=r.end;return this.isReflect(e)&&(i=(n=[o,i])[0],o=n[1]),i+t*(o-i)},t.prototype.invertDim=function(t,e){var n,r=this[e],i=r.start,o=r.end;return this.isReflect(e)&&(i=(n=[o,i])[0],o=n[1]),(t-i)/(o-i)},t.prototype.applyMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,o=[t,e,n];return i.vec3.transformMat3(o,o,r),o},t.prototype.invertMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,o=i.mat3.invert([0,0,0,0,0,0,0,0,0],r),a=[t,e,n];return o&&i.vec3.transformMat3(a,a,o),a},t.prototype.convert=function(t){var e=this.convertPoint(t),n=e.x,r=e.y,i=this.applyMatrix(n,r,1);return{x:i[0],y:i[1]}},t.prototype.invert=function(t){var e=this.invertMatrix(t.x,t.y,1);return this.invertPoint({x:e[0],y:e[1]})},t.prototype.rotate=function(t){var e=this.matrix,n=this.center;return i.ext.leftTranslate(e,e,[-n.x,-n.y]),i.ext.leftRotate(e,e,t),i.ext.leftTranslate(e,e,[n.x,n.y]),this},t.prototype.reflect=function(t){return"x"===t?this.isReflectX=!this.isReflectX:this.isReflectY=!this.isReflectY,this},t.prototype.scale=function(t,e){var n=this.matrix,r=this.center;return i.ext.leftTranslate(n,n,[-r.x,-r.y]),i.ext.leftScale(n,n,[t,e]),i.ext.leftTranslate(n,n,[r.x,r.y]),this},t.prototype.translate=function(t,e){var n=this.matrix;return i.ext.leftTranslate(n,n,[t,e]),this},t.prototype.transpose=function(){return this.isTransposed=!this.isTransposed,this},t.prototype.getCenter=function(){return this.center},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRadius=function(){return this.radius},t.prototype.isReflect=function(t){return"x"===t?this.isReflectX:this.isReflectY},t.prototype.resetMatrix=function(t){this.matrix=t||Object(r.c)(this.originalMatrix)},t}(),s=function(t){function e(e){var n=t.call(this,e)||this;return n.isRect=!0,n.type="cartesian",n.initial(),n}return Object(r.b)(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=this.start,n=this.end;this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;return this.isTransposed&&(n=(e=[r,n])[0],r=e[1]),{x:this.convertDim(n,"x"),y:this.convertDim(r,"y")}},e.prototype.invertPoint=function(t){var e,n=this.invertDim(t.x,"x"),r=this.invertDim(t.y,"y");return this.isTransposed&&(n=(e=[r,n])[0],r=e[1]),{x:n,y:r}},e}(a),c=function(t){function e(e){var n=t.call(this,e)||this;n.isHelix=!0,n.type="helix";var r=e.startAngle,i=void 0===r?1.25*Math.PI:r,o=e.endAngle,a=void 0===o?7.25*Math.PI:o,s=e.innerRadius,c=void 0===s?0:s,l=e.radius;return n.startAngle=i,n.endAngle=a,n.innerRadius=c,n.radius=l,n.initial(),n}return Object(r.b)(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=(this.endAngle-this.startAngle)/(2*Math.PI)+1,n=Math.min(this.width,this.height)/2;this.radius&&this.radius>=0&&this.radius<=1&&(n*=this.radius),this.d=Math.floor(n*(1-this.innerRadius)/e),this.a=this.d/(2*Math.PI),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*n,end:this.innerRadius*n+.99*this.d}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;this.isTransposed&&(n=(e=[r,n])[0],r=e[1]);var i=this.convertDim(n,"x"),o=this.a*i,a=this.convertDim(r,"y");return{x:this.center.x+Math.cos(i)*(o+a),y:this.center.y+Math.sin(i)*(o+a)}},e.prototype.invertPoint=function(t){var e,n=this.d+this.y.start,r=i.vec2.subtract([0,0],[t.x,t.y],[this.center.x,this.center.y]),a=i.ext.angleTo(r,[1,0],!0),s=a*this.a;i.vec2.length(r)<s&&(s=i.vec2.length(r)),a=2*Math.floor((i.vec2.length(r)-s)/n)*Math.PI+a;var c=this.a*a,l=i.vec2.length(r)-c;l=Object(o.isNumberEqual)(l,0)?0:l;var u=this.invertDim(a,"x"),g=this.invertDim(l,"y");return u=Object(o.isNumberEqual)(u,0)?0:u,g=Object(o.isNumberEqual)(g,0)?0:g,this.isTransposed&&(u=(e=[g,u])[0],g=e[1]),{x:u,y:g}},e}(a),l=function(t){function e(e){var n=t.call(this,e)||this;n.isPolar=!0,n.type="polar";var r=e.startAngle,i=void 0===r?-Math.PI/2:r,o=e.endAngle,a=void 0===o?3*Math.PI/2:o,s=e.innerRadius,c=void 0===s?0:s,l=e.radius;return n.startAngle=i,n.endAngle=a,n.innerRadius=c,n.radius=l,n.initial(),n}return Object(r.b)(e,t),e.prototype.initial=function(){for(t.prototype.initial.call(this);this.endAngle<this.startAngle;)this.endAngle+=2*Math.PI;var e,n=this.getOneBox(),r=n.maxX-n.minX,i=n.maxY-n.minY,o=Math.abs(n.minX)/r,a=Math.abs(n.minY)/i;this.height/i>this.width/r?(e=this.width/r,this.circleCenter={x:this.center.x-(.5-o)*this.width,y:this.center.y-(.5-a)*e*i}):(e=this.height/i,this.circleCenter={x:this.center.x-(.5-o)*e*r,y:this.center.y-(.5-a)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=e*this.radius:(this.radius<=0||this.radius>e)&&(this.polarRadius=e):this.polarRadius=e,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var e,n=this.getCenter(),r=t.x,i=t.y;return this.isTransposed&&(r=(e=[i,r])[0],i=e[1]),r=this.convertDim(r,"x"),i=this.convertDim(i,"y"),{x:n.x+Math.cos(r)*i,y:n.y+Math.sin(r)*i}},e.prototype.invertPoint=function(t){var e=this.getCenter(),n=[t.x-e.x,t.y-e.y],r=[1,0,0,0,1,0,0,0,1];i.ext.leftRotate(r,r,this.startAngle);var a=[1,0,0];i.vec3.transformMat3(a,a,r);var s=[a[0],a[1]],c=i.ext.angleTo(s,n,this.endAngle<this.startAngle);Object(o.isNumberEqual)(c,2*Math.PI)&&(c=0);var l=i.vec2.length(n),u=c/(this.endAngle-this.startAngle);u=this.endAngle-this.startAngle>0?u:-u;var g=this.invertDim(l,"y"),f={x:0,y:0};return f.x=this.isTransposed?g:u,f.y=this.isTransposed?u:g,f},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,e=this.endAngle;if(Math.abs(e-t)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(e)],r=[0,Math.sin(t),Math.sin(e)],i=Math.min(t,e);i<Math.max(t,e);i+=Math.PI/18)n.push(Math.cos(i)),r.push(Math.sin(i));return{minX:Math.min.apply(Math,n),maxX:Math.max.apply(Math,n),minY:Math.min.apply(Math,r),maxY:Math.max.apply(Math,r)}},e}(a),u={},g=function(t){return u[t.toLowerCase()]},f=function(t,e){u[t.toLowerCase()]=e};f("rect",s),f("cartesian",s),f("polar",l),f("helix",c)},function(t,e,n){"use strict";var r=n(8),i=n.n(r),o=n(35),a=n.n(o),s=n(312),c=n.n(s),l=n(11),u=n.n(l),g=n(12),f=n.n(g),d=n(6),h=n.n(d),p=n(86),A=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function C(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function v(t,e,n,r){for(var i=!1,o=A[t],a=t;a<A.length;a++)if(I({interval:A[a],tickCount:e,max:r,min:n})){o=A[a],i=!0;break}return i?o:10*v(0,e,n/10,r/10)}function I(t){var e=t.interval,n=t.tickCount,r=t.max,i=t.min;return Math.floor(i/e)*e+(n-1)*e>=r}function y(t){var e=t.toString(),n=e.indexOf("."),r=e.indexOf("e-"),i=r>=0?parseInt(e.substr(r+2),10):e.substr(n+1).length;return i>20&&(i=20),i}function m(t,e){return parseFloat(t.toFixed(e))}function b(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h()(t);if(e){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}Object(p.registerTickMethod)("linear-strict-tick-method",(function(t){var e=t||{},n=e.tickCount,r=e.tickInterval,i=t||{},o=i.min,a=i.max;o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=n&&n>=2?n:5,c=r||function(t){var e=t.tickCount,n=t.min,r=t.max;if(n===r)return 1*C(r);for(var i=(r-n)/(e-1),o=C(i),a=i/o,s=r/o,c=n/o,l=0,u=0;u<A.length;u++)if(a<=A[u]){l=u;break}var g=v(l,e,c,s),f=y(g)+y(o);return m(g*o,f)}({tickCount:s,max:a,min:o}),l=Math.floor(o/c)*c;if(r){var u=Math.abs(Math.ceil((a-l)/r))+1;s=Math.max(s,u)}for(var g=[],f=0,d=y(c);f<s;)g.push(m(l+f*c,d)),f++;return g}));var x=function(t){u()(n,t);var e=b(n);function n(t){var r;return i()(this,n),(r=e.call(this,t)).type="linear-strict",r}return a()(n,[{key:"initCfg",value:function(){c()(h()(n.prototype),"initCfg",this).call(this),this.tickMethod="linear-strict-tick-method"}},{key:"calculateTicks",value:function(){var t=this.nice;this.nice=!0;var e=c()(h()(n.prototype),"calculateTicks",this).call(this);return this.nice=t,e.length&&(this.min=e[0],this.max=e[e.length-1]),e}}]),n}(p.Linear);Object(p.registerScale)("linear-strict",x)}])},t.exports=r(n(0),n(20))},function(t,e,n){var r=n(227),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){"use strict";n.r(e);var r=n(347);n.d(e,"default",(function(){return r.a}))},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(32);function i(t){return Object(r.a)(t).defaultView||window}},function(t,e,n){"use strict";var r=n(567);e.a=function(t,e){return e?Object(r.a)(t,e,{clone:!1}):t}},function(t,e,n){"use strict";function r(t,e,n){var r=n.getRegistry(),i=r.addTarget(t,e);return[i,function(){return r.removeTarget(i)}]}function i(t,e,n){var r=n.getRegistry(),i=r.addSource(t,e);return[i,function(){return r.removeSource(i)}]}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}))},function(t,e,n){var r=n(133),i=n(21),o=n(116);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},function(t,e,n){"use strict";function r(t,e){for(var n in t)if({}.hasOwnProperty.call(t,n)&&(!{}.hasOwnProperty.call(e,n)||t[n]!==e[n]))return!1;for(var r in e)if({}.hasOwnProperty.call(e,r)&&!{}.hasOwnProperty.call(t,r))return!1;return!0}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return w}));var r=n(169),i=n.n(r),o=n(0),a=n.n(o),s=n(6),c=n.n(s),l=n(123),u=n.n(l);function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=function r(i){n<0&&(n=i),i-n>e?(t(i),n=-1):u()(r)};u()(r)}function f(t){return(f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function h(){var t=function(){return null},e=!1,n=function n(r){if(!e){if(Array.isArray(r)){if(!r.length)return;var i=d(r),o=i[0],a=i.slice(1);return"number"===typeof o?void g(n.bind(null,a),o):(n(o),void g(n.bind(null,a)))}"object"===f(r)&&t(r),"function"===typeof r&&r()}};return{stop:function(){e=!0},start:function(t){e=!1,n(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}var p=n(556),A=n.n(p);function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){v(t,e,n[e])}))}return t}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var I=["Webkit","Moz","O","ms"],y=["-webkit-","-moz-","-o-","-ms-"],m=["transform","transformOrigin","transition"],b=function(t){return t},x=function(t,e){return Object.keys(e).reduce((function(n,r){return C({},n,v({},r,t(r,e[r])))}),{})},w=function(t){return Object.keys(t).reduce((function(t,e){return C({},t,function(t,e){if(-1===m.indexOf(t))return v({},t,e);var n="transition"===t,r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),i=e;return I.reduce((function(t,o,a){return n&&(i=e.replace(/(transform|transform-origin)/gim,"".concat(y[a],"$1"))),C({},t,v({},o+r,i))}),{})}(e,t[e]))}),t)},O=function(t,e,n){return t.map((function(t){return"".concat((r=t,r.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(n);var r})).join(",")};function S(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var k=1e-4,j=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},E=function(t,e){return t.map((function(t,n){return t*Math.pow(e,n)})).reduce((function(t,e){return t+e}))},P=function(t,e){return function(n){var r=j(t,e);return E(r,n)}},M=function(t,e){return function(n){var r=_(j(t,e).map((function(t,e){return t*e})).slice(1)).concat([0]);return E(r,n)}},T=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],o=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":r=0,i=0,o=1,a=1;break;case"ease":r=.25,i=.1,o=.25,a=1;break;case"ease-in":r=.42,i=0,o=1,a=1;break;case"ease-out":r=.42,i=0,o=.58,a=1;break;case"ease-in-out":r=0,i=0,o=.58,a=1;break;default:var s=e[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var c=s[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),l=S(c,4);r=l[0],i=l[1],o=l[2],a=l[3]}}[r,o,i,a].every((function(t){return"number"===typeof t&&t>=0&&t<=1}));var u=P(r,o),g=P(i,a),f=M(r,o),d=function(t){return t>1?1:t<0?0:t},h=function(t){for(var e=t>1?1:t,n=e,r=0;r<8;++r){var i=u(n)-e,o=f(n);if(Math.abs(i-e)<k||o<k)return g(n);n=d(n-i/o)}return g(n)};return h.isStepper=!1,h},R=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,n=void 0===e?100:e,r=t.damping,i=void 0===r?8:r,o=t.dt,a=void 0===o?17:o,s=function(t,e,r){var o=r+(-(t-e)*n-r*i)*a/1e3,s=r*a/1e3+t;return Math.abs(s-e)<k&&Math.abs(o)<k?[e,0]:[s,o]};return s.isStepper=!0,s.dt=a,s},D=n(557),N=n.n(D);function L(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function F(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){B(t,e,n[e])}))}return t}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function z(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var V=function(t,e,n){return t+(e-t)*n},G=function(t){return t.from!==t.to},W=function t(e,n,r){var i=x((function(t,n){if(G(n)){var r=z(e(n.from,n.to,n.velocity),2);return F({},n,{from:r[0],velocity:r[1]})}return n}),n);return r<1?x((function(t,e){return G(e)?F({},e,{velocity:V(e.velocity,i[t].velocity,r),from:V(e.from,i[t].from,r)}):e}),n):t(e,i,r-1)},Y=function(t,e,n,r,i){var o,a,s,c,g=(o=t,a=e,A()(Object.keys(o),Object.keys(a))),f=g.reduce((function(n,r){return F({},n,B({},r,[t[r],e[r]]))}),{}),d=g.reduce((function(n,r){return F({},n,B({},r,{from:t[r],velocity:0,to:e[r]}))}),{}),h=-1,p=function(){return null};return p=n.isStepper?function(r){s||(s=r);var o=(r-s)/n.dt;d=W(n,d,o),i(F({},t,e,x((function(t,e){return e.from}),d))),s=r,N()(d,G).length&&(h=u()(p))}:function(o){c||(c=o);var a=(o-c)/r,s=x((function(t,e){return V.apply(void 0,L(e).concat([n(a)]))}),f);if(i(F({},t,e,s)),a<1)h=u()(p);else{var l=x((function(t,e){return V.apply(void 0,L(e).concat([n(1)]))}),f);i(F({},t,e,l))}},function(){return u()(p),function(){Object(l.cancel)(h)}}};function H(t){return(H="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function X(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Z(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){q(t,e,n[e])}))}return t}function q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Q(t,e){return!e||"object"!==H(e)&&"function"!==typeof e?tt(t):e}function J(t){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $(t,e){return($=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var et=function(t){function e(t,n){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=(r=Q(this,J(e).call(this,t,n))).props,o=i.isActive,a=i.attributeName,s=i.from,c=i.to,l=i.steps,u=i.children;if(r.handleStyleChange=r.handleStyleChange.bind(tt(tt(r))),r.changeStyle=r.changeStyle.bind(tt(tt(r))),!o)return r.state={style:{}},"function"===typeof u&&(r.state={style:c}),Q(r);if(l&&l.length)r.state={style:l[0].style};else if(s){if("function"===typeof u)return r.state={style:s},Q(r);r.state={style:a?q({},a,s):s}}else r.state={style:{}};return r}var n,r,s;return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$(t,e)}(e,t),n=e,(r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,n=t.canBegin;this.mounted=!0,e&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isActive,r=e.canBegin,o=e.attributeName,a=e.shouldReAnimate;if(r)if(n){if(!(i()(t.to,this.props.to)&&t.canBegin&&t.isActive)){var s=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=s||a?this.props.from:t.to;if(this.state&&this.state.style){var l={style:o?q({},o,c):c};(o&&this.state.style[o]!==c||!o&&this.state.style!==c)&&this.setState(l)}this.runAnimation(Z({},this.props,{from:c,begin:0}))}}else{var u={style:o?q({},o,this.props.to):this.props.to};this.state&&this.state.style&&(o&&this.state.style[o]!==this.props.to||!o&&this.state.style!==this.props.to)&&this.setState(u)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(t){var e=this,n=t.from,r=t.to,i=t.duration,o=t.easing,a=t.begin,s=t.onAnimationEnd,c=t.onAnimationStart,l=Y(n,r,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0];if("string"===typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return T(r);case"spring":return R();default:if("cubic-bezier"===r.split("(")[0])return T(r)}return"function"===typeof r?r:null}(o),i,this.changeStyle);this.manager.start([c,a,function(){e.stopJSAnimation=l()},i,s])}},{key:"runStepAnimation",value:function(t){var e=this,n=t.steps,r=t.begin,i=t.onAnimationStart,o=n[0],a=o.style,s=o.duration,c=void 0===s?0:s;return this.manager.start([i].concat(X(n.reduce((function(t,r,i){if(0===i)return t;var o=r.duration,a=r.easing,s=void 0===a?"ease":a,c=r.style,l=r.properties,u=r.onAnimationEnd,g=i>0?n[i-1]:r,f=l||Object.keys(c);if("function"===typeof s||"spring"===s)return X(t).concat([e.runJSAnimation.bind(e,{from:g.style,to:c,duration:o,easing:s}),o]);var d=O(f,o,s),h=Z({},g.style,c,{transition:d});return X(t).concat([h,o,u]).filter(b)}),[a,Math.max(c,r)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=h());var e=t.begin,n=t.duration,r=t.attributeName,i=t.to,o=t.easing,a=t.onAnimationStart,s=t.onAnimationEnd,c=t.steps,l=t.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!==typeof o&&"function"!==typeof l&&"spring"!==o)if(c.length>1)this.runStepAnimation(t);else{var g=r?q({},r,i):i,f=O(Object.keys(g),n,o);u.start([a,e,Z({},g,{transition:f}),n,s])}else this.runJSAnimation(t)}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"render",value:function(){var t=this.props,e=t.children,n=(t.begin,t.duration,t.attributeName,t.easing,t.isActive),r=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,U(t,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=o.Children.count(e),s=w(this.state.style);if("function"===typeof e)return e(s);if(!n||0===i)return e;var c=function(t){var e=t.props,n=e.style,i=void 0===n?{}:n,a=e.className;return Object(o.cloneElement)(t,Z({},r,{style:Z({},i,s),className:a}))};return 1===i?c(o.Children.only(e)):a.a.createElement("div",null,o.Children.map(e,(function(t){return c(t)})))}}])&&K(n.prototype,r),s&&K(n,s),e}(o.PureComponent);et.displayName="Animate",et.propTypes={from:c.a.oneOfType([c.a.object,c.a.string]),to:c.a.oneOfType([c.a.object,c.a.string]),attributeName:c.a.string,duration:c.a.number,begin:c.a.number,easing:c.a.oneOfType([c.a.string,c.a.func]),steps:c.a.arrayOf(c.a.shape({duration:c.a.number.isRequired,style:c.a.object.isRequired,easing:c.a.oneOfType([c.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),c.a.func]),properties:c.a.arrayOf("string"),onAnimationEnd:c.a.func})),children:c.a.oneOfType([c.a.node,c.a.func]),isActive:c.a.bool,canBegin:c.a.bool,onAnimationEnd:c.a.func,shouldReAnimate:c.a.bool,onAnimationStart:c.a.func,onAnimationReStart:c.a.func},et.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var nt=et,rt=n(282),it=n(168),ot=n.n(it);function at(t){return(at="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function st(){return(st=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ct(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ut(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ft(t,e){return!e||"object"!==at(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function dt(t){return(dt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ht(t,e){return(ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var pt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,n=t.duration;return e&&e.length?e.reduce((function(t,e){return t+(ot()(e.duration)&&e.duration>0?e.duration:0)}),0):ot()(n)?n:0},At=function(t){function e(){var t,n;ut(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=ft(this,(t=dt(e)).call.apply(t,[this].concat(i)))).state={isActive:!1},n.handleEnter=function(t,e){var r=n.props,i=r.appearOptions,o=r.enterOptions;n.handleStyleActive(e?i:o)},n.handleExit=function(){n.handleStyleActive(n.props.leaveOptions)},n}var n,r,i;return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ht(t,e)}(e,t),n=e,(r=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){lt(t,e,n[e])}))}return t}({},t,{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,n=t.enterOptions,r=t.leaveOptions;return pt(e)+pt(n)+pt(r)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,r=(e.appearOptions,e.enterOptions,e.leaveOptions,ct(e,["children","appearOptions","enterOptions","leaveOptions"]));return a.a.createElement(rt.Transition,st({},r,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return a.a.createElement(nt,t.state,o.Children.only(n))}))}}])&>(n.prototype,r),i&>(n,i),e}(o.Component);At.propTypes={appearOptions:c.a.object,enterOptions:c.a.object,leaveOptions:c.a.object,children:c.a.element};var Ct=At;function vt(t){var e=t.component,n=t.children,r=t.appear,i=t.enter,s=t.leave;return a.a.createElement(rt.TransitionGroup,{component:e},o.Children.map(n,(function(t,e){return a.a.createElement(Ct,{appearOptions:r,enterOptions:i,leaveOptions:s,key:"child-".concat(e)},t)})))}vt.propTypes={appear:c.a.object,enter:c.a.object,leave:c.a.object,children:c.a.oneOfType([c.a.array,c.a.element]),component:c.a.any},vt.defaultProps={component:"span"};e.a=nt},function(t,e,n){(function(e){for(var r=n(962),i="undefined"===typeof window?e:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],c=i["cancel"+a]||i["cancelRequest"+a],l=0;!s&&l<o.length;l++)s=i[o[l]+"Request"+a],c=i[o[l]+"Cancel"+a]||i[o[l]+"CancelRequest"+a];if(!s||!c){var u=0,g=0,f=[];s=function(t){if(0===f.length){var e=r(),n=Math.max(0,16.666666666666668-(e-u));u=n+e,setTimeout((function(){var t=f.slice(0);f.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(u)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return f.push({handle:++g,callback:t,cancelled:!1}),g},c=function(t){for(var e=0;e<f.length;e++)f[e].handle===t&&(f[e].cancelled=!0)}}t.exports=function(t){return s.call(i,t)},t.exports.cancel=function(){c.apply(i,arguments)},t.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=s,t.cancelAnimationFrame=c}}).call(this,n(60))},,function(t,e,n){var r=n(68),i=n(440),o=n(94),a=n(226),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return s(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(314),i=n(225),o=n(85),a=n(114),s=n(326),c=[].push,l=function(t){var e=1==t,n=2==t,l=3==t,u=4==t,g=6==t,f=5==t||g;return function(d,h,p,A){for(var C,v,I=o(d),y=i(I),m=r(h,p,3),b=a(y.length),x=0,w=A||s,O=e?w(d,b):n?w(d,0):void 0;b>x;x++)if((f||x in y)&&(v=m(C=y[x],x,I),t))if(e)O[x]=v;else if(v)switch(t){case 3:return!0;case 5:return C;case 6:return x;case 2:c.call(O,C)}else if(u)return!1;return g?-1:l||u?u:O}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},function(t,e){t.exports={}},function(t,e,n){"use strict";n.r(e);var r=n(348);n.d(e,"default",(function(){return r.a}));var i=n(64);n.d(e,"useFormControl",(function(){return i.a}))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";n.r(e);var r=n(438);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(270);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(269);n.d(e,"default",(function(){return r.a}))},function(t,e,n){var r=n(201),i=n(851),o=n(852),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},function(t,e,n){var r=n(873),i=n(876);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},function(t,e,n){"use strict";n.r(e),n.d(e,"hexToRgb",(function(){return r.g})),n.d(e,"rgbToHex",(function(){return r.k})),n.d(e,"hslToRgb",(function(){return r.h})),n.d(e,"decomposeColor",(function(){return r.b})),n.d(e,"recomposeColor",(function(){return r.j})),n.d(e,"getContrastRatio",(function(){return r.e})),n.d(e,"getLuminance",(function(){return r.f})),n.d(e,"emphasize",(function(){return r.c})),n.d(e,"fade",(function(){return r.d})),n.d(e,"darken",(function(){return r.a})),n.d(e,"lighten",(function(){return r.i})),n.d(e,"createMuiTheme",(function(){return i.a})),n.d(e,"unstable_createMuiStrictModeTheme",(function(){return a})),n.d(e,"createStyles",(function(){return s})),n.d(e,"makeStyles",(function(){return c.a})),n.d(e,"responsiveFontSizes",(function(){return v})),n.d(e,"styled",(function(){return I.a})),n.d(e,"easing",(function(){return y.c})),n.d(e,"duration",(function(){return y.b})),n.d(e,"useTheme",(function(){return m.a})),n.d(e,"withStyles",(function(){return b.a})),n.d(e,"withTheme",(function(){return E})),n.d(e,"createGenerateClassName",(function(){return P.a})),n.d(e,"jssPreset",(function(){return M.a})),n.d(e,"ServerStyleSheets",(function(){return L})),n.d(e,"StylesProvider",(function(){return N.b})),n.d(e,"MuiThemeProvider",(function(){return F.a})),n.d(e,"ThemeProvider",(function(){return F.a}));var r=n(11),i=n(154),o=n(567);function a(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return i.a.apply(void 0,[Object(o.a)({unstable_strictMode:!0},t)].concat(n))}function s(t){return t}var c=n(436),l=n(2),u=n(367),g=n(13);function f(t){return String(parseFloat(t)).length===String(t).length}function d(t){return parseFloat(t)}function h(t){return function(e,n){var r=String(e).match(/[\d.\-+]*\s*(.*)/)[1]||"";if(r===n)return e;var i=d(e);if("px"!==r)if("em"===r)i=d(e)*d(t);else if("rem"===r)return i=d(e)*d(t),e;var o=i;if("px"!==n)if("em"===n)o=i/d(t);else{if("rem"!==n)return e;o=i/d(t)}return parseFloat(o.toFixed(5))+n}}function p(t){var e=t.size,n=t.grid,r=e-e%n,i=r+n;return e-r<i-e?r:i}function A(t){var e=t.lineHeight;return t.pixels/(e*t.htmlFontSize)}function C(t){var e=t.cssProperty,n=t.min,r=t.max,i=t.unit,o=void 0===i?"rem":i,a=t.breakpoints,s=void 0===a?[600,960,1280]:a,c=t.transform,l=void 0===c?null:c,u=Object(g.a)({},e,"".concat(n).concat(o)),f=(r-n)/s[s.length-1];return s.forEach((function(t){var r=n+f*t;null!==l&&(r=l(r)),u["@media (min-width:".concat(t,"px)")]=Object(g.a)({},e,"".concat(Math.round(1e4*r)/1e4).concat(o))})),u}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.breakpoints,r=void 0===n?["sm","md","lg"]:n,i=e.disableAlign,o=void 0!==i&&i,a=e.factor,s=void 0===a?2:a,c=e.variants,g=void 0===c?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:c,d=Object(l.a)({},t);d.typography=Object(l.a)({},d.typography);var v=d.typography,I=h(v.htmlFontSize),y=r.map((function(t){return d.breakpoints.values[t]}));return g.forEach((function(t){var e=v[t],n=parseFloat(I(e.fontSize,"rem"));if(!(n<=1)){var r=n,i=1+(r-1)/s,a=e.lineHeight;if(!f(a)&&!o)throw new Error(Object(u.a)(6));f(a)||(a=parseFloat(I(a,"rem"))/parseFloat(n));var c=null;o||(c=function(t){return p({size:t,grid:A({pixels:4,lineHeight:a,htmlFontSize:v.htmlFontSize})})}),v[t]=Object(l.a)({},e,C({cssProperty:"fontSize",min:i,max:r,unit:"rem",breakpoints:y,transform:c}))}})),d}var I=n(257),y=n(36),m=n(22),b=n(7),x=n(4),w=n(0),O=n.n(w),S=(n(6),n(70)),_=n.n(S),k=n(366);function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.defaultTheme,n=function(t){var n=O.a.forwardRef((function(n,r){var i=n.innerRef,o=Object(x.a)(n,["innerRef"]),a=Object(k.a)()||e;return O.a.createElement(t,Object(l.a)({theme:a,ref:i||r},o))}));return _()(n,t),n};return n}j();var E=j({defaultTheme:n(98).a}),P=n(977),M=n(570),T=n(164),R=n(37),D=n(138),N=n(1015),L=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(T.a)(this,t),this.options=e}return Object(R.a)(t,[{key:"collect",value:function(t){var e=new Map;this.sheetsRegistry=new D.a;var n=Object(P.a)();return O.a.createElement(N.b,Object(l.a)({sheetsManager:e,serverGenerateClassName:n,sheetsRegistry:this.sheetsRegistry},this.options),t)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(t){return O.a.createElement("style",Object(l.a)({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},t))}}]),t}(),F=n(1016)},function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return u})),n.d(e,"c",(function(){return g}));var r=n(58),i=n(33),o=n(23);function a(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function s(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function c(t){return t<0?-t*t:t*t}function l(t){var e=t(i.c,i.c),n=1;function o(){return 1===n?t(i.c,i.c):.5===n?t(s,c):t(a(n),a(1/n))}return e.exponent=function(t){return arguments.length?(n=+t,o()):n},Object(r.b)(e)}function u(){var t=l(Object(i.d)());return t.copy=function(){return Object(i.a)(t,u()).exponent(t.exponent())},o.b.apply(t,arguments),t}function g(){return u.apply(null,arguments).exponent(.5)}},function(t,e,n){"use strict";n.r(e),n.d(e,"scaleBand",(function(){return r.a})),n.d(e,"scalePoint",(function(){return r.b})),n.d(e,"scaleIdentity",(function(){return a})),n.d(e,"scaleLinear",(function(){return i.a})),n.d(e,"scaleLog",(function(){return s.a})),n.d(e,"scaleSymlog",(function(){return c.a})),n.d(e,"scaleOrdinal",(function(){return l.a})),n.d(e,"scaleImplicit",(function(){return l.b})),n.d(e,"scalePow",(function(){return u.a})),n.d(e,"scaleSqrt",(function(){return u.c})),n.d(e,"scaleRadial",(function(){return p})),n.d(e,"scaleQuantile",(function(){return S})),n.d(e,"scaleQuantize",(function(){return k})),n.d(e,"scaleThreshold",(function(){return j})),n.d(e,"scaleTime",(function(){return E.b})),n.d(e,"scaleUtc",(function(){return P.a})),n.d(e,"scaleSequential",(function(){return M.b})),n.d(e,"scaleSequentialLog",(function(){return M.c})),n.d(e,"scaleSequentialPow",(function(){return M.d})),n.d(e,"scaleSequentialSqrt",(function(){return M.e})),n.d(e,"scaleSequentialSymlog",(function(){return M.f})),n.d(e,"scaleSequentialQuantile",(function(){return T})),n.d(e,"scaleDiverging",(function(){return F})),n.d(e,"scaleDivergingLog",(function(){return B})),n.d(e,"scaleDivergingPow",(function(){return V})),n.d(e,"scaleDivergingSqrt",(function(){return G})),n.d(e,"scaleDivergingSymlog",(function(){return z})),n.d(e,"tickFormat",(function(){return W.a}));var r=n(346),i=n(58),o=n(141);function a(t){var e;function n(t){return isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,o.a),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return a(t).unknown(e)},t=arguments.length?Array.from(t,o.a):[0,1],Object(i.b)(n)}var s=n(152),c=n(153),l=n(203),u=n(136),g=n(33),f=n(23);function d(t){return Math.sign(t)*t*t}function h(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function p(){var t,e=Object(g.b)(),n=[0,1],r=!1;function a(n){var i=h(e(n));return isNaN(i)?t:r?Math.round(i):i}return a.invert=function(t){return e.invert(d(t))},a.domain=function(t){return arguments.length?(e.domain(t),a):e.domain()},a.range=function(t){return arguments.length?(e.range((n=Array.from(t,o.a)).map(d)),a):n.slice()},a.rangeRound=function(t){return a.range(t).round(!0)},a.round=function(t){return arguments.length?(r=!!t,a):r},a.clamp=function(t){return arguments.length?(e.clamp(t),a):e.clamp()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.copy=function(){return p(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},f.b.apply(a,arguments),Object(i.b)(a)}var A=n(29);function C(t,e){var n;if(void 0===e){var r,i=Object(A.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(n<o||void 0===n&&o>=o)&&(n=o)}}catch(u){i.e(u)}finally{i.f()}}else{var a,s=-1,c=Object(A.a)(t);try{for(c.s();!(a=c.n()).done;){var l=a.value;null!=(l=e(l,++s,t))&&(n<l||void 0===n&&l>=l)&&(n=l)}}catch(u){c.e(u)}finally{c.f()}}return n}function v(t,e){var n;if(void 0===e){var r,i=Object(A.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(n>o||void 0===n&&o>=o)&&(n=o)}}catch(u){i.e(u)}finally{i.f()}}else{var a,s=-1,c=Object(A.a)(t);try{for(c.s();!(a=c.n()).done;){var l=a.value;null!=(l=e(l,++s,t))&&(n>l||void 0===n&&l>=l)&&(n=l)}}catch(u){c.e(u)}finally{c.f()}}return n}var I=n(166);function y(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length-1,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:I.a;r>n;){if(r-n>600){var o=r-n+1,a=e-n+1,s=Math.log(o),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(o-c)/o)*(a-o/2<0?-1:1),u=Math.max(n,Math.floor(e-a*c/o+l)),g=Math.min(r,Math.floor(e+(o-a)*c/o+l));y(t,e,u,g,i)}var f=t[e],d=n,h=r;for(m(t,n,e),i(t[r],f)>0&&m(t,n,r);d<h;){for(m(t,d,h),++d,--h;i(t[d],f)<0;)++d;for(;i(t[h],f)>0;)--h}0===i(t[n],f)?m(t,n,h):m(t,++h,r),h<=e&&(n=h+1),e<=h&&(r=h-1)}return t}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}var b=n(211);function x(t,e,n){if(r=(t=Float64Array.from(Object(b.b)(t,n))).length){if((e=+e)<=0||r<2)return v(t);if(e>=1)return C(t);var r,i=(r-1)*e,o=Math.floor(i),a=C(y(t,o).subarray(0,o+1));return a+(v(t.subarray(o+1))-a)*(i-o)}}function w(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.a;if(r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t),s=+n(t[o+1],o+1,t);return a+(s-a)*(i-o)}}var O=n(1022);function S(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t<i;)r[t-1]=w(e,t/i);return o}function o(e){return isNaN(e=+e)?t:n[Object(O.a)(r,e)]}return o.invertExtent=function(t){var i=n.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:e[0],i<r.length?r[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];var n,r=Object(A.a)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;null==o||isNaN(o=+o)||e.push(o)}}catch(a){r.e(a)}finally{r.f()}return e.sort(I.a),i()},o.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return S().domain(e).range(n).unknown(t)},f.b.apply(o,arguments)}var _=n(35);function k(){var t,e=0,n=1,r=1,o=[.5],a=[0,1];function s(e){return e<=e?a[Object(O.a)(o,e,0,r)]:t}function c(){var t=-1;for(o=new Array(r);++t<r;)o[t]=((t+1)*n-(t-r)*e)/(r+1);return s}return s.domain=function(t){var r,i;return arguments.length?(r=t,i=Object(_.a)(r,2),e=i[0],n=i[1],e=+e,n=+n,c()):[e,n]},s.range=function(t){return arguments.length?(r=(a=Array.from(t)).length-1,c()):a.slice()},s.invertExtent=function(t){var i=a.indexOf(t);return i<0?[NaN,NaN]:i<1?[e,o[0]]:i>=r?[o[r-1],n]:[o[i-1],o[i]]},s.unknown=function(e){return arguments.length?(t=e,s):s},s.thresholds=function(){return o.slice()},s.copy=function(){return k().domain([e,n]).range(a).unknown(t)},f.b.apply(Object(i.b)(s),arguments)}function j(){var t,e=[.5],n=[0,1],r=1;function i(i){return i<=i?n[Object(O.a)(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return j().domain(e).range(n).unknown(t)},f.b.apply(i,arguments)}var E=n(256),P=n(530),M=n(89);function T(){var t=[],e=g.c;function n(n){if(!isNaN(n=+n))return e((Object(O.a)(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];var r,i=Object(A.a)(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;null==o||isNaN(o=+o)||t.push(o)}}catch(a){i.e(a)}finally{i.f()}return t.sort(I.a),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map((function(n,r){return e(r/(t.length-1))}))},n.quantiles=function(e){return Array.from({length:e+1},(function(n,r){return x(t,r/e)}))},n.copy=function(){return T(e).domain(t)},f.a.apply(n,arguments)}var R=n(364);function D(t,e){void 0===e&&(e=t,t=R.a);for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}}var N=n(987);function L(){var t,e,n,r,i,o,a,s=0,c=.5,l=1,u=1,f=g.c,d=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(u*t<u*e?r:i),f(d?Math.max(0,Math.min(1,t)):t))}function p(t){return function(e){var n,r,i,o,a;return arguments.length?(n=e,i=(r=Object(_.a)(n,3))[0],o=r[1],a=r[2],f=D(t,[i,o,a]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){var g,f;return arguments.length?(g=a,f=Object(_.a)(g,3),s=f[0],c=f[1],l=f[2],t=o(s=+s),e=o(c=+c),n=o(l=+l),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),u=e<t?-1:1,h):[s,c,l]},h.clamp=function(t){return arguments.length?(d=!!t,h):d},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=p(R.a),h.rangeRound=p(N.a),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return o=a,t=a(s),e=a(c),n=a(l),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),u=e<t?-1:1,h}}function F(){var t=Object(i.b)(L()(g.c));return t.copy=function(){return Object(M.a)(t,F())},f.a.apply(t,arguments)}function B(){var t=Object(s.b)(L()).domain([.1,1,10]);return t.copy=function(){return Object(M.a)(t,B()).base(t.base())},f.a.apply(t,arguments)}function z(){var t=Object(c.b)(L());return t.copy=function(){return Object(M.a)(t,z()).constant(t.constant())},f.a.apply(t,arguments)}function V(){var t=Object(u.b)(L());return t.copy=function(){return Object(M.a)(t,V()).exponent(t.exponent())},f.a.apply(t,arguments)}function G(){return V.apply(null,arguments).exponent(.5)}var W=n(255)},function(t,e,n){"use strict";n.d(e,"a",(function(){return K})),n.d(e,"b",(function(){return At})),n.d(e,"c",(function(){return pt}));var r=n(2),i=n(66),o=(n(45),n(37)),a=n(27),s=n(50),c=n(40),l={}.constructor;function u(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(u);if(t.constructor!==l)return t;var e={};for(var n in t)e[n]=u(t[n]);return e}function g(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,i=u(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var f=function(t,e){for(var n="",r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=e),n+=t[r];return n},d=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=", "),n+=f(t[r]," ");else n=f(t,", ");return e||"!important"!==t[t.length-1]||(n+=" !important"),n};function h(t,e){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function p(t,e,n){void 0===n&&(n={});var r="";if(!e)return r;var i=n.indent,o=void 0===i?0:i,a=e.fallbacks;if(t&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var c=a[s];for(var l in c){var u=c[l];null!=u&&(r&&(r+="\n"),r+=""+h(l+": "+d(u)+";",o))}}else for(var g in a){var f=a[g];null!=f&&(r&&(r+="\n"),r+=""+h(g+": "+d(f)+";",o))}for(var p in e){var A=e[p];null!=A&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+h(p+": "+d(A)+";",o))}return(r||n.allowEmpty)&&t?(r&&(r="\n"+r+"\n"),h(t+" {"+r,--o)+h("}",o)):r}var A=/([[\].#*$><+~=|^:(),"'`\s])/g,C="undefined"!==typeof CSS&&CSS.escape,v=function(t){return C?C(t):t.replace(A,"\\$1")},I=function(){function t(t,e,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var c=this.options.sheet;return c&&c.attached,this},t}(),y=function(t){function e(e,n,r){var i;(i=t.call(this,e,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,c=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(Object(s.a)(Object(s.a)(i)),c),i.selectorText="."+v(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=d(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return p(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(I),m={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new y(t,e,n)}},b={indent:1,children:!0},x=/@([\w-]+)/,w=function(){function t(t,e,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t;var i=t.match(x);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new X(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.toString=function(t){if(void 0===t&&(t=b),null==t.indent&&(t.indent=b.indent),null==t.children&&(t.children=b.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),O=/@media|@supports\s+/,S={onCreateRule:function(t,e,n){return O.test(t)?new w(t,e,n):null}},_={indent:1,children:!0},k=/@keyframes\s+([\w-]+)/,j=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var i=t.match(k);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var c in this.id=!1===o?this.name:v(s(this,a)),this.rules=new X(Object(r.a)({},n,{parent:this})),e)this.rules.add(c,e[c],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=_),null==t.indent&&(t.indent=_.indent),null==t.children&&(t.children=_.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),E=/@keyframes\s+/,P=/\$([\w-]+)/g,M=function(t,e){return"string"===typeof t?t.replace(P,(function(t,n){return n in e?e[n]:t})):t},T=function(t,e,n){var r=t[e],i=M(r,n);i!==r&&(t[e]=i)},R={onCreateRule:function(t,e,n){return"string"===typeof t&&E.test(t)?new j(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&T(t,"animation-name",n.keyframes),"animation"in t&&T(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return M(t,r.keyframes);default:return t}}},D=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).renderable=void 0,e}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return p(this.key,this.style,n)},e}(I),N={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new D(t,e,n):null}},L=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var e="",n=0;n<this.style.length;n++)e+=p(this.at,this.style[n]),this.style[n+1]&&(e+="\n");return e}return p(this.at,this.style,t)},t}(),F=/@font-face/,B={onCreateRule:function(t,e,n){return F.test(t)?new L(t,e,n):null}},z=function(){function t(t,e,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){return p(this.key,this.style,t)},t}(),V={onCreateRule:function(t,e,n){return"@viewport"===t||"@-ms-viewport"===t?new z(t,e,n):null}},G=function(){function t(t,e,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.value=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",n=0;n<this.value.length;n++)e+=this.key+" "+this.value[n]+";",this.value[n+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),W={"@charset":!0,"@import":!0,"@namespace":!0},Y=[m,S,R,N,B,V,{onCreateRule:function(t,e,n){return t in W?new G(t,e,n):null}}],H={process:!0},U={force:!0,process:!0},X=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,n){var i=this.options,o=i.parent,a=i.sheet,s=i.jss,c=i.Renderer,l=i.generateId,u=i.scoped,f=Object(r.a)({classes:this.classes,parent:o,sheet:a,jss:s,Renderer:c,generateId:l,scoped:u,name:t,keyframes:this.keyframes,selector:void 0},n),d=t;t in this.raw&&(d=t+"-d"+this.counter++),this.raw[d]=e,d in this.classes&&(f.selector="."+v(this.classes[d]));var h=g(d,e,f);if(!h)return null;this.register(h);var p=void 0===f.index?this.index.length:f.index;return this.index.splice(p,0,h),h},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof y?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof j&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof y?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof j&&delete this.keyframes[t.name]},e.update=function(){var t,e,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.map[t],e,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],e,n)},e.updateOne=function(e,n,r){void 0===r&&(r=H);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(n,r);else{var s=e,c=s.style;if(o.onUpdate(n,e,a,r),r.process&&c&&c!==s.style){for(var l in o.onProcessStyle(s.style,s,a),s.style){var u=s.style[l];u!==c[l]&&s.prop(l,u,U)}for(var g in c){var f=s.style[g],d=c[g];null==f&&f!==d&&s.prop(g,null,U)}}}},e.toString=function(t){for(var e="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(t);(o||r)&&(e&&(e+="\n"),e+=o)}return e},t}(),Z=function(){function t(t,e){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new X(this.options),t)this.rules.add(n,t[n]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(t,e,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var n=[];for(var r in t){var i=this.addRule(r,t[r],e);i&&n.push(i)}return n},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,n){return this.rules.updateOne(t,e,n),this},e.toString=function(t){return this.rules.toString(t)},t}(),q=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=t.prototype;return e.onCreateRule=function(t,e,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](t,e,n);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)e.style=this.registry.onProcessStyle[r](e.style,e,n)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,n,r)},e.onChangeValue=function(t,e,n){for(var r=t,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,e,n);return r},e.use=function(t,e){void 0===e&&(e={queue:"external"});var n=this.plugins[e.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var n in e)n in t&&t[n].push(e[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),K=function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,n=t.options.index;if(-1===e.indexOf(t))if(0===e.length||n>=this.index)e.push(t);else for(var r=0;r<e.length;r++)if(e[r].options.index>n)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(c.a)(e,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=n&&a.attached!==n||(i&&(i+="\n"),i+=a.toString(r))}return i},Object(o.a)(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}(),Q=new K,J="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),$="2f1acc6c3a606b082e5eef5e54414ffb";null==J[$]&&(J[$]=0);var tt=J[$]++,et=function(t){void 0===t&&(t={});var e=0;return function(n,r){e+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),t.minify?""+(o||"c")+tt+i+e:o+n.key+"-"+tt+(i?"-"+i:"")+"-"+e}},nt=function(t){var e;return function(){return e||(e=t()),e}},rt=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(n){return""}},it=function(t,e,n){try{var r=n;if(Array.isArray(n)&&(r=d(n,!0),"!important"===n[n.length-1]))return t.style.setProperty(e,r,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,r):t.style.setProperty(e,r)}catch(i){return!1}return!0},ot=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},at=function(t,e){return t.selectorText=e,t.selectorText===e},st=nt((function(){return document.querySelector("head")}));function ct(t){var e=Q.registry;if(e.length>0){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.attached&&r.options.index>e.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=st(),n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===t)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var lt=nt((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),ut=function(t,e,n){try{if("insertRule"in t)t.insertRule(e,n);else if("appendRule"in t){t.appendRule(e)}}catch(r){return!1}return t.cssRules[n]},gt=function(t,e){var n=t.cssRules.length;return void 0===e||e>n?n:e},ft=function(){function t(t){this.getPropertyValue=rt,this.setProperty=it,this.removeProperty=ot,this.setSelector=at,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&Q.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=lt();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=ct(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else st().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,e)},e.insertRule=function(t,e,n){if(void 0===n&&(n=this.element.sheet),t.rules){var r=t,i=n;if("conditional"===t.type||"keyframes"===t.type){var o=gt(n,e);if(!1===(i=ut(n,r.toString({children:!1}),o)))return!1;this.refCssRule(t,o,i)}return this.insertRules(r.rules,i),i}var a=t.toString();if(!a)return!1;var s=gt(n,e),c=ut(n,a,s);return!1!==c&&(this.hasInsertedRules=!0,this.refCssRule(t,s,c),c)},e.refCssRule=function(t,e,n){t.renderable=n,t.options.parent instanceof Z&&(this.cssRules[e]=n)},e.deleteRule=function(t){var e=this.element.sheet,n=this.indexOf(t);return-1!==n&&(e.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(e,n))},e.getRules=function(){return this.element.sheet.cssRules},t}(),dt=0,ht=function(){function t(t){this.id=dt++,this.version="10.5.1",this.plugins=new q,this.options={id:{minify:!1},createGenerateId:et,Renderer:i.a?ft:null,plugins:[]},this.generateId=et({minify:!1});for(var e=0;e<Y.length;e++)this.plugins.use(Y[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(r.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var n=e.index;"number"!==typeof n&&(n=0===Q.index?0:Q.index+1);var i=new Z(t,Object(r.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(i),i},e.removeStyleSheet=function(t){return t.detach(),Q.remove(t),this},e.createRule=function(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof t)return this.createRule(void 0,t,e);var i=Object(r.a)({},n,{name:t,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var o=g(t,e,i);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){t.plugins.use(e)})),this},t}();function pt(t){var e=null;for(var n in t){var r=t[n],i=typeof r;if("function"===i)e||(e={}),e[n]=r;else if("object"===i&&null!==r&&!Array.isArray(r)){var o=pt(r);o&&(e||(e={}),e[n]=o)}}return e}"object"===typeof CSS&&null!=CSS&&CSS;var At=function(t){return new ht(t)};At()},function(t,e,n){"use strict";e.a={black:"#000",white:"#fff"}},function(t,e,n){"use strict";function r(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&(r(t.value)&&""!==t.value||e&&r(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";function r(t){return+t}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(934)("toUpperCase");t.exports=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return _}));var r=n(16),i=n.n(r),o=n(0),a=n.n(o),s=n(287),c=n.n(s),l=n(19),u=n.n(l),g=n(8),f=n(100),d=n(15),h=n(82);function p(t){return(p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(){return(A=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function C(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=x(t);if(e){var i=x(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==p(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var w=/[ \f\n\r\t\v\u2028\u2029]+/,O=function(t){return[{words:i()(t)?[]:t.toString().split(w)}]},S=function(t,e){if((t.width||t.scaleToFit)&&!f.a.isSsr&&e){var n=function(t){try{var e=[];return i()(t.children)||(e=t.breakAll?t.children.toString().split(""):t.children.toString().split(w)),{wordsWithComputedWidth:e.map((function(e){return{word:e,width:Object(h.c)(e,t.style).width}})),spaceWidth:t.breakAll?0:Object(h.c)("\xa0",t.style).width}}catch(n){return null}}(t);return n?function(t,e,n,r){return(t||[]).reduce((function(t,i){var o=i.word,a=i.width,s=t[t.length-1];if(s&&(null==n||r||s.width+a+e<n))s.words.push(o),s.width+=a+e;else{var c={words:[o],width:a};t.push(c)}return t}),[])}(n.wordsWithComputedWidth,n.spaceWidth,t.width,t.scaleToFit):O(t.children)}return O(t.children)},_=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(o,t);var e,n,r,i=m(o);function o(){var t;v(this,o);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={},t}return e=o,r=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.width!==e.prevWidth||t.scaleToFit!==e.prevScaleToFit||t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll){var n=t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll;return{prevWidth:t.width,prevScaleToFit:t.scaleToFit,prevChildren:t.children,prevStyle:t.style,wordsByLines:S(t,n)}}return null}}],(n=[{key:"render",value:function(){var t=this.props,e=t.dx,n=t.dy,r=t.textAnchor,i=t.verticalAnchor,o=t.scaleToFit,s=t.angle,l=t.lineHeight,f=t.capHeight,h=t.className,p=t.breakAll,v=C(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),I=this.state.wordsByLines;if(!Object(g.f)(v.x)||!Object(g.f)(v.y))return null;var y,m=v.x+(Object(g.g)(e)?e:0),b=v.y+(Object(g.g)(n)?n:0);switch(i){case"start":y=c()("calc(".concat(f,")"));break;case"middle":y=c()("calc(".concat((I.length-1)/2," * -").concat(l," + (").concat(f," / 2))"));break;default:y=c()("calc(".concat(I.length-1," * -").concat(l,")"))}var x=[];if(o){var w=I[0].width,O=this.props.width;x.push("scale(".concat((Object(g.g)(O)?O/w:1)/w,")"))}return s&&x.push("rotate(".concat(s,", ").concat(m,", ").concat(b,")")),x.length&&(v.transform=x.join(" ")),a.a.createElement("text",A({},Object(d.c)(v,!0),{x:m,y:b,className:u()("recharts-text",h),textAnchor:r}),I.map((function(t,e){return a.a.createElement("tspan",{x:m,dy:0===e?y:l,key:e},t.words.join(p?"":" "))})))}}])&&I(e.prototype,n),r&&I(e,r),o}(o.Component);_.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"}},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(9),l={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},u=o.forwardRef((function(t,e){var n=t.align,s=void 0===n?"inherit":n,u=t.classes,g=t.className,f=t.color,d=void 0===f?"initial":f,h=t.component,p=t.display,A=void 0===p?"initial":p,C=t.gutterBottom,v=void 0!==C&&C,I=t.noWrap,y=void 0!==I&&I,m=t.paragraph,b=void 0!==m&&m,x=t.variant,w=void 0===x?"body1":x,O=t.variantMapping,S=void 0===O?l:O,_=Object(i.a)(t,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),k=h||(b?"p":S[w]||l[w])||"span";return o.createElement(k,Object(r.a)({className:Object(a.default)(u.root,g,"inherit"!==w&&u[w],"initial"!==d&&u["color".concat(Object(c.a)(d))],y&&u.noWrap,v&&u.gutterBottom,b&&u.paragraph,"inherit"!==s&&u["align".concat(Object(c.a)(s))],"initial"!==A&&u["display".concat(Object(c.a)(A))]),ref:e},_))}));e.a=Object(s.a)((function(t){return{root:{margin:0},body2:t.typography.body2,body1:t.typography.body1,caption:t.typography.caption,button:t.typography.button,h1:t.typography.h1,h2:t.typography.h2,h3:t.typography.h3,h4:t.typography.h4,h5:t.typography.h5,h6:t.typography.h6,subtitle1:t.typography.subtitle1,subtitle2:t.typography.subtitle2,overline:t.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorTextPrimary:{color:t.palette.text.primary},colorTextSecondary:{color:t.palette.text.secondary},colorError:{color:t.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(u)},,function(t,e,n){"use strict";var r=n(52);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){"use strict";var r=n(204);n.d(e,"a",(function(){return r.b}))},function(t,e,n){"use strict";n.r(e);var r=n(352);n.d(e,"default",(function(){return r.a}))},function(t,e,n){var r=n(14),i=n(334);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},function(t,e,n){var r=n(133),i=n(116);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},function(t,e){t.exports=function(t){return t}},function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return p}));var r=n(289),i=n(988),o=n(280),a=n(33),s=n(23);function c(t){return Math.log(t)}function l(t){return Math.exp(t)}function u(t){return-Math.log(-t)}function g(t){return-Math.exp(-t)}function f(t){return isFinite(t)?+("1e"+t):t<0?0:t}function d(t){return function(e){return-t(-e)}}function h(t){var e,n,a=t(c,l),s=a.domain,h=10;function p(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(h),n=function(t){return 10===t?f:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(h),s()[0]<0?(e=d(e),n=d(n),t(u,g)):t(c,l),a}return a.base=function(t){return arguments.length?(h=+t,p()):h},a.domain=function(t){return arguments.length?(s(t),p()):s()},a.ticks=function(t){var i,o=s(),a=o[0],c=o[o.length-1];(i=c<a)&&(f=a,a=c,c=f);var l,u,g,f=e(a),d=e(c),p=null==t?10:+t,A=[];if(!(h%1)&&d-f<p){if(f=Math.floor(f),d=Math.ceil(d),a>0){for(;f<=d;++f)for(u=1,l=n(f);u<h;++u)if(!((g=l*u)<a)){if(g>c)break;A.push(g)}}else for(;f<=d;++f)for(u=h-1,l=n(f);u>=1;--u)if(!((g=l*u)<a)){if(g>c)break;A.push(g)}2*A.length<p&&(A=Object(r.a)(a,c,p))}else A=Object(r.a)(f,d,Math.min(d-f,p)).map(n);return i?A.reverse():A},a.tickFormat=function(t,r){if(null==r&&(r=10===h?".0e":","),"function"!==typeof r&&(r=Object(i.a)(r)),t===1/0)return r;null==t&&(t=10);var o=Math.max(1,h*t/a.ticks().length);return function(t){var i=t/n(Math.round(e(t)));return i*h<h-.5&&(i*=h),i<=o?r(t):""}},a.nice=function(){return s(Object(o.a)(s(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},a}function p(){var t=h(Object(a.d)()).domain([1,10]);return t.copy=function(){return Object(a.a)(t,p()).base(t.base())},s.b.apply(t,arguments),t}},function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return l}));var r=n(58),i=n(33),o=n(23);function a(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function s(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function c(t){var e=1,n=t(a(e),s(e));return n.constant=function(n){return arguments.length?t(a(e=+n),s(e)):e},Object(r.b)(n)}function l(){var t=c(Object(i.d)());return t.copy=function(){return Object(i.a)(t,l()).constant(t.constant())},o.b.apply(t,arguments)}},function(t,e,n){"use strict";var r=n(13),i=n(4),o=n(567),a=n(92),s=n(2);function c(t,e,n){var i;return Object(s.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(s.a)({paddingLeft:e(2),paddingRight:e(2)},n,Object(r.a)({},t.up("sm"),Object(s.a)({paddingLeft:e(3),paddingRight:e(3)},n[t.up("sm")])))},toolbar:(i={minHeight:56},Object(r.a)(i,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(i,t.up("sm"),{minHeight:64}),i)},n)}var l=n(367),u=n(139),g=n(157),f=n(158),d=n(159),h=n(160),p=n(161),A=n(162),C=n(163),v=n(11),I={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:u.a.white,default:g.a[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},y={text:{primary:u.a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:g.a[800],default:"#303030"},action:{active:u.a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function m(t,e,n,r){var i=r.light||r,o=r.dark||1.5*r;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:"light"===e?t.light=Object(v.i)(t.main,i):"dark"===e&&(t.dark=Object(v.a)(t.main,o)))}function b(t){var e=t.primary,n=void 0===e?{light:f.a[300],main:f.a[500],dark:f.a[700]}:e,r=t.secondary,a=void 0===r?{light:d.a.A200,main:d.a.A400,dark:d.a.A700}:r,c=t.error,b=void 0===c?{light:h.a[300],main:h.a[500],dark:h.a[700]}:c,x=t.warning,w=void 0===x?{light:p.a[300],main:p.a[500],dark:p.a[700]}:x,O=t.info,S=void 0===O?{light:A.a[300],main:A.a[500],dark:A.a[700]}:O,_=t.success,k=void 0===_?{light:C.a[300],main:C.a[500],dark:C.a[700]}:_,j=t.type,E=void 0===j?"light":j,P=t.contrastThreshold,M=void 0===P?3:P,T=t.tonalOffset,R=void 0===T?.2:T,D=Object(i.a)(t,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function N(t){return Object(v.e)(t,y.text.primary)>=M?y.text.primary:I.text.primary}var L=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(t=Object(s.a)({},t)).main&&t[e]&&(t.main=t[e]),!t.main)throw new Error(Object(l.a)(4,e));if("string"!==typeof t.main)throw new Error(Object(l.a)(5,JSON.stringify(t.main)));return m(t,"light",n,R),m(t,"dark",r,R),t.contrastText||(t.contrastText=N(t.main)),t},F={dark:y,light:I};return Object(o.a)(Object(s.a)({common:u.a,type:E,primary:L(n),secondary:L(a,"A400","A200","A700"),error:L(b),warning:L(w),info:L(S),success:L(k),grey:g.a,contrastThreshold:M,getContrastText:N,augmentColor:L,tonalOffset:R},F[E]),D)}function x(t){return Math.round(1e5*t)/1e5}var w={textTransform:"uppercase"},O='"Roboto", "Helvetica", "Arial", sans-serif';function S(t,e){var n="function"===typeof e?e(t):e,r=n.fontFamily,a=void 0===r?O:r,c=n.fontSize,l=void 0===c?14:c,u=n.fontWeightLight,g=void 0===u?300:u,f=n.fontWeightRegular,d=void 0===f?400:f,h=n.fontWeightMedium,p=void 0===h?500:h,A=n.fontWeightBold,C=void 0===A?700:A,v=n.htmlFontSize,I=void 0===v?16:v,y=n.allVariants,m=n.pxToRem,b=Object(i.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var S=l/14,_=m||function(t){return"".concat(t/I*S,"rem")},k=function(t,e,n,r,i){return Object(s.a)({fontFamily:a,fontWeight:t,fontSize:_(e),lineHeight:n},a===O?{letterSpacing:"".concat(x(r/e),"em")}:{},i,y)},j={h1:k(g,96,1.167,-1.5),h2:k(g,60,1.2,-.5),h3:k(d,48,1.167,0),h4:k(d,34,1.235,.25),h5:k(d,24,1.334,0),h6:k(p,20,1.6,.15),subtitle1:k(d,16,1.75,.15),subtitle2:k(p,14,1.57,.1),body1:k(d,16,1.5,.15),body2:k(d,14,1.43,.15),button:k(p,14,1.75,.4,w),caption:k(d,12,1.66,.4),overline:k(d,12,2.66,1,w)};return Object(o.a)(Object(s.a)({htmlFontSize:I,pxToRem:_,round:x,fontFamily:a,fontSize:l,fontWeightLight:g,fontWeightRegular:d,fontWeightMedium:p,fontWeightBold:C},j),b,{clone:!1})}function _(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var k=["none",_(0,2,1,-1,0,1,1,0,0,1,3,0),_(0,3,1,-2,0,2,2,0,0,1,5,0),_(0,3,3,-2,0,3,4,0,0,1,8,0),_(0,2,4,-1,0,4,5,0,0,1,10,0),_(0,3,5,-1,0,5,8,0,0,1,14,0),_(0,3,5,-1,0,6,10,0,0,1,18,0),_(0,4,5,-2,0,7,10,1,0,2,16,1),_(0,5,5,-3,0,8,10,1,0,3,14,2),_(0,5,6,-3,0,9,12,1,0,3,16,2),_(0,6,6,-3,0,10,14,1,0,4,18,3),_(0,6,7,-4,0,11,15,1,0,4,20,3),_(0,7,8,-4,0,12,17,2,0,5,22,4),_(0,7,8,-4,0,13,19,2,0,5,24,4),_(0,7,9,-4,0,14,21,2,0,5,26,4),_(0,8,9,-5,0,15,22,2,0,6,28,5),_(0,8,10,-5,0,16,24,2,0,6,30,5),_(0,8,11,-5,0,17,26,2,0,6,32,5),_(0,9,11,-5,0,18,28,2,0,7,34,6),_(0,9,12,-6,0,19,29,2,0,7,36,6),_(0,10,13,-6,0,20,31,3,0,8,38,7),_(0,10,13,-6,0,21,33,3,0,8,40,7),_(0,10,14,-6,0,22,35,3,0,8,42,7),_(0,11,14,-7,0,23,36,3,0,9,44,8),_(0,11,15,-7,0,24,38,3,0,9,46,8)],j={borderRadius:4},E=n(1037);function P(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=Object(E.a)({spacing:t}),n=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return 0===n.length?e(1):1===n.length?e(n[0]):n.map((function(t){if("string"===typeof t)return t;var n=e(t);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n}var M=n(36),T=n(265);e.a=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,n=void 0===e?{}:e,r=t.mixins,s=void 0===r?{}:r,l=t.palette,u=void 0===l?{}:l,g=t.spacing,f=t.typography,d=void 0===f?{}:f,h=Object(i.a)(t,["breakpoints","mixins","palette","spacing","typography"]),p=b(u),A=Object(a.a)(n),C=P(g),v=Object(o.a)({breakpoints:A,direction:"ltr",mixins:c(A,C,s),overrides:{},palette:p,props:{},shadows:k,typography:S(p,d),spacing:C,shape:j,transitions:M.a,zIndex:T.a},h),I=arguments.length,y=new Array(I>1?I-1:0),m=1;m<I;m++)y[m-1]=arguments[m];return v=y.reduce((function(t,e){return Object(o.a)(t,e)}),v)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(205);function i(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(207);function i(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";e.a={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"}},function(t,e,n){"use strict";e.a={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"}},function(t,e,n){"use strict";e.a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"}},function(t,e,n){"use strict";e.a={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},function(t,e,n){"use strict";e.a={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},function(t,e,n){"use strict";e.a={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},function(t,e,n){"use strict";e.a={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(2),i=n(39),o=n(4),a=n(0),s=(n(6),n(3)),c=n(57),l=n(64),u=n(7),g=n(347),f=a.forwardRef((function(t,e){var n=t.autoFocus,u=t.checked,f=t.checkedIcon,d=t.classes,h=t.className,p=t.defaultChecked,A=t.disabled,C=t.icon,v=t.id,I=t.inputProps,y=t.inputRef,m=t.name,b=t.onBlur,x=t.onChange,w=t.onFocus,O=t.readOnly,S=t.required,_=t.tabIndex,k=t.type,j=t.value,E=Object(o.a)(t,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),P=Object(c.a)({controlled:u,default:Boolean(p),name:"SwitchBase",state:"checked"}),M=Object(i.a)(P,2),T=M[0],R=M[1],D=Object(l.a)(),N=A;D&&"undefined"===typeof N&&(N=D.disabled);var L="checkbox"===k||"radio"===k;return a.createElement(g.a,Object(r.a)({component:"span",className:Object(s.default)(d.root,h,T&&d.checked,N&&d.disabled),disabled:N,tabIndex:null,role:void 0,onFocus:function(t){w&&w(t),D&&D.onFocus&&D.onFocus(t)},onBlur:function(t){b&&b(t),D&&D.onBlur&&D.onBlur(t)},ref:e},E),a.createElement("input",Object(r.a)({autoFocus:n,checked:u,defaultChecked:p,className:d.input,disabled:N,id:L&&v,name:m,onChange:function(t){var e=t.target.checked;R(e),x&&x(t,e)},readOnly:O,ref:y,required:S,tabIndex:_,type:k,value:j},I)),T?f:C)}));e.a=Object(u.a)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(f)},function(t,e,n){"use strict";e.a=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}},function(t,e,n){var r=n(345),i=n(922),o=n(516),a=n(252),s=o((function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])}));t.exports=s},function(t,e,n){var r=n(133),i=n(116);t.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==r(t)}},function(t,e,n){var r=n(339);t.exports=function(t,e){return r(t,e)}},function(t,e,n){"use strict";Array.prototype.slice;e.a=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(0),i=n.n(r),o=n(19),a=n.n(o),s=n(122),c=n(15);function l(t){return(l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=A(t);if(e){var i=A(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==l(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t,e,n,r,i){var o,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),s=r>=0?1:-1,c=n>=0?1:-1,l=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&i instanceof Array){for(var u=[0,0,0,0],g=0;g<4;g++)u[g]=i[g]>a?a:i[g];o="M".concat(t,",").concat(e+s*u[0]),u[0]>0&&(o+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(l,",").concat(t+c*u[0],",").concat(e)),o+="L ".concat(t+n-c*u[1],",").concat(e),u[1]>0&&(o+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(l,",\n ").concat(t+n,",").concat(e+s*u[1])),o+="L ".concat(t+n,",").concat(e+r-s*u[2]),u[2]>0&&(o+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(l,",\n ").concat(t+n-c*u[2],",").concat(e+r)),o+="L ".concat(t+c*u[3],",").concat(e+r),u[3]>0&&(o+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(l,",\n ").concat(t,",").concat(e+r-s*u[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var f=Math.min(a,i);o="M ".concat(t,",").concat(e+s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(l,",").concat(t+c*f,",").concat(e,"\n L ").concat(t+n-c*f,",").concat(e,"\n A ").concat(f,",").concat(f,",0,0,").concat(l,",").concat(t+n,",").concat(e+s*f,"\n L ").concat(t+n,",").concat(e+r-s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(l,",").concat(t+n-c*f,",").concat(e+r,"\n L ").concat(t+c*f,",").concat(e+r,"\n A ").concat(f,",").concat(f,",0,0,").concat(l,",").concat(t,",").concat(e+r-s*f," Z")}else o="M ".concat(t,",").concat(e," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},v=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(l,t);var e,n,r,o=h(l);function l(){var t;g(this,l);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))).state={totalLength:-1},t.node=void 0,t}return e=l,(n=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var t=this.node.getTotalLength();t&&this.setState({totalLength:t})}catch(e){}}},{key:"render",value:function(){var t=this,e=this.props,n=e.x,r=e.y,o=e.width,l=e.height,g=e.radius,f=e.className,d=this.state.totalLength,h=this.props,p=h.animationEasing,A=h.animationDuration,v=h.animationBegin,I=h.isAnimationActive,y=h.isUpdateAnimationActive;if(n!==+n||r!==+r||o!==+o||l!==+l||0===o||0===l)return null;var m=a()("recharts-rectangle",f);return y?i.a.createElement(s.a,{canBegin:d>0,from:{width:o,height:l,x:n,y:r},to:{width:o,height:l,x:n,y:r},duration:A,animationEasing:p,isActive:y},(function(e){var n=e.width,r=e.height,o=e.x,a=e.y;return i.a.createElement(s.a,{canBegin:d>0,from:"0px ".concat(-1===d?1:d,"px"),to:"".concat(d,"px 0px"),attributeName:"strokeDasharray",begin:v,duration:A,isActive:I,easing:p},i.a.createElement("path",u({},Object(c.c)(t.props,!0),{className:m,d:C(o,a,n,r,g),ref:function(e){t.node=e}})))})):i.a.createElement("path",u({},Object(c.c)(this.props,!0),{className:m,d:C(n,r,o,l,g)}))}}])&&f(e.prototype,n),r&&f(e,r),l}(r.PureComponent);v.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"}},function(t,e,n){"use strict";var r=n(0),i=n.n(r);e.a=i.a.createContext(null)},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){var r=n(932)();t.exports=r},function(t,e,n){var r=n(168);t.exports=function(t){return r(t)&&t!=+t}},function(t,e,n){var r=n(106),i=n(945);t.exports=function(t,e){return t&&t.length?i(t,r(e,2)):[]}},,,,function(t,e,n){var r=n(68),i=n(224),o=n(181),a=n(93),s=n(226),c=n(84),l=n(440),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=a(t),e=s(e,!0),l)try{return u(t,e)}catch(n){}if(c(t,e))return o(!i.f.call(t,e),t[e])}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r=n(443),i=n(316);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(42),i=n(61),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},function(t,e,n){"use strict";var r=n(226),i=n(125),o=n(181);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},function(t,e){t.exports=!0},function(t,e,n){var r=n(182);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(324),i=n(182),o=n(53)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r=n(52),i=n(53),o=n(327),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){"use strict";function r(t,e,n,r,i){return null}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.r(e);var r=n(481);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(475);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(349);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(350);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(477);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(483);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(351);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(485);n.d(e,"default",(function(){return r.a}))},function(t,e,n){var r=n(96).Symbol;t.exports=r},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(29),i=n(23),o=Symbol("implicit");function a(){var t=new Map,e=[],n=[],s=o;function c(r){var i=r+"",a=t.get(i);if(!a){if(s!==o)return s;t.set(i,a=e.push(r))}return n[(a-1)%n.length]}return c.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Map;var i,o=Object(r.a)(n);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=a+"";t.has(s)||t.set(s,e.push(a))}}catch(l){o.e(l)}finally{o.f()}return c},c.range=function(t){return arguments.length?(n=Array.from(t),c):n.slice()},c.unknown=function(t){return arguments.length?(s=t,c):s},c.copy=function(){return a(e,n).unknown(s)},i.b.apply(c,arguments),c}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h}));var r=n(164),i=n(37),o=n(43),a=n(268),s=n(32),c=n(117);function l(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function u(t){return parseInt(window.getComputedStyle(t)["padding-right"],10)||0}function g(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,a=[e,n].concat(Object(o.a)(r)),s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(t.children,(function(t){1===t.nodeType&&-1===a.indexOf(t)&&-1===s.indexOf(t.tagName)&&l(t,i)}))}function f(t,e){var n=-1;return t.some((function(t,r){return!!e(t)&&(n=r,!0)})),n}function d(t,e){var n,r=[],i=[],o=t.container;if(!e.disableScrollLock){if(function(t){var e=Object(s.a)(t);return e.body===t?Object(c.a)(e).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(o)){var l=Object(a.a)();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(u(o)+l,"px"),n=Object(s.a)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(t){i.push(t.style.paddingRight),t.style.paddingRight="".concat(u(t)+l,"px")}))}var g=o.parentElement,f="HTML"===g.nodeName&&"scroll"===window.getComputedStyle(g)["overflow-y"]?g:o;r.push({value:f.style.overflow,key:"overflow",el:f}),f.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(t,e){i[e]?t.style.paddingRight=i[e]:t.style.removeProperty("padding-right")})),r.forEach((function(t){var e=t.value,n=t.el,r=t.key;e?n.style.setProperty(r,e):n.style.removeProperty(r)}))}}var h=function(){function t(){Object(r.a)(this,t),this.modals=[],this.containers=[]}return Object(i.a)(t,[{key:"add",value:function(t,e){var n=this.modals.indexOf(t);if(-1!==n)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&l(t.modalRef,!1);var r=function(t){var e=[];return[].forEach.call(t.children,(function(t){t.getAttribute&&"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);g(e,t.mountNode,t.modalRef,r,!0);var i=f(this.containers,(function(t){return t.container===e}));return-1!==i?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(t,e){var n=f(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),r=this.containers[n];r.restore||(r.restore=d(r,e))}},{key:"remove",value:function(t){var e=this.modals.indexOf(t);if(-1===e)return e;var n=f(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(t),1),this.modals.splice(e,1),0===r.modals.length)r.restore&&r.restore(),t.modalRef&&l(t.modalRef,!0),g(r.container,t.mountNode,t.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&l(i.modalRef,!1)}return e}},{key:"isTopModal",value:function(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}]),t}()},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";(function(t){var r=n(54),i=n(538),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.a.Buffer:void 0,c=(s?s.isBuffer:void 0)||i.a;e.a=c}).call(this,n(223)(t))},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(0),i=n(30);e.a=Object(i.a)(r.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},function(t,e,n){"use strict";var r=n(0),i=n(30);e.a=Object(i.a)(r.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){return null!==t&&"object"===r(t)&&Object.prototype.hasOwnProperty.call(t,"current")}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return s}));var r=n(101),i=n.n(r),o=n(29),a=i.a.mark(s);function s(t,e){var n,r,s,c,l,u,g;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(void 0!==e){i.next=21;break}n=Object(o.a)(t),i.prev=2,n.s();case 4:if((r=n.n()).done){i.next=11;break}if(!(null!=(s=r.value)&&(s=+s)>=s)){i.next=9;break}return i.next=9,s;case 9:i.next=4;break;case 11:i.next=16;break;case 13:i.prev=13,i.t0=i.catch(2),n.e(i.t0);case 16:return i.prev=16,n.f(),i.finish(16);case 19:i.next=40;break;case 21:c=-1,l=Object(o.a)(t),i.prev=23,l.s();case 25:if((u=l.n()).done){i.next=32;break}if(g=u.value,!(null!=(g=e(g,++c,t))&&(g=+g)>=g)){i.next=30;break}return i.next=30,g;case 30:i.next=25;break;case 32:i.next=37;break;case 34:i.prev=34,i.t1=i.catch(23),l.e(i.t1);case 37:return i.prev=37,l.f(),i.finish(37);case 40:case"end":return i.stop()}}),a,null,[[2,13,16,19],[23,34,37,40]])}e.a=function(t){return null===t?NaN:+t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(0),i=n.n(r),o=n(19),a=n.n(o),s=n(15);function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function l(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t){var e=t.children,n=t.width,r=t.height,o=t.viewBox,u=t.className,g=t.style,f=l(t,["children","width","height","viewBox","className","style"]),d=o||{width:n,height:r,x:0,y:0},h=a()("recharts-surface",u);return i.a.createElement("svg",c({},Object(s.c)(f,!0,!0),{className:h,width:n,height:r,style:g,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height),version:"1.1"}),e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return It}));var r=n(14),i=n.n(r),o=n(176),a=n.n(o),s=n(0),c=n.n(s),l=n(19),u=n.n(l),g=n(212),f=n(142),d=n.n(f),h=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),p=2*h;var A={draw:function(t,e){var n=Math.sqrt(e/h);t.moveTo(n,0),t.arc(0,0,n,0,p)}},C={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},v=Math.sqrt(1/3),I=2*v,y={draw:function(t,e){var n=Math.sqrt(e/I),r=n*v;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},m={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},b=Math.sin(h/10)/Math.sin(7*h/10),x=Math.sin(p/10)*b,w=-Math.cos(p/10)*b,O={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=x*n,i=w*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=p*o/5,s=Math.cos(a),c=Math.sin(a);t.lineTo(c*n,-s*n),t.lineTo(s*r-c*i,c*r+s*i)}t.closePath()}},S=Math.sqrt(3),_={draw:function(t,e){var n=-Math.sqrt(e/(3*S));t.moveTo(0,2*n),t.lineTo(-S*n,-n),t.lineTo(S*n,-n),t.closePath()}},k=-.5,j=Math.sqrt(3)/2,E=1/Math.sqrt(12),P=3*(E/2+1),M={draw:function(t,e){var n=Math.sqrt(e/P),r=n/2,i=n*E,o=r,a=n*E+n,s=-o,c=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,c),t.lineTo(k*r-j*i,j*r+k*i),t.lineTo(k*o-j*a,j*o+k*a),t.lineTo(k*s-j*c,j*s+k*c),t.lineTo(k*r+j*i,k*i-j*r),t.lineTo(k*o+j*a,k*a-j*o),t.lineTo(k*s+j*c,k*c-j*s),t.closePath()}},T=n(1031),R=n(31),D=n(15);function N(t){return(N="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(){return(L=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function z(t,e){return(z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function V(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=W(t);if(e){var i=W(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return G(this,n)}}function G(t,e){return!e||"object"!==N(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Y={symbolCircle:A,symbolCross:C,symbolDiamond:y,symbolSquare:m,symbolStar:O,symbolTriangle:_,symbolWye:M},H=Math.PI/180,U=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}(o,t);var e,n,r,i=V(o);function o(){return F(this,o),i.apply(this,arguments)}return e=o,(n=[{key:"getPath",value:function(){var t=this.props,e=t.size,n=t.sizeType,r=t.type,i=function(t){var e="symbol".concat(d()(t));return Y[e]||A}(r);return function(t,e){var n=null;function r(){var r;if(n||(n=r=Object(T.a)()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return t="function"===typeof t?t:Object(R.a)(t||A),e="function"===typeof e?e:Object(R.a)(void 0===e?64:+e),r.type=function(e){return arguments.length?(t="function"===typeof e?e:Object(R.a)(e),r):t},r.size=function(t){return arguments.length?(e="function"===typeof t?t:Object(R.a)(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r}().type(i).size(function(t,e,n){if("area"===e)return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var r=18*H;return 1.25*t*t*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(e,n,r))()}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.cx,r=t.cy,i=t.size;return n===+n&&r===+r&&i===+i?c.a.createElement("path",L({},Object(D.c)(this.props,!0),{className:u()("recharts-symbols",e),transform:"translate(".concat(n,", ").concat(r,")"),d:this.getPath()})):null}}])&&B(e.prototype,n),r&&B(e,r),o}(s.PureComponent);function X(t){return(X="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Z(){return(Z=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function K(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $(t,e){return($=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=nt(t);if(e){var i=nt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return et(this,n)}}function et(t,e){return!e||"object"!==X(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}U.defaultProps={type:"circle",size:64,sizeType:"area"},U.registerSymbol=function(t,e){Y["symbol".concat(d()(t))]=e};var rt=32,it=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$(t,e)}(o,t);var e,n,r,i=tt(o);function o(){return Q(this,o),i.apply(this,arguments)}return e=o,(n=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,n=16,r=rt/6,i=rt/3,o=t.inactive?e:t.color;if("plainline"===t.type)return c.a.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:n,x2:rt,y2:n,className:"recharts-legend-icon"});if("line"===t.type)return c.a.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(n,"h").concat(i,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*i,",").concat(n,"\n H").concat(rt,"M").concat(2*i,",").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(i,",").concat(n),className:"recharts-legend-icon"});if("rect"===t.type)return c.a.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(rt,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(c.a.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?q(Object(n),!0).forEach((function(e){K(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t);return delete a.legendIcon,c.a.cloneElement(t.legendIcon,a)}return c.a.createElement(U,{fill:o,cx:n,cy:n,size:rt,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,n=e.payload,r=e.iconSize,i=e.layout,o=e.formatter,a=e.inactiveColor,s={x:0,y:0,width:rt,height:rt},l={display:"horizontal"===i?"inline-block":"block",marginRight:10},f={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map((function(e,n){var i,d=e.formatter||o,h=u()((K(i={"recharts-legend-item":!0},"legend-item-".concat(n),!0),K(i,"inactive",e.inactive),i));if("none"===e.type)return null;var p=e.inactive?a:e.color;return c.a.createElement("li",Z({className:h,style:l,key:"legend-item-".concat(n)},Object(D.b)(t.props,e,n)),c.a.createElement(g.a,{width:r,height:r,viewBox:s,style:f},t.renderIcon(e)),c.a.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},d?d(e.value,e,n):e.value))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,n=t.layout,r=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===n?r:"left"};return c.a.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])&&J(e.prototype,n),r&&J(e,r),o}(s.PureComponent);it.displayName="Legend",it.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var ot=n(8);function at(t){return(at="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function st(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach((function(e){lt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ut(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ft(t,e){return(ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function dt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=pt(t);if(e){var i=pt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ht(this,n)}}function ht(t,e){return!e||"object"!==at(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function pt(t){return(pt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function At(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ct(t){return t.value}function vt(t,e){return!0===t?a()(e,Ct):i()(t)?a()(e,t):e}var It=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ft(t,e)}(a,t);var e,n,r,o=dt(a);function a(){var t;ut(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))).wrapperNode=void 0,t.state={boxWidth:-1,boxHeight:-1},t}return e=a,r=[{key:"getWithHeight",value:function(t,e){var n=t.props.layout;return"vertical"===n&&Object(ot.g)(t.props.height)?{height:t.props.height}:"horizontal"===n?{width:t.props.width||e}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight;return e>=0&&n>=0?{width:e,height:n}:null}},{key:"getDefaultPosition",value:function(t){var e,n,r=this.props,i=r.layout,o=r.align,a=r.verticalAlign,s=r.margin,c=r.chartWidth,l=r.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((c||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===o?{right:s&&s.right||0}:{left:s&&s.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(n="middle"===a?{top:((l||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),ct(ct({},e),n)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-e)>1||Math.abs(i.height-n)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},(function(){r&&r(i)}))}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},(function(){r&&r(null)}))}},{key:"render",value:function(){var t=this,e=this.props,n=e.content,r=e.width,o=e.height,a=e.wrapperStyle,s=e.payloadUniqBy,l=e.payload,u=ct(ct({position:"absolute",width:r||"auto",height:o||"auto"},this.getDefaultPosition(a)),a);return c.a.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(e){t.wrapperNode=e}},function(t,e){if(c.a.isValidElement(t))return c.a.cloneElement(t,e);if(i()(t))return c.a.createElement(t,e);e.ref;var n=At(e,["ref"]);return c.a.createElement(it,n)}(n,ct(ct({},this.props),{},{payload:vt(s,l)})))}}])&>(e.prototype,n),r&>(e,r),a}(s.PureComponent);It.displayName="Legend",It.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}},function(t,e,n){var r;!function(i){var o=/^\s+/,a=/\s+$/,s=0,c=i.round,l=i.min,u=i.max,g=i.random;function f(t,e){if(e=e||{},(t=t||"")instanceof f)return t;if(!(this instanceof f))return new f(t,e);var n=function(t){var e={r:0,g:0,b:0},n=1,r=null,s=null,c=null,g=!1,f=!1;"string"==typeof t&&(t=function(t){t=t.replace(o,"").replace(a,"").toLowerCase();var e,n=!1;if(E[t])t=E[t],n=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=z.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=z.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=z.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=z.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=z.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=z.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=z.hex8.exec(t))return{r:D(e[1]),g:D(e[2]),b:D(e[3]),a:B(e[4]),format:n?"name":"hex8"};if(e=z.hex6.exec(t))return{r:D(e[1]),g:D(e[2]),b:D(e[3]),format:n?"name":"hex"};if(e=z.hex4.exec(t))return{r:D(e[1]+""+e[1]),g:D(e[2]+""+e[2]),b:D(e[3]+""+e[3]),a:B(e[4]+""+e[4]),format:n?"name":"hex8"};if(e=z.hex3.exec(t))return{r:D(e[1]+""+e[1]),g:D(e[2]+""+e[2]),b:D(e[3]+""+e[3]),format:n?"name":"hex"};return!1}(t));"object"==typeof t&&(V(t.r)&&V(t.g)&&V(t.b)?(d=t.r,h=t.g,p=t.b,e={r:255*T(d,255),g:255*T(h,255),b:255*T(p,255)},g=!0,f="%"===String(t.r).substr(-1)?"prgb":"rgb"):V(t.h)&&V(t.s)&&V(t.v)?(r=L(t.s),s=L(t.v),e=function(t,e,n){t=6*T(t,360),e=T(e,100),n=T(n,100);var r=i.floor(t),o=t-r,a=n*(1-e),s=n*(1-o*e),c=n*(1-(1-o)*e),l=r%6;return{r:255*[n,s,a,a,c,n][l],g:255*[c,n,n,s,a,a][l],b:255*[a,a,c,n,n,s][l]}}(t.h,r,s),g=!0,f="hsv"):V(t.h)&&V(t.s)&&V(t.l)&&(r=L(t.s),c=L(t.l),e=function(t,e,n){var r,i,o;function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=T(t,360),e=T(e,100),n=T(n,100),0===e)r=i=o=n;else{var s=n<.5?n*(1+e):n+e-n*e,c=2*n-s;r=a(c,s,t+1/3),i=a(c,s,t),o=a(c,s,t-1/3)}return{r:255*r,g:255*i,b:255*o}}(t.h,r,c),g=!0,f="hsl"),t.hasOwnProperty("a")&&(n=t.a));var d,h,p;return n=M(n),{ok:g,format:t.format||f,r:l(255,u(e.r,0)),g:l(255,u(e.g,0)),b:l(255,u(e.b,0)),a:n}}(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=e.format||n.format,this._gradientType=e.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function d(t,e,n){t=T(t,255),e=T(e,255),n=T(n,255);var r,i,o=u(t,e,n),a=l(t,e,n),s=(o+a)/2;if(o==a)r=i=0;else{var c=o-a;switch(i=s>.5?c/(2-o-a):c/(o+a),o){case t:r=(e-n)/c+(e<n?6:0);break;case e:r=(n-t)/c+2;break;case n:r=(t-e)/c+4}r/=6}return{h:r,s:i,l:s}}function h(t,e,n){t=T(t,255),e=T(e,255),n=T(n,255);var r,i,o=u(t,e,n),a=l(t,e,n),s=o,c=o-a;if(i=0===o?0:c/o,o==a)r=0;else{switch(o){case t:r=(e-n)/c+(e<n?6:0);break;case e:r=(n-t)/c+2;break;case n:r=(t-e)/c+4}r/=6}return{h:r,s:i,v:s}}function p(t,e,n,r){var i=[N(c(t).toString(16)),N(c(e).toString(16)),N(c(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function A(t,e,n,r){return[N(F(r)),N(c(t).toString(16)),N(c(e).toString(16)),N(c(n).toString(16))].join("")}function C(t,e){e=0===e?0:e||10;var n=f(t).toHsl();return n.s-=e/100,n.s=R(n.s),f(n)}function v(t,e){e=0===e?0:e||10;var n=f(t).toHsl();return n.s+=e/100,n.s=R(n.s),f(n)}function I(t){return f(t).desaturate(100)}function y(t,e){e=0===e?0:e||10;var n=f(t).toHsl();return n.l+=e/100,n.l=R(n.l),f(n)}function m(t,e){e=0===e?0:e||10;var n=f(t).toRgb();return n.r=u(0,l(255,n.r-c(-e/100*255))),n.g=u(0,l(255,n.g-c(-e/100*255))),n.b=u(0,l(255,n.b-c(-e/100*255))),f(n)}function b(t,e){e=0===e?0:e||10;var n=f(t).toHsl();return n.l-=e/100,n.l=R(n.l),f(n)}function x(t,e){var n=f(t).toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,f(n)}function w(t){var e=f(t).toHsl();return e.h=(e.h+180)%360,f(e)}function O(t){var e=f(t).toHsl(),n=e.h;return[f(t),f({h:(n+120)%360,s:e.s,l:e.l}),f({h:(n+240)%360,s:e.s,l:e.l})]}function S(t){var e=f(t).toHsl(),n=e.h;return[f(t),f({h:(n+90)%360,s:e.s,l:e.l}),f({h:(n+180)%360,s:e.s,l:e.l}),f({h:(n+270)%360,s:e.s,l:e.l})]}function _(t){var e=f(t).toHsl(),n=e.h;return[f(t),f({h:(n+72)%360,s:e.s,l:e.l}),f({h:(n+216)%360,s:e.s,l:e.l})]}function k(t,e,n){e=e||6,n=n||30;var r=f(t).toHsl(),i=360/n,o=[f(t)];for(r.h=(r.h-(i*e>>1)+720)%360;--e;)r.h=(r.h+i)%360,o.push(f(r));return o}function j(t,e){e=e||6;for(var n=f(t).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/e;e--;)a.push(f({h:r,s:i,v:o})),o=(o+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,n,r=this.toRgb();return t=r.r/255,e=r.g/255,n=r.b/255,.2126*(t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:i.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=M(t),this._roundA=c(100*this._a)/100,this},toHsv:function(){var t=h(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=h(this._r,this._g,this._b),e=c(360*t.h),n=c(100*t.s),r=c(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=d(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=d(this._r,this._g,this._b),e=c(360*t.h),n=c(100*t.s),r=c(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return p(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,n,r,i){var o=[N(c(t).toString(16)),N(c(e).toString(16)),N(c(n).toString(16)),N(F(r))];if(i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*T(this._r,255))+"%",g:c(100*T(this._g,255))+"%",b:c(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*T(this._r,255))+"%, "+c(100*T(this._g,255))+"%, "+c(100*T(this._b,255))+"%)":"rgba("+c(100*T(this._r,255))+"%, "+c(100*T(this._g,255))+"%, "+c(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+A(this._r,this._g,this._b,this._a),n=e,r=this._gradientType?"GradientType = 1, ":"";if(t){var i=f(t);n="#"+A(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0;return e||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(C,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(I,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(j,arguments)},splitcomplement:function(){return this._applyCombination(_,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},f.fromRatio=function(t,e){if("object"==typeof t){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]="a"===r?t[r]:L(t[r]));t=n}return f(t,e)},f.equals=function(t,e){return!(!t||!e)&&f(t).toRgbString()==f(e).toRgbString()},f.random=function(){return f.fromRatio({r:g(),g:g(),b:g()})},f.mix=function(t,e,n){n=0===n?0:n||50;var r=f(t).toRgb(),i=f(e).toRgb(),o=n/100;return f({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},f.readability=function(t,e){var n=f(t),r=f(e);return(i.max(n.getLuminance(),r.getLuminance())+.05)/(i.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(t,e,n){var r,i,o=f.readability(t,e);switch(i=!1,(r=function(t){var e,n;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==n&&"large"!==n&&(n="small");return{level:e,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},f.mostReadable=function(t,e,n){var r,i,o,a,s=null,c=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var l=0;l<e.length;l++)(r=f.readability(t,e[l]))>c&&(c=r,s=f(e[l]));return f.isReadable(t,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,f.mostReadable(t,["#fff","#000"],n))};var E=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=f.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(E);function M(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function T(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"===typeof t&&-1!=t.indexOf("%")}(t);return t=l(e,u(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),i.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function R(t){return l(1,u(0,t))}function D(t){return parseInt(t,16)}function N(t){return 1==t.length?"0"+t:""+t}function L(t){return t<=1&&(t=100*t+"%"),t}function F(t){return i.round(255*parseFloat(t)).toString(16)}function B(t){return D(t)/255}var z=function(){var t="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",e="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",n="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+e),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+e),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+e),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function V(t){return!!z.CSS_UNIT.exec(t)}t.exports?t.exports=f:void 0===(r=function(){return f}.call(e,n,e,t))||(t.exports=r)}(Math)},function(t,e,n){var r=n(519),i=n(940),o=n(151);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},function(t,e,n){var r=n(519),i=n(941),o=n(151);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},,,,,,,function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(52),i=n(182),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(76);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports={}},function(t,e,n){var r,i=n(94),o=n(442),a=n(316),s=n(228),c=n(622),l=n(441),u=n(230),g=u("IE_PROTO"),f=function(){},d=function(t){return"<script>"+t+"</"+"script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}h=r?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):function(){var t,e=l("iframe");return e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F}();for(var t=a.length;t--;)delete h.prototype[a[t]];return h()};s[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=i(t),n=new f,f.prototype=null,n[g]=t):n=h(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(320),i=n(322),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,n){var r=n(324),i=n(125).f,o=n(105),a=n(84),s=n(625),c=n(53)("toStringTag");t.exports=function(t,e,n,l){if(t){var u=n?t:t.prototype;a(u,c)||i(u,c,{configurable:!0,value:e}),l&&!r&&o(u,"toString",s)}}},function(t,e,n){"use strict";var r=n(669).charAt,i=n(325),o=n(457),a="String Iterator",s=i.set,c=i.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=c(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){n(679);var r=n(680),i=n(61),o=n(190),a=n(105),s=n(127),c=n(53)("toStringTag");for(var l in r){var u=i[l],g=u&&u.prototype;g&&o(g)!==c&&a(g,c,l),s[l]=s.Array}},function(t,e,n){"use strict";var r=n(254);n.d(e,"a",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(480);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(484);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(531);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(476);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(532);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(479);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(482);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(533);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(486);n.d(e,"default",(function(){return r.a}))},function(t,e,n){"use strict";n.r(e);var r=n(534);n.d(e,"default",(function(){return r.a}))},function(t,e,n){var r=n(497),i=n(860)(r);t.exports=i},function(t,e,n){var r=n(848),i=n(856),o=n(149);t.exports=function(t){return o(t)?r(t):i(t)}},function(t,e,n){var r=n(863),i=n(864),o=n(865),a=n(866),s=n(867);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e,n){var r=n(336);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(134)(Object,"create");t.exports=r},function(t,e,n){var r=n(885);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var r=n(150);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},function(t,e,n){var r=n(336),i=n(149),o=n(333),a=n(56);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},function(t,e,n){"use strict";n.r(e),n.d(e,"capitalize",(function(){return r.a})),n.d(e,"createChainedFunction",(function(){return i.a})),n.d(e,"createSvgIcon",(function(){return o.a})),n.d(e,"debounce",(function(){return a.a})),n.d(e,"deprecatedPropType",(function(){return s})),n.d(e,"isMuiElement",(function(){return c.a})),n.d(e,"ownerDocument",(function(){return l.a})),n.d(e,"ownerWindow",(function(){return u.a})),n.d(e,"requirePropFactory",(function(){return g.a})),n.d(e,"setRef",(function(){return f.a})),n.d(e,"unsupportedProp",(function(){return d.a})),n.d(e,"useControlled",(function(){return h.a})),n.d(e,"useEventCallback",(function(){return p.a})),n.d(e,"useForkRef",(function(){return A.a})),n.d(e,"unstable_useId",(function(){return C.a})),n.d(e,"useIsFocusVisible",(function(){return v.a}));var r=n(9),i=n(65),o=n(30),a=n(63);function s(t,e){return function(){return null}}var c=n(78),l=n(32),u=n(117),g=n(330),f=n(49),d=n(192),h=n(57),p=n(24),A=n(18),C=n(109),v=n(97)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(0),i=n(273);function o(){return r.useContext(i.a)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(289),i=n(360),o=n(103),a=n(988);function s(t,e,n,s){var c,l=Object(r.c)(t,e,n);switch((s=Object(i.a)(null==s?",f":s)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(e));return null!=s.precision||isNaN(c=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(o.a)(e)/3)))-Object(o.a)(Math.abs(t)))}(l,u))||(s.precision=c),Object(a.b)(s,u);case"":case"e":case"g":case"p":case"r":null!=s.precision||isNaN(c=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Object(o.a)(e)-Object(o.a)(t))+1}(l,Math.max(Math.abs(t),Math.abs(e))))||(s.precision=c-("e"===s.type));break;case"f":case"%":null!=s.precision||isNaN(c=function(t){return Math.max(0,-Object(o.a)(Math.abs(t)))}(l))||(s.precision=c-2*("%"===s.type))}return Object(a.a)(s)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return E})),n.d(e,"b",(function(){return P}));var r=n(361),i=n(289),o=n(1027),a=n(28),s=Object(a.a)((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),c=s,l=(s.range,n(1025)),u=n(1026),g=n(34),f=Object(a.a)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*g.d-t.getMinutes()*g.c)}),(function(t,e){t.setTime(+t+e*g.b)}),(function(t,e){return(e-t)/g.b}),(function(t){return t.getHours()})),d=f,h=(f.range,Object(a.a)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*g.d)}),(function(t,e){t.setTime(+t+e*g.c)}),(function(t,e){return(e-t)/g.c}),(function(t){return t.getMinutes()}))),p=h,A=(h.range,n(1029)),C=n(1030),v=n(1036),I=n(33),y=n(23),m=n(280),b=1e3,x=6e4,w=36e5,O=864e5,S=2592e6,_=31536e6;function k(t){return new Date(t)}function j(t){return t instanceof Date?+t:+new Date(+t)}function E(t,e,n,o,a,s,c,l,u){var g=Object(I.b)(),f=g.invert,d=g.domain,h=u(".%L"),p=u(":%S"),A=u("%I:%M"),C=u("%I %p"),v=u("%a %d"),y=u("%b %d"),P=u("%B"),M=u("%Y"),T=[[c,1,b],[c,5,5e3],[c,15,15e3],[c,30,3e4],[s,1,x],[s,5,3e5],[s,15,9e5],[s,30,18e5],[a,1,w],[a,3,108e5],[a,6,216e5],[a,12,432e5],[o,1,O],[o,2,1728e5],[n,1,6048e5],[e,1,S],[e,3,7776e6],[t,1,_]];function R(r){return(c(r)<r?h:s(r)<r?p:a(r)<r?A:o(r)<r?C:e(r)<r?n(r)<r?v:y:t(r)<r?P:M)(r)}function D(e,n,o){if(null==e&&(e=10),"number"===typeof e){var a,s=Math.abs(o-n)/e,c=Object(r.a)((function(t){return t[2]})).right(T,s);return c===T.length?(a=Object(i.c)(n/_,o/_,e),e=t):c?(a=(c=T[s/T[c-1][2]<T[c][2]/s?c-1:c])[1],e=c[0]):(a=Math.max(Object(i.c)(n,o,e),1),e=l),e.every(a)}return e}return g.invert=function(t){return new Date(f(t))},g.domain=function(t){return arguments.length?d(Array.from(t,j)):d().map(k)},g.ticks=function(t){var e,n=d(),r=n[0],i=n[n.length-1],o=i<r;return o&&(e=r,r=i,i=e),e=(e=D(t,r,i))?e.range(r,i+1):[],o?e.reverse():e},g.tickFormat=function(t,e){return null==e?R:u(e)},g.nice=function(t){var e=d();return(t=D(t,e[0],e[e.length-1]))?d(Object(m.a)(e,t)):g},g.copy=function(){return Object(I.a)(g,E(t,e,n,o,a,s,c,l,u))},g}function P(){return y.b.apply(E(o.a,c,l.b,u.a,d,p,A.a,C.a,v.a).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=n.n(o),s=n(3),c=(n(6),n(70)),l=n.n(c),u=n(989);function g(t,e){var n={};return Object.keys(t).forEach((function(r){-1===e.indexOf(r)&&(n[r]=t[r])})),n}var f=n(98);e.a=function(t){var e=function(t){return function(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=o.name,f=Object(i.a)(o,["name"]),d=c,h="function"===typeof e?function(t){return{root:function(n){return e(Object(r.a)({theme:t},n))}}}:{root:e},p=Object(u.a)(h,Object(r.a)({Component:t,name:c||t.displayName,classNamePrefix:d},f));e.filterProps&&(n=e.filterProps,delete e.filterProps),e.propTypes&&(e.propTypes,delete e.propTypes);var A=a.a.forwardRef((function(e,o){var c=e.children,l=e.className,u=e.clone,f=e.component,d=Object(i.a)(e,["children","className","clone","component"]),h=p(e),A=Object(s.default)(h.root,l),C=d;if(n&&(C=g(C,n)),u)return a.a.cloneElement(c,Object(r.a)({className:Object(s.default)(c.props.className,A)},C));if("function"===typeof c)return c(Object(r.a)({className:A},C));var v=f||t;return a.a.createElement(v,Object(r.a)({ref:o,className:A},C),c)}));return l()(A,t),A}}(t);return function(t,n){return e(t,Object(r.a)({defaultTheme:f.a},n))}}},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(60))},function(t,e,n){"use strict";var r=n(0),i=n.n(r).a.createContext(null);e.a=i},function(t,e,n){"use strict";function r(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for;e.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(43),n(2);var r=n(108),i=(n(6),n(118),{xs:0,sm:600,md:960,lg:1280,xl:1920}),o={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(i[t],"px)")}};function a(t,e,n){if(Array.isArray(e)){var i=t.theme.breakpoints||o;return e.reduce((function(t,r,o){return t[i.up(i.keys[o])]=n(e[o]),t}),{})}if("object"===Object(r.a)(e)){var a=t.theme.breakpoints||o;return Object.keys(e).reduce((function(t,r){return t[a.up(r)]=n(e[r]),t}),{})}return n(e)}},function(t,e,n){"use strict";e.a={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(6),n(3)),s=n(7),c=o.forwardRef((function(t,e){var n=t.classes,s=t.className,c=t.component,l=void 0===c?"div":c,u=t.square,g=void 0!==u&&u,f=t.elevation,d=void 0===f?1:f,h=t.variant,p=void 0===h?"elevation":h,A=Object(r.a)(t,["classes","className","component","square","elevation","variant"]);return o.createElement(l,Object(i.a)({className:Object(a.default)(n.root,s,"outlined"===p?n.outlined:n["elevation".concat(d)],!g&&n.rounded),ref:e},A))}));e.a=Object(s.a)((function(t){var e={};return t.shadows.forEach((function(t,n){e["elevation".concat(n)]={boxShadow:t}})),Object(i.a)({root:{backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},rounded:{borderRadius:t.shape.borderRadius},outlined:{border:"1px solid ".concat(t.palette.divider)}},e)}),{name:"MuiPaper"})(c)},function(t,e,n){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(603)),o=r(n(607)),a=r(n(611)),s=r(n(616)),c=r(n(620)),l=r(n(628)),u=r(n(631)),g=r(n(635)),f=r(n(640)),d=r(n(645)),h=r(n(650)),p=r(n(655)),A=r(n(657)),C=r(n(662)),v=r(n(711)),I=r(n(716)),y=r(n(720)),m=r(n(729)),b=r(n(734)),x=r(n(739)),w=r(n(746)),O=r(n(470)),S=r(n(751)),_=r(n(757)),k=r(n(761)),j=r(n(766)),E=r(n(768)),P=r(n(769)),M=r(n(473)),T=r(n(771)),R=r(n(780)),D=r(n(781)),N=r(n(786)),L=n(974),F=n(135),B=r(n(3)),z=r(n(788)),V=r(n(789)),G=r(n(790)),W=r(n(791)),Y=r(n(792)),H=r(n(793)),U=r(n(6)),X=n(0),Z=r(X),q=r(n(794)),K=r(n(48)),Q=r(n(235)),J=r(n(802)),$=r(n(193)),tt=r(n(236)),et=r(n(804)),nt=r(n(806)),rt=r(n(807)),it=r(n(130)),ot=r(n(237)),at=r(n(128)),st=r(n(194)),ct=r(n(195)),lt=r(n(131)),ut=r(n(196)),gt=r(n(238)),ft=r(n(197)),dt=r(n(148)),ht=r(n(239)),pt=r(n(240)),At=r(n(241)),Ct=r(n(242)),vt=r(n(813)),It=r(n(818)),yt=r(n(825)),mt=r(n(828)),bt=r(n(243)),xt=r(n(244)),wt=r(n(829)),Ot=n(833),St=r(n(198)),_t=r(n(115)),kt=r(n(199)),jt=r(n(834)),Et=r(n(132)),Pt=r(n(200)),Mt=r(n(835)),Tt=r(n(836)),Rt=r(n(837)),Dt=r(n(838)),Nt=r(n(839)),Lt=r(n(840)),Ft=n(841),Bt=r(Ft),zt=r(n(69)),Vt=r(n(842)),Gt=n(976),Wt=F.makeStyles((function(t){return{root:{},cellHide:{display:"none"},simpleHeader:N({},t.breakpoints.down("xs"),{display:"inline-block",fontWeight:"bold",width:"100%",boxSizing:"border-box"}),simpleCell:N({},t.breakpoints.down("xs"),{display:"inline-block",width:"100%",boxSizing:"border-box"}),stackedHeader:{verticalAlign:"top"},stackedCommon:N({},t.breakpoints.down("sm"),{display:"inline-block",fontSize:"16px",height:"auto",width:"calc(50%)",boxSizing:"border-box","&:last-child":{borderBottom:"none"},"&:nth-last-child(2)":{borderBottom:"none"}}),stackedCommonAlways:{display:"inline-block",fontSize:"16px",height:"auto",width:"calc(50%)",boxSizing:"border-box","&:last-child":{borderBottom:"none"},"&:nth-last-child(2)":{borderBottom:"none"}},stackedParent:N({},t.breakpoints.down("sm"),{display:"inline-block",fontSize:"16px",height:"auto",width:"calc(100%)",boxSizing:"border-box"}),stackedParentAlways:{display:"inline-block",fontSize:"16px",height:"auto",width:"calc(100%)",boxSizing:"border-box"},cellStackedSmall:N({},t.breakpoints.down("sm"),{width:"50%",boxSizing:"border-box"}),responsiveStackedSmall:N({},t.breakpoints.down("sm"),{width:"50%",boxSizing:"border-box"}),responsiveStackedSmallParent:N({},t.breakpoints.down("sm"),{width:"100%",boxSizing:"border-box"})}}),{name:"MUIDataTableBodyCell"});function Yt(t){var e,n,r,i,o=Wt(),a=t.children,s=t.colIndex,c=t.columnHeader,l=t.options,u=t.dataIndex,f=t.rowIndex,d=t.className,h=t.print,p=t.tableId,A=y(t,["children","colIndex","columnHeader","options","dataIndex","rowIndex","className","print","tableId"]),C=l.onCellClick,v=X.useCallback((function(t){C(a,{colIndex:s,rowIndex:f,dataIndex:u,event:t})}),[C,a,s,f,u]),I={};C&&(I.onClick=v);var m=[Z.createElement("div",{key:1,className:B((N(e={lastColumn:2===s},o.root,!0),N(e,o.cellHide,!0),N(e,o.stackedHeader,!0),N(e,o.stackedCommon,"vertical"===l.responsive||"stacked"===l.responsive||"stackedFullWidth"===l.responsive),N(e,o.stackedCommonAlways,"verticalAlways"===l.responsive),N(e,o.cellStackedSmall,"stacked"===l.responsive||"stackedFullWidth"===l.responsive&&("none"===l.setTableProps().padding||"small"===l.setTableProps().size)),N(e,o.simpleHeader,"simple"===l.responsive),N(e,"datatables-noprint",!h),e),d)},c),Z.createElement("div",{key:2,className:B((N(n={},o.root,!0),N(n,o.stackedCommon,"vertical"===l.responsive||"stacked"===l.responsive||"stackedFullWidth"===l.responsive),N(n,o.stackedCommonAlways,"verticalAlways"===l.responsive),N(n,o.responsiveStackedSmall,"stacked"===l.responsive||"stackedFullWidth"===l.responsive&&("none"===l.setTableProps().padding||"small"===l.setTableProps().size)),N(n,o.simpleCell,"simple"===l.responsive),N(n,"datatables-noprint",!h),n),d)},"function"==typeof a?a(u,f):a)],b=-1!==j(r=["standard","scrollMaxHeight","scrollFullHeight","scrollFullHeightFullWidth"]).call(r,l.responsive)?J(m).call(m,1,2):m;return Z.createElement($,g({},I,{"data-colindex":s,"data-tableid":p,className:B((N(i={},o.root,!0),N(i,o.stackedParent,"vertical"===l.responsive||"stacked"===l.responsive||"stackedFullWidth"===l.responsive),N(i,o.stackedParentAlways,"verticalAlways"===l.responsive),N(i,o.responsiveStackedSmallParent,"vertical"===l.responsive||"stacked"===l.responsive||"stackedFullWidth"===l.responsive&&("none"===l.setTableProps().padding||"small"===l.setTableProps().size)),N(i,o.simpleCell,"simple"===l.responsive),N(i,"datatables-noprint",!h),i),d)},A),b)}function Ht(t){var e=function(){if("undefined"==typeof Reflect||!u)return!1;if(u.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(u(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r,i=D(t);return r=e?(n=D(this).constructor,u(i,arguments,n)):i.apply(this,arguments),R(this,r)}}var Ut=function(t){T(n,t);var e=Ht(n);function n(){return E(this,n),e.apply(this,arguments)}return P(n,[{key:"render",value:function(){var t,e=this.props,n=e.classes,r=e.options,i=e.rowSelected,o=e.onClick,a=e.className,s=e.isRowSelectable,c=y(e,["classes","options","rowSelected","onClick","className","isRowSelectable"]),l={};return o&&(l.onClick=o),Z.createElement(tt,g({hover:!!r.rowHover},l,{className:B((N(t={},n.root,!0),N(t,n.hover,r.rowHover),N(t,n.hoverCursor,r.selectableRowsOnClick&&s||r.expandableRowsOnClick),N(t,n.responsiveSimple,"simple"===r.responsive),N(t,n.responsiveStacked,"vertical"===r.responsive||"stacked"===r.responsive||"stackedFullWidth"===r.responsive),N(t,"mui-row-selected",i),t),a),selected:i},c),this.props.children)}}]),n}(Z.Component);N(Ut,"propTypes",{options:U.object.isRequired,onClick:U.func,rowSelected:U.bool,classes:U.object});var Xt=F.withStyles((function(t){return{root:{"&.Mui-selected":{backgroundColor:t.palette.action.selected},"&.mui-row-selected":{backgroundColor:t.palette.action.selected}},hoverCursor:{cursor:"pointer"},responsiveStacked:N({},t.breakpoints.down("sm"),{borderTop:"solid 2px rgba(0, 0, 0, 0.15)",borderBottom:"solid 2px rgba(0, 0, 0, 0.15)",padding:0,margin:0}),responsiveSimple:N({},t.breakpoints.down("xs"),{borderTop:"solid 2px rgba(0, 0, 0, 0.15)",borderBottom:"solid 2px rgba(0, 0, 0, 0.15)",padding:0,margin:0})}}),{name:"MUIDataTableBodyRow"})(Ut),Zt=function(t){var e=t.areAllRowsExpanded,n=t.buttonClass,r=t.expandableRowsHeader,i=t.expandedRows,o=t.iconClass,a=t.iconIndeterminateClass,s=t.isHeaderCell,c=t.onExpand;return Z.createElement(Z.Fragment,null,s&&!e()&&e&&0<i.data.length?Z.createElement(L.IconButton,{onClick:c,style:{padding:0},disabled:!1===r,className:n},Z.createElement(nt,{id:"expandable-button",className:a})):Z.createElement(L.IconButton,{onClick:c,style:{padding:0},disabled:!1===r,className:n},Z.createElement(et,{id:"expandable-button",className:o})))},qt=F.makeStyles((function(t){return{root:{"@media print":{display:"none"}},fixedHeader:{position:"sticky",top:"0px",zIndex:100},fixedLeft:{position:"sticky",left:"0px",zIndex:100},icon:{cursor:"pointer",transition:"transform 0.25s"},expanded:{transform:"rotate(90deg)"},hide:{visibility:"hidden"},headerCell:{zIndex:110,backgroundColor:t.palette.background.paper},expandDisabled:{},checkboxRoot:{},checked:{},disabled:{}}}),{name:"MUIDataTableSelectCell"}),Kt=function(t){var e,n,r,i=t.fixedHeader,o=t.fixedSelectColumn,a=t.isHeaderCell,s=void 0!==a&&a,c=t.expandableOn,l=void 0!==c&&c,u=t.selectableOn,f=void 0===u?"none":u,d=t.isRowExpanded,h=void 0!==d&&d,p=t.onExpand,A=t.isRowSelectable,C=t.selectableRowsHeader,v=t.hideExpandButton,I=t.expandableRowsHeader,m=t.expandedRows,b=t.areAllRowsExpanded,x=void 0===b?function(){return!1}:b,w=t.selectableRowsHideCheckboxes,O=t.setHeadCellRef,S=t.dataIndex,_=t.components,k=void 0===_?{}:_,j=y(t,["fixedHeader","fixedSelectColumn","isHeaderCell","expandableOn","selectableOn","isRowExpanded","onExpand","isRowSelectable","selectableRowsHeader","hideExpandButton","expandableRowsHeader","expandedRows","areAllRowsExpanded","selectableRowsHideCheckboxes","setHeadCellRef","dataIndex","components"]),E=qt(),P=k.Checkbox||L.Checkbox,M=k.ExpandButton||Zt;if(!1===l&&("none"===f||!0===w))return null;var T=B((N(e={},E.root,!0),N(e,E.fixedHeader,i&&s),N(e,E.fixedLeft,o),N(e,E.headerCell,s),e)),R=B(N({},E.expandDisabled,v)),D=B((N(n={},E.icon,!0),N(n,E.hide,s&&!I),N(n,E.expanded,h||s&&x()),n)),F=B((N(r={},E.icon,!0),N(r,E.hide,s&&!I),r)),z={};return O&&(z.ref=function(t){O(0,0,t)}),Z.createElement(L.TableCell,g({className:T,padding:"checkbox"},z),Z.createElement("div",{style:{display:"flex",alignItems:"center"}},l&&Z.createElement(M,{isHeaderCell:s,areAllRowsExpanded:x,expandedRows:m,onExpand:p,expandableRowsHeader:I,buttonClass:R,iconIndeterminateClass:F,iconClass:D,dataIndex:S}),"none"!==f&&!0!==w&&(!s||"multiple"===f&&!1!==C?Z.createElement(P,g({classes:{root:E.checkboxRoot,checked:E.checked,disabled:E.disabled},"data-description":s?"row-select-header":"row-select","data-index":S||null,color:"primary",disabled:!A},j)):null)))};function Qt(t){return x(t).call(t,(function(t,e){return t[e.dataIndex]=!0,t}),{})}function Jt(t){return"string"==typeof t?t.replace(/^\+|^\-|^\=|^\@/g,"'$&"):t}function $t(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n="function"==typeof e?e:console.warn;e&&n("".concat(t))}function te(t,e,n){var r=t<=e?1:Math.ceil(t/e);return r<=n?r-1:n}function ee(){return Intl?new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare:function(t,e){return t.localeCompare(e)}}function ne(t){return function(e,n){var r=null===e.data||void 0===e.data?"":e.data,i=null===n.data||void 0===n.data?"":n.data;return("function"==typeof r.localeCompare?r.localeCompare(i):r-i)*("asc"===t?1:-1)}}function re(t,e){var n,r,i,o,a=new Blob([t],{type:"text/csv"});navigator&&navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(a,e):(n="data:text/csv;charset=utf-8,".concat(t),i=void 0===(r=window.URL||window.webkitURL).createObjectURL?n:r.createObjectURL(a),(o=document.createElement("a")).setAttribute("href",i),o.setAttribute("download",e),document.body.appendChild(o),o.click(),document.body.removeChild(o))}function ie(t,e,n,r){var i=function(t,e,n){function r(t){return"string"==typeof t?t.replace(/\"/g,'""'):t}function i(t){var e;return J(e=x(t).call(t,(function(t,e){return e.download?t+'"'+Jt(r(e.label||e.name))+'"'+n.downloadOptions.separator:t}),"")).call(e,0,-1)+"\r\n"}function o(e){var i;return e.length?rt(i=x(e).call(e,(function(e,i){var o,a;return e+'"'+k(o=A(a=i.data).call(a,(function(e,n){return t[n].download}))).call(o,(function(t){return Jt(r(t))})).join('"'+n.downloadOptions.separator+'"')+'"\r\n'}),"")).call(i):""}var a,s,c=i(t),l=o(e);return n.onDownload?n.onDownload(i,o,t,e):rt(a=I(s="".concat(c)).call(s,l)).call(a)}(t,e,n);n.onDownload&&!1===i||r(i,n.downloadOptions.filename)}function oe(t){var e=function(){if("undefined"==typeof Reflect||!u)return!1;if(u.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(u(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r,i=D(t);return r=e?(n=D(this).constructor,u(i,arguments,n)):i.apply(this,arguments),R(this,r)}}Kt.propTypes={checked:U.bool.isRequired,fixedHeader:U.bool,onChange:U.func,classes:U.object,expandableOn:U.bool,hideExpandButton:U.bool,selectableOn:U.string,isRowSelectable:U.bool};var ae=function(t){T(n,t);var e=oe(n);function n(){var t,r;E(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,I(t=[this]).call(t,o)),N(M(r),"handleRowSelect",(function(t,e){var n=!(!e||!e.nativeEvent)&&e.nativeEvent.shiftKey,i=[],o=r.props.previousSelectedRow;if(n&&o&&o.index<r.props.data.length){var a,s=o.index,c=V(r.props.selectedRows),l=r.props.data[t.index].dataIndex;for(0===A(a=c.data).call(a,(function(t){return t.dataIndex===l})).length&&(c.data.push({index:t.index,dataIndex:l}),c.lookup[l]=!0);s!==t.index;)!function(){var e,n,o=r.props.data[s].dataIndex;r.isRowSelectable(o,c)&&(n={index:s,dataIndex:o},0===A(e=c.data).call(e,(function(t){return t.dataIndex===o})).length&&(c.data.push(n),c.lookup[o]=!0),i.push(n)),s=t.index>s?s+1:s-1}()}r.props.selectRowUpdate("cell",t,i)})),N(M(r),"handleRowClick",(function(t,e,n){var i,o,a;"expandable-button"===n.target.id||"path"===n.target.nodeName&&"expandable-button"===n.target.parentNode.id||n.target.id&&q(i=n.target.id).call(i,"MUIDataTableSelectCell")||(r.props.options.selectableRowsOnClick&&"none"!==r.props.options.selectableRows&&r.isRowSelectable(e.dataIndex,r.props.selectedRows)&&(o={index:e.rowIndex,dataIndex:e.dataIndex},r.handleRowSelect(o,n)),r.props.options.expandableRowsOnClick&&r.props.options.expandableRows&&r.isRowExpandable(e.dataIndex,r.props.expandedRows)&&(a={index:e.rowIndex,dataIndex:e.dataIndex},r.props.toggleExpandRow(a)),r.props.options.selectableRowsOnClick||r.props.options.onRowClick&&r.props.options.onRowClick(t,e,n))})),N(M(r),"processRow",(function(t,e){for(var n=[],r=0;r<t.length;r++)n.push({value:t[e[r]],index:e[r]});return n})),r}return P(n,[{key:"buildRows",value:function(){var t=this.props,e=t.data,n=t.page,r=t.rowsPerPage,i=t.count;if(this.props.options.serverSide)return e.length?e:null;var o=[],a=te(i,r,n),s=0===a?0:a*r,c=Math.min(i,(a+1)*r);a<n&&console.warn("Current page is out of range, using the highest page that is in range instead.");for(var l=s;l<i&&l<c;l++)void 0!==e[l]&&o.push(e[l]);return o.length?o:null}},{key:"getRowIndex",value:function(t){var e=this.props,n=e.page,r=e.rowsPerPage;return e.options.serverSide?t:(0===n?0:n*r)+t}},{key:"isRowSelected",value:function(t){var e=this.props.selectedRows;return!(!e.lookup||!e.lookup[t])}},{key:"isRowExpanded",value:function(t){var e=this.props.expandedRows;return!(!e.lookup||!e.lookup[t])}},{key:"isRowSelectable",value:function(t,e){var n=this.props.options;return e=e||this.props.selectedRows,!n.isRowSelectable||n.isRowSelectable(t,e)}},{key:"isRowExpandable",value:function(t){var e=this.props,n=e.options,r=e.expandedRows;return!n.isRowExpandable||n.isRowExpandable(t,r)}},{key:"render",value:function(){var t,e=this,n=this.props,r=n.classes,i=n.columns,o=n.toggleExpandRow,a=n.options,s=n.columnOrder,c=void 0===s?k(t=this.props.columns).call(t,(function(t,e){return e})):s,l=n.components,u=void 0===l?{}:l,f=n.tableId,d=this.buildRows(),p=A(i).call(i,(function(t){return"true"===t.display})).length;return Z.createElement(Q,null,d&&0<d.length?k(d).call(d,(function(t,n){var s,l,d,p=t.data,A=t.dataIndex;if(a.customRowRender)return a.customRowRender(p,A,n);var C="none"!==a.selectableRows&&e.isRowSelected(A),v=e.isRowSelectable(A),y=a.setRowProps&&a.setRowProps(p,A,n)||{},m=e.processRow(p,c);return Z.createElement(Z.Fragment,{key:n},Z.createElement(Xt,g({},y,{options:a,rowSelected:C,isRowSelectable:v,onClick:h(s=e.handleRowClick).call(s,null,p,{rowIndex:n,dataIndex:A}),className:B((N(l={},r.lastStackedCell,"vertical"===a.responsive||"stacked"===a.responsive||"stackedFullWidth"===a.responsive),N(l,r.lastSimpleCell,"simple"===a.responsive),N(l,y.className,y.className),l)),"data-testid":"MUIDataTableBodyRow-"+A,id:"MUIDataTableBodyRow-"+A}),Z.createElement(Kt,{onChange:h(d=e.handleRowSelect).call(d,null,{index:e.getRowIndex(n),dataIndex:A}),onExpand:h(o).call(o,null,{index:e.getRowIndex(n),dataIndex:A}),fixedHeader:a.fixedHeader,fixedSelectColumn:a.fixedSelectColumn,checked:C,expandableOn:a.expandableRows,hideExpandButton:!e.isRowExpandable(A)&&a.expandableRows,selectableOn:a.selectableRows,selectableRowsHideCheckboxes:a.selectableRowsHideCheckboxes,isRowExpanded:e.isRowExpanded(A),isRowSelectable:v,dataIndex:A,id:"MUIDataTableSelectCell-"+A,components:u}),k(m).call(m,(function(t){var e;return"true"===i[t.index].display&&Z.createElement(Yt,g({},i[t.index].setCellProps&&i[t.index].setCellProps(t.value,A,t.index)||{},{"data-testid":I(e="MuiDataTableBodyCell-".concat(t.index,"-")).call(e,n),dataIndex:A,rowIndex:n,colIndex:t.index,columnHeader:i[t.index].label,print:i[t.index].print,options:a,tableId:f,key:t.index}),t.value)}))),e.isRowExpanded(A)&&a.renderExpandableRow(p,{rowIndex:n,dataIndex:A}))})):Z.createElement(Xt,{options:a},Z.createElement(Yt,{colSpan:"none"!==a.selectableRows||a.expandableRows?p+1:p,options:a,colIndex:0,rowIndex:0},Z.createElement(K,{variant:"body1",className:r.emptyTitle,component:"div"},a.textLabels.body.noMatch))))}}]),n}(Z.Component);N(ae,"propTypes",{data:U.array.isRequired,count:U.number.isRequired,columns:U.array.isRequired,options:U.object.isRequired,filterList:U.array,onRowClick:U.func,expandedRows:U.object,selectedRows:U.object,selectRowUpdate:U.func,previousSelectedRow:U.object,searchText:U.string,toggleExpandRow:U.func,classes:U.object}),N(ae,"defaultProps",{toggleExpandRow:function(){}});var se=F.withStyles((function(t){return{root:{},emptyTitle:{textAlign:"center"},lastStackedCell:N({},t.breakpoints.down("sm"),{"& td:last-child":{borderBottom:"none"}}),lastSimpleCell:N({},t.breakpoints.down("xs"),{"& td:last-child":{borderBottom:"none"}})}}),{name:"MUIDataTableBody"})(ae);function ce(t){var e=function(){if("undefined"==typeof Reflect||!u)return!1;if(u.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(u(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r,i=D(t);return r=e?(n=D(this).constructor,u(i,arguments,n)):i.apply(this,arguments),R(this,r)}}var le=function(t){T(n,t);var e=ce(n);function n(t){var r;return E(this,n),r=e.call(this,t),N(M(r),"filterUpdate",(function(t,e,n,i,o){var a,s=J(a=r.state.filterList).call(a,0);r.props.updateFilterByType(s,t,e,i,o),r.setState({filterList:s})})),N(M(r),"handleCheckboxChange",(function(t,e,n){r.filterUpdate(t,e,n,"checkbox"),!0!==r.props.options.confirmFilters&&r.props.onFilterUpdate(t,e,n,"checkbox")})),N(M(r),"handleDropdownChange",(function(t,e,n){var i=A(r.props.options.textLabels).all,o=t.target.value===i?[]:[t.target.value];r.filterUpdate(e,o,n,"dropdown"),!0!==r.props.options.confirmFilters&&r.props.onFilterUpdate(e,o,n,"dropdown")})),N(M(r),"handleMultiselectChange",(function(t,e,n){r.filterUpdate(t,e,n,"multiselect"),!0!==r.props.options.confirmFilters&&r.props.onFilterUpdate(t,e,n,"multiselect")})),N(M(r),"handleTextFieldChange",(function(t,e,n){r.filterUpdate(e,t.target.value,n,"textField"),!0!==r.props.options.confirmFilters&&r.props.onFilterUpdate(e,t.target.value,n,"textField")})),N(M(r),"handleCustomChange",(function(t,e,n){r.filterUpdate(e,t,n.name,n.filterType),!0!==r.props.options.confirmFilters&&r.props.onFilterUpdate(e,t,n.name,n.filterType)})),N(M(r),"applyFilters",(function(){var t;return S(t=r.state.filterList).call(t,(function(t,e){r.props.onFilterUpdate(e,t,r.props.columns[e],"custom")})),r.props.handleClose(),r.props.options.onFilterConfirm&&r.props.options.onFilterConfirm(r.state.filterList),r.state.filterList})),N(M(r),"resetFilters",(function(){var t;r.setState({filterList:k(t=r.props.columns).call(t,(function(){return[]}))}),!0!==r.props.options.confirmFilters&&r.props.onFilterReset()})),r.state={filterList:V(t.filterList)},r}return P(n,[{key:"renderCheckbox",value:function(t,e,n){var r,i=this,o=(2<arguments.length&&void 0!==n?n:{}).Checkbox||ot,a=this.props,s=a.classes,c=a.filterData,l=this.state.filterList,u=t.filterOptions&&t.filterOptions.renderValue?t.filterOptions.renderValue:function(t){return t};return Z.createElement(L.Grid,{item:!0,key:e,xs:6},Z.createElement(ct,null,Z.createElement(L.Grid,{item:!0,xs:12},Z.createElement(K,{variant:"body2",className:s.checkboxListTitle},t.label)),Z.createElement(L.Grid,{container:!0},k(r=c[e]).call(r,(function(n,r){var a,c;return Z.createElement(L.Grid,{item:!0,key:r},Z.createElement(st,{key:r,classes:{root:s.checkboxFormControl,label:s.checkboxFormControlLabel},control:Z.createElement(o,{"data-description":"table-filter",color:"primary",className:s.checkboxIcon,onChange:h(a=i.handleCheckboxChange).call(a,null,e,n,t.name),checked:0<=j(c=l[e]).call(c,n),classes:{root:s.checkbox,checked:s.checked},value:null!=n?n.toString():""}),label:u(n)}))})))))}},{key:"renderSelect",value:function(t,e){var n,r=this,i=this.props,o=i.classes,a=i.filterData,s=i.options,c=this.state.filterList,l=A(s.textLabels),u=t.filterOptions&&t.filterOptions.renderValue?t.filterOptions.renderValue:function(t){return null!=t?t.toString():""},g=!0===(t.filterOptions&&t.filterOptions.fullWidth)?12:6;return Z.createElement(L.Grid,{item:!0,key:e,xs:g,classes:{"grid-xs-12":o.gridListTile,"grid-xs-6":o.gridListTile}},Z.createElement(at,{key:e,fullWidth:!0},Z.createElement(ut,{htmlFor:t.name},t.label),Z.createElement(dt,{fullWidth:!0,value:c[e].length?c[e].toString():l.all,name:t.name,onChange:function(n){return r.handleDropdownChange(n,e,t.name)},input:Z.createElement(lt,{name:t.name,id:t.name})},Z.createElement(ft,{value:l.all,key:0},l.all),k(n=a[e]).call(n,(function(t,e){return Z.createElement(ft,{value:t,key:e+1},u(t))})))))}},{key:"renderTextField",value:function(t,e){var n=this,r=this.props.classes,i=this.state.filterList;t.filterOptions&&t.filterOptions.renderValue&&console.warn("Custom renderValue not supported for textField filters");var o=!0===(t.filterOptions&&t.filterOptions.fullWidth)?12:6;return Z.createElement(L.Grid,{item:!0,key:e,xs:o,classes:{"grid-xs-12":r.gridListTile,"grid-xs-6":r.gridListTile}},Z.createElement(at,{key:e,fullWidth:!0},Z.createElement(L.TextField,{fullWidth:!0,label:t.label,value:i[e].toString()||"","data-testid":"filtertextfield-"+t.name,onChange:function(r){return n.handleTextFieldChange(r,e,t.name)}})))}},{key:"renderMultiselect",value:function(t,e,n){var r,i=this,o=(2<arguments.length&&void 0!==n?n:{}).Checkbox||ot,a=this.props,s=a.classes,c=a.filterData,l=this.state.filterList,u=t.filterOptions&&t.filterOptions.renderValue?t.filterOptions.renderValue:function(t){return t},g=!0===(t.filterOptions&&t.filterOptions.fullWidth)?12:6;return Z.createElement(L.Grid,{item:!0,key:e,xs:g,classes:{"grid-xs-12":s.gridListTile,"grid-xs-6":s.gridListTile}},Z.createElement(at,{key:e,fullWidth:!0},Z.createElement(ut,{htmlFor:t.name},t.label),Z.createElement(dt,{multiple:!0,fullWidth:!0,value:l[e]||[],renderValue:function(t){return k(t).call(t,u).join(", ")},name:t.name,onChange:function(n){return i.handleMultiselectChange(e,n.target.value,t.name)},input:Z.createElement(lt,{name:t.name,id:t.name})},k(r=c[e]).call(r,(function(t,n){var r;return Z.createElement(ft,{value:t,key:n+1},Z.createElement(o,{"data-description":"table-filter",color:"primary",checked:0<=j(r=l[e]).call(r,t),value:null!=t?t.toString():"",className:s.checkboxIcon,classes:{root:s.checkbox,checked:s.checked}}),Z.createElement(gt,{primary:u(t)}))})))))}},{key:"renderCustomField",value:function(t,e){var n=this.props,r=n.classes,i=n.filterData,o=n.options,a=this.state.filterList,s=!0===(t.filterOptions&&t.filterOptions.fullWidth)?12:6,c=t.filterOptions&&t.filterOptions.display||o.filterOptions&&o.filterOptions.display;if(c)return t.filterListOptions&&t.filterListOptions.renderValue&&console.warning('"renderValue" is ignored for custom filter fields'),Z.createElement(L.Grid,{item:!0,key:e,xs:s,classes:{"grid-xs-12":r.gridListTile,"grid-xs-6":r.gridListTile}},Z.createElement(at,{key:e,fullWidth:!0},c(a,this.handleCustomChange,e,t,i)));console.error('Property "display" is required when using custom filter type.')}},{key:"render",value:function(){var t=this,e=this.props,n=e.classes,r=e.columns,i=e.options,o=e.customFooter,a=e.filterList,s=e.components,c=void 0===s?{}:s,l=A(i.textLabels);return Z.createElement("div",{className:n.root},Z.createElement("div",{className:n.header},Z.createElement("div",{className:n.reset},Z.createElement(K,{variant:"body2",className:B(N({},n.title,!0))},l.title),Z.createElement(it,{color:"primary",className:n.resetLink,tabIndex:0,"aria-label":l.reset,"data-testid":"filterReset-button",onClick:this.resetFilters},l.reset)),Z.createElement("div",{className:n.filtersSelected})),Z.createElement(L.Grid,{container:!0,direction:"row",justify:"flex-start",alignItems:"center",spacing:4},k(r).call(r,(function(e,n){if(A(e)){var r=e.filterType||i.filterType;return"checkbox"===r?t.renderCheckbox(e,n,c):"multiselect"===r?t.renderMultiselect(e,n,c):"textField"===r?t.renderTextField(e,n):"custom"===r?t.renderCustomField(e,n):t.renderSelect(e,n)}}))),o?o(a,this.applyFilters):"")}}]),n}(Z.Component);N(le,"propTypes",{filterData:U.array.isRequired,filterList:U.array.isRequired,options:U.object.isRequired,onFilterUpdate:U.func,onFilterReset:U.func,classes:U.object});var ue=F.withStyles((function(t){return{root:{backgroundColor:t.palette.background.default,padding:"24px 24px 36px 24px",fontFamily:"Roboto"},header:{flex:"0 0 auto",marginBottom:"16px",width:"100%",display:"flex",justifyContent:"space-between"},title:{display:"inline-block",marginLeft:"7px",color:t.palette.text.primary,fontSize:"14px",fontWeight:500},noMargin:{marginLeft:"0px"},reset:{alignSelf:"left"},resetLink:{marginLeft:"16px",fontSize:"12px",cursor:"pointer"},filtersSelected:{alignSelf:"right"},checkboxListTitle:{marginLeft:"7px",marginBottom:"8px",fontSize:"14px",color:t.palette.text.secondary,textAlign:"left",fontWeight:500},checkboxFormGroup:{marginTop:"8px"},checkboxFormControl:{margin:"0px"},checkboxFormControlLabel:{fontSize:"15px",marginLeft:"8px",color:t.palette.text.primary},checkboxIcon:{width:"32px",height:"32px"},checkbox:{},checked:{},gridListTile:{marginTop:"16px"}}}),{name:"MUIDataTableFilter"})(le),ge=function(t){var e=t.label,n=t.onDelete,r=t.className,i=t.filterProps;return(i=i||{}).className&&(r=B(r,i.className)),Z.createElement(ht,g({label:e,onDelete:n,className:r},i))};ge.propTypes={label:U.node,onDelete:U.func.isRequired,className:U.string.isRequired};var fe=F.makeStyles((function(){return{root:{display:"flex",justifyContent:"left",flexWrap:"wrap",margin:"0px 16px 0px 16px"},chip:{margin:"8px 8px 0px 0px"}}}),{name:"MUIDataTableFilterList"}),de=function(t){function e(t,e,n,a,s){var c=4<arguments.length&&void 0!==s?s:null,l=e;w(l)&&0===l.length&&(l=i[t]),o(t,e,n,a,c,(function(e){r.onFilterChipClose&&r.onFilterChipClose(t,l,e)}))}function n(t,n,i,o,a){var c=a?l[n]?"custom":"chip":s[n].filterType;return Z.createElement(g,{label:t,key:i,onDelete:function(){return e(n,o[i]||[],s[n].name,c,l[n])},className:f.chip,itemKey:i,index:n,data:o,columnNames:s,filterProps:r.setFilterChipProps?r.setFilterChipProps(n,s[n].name,o[i]||[]):{}})}var r=t.options,i=t.filterList,o=t.filterUpdate,a=t.filterListRenderers,s=t.columnNames,c=t.serverSideFilterList,l=t.customFilterListUpdate,u=t.ItemComponent,g=void 0===u?ge:u,f=fe(),d=r.serverSide;return Z.createElement("div",{className:f.root},function(t){return k(t).call(t,(function(i,o){if("custom"===s[o].filterType&&t[o].length){var c=a[o](i);return w(c)?k(c).call(c,(function(t,e){return n(t,o,e,i,!0)})):n(c,o,o,i,!1)}return k(i).call(i,(function(t,n){return i=o,c=t,l=n,Z.createElement(g,{label:a[i](c),key:l,onDelete:function(){return e(i,c,s[i].name,"chip")},className:f.chip,itemKey:l,index:i,data:c,columnNames:s,filterProps:r.setFilterChipProps?r.setFilterChipProps(i,s[i].name,c):{}});var i,c,l}))}))}(d&&c?c:i))};de.propTypes={filterList:U.array.isRequired,filterListRenderers:U.array.isRequired,columnNames:U.arrayOf(U.oneOfType([U.string,U.shape({name:U.string.isRequired,filterType:U.string})])).isRequired,onFilterUpdate:U.func,ItemComponent:U.any};var he=F.makeStyles((function(t){return{root:{color:t.palette.text.primary},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingTop:6,paddingBottom:7,paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right",fontSize:t.typography.pxToRem(14)},selectIcon:{},input:{color:"inhert",fontSize:"inhert",flexShrink:0}}}),{name:"MUIDataTableJumpToPage"});function pe(t){for(var e=he(),n=t.count,r=t.textLabels,i=t.rowsPerPage,o=t.page,a=(t.changePage,r.pagination.jumpToPage),s=[],c=Math.min(1e3,te(n,i,1e6)),l=0;l<=c;l++)s.push(l);var u=L.MenuItem;return Z.createElement(L.Toolbar,{style:{display:"flex",minHeight:"52px",alignItems:"center"},className:e.root},Z.createElement(L.Typography,{color:"inherit",variant:"body2",className:e.caption},a),Z.createElement(L.Select,{classes:{select:e.select,icon:e.selectIcon},input:Z.createElement(L.InputBase,{className:B(e.input,e.selectRoot)}),value:te(n,i,o),onChange:function(e){t.changePage(vt(e.target.value,10))},style:{marginRight:0}},k(s).call(s,(function(t){return Z.createElement(u,{className:e.menuItem,key:t,value:t},t+1)}))))}pe.propTypes={count:U.number.isRequired,page:U.number.isRequired,rowsPerPage:U.number.isRequired,textLabels:U.object.isRequired};var Ae=F.makeStyles((function(t){return{root:{},tableCellContainer:{padding:"0px 24px 0px 24px"},navContainer:{display:"flex",justifyContent:"flex-end"},toolbar:{},selectRoot:{},"@media screen and (max-width: 400px)":{toolbar:{"& span:nth-child(2)":{display:"none"}},selectRoot:{marginRight:"8px"}}}}),{name:"MUIDataTablePagination"});function Ce(t){var e=Ae(),n=t.count,r=t.options,i=t.rowsPerPage,o=t.page,a=r.textLabels.pagination;return Z.createElement(At,null,Z.createElement(tt,null,Z.createElement($,{colSpan:"1000",className:e.tableCellContainer},Z.createElement("div",{className:e.navContainer},r.jumpToPage?Z.createElement(pe,{count:n,page:o,rowsPerPage:i,textLabels:r.textLabels,changePage:t.changePage,changeRowsPerPage:t.changeRowsPerPage}):null,Z.createElement(Ct,{component:"div",className:e.root,classes:{caption:e.caption,toolbar:e.toolbar,selectRoot:e.selectRoot},count:n,rowsPerPage:i,page:te(n,i,o),labelRowsPerPage:a.rowsPerPage,labelDisplayedRows:function(t){var e,n,r,i=t.from,o=t.to,s=t.count;return I(e=I(n=I(r="".concat(i,"-")).call(r,o," ")).call(n,a.displayRows," ")).call(e,s)},backIconButtonProps:{id:"pagination-back","data-testid":"pagination-back","aria-label":a.previous,title:a.previous||""},nextIconButtonProps:{id:"pagination-next","data-testid":"pagination-next","aria-label":a.next,title:a.next||""},SelectProps:{id:"pagination-input",SelectDisplayProps:{id:"pagination-rows","data-testid":"pagination-rows"},MenuProps:{id:"pagination-menu","data-testid":"pagination-menu",MenuListProps:{id:"pagination-menu-list","data-testid":"pagination-menu-list"}}},rowsPerPageOptions:r.rowsPerPageOptions,onChangePage:function(e,n){t.changePage(n)},onChangeRowsPerPage:function(e){t.changeRowsPerPage(e.target.value)}})))))}Ce.propTypes={count:U.number.isRequired,options:U.object.isRequired,page:U.number.isRequired,rowsPerPage:U.number.isRequired,changeRowsPerPage:U.func.isRequired};var ve=F.makeStyles((function(){return{root:{"@media print":{display:"none"}}}}),{name:"MUIDataTableFooter"}),Ie=function(t){var e=t.options,n=t.rowCount,r=t.page,i=t.rowsPerPage,o=t.changeRowsPerPage,a=t.changePage,s=ve(),c=e.customFooter,l=e.pagination,u=void 0===l||l;return c?Z.createElement(pt,{className:s.root},e.customFooter(n,r,i,o,a,e.textLabels.pagination)):u?Z.createElement(pt,{className:s.root},Z.createElement(Ce,{count:n,page:r,rowsPerPage:i,changeRowsPerPage:o,changePage:a,component:"div",options:e})):null};Ie.propTypes={rowCount:U.number.isRequired,options:U.shape({customFooter:U.func,pagination:U.bool,textLabels:U.shape({pagination:U.object})}),page:U.number.isRequired,rowsPerPage:U.number.isRequired,changeRowsPerPage:U.func.isRequired,changePage:U.func.isRequired};var ye=function(t,e,n){var r,i=[],o=t[0]?t[0]:null;null===o&&(o={offsetLeft:1/0},r=wt(t),S(r).call(r,(function(t,e){var n=It(t,2),r=(n[0],n[1]);r&&r.offsetLeft<o.offsetLeft&&(o=r)})),o.offsetLeft===1/0&&(o={offsetParent:0,offsetWidth:0,offsetLeft:0}));for(var a=0,s=0,c=o.offsetParent;c&&(s=s+(c.offsetLeft||0)-(c.scrollLeft||0),c=c.offsetParent,!(1e3<++a)););return t[0]&&(i[0]={left:s+o.offsetLeft,width:o.offsetWidth,columnIndex:null,ref:o}),S(e).call(e,(function(e,r){var a,c=t[e+1],l=i.length-1;n[e]&&"true"!==n[e].display||(a=-1!=l?i[l].left+i[l].width:s+o.offsetLeft,i.push({left:a,width:c.offsetWidth,columnIndex:e,ref:c}))})),i},me=function(t){t.item;var e=t.mon,n=t.index,r=t.headCellRefs,i=t.updateColumnOrder,o=t.columnOrder,a=t.transitionTime,s=void 0===a?300:a,c=t.tableRef,l=t.tableId,u=t.timers,g=t.columns,f=e.getItem().colIndex;if(r===e.getItem().headCellRefs&&f!==n){for(var d=function(t,e,n){var r,i,o,a=J(t).call(t),s=j(a).call(a,e),c=j(a).call(a,n);return-1!==s&&-1!==c&&(o=a[s],a=I(r=[]).call(r,C(J(a).call(a,0,s)),C(J(a).call(a,s+1))),a=I(i=[]).call(i,C(J(a).call(a,0,c)),[o],C(J(a).call(a,c)))),a}(o,e.getItem().colIndex,n),h=ye(r,d,g),p=e.getClientOffset().x,A=-1,v=0;v<h.length;v++)if(p>h[v].left&&p<h[v].left+h[v].width){A=h[v].columnIndex;break}if(A===e.getItem().colIndex){clearTimeout(u.columnShift);var y=ye(r,o,g),m=[];S(h).call(h,(function(t){m[t.columnIndex]=t.left})),S(y).call(y,(function(t){m[t.columnIndex]=m[t.columnIndex]-t.left}));for(var b=1;b<o.length;b++){var x=o[b];g[x]&&"true"!==g[x].display||(r[b]&&(r[b].style.transition="280ms"),r[b]&&(r[b].style.transform="translateX("+m[b-1]+"px)"))}for(var w=[],O=[],_=0;_<o.length;_++){for(var k=c?c.querySelectorAll('[data-colindex="'+_+'"][data-tableid="'+l+'"]'):[],E=0;E<k.length;E++)k[E].style.transition=s+"ms",k[E].style.transform="translateX("+m[_]+"px)",w.push(k[E]);for(var P=c?c.querySelectorAll('[data-divider-index="'+(_+1)+'"][data-tableid="'+l+'"]'):[],M=0;M<P.length;M++)P[M].style.transition=s+"ms",P[M].style.transform="translateX("+m[o[_]]+"px)",O.push(P[M])}var T=e.getItem().colIndex;u.columnShift=yt((function(){S(w).call(w,(function(t){t.style.transition="0s",t.style.transform="translateX(0)"})),S(O).call(O,(function(t){t.style.transition="0s",t.style.transform="translateX(0)"})),i(d,T,n)}),s)}}};function be(t,e){var n,r=l(t);return c&&(n=c(t),e&&(n=A(n).call(n,(function(e){return s(t,e).enumerable}))),r.push.apply(r,n)),r}var xe=F.makeStyles((function(t){return{root:{},fixedHeader:{position:"sticky",top:"0px",zIndex:100,backgroundColor:t.palette.background.paper},tooltip:{cursor:"pointer"},mypopper:{"&[data-x-out-of-boundaries]":{display:"none"}},data:{display:"inline-block"},sortAction:{display:"flex",verticalAlign:"top",cursor:"pointer"},dragCursor:{cursor:"grab"},sortLabelRoot:{height:"10px"},sortActive:{color:t.palette.text.primary},toolButton:{display:"flex",outline:"none",cursor:"pointer"},hintIconAlone:{marginTop:"-3px",marginLeft:"3px"},hintIconWithSortIcon:{marginTop:"-3px"}}}),{name:"MUIDataTableHeadCell"}),we=function(t){function e(){return!!x&&_.draggableColumns&&_.draggableColumns.enabled&&!1!==d.draggable}var n,r,c=t.cellHeaderProps,l=void 0===c?{}:c,u=t.children,f=t.colPosition,d=t.column,h=t.columns,A=t.columnOrder,C=void 0===A?[]:A,v=t.components,I=void 0===v?{}:v,b=t.draggableHeadCellRefs,x=t.draggingHook,w=t.hint,O=t.index,_=t.options,k=t.print,j=t.setCellRef,E=m(t),P=t.sortDirection,M=t.tableRef,T=t.tableId,R=t.timers,D=t.toggleSort,L=t.updateColumnOrder,F=X.useState(!1),z=It(F,2),V=z[0],G=z[1],W=X.useState(!1),Y=It(W,2),H=Y[0],U=Y[1],q=xe(),K=It(x||[],2),Q=K[0],J=K[1],tt=l.className,et=y(l,["className"]),nt=I.Tooltip||bt,rt="none"!==P&&void 0!==P,it="none"!==P&&P,ot=function(t){for(var e=1;e<arguments.length;e++){var n,r,c=null!=arguments[e]?arguments[e]:{};e%2?S(n=be(Object(c),!0)).call(n,(function(e){N(t,e,c[e])})):a?o(t,a(c)):S(r=be(Object(c))).call(r,(function(e){i(t,e,s(c,e))}))}return t}({classes:{root:q.sortLabelRoot},active:rt,hideSortIcon:!0},it?{direction:P}:{}),at=Ot.useDrag({item:{type:"HEADER",colIndex:O,headCellRefs:b},begin:function(){return yt((function(){U(!1),G(!1),J(!0)}),0),null},end:function(){J(!1)},collect:function(t){return{opacity:t.isDragging()?1:0}}}),st=It(at,3),ct=(st[0].opacity,st[1]),lt=(st[2],function(t){var e=Ot.useDrop({accept:"HEADER",drop:i,hover:function(e,n){return me(p({},t,{item:e,mon:n}))},collect:function(t){return{isOver:!!t.isOver(),canDrop:!!t.canDrop()}}}),n=It(e,2),r=n[0],i=(r.isOver,r.canDrop,n[1]);return[i]}({drop:function(){G(!1),U(!1),J(!1)},index:O,headCellRefs:b,updateColumnOrder:L,columnOrder:C,columns:h,transitionTime:_.draggableColumns?_.draggableColumns.transitionTime:300,tableRef:M?M():null,tableId:T||"none",timers:R})),ut=It(lt,1)[0],gt=B((N(n={},q.root,!0),N(n,q.fixedHeader,_.fixedHeader),N(n,"datatables-noprint",!k),N(n,tt,tt),n));return Z.createElement($,g({ref:function(t){ut&&ut(t),j&&j(O+1,f+1,t)},className:gt,scope:"col",sortDirection:it,"data-colindex":O,"data-tableid":T,onMouseDown:function(){G(!1)}},et),m(_)&&E?Z.createElement("span",{role:"button",onKeyUp:function(t){return"Enter"===t.key&&D(O),!1},onClick:function(){D(O)},className:q.toolButton,"data-testid":"headcol-".concat(O),ref:e()?ct:null,tabIndex:0},Z.createElement(nt,{title:!Q&&_.textLabels?_.textLabels.body.columnHeaderTooltip?_.textLabels.body.columnHeaderTooltip(d):_.textLabels.body.toolTip:"",placement:"bottom-start",open:V,onOpen:function(){return G(!Q)},onClose:function(){return G(!1)},classes:{tooltip:q.tooltip,popper:q.mypopper}},Z.createElement("div",{className:q.sortAction},Z.createElement("div",{className:B((N(r={},q.data,!0),N(r,q.sortActive,rt),N(r,q.dragCursor,e()),r))},u),Z.createElement("div",{className:q.sortAction},Z.createElement(xt,ot)))),w&&Z.createElement(nt,{title:w},Z.createElement(mt,{className:rt?q.hintIconWithSortIcon:q.hintIconAlone,fontSize:"small"}))):Z.createElement("div",{className:w?q.sortAction:null,ref:e()?ct:null},u,w&&Z.createElement(nt,{title:w,placement:"bottom-end",open:H,onOpen:function(){return G(!1),void U(!0)},onClose:function(){return U(!1)},classes:{tooltip:q.tooltip,popper:q.mypopper},enterDelay:300},Z.createElement(mt,{className:q.hintIconAlone,fontSize:"small"}))))};we.propTypes={options:U.object.isRequired,sortDirection:U.oneOf(["asc","desc","none"]),toggleSort:U.func.isRequired,sort:U.bool.isRequired,hint:U.string,print:U.bool.isRequired,column:U.object,components:U.object};var Oe=F.makeStyles((function(){return{root:{}}}),{name:"MUIDataTableHeadRow"}),Se=function(t){var e=t.children,n=Oe();return Z.createElement(tt,{className:B(N({},n.root,!0))},e)};function _e(t,e){var n,r=l(t);return c&&(n=c(t),e&&(n=A(n).call(n,(function(e){return s(t,e).enumerable}))),r.push.apply(r,n)),r}function ke(t){for(var e=1;e<arguments.length;e++){var n,r,c=null!=arguments[e]?arguments[e]:{};e%2?S(n=_e(Object(c),!0)).call(n,(function(e){N(t,e,c[e])})):a?o(t,a(c)):S(r=_e(Object(c))).call(r,(function(e){i(t,e,s(c,e))}))}return t}Se.propTypes={children:U.node};var je=F.makeStyles((function(t){return{main:{},responsiveStacked:N({},t.breakpoints.down("sm"),{display:"none"}),responsiveStackedAlways:{display:"none"},responsiveSimple:N({},t.breakpoints.down("xs"),{display:"none"})}}),{name:"MUIDataTableHead"}),Ee=function(t){var e,n=t.columnOrder,r=void 0===n?null:n,i=t.columns,o=t.components,a=void 0===o?{}:o,s=t.count,c=t.data,l=t.draggableHeadCellRefs,u=t.expandedRows,g=t.options,f=t.selectedRows,d=t.selectRowUpdate,p=t.setCellRef,A=t.sortOrder,C=void 0===A?{}:A,v=t.tableRef,I=t.tableId,y=t.timers,b=t.toggleAllExpandableRows,x=t.toggleSort,w=t.updateColumnOrder,O=je();function S(t){x(t)}function _(){d("head",null)}null===r&&(r=i?k(i).call(i,(function(t,e){return e})):[]);var j=X.useState(!1),E=It(j,2),P=E[0],M=E[1],T=f&&f.data.length||0,R=0<T&&T<s,D=0<T&&s<=T;if(!0===g.disableToolbarSelect||"none"===g.selectToolbarPlacement||"above"===g.selectToolbarPlacement)if(D){for(var F=0;F<c.length;F++)if(!f.lookup[c[F].dataIndex]){R=!(D=!1);break}}else s<T&&(R=!0);var z=k(r).call(r,(function(t,e){return{column:i[t],index:t,colPos:e}}));return Z.createElement(L.TableHead,{className:B((N(e={},O.responsiveStacked,"vertical"===g.responsive||"stacked"===g.responsive||"stackedFullWidth"===g.responsive),N(e,O.responsiveStackedAlways,"verticalAlways"===g.responsive),N(e,O.responsiveSimple,"simple"===g.responsive),N(e,O.main,!0),e))},Z.createElement(Se,null,Z.createElement(Kt,{setHeadCellRef:p,onChange:h(_).call(_,null),indeterminate:R,checked:D,isHeaderCell:!0,expandedRows:u,expandableRowsHeader:g.expandableRowsHeader,expandableOn:g.expandableRows,selectableOn:g.selectableRows,fixedHeader:g.fixedHeader,fixedSelectColumn:g.fixedSelectColumn,selectableRowsHeader:g.selectableRowsHeader,selectableRowsHideCheckboxes:g.selectableRowsHideCheckboxes,onExpand:b,isRowSelectable:!0,components:a}),k(z).call(z,(function(t){var e=t.column,n=t.index,o=t.colPos;return"true"===e.display&&(e.customHeadRender?e.customHeadRender(ke({index:n},e),S,C):Z.createElement(we,{cellHeaderProps:i[n].setCellHeaderProps&&i[n].setCellHeaderProps(ke({index:n},e))||{},key:n,index:n,colPosition:o,type:"cell",setCellRef:p,sort:m(e),sortDirection:e.name===C.name?C.direction:"none",toggleSort:S,hint:e.hint,print:e.print,options:g,column:e,columns:i,updateColumnOrder:w,columnOrder:r,timers:y,draggingHook:[P,M],draggableHeadCellRefs:l,tableRef:v,tableId:I,components:a},e.customHeadLabelRender?e.customHeadLabelRender(ke({index:n,colPos:o},e)):e.label))}))))};function Pe(t,e){var n,r=l(t);return c&&(n=c(t),e&&(n=A(n).call(n,(function(e){return s(t,e).enumerable}))),r.push.apply(r,n)),r}function Me(t){for(var e=1;e<arguments.length;e++){var n,r,c=null!=arguments[e]?arguments[e]:{};e%2?S(n=Pe(Object(c),!0)).call(n,(function(e){N(t,e,c[e])})):a?o(t,a(c)):S(r=Pe(Object(c))).call(r,(function(e){i(t,e,s(c,e))}))}return t}function Te(t){var e=function(){if("undefined"==typeof Reflect||!u)return!1;if(u.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(u(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r,i=D(t);return r=e?(n=D(this).constructor,u(i,arguments,n)):i.apply(this,arguments),R(this,r)}}function Re(t){for(var e=0,n=0,r=t.offsetParent;r&&(n=n+(r.offsetLeft||0)-(r.scrollLeft||0),r=r.offsetParent,!(1e3<++e)););return n}var De=function(t){T(n,t);var e=Te(n);function n(){var t,r;E(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,I(t=[this]).call(t,o)),N(M(r),"state",{resizeCoords:{},priorPosition:{},tableWidth:"100%",tableHeight:"100%"}),N(M(r),"handleResize",(function(){window.innerWidth!==r.windowWidth&&(r.windowWidth=window.innerWidth,r.setDividers())})),N(M(r),"setCellRefs",(function(t,e){r.cellsRef=t,r.tableRef=e,r.setDividers()})),N(M(r),"setDividers",(function(){var t=r.tableRef,e=t.getBoundingClientRect(),n=e.width,i=e.height,o=r.state.resizeCoords;for(var a in o)delete o[a];var s=Re(t),c=wt(r.cellsRef);S(c).call(c,(function(t,e){var n,r=It(t,2),i=r[0],a=r[1];a&&(n=((n=a.getBoundingClientRect().left)||0)-s,window.getComputedStyle(a,null),o[i]={left:n+a.offsetWidth})})),r.setState({tableWidth:n,tableHeight:i,resizeCoords:o},r.updateWidths)})),N(M(r),"updateWidths",(function(){var t,e=0,n=r.state,i=n.resizeCoords,o=n.tableWidth;S(t=wt(i)).call(t,(function(t){var n=It(t,2),i=n[0],a=n[1],s=Number((a.left-e)/o*100);"object"===O(r.props.resizableColumns)&&r.props.resizableColumns.roundWidthPercentages&&(s=s.toFixed(2)),e=a.left;var c=r.cellsRef[i];c&&(c.style.width=s+"%")}))})),N(M(r),"onResizeStart",(function(t,e){var n=r.tableRef,i=n.style.width,o=0;n.style.width="1px";var a=wt(r.cellsRef);S(a).call(a,(function(t,e){var n=It(t,2),i=n[0],a=n[1],s=a?a.getBoundingClientRect():{width:0,left:0};r.minWidths[i]=s.width,o=Math.max(i,o)})),n.style.width=i,r.setState({isResize:!0,id:t,lastColumn:o})})),N(M(r),"onResizeMove",(function(t,e){function n(t){for(var e=t+1,n=0;void 0===A[e]&&n<20;)e++,n++;return A[e]}function i(t){for(var e=t-1;void 0===A[e]&&0<=e;)e--;return A[e]}var o,a,s,c,l,u,g,f,d,h=r.state,p=h.isResize,A=h.resizeCoords,C=h.lastColumn,v=r.minWidths[t],I=r.minWidths[function(t){for(var e=t+1,n=0;void 0===A[e]&&n<20;)e++,n++;return e}(vt(t,10))]||r.minWidths[t],y=vt(t,10),m=(wt(r.cellsRef),r.tableRef),b=m.getBoundingClientRect(),x=b.width,w=b.height,O=r.props.options.selectableRows,S=Re(m);p&&(o=e.clientX-S,a=function(t,e,n){return e-n<t?e-n:t},s=function(t,e){return t<e?e:t},c=function(t,e,r,i){return void 0!==n(r)&&t>n(r).left-i?n(r).left-i:t},l=function(t,e,n,r){return void 0!==i(n)&&t<i(n).left+r?i(n).left+r:t},g=function(t){return t===function(t){for(var e=t-1;void 0===A[e]&&0<=e;)e--;return e}(C)},(u=function(t,e){for(var n=1;!A[n]&&n<20;)n++;return"none"!==t&&0===e||"none"===t&&e===n})(O,y)&&g(y)?o=a(o=s(o,v),x,I):!u(O,y)&&g(y)?o=l(o=a(o,x,I),0,y,v):u(O,y)&&!g(y)?o=c(o=s(o,v),0,y,I):u(O,y)||g(y)||(o=c(o=l(o,0,y,v),0,y,I)),f=Me(Me({},A[t]),{},{left:o}),d=Me(Me({},A),{},N({},t,f)),r.setState({resizeCoords:d,tableHeight:w},r.updateWidths))})),N(M(r),"onResizeEnd",(function(t,e){r.setState({isResize:!1,id:null})})),r}return P(n,[{key:"componentDidMount",value:function(){var t=this;this.minWidths=[],this.windowWidth=null,this.props.setResizeable(this.setCellRefs),this.props.updateDividers((function(){return t.setState({updateCoords:!0},(function(){return t.updateWidths}))})),window.addEventListener("resize",this.handleResize,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize,!1)}},{key:"render",value:function(){var t,e=this,n=this.props,r=n.classes,i=n.tableId,o=this.state,a=o.id,s=o.isResize,c=o.resizeCoords,l=o.tableWidth,u=o.tableHeight;return Z.createElement("div",{className:r.root,style:{width:l}},k(t=wt(c)).call(t,(function(t){var n,o,c,g=It(t,2),f=g[0],d=g[1];return Z.createElement("div",{"data-divider-index":f,"data-tableid":i,"aria-hidden":"true",key:f,onMouseMove:h(n=e.onResizeMove).call(n,null,f),onMouseUp:h(o=e.onResizeEnd).call(o,null,f),style:{width:s&&a==f?l:"auto",position:"absolute",height:u-2,cursor:"ew-resize",zIndex:1e3}},Z.createElement("div",{"aria-hidden":"true",onMouseDown:h(c=e.onResizeStart).call(c,null,f),className:r.resizer,style:{left:d.left}}))})))}}]),n}(Z.Component);N(De,"propTypes",{classes:U.object});var Ne=F.withStyles({root:{position:"absolute"},resizer:{position:"absolute",width:"1px",height:"100%",left:"100px",cursor:"ew-resize",border:"0.1px solid rgba(224, 224, 224, 1)"}},{name:"MUIDataTableResize"})(De),Le=function(t){t.className;var e=t.trigger,n=t.refExit,r=t.hide,i=t.content,o=y(t,["className","trigger","refExit","hide","content"]),a=X.useState(!1),s=It(a,2),c=s[0],l=s[1],u=X.useRef(null);function f(){l(!1)}X.useEffect((function(){c&&"boolean"==typeof r&&r&&l(!1)}),[r,c,l]);var d=o.classes.closeIcon;delete o.classes.closeIcon;var h={key:"content",onClick:function(t){var n;e.props.onClick&&e.props.onClick(),n=t,u.current=n.currentTarget,l(!0)}};return Z.createElement(Z.Fragment,null,Z.createElement("span",h,e),Z.createElement(kt,g({elevation:2,open:c,onClose:f,onExited:function(){n&&n()},anchorEl:u.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},o),Z.createElement(_t,{"aria-label":"Close",onClick:f,className:d,style:{position:"absolute",right:"4px",top:"4px",zIndex:"1000"}},Z.createElement(jt,null)),i))};Le.propTypes={refExit:U.func,trigger:U.node.isRequired,content:U.node.isRequired,hide:U.bool};var Fe=F.makeStyles((function(t){return{root:{padding:"16px 24px 16px 24px",fontFamily:"Roboto"},title:{marginLeft:"-7px",marginRight:"24px",fontSize:"14px",color:t.palette.text.secondary,textAlign:"left",fontWeight:500},formGroup:{marginTop:"8px"},formControl:{},checkbox:{padding:"0px",width:"32px",height:"32px"},checkboxRoot:{},checked:{},label:{fontSize:"15px",marginLeft:"8px",color:t.palette.text.primary}}}),{name:"MUIDataTableViewCol"}),Be=function(t){var e=t.columns,n=t.options,r=t.components,i=void 0===r?{}:r,o=t.onColumnUpdate,a=(t.updateColumns,Fe()),s=n.textLabels.viewColumns,c=i.Checkbox||ot;return Z.createElement(at,{component:"fieldset",className:a.root,"aria-label":s.titleAria},Z.createElement(K,{variant:"caption",className:a.title},s.title),Z.createElement(ct,{className:a.formGroup},k(e).call(e,(function(t,e){return"excluded"!==t.display&&!1!==t.viewColumns&&Z.createElement(st,{key:e,classes:{root:a.formControl,label:a.label},control:Z.createElement(c,{color:"primary","data-description":"table-view-col",className:a.checkbox,classes:{root:a.checkboxRoot,checked:a.checked},onChange:function(){o(e)},checked:"true"===t.display,value:t.name}),label:t.label})}))))};Be.propTypes={columns:U.array.isRequired,options:U.object.isRequired,onColumnUpdate:U.func,classes:U.object};var ze=F.makeStyles((function(t){return{main:{display:"flex",flex:"1 0 auto"},searchIcon:{color:t.palette.text.secondary,marginTop:"10px",marginRight:"8px"},searchText:{flex:"0.8 0"},clearIcon:{"&:hover":{color:t.palette.error.main}}}}),{name:"MUIDataTableSearch"}),Ve=function(t){var e=t.options,n=t.searchText,r=t.onSearch,i=t.onHide,o=ze();return Z.createElement(Et,{appear:!0,in:!0,timeout:300},Z.createElement("div",{className:o.main},Z.createElement(Mt,{className:o.searchIcon}),Z.createElement(Pt,g({className:o.searchText,autoFocus:!0,InputProps:{"data-test-id":e.textLabels.toolbar.search},inputProps:{"aria-label":e.textLabels.toolbar.search},value:n||"",onKeyDown:function(t){"Escape"===t.key&&i()},onChange:function(t){r(t.target.value)},fullWidth:!0,placeholder:e.searchPlaceholder},e.searchProps?e.searchProps:{})),Z.createElement(_t,{className:o.clearIcon,onClick:i},Z.createElement(Tt,null))))};function Ge(t){var e=function(){if("undefined"==typeof Reflect||!u)return!1;if(u.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(u(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r,i=D(t);return r=e?(n=D(this).constructor,u(i,arguments,n)):i.apply(this,arguments),R(this,r)}}var We="scrollFullHeightFullWidth",Ye=function(t){T(n,t);var e=Ge(n);function n(){var t,r;E(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,I(t=[this]).call(t,o)),N(M(r),"state",{iconActive:null,showSearch:Boolean(r.props.searchText||r.props.options.searchText||r.props.options.searchOpen),searchText:r.props.searchText||null}),N(M(r),"handleCSVDownload",(function(){var t,e=r.props,n=e.data,i=e.displayData,o=e.columns,a=e.options,s=e.columnOrder,c=[],l=[],u=w(s)?J(s).call(s,0):[];0===u.length&&(u=k(o).call(o,(function(t,e){return e}))),S(n).call(n,(function(t){var e={index:t.index,data:[]};S(u).call(u,(function(n){e.data.push(t.data[n])})),c.push(e)})),S(u).call(u,(function(t){l.push(o[t])})),a.downloadOptions&&a.downloadOptions.filterOptions&&(a.downloadOptions.filterOptions.useDisplayedRowsOnly&&(t=k(i).call(i,(function(t,e){var r,i=-1;return t.index=e,{data:k(r=t.data).call(r,(function(e){i+=1;var r="object"!==O(e)||null===e||w(e)?e:G(n,(function(e){return e.index===t.dataIndex})).data[i];return"function"==typeof r?G(n,(function(e){return e.index===t.dataIndex})).data[i]:r}))}})),c=[],S(t).call(t,(function(t){var e={index:t.index,data:[]};S(u).call(u,(function(n){e.data.push(t.data[n])})),c.push(e)}))),a.downloadOptions.filterOptions.useDisplayedColumnsOnly&&(l=A(l).call(l,(function(t){return"true"===t.display})),c=k(c).call(c,(function(t){var e;return t.data=A(e=t.data).call(e,(function(t,e){return"true"===o[u[e]].display})),t})))),ie(l,c,a,re)})),N(M(r),"setActiveIcon",(function(t){r.setState((function(e){return{showSearch:r.isSearchShown(t),iconActive:t,prevIconActive:e.iconActive}}),(function(){var t=r.state,e=t.iconActive,n=t.prevIconActive;"filter"===e&&(r.props.setTableAction("onFilterDialogOpen"),r.props.options.onFilterDialogOpen&&r.props.options.onFilterDialogOpen()),void 0===e&&"filter"===n&&(r.props.setTableAction("onFilterDialogClose"),r.props.options.onFilterDialogClose&&r.props.options.onFilterDialogClose())}))})),N(M(r),"isSearchShown",(function(t){var e,n=!1;return r.state.showSearch?n=!!r.state.searchText||(e=r.props.options.onSearchClose,r.props.setTableAction("onSearchClose"),e&&e(),!1):"search"===t&&(n=r.showSearch()),n})),N(M(r),"getActiveIcon",(function(t,e){var n,i,o,a=r.state.iconActive===e;return"search"===e&&(i=(n=r.state).showSearch,o=n.searchText,a=a||i||o),a?t.iconActive:t.icon})),N(M(r),"showSearch",(function(){return r.props.setTableAction("onSearchOpen"),r.props.options.onSearchOpen&&r.props.options.onSearchOpen(),!0})),N(M(r),"hideSearch",(function(){var t=r.props.options.onSearchClose;r.props.setTableAction("onSearchClose"),t&&t(),r.props.searchClose(),r.setState((function(){return{iconActive:null,showSearch:!1,searchText:null}}))})),N(M(r),"handleSearch",(function(t){r.setState({searchText:t}),r.props.searchTextUpdate(t)})),N(M(r),"handleSearchIconClick",(function(){var t=r.state,e=t.showSearch,n=t.searchText;e&&!n?r.hideSearch():r.setActiveIcon("search")})),r}return P(n,[{key:"componentDidUpdate",value:function(t){this.props.searchText!==t.searchText&&this.setState({searchText:this.props.searchText})}},{key:"render",value:function(){var t,e,n,r=this,i=this.props,o=i.data,a=i.options,s=i.classes,c=i.columns,l=i.filterData,u=i.filterList,g=i.filterUpdate,f=i.resetFilters,d=i.toggleViewColumn,p=i.updateColumns,C=i.title,v=i.components,I=void 0===v?{}:v,y=i.updateFilterByType,m=I.Tooltip||bt,b=I.TableViewCol||Be,x=I.TableFilter||ue,w=a.textLabels.toolbar,O=w.search,S=w.downloadCsv,_=w.print,k=w.viewColumns,j=w.filterTable,E=this.state,P=E.showSearch,M=E.searchText;return Z.createElement(St,{className:a.responsive!==We?s.root:s.fullWidthRoot,role:"toolbar","aria-label":"Table Toolbar"},Z.createElement("div",{className:a.responsive!==We?s.left:s.fullWidthLeft},!0===P?a.customSearchRender?a.customSearchRender(M,this.handleSearch,this.hideSearch,a):Z.createElement(Ve,{searchText:M,onSearch:this.handleSearch,onHide:this.hideSearch,options:a}):"string"!=typeof C?C:Z.createElement("div",{className:s.titleRoot,"aria-hidden":"true"},Z.createElement(K,{variant:"h6",className:a.responsive!==We?s.titleText:s.fullWidthTitleText},C))),Z.createElement("div",{className:a.responsive!==We?s.actions:s.fullWidthActions},!(!1===a.search||"false"===a.search)&&Z.createElement(m,{title:O,disableFocusListener:!0},Z.createElement(_t,{"aria-label":O,"data-testid":O+"-iconButton",buttonRef:function(t){return r.searchButton=t},classes:{root:this.getActiveIcon(s,"search")},disabled:"disabled"===a.search,onClick:this.handleSearchIconClick},Z.createElement(Mt,null))),!(!1===a.download||"false"===a.download)&&Z.createElement(m,{title:S},Z.createElement(_t,{"data-testid":S+"-iconButton","aria-label":S,classes:{root:s.icon},disabled:"disabled"===a.download,onClick:this.handleCSVDownload},Z.createElement(Rt,null))),!(!1===a.print||"false"===a.print)&&Z.createElement("span",null,Z.createElement(Bt,{content:function(){return r.props.tableRef()}},Z.createElement(Ft.PrintContextConsumer,null,(function(t){var e=t.handlePrint;return Z.createElement("span",null,Z.createElement(m,{title:_},Z.createElement(_t,{"data-testid":_+"-iconButton","aria-label":_,disabled:"disabled"===a.print,onClick:e,classes:{root:s.icon}},Z.createElement(Dt,null))))})))),!(!1===a.viewColumns||"false"===a.viewColumns)&&Z.createElement(Le,{refExit:h(t=this.setActiveIcon).call(t,null),classes:{closeIcon:s.filterCloseIcon},hide:"disabled"===a.viewColumns,trigger:Z.createElement(m,{title:k,disableFocusListener:!0},Z.createElement(_t,{"data-testid":k+"-iconButton","aria-label":k,classes:{root:this.getActiveIcon(s,"viewcolumns")},disabled:"disabled"===a.viewColumns,onClick:h(e=this.setActiveIcon).call(e,null,"viewcolumns")},Z.createElement(Nt,null))),content:Z.createElement(b,{data:o,columns:c,options:a,onColumnUpdate:d,updateColumns:p,components:I})}),!(!1===A(a)||"false"===A(a))&&Z.createElement(Le,{refExit:function(){r.setState({hideFilterPopover:!1}),r.setActiveIcon()},hide:this.state.hideFilterPopover||"disabled"===A(a),classes:{paper:s.filterPaper,closeIcon:s.filterCloseIcon},trigger:Z.createElement(m,{title:j,disableFocusListener:!0},Z.createElement(_t,{"data-testid":j+"-iconButton","aria-label":j,classes:{root:this.getActiveIcon(s,"filter")},disabled:"disabled"===A(a),onClick:h(n=this.setActiveIcon).call(n,null,"filter")},Z.createElement(Lt,null))),content:Z.createElement(x,{customFooter:a.customFilterDialogFooter,columns:c,options:a,filterList:u,filterData:l,onFilterUpdate:g,onFilterReset:f,handleClose:function(){r.setState({hideFilterPopover:!0})},updateFilterByType:y,components:I})}),a.customToolbar&&a.customToolbar({displayData:this.props.displayData})))}}]),n}(Z.Component),He=F.withStyles((function(t){var e={root:{"@media print":{display:"none"}},fullWidthRoot:{},left:{flex:"1 1 auto"},fullWidthLeft:{flex:"1 1 auto"},actions:{flex:"1 1 auto",textAlign:"right"},fullWidthActions:{flex:"1 1 auto",textAlign:"right"},titleRoot:{},titleText:{},fullWidthTitleText:{textAlign:"left"},icon:{"&:hover":{color:t.palette.primary.main}},iconActive:{color:t.palette.primary.main},filterPaper:{maxWidth:"50%"},filterCloseIcon:{position:"absolute",right:0,top:0,zIndex:100},searchIcon:{display:"inline-flex",marginTop:"10px",marginRight:"8px"}};return N(e,t.breakpoints.down("sm"),{titleRoot:{},titleText:{fontSize:"16px"},spacer:{display:"none"},left:{padding:"8px 0px"},actions:{textAlign:"right"}}),N(e,t.breakpoints.down("xs"),{root:{display:"block","@media print":{display:"none !important"}},left:{padding:"8px 0px 0px 0px"},titleText:{textAlign:"center"},actions:{textAlign:"center"}}),N(e,"@media screen and (max-width: 480px)",{}),e}),{name:"MUIDataTableToolbar"})(Ye);function Ue(t){var e=function(){if("undefined"==typeof Reflect||!u)return!1;if(u.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(u(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r,i=D(t);return r=e?(n=D(this).constructor,u(i,arguments,n)):i.apply(this,arguments),R(this,r)}}var Xe=function(t){T(n,t);var e=Ue(n);function n(){var t,r;E(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,I(t=[this]).call(t,o)),N(M(r),"handleCustomSelectedRows",(function(t){if(!w(t))throw new TypeError('"selectedRows" must be an "array", but it\'s "'.concat(O(t),'"'));if(d(t).call(t,(function(t){return"number"!=typeof t})))throw new TypeError('Array "selectedRows" must contain only numbers');var e=r.props.options;if(1<t.length&&"single"===e.selectableRows)throw new Error('Can not select more than one row when "selectableRows" is "single"');r.props.selectRowUpdate("custom",t)})),r}return P(n,[{key:"render",value:function(){var t=this.props,e=t.classes,n=t.onRowsDelete,r=t.selectedRows,i=t.options,o=t.displayData,a=t.components,s=void 0===a?{}:a,c=i.textLabels.selectedRows,l=s.Tooltip||bt;return Z.createElement(zt,{className:e.root},Z.createElement("div",null,Z.createElement(K,{variant:"subtitle1",className:e.title},r.data.length," ",c.text)),i.customToolbarSelect?i.customToolbarSelect(r,o,this.handleCustomSelectedRows):Z.createElement(l,{title:c.delete},Z.createElement(_t,{className:e.iconButton,onClick:n,"aria-label":c.deleteAria},Z.createElement(Vt,{className:e.deleteIcon}))))}}]),n}(Z.Component);N(Xe,"propTypes",{options:U.object.isRequired,rowSelected:U.bool,onRowsDelete:U.func,classes:U.object});var Ze=F.withStyles((function(t){return{root:{backgroundColor:t.palette.background.default,flex:"1 1 100%",display:"flex",position:"relative",zIndex:120,justifyContent:"space-between",alignItems:"center",paddingTop:"function"==typeof t.spacing?t.spacing(1):t.spacing.unit,paddingBottom:"function"==typeof t.spacing?t.spacing(1):t.spacing.unit,"@media print":{display:"none"}},title:{paddingLeft:"26px"},iconButton:{marginRight:"24px"},deleteIcon:{}}}),{name:"MUIDataTableToolbarSelect"})(Xe);function qe(t,e){var n,r=l(t);return c&&(n=c(t),e&&(n=A(n).call(n,(function(e){return s(t,e).enumerable}))),r.push.apply(r,n)),r}function Ke(t){for(var e=1;e<arguments.length;e++){var n,r,c=null!=arguments[e]?arguments[e]:{};e%2?S(n=qe(Object(c),!0)).call(n,(function(e){N(t,e,c[e])})):a?o(t,a(c)):S(r=qe(Object(c))).call(r,(function(e){i(t,e,s(c,e))}))}return t}function Qe(t){var e=function(){if("undefined"==typeof Reflect||!u)return!1;if(u.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(u(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r,i=D(t);return r=e?(n=D(this).constructor,u(i,arguments,n)):i.apply(this,arguments),R(this,r)}}var Je=1,$e=2,tn=["title","filter","search","print","download","viewColumns","customToolbar"],en={REPLACE:"replace",ABOVE:"above",NONE:"none"},nn=function(t){T(n,t);var e=Qe(n);function n(t){var r,i;return E(this,n),i=e.call(this,t),N(M(i),"getDefaultOptions",(function(){return{caseSensitive:!1,consoleWarnings:!0,disableToolbarSelect:!1,download:!0,downloadOptions:{filename:"tableDownload.csv",separator:","},draggableColumns:{enabled:!1,transitionTime:300},elevation:4,enableNestedDataAccess:"",expandableRows:!1,expandableRowsHeader:!0,expandableRowsOnClick:!1,filter:!0,filterArrayFullMatch:!0,filterType:"dropdown",fixedHeader:!0,fixedSelectColumn:!0,pagination:!0,print:!0,resizableColumns:!1,responsive:"vertical",rowHover:!0,rowsPerPageOptions:[10,15,100],search:!0,selectableRows:"multiple",selectableRowsHideCheckboxes:!1,selectableRowsOnClick:!1,selectableRowsHeader:!0,serverSide:!1,serverSideFilterList:null,setTableProps:function(){return{}},sort:!0,sortFilterList:!0,tableBodyHeight:"auto",tableBodyMaxHeight:null,sortOrder:{},textLabels:{body:{noMatch:"Sorry, no matching records found",toolTip:"Sort"},pagination:{next:"Next Page",previous:"Previous Page",rowsPerPage:"Rows per page:",displayRows:"of",jumpToPage:"Jump to Page:"},toolbar:{search:"Search",downloadCsv:"Download CSV",print:"Print",viewColumns:"View Columns",filterTable:"Filter Table"},filter:{all:"All",title:"FILTERS",reset:"RESET"},viewColumns:{title:"Show Columns",titleAria:"Show/Hide Table Columns"},selectedRows:{text:"row(s) selected",delete:"Delete",deleteAria:"Delete Selected Rows"}},viewColumns:!0,selectToolbarPlacement:en.REPLACE}})),N(M(i),"warnDep",(function(t,e){!function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n="function"==typeof e?e:console.warn;e&&n("Deprecation Notice: ".concat(t))}(t,i.options.consoleWarnings)})),N(M(i),"warnInfo",(function(t,e){$t(t,i.options.consoleWarnings)})),N(M(i),"handleOptionDeprecation",(function(t){var e,n,r,o;"boolean"==typeof i.options.selectableRows&&(i.warnDep("Using a boolean for selectableRows has been deprecated. Please use string option: multiple | single | none"),i.options.selectableRows=i.options.selectableRows?"multiple":"none"),-1===j(e=["standard","vertical","verticalAlways","simple"]).call(e,i.options.responsive)&&(-1!==j(r=["scrollMaxHeight","scrollFullHeight","stacked","stackedFullWidth","scrollFullHeightFullWidth","scroll"]).call(r,i.options.responsive)?i.warnDep(i.options.responsive+" has been deprecated, but will still work in version 3.x. Please use string option: standard | vertical | simple. More info: https://github.com/gregnb/mui-datatables/tree/master/docs/v2_to_v3_guide.md"):i.warnInfo(i.options.responsive+" is not recognized as a valid input for responsive option. Please use string option: standard | vertical | simple. More info: https://github.com/gregnb/mui-datatables/tree/master/docs/v2_to_v3_guide.md")),i.options.onRowsSelect&&i.warnDep("onRowsSelect has been renamed onRowSelectionChange. More info: https://github.com/gregnb/mui-datatables/tree/master/docs/v2_to_v3_guide.md"),i.options.onRowsExpand&&i.warnDep("onRowsExpand has been renamed onRowExpansionChange. More info: https://github.com/gregnb/mui-datatables/tree/master/docs/v2_to_v3_guide.md"),i.options.fixedHeaderOptions&&(void 0!==i.options.fixedHeaderOptions.yAxis&&void 0===i.options.fixedHeader&&(i.options.fixedHeader=i.options.fixedHeaderOptions.yAxis),void 0!==i.options.fixedHeaderOptions.xAxis&&void 0===i.options.fixedSelectColumn&&(i.options.fixedSelectColumn=i.options.fixedHeaderOptions.xAxis),i.warnDep("fixedHeaderOptions will still work but has been deprecated in favor of fixedHeader and fixedSelectColumn. More info: https://github.com/gregnb/mui-datatables/tree/master/docs/v2_to_v3_guide.md")),i.options.serverSideFilterList&&i.warnDep("serverSideFilterList will still work but has been deprecated in favor of the confirmFilters option. See this example for details: https://github.com/gregnb/mui-datatables/blob/master/examples/serverside-filters/index.js More info here: https://github.com/gregnb/mui-datatables/tree/master/docs/v2_to_v3_guide.md"),k(n=t.columns).call(n,(function(t){t.options&&t.options.customFilterListRender&&i.warnDep("The customFilterListRender option has been deprecated. It is being replaced by customFilterListOptions.render (Specify customFilterListOptions: { render: Function } in column options.)")})),!0===i.options.disableToolbarSelect&&i.warnDep('disableToolbarSelect has been deprecated but will still work in version 3.x. It is being replaced by "selectToolbarPlacement"="none". More info: https://github.com/gregnb/mui-datatables/tree/master/docs/v2_to_v3_guide.md'),_&&-1===j(o=_(en)).call(o,i.options.selectToolbarPlacement)&&i.warnDep("Invalid option value for selectToolbarPlacement. Please check the documentation: https://github.com/gregnb/mui-datatables#options")})),N(M(i),"setTableAction",(function(t){"function"==typeof i.options.onTableChange&&i.options.onTableChange(t,i.state)})),N(M(i),"setTableInit",(function(t){"function"==typeof i.options.onTableInit&&i.options.onTableInit(t,i.state)})),N(M(i),"setHeadCellRef",(function(t,e,n){i.draggableHeadCellRefs[t]=n,i.resizeHeadCellRefs[e]=n})),N(M(i),"getTableContentRef",(function(){return i.tableContent.current})),N(M(i),"buildColumns",(function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],n=2<arguments.length?arguments[2]:void 0,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:[],o=[],a=[],s=[],c=[];return S(t).call(t,(function(t,n){var r={display:"true",empty:!1,filter:!0,sort:!0,print:!0,searchable:!0,download:!0,viewColumns:!0,sortCompare:null,sortThirdClickReset:!1,sortDescFirst:!1};c.push(n);var l=Ke({},t.options);r="object"===O(t)?(l&&(void 0!==l.display&&(l.display=l.display.toString()),null!==l.sortDirection&&!l.sortDirection||i.warnDep("The sortDirection column field has been deprecated. Please use the sortOrder option on the options object. More info: https://github.com/gregnb/mui-datatables/tree/master/docs/v2_to_v3_guide.md")),void 0===l.display&&e[n]&&e[n].name===t.name&&e[n].display&&(l.display=e[n].display),Ke(Ke({name:t.name,label:t.label?t.label:t.name},r),l)):(e[n]&&e[n].display&&(l.display=e[n].display),Ke(Ke(Ke({},r),l),{},{name:t,label:t}));o.push(r),a[n]=[],s[n]=[]})),w(n)?c=n:w(r)&&w(t)&&w(e)&&t.length===e.length&&(c=r),{columns:o,filterData:a,filterList:s,columnOrder:c}})),N(M(i),"transformData",(function(t,e){var n=i.options.enableNestedDataAccess;return w(e[0])?k(e).call(e,(function(e){var n=-1;return k(t).call(t,(function(t){return t.empty||n++,t.empty?void 0:e[n]}))})):k(e).call(e,(function(e){return k(t).call(t,(function(t){return r=e,i=t.name,x(o=n?i.split(n):i.split()).call(o,(function(t,e){return t?t[e]:void 0}),r);var r,i,o}))}))})),N(M(i),"hasSearchText",(function(t,e,n){var r=t.toString(),i=e.toString();return n||(i=i.toLowerCase(),r=r.toLowerCase()),0<=j(r).call(r,i)})),N(M(i),"updateDataCol",(function(t,e,n){i.setState((function(r){var o,a,s,c,l=V(r.data),u=V(r.filterData),g=i.getTableMeta(t,e,t,r.columns[e],r.data,r,r.data),f=r.columns[e].customBodyRender(n,g),d=Z.isValidElement(f)&&f.props.value?f.props.value:r.data[t][e],h=j(o=u[e]).call(o,d);return b(a=u[e]).call(a,h,1,d),l[t].data[e]=n,i.options.sortFilterList&&(c=ee(),m(s=u[e]).call(s,c)),{data:l,filterData:u,displayData:i.getDisplayData(r.columns,l,r.filterList,r.searchText,null,i.props)}}))})),N(M(i),"getTableMeta",(function(t,e,n,r,i,o,a){return o.columns,o.data,o.displayData,o.filterData,{rowIndex:t,columnIndex:e,columnData:r,rowData:n,tableData:i,tableState:y(o,["columns","data","displayData","filterData"]),currentTableData:a}})),N(M(i),"toggleViewColumn",(function(t){i.setState((function(e){var n=V(e.columns);return n[t].display="true"===n[t].display?"false":"true",{columns:n}}),(function(){i.setTableAction("viewColumnsChange");var e=i.options.onViewColumnsChange||i.options.onColumnViewChange;e&&e(i.state.columns[t].name,"true"===i.state.columns[t].display?"add":"remove")}))})),N(M(i),"updateColumns",(function(t){i.setState((function(e){return{columns:t}}),(function(){i.setTableAction("viewColumnsChange");var e=i.options.onViewColumnsChange||i.options.onColumnViewChange;e&&e(null,"update",t)}))})),N(M(i),"toggleSortColumn",(function(t){i.setState((function(e){var n,r,o=V(e.columns),a=e.data,s=o[t].sortDescFirst?"desc":"asc",c=["asc","desc"];o[t].sortDescFirst&&(c=["desc","asc"]),o[t].sortThirdClickReset&&c.push("none"),o[t].name!==i.state.sortOrder.name||-1!==(r=j(c).call(c,i.state.sortOrder.direction))&&(++r>=c.length&&(r=0),s=c[r]);var l,u={name:o[t].name,direction:s},g=i.getSortDirectionLabel(u),f={columns:o,announceText:I(n="Table now sorted by ".concat(o[t].name," : ")).call(n,g),activeColumn:t};return i.options.serverSide?Ke(Ke({},f),{},{data:e.data,displayData:e.displayData,selectedRows:e.selectedRows,sortOrder:u}):(l=i.sortTable(a,t,s,o[t].sortCompare),Ke(Ke({},f),{},{data:l.data,displayData:i.getDisplayData(o,l.data,e.filterList,e.searchText,null,i.props),selectedRows:l.selectedRows,sortOrder:u,previousSelectedRow:null}))}),(function(){i.setTableAction("sort"),i.options.onColumnSortChange&&i.options.onColumnSortChange(i.state.sortOrder.name,i.state.sortOrder.direction)}))})),N(M(i),"changeRowsPerPage",(function(t){var e=i.options.count||i.state.displayData.length;i.setState((function(){return{rowsPerPage:t,page:te(e,t,i.state.page)}}),(function(){i.setTableAction("changeRowsPerPage"),i.options.onChangeRowsPerPage&&i.options.onChangeRowsPerPage(i.state.rowsPerPage)}))})),N(M(i),"changePage",(function(t){i.setState((function(){return{page:t}}),(function(){i.setTableAction("changePage"),i.options.onChangePage&&i.options.onChangePage(i.state.page)}))})),N(M(i),"searchClose",(function(){i.setState((function(t){return{searchText:null,displayData:i.options.serverSide?t.displayData:i.getDisplayData(t.columns,t.data,t.filterList,null,null,i.props)}}),(function(){i.setTableAction("search"),i.options.onSearchChange&&i.options.onSearchChange(i.state.searchText)}))})),N(M(i),"searchTextUpdate",(function(t){i.setState((function(e){return{searchText:t&&t.length?t:null,page:0,displayData:i.options.serverSide?e.displayData:i.getDisplayData(e.columns,e.data,e.filterList,t,null,i.props)}}),(function(){i.setTableAction("search"),i.options.onSearchChange&&i.options.onSearchChange(i.state.searchText)}))})),N(M(i),"resetFilters",(function(){i.setState((function(t){var e,n=k(e=t.columns).call(e,(function(){return[]}));return{filterList:n,displayData:i.options.serverSide?t.displayData:i.getDisplayData(t.columns,t.data,n,t.searchText,null,i.props)}}),(function(){i.setTableAction("resetFilters"),i.options.onFilterChange&&i.options.onFilterChange(null,i.state.filterList,"reset",null)}))})),N(M(i),"updateFilterByType",(function(t,e,n,r,i){var o,a,s,c=v(o=t[e]).call(o,(function(t){return W(t,n)}));switch(r){case"checkbox":0<=c?b(a=t[e]).call(a,c,1):t[e].push(n);break;case"chip":0<=c?b(s=t[e]).call(s,c,1):t[e].push(n);break;case"multiselect":t[e]=""===n?[]:n;break;case"dropdown":t[e]=n;break;case"custom":i?t=i(t,c,e):t[e]=n;break;default:t[e]=0<=c||""===n?[]:[n]}})),N(M(i),"filterUpdate",(function(t,e,n,r,o,a){i.setState((function(n){var a=V(n.filterList);return i.updateFilterByType(a,t,e,r,o),{page:0,filterList:a,displayData:i.options.serverSide?n.displayData:i.getDisplayData(n.columns,n.data,a,n.searchText,null,i.props),previousSelectedRow:null}}),(function(){i.setTableAction("filterChange"),i.options.onFilterChange&&i.options.onFilterChange(n,i.state.filterList,r,t,i.state.displayData),a&&a(i.state.filterList)}))})),N(M(i),"toggleAllExpandableRows",(function(){var t=C(i.state.expandedRows.data),e=i.options.isRowExpandable,n=[];if(0<t.length)for(var r=t.length-1;0<=r;r--){var o=t[r];(!e||e&&e(o.dataIndex,i.state.expandedRows))&&n.push(b(t).call(t,r,1))}else for(var a=0;a<i.state.data.length;a++){var s,c=i.state.data[a];(!e||e&&e(c.dataIndex,i.state.expandedRows))&&!0!==i.state.expandedRows.lookup[c.index]&&(s={index:a,dataIndex:c.index},t.push(s),n.push(s))}i.setState({expandedRows:{lookup:Qt(t),data:t}},(function(){var t;i.setTableAction("expandRow"),i.options.onRowExpansionChange&&i.options.onRowExpansionChange(n,i.state.expandedRows.data,k(t=i.state.expandedRows.data).call(t,(function(t){return t.dataIndex})))}))})),N(M(i),"areAllRowsExpanded",(function(){return i.state.expandedRows.data.length===i.state.data.length})),N(M(i),"updateColumnOrder",(function(t,e,n){i.setState((function(e){return{columnOrder:t}}),(function(){i.setTableAction("columnOrderChange"),i.options.onColumnOrderChange&&i.options.onColumnOrderChange(i.state.columnOrder,e,n)}))})),N(M(i),"selectRowDelete",(function(){var t=i.state,e=t.selectedRows,n=t.data,r=t.filterList,o=Qt(e.data),a=A(n).call(n,(function(t){var e=t.index;return!o[e]}));i.options.onRowsDelete&&!1===i.options.onRowsDelete(e,k(a).call(a,(function(t){return t.data})))||i.setTableData({columns:i.props.columns,data:a,options:{filterList:r}},$e,!0,(function(){i.setTableAction("rowDelete")}))})),N(M(i),"toggleExpandRow",(function(t){for(var e=t.dataIndex,n=i.options.isRowExpandable,r=i.state.expandedRows,o=C(r.data),a=!1,s=!1,c=[],l=0;l<o.length;l++)if(o[l].dataIndex===e){a=!0;break}a?(n&&n(e,r)||!n)&&(c=b(o).call(o,l,1),s=!0):(n&&n(e,r)||!n)&&o.push(t),i.setState({curExpandedRows:s?c:[t],expandedRows:{lookup:Qt(o),data:o}},(function(){i.setTableAction("rowExpansionChange"),(i.options.onRowExpansionChange||i.options.onRowsExpand)&&(i.options.onRowExpansionChange||i.options.onRowsExpand)(i.state.curExpandedRows,i.state.expandedRows.data)}))})),N(M(i),"selectRowUpdate",(function(t,e){var n,r,o,a,s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],c=i.options.selectableRows;"none"!==c&&("head"===t?(n=i.options.isRowSelectable,i.setState((function(t){var e,r=t.displayData,o=t.selectedRows,a=t.selectedRows.data.length,s=a===r.length||a<r.length&&0<a,c=x(r).call(r,(function(t,e,i){return(!n||n(r[i].dataIndex,o))&&t.push({index:i,dataIndex:r[i].dataIndex}),t}),[]),l=C(c),u=Qt(l);if(i.options.selectToolbarPlacement===en.NONE)if(a>r.length)s=!0;else for(var g=0;g<r.length;g++)u[r[g].dataIndex]||(s=!0);return s&&(u=Qt(l=A(e=t.selectedRows.data).call(e,(function(t){var e=t.dataIndex;return!u[e]})))),{curSelectedRows:l,selectedRows:{data:l,lookup:u},previousSelectedRow:null}}),(function(){var t,e;i.setTableAction("rowSelectionChange"),i.options.onRowSelectionChange?i.options.onRowSelectionChange(i.state.curSelectedRows,i.state.selectedRows.data,k(t=i.state.selectedRows.data).call(t,(function(t){return t.dataIndex}))):i.options.onRowsSelect&&i.options.onRowsSelect(i.state.curSelectedRows,i.state.selectedRows.data,k(e=i.state.selectedRows.data).call(e,(function(t){return t.dataIndex})))}))):"cell"===t?i.setState((function(t){for(var n,r=e.dataIndex,i=C(t.selectedRows.data),o=-1,a=0;a<i.length;a++)if(i[a].dataIndex===r){o=a;break}if(0<=o){if(b(i).call(i,o,1),0<s.length)for(var l=Qt(s),u=i.length-1;0<=u;u--)l[i[u].dataIndex]&&b(i).call(i,u,1)}else"single"===c?i=[e]:(i.push(e),0<s.length&&(n=Qt(i),S(s).call(s,(function(t){n[t.dataIndex]||i.push(t)}))));return{selectedRows:{lookup:Qt(i),data:i},previousSelectedRow:e}}),(function(){var t,n;i.setTableAction("rowSelectionChange"),i.options.onRowSelectionChange?i.options.onRowSelectionChange([e],i.state.selectedRows.data,k(t=i.state.selectedRows.data).call(t,(function(t){return t.dataIndex}))):i.options.onRowsSelect&&i.options.onRowsSelect([e],i.state.selectedRows.data,k(n=i.state.selectedRows.data).call(n,(function(t){return t.dataIndex})))})):"custom"===t&&(r=i.state.displayData,a=Qt(o=k(e).call(e,(function(t){return{index:t,dataIndex:r[t].dataIndex}}))),i.setState({selectedRows:{data:o,lookup:a},previousSelectedRow:null},(function(){var t,e;i.setTableAction("rowSelectionChange"),i.options.onRowSelectionChange?i.options.onRowSelectionChange(i.state.selectedRows.data,i.state.selectedRows.data,k(t=i.state.selectedRows.data).call(t,(function(t){return t.dataIndex}))):i.options.onRowsSelect&&i.options.onRowsSelect(i.state.selectedRows.data,i.state.selectedRows.data,k(e=i.state.selectedRows.data).call(e,(function(t){return t.dataIndex})))}))))})),i.tableRef=Z.createRef(),i.tableContent=Z.createRef(),i.draggableHeadCellRefs={},i.resizeHeadCellRefs={},i.timers={},i.setHeadResizeable=function(){},i.updateDividers=function(){},i.mergeDefaultOptions(t),i.state=p({activeColumn:null,announceText:null,count:0,columns:[],expandedRows:{data:[],lookup:{}},data:[],displayData:[],filterData:[],filterList:[],page:0,previousSelectedRow:null,rowsPerPage:10,searchProps:{},searchText:null,selectedRows:{data:[],lookup:{}},showResponsive:!1,sortOrder:{}},i.getInitTableOptions()),i.setTableData=h(r=i.setTableData).call(r,M(i)),i.setTableData(t,Je,!0,null,!0),i}return P(n,[{key:"componentDidMount",value:function(){this.setHeadResizeable(this.resizeHeadCellRefs,this.tableRef),this.props.options.searchText&&!this.props.options.serverSide&&this.setState({page:0}),this.setTableInit("tableInitialized")}},{key:"componentDidUpdate",value:function(t){var e,n=this;this.props.data===t.data&&this.props.columns===t.columns&&this.props.options===t.options||(this.updateOptions(this.options,this.props),e=this.props.data!==t.data,this.props.data&&t.data&&(e=e&&this.props.data.length===t.data.length),this.setTableData(this.props,Je,e,(function(){n.setTableAction("propsUpdate")}))),this.props.options.searchText===t.options.searchText||this.props.options.serverSide||this.setState({page:0}),(!0===this.options.resizableColumns||this.options.resizableColumns&&this.options.resizableColumns.enabled)&&(this.setHeadResizeable(this.resizeHeadCellRefs,this.tableRef),this.updateDividers())}},{key:"updateOptions",value:function(t,e){!0===e.options.disableToolbarSelect&&void 0===e.options.selectToolbarPlacement&&(e.options.selectToolbarPlacement=en.NONE),e.options.draggableColumns&&!0===e.options.draggableColumns.enabled&&!e.options.tableId&&(e.options.tableId=(Math.random()+"").replace(/\./,"")),this.options=z(t,e.options,(function(t,e,n){if("textLabels"===n||"downloadOptions"===n)return H(t,e)})),this.handleOptionDeprecation(e)}},{key:"mergeDefaultOptions",value:function(t){var e=this.getDefaultOptions(),n=p({},t);n.options=n.options||{},this.updateOptions(e,n)}},{key:"validateOptions",value:function(t){var e;if(t.serverSide&&void 0===t.onTableChange)throw Error("onTableChange callback must be provided when using serverSide option");if(t.expandableRows&&void 0===t.renderExpandableRow)throw Error("renderExpandableRow must be provided when using expandableRows option");t.rowsSelected&&w(t.rowsSelected)&&d(e=t.rowsSelected).call(e,isNaN)&&$t("When using the rowsSelected option, must be provided an array of numbers only.")}},{key:"getInitTableOptions",value:function(){var t=this,e=["rowsPerPage","page","rowsSelected","rowsPerPageOptions"],n=x(e).call(e,(function(e,n){return void 0!==t.options[n]&&(e[n]=t.options[n]),e}),{});return this.validateOptions(n),n}},{key:"setTableData",value:function(t,e,n,r,i){var o,a,s,c=this,l=3<arguments.length&&void 0!==r?r:function(){},u=4<arguments.length&&void 0!==i&&i,g=[],f=this.buildColumns(t.columns,this.state.columns,this.options.columnOrder,this.state.columnOrder),d=f.columns,h=f.filterData,C=f.filterList,v=f.columnOrder,I=null,y="none";this.options.sortOrder&&this.options.sortOrder.direction&&this.options.sortOrder.name?s=p({},this.options.sortOrder):(s=p({},this.state.sortOrder)).direction||S(a=t.columns).call(a,(function(t,e){!t.options||"asc"!==t.options.sortDirection&&"desc"!==t.options.sortDirection||(s.name=t.name,s.sortDirection=t.sortDirection)}));var b=e===Je?this.transformData(d,t.data):t.data,x=e===Je?this.options.searchText:null;void 0===this.options.searchText&&void 0!==this.state.searchText&&(x=this.state.searchText);var _=this.state.rowsPerPage;"number"==typeof this.options.rowsPerPage&&(_=this.options.rowsPerPage);var k=this.state.page;"number"==typeof this.options.page&&(k=this.options.page),S(d).call(d,(function(t,n){for(var r,i,a=0;a<b.length;a++){var l,u,f,d=e===Je?b[a][n]:b[a].data[n];void 0===g[a]&&g.push({index:e===Je?a:b[a].index,data:e===Je?b[a]:b[a].data}),!1!==A(t)&&("function"==typeof t.customBodyRender&&(u=g[a].data,o=c.getTableMeta(a,n,u,t,b,c.state,g),f=t.customBodyRender(d,o),Z.isValidElement(f)&&f.props.value?d=f.props.value:"string"==typeof f&&(d=f)),"object"!==O(d)||w(d)||null===d||(d=d.toString?d.toString():""),j(l=h[n]).call(l,d)<0&&!w(d)?h[n].push(d):w(d)&&S(d).call(d,(function(t){var e,r="object"===O(t)&&null!==t||"function"==typeof t?t.toString?t.toString():"":t;j(e=h[n]).call(e,r)<0&&h[n].push(r)})))}t.filterOptions&&(w(t.filterOptions)?(h[n]=V(t.filterOptions),c.warnDep("filterOptions must now be an object. see https://github.com/gregnb/mui-datatables/tree/master/examples/customize-filter example")):w(t.filterOptions.names)&&(h[n]=V(t.filterOptions.names))),t.filterList?C[n]=V(t.filterList):c.state.filterList&&c.state.filterList[n]&&0<c.state.filterList[n].length&&(C[n]=V(c.state.filterList[n])),c.options.sortFilterList&&(i=ee(),m(r=h[n]).call(r,i)),t.name===s.name&&(y=s.direction,I=n)}));var E,P,M,T={data:[],lookup:{}},R={data:[],lookup:{}};if(this.options.rowsSelected&&this.options.rowsSelected.length&&"multiple"===this.options.selectableRows)S(E=A(P=this.options.rowsSelected).call(P,(function(t){return 0===t||Number(t)&&0<t}))).call(E,(function(t){for(var e=t,n=0;n<c.state.displayData.length;n++)if(c.state.displayData[n].dataIndex===t){e=n;break}T.data.push({index:e,dataIndex:t}),T.lookup[t]=!0}));else if(this.options.rowsSelected&&1===this.options.rowsSelected.length&&"single"===this.options.selectableRows){for(var D=this.options.rowsSelected[0],N=0;N<this.state.displayData.length;N++)if(this.state.displayData[N].dataIndex===this.options.rowsSelected[0]){D=N;break}T.data.push({index:D,dataIndex:this.options.rowsSelected[0]}),T.lookup[this.options.rowsSelected[0]]=!0}else this.options.rowsSelected&&1<this.options.rowsSelected.length&&"single"===this.options.selectableRows?console.error('Multiple values provided for selectableRows, but selectableRows set to "single". Either supply only a single value or use "multiple".'):void 0===this.options.rowsSelected&&!1===n&&this.state.selectedRows&&(T=p({},this.state.selectedRows));this.options.rowsExpanded&&this.options.rowsExpanded.length&&this.options.expandableRows?S(M=this.options.rowsExpanded).call(M,(function(t){for(var e=t,n=0;n<c.state.displayData.length;n++)if(c.state.displayData[n].dataIndex===t){e=n;break}R.data.push({index:e,dataIndex:t}),R.lookup[t]=!0})):void 0===this.options.rowsExpanded&&!1===n&&this.state.expandedRows&&(R=p({},this.state.expandedRows)),this.options.serverSide||null===I||(g=this.sortTable(g,I,y,d[I].sortCompare).data);var L={columns:d,filterData:h,filterList:C,searchText:x,selectedRows:T,expandedRows:R,count:this.options.count,data:g,sortOrder:s,rowsPerPage:_,page:k,displayData:this.getDisplayData(d,g,C,x,o,t),columnOrder:v};u?this.state=p({},this.state,L):this.setState(L,l)}},{key:"computeDisplayRow",value:function(t,e,n,r,i,o,a,s,c){for(var l=this,u=!1,g=!1,p=[],A=0;A<e.length;A++)!function(s){var A,C,v,I=e[s],y=e[s],m=t[s];m.customBodyRenderLite?p.push(m.customBodyRenderLite):(m.customBodyRender&&(C=l.getTableMeta(n,s,e,m,o,Ke(Ke({},l.state),{},{filterList:r,searchText:i}),c),v=m.customBodyRender(y,C,h(A=l.updateDataCol).call(A,null,n,s)),y="string"!=typeof(I=v)&&v?v.props&&v.props.value?v.props.value:y:v),p.push(I));var b=null==y?"":y.toString(),x=r[s],O=a.caseSensitive,S=m.filterType||a.filterType;!x.length&&"custom"!==S||(m.filterOptions&&m.filterOptions.logic?m.filterOptions.logic(y,x,e)&&(u=!0):"textField"===S&&!l.hasSearchText(b,x,O)||"textField"!==S&&!1===w(y)&&j(x).call(x,y)<0?u=!0:"textField"!==S&&w(y)&&(a.filterArrayFullMatch?f(x).call(x,(function(t){return 0<=j(y).call(y,t)}))||(u=!0):d(x).call(x,(function(t){return 0<=j(y).call(y,t)}))||(u=!0))),i&&"excluded"!==m.display&&l.hasSearchText(b,i,O)&&"false"!==m.display&&m.searchable&&(g=!0)}(A);var C,v=s.options.customSearch;return i&&v&&("boolean"!=typeof(C=v(i,e,t))?console.error("customSearch must return a boolean"):g=C),a.serverSide?(v&&console.warn("Server-side filtering is enabled, hence custom search will be ignored."),p):u||i&&!g?null:p}},{key:"getDisplayData",value:function(t,e,n,r,i,o){for(var a=[],s=i?i.tableData:o.data,c=0;c<e.length;c++){var l=e[c].data,u=this.computeDisplayRow(t,l,c,n,r,s,this.options,o,e);u&&a.push({data:u,dataIndex:e[c].index})}return a}},{key:"getSortDirectionLabel",value:function(t){switch(t.direction){case"asc":return"ascending";case"desc":return"descending";case"none":return"none";default:return""}}},{key:"getTableProps",value:function(){var t=this.props.classes,e=this.options.setTableProps()||{};return e.className=B(t.tableRoot,e.className),e}},{key:"sortTable",value:function(t,e,n,r){var i,o=this,a=3<arguments.length&&void 0!==r?r:null,s=this.options.customSort&&!a,c={selectedRows:this.state.selectedRows},l=s?this.options.customSort(t,e,n||(this.options.sortDescFirst?"desc":"asc"),c):t;"none"===n&&(i=x(t).call(t,(function(t,e){return t[e.index]=e,t}),[]));var u,g=k(l).call(l,(function(t,n){return{data:t.data[e],rowData:t.data,position:n,rowSelected:!!o.state.selectedRows.lookup[t.index]}}));s||(u=a||ne,m(g).call(g,u(n)));for(var f=[],d=[],h=0;h<g.length;h++){var p=g[h];f.push(l[p.position]),p.rowSelected&&d.push({index:h,dataIndex:l[p.position].index})}return{data:"none"===n?i:f,selectedRows:{lookup:Qt(d),data:d}}}},{key:"render",value:function(){var t,e,n,r,i,o=this,a=this.props,s=a.classes,c=a.className,l=a.title,u=a.components,f=u.TableBody,d=u.TableFilterList,h=u.TableFooter,p=u.TableHead,A=u.TableResize,C=u.TableToolbar,v=u.TableToolbarSelect,y=u.DragDropBackend,m=void 0===y?Gt.HTML5Backend:y,b=this.state,x=b.announceText,w=b.activeColumn,O=b.data,S=b.displayData,_=b.columns,E=b.page,P=b.filterData,M=b.filterList,T=b.selectedRows,R=b.previousSelectedRow,D=b.expandedRows,N=b.searchText,F=b.sortOrder,z=(b.serverSideFilterList,b.columnOrder),V=f||se,W=d||de,H=h||Ie,U=p||Ee,X=A||Ne,q=C||He,K=v||Ze,Q=this.state.count||S.length,J=this.options.pagination?this.state.rowsPerPage:S.length,$=function(t,e){return t.title=e,!Y(G(tn,(function(e){return t[e]})))}(this.options,l),tt=k(_).call(_,(function(t){return{name:t.name,filterType:t.filterType||o.options.filterType}})),et=this.options.responsive,nt=I(t="".concat(s.paper," ")).call(t,c),rt=this.options.tableBodyMaxHeight;switch(et){case"scroll":i=s.responsiveScroll,rt="499px";break;case"scrollMaxHeight":i=s.responsiveScrollMaxHeight,rt="499px";break;case"scrollFullHeight":i=s.responsiveScrollFullHeight,rt="none";break;case"scrollFullHeightFullWidth":i=s.responsiveScrollFullHeight,nt=I(e="".concat(s.paperResponsiveScrollFullHeightFullWidth," ")).call(e,c);break;case"stacked":i=s.responsiveStacked,rt="none";break;case"stackedFullWidth":i=s.responsiveStackedFullWidth,nt=I(n="".concat(s.paperResponsiveScrollFullHeightFullWidth," ")).call(n,c),rt="none";break;default:i=s.responsiveBase}var it={};rt&&(it.maxHeight=rt),this.options.tableBodyHeight&&(it.height=this.options.tableBodyHeight);var ot=this.options.setTableProps&&this.options.setTableProps()||{},at=B(s.tableRoot,ot.className);delete ot.className;var st,ct={};return"undefined"!=typeof window&&(ct.context=window),Z.createElement(L.Paper,{elevation:this.options.elevation,ref:this.tableContent,className:nt},0<T.data.length&&this.options.selectToolbarPlacement!==en.NONE&&Z.createElement(K,{options:this.options,selectedRows:T,onRowsDelete:this.selectRowDelete,displayData:S,selectRowUpdate:this.selectRowUpdate,components:this.props.components}),(0===T.data.length||-1!==j(r=[en.ABOVE,en.NONE]).call(r,this.options.selectToolbarPlacement))&&$&&Z.createElement(q,{columns:_,columnOrder:z,displayData:S,data:O,filterData:P,filterList:M,filterUpdate:this.filterUpdate,updateFilterByType:this.updateFilterByType,options:this.options,resetFilters:this.resetFilters,searchText:N,searchTextUpdate:this.searchTextUpdate,searchClose:this.searchClose,tableRef:this.getTableContentRef,title:l,toggleViewColumn:this.toggleViewColumn,updateColumns:this.updateColumns,setTableAction:this.setTableAction,components:this.props.components}),Z.createElement(W,{options:this.options,serverSideFilterList:this.props.options.serverSideFilterList,filterListRenderers:k(_).call(_,(function(t){return t.customFilterListOptions&&t.customFilterListOptions.render?t.customFilterListOptions.render:t.customFilterListRender?t.customFilterListRender:function(t){return t}})),customFilterListUpdate:k(_).call(_,(function(t){return t.customFilterListOptions&&t.customFilterListOptions.update?t.customFilterListOptions.update:null})),filterList:M,filterUpdate:this.filterUpdate,columnNames:tt}),Z.createElement("div",{style:Ke({position:"relative"},it),className:i},(!0===this.options.resizableColumns||this.options.resizableColumns&&this.options.resizableColumns.enabled)&&Z.createElement(X,{key:Q,columnOrder:z,updateDividers:function(t){return o.updateDividers=t},setResizeable:function(t){return o.setHeadResizeable=t},options:this.props.options,tableId:this.options.tableId}),(st=Z.createElement(L.Table,g({ref:function(t){return o.tableRef=t},tabIndex:"0",role:"grid",className:at},ot),Z.createElement("caption",{className:s.caption},l),Z.createElement(U,{columns:_,activeColumn:w,data:S,count:Q,page:E,rowsPerPage:J,selectedRows:T,selectRowUpdate:o.selectRowUpdate,toggleSort:o.toggleSortColumn,setCellRef:o.setHeadCellRef,expandedRows:D,areAllRowsExpanded:o.areAllRowsExpanded,toggleAllExpandableRows:o.toggleAllExpandableRows,options:o.options,sortOrder:F,columnOrder:z,updateColumnOrder:o.updateColumnOrder,draggableHeadCellRefs:o.draggableHeadCellRefs,tableRef:o.getTableContentRef,tableId:o.options.tableId,timers:o.timers,components:o.props.components}),Z.createElement(V,{data:S,count:Q,columns:_,page:E,rowsPerPage:J,selectedRows:T,selectRowUpdate:o.selectRowUpdate,previousSelectedRow:R,expandedRows:D,toggleExpandRow:o.toggleExpandRow,options:o.options,columnOrder:z,filterList:M,components:o.props.components,tableId:o.options.tableId}),o.options.customTableBodyFooterRender?o.options.customTableBodyFooterRender({data:S,count:Q,columns:_,selectedRows:T,selectableRows:o.options.selectableRows}):null),m?Z.createElement(Ot.DndProvider,g({backend:m},ct),st):st)),Z.createElement(H,{options:this.options,page:E,rowCount:Q,rowsPerPage:J,changeRowsPerPage:this.changeRowsPerPage,changePage:this.changePage}),Z.createElement("div",{className:s.liveAnnounce,"aria-live":"polite"},x))}}]),n}(Z.Component);N(nn,"propTypes",{title:U.oneOfType([U.string,U.element]).isRequired,data:U.array.isRequired,columns:U.PropTypes.arrayOf(U.oneOfType([U.string,U.shape({label:U.string,name:U.string.isRequired,options:U.shape({display:U.oneOf(["true","false","excluded","always",!0,!1]),empty:U.bool,filter:U.bool,sort:U.bool,print:U.bool,searchable:U.bool,download:U.bool,viewColumns:U.bool,filterList:U.array,filterOptions:U.oneOfType([U.array,U.shape({names:U.array,logic:U.func,display:U.func})]),filterType:U.oneOf(["dropdown","checkbox","multiselect","textField","custom"]),customHeadRender:U.func,customBodyRender:U.func,customBodyRenderLite:U.func,customHeadLabelRender:U.func,customFilterListOptions:U.oneOfType([U.shape({render:U.func,update:U.func})]),customFilterListRender:U.func,setCellProps:U.func,setCellHeaderProps:U.func,sortThirdClickReset:U.bool,sortDescFirst:U.bool})})])).isRequired,options:U.shape({caseSensitive:U.bool,columnOrder:U.array,count:U.number,confirmFilters:U.bool,consoleWarnings:U.bool,customFilterDialogFooter:U.func,customFooter:U.oneOfType([U.func,U.element]),customRowRender:U.func,customSearch:U.func,customSearchRender:U.oneOfType([U.func,U.element]),customSort:U.func,customToolbar:U.oneOfType([U.func,U.element]),customToolbarSelect:U.oneOfType([U.func,U.element]),draggableColumns:U.object,enableNestedDataAccess:U.string,expandableRows:U.bool,expandableRowsHeader:U.bool,expandableRowsOnClick:U.bool,disableToolbarSelect:U.bool,download:U.oneOf([!0,!1,"true","false","disabled"]),downloadOptions:U.shape({filename:U.string,separator:U.string,filterOptions:U.shape({useDisplayedColumnsOnly:U.bool,useDisplayedRowsOnly:U.bool})}),filter:U.oneOf([!0,!1,"true","false","disabled"]),filterArrayFullMatch:U.bool,filterType:U.oneOf(["dropdown","checkbox","multiselect","textField","custom"]),fixedHeader:U.bool,fixedSelectColumn:U.bool,getTextLabels:U.func,isRowExpandable:U.func,isRowSelectable:U.func,jumpToPage:U.bool,onDownload:U.func,onFilterChange:U.func,onFilterChipClose:U.func,onFilterConfirm:U.func,onFilterDialogOpen:U.func,onFilterDialogClose:U.func,onRowClick:U.func,onRowsExpand:U.func,onRowExpansionChange:U.func,onRowsSelect:U.func,onRowSelectionChange:U.func,onTableChange:U.func,onTableInit:U.func,page:U.number,pagination:U.bool,print:U.oneOf([!0,!1,"true","false","disabled"]),searchProps:U.object,selectableRows:U.oneOfType([U.bool,U.oneOf(["none","single","multiple"])]),selectableRowsHeader:U.bool,selectableRowsHideCheckboxes:U.bool,selectableRowsOnClick:U.bool,serverSide:U.bool,tableId:U.string,tableBodyHeight:U.string,tableBodyMaxHeight:U.string,renderExpandableRow:U.func,resizableColumns:U.oneOfType([U.bool,U.object]),responsive:U.oneOf(["standard","vertical","verticalAlways","simple"]),rowHover:U.bool,rowsExpanded:U.array,rowsPerPage:U.number,rowsPerPageOptions:U.array,rowsSelected:U.array,search:U.oneOf([!0,!1,"true","false","disabled"]),searchOpen:U.bool,searchPlaceholder:U.string,searchText:U.string,setFilterChipProps:U.func,setRowProps:U.func,selectToolbarPlacement:U.oneOfType([U.bool,U.oneOf([en.REPLACE,en.ABOVE,en.NONE])]),setTableProps:U.func,sort:U.bool,sortOrder:U.object,viewColumns:U.oneOf([!0,!1,"true","false","disabled"])}),className:U.string,components:U.objectOf(U.any)}),N(nn,"defaultProps",{title:"",options:{},data:[],columns:[],components:{TableBody:se,TableFilter:ue,TableFilterList:de,TableFooter:Ie,TableHead:Ee,TableResize:Ne,TableToolbar:He,TableToolbarSelect:Ze,Tooltip:L.Tooltip}});var rn=F.withStyles((function(t){return{root:{},paper:{},paperResponsiveScrollFullHeightFullWidth:{position:"absolute"},tableRoot:{outline:"none"},responsiveBase:{overflow:"auto","@media print":{height:"auto !important"}},responsiveScroll:{overflow:"auto",height:"100%"},responsiveScrollMaxHeight:{overflow:"auto",height:"100%"},responsiveScrollFullHeight:{height:"100%"},responsiveStacked:N({overflow:"auto"},t.breakpoints.down("sm"),{overflow:"hidden"}),responsiveStackedFullWidth:{},caption:{position:"absolute",left:"-3000px"},liveAnnounce:{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"},"@global":{"@media print":{".datatables-noprint":{display:"none"}}}}}),{name:"MUIDataTable"})(nn);function on(t){var e=function(){if("undefined"==typeof Reflect||!u)return!1;if(u.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(u(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r,i=D(t);return r=e?(n=D(this).constructor,u(i,arguments,n)):i.apply(this,arguments),R(this,r)}}var an=function(t){T(n,t);var e=on(n);function n(){var t,r;E(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,I(t=[this]).call(t,o)),N(M(r),"handleTextChangeWrapper",(function(t){return function(e){t(e.target.value)}})),N(M(r),"onKeyDown",(function(t){27===t.keyCode&&r.props.onHide()})),r}return P(n,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.onKeyDown,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.onKeyDown,!1)}},{key:"render",value:function(){var t=this,e=this.props,n=e.classes,r=e.options,i=e.onHide,o=e.searchText,a=function(t,e,n){var r;return function(){var i=this,o=arguments,a=n&&!r;clearTimeout(r),r=yt((function(){r=null,n||t.apply(i,o)}),e),a&&t.apply(i,o)}}((function(e){t.props.onSearch(e)}),e.debounceWait);return Z.createElement(Et,{appear:!0,in:!0,timeout:300},Z.createElement("div",{className:n.main},Z.createElement(Mt,{className:n.searchIcon}),Z.createElement(Pt,g({className:n.searchText,autoFocus:!0,InputProps:{"data-test-id":r.textLabels.toolbar.search,"aria-label":r.textLabels.toolbar.search},defaultValue:o,onChange:this.handleTextChangeWrapper(a),fullWidth:!0,inputRef:function(e){return t.searchField=e},placeholder:r.searchPlaceholder},r.searchProps?r.searchProps:{})),Z.createElement(_t,{className:n.clearIcon,onClick:i},Z.createElement(Tt,null))))}}]),n}(Z.Component),sn=F.withStyles((function(t){return{main:{display:"flex",flex:"1 0 auto"},searchIcon:{color:t.palette.text.secondary,marginTop:"10px",marginRight:"8px"},searchText:{flex:"0.8 0"},clearIcon:{"&:hover":{color:t.palette.error.main}}}}),{name:"MUIDataTableSearch"})(an);e.DebounceTableSearch=sn,e.ExpandButton=Zt,e.Popover=Le,e.TableBody=se,e.TableBodyCell=Yt,e.TableBodyRow=Xt,e.TableFilter=ue,e.TableFilterList=de,e.TableFooter=Ie,e.TableHead=Ee,e.TableHeadCell=we,e.TableHeadRow=Se,e.TablePagination=Ce,e.TableResize=Ne,e.TableSearch=Ve,e.TableSelectCell=Kt,e.TableToolbar=He,e.TableToolbarSelect=Ze,e.TableViewCol=Be,e.debounceSearchRender=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:200;return function(e,n,r,i){return Z.createElement(sn,{searchText:e,onSearch:n,onHide:r,options:i,debounceWait:t})}},e.default=rn},function(t,e,n){"use strict";function r(){var t=document.createElement("div");t.style.width="99px",t.style.height="99px",t.style.position="absolute",t.style.top="-9999px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(2),i=n(39),o=n(4),a=n(0),s=(n(6),n(991)),c=n(22),l=n(46),u=n(18);function g(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var f={entering:{opacity:1,transform:g(1)},entered:{opacity:1,transform:"none"}},d=a.forwardRef((function(t,e){var n=t.children,d=t.disableStrictModeCompat,h=void 0!==d&&d,p=t.in,A=t.onEnter,C=t.onEntered,v=t.onEntering,I=t.onExit,y=t.onExited,m=t.onExiting,b=t.style,x=t.timeout,w=void 0===x?"auto":x,O=t.TransitionComponent,S=void 0===O?s.a:O,_=Object(o.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),k=a.useRef(),j=a.useRef(),E=Object(c.a)(),P=E.unstable_strictMode&&!h,M=a.useRef(null),T=Object(u.a)(n.ref,e),R=Object(u.a)(P?M:void 0,T),D=function(t){return function(e,n){if(t){var r=P?[M.current,e]:[e,n],o=Object(i.a)(r,2),a=o[0],s=o[1];void 0===s?t(a):t(a,s)}}},N=D(v),L=D((function(t,e){Object(l.b)(t);var n,r=Object(l.a)({style:b,timeout:w},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===w?(n=E.transitions.getAutoHeightDuration(t.clientHeight),j.current=n):n=i,t.style.transition=[E.transitions.create("opacity",{duration:n,delay:o}),E.transitions.create("transform",{duration:.666*n,delay:o})].join(","),A&&A(t,e)})),F=D(C),B=D(m),z=D((function(t){var e,n=Object(l.a)({style:b,timeout:w},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===w?(e=E.transitions.getAutoHeightDuration(t.clientHeight),j.current=e):e=r,t.style.transition=[E.transitions.create("opacity",{duration:e,delay:i}),E.transitions.create("transform",{duration:.666*e,delay:i||.333*e})].join(","),t.style.opacity="0",t.style.transform=g(.75),I&&I(t)})),V=D(y);return a.useEffect((function(){return function(){clearTimeout(k.current)}}),[]),a.createElement(S,Object(r.a)({appear:!0,in:p,nodeRef:P?M:void 0,onEnter:L,onEntered:F,onEntering:N,onExit:z,onExited:V,onExiting:B,addEndListener:function(t,e){var n=P?t:e;"auto"===w&&(k.current=setTimeout(n,j.current||0))},timeout:"auto"===w?null:w},_),(function(t,e){return a.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,transform:g(.75),visibility:"exited"!==t||p?void 0:"hidden"},f[t],b,n.props.style),ref:R},e))}))}));d.muiSupportAuto=!0,e.a=d},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(569),c=n(7),l=o.forwardRef((function(t,e){var n=t.disableUnderline,c=t.classes,l=t.fullWidth,u=void 0!==l&&l,g=t.inputComponent,f=void 0===g?"input":g,d=t.multiline,h=void 0!==d&&d,p=t.type,A=void 0===p?"text":p,C=Object(i.a)(t,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(s.a,Object(r.a)({classes:Object(r.a)({},c,{root:Object(a.default)(c.root,!n&&c.underline),underline:null}),fullWidth:u,inputComponent:f,multiline:h,ref:e,type:A},C))}));l.muiName="Input",e.a=Object(c.a)((function(t){var e="light"===t.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:t.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(t.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:t.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(e),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(t.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(e)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(l)},function(t,e,n){"use strict";var r=n(0),i=n(30);e.a=Object(i.a)(r.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(9),c=o.forwardRef((function(t,e){var n=t.classes,c=t.className,l=t.disabled,u=t.IconComponent,g=t.inputRef,f=t.variant,d=void 0===f?"standard":f,h=Object(i.a)(t,["classes","className","disabled","IconComponent","inputRef","variant"]);return o.createElement(o.Fragment,null,o.createElement("select",Object(r.a)({className:Object(a.default)(n.root,n.select,n[d],c,l&&n.disabled),disabled:l,ref:g||e},h)),t.multiple?null:o.createElement(u,{className:Object(a.default)(n.icon,n["icon".concat(Object(s.a)(d))],l&&n.disabled)}))}));e.a=c},function(t,e,n){"use strict";var r=n(0),i=r.createContext();e.a=i},function(t,e,n){"use strict";var r=n(0),i=r.createContext();e.a=i},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(10);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=!1,a=!1,s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.sourceId=null,this.internalMonitor=e.getMonitor()}var e,n,s;return e=t,(n=[{key:"receiveHandlerId",value:function(t){this.sourceId=t}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){Object(r.a)(!o,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return o=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{o=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;Object(r.a)(!a,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return a=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{a=!1}}},{key:"subscribeToStateChange",value:function(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}},{key:"isDraggingSource",value:function(t){return this.internalMonitor.isDraggingSource(t)}},{key:"isOverTarget",value:function(t,e){return this.internalMonitor.isOverTarget(t,e)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(t){return this.internalMonitor.subscribeToOffsetChange(t)}},{key:"canDragSource",value:function(t){return this.internalMonitor.canDragSource(t)}},{key:"canDropOnTarget",value:function(t){return this.internalMonitor.canDropOnTarget(t)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}])&&i(e.prototype,n),s&&i(e,s),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(284),i=n(210),o=n(67);function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.hooks=Object(r.a)({dragSource:function(t,e){n.clearDragSource(),n.dragSourceOptions=e||null,Object(i.a)(t)?n.dragSourceRef=t:n.dragSourceNode=t,n.reconnectDragSource()},dragPreview:function(t,e){n.clearDragPreview(),n.dragPreviewOptions=e||null,Object(i.a)(t)?n.dragPreviewRef=t:n.dragPreviewNode=t,n.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}var e,n,s;return e=t,(n=[{key:"receiveHandlerId",value:function(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var t=this.dragSource,e=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();e&&this.disconnectDragSource(),this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)):this.lastConnectedDragSource=t)}},{key:"reconnectDragPreview",value:function(){var t=this.dragPreview,e=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();e&&this.disconnectDragPreview(),this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions)):this.lastConnectedDragPreview=t)}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!Object(o.a)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!Object(o.a)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(t){this.dragSourceOptionsInternal=t}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(t){this.dragPreviewOptionsInternal=t}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}}])&&a(e.prototype,n),s&&a(e,s),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(10);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=!1,a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.targetId=null,this.internalMonitor=e.getMonitor()}var e,n,a;return e=t,(n=[{key:"receiveHandlerId",value:function(t){this.targetId=t}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;Object(r.a)(!o,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return o=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{o=!1}}},{key:"isOver",value:function(t){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,t)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}])&&i(e.prototype,n),a&&i(e,a),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(67),i=n(284),o=n(210);function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.hooks=Object(i.a)({dropTarget:function(t,e){n.clearDropTarget(),n.dropTargetOptions=e,Object(o.a)(t)?n.dropTargetRef=t:n.dropTargetNode=t,n.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}var e,n,s;return e=t,(n=[{key:"reconnect",value:function(){var t=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();t&&this.disconnectDropTarget();var e=this.dropTarget;this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=e,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,e,this.dropTargetOptions)):this.lastConnectedDropTarget=e)}},{key:"receiveHandlerId",value:function(t){t!==this.handlerId&&(this.handlerId=t,this.reconnect())}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!Object(r.a)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}},{key:"connectTarget",get:function(){return this.dropTarget}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(t){this.dropTargetOptionsInternal=t}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}}])&&a(e.prototype,n),s&&a(e,s),t}()},function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return"string"===typeof t||"symbol"===r(t)||!!e&&Array.isArray(t)&&t.every((function(t){return i(t,!1)}))}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function r(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(844),i=n(845),o=n(106),a=n(21),s=n(252);t.exports=function(t,e,n){var c=a(t)?r:i;return n&&s(t,e,n)&&(e=void 0),c(t,o(e,3))}},function(t,e,n){"use strict";var r=s(n(968)),i=s(n(972)),o=s(n(528)),a=s(n(525));function s(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:r.default}},function(t,e,n){"use strict";n.d(e,"a",(function(){return O}));var r=n(0),i=n(67),o=n(10),a=n(70),s=n.n(a),c=n(90),l=n(59);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&g(t.prototype,e),n&&g(t,n),t}var d=function(){var t=function(){function t(e){u(this,t),this.isDisposed=!1,this.action=Object(l.a)(e)?e:l.c}return f(t,[{key:"dispose",value:function(){this.isDisposed||(this.action(),this.isDisposed=!0)}}],[{key:"isDisposable",value:function(t){return Boolean(t&&Object(l.a)(t.dispose))}},{key:"_fixup",value:function(e){return t.isDisposable(e)?e:t.empty}},{key:"create",value:function(e){return new t(e)}}]),t}();return t.empty={dispose:l.c},t}(),h=function(){function t(){u(this,t),this.isDisposed=!1;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];this.disposables=n}return f(t,[{key:"add",value:function(t){this.isDisposed?t.dispose():this.disposables.push(t)}},{key:"remove",value:function(t){var e=!1;if(!this.isDisposed){var n=this.disposables.indexOf(t);-1!==n&&(e=!0,this.disposables.splice(n,1),t.dispose())}return e}},{key:"clear",value:function(){if(!this.isDisposed){for(var t=this.disposables.length,e=new Array(t),n=0;n<t;n++)e[n]=this.disposables[n];this.disposables=[];for(var r=0;r<t;r++)e[r].dispose()}}},{key:"dispose",value:function(){if(!this.isDisposed){this.isDisposed=!0;for(var t=this.disposables.length,e=new Array(t),n=0;n<t;n++)e[n]=this.disposables[n];this.disposables=[];for(var r=0;r<t;r++)e[r].dispose()}}}]),t}(),p=function(){function t(){u(this,t),this.isDisposed=!1}return f(t,[{key:"getDisposable",value:function(){return this.current}},{key:"setDisposable",value:function(t){var e=this.isDisposed;if(!e){var n=this.current;this.current=t,n&&n.dispose()}e&&t&&t.dispose()}},{key:"dispose",value:function(){if(!this.isDisposed){this.isDisposed=!0;var t=this.current;this.current=void 0,t&&t.dispose()}}}]),t}(),A=n(73);function C(t){return(C="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return I(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var i=w(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return x(this,n)}}function x(t,e){return!e||"object"!==C(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function O(t){var e=t.DecoratedComponent,n=t.createHandler,a=t.createMonitor,l=t.createConnector,u=t.registerHandler,g=t.containerDisplayName,f=t.getType,C=t.collect,I=t.options.arePropsEqual,x=void 0===I?i.a:I,w=e,O=e.displayName||e.name||"Component",S=function(){var t=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(S,t);var e,s,g,I=b(S);function S(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,S),(e=I.call(this,t)).decoratedRef=r.createRef(),e.handleChange=function(){var t=e.getCurrentState();Object(i.a)(t,e.state)||e.setState(t)},e.disposable=new p,e.receiveProps(t),e.dispose(),e}return e=S,(s=[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return Object(o.a)(this.decoratedRef.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.decoratedRef.current}},{key:"shouldComponentUpdate",value:function(t,e){return!x(t,this.props)||!Object(i.a)(e,this.state)}},{key:"componentDidMount",value:function(){this.disposable=new p,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()}},{key:"componentDidUpdate",value:function(t){x(this.props,t)||(this.receiveProps(this.props),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"receiveProps",value:function(t){this.handler&&(this.handler.receiveProps(t),this.receiveType(f(t)))}},{key:"receiveType",value:function(t){if(this.handlerMonitor&&this.manager&&this.handlerConnector&&t!==this.currentType){this.currentType=t;var e=v(u(t,this.handler,this.manager),2),n=e[0],r=e[1];this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var i=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new h(new d(i),new d(r)))}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector&&this.handlerConnector.receiveHandlerId(null)}},{key:"getCurrentState",value:function(){return this.handlerConnector?C(this.handlerConnector.hooks,this.handlerMonitor,this.props):{}}},{key:"render",value:function(){var t=this;return r.createElement(c.a.Consumer,null,(function(e){var n=e.dragDropManager;return t.receiveDragDropManager(n),"undefined"!==typeof requestAnimationFrame&&requestAnimationFrame((function(){var e;return null===(e=t.handlerConnector)||void 0===e?void 0:e.reconnect()})),r.createElement(w,Object.assign({},t.props,t.getCurrentState(),{ref:Object(A.c)(w)?t.decoratedRef:null}))}))}},{key:"receiveDragDropManager",value:function(t){void 0===this.manager&&(Object(o.a)(void 0!==t,"Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",O,O),void 0!==t&&(this.manager=t,this.handlerMonitor=a(t),this.handlerConnector=l(t.getBackend()),this.handler=n(this.handlerMonitor,this.decoratedRef)))}}])&&y(e.prototype,s),g&&y(e,g),S}(r.Component);return t.DecoratedComponent=e,t.displayName="".concat(g,"(").concat(O,")"),t}();return s()(S,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(0),i=n(10);function o(t,e){"function"===typeof t?t(e):t.current=e}function a(t,e){var n=t.ref;return Object(i.a)("string"!==typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?Object(r.cloneElement)(t,{ref:function(t){o(n,t),o(e,t)}}):Object(r.cloneElement)(t,{ref:e})}function s(t){if("string"!==typeof t.type){var e=t.type.displayName||t.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(e," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function c(t){var e={};return Object.keys(t).forEach((function(n){var i=t[n];if(n.endsWith("Ref"))e[n]=t[n];else{var o=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Object(r.isValidElement)(e)){var i=e;return t(i,n),i}var o=e;return s(o),a(o,n?function(e){return t(e,n)}:t)}}(i);e[n]=function(){return o}}})),e}},function(t,e,n){"use strict";(function(t,r){n.d(e,"a",(function(){return Ec})),n.d(e,"b",(function(){return _c}));var i=n(110),o=n(101),a=n.n(o),s=n(29),c=n(0),l=n.n(c),u=n(20),g=n.n(u),f=a.a.mark(Hn),d=function(){return(d=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function h(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){var i=0;for(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 p(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(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}var A=Array.isArray;function C(t){var e="";if("string"===typeof t||"number"===typeof t)return t||"";if(A(t))for(var n,r=0;r<t.length;r++)""!==(n=C(t[r]))&&(e+=(e&&" ")+n);else for(var r in t)t.hasOwnProperty(r)&&t[r]&&(e+=(e&&" ")+r);return e}function v(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})})),e}function I(t){var e={exports:{}};return t(e,e.exports),e.exports}var y=function(t){var e,n=t.Symbol;return"function"===typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:r),m=function(){return Math.random().toString(36).substring(7).split("").join(".")},b={INIT:"@@redux/INIT"+m(),REPLACE:"@@redux/REPLACE"+m(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+m()}};function x(t){if("object"!==typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function w(t,e){var n=e&&e.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function O(t,e){return function(){return e(t.apply(this,arguments))}}function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n}function k(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(n,!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function j(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}var E=Object.freeze({__proto__:null,__DO_NOT_USE__ActionTypes:b,applyMiddleware:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=e.map((function(t){return t(i)}));return k({},n,{dispatch:r=j.apply(void 0,o)(n.dispatch)})}}},bindActionCreators:function(t,e){if("function"===typeof t)return O(t,e);if("object"!==typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in t){var i=t[r];"function"===typeof i&&(n[r]=O(i,e))}return n},combineReducers:function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];0,"function"===typeof t[i]&&(n[i]=t[i])}var o,a=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if("undefined"===typeof n(void 0,{type:b.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if("undefined"===typeof n(void 0,{type:b.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+b.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(s){o=s}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=n[c],u=t[c],g=l(u,e);if("undefined"===typeof g){var f=w(c,e);throw new Error(f)}i[c]=g,r=r||g!==u}return(r=r||a.length!==Object.keys(t).length)?i:t}},compose:j,createStore:function t(e,n,r){var i;if("function"===typeof n&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof n&&"undefined"===typeof r&&(r=n,n=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error("Expected the enhancer to be a function.");return r(t)(e,n)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var o=e,a=n,s=[],c=s,l=!1;function u(){c===s&&(c=s.slice())}function g(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function f(t){if("function"!==typeof t)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var e=!0;return u(),c.push(t),function(){if(e){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");e=!1,u();var n=c.indexOf(t);c.splice(n,1),s=null}}}function d(t){if(!x(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,a=o(a,t)}finally{l=!1}for(var e=s=c,n=0;n<e.length;n++){(0,e[n])()}return t}function h(t){if("function"!==typeof t)throw new Error("Expected the nextReducer to be a function.");o=t,d({type:b.REPLACE})}function p(){var t,e=f;return(t={subscribe:function(t){if("object"!==typeof t||null===t)throw new TypeError("Expected the observer to be an object.");function n(){t.next&&t.next(g())}return n(),{unsubscribe:e(n)}}})[y]=function(){return this},t}return d({type:b.INIT}),(i={dispatch:d,subscribe:f,getState:g,replaceReducer:h})[y]=p,i}});function P(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(i){return"function"===typeof i?i(n,r,t):e(i)}}}}var M=P();M.withExtraArgument=P;var T=Object.freeze({__proto__:null,default:M});function R(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function D(t){return!!t&&!!t[St]}function N(t){return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);return!e||e===Object.prototype}(t)||Array.isArray(t)||!!t[Ot]||!!t.constructor[Ot]||W(t)||Y(t))}function L(t,e,n){void 0===n&&(n=!1),0===F(t)?(n?Object.keys:kt)(t).forEach((function(r){n&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(n,r){return e(r,n,t)}))}function F(t){var e=t[St];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:W(t)?2:Y(t)?3:0}function B(t,e){return 2===F(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function z(t,e){return 2===F(t)?t.get(e):t[e]}function V(t,e,n){var r=F(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function G(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function W(t){return mt&&t instanceof Map}function Y(t){return bt&&t instanceof Set}function H(t){return t.o||t.t}function U(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=jt(t);delete e[St];for(var n=kt(e),r=0;r<n.length;r++){var i=n[r],o=e[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function X(t,e){q(t)||D(t)||!N(t)||(F(t)>1&&(t.set=t.add=t.clear=t.delete=Z),Object.freeze(t),e&&L(t,(function(t,e){return X(e,!0)}),!0))}function Z(){R(2)}function q(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function K(t){var e=Et[t];return e||R(19,t),e}function Q(t,e){Et[t]=e}function J(){return It}function $(t,e){e&&(K("Patches"),t.u=[],t.s=[],t.v=e)}function tt(t){et(t),t.p.forEach(rt),t.p=null}function et(t){t===It&&(It=t.l)}function nt(t){return It={p:[],l:It,h:t,m:!0,_:0}}function rt(t){var e=t[St];0===e.i||1===e.i?e.j():e.g=!0}function it(t,e){e._=e.p.length;var n=e.p[0],r=void 0!==t&&t!==n;return e.h.O||K("ES5").S(e,t,r),r?(n[St].P&&(tt(e),R(4)),N(t)&&(t=ot(e,t),e.l||st(e,t)),e.u&&K("Patches").M(n[St],t,e.u,e.s)):t=ot(e,n,[]),tt(e),e.u&&e.v(e.u,e.s),t!==wt?t:void 0}function ot(t,e,n){if(q(e))return e;var r=e[St];if(!r)return L(e,(function(i,o){return at(t,r,e,i,o,n)}),!0),e;if(r.A!==t)return e;if(!r.P)return st(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=U(r.k):r.o;L(3===r.i?new Set(i):i,(function(e,o){return at(t,r,i,e,o,n)})),st(t,i,!1),n&&t.u&&K("Patches").R(r,n,t.u,t.s)}return r.o}function at(t,e,n,r,i,o){if(D(i)){var a=ot(t,i,o&&e&&3!==e.i&&!B(e.D,r)?o.concat(r):void 0);if(V(n,r,a),!D(a))return;t.m=!1}if(N(i)&&!q(i)){if(!t.h.N&&t._<1)return;ot(t,i),e&&e.A.l||st(t,i)}}function st(t,e,n){void 0===n&&(n=!1),t.h.N&&t.m&&X(e,n)}function ct(t,e){var n=t[St];return(n?H(n):t)[e]}function lt(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function ut(t){t.P||(t.P=!0,t.l&&ut(t.l))}function gt(t){t.o||(t.o=U(t.t))}function ft(t,e,n){var r=W(e)?K("MapSet").T(e,n):Y(e)?K("MapSet").F(e,n):t.O?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:J(),P:!1,I:!1,D:{},l:e,t:t,k:null,o:null,j:null,C:!1},i=r,o=Pt;n&&(i=[r],o=Mt);var a=Proxy.revocable(i,o),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,n):K("ES5").J(e,n);return(n?n.A:J()).p.push(r),r}function dt(t){return D(t)||R(22,t),function t(e){if(!N(e))return e;var n,r=e[St],i=F(e);if(r){if(!r.P&&(r.i<4||!K("ES5").K(r)))return r.t;r.I=!0,n=ht(e,i),r.I=!1}else n=ht(e,i);return L(n,(function(e,i){r&&z(r.t,e)===i||V(n,e,t(i))})),3===i?new Set(n):n}(t)}function ht(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return U(t)}function pt(){function t(t,e){var n=i[t];return n?n.enumerable=e:i[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[St];return Pt.get(e,t)},set:function(e){var n=this[St];Pt.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][St];if(!i.P)switch(i.i){case 5:r(i)&&ut(i);break;case 4:n(i)&&ut(i)}}}function n(t){for(var e=t.t,n=t.k,r=kt(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==St){var a=e[o];if(void 0===a&&!B(e,o))return!0;var s=n[o],c=s&&s[St];if(c?c.t!==a:!G(s,a))return!0}}var l=!!e[St];return r.length!==kt(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);return!(!n||n.get)}var i={};Q("ES5",{J:function(e,n){var r=Array.isArray(e),i=function(e,n){if(e){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var o=jt(n);delete o[St];for(var a=kt(o),s=0;s<a.length;s++){var c=a[s];o[c]=t(c,e||!!o[c].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,e),o={i:r?5:4,A:n?n.A:J(),P:!1,I:!1,D:{},l:n,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,St,{value:o,writable:!0}),i},S:function(t,n,i){i?D(n)&&n[St].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var n=e[St];if(n){var i=n.t,o=n.k,a=n.D,s=n.i;if(4===s)L(o,(function(e){e!==St&&(void 0!==i[e]||B(i,e)?a[e]||t(o[e]):(a[e]=!0,ut(n)))})),L(i,(function(t){void 0!==o[t]||B(o,t)||(a[t]=!1,ut(n))}));else if(5===s){if(r(n)&&(ut(n),a.length=!0),o.length<i.length)for(var c=o.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<o.length;l++)a[l]=!0;for(var u=Math.min(o.length,i.length),g=0;g<u;g++)void 0===a[g]&&t(o[g])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?n(t):r(t)}})}function At(){function t(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(t);if(W(e))return new Map(Array.from(e.entries()).map((function(e){return[e[0],t(e[1])]})));if(Y(e))return new Set(Array.from(e).map(t));var n=Object.create(Object.getPrototypeOf(e));for(var r in e)n[r]=t(e[r]);return n}function e(e){return D(e)?t(e):e}var n="add";Q("Patches",{$:function(e,r){return r.forEach((function(r){for(var i=r.path,o=r.op,a=e,s=0;s<i.length-1;s++)"object"!=typeof(a=z(a,i[s]))&&R(15,i.join("/"));var c=F(a),l=t(r.value),u=i[i.length-1];switch(o){case"replace":switch(c){case 2:return a.set(u,l);case 3:R(16);default:return a[u]=l}case n:switch(c){case 1:return a.splice(u,0,l);case 2:return a.set(u,l);case 3:return a.add(l);default:return a[u]=l}case"remove":switch(c){case 1:return a.splice(u,1);case 2:return a.delete(u);case 3:return a.delete(r.value);default:return delete a[u]}default:R(17,o)}})),e},R:function(t,r,i,o){switch(t.i){case 0:case 4:case 2:return function(t,r,i,o){var a=t.t,s=t.o;L(t.D,(function(t,c){var l=z(a,t),u=z(s,t),g=c?B(a,t)?"replace":n:"remove";if(l!==u||"replace"!==g){var f=r.concat(t);i.push("remove"===g?{op:g,path:f}:{op:g,path:f,value:u}),o.push(g===n?{op:"remove",path:f}:"remove"===g?{op:n,path:f,value:e(l)}:{op:"replace",path:f,value:e(l)})}}))}(t,r,i,o);case 5:case 1:return function(t,r,i,o){var a=t.t,s=t.D,c=t.o;if(c.length<a.length){var l=[c,a];a=l[0],c=l[1];var u=[o,i];i=u[0],o=u[1]}for(var g=0;g<a.length;g++)if(s[g]&&c[g]!==a[g]){var f=r.concat([g]);i.push({op:"replace",path:f,value:e(c[g])}),o.push({op:"replace",path:f,value:e(a[g])})}for(var d=a.length;d<c.length;d++){var h=r.concat([d]);i.push({op:n,path:h,value:e(c[d])})}a.length<c.length&&o.push({op:"replace",path:r.concat(["length"]),value:a.length})}(t,r,i,o);case 3:return function(t,e,r,i){var o=t.t,a=t.o,s=0;o.forEach((function(t){if(!a.has(t)){var o=e.concat([s]);r.push({op:"remove",path:o,value:t}),i.unshift({op:n,path:o,value:t})}s++})),s=0,a.forEach((function(t){if(!o.has(t)){var a=e.concat([s]);r.push({op:n,path:a,value:t}),i.unshift({op:"remove",path:a,value:t})}s++}))}(t,r,i,o)}},M:function(t,e,n,r){n.push({op:"replace",path:[],value:e}),r.push({op:"replace",path:[],value:t.t})}})}function Ct(){function t(t,e){function n(){this.constructor=t}i(t,e),t.prototype=(n.prototype=e.prototype,new n)}function e(t){t.o||(t.D=new Map,t.o=new Map(t.t))}function n(t){t.o||(t.o=new Set,t.t.forEach((function(e){if(N(e)){var n=ft(t.A.h,e,t);t.p.set(e,n),t.o.add(n)}else t.o.add(e)})))}function r(t){t.g&&R(3,JSON.stringify(H(t)))}var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},o=function(){function n(t,e){return this[St]={i:2,l:e,A:e?e.A:J(),P:!1,I:!1,o:void 0,D:void 0,t:t,k:this,C:!1,g:!1},this}t(n,Map);var i=n.prototype;return Object.defineProperty(i,"size",{get:function(){return H(this[St]).size}}),i.has=function(t){return H(this[St]).has(t)},i.set=function(t,n){var i=this[St];return r(i),H(i).has(t)&&H(i).get(t)===n||(e(i),ut(i),i.D.set(t,!0),i.o.set(t,n),i.D.set(t,!0)),this},i.delete=function(t){if(!this.has(t))return!1;var n=this[St];return r(n),e(n),ut(n),n.D.set(t,!1),n.o.delete(t),!0},i.clear=function(){var t=this[St];return r(t),e(t),ut(t),t.D=new Map,L(t.t,(function(e){t.D.set(e,!1)})),t.o.clear()},i.forEach=function(t,e){var n=this;H(this[St]).forEach((function(r,i){t.call(e,n.get(i),i,n)}))},i.get=function(t){var n=this[St];r(n);var i=H(n).get(t);if(n.I||!N(i))return i;if(i!==n.t.get(t))return i;var o=ft(n.A.h,i,n);return e(n),n.o.set(t,o),o},i.keys=function(){return H(this[St]).keys()},i.values=function(){var t,e=this,n=this.keys();return(t={})[_t]=function(){return e.values()},t.next=function(){var t=n.next();return t.done?t:{done:!1,value:e.get(t.value)}},t},i.entries=function(){var t,e=this,n=this.keys();return(t={})[_t]=function(){return e.entries()},t.next=function(){var t=n.next();if(t.done)return t;var r=e.get(t.value);return{done:!1,value:[t.value,r]}},t},i[_t]=function(){return this.entries()},n}(),a=function(){function e(t,e){return this[St]={i:3,l:e,A:e?e.A:J(),P:!1,I:!1,o:void 0,t:t,k:this,p:new Map,g:!1,C:!1},this}t(e,Set);var i=e.prototype;return Object.defineProperty(i,"size",{get:function(){return H(this[St]).size}}),i.has=function(t){var e=this[St];return r(e),e.o?!!e.o.has(t)||!(!e.p.has(t)||!e.o.has(e.p.get(t))):e.t.has(t)},i.add=function(t){var e=this[St];return r(e),this.has(t)||(n(e),ut(e),e.o.add(t)),this},i.delete=function(t){if(!this.has(t))return!1;var e=this[St];return r(e),n(e),ut(e),e.o.delete(t)||!!e.p.has(t)&&e.o.delete(e.p.get(t))},i.clear=function(){var t=this[St];return r(t),n(t),ut(t),t.o.clear()},i.values=function(){var t=this[St];return r(t),n(t),t.o.values()},i.entries=function(){var t=this[St];return r(t),n(t),t.o.entries()},i.keys=function(){return this.values()},i[_t]=function(){return this.values()},i.forEach=function(t,e){for(var n=this.values(),r=n.next();!r.done;)t.call(e,r.value,r.value,this),r=n.next()},e}();Q("MapSet",{T:function(t,e){return new o(t,e)},F:function(t,e){return new a(t,e)}})}var vt,It,yt="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),mt="undefined"!=typeof Map,bt="undefined"!=typeof Set,xt="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,wt=yt?Symbol.for("immer-nothing"):((vt={})["immer-nothing"]=!0,vt),Ot=yt?Symbol.for("immer-draftable"):"__$immer_draftable",St=yt?Symbol.for("immer-state"):"__$immer_state",_t="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",kt="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,jt=Object.getOwnPropertyDescriptors||function(t){var e={};return kt(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},Et={},Pt={get:function(t,e){if(e===St)return t;var n=H(t);if(!B(n,e))return function(t,e,n){var r,i=lt(e,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,n,e);var r=n[e];return t.I||!N(r)?r:r===ct(t.t,e)?(gt(t),t.o[e]=ft(t.A.h,r,t)):r},has:function(t,e){return e in H(t)},ownKeys:function(t){return Reflect.ownKeys(H(t))},set:function(t,e,n){var r=lt(H(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,n),!0;if(t.D[e]=!0,!t.P){if(G(n,ct(H(t),e))&&(void 0!==n||B(t.t,e)))return!0;gt(t),ut(t)}return t.o[e]=n,!0},deleteProperty:function(t,e){return void 0!==ct(t.t,e)||e in t.t?(t.D[e]=!1,gt(t),ut(t)):delete t.D[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=H(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:n[e]}:r},defineProperty:function(){R(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){R(12)}},Mt={};L(Pt,(function(t,e){Mt[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Mt.deleteProperty=function(t,e){return Pt.deleteProperty.call(this,t[0],e)},Mt.set=function(t,e,n){return Pt.set.call(this,t[0],e,n,t[0])};var Tt=function(){function t(t){this.O=xt,this.N=!1,"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),this.produce=this.produce.bind(this),this.produceWithPatches=this.produceWithPatches.bind(this)}var e=t.prototype;return e.produce=function(t,e,n){if("function"==typeof t&&"function"!=typeof e){var r=e;e=t;var i=this;return function(t){var n=this;void 0===t&&(t=r);for(var o=arguments.length,a=Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[n,t].concat(a))}))}}var o;if("function"!=typeof e&&R(6),void 0!==n&&"function"!=typeof n&&R(7),N(t)){var a=nt(this),s=ft(this,t,void 0),c=!0;try{o=e(s),c=!1}finally{c?tt(a):et(a)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return $(a,n),it(t,a)}),(function(t){throw tt(a),t})):($(a,n),it(o,a))}if(!t||"object"!=typeof t){if((o=e(t))===wt)return;return void 0===o&&(o=t),this.N&&X(o,!0),o}R(21,t)},e.produceWithPatches=function(t,e){var n,r,i=this;return"function"==typeof t?function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return i.produceWithPatches(e,(function(e){return t.apply(void 0,[e].concat(r))}))}:[this.produce(t,e,(function(t,e){n=t,r=e})),n,r]},e.createDraft=function(t){N(t)||R(8),D(t)&&(t=dt(t));var e=nt(this),n=ft(this,t,void 0);return n[St].C=!0,et(e),n},e.finishDraft=function(t,e){var n=(t&&t[St]).A;return $(n,e),it(void 0,n)},e.setAutoFreeze=function(t){this.N=t},e.setUseProxies=function(t){t&&!xt&&R(20),this.O=t},e.applyPatches=function(t,e){var n;for(n=e.length-1;n>=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}var i=K("Patches").$;return D(t)?i(t,e):this.produce(t,(function(t){return i(t,e.slice(n+1))}))},t}(),Rt=new Tt,Dt=Rt.produce,Nt=Rt.produceWithPatches.bind(Rt),Lt=Rt.setAutoFreeze.bind(Rt),Ft=Rt.setUseProxies.bind(Rt),Bt=Rt.applyPatches.bind(Rt),zt=Rt.createDraft.bind(Rt),Vt=Rt.finishDraft.bind(Rt),Gt=Object.freeze({__proto__:null,default:Dt,Immer:Tt,applyPatches:Bt,castDraft:function(t){return t},castImmutable:function(t){return t},createDraft:zt,current:dt,enableAllPlugins:function(){pt(),Ct(),At()},enableES5:pt,enableMapSet:Ct,enablePatches:At,finishDraft:Vt,immerable:Ot,isDraft:D,isDraftable:N,nothing:wt,original:function(t){return D(t)||R(23,t),t[St].t},produce:Dt,produceWithPatches:Nt,setAutoFreeze:Lt,setUseProxies:Ft});function Wt(){return this.list=[],this.lastItem=void 0,this.size=0,this}Wt.prototype.get=function(t){var e;return this.lastItem&&this.isEqual(this.lastItem.key,t)?this.lastItem.val:(e=this.indexOf(t))>=0?(this.lastItem=this.list[e],this.list[e].val):void 0},Wt.prototype.set=function(t,e){var n;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=e,this):(n=this.indexOf(t))>=0?(this.lastItem=this.list[n],this.list[n].val=e,this):(this.lastItem={key:t,val:e},this.list.push(this.lastItem),this.size++,this)},Wt.prototype.delete=function(t){var e;if(this.lastItem&&this.isEqual(this.lastItem.key,t)&&(this.lastItem=void 0),(e=this.indexOf(t))>=0)return this.size--,this.list.splice(e,1)[0]},Wt.prototype.has=function(t){var e;return!(!this.lastItem||!this.isEqual(this.lastItem.key,t))||(e=this.indexOf(t))>=0&&(this.lastItem=this.list[e],!0)},Wt.prototype.forEach=function(t,e){var n;for(n=0;n<this.size;n++)t.call(e||this,this.list[n].val,this.list[n].key,this)},Wt.prototype.indexOf=function(t){var e;for(e=0;e<this.size;e++)if(this.isEqual(this.list[e].key,t))return e;return-1},Wt.prototype.isEqual=function(t,e){return t===e||t!==t&&e!==e};var Yt=Wt,Ht=function(t){return"function"!==typeof Map||t?new Yt:new Map},Ut=function(t){var e=new Ht(!1),n=[];return function(r){var i=function i(){var o,a,s,c=e,l=arguments.length-1,u=Array(l+1),g=!0;if((i.numArgs||0===i.numArgs)&&i.numArgs!==l+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(s=0;s<l;s++)u[s]={cacheItem:c,arg:arguments[s]},c.has(arguments[s])?c=c.get(arguments[s]):(g=!1,o=new Ht(!1),c.set(arguments[s],o),c=o);return g&&(c.has(arguments[l])?a=c.get(arguments[l]):g=!1),g||(a=r.apply(null,arguments),c.set(arguments[l],a)),t>0&&(u[l]={cacheItem:c,arg:arguments[l]},g?Xt(n,u):n.push(u),n.length>t&&Zt(n.shift())),i.wasMemoized=g,i.numArgs=l+1,a};return i.limit=t,i.wasMemoized=!1,i.cache=e,i.lru=n,i}};function Xt(t,e){var n,r,i,o,a,s=t.length,c=e.length;for(r=0;r<s;r++){for(n=!0,i=0;i<c;i++)if(o=t[r][i].arg,a=e[i].arg,o!==a&&(o===o||a===a)){n=!1;break}if(n)break}t.push(t.splice(r,1)[0])}function Zt(t){var e,n,r=t.length,i=t[r-1];for(i.cacheItem.delete(i.arg),n=r-2;n>=0&&(!(e=(i=t[n]).cacheItem.get(i.arg))||!e.size);n--)i.cacheItem.delete(i.arg)}function qt(t){return"[object Object]"===Object.prototype.toString.call(t)}var Kt=function(t){var e,n;return!1!==qt(t)&&(void 0===(e=t.constructor)||!1!==qt(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))},Qt=Object.defineProperty({isPlainObject:Kt},"__esModule",{value:!0});function Jt(t,e){var n=Object(c.useState)((function(){return{inputs:e,result:t()}}))[0],r=Object(c.useRef)(n),i=Boolean(e&&r.current.inputs&&function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,r.current.inputs))?r.current:{inputs:e,result:t()};return Object(c.useEffect)((function(){r.current=i}),[i]),i.result}function $t(t,e){return Jt((function(){return t}),e)}var te=Jt,ee=$t,ne=Object.freeze({__proto__:null,useCallback:ee,useCallbackOne:$t,useMemo:te,useMemoOne:Jt}),re=v(E),ie=v(T),oe=v(Gt),ae=v(ne),se=I((function(t,e){function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var r=l.a,i=n(r),o=re,a=n(ie),s=n(Ut),c=r.createContext(),u="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function g(t){return function(e,n){var i=r.useContext(t),o=r.useRef(e),a=r.useRef(),s=r.useRef(!0),c=r.useRef(),l=r.useReducer((function(t){return t+1}),0)[1];if(c.current||o.current!==e||void 0===a.current)try{a.current=e(i.getState())}catch(t){throw c.current||t}return u((function(){o.current=e,c.current=void 0})),u((function(){var t=function(){try{var t=o.current(i.getState());if("function"==typeof n?n(a.current,t):a.current===t)return;a.current=t}catch(t){c.current=t}s.current&&l({})},e=i.subscribe(t);return t(),function(){s.current=!1,e()}}),[]),a.current}}var f=g(c);function d(t){return function(e){return e(r.useContext(t).getActions())}}var h=d(c);function p(t){return function(){return r.useContext(t).dispatch}}var A=p(c);function C(){return r.useContext(c)}function v(t){return function(){var e=r.useContext(t),n=r.useState(!1),i=n[0],o=n[1];return r.useEffect((function(){e.persist.resolveRehydration().then((function(){return o(!0)}))}),[]),i}}var I=v(c);function y(){return(y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var m=function(t){var e;return(e={}).$ep_a=!0,e.fn=t,e},b=[function(t){return t}],x=new oe.Immer({useProxies:!0,autoFreeze:!1}),w=function(t){return function t(e){var n=Object.keys(e).reduce((function(t,n){return null==Object.getOwnPropertyDescriptor(e,n).get&&(t[n]=e[n]),t}),{});return Object.keys(n).forEach((function(e){Qt.isPlainObject(n[e])&&(n[e]=t(n[e]))})),n}(t)},O=function(t){return null!=t&&"object"==typeof t&&"function"==typeof t.then};function S(t,e){return t.reduce((function(t,e){return Qt.isPlainObject(t)?t[e]:void 0}),e)}var _=function(t,e,n){0!==t.length?t.reduce((function(e,r,i){return e[r]=i+1===t.length?n:e[r]||{},e[r]}),e):"object"==typeof n&&(Object.keys(e).forEach((function(t){delete e[t]})),Object.keys(n).forEach((function(t){e[t]=n[t]})))},k=function(t){try{var e=[];return Promise.resolve((n=t,new Promise((function(t,r){var i=n[Symbol.iterator]();!function n(o){try{var a=i.next();if(a.done)return t(o),Promise.resolve();var s=function(t,r){try{var i=Promise.resolve(Promise.all([o,a.value])).then((function(t){n(function(t,n){try{return Promise.resolve(n()).then((function(t){e.push(t)}))}catch(t){return Promise.reject(t)}}(0,t[1]))}))}catch(t){return r(t)}return i&&i.then?i.then(void 0,r):i}(0,(function(t){r(t)}));return Promise.resolve(s&&s.then?s.then((function(){})):void 0)}catch(t){return Promise.reject(t)}}(void 0)})))).then((function(){return e}))}catch(t){return Promise.reject(t)}var n};function j(t,e,n,r){var i=function(t){return void 0===t&&(t=!1),function(e,n,r){if(t){var i=S(e,n),o=r(i);return i!==o?function t(e,n,r){if(0===e.length)return r;var i=y({},n),o=e[0];return i[o]=1===e.length?r:t(e.slice(1),i[o],r),i}(e,n,o):n}if(0===e.length){var a=x.createDraft(n),s=r(a);return s?oe.isDraft(s)?x.finishDraft(s):s:x.finishDraft(a)}var c=e.slice(0,e.length-1),l=x.createDraft(n),u=S(c,n),g=r(S(e,l));return g&&(u[e[e.length-1]]=g),x.finishDraft(l)}}(t);return function(t,o){var a=function(t,n){var r=e[n.type];return r?function(t,e,n,r){return i(r,t,(function(t){return n(t,e.payload)}))}(t,n,r,r.definition.meta.parent):t}(t,o),s=n.length>0?function(t,e){return n.reduce((function(t,n){var r=n.key,o=n.reducer;return i(n.parentPath,t,(function(t){return t[r]=o(t[r],e),t}))}),t)}(a,o):a;return t!==s&&r.forEach((function(t){var e=t.bindComputedProperty,n=S(t.parentPath,s);null!=n&&e(n,s)})),s}}var E={getItem:function(){},setItem:function(){},removeItem:function(){}},P=function(t){var e;return function(){if(!e){try{"undefined"!=typeof window&&void 0!==window[t]&&(e=window[t])}catch(t){}e||(e=E)}return e}},M=P("localStorage"),T=P("sessionStorage");function R(t,e){void 0===e&&(e=[]),null==t&&(t=T()),"string"==typeof t&&(t="localStorage"===t?M():"sessionStorage"===t?T():E);var n=[].concat(e).reverse(),r=function(e){var r=t===M()||t===T()?JSON.parse(e).data:e;return n.length>0&&null!=r&&"object"==typeof r&&Object.keys(r).forEach((function(t){r[t]=n.reduce((function(e,n){return n.out(e,t)}),r[t])})),r},i=O(t.getItem("_"));return{isAsync:i,getItem:function(e){if(i)return t.getItem(e).then((function(t){return null!=t?r(t):void 0}));var n=t.getItem(e);return null!=n?r(n):void 0},setItem:function(n,r){return t.setItem(n,function(n){return e.length>0&&null!=n&&"object"==typeof n&&Object.keys(n).forEach((function(t){n[t]=e.reduce((function(e,n){return n.in(e,t)}),n[t])})),t===M()||t===T()?JSON.stringify({data:n}):n}(r))},removeItem:function(e){return t.removeItem(e)}}}function D(t,e){return function(){return 0===e.internals.t.length?Promise.resolve():k(e.internals.t.map((function(e){var n=e.path,r=e.config;return function(){return Promise.resolve(r.storage.removeItem(t(n)))}})))}}function N(t,e,n,r){return 0===n.internals.t.length?Promise.resolve():k(n.internals.t.map((function(i){return function(){var o=i.path,a=i.config,s=a.mergeStrategy,c=a.storage;if(r&&(o.length<1||o[0]!==r))return Promise.resolve();var l=n.internals.o,u=function(t,e){return null!=t&&null!=e&&(typeof t!=typeof e||Array.isArray(t)&&!Array.isArray(e))},g=function(t){null!=t&&function(t,e){if("overwrite"===s)_(o,t,e);else if("mergeShallow"===s){var n=S(o,t);Object.keys(e).forEach((function(t){u(n[t],e[t])||(n[t]=e[t])}))}else"mergeDeep"===s&&function t(e,n){Object.keys(n).forEach((function(r){u(e[r],n[r])||(Qt.isPlainObject(n[r])?(e[r]=e[r]||{},t(e[r],n[r])):e[r]=n[r])}))}(S(o,t),e)}(l,t),e(l)},f=c.getItem(t(o));return O(f)?f.then(g):Promise.resolve(g(f))}})))}var L=function(t,e){console.log("An error occurred in a listener for "+t),console.log(e)},F=function(t,e){return function(){try{var n=e.apply(void 0,[].slice.call(arguments));O(n)&&n.catch((function(e){L(t,e)}))}catch(e){L(t,e)}}};function B(t){return function(){return function(e){return function(n){var r=e(n);if(n&&t.internals.u[n.type]&&t.internals.u[n.type].length>0){var i=t.internals.i[n.type];t.internals.u[n.type].forEach((function(t){t({type:i?i.definition.meta.type:n.type,payload:n.payload,error:n.error,result:n.result})}))}return r}}}}function z(t){return function(e){return function(n){return function(r){return t.internals.s.currentState=e.getState(),t.internals.s.isInReducer=!0,n(r)}}}}function V(t){return function(e){return function(n){return function(r){if(0===t.internals.v.length)return n(r);var i=e.getState(),o=n(r),a=e.getState();return t.internals.v.forEach((function(t){var e=S(t.meta.parent,i),n=S(t.meta.parent,a);if(e!==n){var o=t.dependencyResolvers.map((function(t){return t(e)})),s=t.dependencyResolvers.map((function(t){return t(n)}));o.some((function(t,e){return t!==s[e]}))&&t.actionCreator(o,s,r)}})),o}}}}var G=function(t){console.log(t)},W=function(t,e){console.log("An error occurred in a listener for "+t),console.log(e)},Y=function(t,e){return function(){try{var n=e.apply(void 0,[].slice.call(arguments));O(n)&&n.catch((function(e){W(t,e)}))}catch(e){W(t,e)}}};function H(t,e){void 0===e&&(e={});var n=w(t),r=e.compose,i=e.devTools,c=void 0!==i&&i,l=e.disableImmer,u=void 0!==l&&l,g=e.enhancers,f=void 0===g?[]:g,d=e.initialState,h=void 0===d?{}:d,p=e.injections,A=void 0===p?{}:p,C=e.middleware,v=void 0===C?[]:C,I=e.mockActions,b=void 0!==I&&I,x=e.name,E=void 0===x?"EasyPeasyStore":x,P=e.version,M=void 0===P?0:P,T=e.reducerEnhancer,L=void 0===T?function(t){return t}:T;var W=function(t){return y({},t,{ePRS:m((function(t,e){return e}))})},H={},U=W(n),X=[],Z=function(t){return"["+E+"]["+M+"]"+(t.length>0?"["+t.join(".")+"]":"")},q=function(t,e){var n,r=Promise.resolve(),i=!1,o="undefined"==typeof window?function(t){return t()}:null!=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame;return{persist:function(a){if(0!==e.internals.t.length){var s=function(){i=!0,r=new Promise((function(r){o((function(){k(e.internals.t.map((function(e){var n=e.path,r=e.config;return function(){var e=r.storage,i=r.allow,o=r.deny,s=function(t,e,n){var r=Object.keys(t);return e.length>0&&(r=r.reduce((function(t,n){return-1!==e.findIndex((function(t){return t===n}))?[].concat(t,[n]):t}),[])),n.length>0&&(r=r.reduce((function(t,e){return-1!==n.findIndex((function(t){return t===e}))?t:[].concat(t,[e])}),[])),r}(w(S(n,a)),i,o),c={};return s.map((function(t){var e=S([].concat(n,[t]),a),r=Qt.isPlainObject(e)?w(e):e;c[t]=r})),Promise.resolve(e.setItem(t(n),c))}}))).finally((function(){if(i=!1,n){var t=n;n=null,t()}else r()}))}))}))};i?n=s:s()}},clear:D(t,e),flush:function(){try{return n&&n(),Promise.resolve(r).then((function(){}))}catch(t){return Promise.reject(t)}}}}(Z,H),K=function(t,e){return function(n){var r=n.getState;return function(n){return function(i){var o=n(i);return i&&"@action.ePRS"!==i.type&&e.internals.t.length>0&&t.persist(r()),o}}}}(q,H),Q=function(t){return H.internals.i["@action.ePRS"](t)},J=function(t){void 0===t&&(t={}),H.internals=function(t){var e=t.disableImmer,n=t.reducerEnhancer,r=function(t,e,n,r){var i=e,o={},a={},c={},l={},u=[],g=[],f=[],d={},h={},p=[],A=[],C={isInReducer:!1,currentState:i};return A=A.sort((function(t,e){var n=t.path.join("."),r=e.path.join(".");return n<r?-1:n>r?1:0})),function t(h,C){return Object.keys(h).forEach((function(v){var I=h[v],m=[].concat(C,[v]),b={parent:C,path:m,key:v},x=function(){var t=S(C,e);_(m,i,t&&v in t?t[v]:I)};if("$ep_p"!==v)if(null!=I&&"object"==typeof I)if(I.$ep_a||I.$ep_aO){var w=y({},I),k=w.$ep_a?"@action":"@actionOn";w.meta={actionName:b.key,category:k,type:k+"."+b.path.join("."),parent:b.parent,path:b.path},w.actionCreator=function(t,e){var n=function(n){var r={type:t.meta.type,payload:n};return t.$ep_aO&&t.meta.resolvedTargets&&(n.resolvedTargets=[].concat(t.meta.resolvedTargets)),e.dispatch(r)};return n.type=t.meta.type,n}(w,r),w.actionCreator.definition=w,w.fn.definition=w,o[w.meta.type]=w.actionCreator,c[w.meta.type]=w.fn,"ePRS"!==b.key&&(w.$ep_aO?(p.push(w),_(m,d,w.actionCreator)):_(m,a,w.actionCreator))}else if(I.$ep_t||I.$ep_tO){var j=y({},I),E=(j.$ep_t?"@thunk":"@thunkOn")+"."+b.path.join(".");j.meta={actionName:b.key,parent:b.parent,path:b.path,type:E,startType:E+"(start)",successType:E+"(success)",failType:E+"(fail)"},j.thunkHandler=function(t,e,n,r){return function(i,o){var a={dispatch:e.dispatch,fail:o,getState:function(){return S(t.meta.parent,e.getState())},getStoreActions:function(){return r},getStoreState:e.getState,injections:n,meta:{key:t.meta.actionName,parent:t.meta.parent,path:t.meta.path}};return t.$ep_tO&&t.meta.resolvedTargets&&(i.resolvedTargets=[].concat(t.meta.resolvedTargets)),t.fn(S(t.meta.parent,r),i,a)}}(j,r,n,a),_(m,l,j.thunkHandler),j.actionCreator=function(t,e){var n=function(n){var r=F(t.meta.startType,(function(){return e.dispatch({type:t.meta.startType,payload:n})})),i=F(t.meta.failType,(function(r){return e.dispatch({type:t.meta.failType,payload:n,error:r})})),o=F(t.meta.successType,(function(r){return e.dispatch({type:t.meta.successType,payload:n,result:r})}));r();var a=null,s=function(t){a=t},c=e.dispatch((function(){return t.thunkHandler(n,s)}));return O(c)?c.then((function(t){return a?i(a):o(t),t})):(a?i(a):o(c),c)};return n.type=t.meta.type,n.successType=t.meta.successType,n.failType=t.meta.failType,n.startType=t.meta.startType,n}(j,r),j.actionCreator.definition=j,o[j.meta.type]=j.actionCreator,j.$ep_tO?(p.push(j),_(m,d,j.actionCreator)):_(m,a,j.actionCreator)}else if(I.$ep_c){var P=S(C,i),M=function(t,e,n,r,i){var o=s(1)(n.fn);return function(r,i){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var e=S(t,i),r=n.stateResolvers.map((function(t){return t(e,i)}));return o.apply(void 0,r)}})}}(C,v,I);M(P,i),u.push({key:v,parentPath:C,bindComputedProperty:M})}else if(I.$ep_r)g.push({key:v,parentPath:C,reducer:I.fn});else if(I.$ep_e){var T=y({},I),D="@effectOn."+b.path.join(".");T.meta={type:D,actionName:b.key,parent:b.parent,path:b.path,startType:D+"(start)",successType:D+"(success)",failType:D+"(fail)"};var N=function(t,e,n,r){var i,o=S(t.meta.parent,r);return function(a){var s={dispatch:e.dispatch,getState:function(){return S(t.meta.parent,e.getState())},getStoreActions:function(){return r},getStoreState:e.getState,injections:n,meta:{key:t.meta.actionName,parent:t.meta.parent,path:t.meta.path}};if(void 0!==i){var c=i();i=void 0,O(c)&&c.catch(G)}var l=t.fn(o,a,s);if(O(l))return l.then((function(t){}));"function"==typeof l&&(i=l)}}(T,r,n,a),L=function(t,e,n){var r=function(r,i,o){var a={prev:r,current:i,action:o},s=Y(t.meta.startType,(function(){return e.dispatch({type:t.meta.startType,change:a})})),c=Y(t.meta.successType,(function(){return e.dispatch({type:t.meta.successType,change:a})}));s();try{var l=e.dispatch((function(){return n(a)}));return O(l)?l.then((function(t){return c(t),t}),G):(c(l),l)}catch(t){G(t)}};return r.type=t.meta.type,r.startType=t.meta.startType,r.successType=t.meta.successType,r.failType=t.meta.failType,r}(T,r,N);T.actionCreator=L,f.push(T)}else Qt.isPlainObject(I)?(null==S(m,i)&&_(m,i,{}),t(I,m)):x();else x();else A.push(function(t,e){return void 0===e&&(e={}),{path:t,config:{allow:e.allow||[],deny:e.deny||[],mergeStrategy:e.mergeStrategy||"mergeDeep",storage:R(e.storage,e.transformers)}}}(C,I))}))}(t,[]),function(t,e,n,r){t.forEach((function(t){var i=t.targetResolver(S(t.meta.parent,e),e),o=(Array.isArray(i)?i:[i]).reduce((function(t,e){return"function"==typeof e&&e.definition.meta.type&&n[e.definition.meta.type]?t.push(e.definition.meta.successType?e.definition.meta.successType:e.definition.meta.type):"string"==typeof e&&t.push(e),t}),[]);t.meta.resolvedTargets=o,o.forEach((function(e){var i=r[e]||[];i.push(n[t.meta.type]),r[e]=i}))}))}(p,a,o,h),{i:o,l:a,p:c,m:u,h:g,s:C,o:i,v:f,S:d,u:h,t:A}}(t.model,t.initialState,t.injections,t.references),i=r.m;return{i:r.i,l:r.l,m:i,s:r.s,o:r.o,v:r.v,S:r.S,u:r.u,t:r.t,reducer:n(j(e,r.p,r.h,i))}}({disableImmer:u,initialState:t,injections:A,model:U,reducerEnhancer:L,references:H})},$=r||(c&&"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({name:E}):o.compose);J(h);var tt=[z(H)].concat(v,[a,B(H),V(H),K]);b&&tt.push((function(){return function(){return function(t){null!=t&&X.push(t)}}}));var et=o.createStore(H.internals.reducer,H.internals.o,$.apply(void 0,[o.applyMiddleware.apply(void 0,tt)].concat(f)));et.subscribe((function(){H.internals.s.isInReducer=!1})),H.dispatch=et.dispatch,H.getState=et.getState;var nt=function(){Object.keys(et.dispatch).forEach((function(t){delete et.dispatch[t]})),Object.keys(H.internals.l).forEach((function(t){et.dispatch[t]=H.internals.l[t]}))};nt();var rt=function(t){var e=et.getState();t&&delete e[t],J(e),et.replaceReducer(H.internals.reducer),Q(H.internals.o),nt()},it=N(Z,Q,H);return Object.assign(et,{addModel:function(t,e){U[t],U[t]=e,rt();var n=N(Z,Q,H,t);return{resolveRehydration:function(){return n}}},clearMockedActions:function(){X=[]},getActions:function(){return H.internals.l},getListeners:function(){return H.internals.S},getMockedActions:function(){return[].concat(X)},persist:{clear:q.clear,flush:q.flush,resolveRehydration:function(){return it}},reconfigure:function(t){U=W(t),rt()},removeModel:function(t){U[t]&&(delete U[t],rt(t))}})}e.StoreProvider=function(t){return i.createElement(c.Provider,{value:t.store},t.children)},e.action=m,e.actionOn=function(t,e){var n;return(n={}).$ep_aO=!0,n.fn=e,n.targetResolver=t,n},e.computed=function(t,e){var n,r;return"function"==typeof e?((r={}).$ep_c=!0,r.fn=e,r.stateResolvers=t,r):((n={}).$ep_c=!0,n.fn=t,n.stateResolvers=b,n)},e.createContextStore=function(t,e){void 0===e&&(e={});var n=e.injections,o=void 0===n?{}:n,a=r.createContext();return{Provider:function(n){var r=n.children,s=n.runtimeModel,c=n.injections;if(null!=c){var l="function"==typeof c?c(o):c,u=Object.keys(l);Object.keys(o).filter((function(t){return!u.includes(t)})).forEach((function(t){delete o[t]})),Object.assign(o,l)}var g=ae.useMemoOne((function(){return H("function"==typeof t?t(s):t,y({},e,{originalInjections:o}))}),[]);return i.createElement(a.Provider,{value:g},r)},useStore:function(){return r.useContext(a)},useStoreState:g(a),useStoreActions:d(a),useStoreDispatch:p(a),useStoreRehydrated:v(a)}},e.createStore=H,e.createTransform=function(t,e,n){void 0===n&&(n={});var r=n.whitelist||null,i=n.blacklist||null;function o(t){return!(!r||-1!==r.indexOf(t))||!(!i||-1===i.indexOf(t))}return{in:function(e,n,r){return!o(n)&&t?t(e,n,r):e},out:function(t,n,r){return!o(n)&&e?e(t,n,r):t}}},e.createTypedHooks=function(){return{useStoreActions:h,useStoreDispatch:A,useStoreState:f,useStoreRehydrated:I,useStore:C}},e.debug=function(t){return oe.isDraft(t)?oe.current(t):t},e.generic=function(t){return t},e.memo=function(t,e){return s(e)(t)},e.persist=function(t,e){var n;return"undefined"==typeof window?t:y({},t,((n={}).$ep_p=e,n))},e.reducer=function(t){var e;return(e={}).$ep_r=!0,e.fn=t,e},e.thunk=function(t){var e;return(e={}).$ep_t=!0,e.fn=t,e},e.thunkOn=function(t,e){var n;return(n={}).$ep_tO=!0,n.fn=e,n.targetResolver=t,n},e.unstable_effectOn=function(t,e){var n;return(n={}).$ep_e=!0,n.dependencyResolvers=t,n.fn=e,n},e.useLocalStore=function(t,e,n){void 0===e&&(e=[]);var i=r.useRef(),o=r.useRef(),a=ae.useMemoOne((function(){var e=null!=i.current?i.current.getState():void 0,r=null!=n?n(e,o.current):void 0,a=H(t(e),r);return o.current=r,i.current=a,a}),e),s=r.useState((function(){return a.getState()})),c=s[0],l=s[1];return r.useEffect((function(){return a.subscribe((function(){var t=a.getState();c!==t&&l(t)}))}),[a]),[c,a.getActions(),a]},e.useStore=C,e.useStoreActions=h,e.useStoreDispatch=A,e.useStoreRehydrated=I,e.useStoreState=f})),ce=se.createTypedHooks(),le=ce.useStoreActions,ue=(ce.useStoreDispatch,ce.useStoreState),ge=ce.useStore,fe=function(t){var e=null===t||void 0===t?void 0:t.target;return["INPUT","SELECT","TEXTAREA","BUTTON"].includes(null===e||void 0===e?void 0:e.nodeName)||(null===e||void 0===e?void 0:e.hasAttribute("contenteditable"))},de=function(t){return{width:t.offsetWidth,height:t.offsetHeight}},he=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.min(Math.max(t,e),n)},pe=function(t){var e=Object(c.useState)(!1),n=e[0],r=e[1];return Object(c.useEffect)((function(){if("undefined"!==typeof t){var e=function(e){fe(e)||e.key!==t&&e.keyCode!==t||(e.preventDefault(),r(!0))},n=function(e){fe(e)||e.key!==t&&e.keyCode!==t||r(!1)},i=function(){return r(!1)};return window.addEventListener("keydown",e),window.addEventListener("keyup",n),window.addEventListener("blur",i),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",n),window.removeEventListener("blur",i)}}}),[t,r]),n},Ae=function(t){return"id"in t&&"source"in t&&"target"in t},Ce=function(t){return"id"in t&&!("source"in t)&&!("target"in t)},ve=function(t){return function(e){var n=t.getState();return function(t,e,n,r){var i=t.x,o=t.y,a=e[0],s=e[1],c=e[2],l=r[0],u=r[1],g={x:(i-a)/c,y:(o-s)/c};return n?{x:l*Math.round(g.x/l),y:u*Math.round(g.y/u)}:g}(e,n.transform,n.snapToGrid,n.snapGrid)}},Ie=function(t,e){return{x:Math.min(t.x,e.x),y:Math.min(t.y,e.y),x2:Math.max(t.x2,e.x2),y2:Math.max(t.y2,e.y2)}},ye=function(t){var e=t.x,n=t.y;return{x:e,y:n,x2:e+t.width,y2:n+t.height}},me=function(t){var e=t.x,n=t.y;return{x:e,y:n,width:t.x2-e,height:t.y2-n}},be=function(t){var e=t.reduce((function(t,e){var n=e.__rf,r=void 0===n?{}:n,i=r.position,o=r.width,a=r.height;return Ie(t,ye(d(d({},i),{width:o,height:a})))}),{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return me(e)},xe=function(t,e,n,r){var i=void 0===n?[0,0,1]:n,o=i[0],a=i[1],s=i[2];void 0===r&&(r=!1);var c=ye({x:(e.x-o)/s,y:(e.y-a)/s,width:e.width/s,height:e.height/s});return t.filter((function(t){var e=t.__rf,n=e.position,i=e.width,o=e.height,a=e.isDragging,s=ye(d(d({},n),{width:i,height:o})),l=Math.max(0,Math.min(c.x2,s.x2)-Math.max(c.x,s.x)),u=Math.max(0,Math.min(c.y2,s.y2)-Math.max(c.y,s.y)),g=Math.ceil(l*u);return!(null!==i&&null!==o&&!a)||(r?g>0:g>=i*o)}))},we=function(t,e){var n=t.map((function(t){return t.id}));return e.filter((function(t){return n.includes(t.source)||n.includes(t.target)}))},Oe=function(t,e){return p(t.map((function(t){var e=d({},t);return e.position=e.__rf.position,delete e.__rf,e})),e.map((function(t){return d({},t)})))},Se=function(t){return function(){var e=t.getState(),n=e.nodes,r=void 0===n?[]:n,i=e.edges;return Oe(r,void 0===i?[]:i)}},_e=function(t){return function(){var e=t.getState(),n=e.nodes,r=void 0===n?[]:n,i=e.edges,o=void 0===i?[]:i,a=e.transform;return{elements:Oe(r,o),position:[a[0],a[1]],zoom:a[2]}}},ke={value:function(){}};function je(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new Ee(r)}function Ee(t){this._=t}function Pe(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function Me(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function Te(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=ke,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}Ee.prototype=je.prototype={constructor:Ee,on:function(t,e){var n,r=this._,i=Pe(t+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=Te(r[n],t.name,e);else if(null==e)for(n in r)r[n]=Te(r[n],t.name,null);return this}for(;++o<a;)if((n=(t=i[o]).type)&&(n=Me(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Ee(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var Re="http://www.w3.org/1999/xhtml",De={svg:"http://www.w3.org/2000/svg",xhtml:Re,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ne(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),De.hasOwnProperty(e)?{space:De[e],local:t}:t}function Le(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Re&&e.documentElement.namespaceURI===Re?e.createElement(t):e.createElementNS(n,t)}}function Fe(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Be(t){var e=Ne(t);return(e.local?Fe:Le)(e)}function ze(){}function Ve(t){return null==t?ze:function(){return this.querySelector(t)}}function Ge(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}function We(){return[]}function Ye(t){return null==t?We:function(){return this.querySelectorAll(t)}}function He(t){return function(){return this.matches(t)}}function Ue(t){return function(e){return e.matches(t)}}var Xe=Array.prototype.find;function Ze(){return this.firstElementChild}var qe=Array.prototype.filter;function Ke(){return this.children}function Qe(t){return new Array(t.length)}function Je(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function $e(t){return function(){return t}}function tn(t,e,n,r,i,o){for(var a,s=0,c=e.length,l=o.length;s<l;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new Je(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function en(t,e,n,r,i,o,a){var s,c,l,u=new Map,g=e.length,f=o.length,d=new Array(g);for(s=0;s<g;++s)(c=e[s])&&(d[s]=l=a.call(c,c.__data__,s,e)+"",u.has(l)?i[s]=c:u.set(l,c));for(s=0;s<f;++s)l=a.call(t,o[s],s,o)+"",(c=u.get(l))?(r[s]=c,c.__data__=o[s],u.delete(l)):n[s]=new Je(t,o[s]);for(s=0;s<g;++s)(c=e[s])&&u.get(d[s])===c&&(i[s]=c)}function nn(t){return t.__data__}function rn(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function on(t){return function(){this.removeAttribute(t)}}function an(t){return function(){this.removeAttributeNS(t.space,t.local)}}function sn(t,e){return function(){this.setAttribute(t,e)}}function cn(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function ln(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function un(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function gn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function fn(t){return function(){this.style.removeProperty(t)}}function dn(t,e,n){return function(){this.style.setProperty(t,e,n)}}function hn(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function pn(t,e){return t.style.getPropertyValue(e)||gn(t).getComputedStyle(t,null).getPropertyValue(e)}function An(t){return function(){delete this[t]}}function Cn(t,e){return function(){this[t]=e}}function vn(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function In(t){return t.trim().split(/^|\s+/)}function yn(t){return t.classList||new mn(t)}function mn(t){this._node=t,this._names=In(t.getAttribute("class")||"")}function bn(t,e){for(var n=yn(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function xn(t,e){for(var n=yn(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function wn(t){return function(){bn(this,t)}}function On(t){return function(){xn(this,t)}}function Sn(t,e){return function(){(e.apply(this,arguments)?bn:xn)(this,t)}}function _n(){this.textContent=""}function kn(t){return function(){this.textContent=t}}function jn(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function En(){this.innerHTML=""}function Pn(t){return function(){this.innerHTML=t}}function Mn(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function Tn(){this.nextSibling&&this.parentNode.appendChild(this)}function Rn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Dn(){return null}function Nn(){var t=this.parentNode;t&&t.removeChild(this)}function Ln(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Fn(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Bn(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function zn(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function Vn(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function Gn(t,e,n){var r=gn(t),i=r.CustomEvent;"function"===typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function Wn(t,e){return function(){return Gn(this,t,e)}}function Yn(t,e){return function(){return Gn(this,t,e.apply(this,arguments))}}function Hn(){var t,e,n,r,i,o,s;return a.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:t=this._groups,e=0,n=t.length;case 1:if(!(e<n)){a.next=13;break}r=t[e],i=0,o=r.length;case 3:if(!(i<o)){a.next=10;break}if(!(s=r[i])){a.next=7;break}return a.next=7,s;case 7:++i,a.next=3;break;case 10:++e,a.next=1;break;case 13:case"end":return a.stop()}}),f,this)}Je.prototype={constructor:Je,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},mn.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Un=[null];function Xn(t,e){this._groups=t,this._parents=e}function Zn(){return new Xn([[document.documentElement]],Un)}function qn(t){return"string"===typeof t?new Xn([[document.querySelector(t)]],[document.documentElement]):new Xn([[t]],Un)}function Kn(t,e){if(t=function(t){for(var e;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}function Qn(t){t.preventDefault(),t.stopImmediatePropagation()}function Jn(t){var e=t.document.documentElement,n=qn(t).on("dragstart.drag",Qn,!0);"onselectstart"in e?n.on("selectstart.drag",Qn,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function $n(t,e){var n=t.document.documentElement,r=qn(t).on("dragstart.drag",null);e&&(r.on("click.drag",Qn,!0),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function tr(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function er(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function nr(){}Xn.prototype=Zn.prototype=Object(i.a)({constructor:Xn,select:function(t){"function"!==typeof t&&(t=Ve(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=e[i],c=s.length,l=r[i]=new Array(c),u=0;u<c;++u)(o=s[u])&&(a=t.call(o,o.__data__,u,s))&&("__data__"in o&&(a.__data__=o.__data__),l[u]=a);return new Xn(r,this._parents)},selectAll:function(t){t="function"===typeof t?function(t){return function(){var e=t.apply(this,arguments);return null==e?[]:Ge(e)}}(t):Ye(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,s=e[o],c=s.length,l=0;l<c;++l)(a=s[l])&&(r.push(t.call(a,a.__data__,l,s)),i.push(a));return new Xn(r,i)},selectChild:function(t){return this.select(null==t?Ze:function(t){return function(){return Xe.call(this.children,t)}}("function"===typeof t?t:Ue(t)))},selectChildren:function(t){return this.selectAll(null==t?Ke:function(t){return function(){return qe.call(this.children,t)}}("function"===typeof t?t:Ue(t)))},filter:function(t){"function"!==typeof t&&(t=He(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],l=0;l<s;++l)(o=a[l])&&t.call(o,o.__data__,l,a)&&c.push(o);return new Xn(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,nn);var n=e?en:tn,r=this._parents,i=this._groups;"function"!==typeof t&&(t=$e(t));for(var o=i.length,a=new Array(o),s=new Array(o),c=new Array(o),l=0;l<o;++l){var u=r[l],g=i[l],f=g.length,d=Ge(t.call(u,u&&u.__data__,l,r)),h=d.length,p=s[l]=new Array(h),A=a[l]=new Array(h),C=c[l]=new Array(f);n(u,g,p,A,C,d,e);for(var v,I,y=0,m=0;y<h;++y)if(v=p[y]){for(y>=m&&(m=y+1);!(I=A[m])&&++m<h;);v._next=I||null}}return(a=new Xn(a,r))._enter=s,a._exit=c,a},enter:function(){return new Xn(this._enter||this._groups.map(Qe),this._parents)},exit:function(){return new Xn(this._exit||this._groups.map(Qe),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return r="function"===typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){if(!(t instanceof Xn))throw new Error("invalid merge");for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,l=e[s],u=n[s],g=l.length,f=a[s]=new Array(g),d=0;d<g;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)a[s]=e[s];return new Xn(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=rn);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],c=s.length,l=i[o]=new Array(c),u=0;u<c;++u)(a=s[u])&&(l[u]=a);l.sort(e)}return new Xn(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t,e=0,n=Object(s.a)(this);try{for(n.s();!(t=n.n()).done;){t.value;++e}}catch(r){n.e(r)}finally{n.f()}return e},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=Ne(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?an:on:"function"===typeof e?n.local?un:ln:n.local?cn:sn)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?fn:"function"===typeof e?hn:dn)(t,e,null==n?"":n)):pn(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?An:"function"===typeof e?vn:Cn)(t,e)):this.node()[t]},classed:function(t,e){var n=In(t+"");if(arguments.length<2){for(var r=yn(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"===typeof e?Sn:e?wn:On)(n,e))},text:function(t){return arguments.length?this.each(null==t?_n:("function"===typeof t?jn:kn)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?En:("function"===typeof t?Mn:Pn)(t)):this.node().innerHTML},raise:function(){return this.each(Tn)},lower:function(){return this.each(Rn)},append:function(t){var e="function"===typeof t?t:Be(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"===typeof t?t:Be(t),r=null==e?Dn:"function"===typeof e?e:Ve(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(Nn)},clone:function(t){return this.select(t?Fn:Ln)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=Bn(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Vn:zn,r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"===typeof e?Yn:Wn)(t,e))}},Symbol.iterator,Hn);var rr=.7,ir=1/rr,or="\\s*([+-]?\\d+)\\s*",ar="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",sr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",cr=/^#([0-9a-f]{3,8})$/,lr=new RegExp("^rgb\\("+[or,or,or]+"\\)$"),ur=new RegExp("^rgb\\("+[sr,sr,sr]+"\\)$"),gr=new RegExp("^rgba\\("+[or,or,or,ar]+"\\)$"),fr=new RegExp("^rgba\\("+[sr,sr,sr,ar]+"\\)$"),dr=new RegExp("^hsl\\("+[ar,sr,sr]+"\\)$"),hr=new RegExp("^hsla\\("+[ar,sr,sr,ar]+"\\)$"),pr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ar(){return this.rgb().formatHex()}function Cr(){return this.rgb().formatRgb()}function vr(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=cr.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Ir(e):3===n?new xr(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?yr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?yr(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=lr.exec(t))?new xr(e[1],e[2],e[3],1):(e=ur.exec(t))?new xr(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=gr.exec(t))?yr(e[1],e[2],e[3],e[4]):(e=fr.exec(t))?yr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=dr.exec(t))?_r(e[1],e[2]/100,e[3]/100,1):(e=hr.exec(t))?_r(e[1],e[2]/100,e[3]/100,e[4]):pr.hasOwnProperty(t)?Ir(pr[t]):"transparent"===t?new xr(NaN,NaN,NaN,0):null}function Ir(t){return new xr(t>>16&255,t>>8&255,255&t,1)}function yr(t,e,n,r){return r<=0&&(t=e=n=NaN),new xr(t,e,n,r)}function mr(t){return t instanceof nr||(t=vr(t)),t?new xr((t=t.rgb()).r,t.g,t.b,t.opacity):new xr}function br(t,e,n,r){return 1===arguments.length?mr(t):new xr(t,e,n,null==r?1:r)}function xr(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function wr(){return"#"+Sr(this.r)+Sr(this.g)+Sr(this.b)}function Or(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Sr(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function _r(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new jr(t,e,n,r)}function kr(t){if(t instanceof jr)return new jr(t.h,t.s,t.l,t.opacity);if(t instanceof nr||(t=vr(t)),!t)return new jr;if(t instanceof jr)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new jr(a,s,c,t.opacity)}function jr(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Er(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}tr(nr,vr,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Ar,formatHex:Ar,formatHsl:function(){return kr(this).formatHsl()},formatRgb:Cr,toString:Cr}),tr(xr,br,er(nr,{brighter:function(t){return t=null==t?ir:Math.pow(ir,t),new xr(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?rr:Math.pow(rr,t),new xr(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:wr,formatHex:wr,formatRgb:Or,toString:Or})),tr(jr,(function(t,e,n,r){return 1===arguments.length?kr(t):new jr(t,e,n,null==r?1:r)}),er(nr,{brighter:function(t){return t=null==t?ir:Math.pow(ir,t),new jr(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?rr:Math.pow(rr,t),new jr(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new xr(Er(t>=240?t-240:t+120,i,r),Er(t,i,r),Er(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Pr=function(t){return function(){return t}};function Mr(t){return 1===(t=+t)?Tr:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Pr(isNaN(e)?n:e)}}function Tr(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Pr(isNaN(t)?e:t)}var Rr=function t(e){var n=Mr(e);function r(t,e){var r=n((t=br(t)).r,(e=br(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=Tr(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Dr(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var Nr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Lr=new RegExp(Nr.source,"g");function Fr(t,e){var n,r,i,o=Nr.lastIndex=Lr.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=Nr.exec(t))&&(r=Lr.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:Dr(n,r)})),o=Lr.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}var Br,zr=180/Math.PI,Vr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Gr(t,e,n,r,i,o){var a,s,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*zr,skewX:Math.atan(c)*zr,scaleX:a,scaleY:s}}function Wr(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],c=[];return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var c=a.push("translate(",null,e,null,n);s.push({i:c-4,x:Dr(t,i)},{i:c-2,x:Dr(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,c),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Dr(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Dr(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Dr(t,n)},{i:s-2,x:Dr(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n<r;)s[(e=c[n]).i]=e.x(t);return s.join("")}}}var Yr=Wr((function(t){var e=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Vr:Gr(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),Hr=Wr((function(t){return null==t?Vr:(Br||(Br=document.createElementNS("http://www.w3.org/2000/svg","g")),Br.setAttribute("transform",t),(t=Br.transform.baseVal.consolidate())?Gr((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Vr)}),", ",")",")");function Ur(t){return((t=Math.exp(t))+1/t)/2}var Xr,Zr,qr=function t(e,n,r){function i(t,i){var o,a,s=t[0],c=t[1],l=t[2],u=i[0],g=i[1],f=i[2],d=u-s,h=g-c,p=d*d+h*h;if(p<1e-12)a=Math.log(f/l)/e,o=function(t){return[s+t*d,c+t*h,l*Math.exp(e*t*a)]};else{var A=Math.sqrt(p),C=(f*f-l*l+r*p)/(2*l*n*A),v=(f*f-l*l-r*p)/(2*f*n*A),I=Math.log(Math.sqrt(C*C+1)-C),y=Math.log(Math.sqrt(v*v+1)-v);a=(y-I)/e,o=function(t){var r=t*a,i=Ur(I),o=l/(n*A)*(i*function(t){return((t=Math.exp(2*t))-1)/(t+1)}(e*r+I)-function(t){return((t=Math.exp(t))-1/t)/2}(I));return[s+o*d,c+o*h,l*i/Ur(e*r+I)]}}return o.duration=1e3*a*e/Math.SQRT2,o}return i.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},i}(Math.SQRT2,2,4),Kr=0,Qr=0,Jr=0,$r=0,ti=0,ei=0,ni="object"===typeof performance&&performance.now?performance:Date,ri="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ii(){return ti||(ri(oi),ti=ni.now()+ei)}function oi(){ti=0}function ai(){this._call=this._time=this._next=null}function si(t,e,n){var r=new ai;return r.restart(t,e,n),r}function ci(){ti=($r=ni.now())+ei,Kr=Qr=0;try{!function(){ii(),++Kr;for(var t,e=Xr;e;)(t=ti-e._time)>=0&&e._call.call(null,t),e=e._next;--Kr}()}finally{Kr=0,function(){var t,e,n=Xr,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Xr=e);Zr=t,ui(r)}(),ti=0}}function li(){var t=ni.now(),e=t-$r;e>1e3&&(ei-=e,$r=t)}function ui(t){Kr||(Qr&&(Qr=clearTimeout(Qr)),t-ti>24?(t<1/0&&(Qr=setTimeout(ci,t-ni.now()-ei)),Jr&&(Jr=clearInterval(Jr))):(Jr||($r=ni.now(),Jr=setInterval(li,1e3)),Kr=1,ri(ci)))}function gi(t,e,n){var r=new ai;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r}ai.prototype=si.prototype={constructor:ai,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?ii():+n)+(null==e?0:+e),this._next||Zr===this||(Zr?Zr._next=this:Xr=this,Zr=this),this._call=t,this._time=n,ui()},stop:function(){this._call&&(this._call=null,this._time=1/0,ui())}};var fi=je("start","end","cancel","interrupt"),di=[];function hi(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(o){var l,u,g,f;if(1!==n.state)return c();for(l in i)if((f=i[l]).name===n.name){if(3===f.state)return gi(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(gi((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(o))})),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(g=n.tween.length),l=0,u=-1;l<g;++l)(f=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=si(o,0,n.time)}(t,n,{name:e,index:r,group:i,on:fi,tween:di,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function pi(t,e){var n=Ci(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function Ai(t,e){var n=Ci(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Ci(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function vi(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}function Ii(t,e){var n,r;return function(){var i=Ai(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function yi(t,e,n){var r,i;if("function"!==typeof n)throw new Error;return function(){var o=Ai(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===e){i[c]=s;break}c===l&&i.push(s)}o.tween=i}}function mi(t,e,n){var r=t._id;return t.each((function(){var t=Ai(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return Ci(t,r).value[e]}}function bi(t,e){var n;return("number"===typeof e?Dr:e instanceof vr?Rr:(n=vr(e))?(e=n,Rr):Fr)(t,e)}function xi(t){return function(){this.removeAttribute(t)}}function wi(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Oi(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function Si(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function _i(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttribute(t))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttribute(t)}}function ki(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttributeNS(t.space,t.local)}}function ji(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Ei(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Pi(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Ei(t,i)),n}return i._value=e,i}function Mi(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&ji(t,i)),n}return i._value=e,i}function Ti(t,e){return function(){pi(this,t).delay=+e.apply(this,arguments)}}function Ri(t,e){return e=+e,function(){pi(this,t).delay=e}}function Di(t,e){return function(){Ai(this,t).duration=+e.apply(this,arguments)}}function Ni(t,e){return e=+e,function(){Ai(this,t).duration=e}}function Li(t,e){if("function"!==typeof e)throw new Error;return function(){Ai(this,t).ease=e}}function Fi(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?pi:Ai;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var Bi=Zn.prototype.constructor;function zi(t){return function(){this.style.removeProperty(t)}}function Vi(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Gi(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Vi(t,o,n)),r}return o._value=e,o}function Wi(t){return function(e){this.textContent=t.call(this,e)}}function Yi(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Wi(r)),e}return r._value=t,r}var Hi=0;function Ui(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Xi(){return++Hi}var Zi=Zn.prototype;Ui.prototype=Object(i.a)({constructor:Ui,select:function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=Ve(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,c,l=r[a],u=l.length,g=o[a]=new Array(u),f=0;f<u;++f)(s=l[f])&&(c=t.call(s,s.__data__,f,l))&&("__data__"in s&&(c.__data__=s.__data__),g[f]=c,hi(g[f],e,n,f,g,Ci(s,n)));return new Ui(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=Ye(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var c,l=r[s],u=l.length,g=0;g<u;++g)if(c=l[g]){for(var f,d=t.call(c,c.__data__,g,l),h=Ci(c,n),p=0,A=d.length;p<A;++p)(f=d[p])&&hi(f,e,n,p,d,h);o.push(d),a.push(c)}return new Ui(o,a,e,n)},filter:function(t){"function"!==typeof t&&(t=He(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],l=0;l<s;++l)(o=a[l])&&t.call(o,o.__data__,l,a)&&c.push(o);return new Ui(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,l=e[s],u=n[s],g=l.length,f=a[s]=new Array(g),d=0;d<g;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)a[s]=e[s];return new Ui(a,this._parents,this._name,this._id)},selection:function(){return new Bi(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Xi(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,l=0;l<c;++l)if(a=s[l]){var u=Ci(a,e);hi(a,t,n,l,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ui(r,this._parents,t,n)},call:Zi.call,nodes:Zi.nodes,node:Zi.node,size:Zi.size,empty:Zi.empty,each:Zi.each,on:function(t,e){var n=this._id;return arguments.length<2?Ci(this.node(),n).on.on(t):this.each(Fi(n,t,e))},attr:function(t,e){var n=Ne(t),r="transform"===n?Hr:bi;return this.attrTween(t,"function"===typeof e?(n.local?ki:_i)(n,r,mi(this,"attr."+t,e)):null==e?(n.local?wi:xi)(n):(n.local?Si:Oi)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!==typeof e)throw new Error;var r=Ne(t);return this.tween(n,(r.local?Pi:Mi)(r,e))},style:function(t,e,n){var r="transform"===(t+="")?Yr:bi;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=pn(this,t),a=(this.style.removeProperty(t),pn(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,zi(t)):"function"===typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=pn(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=pn(this,t)),a===c?null:a===r&&c===i?o:(i=c,o=e(r=a,s))}}(t,r,mi(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,s="end."+a;return function(){var c=Ai(this,t),l=c.on,u=null==c.value[a]?o||(o=zi(e)):void 0;l===n&&i===u||(r=(n=l).copy()).on(s,i=u),c.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=pn(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!==typeof e)throw new Error;return this.tween(r,Gi(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"===typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(mi(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!==typeof t)throw new Error;return this.tween(e,Yi(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=Ci(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?Ii:yi)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?Ti:Ri)(e,t)):Ci(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?Di:Ni)(e,t)):Ci(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(Li(e,t)):Ci(this.node(),e).ease},easeVarying:function(t){if("function"!==typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!==typeof n)throw new Error;Ai(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},c={value:function(){0===--i&&o()}};n.each((function(){var n=Ai(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e})),0===i&&o()}))}},Symbol.iterator,Zi[Symbol.iterator]);var qi={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Ki(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error("transition ".concat(e," not found"));return n}Zn.prototype.interrupt=function(t){return this.each((function(){vi(this,t)}))},Zn.prototype.transition=function(t){var e,n;t instanceof Ui?(e=t._id,t=t._name):(e=Xi(),(n=qi).time=ii(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,l=0;l<c;++l)(a=s[l])&&hi(a,t,e,l,s,n||Ki(a,e));return new Ui(r,this._parents,t,e)};var Qi=function(t){return function(){return t}};function Ji(t,e){var n=e.sourceEvent,r=e.target,i=e.transform,o=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function $i(t,e,n){this.k=t,this.x=e,this.y=n}$i.prototype={constructor:$i,scale:function(t){return 1===t?this:new $i(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new $i(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var to=new $i(1,0,0);function eo(t){t.stopImmediatePropagation()}function no(t){t.preventDefault(),t.stopImmediatePropagation()}function ro(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function io(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function oo(){return this.__zoom||to}function ao(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function so(){return navigator.maxTouchPoints||"ontouchstart"in this}function co(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}var lo,uo,go,fo,ho,po;!function(t){t.Left="left",t.Top="top",t.Right="right",t.Bottom="bottom"}(lo||(lo={})),function(t){t.Arrow="arrow",t.ArrowClosed="arrowclosed"}(uo||(uo={})),function(t){t.Lines="lines",t.Dots="dots"}(go||(go={})),function(t){t.Strict="strict",t.Loose="loose"}(fo||(fo={})),function(t){t.Bezier="default",t.Straight="straight",t.Step="step",t.SmoothStep="smoothstep"}(ho||(ho={})),function(t){t.Free="free",t.Vertical="vertical",t.Horizontal="horizontal"}(po||(po={}));var Ao=function(t,e){return t.x!==e.x||t.y!==e.y||t.zoom!==e.k},Co=function(t){return{x:t.x,y:t.y,zoom:t.k}},vo=function(t){var e=t.onMove,n=t.onMoveStart,r=t.onMoveEnd,i=t.zoomOnScroll,o=void 0===i||i,a=t.zoomOnPinch,s=void 0===a||a,u=t.panOnScroll,g=void 0!==u&&u,f=t.panOnScrollSpeed,d=void 0===f?.5:f,h=t.panOnScrollMode,p=void 0===h?po.Free:h,A=t.zoomOnDoubleClick,C=void 0===A||A,v=t.selectionKeyPressed,I=t.elementsSelectable,y=t.paneMoveable,m=void 0===y||y,b=t.defaultPosition,x=void 0===b?[0,0]:b,w=t.defaultZoom,O=void 0===w?1:w,S=t.translateExtent,_=t.zoomActivationKeyCode,k=t.children,j=Object(c.useRef)(null),E=Object(c.useRef)({x:0,y:0,zoom:0}),P=ge(),M=ue((function(t){return t.d3Zoom})),T=ue((function(t){return t.d3Selection})),R=ue((function(t){return t.d3ZoomHandler})),D=le((function(t){return t.initD3Zoom})),N=le((function(t){return t.updateTransform})),L=pe(_);return function(t){var e=le((function(t){return t.updateSize}));Object(c.useEffect)((function(){var n,r=function(){if(t.current){var n=de(t.current);0!==n.height&&0!==n.width||console.warn("The React Flow parent container needs a width and a height to render the graph."),e(n)}};return r(),window.onresize=r,t.current&&(n=new ResizeObserver((function(){return r()}))).observe(t.current),function(){window.onresize=null,n&&t.current&&n.unobserve(t.current)}}),[])}(j),Object(c.useEffect)((function(){if(j.current){var t=P.getState(),e="undefined"!==typeof S?S:t.translateExtent,n=function(){var t,e,n,r=ro,i=io,o=co,a=ao,s=so,c=[0,1/0],l=[[-1/0,-1/0],[1/0,1/0]],u=250,g=qr,f=je("start","zoom","end"),d=500,h=0,p=10;function A(t){t.property("__zoom",oo).on("wheel.zoom",x).on("mousedown.zoom",w).on("dblclick.zoom",O).filter(s).on("touchstart.zoom",S).on("touchmove.zoom",_).on("touchend.zoom touchcancel.zoom",k).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function C(t,e){return(e=Math.max(c[0],Math.min(c[1],e)))===t.k?t:new $i(e,t.x,t.y)}function v(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new $i(t.k,r,i)}function I(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function y(t,e,n,r){t.on("start.zoom",(function(){m(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){m(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,a=m(t,o).event(r),s=i.apply(t,o),c=null==n?I(s):"function"===typeof n?n.apply(t,o):n,l=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),u=t.__zoom,f="function"===typeof e?e.apply(t,o):e,d=g(u.invert(c).concat(l/u.k),f.invert(c).concat(l/f.k));return function(t){if(1===t)t=f;else{var e=d(t),n=l/e[2];t=new $i(n,c[0]-e[0]*n,c[1]-e[1]*n)}a.zoom(null,t)}}))}function m(t,e,n){return!n&&t.__zooming||new b(t,e)}function b(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,e),this.taps=0}function x(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(r.apply(this,arguments)){var s=m(this,n).event(t),u=this.__zoom,g=Math.max(c[0],Math.min(c[1],u.k*Math.pow(2,a.apply(this,arguments)))),f=Kn(t);if(s.wheel)s.mouse[0][0]===f[0]&&s.mouse[0][1]===f[1]||(s.mouse[1]=u.invert(s.mouse[0]=f)),clearTimeout(s.wheel);else{if(u.k===g)return;s.mouse=[f,u.invert(f)],vi(this),s.start()}no(t),s.wheel=setTimeout(d,150),s.zoom("mouse",o(v(C(u,g),s.mouse[0],s.mouse[1]),s.extent,l))}function d(){s.wheel=null,s.end()}}function w(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),a=1;a<e;a++)i[a-1]=arguments[a];if(!n&&r.apply(this,arguments)){var s=m(this,i,!0).event(t),c=qn(t.view).on("mousemove.zoom",p,!0).on("mouseup.zoom",A,!0),u=Kn(t,g),g=t.currentTarget,f=t.clientX,d=t.clientY;Jn(t.view),eo(t),s.mouse=[u,this.__zoom.invert(u)],vi(this),s.start()}function p(t){if(no(t),!s.moved){var e=t.clientX-f,n=t.clientY-d;s.moved=e*e+n*n>h}s.event(t).zoom("mouse",o(v(s.that.__zoom,s.mouse[0]=Kn(t,g),s.mouse[1]),s.extent,l))}function A(t){c.on("mousemove.zoom mouseup.zoom",null),$n(t.view,s.moved),no(t),s.event(t).end()}}function O(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];if(r.apply(this,arguments)){var s=this.__zoom,c=Kn(t.changedTouches?t.changedTouches[0]:t,this),g=s.invert(c),f=s.k*(t.shiftKey?.5:2),d=o(v(C(s,f),c,g),i.apply(this,n),l);no(t),u>0?qn(this).transition().duration(u).call(y,d,c,t):qn(this).call(A.transform,d,c,t)}}function S(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(r.apply(this,arguments)){var s,c,l,u,g=n.touches,f=g.length,h=m(this,o,n.changedTouches.length===f).event(n);for(eo(n),c=0;c<f;++c)u=[u=Kn(l=g[c],this),this.__zoom.invert(u),l.identifier],h.touch0?h.touch1||h.touch0[2]===u[2]||(h.touch1=u,h.taps=0):(h.touch0=u,s=!0,h.taps=1+!!t);t&&(t=clearTimeout(t)),s&&(h.taps<2&&(e=u[0],t=setTimeout((function(){t=null}),d)),vi(this),h.start())}}function _(t){if(this.__zooming){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i,a,s,c,u=m(this,n).event(t),g=t.changedTouches,f=g.length;for(no(t),i=0;i<f;++i)s=Kn(a=g[i],this),u.touch0&&u.touch0[2]===a.identifier?u.touch0[0]=s:u.touch1&&u.touch1[2]===a.identifier&&(u.touch1[0]=s);if(a=u.that.__zoom,u.touch1){var d=u.touch0[0],h=u.touch0[1],p=u.touch1[0],A=u.touch1[1],I=(I=p[0]-d[0])*I+(I=p[1]-d[1])*I,y=(y=A[0]-h[0])*y+(y=A[1]-h[1])*y;a=C(a,Math.sqrt(I/y)),s=[(d[0]+p[0])/2,(d[1]+p[1])/2],c=[(h[0]+A[0])/2,(h[1]+A[1])/2]}else{if(!u.touch0)return;s=u.touch0[0],c=u.touch0[1]}u.zoom("touch",o(v(a,s,c),u.extent,l))}}function k(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.__zooming){var a,s,c=m(this,i).event(t),l=t.changedTouches,u=l.length;for(eo(t),n&&clearTimeout(n),n=setTimeout((function(){n=null}),d),a=0;a<u;++a)s=l[a],c.touch0&&c.touch0[2]===s.identifier?delete c.touch0:c.touch1&&c.touch1[2]===s.identifier&&delete c.touch1;if(c.touch1&&!c.touch0&&(c.touch0=c.touch1,delete c.touch1),c.touch0)c.touch0[1]=this.__zoom.invert(c.touch0[0]);else if(c.end(),2===c.taps&&(s=Kn(s,this),Math.hypot(e[0]-s[0],e[1]-s[1])<p)){var g=qn(this).on("dblclick.zoom");g&&g.apply(this,arguments)}}}return A.transform=function(t,e,n,r){var i=t.selection?t.selection():t;i.property("__zoom",oo),t!==i?y(t,e,n,r):i.interrupt().each((function(){m(this,arguments).event(r).start().zoom(null,"function"===typeof e?e.apply(this,arguments):e).end()}))},A.scaleBy=function(t,e,n,r){A.scaleTo(t,(function(){return this.__zoom.k*("function"===typeof e?e.apply(this,arguments):e)}),n,r)},A.scaleTo=function(t,e,n,r){A.transform(t,(function(){var t=i.apply(this,arguments),r=this.__zoom,a=null==n?I(t):"function"===typeof n?n.apply(this,arguments):n,s=r.invert(a),c="function"===typeof e?e.apply(this,arguments):e;return o(v(C(r,c),a,s),t,l)}),n,r)},A.translateBy=function(t,e,n,r){A.transform(t,(function(){return o(this.__zoom.translate("function"===typeof e?e.apply(this,arguments):e,"function"===typeof n?n.apply(this,arguments):n),i.apply(this,arguments),l)}),null,r)},A.translateTo=function(t,e,n,r,a){A.transform(t,(function(){var t=i.apply(this,arguments),a=this.__zoom,s=null==r?I(t):"function"===typeof r?r.apply(this,arguments):r;return o(to.translate(s[0],s[1]).scale(a.k).translate("function"===typeof e?-e.apply(this,arguments):-e,"function"===typeof n?-n.apply(this,arguments):-n),t,l)}),r,a)},b.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=qn(this.that).datum();f.call(t,this.that,new Ji(t,{sourceEvent:this.sourceEvent,target:A,type:t,transform:this.that.__zoom,dispatch:f}),e)}},A.wheelDelta=function(t){return arguments.length?(a="function"===typeof t?t:Qi(+t),A):a},A.filter=function(t){return arguments.length?(r="function"===typeof t?t:Qi(!!t),A):r},A.touchable=function(t){return arguments.length?(s="function"===typeof t?t:Qi(!!t),A):s},A.extent=function(t){return arguments.length?(i="function"===typeof t?t:Qi([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),A):i},A.scaleExtent=function(t){return arguments.length?(c[0]=+t[0],c[1]=+t[1],A):[c[0],c[1]]},A.translateExtent=function(t){return arguments.length?(l[0][0]=+t[0][0],l[1][0]=+t[1][0],l[0][1]=+t[0][1],l[1][1]=+t[1][1],A):[[l[0][0],l[0][1]],[l[1][0],l[1][1]]]},A.constrain=function(t){return arguments.length?(o=t,A):o},A.duration=function(t){return arguments.length?(u=+t,A):u},A.interpolate=function(t){return arguments.length?(g=t,A):g},A.on=function(){var t=f.on.apply(f,arguments);return t===f?A:t},A.clickDistance=function(t){return arguments.length?(h=(t=+t)*t,A):Math.sqrt(h)},A.tapDistance=function(t){return arguments.length?(p=+t,A):p},A}().scaleExtent([t.minZoom,t.maxZoom]).translateExtent(e),r=qn(j.current).call(n),i=he(x[0],e[0][0],e[1][0]),o=he(x[1],e[0][1],e[1][1]),a=he(O,t.minZoom,t.maxZoom),s=to.translate(i,o).scale(a);n.transform(r,s),D({d3Zoom:n,d3Selection:r,d3ZoomHandler:r.on("wheel.zoom"),transform:[i,o,a]})}}),[]),Object(c.useEffect)((function(){T&&M&&(g&&!L?T.on("wheel",(function(t){t.preventDefault(),t.stopImmediatePropagation();var e=T.property("__zoom").k||1;if(t.ctrlKey&&s){var n=Kn(t),r=-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*10,i=e*Math.pow(2,r);M.scaleTo(T,i,n)}else{var o=1===t.deltaMode?20:1,a=p===po.Vertical?0:t.deltaX*o,c=p===po.Horizontal?0:t.deltaY*o;M.translateBy(T,-a/e*d,-c/e*d)}})).on("wheel.zoom",null):"undefined"!==typeof R&&T.on("wheel",null).on("wheel.zoom",R))}),[g,p,T,M,R,L,s]),Object(c.useEffect)((function(){M&&(v?M.on("zoom",null):M.on("zoom",(function(t){if(N([t.transform.x,t.transform.y,t.transform.k]),e){var n=Co(t.transform);e(n)}})))}),[v,M,N,e]),Object(c.useEffect)((function(){M&&(n?M.on("start",(function(t){if(Ao(E.current,t.transform)){var e=Co(t.transform);E.current=e,n(e)}})):M.on("start",null))}),[M,n]),Object(c.useEffect)((function(){M&&(r?M.on("end",(function(t){if(Ao(E.current,t.transform)){var e=Co(t.transform);E.current=e,r(e)}})):M.on("end",null))}),[M,r]),Object(c.useEffect)((function(){M&&M.filter((function(t){var e=L||o,n=s&&t.ctrlKey;return!!(m||e||g||C||s)&&(!v&&(!(!C&&"dblclick"===t.type)&&((!t.target.closest(".nowheel")||"wheel"!==t.type)&&((!t.target.closest(".react-flow__node")&&!t.target.closest(".react-flow__edgeupdater")||"wheel"===t.type)&&((!t.target.closest(".react-flow__nodesselection")||"wheel"===t.type)&&(!(!s&&t.ctrlKey&&"wheel"===t.type)&&(!!(e||g||n||"wheel"!==t.type)&&(!(!m&&"mousedown"===t.type)&&((!t.ctrlKey||"wheel"===t.type)&&!t.button)))))))))}))}),[M,o,s,g,C,m,v,I,L]),l.a.createElement("div",{className:"react-flow__renderer react-flow__zoompane",ref:j},k)};function Io(t){var e=t.target.closest(".react-flow");if(e){var n=e.getBoundingClientRect();return{x:t.clientX-n.left,y:t.clientY-n.top}}}var yo=function(){var t=ue((function(t){return t.userSelectionRect}));return t.draw?l.a.createElement("div",{className:"react-flow__selection",style:{width:t.width,height:t.height,transform:"translate("+t.x+"px, "+t.y+"px)"}}):null},mo=Object(c.memo)((function(t){var e=t.selectionKeyPressed,n=ue((function(t){return t.selectionActive})),r=ue((function(t){return t.elementsSelectable})),i=le((function(t){return t.setUserSelection})),o=le((function(t){return t.updateUserSelection})),a=le((function(t){return t.unsetUserSelection})),s=le((function(t){return t.unsetNodesSelection}));if(!r||!(n||e))return null;return l.a.createElement("div",{className:"react-flow__selectionpane",onMouseDown:function(t){var e=Io(t);e&&i(e)},onMouseMove:function(t){if(e&&n){var r=Io(t);r&&o(r)}},onMouseUp:function(){return a()},onMouseLeave:function(){a(),s()}},l.a.createElement(yo,null))})),bo="function"===typeof Symbol&&Symbol.for,xo=bo?Symbol.for("react.element"):60103,wo=bo?Symbol.for("react.portal"):60106,Oo=bo?Symbol.for("react.fragment"):60107,So=bo?Symbol.for("react.strict_mode"):60108,_o=bo?Symbol.for("react.profiler"):60114,ko=bo?Symbol.for("react.provider"):60109,jo=bo?Symbol.for("react.context"):60110,Eo=bo?Symbol.for("react.async_mode"):60111,Po=bo?Symbol.for("react.concurrent_mode"):60111,Mo=bo?Symbol.for("react.forward_ref"):60112,To=bo?Symbol.for("react.suspense"):60113,Ro=bo?Symbol.for("react.suspense_list"):60120,Do=bo?Symbol.for("react.memo"):60115,No=bo?Symbol.for("react.lazy"):60116,Lo=bo?Symbol.for("react.block"):60121,Fo=bo?Symbol.for("react.fundamental"):60117,Bo=bo?Symbol.for("react.responder"):60118,zo=bo?Symbol.for("react.scope"):60119;function Vo(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case xo:switch(t=t.type){case Eo:case Po:case Oo:case _o:case So:case To:return t;default:switch(t=t&&t.$$typeof){case jo:case Mo:case No:case Do:case ko:return t;default:return e}}case wo:return e}}}function Go(t){return Vo(t)===Po}var Wo={AsyncMode:Eo,ConcurrentMode:Po,ContextConsumer:jo,ContextProvider:ko,Element:xo,ForwardRef:Mo,Fragment:Oo,Lazy:No,Memo:Do,Portal:wo,Profiler:_o,StrictMode:So,Suspense:To,isAsyncMode:function(t){return Go(t)||Vo(t)===Eo},isConcurrentMode:Go,isContextConsumer:function(t){return Vo(t)===jo},isContextProvider:function(t){return Vo(t)===ko},isElement:function(t){return"object"===typeof t&&null!==t&&t.$$typeof===xo},isForwardRef:function(t){return Vo(t)===Mo},isFragment:function(t){return Vo(t)===Oo},isLazy:function(t){return Vo(t)===No},isMemo:function(t){return Vo(t)===Do},isPortal:function(t){return Vo(t)===wo},isProfiler:function(t){return Vo(t)===_o},isStrictMode:function(t){return Vo(t)===So},isSuspense:function(t){return Vo(t)===To},isValidElementType:function(t){return"string"===typeof t||"function"===typeof t||t===Oo||t===Po||t===_o||t===So||t===To||t===Ro||"object"===typeof t&&null!==t&&(t.$$typeof===No||t.$$typeof===Do||t.$$typeof===ko||t.$$typeof===jo||t.$$typeof===Mo||t.$$typeof===Fo||t.$$typeof===Bo||t.$$typeof===zo||t.$$typeof===Lo)},typeOf:Vo},Yo=(I((function(t,e){0})),I((function(t){t.exports=Wo})),Object.getOwnPropertySymbols),Ho=Object.prototype.hasOwnProperty,Uo=Object.prototype.propertyIsEnumerable;function Xo(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}})()&&Object.assign;var Zo="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";function qo(t,e,n,r,i){}qo.resetWarningCache=function(){0};Function.call.bind(Object.prototype.hasOwnProperty);function Ko(){}function Qo(){}Qo.resetWarningCache=Ko;var Jo=I((function(t){t.exports=function(){function t(t,e,n,r,i,o){if(o!==Zo){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:Qo,resetWarningCache:Ko};return n.PropTypes=n,n}()})),$o=I((function(t){!function(){var e={}.hasOwnProperty;function n(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)&&i.length){var a=n.apply(null,i);a&&t.push(a)}else if("object"===o)for(var s in i)e.call(i,s)&&i[s]&&t.push(s)}}return t.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n}()})),ta=function(t,e){for(var n=0,r=t.length;n<r;n++)if(e.apply(e,[t[n],n,t]))return t[n]},ea=function(t){return"function"===typeof t||"[object Function]"===Object.prototype.toString.call(t)},na=function(t){return"number"===typeof t&&!isNaN(t)},ra=function(t){return parseInt(t,10)},ia=function(t,e,n){if(t[e])return new Error("Invalid prop ".concat(e," passed to ").concat(n," - do not set this, set it on the child."))};var oa=Object.defineProperty({findInArray:ta,isFunction:ea,isNum:na,int:ra,dontSetMe:ia},"__esModule",{value:!0});function aa(t){return(aa="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var sa=Pa,ca=function(t,e,n){var r=t;do{if(Pa(r,e))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},la=function(t,e,n,r){if(!t)return;var i=ka({capture:!0},r);t.addEventListener?t.addEventListener(e,n,i):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},ua=function(t,e,n,r){if(!t)return;var i=ka({capture:!0},r);t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null},ga=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,oa.int)(n.borderTopWidth),e+=(0,oa.int)(n.borderBottomWidth)},fa=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,oa.int)(n.borderLeftWidth),e+=(0,oa.int)(n.borderRightWidth)},da=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,oa.int)(n.paddingTop),e-=(0,oa.int)(n.paddingBottom)},ha=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,oa.int)(n.paddingLeft),e-=(0,oa.int)(n.paddingRight)},pa=function(t,e,n){var r=e===e.ownerDocument.body?{left:0,top:0}:e.getBoundingClientRect(),i=(t.clientX+e.scrollLeft-r.left)/n,o=(t.clientY+e.scrollTop-r.top)/n;return{x:i,y:o}},Aa=function(t,e){var n=Ma(t,e,"px");return ja({},(0,Oa.browserPrefixToKey)("transform",Oa.default),n)},Ca=function(t,e){return Ma(t,e,"")},va=Ma,Ia=function(t,e){return t.targetTouches&&(0,oa.findInArray)(t.targetTouches,(function(t){return e===t.identifier}))||t.changedTouches&&(0,oa.findInArray)(t.changedTouches,(function(t){return e===t.identifier}))},ya=function(t){if(t.targetTouches&&t.targetTouches[0])return t.targetTouches[0].identifier;if(t.changedTouches&&t.changedTouches[0])return t.changedTouches[0].identifier},ma=function(t){if(!t)return;var e=t.getElementById("react-draggable-style-el");e||((e=t.createElement("style")).type="text/css",e.id="react-draggable-style-el",e.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",e.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",t.getElementsByTagName("head")[0].appendChild(e));t.body&&Ta(t.body,"react-draggable-transparent-selection")},ba=function(t){if(!t)return;try{if(t.body&&Ra(t.body,"react-draggable-transparent-selection"),t.selection)t.selection.empty();else{var e=(t.defaultView||window).getSelection();e&&"Caret"!==e.type&&e.removeAllRanges()}}catch(n){}},xa=Ta,wa=Ra,Oa=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==aa(t)&&"function"!==typeof t)return{default:t};var e=Sa();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=r?Object.getOwnPropertyDescriptor(t,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=t[i]}n.default=t,e&&e.set(t,n);return n}(I((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.getPrefix=r,e.browserPrefixToKey=i,e.browserPrefixToStyle=function(t,e){return e?"-".concat(e.toLowerCase(),"-").concat(t):t},e.default=void 0;var n=["Moz","Webkit","O","ms"];function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"===typeof window||"undefined"===typeof window.document)return"";var e=window.document.documentElement.style;if(t in e)return"";for(var r=0;r<n.length;r++)if(i(t,n[r])in e)return n[r];return""}function i(t,e){return e?"".concat(e).concat(function(t){for(var e="",n=!0,r=0;r<t.length;r++)n?(e+=t[r].toUpperCase(),n=!1):"-"===t[r]?n=!0:e+=t[r];return e}(t)):t}var o=r();e.default=o})));function Sa(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return Sa=function(){return t},t}function _a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ka(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_a(Object(n),!0).forEach((function(e){ja(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ja(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ea="";function Pa(t,e){return Ea||(Ea=(0,oa.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(e){return(0,oa.isFunction)(t[e])}))),!!(0,oa.isFunction)(t[Ea])&&t[Ea](e)}function Ma(t,e,n){var r=t.x,i=t.y,o="translate(".concat(r).concat(n,",").concat(i).concat(n,")");if(e){var a="".concat("string"===typeof e.x?e.x:e.x+n),s="".concat("string"===typeof e.y?e.y:e.y+n);o="translate(".concat(a,", ").concat(s,")")+o}return o}function Ta(t,e){t.classList?t.classList.add(e):t.className.match(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)")))||(t.className+=" ".concat(e))}function Ra(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g"),"")}var Da=Object.defineProperty({matchesSelector:sa,matchesSelectorAndParentsTo:ca,addEvent:la,removeEvent:ua,outerHeight:ga,outerWidth:fa,innerHeight:da,innerWidth:ha,offsetXYFromParent:pa,createCSSTransform:Aa,createSVGTransform:Ca,getTranslation:va,getTouch:Ia,getTouchIdentifier:ya,addUserSelectStyles:ma,removeUserSelectStyles:ba,addClassName:xa,removeClassName:wa},"__esModule",{value:!0}),Na=function(t,e,n){if(!t.props.bounds)return[e,n];var r=t.props.bounds;r="string"===typeof r?r:function(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}(r);var i=Wa(t);if("string"===typeof r){var o,a=i.ownerDocument,s=a.defaultView;if(!((o="parent"===r?i.parentNode:a.querySelector(r))instanceof s.HTMLElement))throw new Error('Bounds selector "'+r+'" could not find an element.');var c=s.getComputedStyle(i),l=s.getComputedStyle(o);r={left:-i.offsetLeft+(0,oa.int)(l.paddingLeft)+(0,oa.int)(c.marginLeft),top:-i.offsetTop+(0,oa.int)(l.paddingTop)+(0,oa.int)(c.marginTop),right:(0,Da.innerWidth)(o)-(0,Da.outerWidth)(i)-i.offsetLeft+(0,oa.int)(l.paddingRight)-(0,oa.int)(c.marginRight),bottom:(0,Da.innerHeight)(o)-(0,Da.outerHeight)(i)-i.offsetTop+(0,oa.int)(l.paddingBottom)-(0,oa.int)(c.marginBottom)}}(0,oa.isNum)(r.right)&&(e=Math.min(e,r.right));(0,oa.isNum)(r.bottom)&&(n=Math.min(n,r.bottom));(0,oa.isNum)(r.left)&&(e=Math.max(e,r.left));(0,oa.isNum)(r.top)&&(n=Math.max(n,r.top));return[e,n]},La=function(t,e,n){var r=Math.round(e/t[0])*t[0],i=Math.round(n/t[1])*t[1];return[r,i]},Fa=function(t){return"both"===t.props.axis||"x"===t.props.axis},Ba=function(t){return"both"===t.props.axis||"y"===t.props.axis},za=function(t,e,n){var r="number"===typeof e?(0,Da.getTouch)(t,e):null;if("number"===typeof e&&!r)return null;var i=Wa(n),o=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,Da.offsetXYFromParent)(r||t,o,n.props.scale)},Va=function(t,e,n){var r=t.state,i=!(0,oa.isNum)(r.lastX),o=Wa(t);return i?{node:o,deltaX:0,deltaY:0,lastX:e,lastY:n,x:e,y:n}:{node:o,deltaX:e-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:e,y:n}},Ga=function(t,e){var n=t.props.scale;return{node:e.node,x:t.state.x+e.deltaX/n,y:t.state.y+e.deltaY/n,deltaX:e.deltaX/n,deltaY:e.deltaY/n,lastX:t.state.x,lastY:t.state.y}};function Wa(t){var e=t.findDOMNode();if(!e)throw new Error("<DraggableCore>: Unmounted during event!");return e}var Ya=Object.defineProperty({getBoundPosition:Na,snapToGrid:La,canDragX:Fa,canDragY:Ba,getControlPosition:za,createCoreData:Va,createDraggableData:Ga},"__esModule",{value:!0}),Ha=function(){};var Ua=Object.defineProperty({default:Ha},"__esModule",{value:!0}),Xa=I((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==c(t)&&"function"!==typeof t)return{default:t};var e=s();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=r?Object.getOwnPropertyDescriptor(t,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=t[i]}n.default=t,e&&e.set(t,n);return n}(l.a),r=a(Jo),i=a(g.a),o=a(Ua);function a(t){return t&&t.__esModule?t:{default:t}}function s(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return s=function(){return t},t}function c(t){return(c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=I(t);if(e){var i=I(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return C(this,n)}}function C(t,e){return!e||"object"!==c(e)&&"function"!==typeof e?v(t):e}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m={start:"touchstart",move:"touchmove",stop:"touchend"},b={start:"mousedown",move:"mousemove",stop:"mouseup"},x=b,w=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(c,t);var e,r,a,s=A(c);function c(){var t;d(this,c);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return y(v(t=s.call.apply(s,[this].concat(n))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),y(v(t),"mounted",!1),y(v(t),"handleDragStart",(function(e){if(t.props.onMouseDown(e),!t.props.allowAnyClick&&"number"===typeof e.button&&0!==e.button)return!1;var n=t.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var r=n.ownerDocument;if(!(t.props.disabled||!(e.target instanceof r.defaultView.Node)||t.props.handle&&!(0,Da.matchesSelectorAndParentsTo)(e.target,t.props.handle,n)||t.props.cancel&&(0,Da.matchesSelectorAndParentsTo)(e.target,t.props.cancel,n))){"touchstart"===e.type&&e.preventDefault();var i=(0,Da.getTouchIdentifier)(e);t.setState({touchIdentifier:i});var a=(0,Ya.getControlPosition)(e,i,v(t));if(null!=a){var s=a.x,c=a.y,l=(0,Ya.createCoreData)(v(t),s,c);(0,o.default)("DraggableCore: handleDragStart: %j",l),(0,o.default)("calling",t.props.onStart),!1!==t.props.onStart(e,l)&&!1!==t.mounted&&(t.props.enableUserSelectHack&&(0,Da.addUserSelectStyles)(r),t.setState({dragging:!0,lastX:s,lastY:c}),(0,Da.addEvent)(r,x.move,t.handleDrag),(0,Da.addEvent)(r,x.stop,t.handleDragStop))}}})),y(v(t),"handleDrag",(function(e){var n=(0,Ya.getControlPosition)(e,t.state.touchIdentifier,v(t));if(null!=n){var r=n.x,i=n.y;if(Array.isArray(t.props.grid)){var a=r-t.state.lastX,s=i-t.state.lastY,c=u((0,Ya.snapToGrid)(t.props.grid,a,s),2);if(a=c[0],s=c[1],!a&&!s)return;r=t.state.lastX+a,i=t.state.lastY+s}var l=(0,Ya.createCoreData)(v(t),r,i);if((0,o.default)("DraggableCore: handleDrag: %j",l),!1!==t.props.onDrag(e,l)&&!1!==t.mounted)t.setState({lastX:r,lastY:i});else try{t.handleDragStop(new MouseEvent("mouseup"))}catch(f){var g=document.createEvent("MouseEvents");g.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),t.handleDragStop(g)}}})),y(v(t),"handleDragStop",(function(e){if(t.state.dragging){var n=(0,Ya.getControlPosition)(e,t.state.touchIdentifier,v(t));if(null!=n){var r=n.x,i=n.y,a=(0,Ya.createCoreData)(v(t),r,i);if(!1===t.props.onStop(e,a)||!1===t.mounted)return!1;var s=t.findDOMNode();s&&t.props.enableUserSelectHack&&(0,Da.removeUserSelectStyles)(s.ownerDocument),(0,o.default)("DraggableCore: handleDragStop: %j",a),t.setState({dragging:!1,lastX:NaN,lastY:NaN}),s&&((0,o.default)("DraggableCore: Removing handlers"),(0,Da.removeEvent)(s.ownerDocument,x.move,t.handleDrag),(0,Da.removeEvent)(s.ownerDocument,x.stop,t.handleDragStop))}}})),y(v(t),"onMouseDown",(function(e){return x=b,t.handleDragStart(e)})),y(v(t),"onMouseUp",(function(e){return x=b,t.handleDragStop(e)})),y(v(t),"onTouchStart",(function(e){return x=m,t.handleDragStart(e)})),y(v(t),"onTouchEnd",(function(e){return x=m,t.handleDragStop(e)})),t}return e=c,(r=[{key:"componentDidMount",value:function(){this.mounted=!0;var t=this.findDOMNode();t&&(0,Da.addEvent)(t,m.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.findDOMNode();if(t){var e=t.ownerDocument;(0,Da.removeEvent)(e,b.move,this.handleDrag),(0,Da.removeEvent)(e,m.move,this.handleDrag),(0,Da.removeEvent)(e,b.stop,this.handleDragStop),(0,Da.removeEvent)(e,m.stop,this.handleDragStop),(0,Da.removeEvent)(t,m.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Da.removeUserSelectStyles)(e)}}},{key:"findDOMNode",value:function(){return this.props.nodeRef?this.props.nodeRef.current:i.default.findDOMNode(this)}},{key:"render",value:function(){return n.cloneElement(n.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&h(e.prototype,r),a&&h(e,a),c}(n.Component);e.default=w,y(w,"displayName","DraggableCore"),y(w,"propTypes",{allowAnyClick:r.default.bool,disabled:r.default.bool,enableUserSelectHack:r.default.bool,offsetParent:function(t,e){if(t[e]&&1!==t[e].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:r.default.arrayOf(r.default.number),handle:r.default.string,cancel:r.default.string,nodeRef:r.default.object,onStart:r.default.func,onDrag:r.default.func,onStop:r.default.func,onMouseDown:r.default.func,scale:r.default.number,className:oa.dontSetMe,style:oa.dontSetMe,transform:oa.dontSetMe}),y(w,"defaultProps",{allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})})),Za=I((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return a.default}}),e.default=void 0;var n=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==f(t)&&"function"!==typeof t)return{default:t};var e=u();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=r?Object.getOwnPropertyDescriptor(t,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=t[i]}n.default=t,e&&e.set(t,n);return n}(l.a),r=c(Jo),i=c(g.a),o=c($o),a=c(Xa),s=c(Ua);function c(t){return t&&t.__esModule?t:{default:t}}function u(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return u=function(){return t},t}function f(t){return(f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(){return(d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function h(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return A(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function I(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e,n){return e&&I(t.prototype,e),n&&I(t,n),t}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=O(t);if(e){var i=O(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return x(this,n)}}function x(t,e){return!e||"object"!==f(e)&&"function"!==typeof e?w(t):e}function w(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(r,t);var e=b(r);function r(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),S(w(n=e.call(this,t)),"onDragStart",(function(t,e){if((0,s.default)("Draggable: onDragStart: %j",e),!1===n.props.onStart(t,(0,Ya.createDraggableData)(w(n),e)))return!1;n.setState({dragging:!0,dragged:!0})})),S(w(n),"onDrag",(function(t,e){if(!n.state.dragging)return!1;(0,s.default)("Draggable: onDrag: %j",e);var r=(0,Ya.createDraggableData)(w(n),e),i={x:r.x,y:r.y};if(n.props.bounds){var o=i.x,a=i.y;i.x+=n.state.slackX,i.y+=n.state.slackY;var c=p((0,Ya.getBoundPosition)(w(n),i.x,i.y),2),l=c[0],u=c[1];i.x=l,i.y=u,i.slackX=n.state.slackX+(o-i.x),i.slackY=n.state.slackY+(a-i.y),r.x=i.x,r.y=i.y,r.deltaX=i.x-n.state.x,r.deltaY=i.y-n.state.y}if(!1===n.props.onDrag(t,r))return!1;n.setState(i)})),S(w(n),"onDragStop",(function(t,e){if(!n.state.dragging)return!1;if(!1===n.props.onStop(t,(0,Ya.createDraggableData)(w(n),e)))return!1;(0,s.default)("Draggable: onDragStop: %j",e);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(n.props.position)){var i=n.props.position,o=i.x,a=i.y;r.x=o,r.y=a}n.setState(r)})),n.state={dragging:!1,dragged:!1,x:t.position?t.position.x:t.defaultPosition.x,y:t.position?t.position.y:t.defaultPosition.y,prevPropsPosition:v({},t.position),slackX:0,slackY:0,isElementSVG:!1},!t.position||t.onDrag||t.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),n}return y(r,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.position,r=e.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,s.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:v({},n)})}}]),y(r,[{key:"componentDidMount",value:function(){"undefined"!==typeof window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){return this.props.nodeRef?this.props.nodeRef.current:i.default.findDOMNode(this)}},{key:"render",value:function(){var t,e=this.props,r=(e.axis,e.bounds,e.children),i=e.defaultPosition,s=e.defaultClassName,c=e.defaultClassNameDragging,l=e.defaultClassNameDragged,u=e.position,g=e.positionOffset,f=(e.scale,h(e,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"])),p={},A=null,C=!Boolean(u)||this.state.dragging,I=u||i,y={x:(0,Ya.canDragX)(this)&&C?this.state.x:I.x,y:(0,Ya.canDragY)(this)&&C?this.state.y:I.y};this.state.isElementSVG?A=(0,Da.createSVGTransform)(y,g):p=(0,Da.createCSSTransform)(y,g);var m=(0,o.default)(r.props.className||"",s,(S(t={},c,this.state.dragging),S(t,l,this.state.dragged),t));return n.createElement(a.default,d({},f,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(r),{className:m,style:v(v({},r.props.style),p),transform:A}))}}]),r}(n.Component);e.default=_,S(_,"displayName","Draggable"),S(_,"propTypes",v(v({},a.default.propTypes),{},{axis:r.default.oneOf(["both","x","y","none"]),bounds:r.default.oneOfType([r.default.shape({left:r.default.number,right:r.default.number,top:r.default.number,bottom:r.default.number}),r.default.string,r.default.oneOf([!1])]),defaultClassName:r.default.string,defaultClassNameDragging:r.default.string,defaultClassNameDragged:r.default.string,defaultPosition:r.default.shape({x:r.default.number,y:r.default.number}),positionOffset:r.default.shape({x:r.default.oneOfType([r.default.number,r.default.string]),y:r.default.oneOfType([r.default.number,r.default.string])}),position:r.default.shape({x:r.default.number,y:r.default.number}),className:oa.dontSetMe,style:oa.dontSetMe,transform:oa.dontSetMe})),S(_,"defaultProps",v(v({},a.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null,scale:1}))})),qa=Za.default,Ka=Za.DraggableCore,Qa=qa,Ja=qa,$a=Ka;Qa.default=Ja,Qa.DraggableCore=$a;var ts=function(t){var e=t.onSelectionDragStart,n=t.onSelectionDrag,r=t.onSelectionDragStop,i=t.onSelectionContextMenu,o=ue((function(t){return t.transform})),a=o[0],s=o[1],u=o[2],g=ue((function(t){return t.selectedNodesBbox})),f=ue((function(t){return t.selectionActive})),h=ue((function(t){return t.selectedElements})),p=ue((function(t){return t.snapToGrid})),A=ue((function(t){return t.snapGrid})),C=ue((function(t){return t.nodes})),v=le((function(t){return t.updateNodePosDiff})),I=Object(c.useRef)(null),y=Object(c.useMemo)((function(){return p?A:[1,1]}),[p,A]),m=Object(c.useMemo)((function(){return h?h.filter(Ce).map((function(t){var e=C.find((function(e){return e.id===t.id}));return d(d({},e),{position:null===e||void 0===e?void 0:e.__rf.position})})):[]}),[h,C]),b=Object(c.useMemo)((function(){return{transform:"translate("+a+"px,"+s+"px) scale("+u+")"}}),[a,s,u]),x=Object(c.useMemo)((function(){return{width:g.width,height:g.height,top:g.y,left:g.x}}),[g]),w=Object(c.useCallback)((function(t){null===e||void 0===e||e(t,m)}),[e,m]),O=Object(c.useCallback)((function(t,e){n&&n(t,m),v({diff:{x:e.deltaX,y:e.deltaY}})}),[n,m,v]),S=Object(c.useCallback)((function(t){v({isDragging:!1}),null===r||void 0===r||r(t,m)}),[m,r]),_=Object(c.useCallback)((function(t){var e=h?h.filter(Ce).map((function(t){return C.find((function(e){return e.id===t.id}))})):[];null===i||void 0===i||i(t,e)}),[i]);return!h||f?null:l.a.createElement("div",{className:"react-flow__nodesselection",style:b},l.a.createElement(Qa,{scale:u,grid:y,onStart:function(t){return w(t)},onDrag:function(t,e){return O(t,e)},onStop:function(t){return S(t)},nodeRef:I},l.a.createElement("div",{ref:I,className:"react-flow__nodesselection-rect",onContextMenu:_,style:x})))},es=function(t){var e=t.children,n=t.onPaneClick,r=t.onPaneContextMenu,i=t.onPaneScroll,o=t.onElementsRemove,a=t.deleteKeyCode,s=t.onMove,u=t.onMoveStart,g=t.onMoveEnd,f=t.selectionKeyCode,d=t.multiSelectionKeyCode,h=t.zoomActivationKeyCode,A=t.elementsSelectable,C=t.zoomOnScroll,v=t.zoomOnPinch,I=t.panOnScroll,y=t.panOnScrollSpeed,m=t.panOnScrollMode,b=t.zoomOnDoubleClick,x=t.paneMoveable,w=t.defaultPosition,O=t.defaultZoom,S=t.translateExtent,_=t.onSelectionDragStart,k=t.onSelectionDrag,j=t.onSelectionDragStop,E=t.onSelectionContextMenu,P=le((function(t){return t.unsetNodesSelection})),M=le((function(t){return t.resetSelectedElements})),T=ue((function(t){return t.nodesSelectionActive})),R=pe(f);!function(t){var e=t.deleteKeyCode,n=t.multiSelectionKeyCode,r=t.onElementsRemove,i=ge(),o=le((function(t){return t.unsetNodesSelection})),a=le((function(t){return t.setMultiSelectionActive})),s=le((function(t){return t.resetSelectedElements})),l=pe(e),u=pe(n);Object(c.useEffect)((function(){var t=i.getState(),e=t.edges,n=t.selectedElements;if(r&&l&&n){var a=n.filter(Ce),c=p(n,we(a,e)).reduce((function(t,e){return t.set(e.id,e)}),new Map);r(Array.from(c.values())),o(),s()}}),[l]),Object(c.useEffect)((function(){a(u)}),[u])}({onElementsRemove:o,deleteKeyCode:a,multiSelectionKeyCode:d});var D=Object(c.useCallback)((function(t){null===n||void 0===n||n(t),P(),M()}),[n]),N=Object(c.useCallback)((function(t){null===r||void 0===r||r(t)}),[r]),L=Object(c.useCallback)((function(t){null===i||void 0===i||i(t)}),[i]);return l.a.createElement(vo,{onMove:s,onMoveStart:u,onMoveEnd:g,selectionKeyPressed:R,elementsSelectable:A,zoomOnScroll:C,zoomOnPinch:v,panOnScroll:I,panOnScrollSpeed:y,panOnScrollMode:m,zoomOnDoubleClick:b,paneMoveable:x,defaultPosition:w,defaultZoom:O,translateExtent:S,zoomActivationKeyCode:h},e,l.a.createElement(mo,{selectionKeyPressed:R}),T&&l.a.createElement(ts,{onSelectionDragStart:_,onSelectionDrag:k,onSelectionDragStop:j,onSelectionContextMenu:E}),l.a.createElement("div",{className:"react-flow__pane",onClick:D,onContextMenu:N,onWheel:L}))};es.displayName="FlowRenderer";var ns=Object(c.memo)(es),rs=function(t){var e=ue((function(t){return t.transform})),n=ue((function(t){return t.selectedElements})),r=ue((function(t){return t.nodesDraggable})),i=ue((function(t){return t.nodesConnectable})),o=ue((function(t){return t.elementsSelectable})),a=ue((function(t){return t.viewportBox})),s=ue((function(t){return t.nodes})),u=le((function(t){return t.batchUpdateNodeDimensions})),g=t.onlyRenderVisibleElements?xe(s,a,e,!0):s,f=Object(c.useMemo)((function(){return{transform:"translate("+e[0]+"px,"+e[1]+"px) scale("+e[2]+")"}}),[e[0],e[1],e[2]]),d=Object(c.useMemo)((function(){return"undefined"===typeof ResizeObserver?null:new ResizeObserver((function(t){var e=t.map((function(t){return{id:t.target.getAttribute("data-id"),nodeElement:t.target}}));u({updates:e})}))}),[]);return l.a.createElement("div",{className:"react-flow__nodes",style:f},g.map((function(a){var s=a.type||"default",c=t.nodeTypes[s]||t.nodeTypes.default;t.nodeTypes[s]||console.warn('Node type "'+s+'" not found. Using fallback type "default".');var u=!!(a.draggable||r&&"undefined"===typeof a.draggable),g=!!(a.selectable||o&&"undefined"===typeof a.selectable),f=!!(a.connectable||i&&"undefined"===typeof a.connectable);return l.a.createElement(c,{key:a.id,id:a.id,className:a.className,style:a.style,type:s,data:a.data,sourcePosition:a.sourcePosition,targetPosition:a.targetPosition,isHidden:a.isHidden,xPos:a.__rf.position.x,yPos:a.__rf.position.y,isDragging:a.__rf.isDragging,isInitialized:null!==a.__rf.width&&null!==a.__rf.height,snapGrid:t.snapGrid,snapToGrid:t.snapToGrid,selectNodesOnDrag:t.selectNodesOnDrag,onClick:t.onElementClick,onMouseEnter:t.onNodeMouseEnter,onMouseMove:t.onNodeMouseMove,onMouseLeave:t.onNodeMouseLeave,onContextMenu:t.onNodeContextMenu,onNodeDragStart:t.onNodeDragStart,onNodeDragStop:t.onNodeDragStop,scale:e[2],selected:(null===n||void 0===n?void 0:n.some((function(t){return t.id===a.id})))||!1,isDraggable:u,isSelectable:g,isConnectable:f,resizeObserver:d})})))};rs.displayName="NodeRenderer";var is=Object(c.memo)(rs),os=Object(c.memo)((function(t){var e=t.x,n=t.y,r=t.label,i=t.labelStyle,o=void 0===i?{}:i,a=t.labelShowBg,s=void 0===a||a,u=t.labelBgStyle,g=void 0===u?{}:u,f=t.labelBgPadding,d=void 0===f?[2,4]:f,h=t.labelBgBorderRadius,p=void 0===h?2:h,A=Object(c.useRef)(null),C=Object(c.useState)({x:0,y:0,width:0,height:0}),v=C[0],I=C[1];return Object(c.useEffect)((function(){if(A.current){var t=A.current.getBBox();I({x:t.x,y:t.y,width:t.width,height:t.height})}}),[]),"undefined"!==typeof r&&r?l.a.createElement("g",{transform:"translate("+(e-v.width/2)+" "+(n-v.height/2)+")"},s&&l.a.createElement("rect",{width:v.width+2*d[0],x:-d[0],y:-d[1],height:v.height+2*d[1],className:"react-flow__edge-textbg",style:g,rx:p,ry:p}),l.a.createElement("text",{className:"react-flow__edge-text",y:v.height/2,dy:"0.3em",ref:A,style:o},r)):null})),as=function(t,e){return"undefined"!==typeof e&&e?"url(#"+e+")":"undefined"!==typeof t?"url(#react-flow__"+t+")":"none"},ss=function(t){var e=t.sourceX,n=t.sourceY,r=t.targetX,i=t.targetY,o=Math.abs(r-e)/2,a=r<e?r+o:r-o,s=Math.abs(i-n)/2;return[a,i<n?i+s:i-s,o,s]};function cs(t){var e=t.sourceX,n=t.sourceY,r=t.sourcePosition,i=void 0===r?lo.Bottom:r,o=t.targetX,a=t.targetY,s=t.targetPosition,c=void 0===s?lo.Top:s,l=t.centerX,u=t.centerY,g=ss({sourceX:e,sourceY:n,targetX:o,targetY:a}),f=g[0],d=g[1],h=[lo.Left,lo.Right],p="undefined"!==typeof l?l:f,A="undefined"!==typeof u?u:d,C="M"+e+","+n+" C"+e+","+A+" "+o+","+A+" "+o+","+a;return h.includes(i)&&h.includes(c)?C="M"+e+","+n+" C"+p+","+n+" "+p+","+a+" "+o+","+a:h.includes(c)?C="M"+e+","+n+" C"+e+","+a+" "+e+","+a+" "+o+","+a:h.includes(i)&&(C="M"+e+","+n+" C"+o+","+n+" "+o+","+n+" "+o+","+a),C}var ls=Object(c.memo)((function(t){var e=t.sourceX,n=t.sourceY,r=t.targetX,i=t.targetY,o=t.sourcePosition,a=void 0===o?lo.Bottom:o,s=t.targetPosition,c=void 0===s?lo.Top:s,u=t.label,g=t.labelStyle,f=t.labelShowBg,d=t.labelBgStyle,h=t.labelBgPadding,p=t.labelBgBorderRadius,A=t.style,C=t.arrowHeadType,v=t.markerEndId,I=ss({sourceX:e,sourceY:n,targetX:r,targetY:i}),y=I[0],m=I[1],b=cs({sourceX:e,sourceY:n,sourcePosition:a,targetX:r,targetY:i,targetPosition:c}),x=u?l.a.createElement(os,{x:y,y:m,label:u,labelStyle:g,labelShowBg:f,labelBgStyle:d,labelBgPadding:h,labelBgBorderRadius:p}):null,w=as(C,v);return l.a.createElement(l.a.Fragment,null,l.a.createElement("path",{style:A,d:b,className:"react-flow__edge-path",markerEnd:w}),x)})),us=function(t,e,n){return"L "+t+","+(e-n)+"Q "+t+","+e+" "+(t+n)+","+e},gs=function(t,e,n){return"L "+t+","+(e-n)+"Q "+t+","+e+" "+(t-n)+","+e},fs=function(t,e,n){return"L "+(t-n)+","+e+"Q "+t+","+e+" "+t+","+(e-n)},ds=function(t,e,n){return"L "+t+","+(e+n)+"Q "+t+","+e+" "+(t+n)+","+e},hs=function(t,e,n){return"L "+t+","+(e+n)+"Q "+t+","+e+" "+(t-n)+","+e},ps=function(t,e,n){return"L "+(t-n)+","+e+"Q "+t+","+e+" "+t+","+(e+n)};function As(t){var e=t.sourceX,n=t.sourceY,r=t.sourcePosition,i=void 0===r?lo.Bottom:r,o=t.targetX,a=t.targetY,s=t.targetPosition,c=void 0===s?lo.Top:s,l=t.borderRadius,u=void 0===l?5:l,g=t.centerX,f=t.centerY,d=ss({sourceX:e,sourceY:n,targetX:o,targetY:a}),h=d[0],p=d[1],A=d[2],C=d[3],v=Math.min(u,Math.abs(o-e)),I=Math.min(u,Math.abs(a-n)),y=Math.min(v,I,A,C),m=[lo.Left,lo.Right],b="undefined"!==typeof g?g:h,x="undefined"!==typeof f?f:p,w=null,O=null;return e<=o?(w=n<=a?us(e,x,y):ds(e,x,y),O=n<=a?ps(o,x,y):fs(o,x,y)):(w=n<a?gs(e,x,y):hs(e,x,y),O=n<a?function(t,e,n){return"L "+(t+n)+","+e+"Q "+t+","+e+" "+t+","+(e+n)}(o,x,y):function(t,e,n){return"L "+(t+n)+","+e+"Q "+t+","+e+" "+t+","+(e-n)}(o,x,y)),m.includes(i)&&m.includes(c)?e<=o&&(w=n<=a?ps(b,n,y):fs(b,n,y),O=n<=a?us(b,a,y):ds(b,a,y)):m.includes(i)&&!m.includes(c)?(w=e<=o?n<=a?ps(o,n,y):fs(o,n,y):n<=a?gs(e,a,y):hs(e,a,y),O=""):!m.includes(i)&&m.includes(c)&&(w=e<=o?n<=a?us(e,a,y):ds(e,a,y):n<=a?gs(e,a,y):hs(e,a,y),O=""),"M "+e+","+n+w+O+"L "+o+","+a}var Cs=Object(c.memo)((function(t){var e=t.sourceX,n=t.sourceY,r=t.targetX,i=t.targetY,o=t.label,a=t.labelStyle,s=t.labelShowBg,c=t.labelBgStyle,u=t.labelBgPadding,g=t.labelBgBorderRadius,f=t.style,d=t.sourcePosition,h=void 0===d?lo.Bottom:d,p=t.targetPosition,A=void 0===p?lo.Top:p,C=t.arrowHeadType,v=t.markerEndId,I=t.borderRadius,y=void 0===I?5:I,m=ss({sourceX:e,sourceY:n,targetX:r,targetY:i}),b=m[0],x=m[1],w=As({sourceX:e,sourceY:n,sourcePosition:h,targetX:r,targetY:i,targetPosition:A,borderRadius:y}),O=as(C,v),S=o?l.a.createElement(os,{x:b,y:x,label:o,labelStyle:a,labelShowBg:s,labelBgStyle:c,labelBgPadding:u,labelBgBorderRadius:g}):null;return l.a.createElement(l.a.Fragment,null,l.a.createElement("path",{style:f,className:"react-flow__edge-path",d:w,markerEnd:O}),S)})),vs=function(t){var e=t.connectionNodeId,n=t.connectionHandleId,r=t.connectionHandleType,i=t.connectionLineStyle,o=t.connectionPositionX,a=t.connectionPositionY,s=t.connectionLineType,u=void 0===s?ho.Bezier:s,g=t.nodes,f=void 0===g?[]:g,d=t.transform,h=t.isConnectable,p=t.CustomConnectionLineComponent,A=Object(c.useState)(null),C=A[0],v=A[1],I=e,y=n;if(Object(c.useEffect)((function(){var t=f.find((function(t){return t.id===I}))||null;v(t)}),[]),!C||!h)return null;var m=y?C.__rf.handleBounds[r].find((function(t){return t.id===y})):C.__rf.handleBounds[r][0],b=m?m.x+m.width/2:C.__rf.width/2,x=m?m.y+m.height/2:C.__rf.height,w=C.__rf.position.x+b,O=C.__rf.position.y+x,S=(o-d[0])/d[2],_=(a-d[1])/d[2],k=(null===m||void 0===m?void 0:m.position)===lo.Left||(null===m||void 0===m?void 0:m.position)===lo.Right?lo.Left:lo.Top;if(p)return l.a.createElement("g",{className:"react-flow__connection"},l.a.createElement(p,{sourceX:w,sourceY:O,sourcePosition:null===m||void 0===m?void 0:m.position,targetX:S,targetY:_,targetPosition:k,connectionLineType:u,connectionLineStyle:i}));var j="";return j=u===ho.Bezier?cs({sourceX:w,sourceY:O,sourcePosition:null===m||void 0===m?void 0:m.position,targetX:S,targetY:_,targetPosition:k}):u===ho.Step?As({sourceX:w,sourceY:O,sourcePosition:null===m||void 0===m?void 0:m.position,targetX:S,targetY:_,targetPosition:k,borderRadius:0}):u===ho.SmoothStep?As({sourceX:w,sourceY:O,sourcePosition:null===m||void 0===m?void 0:m.position,targetX:S,targetY:_,targetPosition:k}):"M"+w+","+O+" "+S+","+_,l.a.createElement("g",{className:"react-flow__connection"},l.a.createElement("path",{d:j,className:"react-flow__connection-path",style:i}))},Is=function(t){var e=t.id,n=t.children;return l.a.createElement("marker",{className:"react-flow__arrowhead",id:e,markerWidth:"12.5",markerHeight:"12.5",viewBox:"-10 -10 20 20",orient:"auto",refX:"0",refY:"0"},n)},ys=function(t){var e=t.color;return l.a.createElement("defs",null,l.a.createElement(Is,{id:"react-flow__arrowclosed"},l.a.createElement("polyline",{stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",fill:e,points:"-5,-4 0,0 -5,4 -5,-4"})),l.a.createElement(Is,{id:"react-flow__arrow"},l.a.createElement("polyline",{stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none",points:"-5,-4 0,0 -5,4"})))};ys.displayName="MarkerDefinitions";var ms=Object(c.memo)((function(t){return l.a.createElement(Cs,d({},t,{borderRadius:0}))})),bs=Object(c.memo)((function(t){var e=t.sourceX,n=t.sourceY,r=t.targetX,i=t.targetY,o=t.label,a=t.labelStyle,s=t.labelShowBg,c=t.labelBgStyle,u=t.labelBgPadding,g=t.labelBgBorderRadius,f=t.style,d=t.arrowHeadType,h=t.markerEndId,p=Math.abs(i-n)/2,A=i<n?i+p:i-p,C=Math.abs(r-e)/2,v=r<e?r+C:r-C,I=as(d,h),y=o?l.a.createElement(os,{x:v,y:A,label:o,labelStyle:a,labelShowBg:s,labelBgStyle:c,labelBgPadding:u,labelBgBorderRadius:g}):null;return l.a.createElement(l.a.Fragment,null,l.a.createElement("path",{style:f,className:"react-flow__edge-path",d:"M "+e+","+n+"L "+r+","+i,markerEnd:I}),y)}));function xs(t,e,n,r,i,o){var a=document.elementFromPoint(t.clientX,t.clientY),s=(null===a||void 0===a?void 0:a.classList.contains("target"))||!1,c=(null===a||void 0===a?void 0:a.classList.contains("source"))||!1,l={elementBelow:a,isValid:!1,connection:{source:null,target:null,sourceHandle:null,targetHandle:null},isHoveringHandle:!1};if(a&&(s||c)&&(l.isHoveringHandle=!0,e!==fo.Strict||(n&&c||!n&&s))){var u=a.getAttribute("data-nodeid"),g=a.getAttribute("data-handleid"),f=n?{source:u,sourceHandle:g,target:r,targetHandle:i}:{source:r,sourceHandle:i,target:u,targetHandle:g};l.connection=f,l.isValid=o(f)}return l}function ws(t){null===t||void 0===t||t.classList.remove("react-flow__handle-valid"),null===t||void 0===t||t.classList.remove("react-flow__handle-connecting")}function Os(t,e,n,r,i,o,a,s,c,l,u,g){var f=t.target.closest(".react-flow");if(f){var d,h=a?"target":"source",p=f.getBoundingClientRect();i({x:t.clientX-p.left,y:t.clientY-p.top}),r({connectionNodeId:n,connectionHandleId:e,connectionHandleType:h}),null===l||void 0===l||l(t,{nodeId:n,handleId:e,handleType:h}),document.addEventListener("mousemove",A),document.addEventListener("mouseup",(function t(i){var l=xs(i,c,a,n,e,s),f=l.connection,h=l.isValid;null===u||void 0===u||u(i),h&&(null===o||void 0===o||o(f)),null===g||void 0===g||g(i),ws(d),r({connectionNodeId:null,connectionHandleId:null,connectionHandleType:null}),document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",t)}))}function A(t){i({x:t.clientX-p.left,y:t.clientY-p.top});var r=xs(t,c,a,n,e,s),o=r.connection,l=r.elementBelow,u=r.isValid;if(!r.isHoveringHandle)return ws(d);!(o.source===o.target)&&l&&(d=l,l.classList.add("react-flow__handle-connecting"),l.classList.toggle("react-flow__handle-valid",u))}}var Ss=function(t){var e=function(e){var n=e.id,r=e.className,i=e.type,o=e.data,a=e.onClick,s=e.selected,u=e.animated,g=e.label,f=e.labelStyle,d=e.labelShowBg,h=e.labelBgStyle,p=e.labelBgPadding,A=e.labelBgBorderRadius,v=e.style,I=e.arrowHeadType,y=e.source,m=e.target,b=e.sourceX,x=e.sourceY,w=e.targetX,O=e.targetY,S=e.sourcePosition,_=e.targetPosition,k=e.elementsSelectable,j=e.markerEndId,E=e.isHidden,P=e.sourceHandleId,M=e.targetHandleId,T=e.handleEdgeUpdate,R=e.onConnectEdge,D=le((function(t){return t.addSelectedElements})),N=le((function(t){return t.setConnectionNodeId})),L=le((function(t){return t.setConnectionPosition})),F=ue((function(t){return t.connectionMode})),B=Object(c.useState)(!1),z=B[0],V=B[1],G=C(["react-flow__edge","react-flow__edge-"+i,r,{selected:s,animated:u,inactive:!k&&!a,updating:z}]),W=Object(c.useCallback)((function(t){var e={id:n,source:y,target:m,type:i};P&&(e.sourceHandle=P),M&&(e.targetHandle=M),"undefined"!==typeof o&&(e.data=o),k&&D(e),null===a||void 0===a||a(t,e)}),[k,n,y,m,i,o,P,M,a]),Y=Object(c.useCallback)((function(t,e){Os(t,e?M:P,e?m:y,N,L,R,e,(function(){return!0}),F)}),[n,y,m,i,P,M,N,L]),H=Object(c.useCallback)((function(t){Y(t,!0)}),[n,y,P,Y]),U=Object(c.useCallback)((function(t){Y(t,!1)}),[n,m,M,Y]),X=Object(c.useCallback)((function(){return V(!0)}),[V]),Z=Object(c.useCallback)((function(){return V(!1)}),[V]);return E?null:l.a.createElement("g",{className:G,onClick:W},T&&l.a.createElement("g",{onMouseDown:H,onMouseEnter:X,onMouseOut:Z},l.a.createElement("circle",{className:"react-flow__edgeupdater",cx:b,cy:x,r:10,stroke:"transparent",fill:"transparent"})),l.a.createElement(t,{id:n,source:y,target:m,selected:s,animated:u,label:g,labelStyle:f,labelShowBg:d,labelBgStyle:h,labelBgPadding:p,labelBgBorderRadius:A,data:o,style:v,arrowHeadType:I,sourceX:b,sourceY:x,targetX:w,targetY:O,sourcePosition:S,targetPosition:_,markerEndId:j,sourceHandleId:P,targetHandleId:M}),T&&l.a.createElement("g",{onMouseDown:U,onMouseEnter:X,onMouseOut:Z},l.a.createElement("circle",{className:"react-flow__edgeupdater",cx:w,cy:O,r:10,stroke:"transparent",fill:"transparent"})))};return e.displayName="EdgeWrapper",Object(c.memo)(e)};function _s(t,e,n){void 0===n&&(n=null);var r=((null===n||void 0===n?void 0:n.x)||0)+e.__rf.position.x,i=((null===n||void 0===n?void 0:n.y)||0)+e.__rf.position.y,o=(null===n||void 0===n?void 0:n.width)||e.__rf.width,a=(null===n||void 0===n?void 0:n.height)||e.__rf.height;switch(t){case lo.Top:return{x:r+o/2,y:i};case lo.Right:return{x:r+o,y:i+a/2};case lo.Bottom:return{x:r+o/2,y:i+a};case lo.Left:return{x:r,y:i+a/2}}}function ks(t,e){if(!t)return null;var n=null;return 1!==t.length&&e?e&&(n=t.find((function(t){return t.id===e}))):n=t[0],"undefined"===typeof n?null:n}var js=function(t){var e=t.edge,n=t.props,r=t.nodes,i=t.selectedElements,o=t.elementsSelectable,a=t.transform,s=t.width,u=t.height,g=t.onlyRenderVisibleElements,f=t.connectionMode,d=e.sourceHandle||null,h=e.targetHandle||null,p=function(t,e){return e.reduce((function(e,n){return n.id===t.source&&(e.sourceNode=n),n.id===t.target&&(e.targetNode=n),e}),{sourceNode:null,targetNode:null})}(e,r),A=p.sourceNode,C=p.targetNode,v=Object(c.useCallback)((function(t){var r;null===(r=n.onEdgeUpdate)||void 0===r||r.call(n,e,t)}),[e]);if(!A)return console.warn("couldn't create edge for source id: "+e.source+"; edge id: "+e.id),null;if(!C)return console.warn("couldn't create edge for target id: "+e.target+"; edge id: "+e.id),null;if(!A.__rf.width||!C.__rf.width)return null;var I=e.type||"default",y=n.edgeTypes[I]||n.edgeTypes.default,m=C.__rf.handleBounds,b=f===fo.Strict?m.target:m.target||m.source,x=ks(A.__rf.handleBounds.source,d),w=ks(b,h),O=x?x.position:lo.Bottom,S=w?w.position:lo.Top;if(!x)return console.warn("couldn't create edge for source handle id: "+d+"; edge id: "+e.id),null;if(!w)return console.warn("couldn't create edge for target handle id: "+h+"; edge id: "+e.id),null;var _=function(t,e,n,r,i,o){var a=_s(n,t,e),s=_s(o,r,i);return{sourceX:a.x,sourceY:a.y,targetX:s.x,targetY:s.y}}(A,x,O,C,w,S),k=_.sourceX,j=_.sourceY,E=_.targetX,P=_.targetY;if(!(!g||function(t){var e=t.sourcePos,n=t.targetPos,r=t.width,i=t.height,o=t.transform,a={x:Math.min(e.x,n.x),y:Math.min(e.y,n.y),x2:Math.max(e.x,n.x),y2:Math.max(e.y,n.y)};a.x===a.x2&&(a.x2+=1),a.y===a.y2&&(a.y2+=1);var s=ye({x:(0-o[0])/o[2],y:(0-o[1])/o[2],width:r/o[2],height:i/o[2]}),c=Math.max(0,Math.min(s.x2,a.x2)-Math.max(s.x,a.x)),l=Math.max(0,Math.min(s.y2,a.y2)-Math.max(s.y,a.y));return Math.ceil(c*l)>0}({sourcePos:{x:k,y:j},targetPos:{x:E,y:P},width:s,height:u,transform:a})))return null;var M=(null===i||void 0===i?void 0:i.some((function(t){return Ae(t)&&t.id===e.id})))||!1;return l.a.createElement(y,{key:e.id,id:e.id,className:e.className,type:e.type,data:e.data,onClick:n.onElementClick,selected:M,animated:e.animated,label:e.label,labelStyle:e.labelStyle,labelShowBg:e.labelShowBg,labelBgStyle:e.labelBgStyle,labelBgPadding:e.labelBgPadding,labelBgBorderRadius:e.labelBgBorderRadius,style:e.style,arrowHeadType:e.arrowHeadType,source:e.source,target:e.target,sourceHandleId:d,targetHandleId:h,sourceX:k,sourceY:j,targetX:E,targetY:P,sourcePosition:O,targetPosition:S,elementsSelectable:o,markerEndId:n.markerEndId,isHidden:e.isHidden,onConnectEdge:v,handleEdgeUpdate:"undefined"!==typeof n.onEdgeUpdate})},Es=function(t){var e=ue((function(t){return t.transform})),n=ue((function(t){return t.edges})),r=ue((function(t){return t.connectionNodeId})),i=ue((function(t){return t.connectionHandleId})),o=ue((function(t){return t.connectionHandleType})),a=ue((function(t){return t.connectionPosition})),s=ue((function(t){return t.selectedElements})),c=ue((function(t){return t.nodesConnectable})),u=ue((function(t){return t.elementsSelectable})),g=ue((function(t){return t.width})),f=ue((function(t){return t.height})),d=ue((function(t){return t.nodes}));if(!g)return null;var h=t.connectionLineType,p=t.arrowHeadColor,A=t.connectionLineStyle,C=t.connectionLineComponent,v=t.onlyRenderVisibleElements,I="translate("+e[0]+","+e[1]+") scale("+e[2]+")",y=r&&o;return l.a.createElement("svg",{width:g,height:f,className:"react-flow__edges"},l.a.createElement(ys,{color:p}),l.a.createElement("g",{transform:I},n.map((function(n){return l.a.createElement(js,{key:n.id,edge:n,props:t,nodes:d,selectedElements:s,elementsSelectable:u,transform:e,width:g,height:f,onlyRenderVisibleElements:v})})),y&&l.a.createElement(vs,{nodes:d,connectionNodeId:r,connectionHandleId:i,connectionHandleType:o,connectionPositionX:a.x,connectionPositionY:a.y,transform:e,connectionLineStyle:A,connectionLineType:h,isConnectable:c,CustomConnectionLineComponent:C})))};Es.displayName="EdgeRenderer";var Ps=Object(c.memo)(Es),Ms={zoomIn:function(){},zoomOut:function(){},zoomTo:function(t){},transform:function(t){},fitView:function(t){},setCenter:function(t,e){},fitBounds:function(t){},initialized:!1},Ts=function(t,e,n,r,i,o){void 0===o&&(o=.1);var a=e/(t.width*(1+o)),s=n/(t.height*(1+o)),c=Math.min(a,s),l=he(c,r,i);return[e/2-(t.x+t.width/2)*l,n/2-(t.y+t.height/2)*l,l]},Rs=function(){var t=ge(),e=ue((function(t){return t.d3Zoom})),n=ue((function(t){return t.d3Selection}));return Object(c.useMemo)((function(){return n&&e?{zoomIn:function(){return e.scaleBy(n,1.2)},zoomOut:function(){return e.scaleBy(n,1/1.2)},zoomTo:function(t){return e.scaleTo(n,t)},transform:function(t){var r=to.translate(t.x,t.y).scale(t.zoom);e.transform(n,r)},fitView:function(r){void 0===r&&(r={padding:.1});var i=t.getState(),o=i.nodes,a=i.width,s=i.height,c=i.minZoom,l=i.maxZoom;if(o.length){var u=be(o),g=Ts(u,a,s,c,l,r.padding),f=g[0],d=g[1],h=g[2],p=to.translate(f,d).scale(h);e.transform(n,p)}},setCenter:function(r,i,o){var a=t.getState(),s=a.width,c=a.height,l=a.maxZoom,u="undefined"!==typeof o?o:l,g=s/2-r*u,f=c/2-i*u,d=to.translate(g,f).scale(u);e.transform(n,d)},fitBounds:function(r,i){void 0===i&&(i=.1);var o=t.getState(),a=o.width,s=o.height,c=o.minZoom,l=o.maxZoom,u=Ts(r,a,s,c,l,i),g=u[0],f=u[1],d=u[2],h=to.translate(g,f).scale(d);e.transform(n,h)},initialized:!0}:Ms}),[e,n])},Ds=function(t){var e=t.nodeTypes,n=t.edgeTypes,r=t.onMove,i=t.onMoveStart,o=t.onMoveEnd,a=t.onLoad,s=t.onElementClick,u=t.onNodeMouseEnter,g=t.onNodeMouseMove,f=t.onNodeMouseLeave,d=t.onNodeContextMenu,h=t.onNodeDragStart,p=t.onNodeDragStop,A=t.onSelectionDragStart,C=t.onSelectionDrag,v=t.onSelectionDragStop,I=t.onSelectionContextMenu,y=t.connectionMode,m=t.connectionLineType,b=t.connectionLineStyle,x=t.connectionLineComponent,w=t.selectionKeyCode,O=t.multiSelectionKeyCode,S=t.zoomActivationKeyCode,_=t.onElementsRemove,k=t.deleteKeyCode,j=t.onConnect,E=t.onConnectStart,P=t.onConnectStop,M=t.onConnectEnd,T=t.snapToGrid,R=t.snapGrid,D=t.onlyRenderVisibleElements,N=t.nodesDraggable,L=t.nodesConnectable,F=t.elementsSelectable,B=t.selectNodesOnDrag,z=t.minZoom,V=t.maxZoom,G=t.defaultZoom,W=t.defaultPosition,Y=t.translateExtent,H=t.arrowHeadColor,U=t.markerEndId,X=t.zoomOnScroll,Z=t.zoomOnPinch,q=t.panOnScroll,K=t.panOnScrollSpeed,Q=t.panOnScrollMode,J=t.zoomOnDoubleClick,$=t.paneMoveable,tt=t.onPaneClick,et=t.onPaneScroll,nt=t.onPaneContextMenu,rt=t.onEdgeUpdate,it=Object(c.useRef)(!1),ot=le((function(t){return t.setOnConnect})),at=le((function(t){return t.setOnConnectStart})),st=le((function(t){return t.setOnConnectStop})),ct=le((function(t){return t.setOnConnectEnd})),lt=le((function(t){return t.setSnapGrid})),ut=le((function(t){return t.setSnapToGrid})),gt=le((function(t){return t.setNodesDraggable})),ft=le((function(t){return t.setNodesConnectable})),dt=le((function(t){return t.setElementsSelectable})),ht=le((function(t){return t.setMinZoom})),pt=le((function(t){return t.setMaxZoom})),At=le((function(t){return t.setTranslateExtent})),Ct=le((function(t){return t.setConnectionMode})),vt=ge(),It=Rs(),yt=It.zoomIn,mt=It.zoomOut,bt=It.zoomTo,xt=It.transform,wt=It.fitView,Ot=It.initialized;return Object(c.useEffect)((function(){!it.current&&Ot&&(a&&a({fitView:function(t){return void 0===t&&(t={padding:.1}),wt(t)},zoomIn:yt,zoomOut:mt,zoomTo:bt,setTransform:xt,project:ve(vt),getElements:Se(vt),toObject:_e(vt)}),it.current=!0)}),[a,yt,mt,bt,xt,wt,Ot]),Object(c.useEffect)((function(){j&&ot(j)}),[j]),Object(c.useEffect)((function(){E&&at(E)}),[E]),Object(c.useEffect)((function(){P&&st(P)}),[P]),Object(c.useEffect)((function(){M&&ct(M)}),[M]),Object(c.useEffect)((function(){"undefined"!==typeof T&&ut(T)}),[T]),Object(c.useEffect)((function(){"undefined"!==typeof R&<(R)}),[R]),Object(c.useEffect)((function(){"undefined"!==typeof N&>(N)}),[N]),Object(c.useEffect)((function(){"undefined"!==typeof L&&ft(L)}),[L]),Object(c.useEffect)((function(){"undefined"!==typeof F&&dt(F)}),[F]),Object(c.useEffect)((function(){"undefined"!==typeof z&&ht(z)}),[z]),Object(c.useEffect)((function(){"undefined"!==typeof V&&pt(V)}),[V]),Object(c.useEffect)((function(){"undefined"!==typeof Y&&At(Y)}),[Y]),Object(c.useEffect)((function(){"undefined"!==typeof y&&Ct(y)}),[y]),l.a.createElement(ns,{onPaneClick:tt,onPaneContextMenu:nt,onPaneScroll:et,onElementsRemove:_,deleteKeyCode:k,selectionKeyCode:w,multiSelectionKeyCode:O,zoomActivationKeyCode:S,elementsSelectable:F,onMove:r,onMoveStart:i,onMoveEnd:o,zoomOnScroll:X,zoomOnPinch:Z,zoomOnDoubleClick:J,panOnScroll:q,panOnScrollSpeed:K,panOnScrollMode:Q,paneMoveable:$,defaultPosition:W,defaultZoom:G,translateExtent:Y,onSelectionDragStart:A,onSelectionDrag:C,onSelectionDragStop:v,onSelectionContextMenu:I},l.a.createElement(is,{nodeTypes:e,onElementClick:s,onNodeMouseEnter:u,onNodeMouseMove:g,onNodeMouseLeave:f,onNodeContextMenu:d,onNodeDragStop:p,onNodeDragStart:h,selectNodesOnDrag:B,snapToGrid:T,snapGrid:R,onlyRenderVisibleElements:D}),l.a.createElement(Ps,{edgeTypes:n,onElementClick:s,connectionLineType:m,connectionLineStyle:b,connectionLineComponent:x,connectionMode:y,arrowHeadColor:H,markerEndId:U,onEdgeUpdate:rt,onlyRenderVisibleElements:D}))};Ds.displayName="GraphView";var Ns=Object(c.memo)(Ds),Ls=function(t){var e=t.elements,n=le((function(t){return t.setElements}));return Object(c.useEffect)((function(){n(e)}),[e]),null},Fs=Object(c.createContext)(null),Bs=Fs.Provider,zs=(Fs.Consumer,function(){return!0}),Vs=function(t){var e=t.type,n=void 0===e?"source":e,r=t.position,i=void 0===r?lo.Top:r,o=t.isValidConnection,a=void 0===o?zs:o,s=t.isConnectable,u=void 0===s||s,g=t.id,f=t.onConnect,p=t.children,A=t.className,v=h(t,["type","position","isValidConnection","isConnectable","id","onConnect","children","className"]),I=Object(c.useContext)(Fs),y=le((function(t){return t.setConnectionPosition})),m=le((function(t){return t.setConnectionNodeId})),b=ue((function(t){return t.onConnect})),x=ue((function(t){return t.onConnectStart})),w=ue((function(t){return t.onConnectStop})),O=ue((function(t){return t.onConnectEnd})),S=ue((function(t){return t.connectionMode})),_=g||null,k="target"===n,j=Object(c.useCallback)((function(t){null===b||void 0===b||b(t),null===f||void 0===f||f(t)}),[b,f]),E=Object(c.useCallback)((function(t){Os(t,_,I,m,y,j,k,a,S,x,w,O)}),[_,I,m,y,j,k,a,S,x,w,O]),P=C(["react-flow__handle","react-flow__handle-"+i,"nodrag",A,{source:!k,target:k,connectable:u}]);return l.a.createElement("div",d({"data-handleid":_,"data-nodeid":I,"data-handlepos":i,className:P,onMouseDown:E},v),p)};Vs.displayName="Handle";var Gs=Object(c.memo)(Vs),Ws=function(t){var e=t.data,n=t.isConnectable,r=t.targetPosition,i=void 0===r?lo.Top:r,o=t.sourcePosition,a=void 0===o?lo.Bottom:o;return l.a.createElement(l.a.Fragment,null,l.a.createElement(Gs,{type:"target",position:i,isConnectable:n}),e.label,l.a.createElement(Gs,{type:"source",position:a,isConnectable:n}))};Ws.displayName="DefaultNode";var Ys=Object(c.memo)(Ws),Hs=function(t){var e=t.data,n=t.isConnectable,r=t.sourcePosition,i=void 0===r?lo.Bottom:r;return l.a.createElement(l.a.Fragment,null,e.label,l.a.createElement(Gs,{type:"source",position:i,isConnectable:n}))};Hs.displayName="InputNode";var Us=Object(c.memo)(Hs),Xs=function(t){var e=t.data,n=t.isConnectable,r=t.targetPosition,i=void 0===r?lo.Top:r;return l.a.createElement(l.a.Fragment,null,l.a.createElement(Gs,{type:"target",position:i,isConnectable:n}),e.label)};Xs.displayName="OutputNode";var Zs=Object(c.memo)(Xs),qs=function(t){var e=function(e){var n=e.id,r=e.type,i=e.data,o=e.scale,a=e.xPos,s=e.yPos,u=e.selected,g=e.onClick,f=e.onMouseEnter,h=e.onMouseMove,p=e.onMouseLeave,A=e.onContextMenu,v=e.onNodeDragStart,I=e.onNodeDragStop,y=e.style,m=e.className,b=e.isDraggable,x=e.isSelectable,w=e.isConnectable,O=e.selectNodesOnDrag,S=e.sourcePosition,_=e.targetPosition,k=e.isHidden,j=e.isInitialized,E=e.snapToGrid,P=e.snapGrid,M=e.isDragging,T=e.resizeObserver,R=le((function(t){return t.updateNodeDimensions})),D=le((function(t){return t.addSelectedElements})),N=le((function(t){return t.updateNodePosDiff})),L=le((function(t){return t.unsetNodesSelection})),F=Object(c.useRef)(null),B=Object(c.useMemo)((function(){return{id:n,type:r,position:{x:a,y:s},data:i}}),[n,r,a,s,i]),z=Object(c.useMemo)((function(){return E?P:[1,1]}),[E,P]),V=Object(c.useMemo)((function(){return d({zIndex:u?10:3,transform:"translate("+a+"px,"+s+"px)",pointerEvents:x||b||g?"all":"none",opacity:j?1:0},y)}),[u,a,s,x,b,g,j,y]),G=Object(c.useMemo)((function(){if(f&&!M)return function(t){return f(t,B)}}),[f,M,B]),W=Object(c.useMemo)((function(){if(h&&!M)return function(t){return h(t,B)}}),[h,M,B]),Y=Object(c.useMemo)((function(){if(p&&!M)return function(t){return p(t,B)}}),[p,M,B]),H=Object(c.useMemo)((function(){if(A)return function(t){return A(t,B)}}),[A,B]),U=Object(c.useCallback)((function(t){b||(x&&(L(),u||D({id:B.id,type:B.type})),null===g||void 0===g||g(t,B))}),[x,u,b,g,B]),X=Object(c.useCallback)((function(t){null===v||void 0===v||v(t,B),O&&x?(L(),u||D({id:B.id,type:B.type})):O||u||!x||(L(),D([]))}),[B,u,O,x,v]),Z=Object(c.useCallback)((function(t,e){N({id:n,diff:{x:e.deltaX,y:e.deltaY}})}),[n]),q=Object(c.useCallback)((function(t){if(!M)return!x||O||u||D({id:B.id,type:B.type}),void(null===g||void 0===g||g(t,B));N({id:B.id,isDragging:!1}),null===I||void 0===I||I(t,B)}),[B,x,O,g,I,M,u]);if(Object(c.useEffect)((function(){F.current&&!k&&R({id:n,nodeElement:F.current})}),[n,k,S,_]),Object(c.useEffect)((function(){if(F.current){var t=F.current;return null===T||void 0===T||T.observe(t),function(){return null===T||void 0===T?void 0:T.unobserve(t)}}}),[]),k)return null;var K=C(["react-flow__node","react-flow__node-"+r,m,{selected:u,selectable:x}]);return l.a.createElement($a,{onStart:X,onDrag:Z,onStop:q,scale:o,disabled:!b,cancel:".nodrag",nodeRef:F,grid:z},l.a.createElement("div",{className:K,ref:F,style:V,onMouseEnter:G,onMouseMove:W,onMouseLeave:Y,onContextMenu:H,onClick:U,"data-id":n},l.a.createElement(Bs,{value:n},l.a.createElement(t,{id:n,data:i,type:r,xPos:a,yPos:s,selected:u,isConnectable:w,sourcePosition:S,targetPosition:_,isDragging:M}))))};return e.displayName="NodeWrapper",Object(c.memo)(e)};var Ks=function(t){var e=t.onSelectionChange,n=ue((function(t){return t.selectedElements}));return Object(c.useEffect)((function(){e(n)}),[n]),null},Qs=function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(e.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(e)){if((r=e.length)!=n.length)return!1;for(i=r;0!==i--;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if((r=(o=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var a=o[i];if(!t(e[a],n[a]))return!1}return!0}return e!==e&&n!==n},Js=function(t,e){var n=t.getBoundingClientRect();return{source:$s(".source",t,n,e),target:$s(".target",t,n,e)}},$s=function(t,e,n,r){var i=e.querySelectorAll(t);return i&&i.length?Array.from(i).map((function(t){var e=t.getBoundingClientRect(),i=de(t),o=t.getAttribute("data-handleid"),a=t.getAttribute("data-handlepos");return d({id:o,position:a,x:(e.left-n.left)/r,y:(e.top-n.top)/r},i)})):null},tc={width:0,height:0,transform:[0,0,1],elements:[],nodes:se.computed((function(t){return t.elements.filter(Ce)})),edges:se.computed((function(t){return t.elements.filter(Ae)})),selectedElements:null,selectedNodesBbox:{x:0,y:0,width:0,height:0},viewportBox:se.computed((function(t){return{x:0,y:0,width:t.width,height:t.height}})),d3Zoom:null,d3Selection:null,d3ZoomHandler:void 0,minZoom:.5,maxZoom:2,translateExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nodesSelectionActive:!1,selectionActive:!1,userSelectionRect:{startX:0,startY:0,x:0,y:0,width:0,height:0,draw:!1},connectionNodeId:null,connectionHandleId:null,connectionHandleType:"source",connectionPosition:{x:0,y:0},connectionMode:fo.Strict,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,elementsSelectable:!0,multiSelectionActive:!1,reactFlowVersion:"8.5.0",setOnConnect:se.action((function(t,e){t.onConnect=e})),setOnConnectStart:se.action((function(t,e){t.onConnectStart=e})),setOnConnectStop:se.action((function(t,e){t.onConnectStop=e})),setOnConnectEnd:se.action((function(t,e){t.onConnectEnd=e})),setElements:se.action((function(t,e){for(var n,r=function(r){var i=t.elements[r];e.find((function(t){return t.id===i.id}))||(t.elements.splice(r,1),r--),n=r},i=0;i<t.elements.length;i++)r(i),i=n;e.forEach((function(e){var n=t.elements.findIndex((function(t){return t.id===e.id}));if(-1!==n){var r=t.elements[n];if(Ce(r)){var i=e,o=r.position.x!==i.position.x||r.position.y!==i.position.y,a="undefined"!==typeof i.type&&i.type!==r.type;t.elements[n]=d(d({},r),i),o&&(t.elements[n].__rf.position=i.position),a&&(t.elements[n].__rf.width=null)}else t.elements[n]=d(d({},r),e)}else t.elements.push(function(t){if(!t.id)throw new Error("All nodes and edges need to have an id.");return Ae(t)?d(d({},t),{source:t.source.toString(),target:t.target.toString(),sourceHandle:t.sourceHandle?t.sourceHandle.toString():null,targetHandle:t.targetHandle?t.targetHandle.toString():null,id:t.id.toString(),type:t.type||"default"}):d(d({},t),{id:t.id.toString(),type:t.type||"default",__rf:{position:t.position,width:null,height:null,handleBounds:{},isDragging:!1}})}(e))}))})),batchUpdateNodeDimensions:se.action((function(t,e){e.updates.forEach((function(e){var n=de(e.nodeElement),r=t.elements.findIndex((function(t){return t.id===e.id})),i=t.elements[r];if(-1!==r&&n.width&&n.height&&(i.__rf.width!==n.width||i.__rf.height!==n.height)){var o=Js(e.nodeElement,t.transform[2]);t.elements[r].__rf.width=n.width,t.elements[r].__rf.height=n.height,t.elements[r].__rf.handleBounds=o}}))})),updateNodeDimensions:se.action((function(t,e){var n=e.id,r=e.nodeElement,i=de(r),o=t.elements.findIndex((function(t){return t.id===n}));if(-1!==o&&i.width&&i.height){var a=Js(r,t.transform[2]);t.elements[o].__rf.width=i.width,t.elements[o].__rf.height=i.height,t.elements[o].__rf.handleBounds=a}})),updateNodePos:se.action((function(t,e){var n=e.id,r=e.pos,i=r;if(t.snapToGrid){var o=t.snapGrid,a=o[0],s=o[1];i={x:a*Math.round(r.x/a),y:s*Math.round(r.y/s)}}t.elements.forEach((function(t){t.id===n&&Ce(t)&&(t.__rf.position=i)}))})),updateNodePosDiff:se.action((function(t,e){var n=e.id,r=void 0===n?null:n,i=e.diff,o=void 0===i?null:i,a=e.isDragging,s=void 0===a||a;t.elements.forEach((function(e){var n;Ce(e)&&(r===e.id||(null===(n=t.selectedElements)||void 0===n?void 0:n.find((function(t){return t.id===e.id}))))&&(o&&(e.__rf.position={x:e.__rf.position.x+o.x,y:e.__rf.position.y+o.y}),e.__rf.isDragging=s)}))})),setUserSelection:se.action((function(t,e){t.userSelectionRect={width:0,height:0,startX:e.x,startY:e.y,x:e.x,y:e.y,draw:!0},t.selectionActive=!0})),updateUserSelection:se.action((function(t,e){var n=t.userSelectionRect.startX||0,r=t.userSelectionRect.startY||0,i=e.x<n,o=e.y<r,a=d(d({},t.userSelectionRect),{x:i?e.x:t.userSelectionRect.x,y:o?e.y:t.userSelectionRect.y,width:Math.abs(e.x-n),height:Math.abs(e.y-r)}),s=xe(t.nodes,a,t.transform),c=p(s,we(s,t.edges)),l=!Qs(c,t.selectedElements);t.userSelectionRect=a,l&&(t.selectedElements=c.length>0?c:null)})),unsetUserSelection:se.action((function(t){var e,n=null===(e=t.selectedElements)||void 0===e?void 0:e.filter((function(t){return Ce(t)&&t.__rf}));if(!n||0===n.length)return t.selectionActive=!1,t.userSelectionRect.draw=!1,t.nodesSelectionActive=!1,void(t.selectedElements=null);var r=be(n);t.nodesSelectionActive=!0,t.selectedNodesBbox=r,t.userSelectionRect.draw=!1,t.selectionActive=!1})),setSelection:se.action((function(t,e){t.selectionActive=e})),unsetNodesSelection:se.action((function(t){t.nodesSelectionActive=!1})),resetSelectedElements:se.action((function(t){t.selectedElements=null})),setSelectedElements:se.action((function(t,e){var n=Array.isArray(e)?e:[e],r=!Qs(n,t.selectedElements)?n:t.selectedElements;t.selectedElements=r})),addSelectedElements:se.thunk((function(t,e,n){var r=n.getState(),i=r.multiSelectionActive,o=r.selectedElements,a=Array.isArray(e)?e:[e];if(i){var s=o?p(o,a):a;t.setSelectedElements(s)}else t.setSelectedElements(e)})),updateTransform:se.action((function(t,e){t.transform[0]=e[0],t.transform[1]=e[1],t.transform[2]=e[2]})),updateSize:se.action((function(t,e){t.width=e.width||500,t.height=e.height||500})),initD3Zoom:se.action((function(t,e){var n=e.d3Zoom,r=e.d3Selection,i=e.d3ZoomHandler,o=e.transform;t.d3Zoom=n,t.d3Selection=r,t.d3ZoomHandler=i,t.transform[0]=o[0],t.transform[1]=o[1],t.transform[2]=o[2]})),setMinZoom:se.action((function(t,e){t.minZoom=e,t.d3Zoom&&t.d3Zoom.scaleExtent([e,t.maxZoom])})),setMaxZoom:se.action((function(t,e){t.maxZoom=e,t.d3Zoom&&t.d3Zoom.scaleExtent([t.minZoom,e])})),setTranslateExtent:se.action((function(t,e){t.translateExtent=e,t.d3Zoom&&t.d3Zoom.translateExtent(e)})),setConnectionPosition:se.action((function(t,e){t.connectionPosition=e})),setConnectionNodeId:se.action((function(t,e){var n=e.connectionNodeId,r=e.connectionHandleId,i=e.connectionHandleType;t.connectionNodeId=n,t.connectionHandleId=r,t.connectionHandleType=i})),setSnapToGrid:se.action((function(t,e){t.snapToGrid=e})),setSnapGrid:se.action((function(t,e){t.snapGrid[0]=e[0],t.snapGrid[1]=e[1]})),setInteractive:se.action((function(t,e){t.nodesDraggable=e,t.nodesConnectable=e,t.elementsSelectable=e})),setNodesDraggable:se.action((function(t,e){t.nodesDraggable=e})),setNodesConnectable:se.action((function(t,e){t.nodesConnectable=e})),setElementsSelectable:se.action((function(t,e){t.elementsSelectable=e})),setMultiSelectionActive:se.action((function(t,e){t.multiSelectionActive=e})),setConnectionMode:se.action((function(t,e){t.connectionMode=e}))},ec=se.createStore(tc,{devTools:!1}),nc=function(t){var e,n=t.children,r=ge();return(null===(e=null===r||void 0===r?void 0:r.getState())||void 0===e?void 0:e.reactFlowVersion)?l.a.createElement(l.a.Fragment,null,n):l.a.createElement(se.StoreProvider,{store:ec},n)};function rc(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!==typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}nc.displayName="ReactFlowWrapper";rc(".react-flow{width:100%;height:100%;position:relative;overflow:hidden}.react-flow__pane,.react-flow__renderer,.react-flow__selectionpane{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__renderer{z-index:4}.react-flow__selectionpane{z-index:5}.react-flow__edges,.react-flow__selection{position:absolute;top:0;left:0}.react-flow__edges{pointer-events:none;z-index:2}.react-flow__edge{pointer-events:all;}.react-flow__edge.inactive{pointer-events:none}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edge-path{fill:none}.react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-flow__connection{pointer-events:none;}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connection-path{fill:none}.react-flow__nodes{width:100%;height:100%;pointer-events:none;z-index:3}.react-flow__node,.react-flow__nodes{position:absolute;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:all}.react-flow__nodesselection{z-index:3;position:absolute;width:100%;height:100%;top:0;left:0;transform-origin:left top;pointer-events:none;}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{pointer-events:none;}.react-flow__handle.connectable{pointer-events:all}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move}.react-flow__background{position:absolute;top:0;left:0;width:100%;height:100%}.react-flow__controls{position:absolute;z-index:5;bottom:10px;left:10px;}.react-flow__controls-button{width:24px;height:24px;}.react-flow__controls-button svg{width:100%}.react-flow__minimap{position:absolute;z-index:5;bottom:10px;right:10px}");rc(".react-flow__selection{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__edge.selected .react-flow__edge-path{stroke:#555}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-path{stroke:#b1b1b7;stroke-width:1}.react-flow__edge-text{font-size:10px}.react-flow__edge-textbg{fill:#fff}.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1}.react-flow__node{cursor:-webkit-grab;cursor:grab}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px rgba(0,0,0,.08)}.react-flow__node-input{background:#fff;border-color:#0041d0;}.react-flow__node-input.selected,.react-flow__node-input.selected:hover{box-shadow:0 0 0 .5px #0041d0}.react-flow__node-input .react-flow__handle{background:#0041d0}.react-flow__node-default{background:#fff;border-color:#1a192b;}.react-flow__node-default.selected,.react-flow__node-default.selected:hover{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-default .react-flow__handle{background:#1a192b}.react-flow__node-output{background:#fff;border-color:#ff0072;}.react-flow__node-output.selected,.react-flow__node-output.selected:hover{box-shadow:0 0 0 .5px #ff0072}.react-flow__node-output .react-flow__handle{background:#ff0072}.react-flow__nodesselection-rect{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__handle{position:absolute;width:6px;height:6px;background:#555;border:1px solid #fff;border-radius:100%;}.react-flow__handle.connectable{cursor:crosshair}.react-flow__minimap{background-color:#fff}.react-flow__controls{box-shadow:0 0 2px 1px rgba(0,0,0,.08);}.react-flow__controls-button{background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:5px;}.react-flow__controls-button svg{max-width:12px;max-height:12px}.react-flow__controls-button:hover{background:#f4f4f4}");var ic={input:Us,default:Ys,output:Zs},oc={default:ls,straight:bs,step:ms,smoothstep:Cs},ac=function(t){var e=t.elements,n=void 0===e?[]:e,r=t.className,i=t.nodeTypes,o=void 0===i?ic:i,a=t.edgeTypes,s=void 0===a?oc:a,u=t.onElementClick,g=t.onLoad,f=t.onMove,p=t.onMoveStart,A=t.onMoveEnd,v=t.onElementsRemove,I=t.onConnect,y=t.onConnectStart,m=t.onConnectStop,b=t.onConnectEnd,x=t.onNodeMouseEnter,w=t.onNodeMouseMove,O=t.onNodeMouseLeave,S=t.onNodeContextMenu,_=t.onNodeDragStart,k=t.onNodeDragStop,j=t.onSelectionChange,E=t.onSelectionDragStart,P=t.onSelectionDrag,M=t.onSelectionDragStop,T=t.onSelectionContextMenu,R=t.connectionMode,D=void 0===R?fo.Strict:R,N=t.connectionLineType,L=void 0===N?ho.Bezier:N,F=t.connectionLineStyle,B=t.connectionLineComponent,z=t.deleteKeyCode,V=void 0===z?"Backspace":z,G=t.selectionKeyCode,W=void 0===G?"Shift":G,Y=t.multiSelectionKeyCode,H=void 0===Y?"Meta":Y,U=t.zoomActivationKeyCode,X=void 0===U?"Meta":U,Z=t.snapToGrid,q=void 0!==Z&&Z,K=t.snapGrid,Q=void 0===K?[15,15]:K,J=t.onlyRenderVisibleElements,$=void 0===J||J,tt=t.selectNodesOnDrag,et=void 0===tt||tt,nt=t.nodesDraggable,rt=t.nodesConnectable,it=t.elementsSelectable,ot=t.minZoom,at=t.maxZoom,st=t.defaultZoom,ct=void 0===st?1:st,lt=t.defaultPosition,ut=void 0===lt?[0,0]:lt,gt=t.translateExtent,ft=t.arrowHeadColor,dt=void 0===ft?"#b1b1b7":ft,ht=t.markerEndId,pt=t.zoomOnScroll,At=void 0===pt||pt,Ct=t.zoomOnPinch,vt=void 0===Ct||Ct,It=t.panOnScroll,yt=void 0!==It&&It,mt=t.panOnScrollSpeed,bt=void 0===mt?.5:mt,xt=t.panOnScrollMode,wt=void 0===xt?po.Free:xt,Ot=t.zoomOnDoubleClick,St=void 0===Ot||Ot,_t=t.paneMoveable,kt=void 0===_t||_t,jt=t.onPaneClick,Et=t.onPaneScroll,Pt=t.onPaneContextMenu,Mt=t.children,Tt=t.onEdgeUpdate,Rt=h(t,["elements","className","nodeTypes","edgeTypes","onElementClick","onLoad","onMove","onMoveStart","onMoveEnd","onElementsRemove","onConnect","onConnectStart","onConnectStop","onConnectEnd","onNodeMouseEnter","onNodeMouseMove","onNodeMouseLeave","onNodeContextMenu","onNodeDragStart","onNodeDragStop","onSelectionChange","onSelectionDragStart","onSelectionDrag","onSelectionDragStop","onSelectionContextMenu","connectionMode","connectionLineType","connectionLineStyle","connectionLineComponent","deleteKeyCode","selectionKeyCode","multiSelectionKeyCode","zoomActivationKeyCode","snapToGrid","snapGrid","onlyRenderVisibleElements","selectNodesOnDrag","nodesDraggable","nodesConnectable","elementsSelectable","minZoom","maxZoom","defaultZoom","defaultPosition","translateExtent","arrowHeadColor","markerEndId","zoomOnScroll","zoomOnPinch","panOnScroll","panOnScrollSpeed","panOnScrollMode","zoomOnDoubleClick","paneMoveable","onPaneClick","onPaneScroll","onPaneContextMenu","children","onEdgeUpdate"]),Dt=Object(c.useMemo)((function(){return function(t){var e={input:qs(t.input||Us),default:qs(t.default||Ys),output:qs(t.output||Zs)},n=Object.keys(t).filter((function(t){return!["input","default","output"].includes(t)})).reduce((function(e,n){return e[n]=qs(t[n]||Ys),e}),{});return d(d({},e),n)}(o)}),[]),Nt=Object(c.useMemo)((function(){return function(t){var e={default:Ss(t.default||ls),straight:Ss(t.bezier||bs),step:Ss(t.step||ms),smoothstep:Ss(t.step||Cs)},n=Object.keys(t).filter((function(t){return!["default","bezier"].includes(t)})).reduce((function(e,n){return e[n]=Ss(t[n]||ls),e}),{});return d(d({},e),n)}(s)}),[]),Lt=C(["react-flow",r]);return l.a.createElement("div",d({},Rt,{className:Lt}),l.a.createElement(nc,null,l.a.createElement(Ns,{onLoad:g,onMove:f,onMoveStart:p,onMoveEnd:A,onElementClick:u,onNodeMouseEnter:x,onNodeMouseMove:w,onNodeMouseLeave:O,onNodeContextMenu:S,onNodeDragStart:_,onNodeDragStop:k,nodeTypes:Dt,edgeTypes:Nt,connectionMode:D,connectionLineType:L,connectionLineStyle:F,connectionLineComponent:B,selectionKeyCode:W,onElementsRemove:v,deleteKeyCode:V,multiSelectionKeyCode:H,zoomActivationKeyCode:X,onConnect:I,onConnectStart:y,onConnectStop:m,onConnectEnd:b,snapToGrid:q,snapGrid:Q,onlyRenderVisibleElements:$,nodesDraggable:nt,nodesConnectable:rt,elementsSelectable:it,selectNodesOnDrag:et,minZoom:ot,maxZoom:at,defaultZoom:ct,defaultPosition:ut,translateExtent:gt,arrowHeadColor:dt,markerEndId:ht,zoomOnScroll:At,zoomOnPinch:vt,zoomOnDoubleClick:St,panOnScroll:yt,panOnScrollSpeed:bt,panOnScrollMode:wt,paneMoveable:kt,onPaneClick:jt,onPaneScroll:Et,onPaneContextMenu:Pt,onSelectionDragStart:E,onSelectionDrag:P,onSelectionDragStop:M,onSelectionContextMenu:T,onEdgeUpdate:Tt}),l.a.createElement(Ls,{elements:n}),j&&l.a.createElement(Ks,{onSelectionChange:j}),Mt))};ac.displayName="ReactFlow";var sc=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.style,a=t.color,s=t.strokeColor,c=t.className,u=t.borderRadius,g=o||{},f=g.background,d=g.backgroundColor,h=a||f||d;return l.a.createElement("rect",{className:C(["react-flow__minimap-node",c]),x:e,y:n,rx:u,ry:u,width:r,height:i,fill:h,stroke:s,strokeWidth:2})};sc.displayName="MiniMapNode";var cc=Object(c.memo)(sc),lc=function(t){var e,n=t.style,r=t.className,i=t.nodeStrokeColor,o=void 0===i?"#555":i,a=t.nodeColor,s=void 0===a?"#fff":a,c=t.nodeClassName,u=void 0===c?"":c,g=t.nodeBorderRadius,f=void 0===g?5:g,d=t.maskColor,h=void 0===d?"rgb(240, 242, 243, 0.7)":d,p=ue((function(t){return t.width})),A=ue((function(t){return t.height})),v=ue((function(t){return t.transform})),I=v[0],y=v[1],m=v[2],b=ue((function(t){return t.nodes})),x=C(["react-flow__minimap",r]),w=(null===n||void 0===n?void 0:n.width)||200,O=(null===n||void 0===n?void 0:n.height)||150,S=s instanceof Function?s:function(){return s},_=o instanceof Function?o:function(){return o},k=u instanceof Function?u:function(){return u},j=b&&b.length,E=be(b),P={x:-I/m,y:-y/m,width:p/m,height:A/m},M=j?(e=P,me(Ie(ye(E),ye(e)))):P,T=M.width/w,R=M.height/O,D=Math.max(T,R),N=D*w,L=D*O,F=5*D,B=M.x-(N-M.width)/2-F,z=M.y-(L-M.height)/2-F,V=N+2*F,G=L+2*F;return l.a.createElement("svg",{width:w,height:O,viewBox:B+" "+z+" "+V+" "+G,style:n,className:x},b.filter((function(t){return!t.isHidden})).map((function(t){return l.a.createElement(cc,{key:t.id,x:t.__rf.position.x,y:t.__rf.position.y,width:t.__rf.width,height:t.__rf.height,style:t.style,className:k(t),color:S(t),borderRadius:f,strokeColor:_(t)})})),l.a.createElement("path",{className:"react-flow__minimap-mask",d:"M"+(B-F)+","+(z-F)+"h"+(V+2*F)+"v"+(G+2*F)+"h"+(-V-2*F)+"z\n M"+P.x+","+P.y+"h"+P.width+"v"+P.height+"h"+-P.width+"z",fill:h,fillRule:"evenodd"}))};lc.displayName="MiniMap";Object(c.memo)(lc);function uc(){return(uc=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var gc=Object(c.createElement)("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"});function fc(t){return Object(c.createElement)("svg",uc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},t),gc)}function dc(){return(dc=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var hc=Object(c.createElement)("path",{d:"M0 0h32v4.2H0z"});function pc(t){return Object(c.createElement)("svg",dc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5"},t),hc)}function Ac(){return(Ac=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var Cc=Object(c.createElement)("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 01-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"});function vc(t){return Object(c.createElement)("svg",Ac({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30"},t),Cc)}function Ic(){return(Ic=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var yc=Object(c.createElement)("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"});function mc(t){return Object(c.createElement)("svg",Ic({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},t),yc)}function bc(){return(bc=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var xc=Object(c.createElement)("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"});function wc(t){return Object(c.createElement)("svg",bc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},t),xc)}var Oc=function(t){var e=t.style,n=t.showZoom,r=void 0===n||n,i=t.showFitView,o=void 0===i||i,a=t.showInteractive,s=void 0===a||a,u=t.onZoomIn,g=t.onZoomOut,f=t.onFitView,d=t.onInteractiveChange,h=t.className,p=le((function(t){return t.setInteractive})),A=Rs(),v=A.zoomIn,I=A.zoomOut,y=A.fitView,m=ue((function(t){return t.nodesDraggable&&t.nodesConnectable&&t.elementsSelectable})),b=C(["react-flow__controls",h]),x=Object(c.useCallback)((function(){null===v||void 0===v||v(),null===u||void 0===u||u()}),[v,u]),w=Object(c.useCallback)((function(){null===I||void 0===I||I(),null===g||void 0===g||g()}),[I,g]),O=Object(c.useCallback)((function(){null===y||void 0===y||y(),null===f||void 0===f||f()}),[y,f]),S=Object(c.useCallback)((function(){null===p||void 0===p||p(!m),null===d||void 0===d||d(!m)}),[m,p,d]);return l.a.createElement("div",{className:b,style:e},r&&l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"react-flow__controls-button react-flow__controls-zoomin",onClick:x},l.a.createElement(fc,null)),l.a.createElement("div",{className:"react-flow__controls-button react-flow__controls-zoomout",onClick:w},l.a.createElement(pc,null))),o&&l.a.createElement("div",{className:"react-flow__controls-button react-flow__controls-fitview",onClick:O},l.a.createElement(vc,null)),s&&l.a.createElement("div",{className:"react-flow__controls-button react-flow__controls-interactive",onClick:S},m?l.a.createElement(wc,null):l.a.createElement(mc,null)))};Oc.displayName="Controls";var Sc,_c=Object(c.memo)(Oc),kc=((Sc={})[go.Dots]="#81818a",Sc[go.Lines]="#eee",Sc),jc=function(t){var e=t.variant,n=void 0===e?go.Dots:e,r=t.gap,i=void 0===r?15:r,o=t.size,a=void 0===o?.5:o,s=t.color,c=t.style,u=t.className,g=ue((function(t){return t.transform})),f=g[0],h=g[1],p=g[2],A=C(["react-flow__background",u]),v=i*p,I=f%v,y=h%v,m=n===go.Lines,b=s||kc[n],x=m?function(t,e,n){return l.a.createElement("path",{stroke:n,strokeWidth:e,d:"M"+t/2+" 0 V"+t+" M0 "+t/2+" H"+t})}(v,a,b):function(t,e){return l.a.createElement("circle",{cx:t/2,cy:t/2,r:t,fill:e})}(a,b);return l.a.createElement("svg",{className:A,style:d(d({},c),{width:"100%",height:"100%"})},l.a.createElement("pattern",{id:"pattern",x:I,y:y,width:v,height:v,patternUnits:"userSpaceOnUse"},x),l.a.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"url(#pattern)"}))};jc.displayName="Background";var Ec=Object(c.memo)(jc);e.c=ac}).call(this,n(60),n(223)(t))},function(t,e,n){(function(t){t.exports=function(){"use strict";var e,n;function r(){return e.apply(null,arguments)}function i(t){e=t}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(s(t,e))return!1;return!0}function l(t){return void 0===t}function u(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function g(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function d(t,e){for(var n in e)s(e,n)&&(t[n]=e[n]);return s(e,"toString")&&(t.toString=e.toString),s(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,r){return Xn(t,e,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function A(t){return null==t._pf&&(t._pf=p()),t._pf}function C(t){if(null==t._isValid){var e=A(t),r=n.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function v(t){var e=h(NaN);return null!=t?d(A(e),t):A(e).userInvalidated=!0,e}n=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),r=n.length>>>0;for(e=0;e<r;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var I=r.momentProperties=[],y=!1;function m(t,e){var n,r,i;if(l(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),l(e._i)||(t._i=e._i),l(e._f)||(t._f=e._f),l(e._l)||(t._l=e._l),l(e._strict)||(t._strict=e._strict),l(e._tzm)||(t._tzm=e._tzm),l(e._isUTC)||(t._isUTC=e._isUTC),l(e._offset)||(t._offset=e._offset),l(e._pf)||(t._pf=A(e)),l(e._locale)||(t._locale=e._locale),I.length>0)for(n=0;n<I.length;n++)l(i=e[r=I[n]])||(t[r]=i);return t}function b(t){m(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function x(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function w(t){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function O(t,e){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,t),n){var i,o,a,c=[];for(o=0;o<arguments.length;o++){if(i="","object"===typeof arguments[o]){for(a in i+="\n["+o+"] ",arguments[0])s(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[o];c.push(i)}w(t+"\nArguments: "+Array.prototype.slice.call(c).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var S,_={};function k(t,e){null!=r.deprecationHandler&&r.deprecationHandler(t,e),_[t]||(w(e),_[t]=!0)}function j(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function E(t){var e,n;for(n in t)s(t,n)&&(j(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(t,e){var n,r=d({},t);for(n in e)s(e,n)&&(a(t[n])&&a(e[n])?(r[n]={},d(r[n],t[n]),d(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)s(t,n)&&!s(e,n)&&a(t[n])&&(r[n]=d({},r[n]));return r}function M(t){null!=t&&this.set(t)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)s(t,e)&&n.push(e);return n};var T={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return j(r)?r.call(e,n):r}function D(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function z(t,e,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),t&&(B[t]=i),e&&(B[e[0]]=function(){return D(i.apply(this,arguments),e[1],e[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function V(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function G(t){var e,n,r=t.match(N);for(e=0,n=r.length;e<n;e++)B[r[e]]?r[e]=B[r[e]]:r[e]=V(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=j(r[i])?r[i].call(e,t):r[i];return o}}function W(t,e){return t.isValid()?(e=Y(e,t.localeData()),F[e]=F[e]||G(e),F[e](t)):t.localeData().invalidDate()}function Y(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(L.lastIndex=0;n>=0&&L.test(t);)t=t.replace(L,r),L.lastIndex=0,n-=1;return t}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function U(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(N).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var X="Invalid date";function Z(){return this._invalidDate}var q="%d",K=/\d{1,2}/;function Q(t){return this._ordinal.replace("%d",t)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function $(t,e,n,r){var i=this._relativeTime[n];return j(i)?i(t,e,n,r):i.replace(/%d/i,t)}function tt(t,e){var n=this._relativeTime[t>0?"future":"past"];return j(n)?n(e):n.replace(/%s/i,e)}var et={};function nt(t,e){var n=t.toLowerCase();et[n]=et[n+"s"]=et[e]=t}function rt(t){return"string"===typeof t?et[t]||et[t.toLowerCase()]:void 0}function it(t){var e,n,r={};for(n in t)s(t,n)&&(e=rt(n))&&(r[e]=t[n]);return r}var ot={};function at(t,e){ot[t]=e}function st(t){var e,n=[];for(e in t)s(t,e)&&n.push({unit:e,priority:ot[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}function ct(t){return t%4===0&&t%100!==0||t%400===0}function lt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ut(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=lt(e)),n}function gt(t,e){return function(n){return null!=n?(dt(this,t,n),r.updateOffset(this,e),this):ft(this,t)}}function ft(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function dt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&ct(t.year())&&1===t.month()&&29===t.date()?(n=ut(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),$t(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function ht(t){return j(this[t=rt(t)])?this[t]():this}function pt(t,e){if("object"===typeof t){var n,r=st(t=it(t));for(n=0;n<r.length;n++)this[r[n].unit](t[r[n].unit])}else if(j(this[t=rt(t)]))return this[t](e);return this}var At,Ct=/\d/,vt=/\d\d/,It=/\d{3}/,yt=/\d{4}/,mt=/[+-]?\d{6}/,bt=/\d\d?/,xt=/\d\d\d\d?/,wt=/\d\d\d\d\d\d?/,Ot=/\d{1,3}/,St=/\d{1,4}/,_t=/[+-]?\d{1,6}/,kt=/\d+/,jt=/[+-]?\d+/,Et=/Z|[+-]\d\d:?\d\d/gi,Pt=/Z|[+-]\d\d(?::?\d\d)?/gi,Mt=/[+-]?\d+(\.\d{1,3})?/,Tt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Rt(t,e,n){At[t]=j(e)?e:function(t,r){return t&&n?n:e}}function Dt(t,e){return s(At,t)?At[t](e._strict,e._locale):new RegExp(Nt(t))}function Nt(t){return Lt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i})))}function Lt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}At={};var Ft={};function Bt(t,e){var n,r=e;for("string"===typeof t&&(t=[t]),u(e)&&(r=function(t,n){n[e]=ut(t)}),n=0;n<t.length;n++)Ft[t[n]]=r}function zt(t,e){Bt(t,(function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)}))}function Vt(t,e,n){null!=e&&s(Ft,t)&&Ft[t](e,n._a,n,t)}var Gt,Wt=0,Yt=1,Ht=2,Ut=3,Xt=4,Zt=5,qt=6,Kt=7,Qt=8;function Jt(t,e){return(t%e+e)%e}function $t(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=Jt(e,12);return t+=(e-n)/12,1===n?ct(t)?29:28:31-n%7%2}Gt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},z("M",["MM",2],"Mo",(function(){return this.month()+1})),z("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),z("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),nt("month","M"),at("month",8),Rt("M",bt),Rt("MM",bt,vt),Rt("MMM",(function(t,e){return e.monthsShortRegex(t)})),Rt("MMMM",(function(t,e){return e.monthsRegex(t)})),Bt(["M","MM"],(function(t,e){e[Yt]=ut(t)-1})),Bt(["MMM","MMMM"],(function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[Yt]=i:A(n).invalidMonth=t}));var te="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ee="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ne=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,re=Tt,ie=Tt;function oe(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ne).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone}function ae(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ne.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function se(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=Gt.call(this._shortMonthsParse,a))?i:null:-1!==(i=Gt.call(this._longMonthsParse,a))?i:null:"MMM"===e?-1!==(i=Gt.call(this._shortMonthsParse,a))||-1!==(i=Gt.call(this._longMonthsParse,a))?i:null:-1!==(i=Gt.call(this._longMonthsParse,a))||-1!==(i=Gt.call(this._shortMonthsParse,a))?i:null}function ce(t,e,n){var r,i,o;if(this._monthsParseExact)return se.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function le(t,e){var n;if(!t.isValid())return t;if("string"===typeof e)if(/^\d+$/.test(e))e=ut(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),$t(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function ue(t){return null!=t?(le(this,t),r.updateOffset(this,!0),this):ft(this,"Month")}function ge(){return $t(this.year(),this.month())}function fe(t){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=re),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function de(t){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=ie),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function he(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=h([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=Lt(r[e]),i[e]=Lt(i[e]);for(e=0;e<24;e++)o[e]=Lt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pe(t){return ct(t)?366:365}z("Y",0,0,(function(){var t=this.year();return t<=9999?D(t,4):"+"+t})),z(0,["YY",2],0,(function(){return this.year()%100})),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),nt("year","y"),at("year",1),Rt("Y",jt),Rt("YY",bt,vt),Rt("YYYY",St,yt),Rt("YYYYY",_t,mt),Rt("YYYYYY",_t,mt),Bt(["YYYYY","YYYYYY"],Wt),Bt("YYYY",(function(t,e){e[Wt]=2===t.length?r.parseTwoDigitYear(t):ut(t)})),Bt("YY",(function(t,e){e[Wt]=r.parseTwoDigitYear(t)})),Bt("Y",(function(t,e){e[Wt]=parseInt(t,10)})),r.parseTwoDigitYear=function(t){return ut(t)+(ut(t)>68?1900:2e3)};var Ae=gt("FullYear",!0);function Ce(){return ct(this.year())}function ve(t,e,n,r,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,o,a),s}function Ie(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function ye(t,e,n){var r=7+e-n;return-(7+Ie(t,0,r).getUTCDay()-e)%7+r-1}function me(t,e,n,r,i){var o,a,s=1+7*(e-1)+(7+n-r)%7+ye(t,r,i);return s<=0?a=pe(o=t-1)+s:s>pe(t)?(o=t+1,a=s-pe(t)):(o=t,a=s),{year:o,dayOfYear:a}}function be(t,e,n){var r,i,o=ye(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?r=a+xe(i=t.year()-1,e,n):a>xe(t.year(),e,n)?(r=a-xe(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function xe(t,e,n){var r=ye(t,e,n),i=ye(t+1,e,n);return(pe(t)-r+i)/7}function we(t){return be(t,this._week.dow,this._week.doy).week}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),nt("week","w"),nt("isoWeek","W"),at("week",5),at("isoWeek",5),Rt("w",bt),Rt("ww",bt,vt),Rt("W",bt),Rt("WW",bt,vt),zt(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=ut(t)}));var Oe={dow:0,doy:6};function Se(){return this._week.dow}function _e(){return this._week.doy}function ke(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function je(t){var e=be(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ee(t,e){return"string"!==typeof t?t:isNaN(t)?"number"===typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function Pe(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Me(t,e){return t.slice(e,7).concat(t.slice(0,e))}z("d",0,"do","day"),z("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),z("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),z("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),nt("day","d"),nt("weekday","e"),nt("isoWeekday","E"),at("day",11),at("weekday",11),at("isoWeekday",11),Rt("d",bt),Rt("e",bt),Rt("E",bt),Rt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Rt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Rt("dddd",(function(t,e){return e.weekdaysRegex(t)})),zt(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:A(n).invalidWeekday=t})),zt(["d","e","E"],(function(t,e,n,r){e[r]=ut(t)}));var Te="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),De="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ne=Tt,Le=Tt,Fe=Tt;function Be(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Me(n,this._week.dow):t?n[t.day()]:n}function ze(t){return!0===t?Me(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ve(t){return!0===t?Me(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ge(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=Gt.call(this._weekdaysParse,a))?i:null:"ddd"===e?-1!==(i=Gt.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Gt.call(this._minWeekdaysParse,a))?i:null:"dddd"===e?-1!==(i=Gt.call(this._weekdaysParse,a))||-1!==(i=Gt.call(this._shortWeekdaysParse,a))||-1!==(i=Gt.call(this._minWeekdaysParse,a))?i:null:"ddd"===e?-1!==(i=Gt.call(this._shortWeekdaysParse,a))||-1!==(i=Gt.call(this._weekdaysParse,a))||-1!==(i=Gt.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Gt.call(this._minWeekdaysParse,a))||-1!==(i=Gt.call(this._weekdaysParse,a))||-1!==(i=Gt.call(this._shortWeekdaysParse,a))?i:null}function We(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Ge.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Ye(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ee(t,this.localeData()),this.add(t-e,"d")):e}function He(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ue(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Xe(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ne),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ze(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Le),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qe(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fe),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ke(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],c=[],l=[];for(e=0;e<7;e++)n=h([2e3,1]).day(e),r=Lt(this.weekdaysMin(n,"")),i=Lt(this.weekdaysShort(n,"")),o=Lt(this.weekdays(n,"")),a.push(r),s.push(i),c.push(o),l.push(r),l.push(i),l.push(o);a.sort(t),s.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qe(){return this.hours()%12||12}function Je(){return this.hours()||24}function $e(t,e){z(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function tn(t,e){return e._meridiemParse}function en(t){return"p"===(t+"").toLowerCase().charAt(0)}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Qe),z("k",["kk",2],0,Je),z("hmm",0,0,(function(){return""+Qe.apply(this)+D(this.minutes(),2)})),z("hmmss",0,0,(function(){return""+Qe.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),z("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),z("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),$e("a",!0),$e("A",!1),nt("hour","h"),at("hour",13),Rt("a",tn),Rt("A",tn),Rt("H",bt),Rt("h",bt),Rt("k",bt),Rt("HH",bt,vt),Rt("hh",bt,vt),Rt("kk",bt,vt),Rt("hmm",xt),Rt("hmmss",wt),Rt("Hmm",xt),Rt("Hmmss",wt),Bt(["H","HH"],Ut),Bt(["k","kk"],(function(t,e,n){var r=ut(t);e[Ut]=24===r?0:r})),Bt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Bt(["h","hh"],(function(t,e,n){e[Ut]=ut(t),A(n).bigHour=!0})),Bt("hmm",(function(t,e,n){var r=t.length-2;e[Ut]=ut(t.substr(0,r)),e[Xt]=ut(t.substr(r)),A(n).bigHour=!0})),Bt("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[Ut]=ut(t.substr(0,r)),e[Xt]=ut(t.substr(r,2)),e[Zt]=ut(t.substr(i)),A(n).bigHour=!0})),Bt("Hmm",(function(t,e,n){var r=t.length-2;e[Ut]=ut(t.substr(0,r)),e[Xt]=ut(t.substr(r))})),Bt("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[Ut]=ut(t.substr(0,r)),e[Xt]=ut(t.substr(r,2)),e[Zt]=ut(t.substr(i))}));var nn=/[ap]\.?m?\.?/i,rn=gt("Hours",!0);function on(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var an,sn={calendar:T,longDateFormat:H,invalidDate:X,ordinal:q,dayOfMonthOrdinalParse:K,relativeTime:J,months:te,monthsShort:ee,week:Oe,weekdays:Te,weekdaysMin:De,weekdaysShort:Re,meridiemParse:nn},cn={},ln={};function un(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function gn(t){return t?t.toLowerCase().replace("_","-"):t}function fn(t){for(var e,n,r,i,o=0;o<t.length;){for(e=(i=gn(t[o]).split("-")).length,n=(n=gn(t[o+1]))?n.split("-"):null;e>0;){if(r=dn(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&un(i,n)>=e-1)break;e--}o++}return an}function dn(e){var n=null;if(void 0===cn[e]&&"undefined"!==typeof t&&t&&t.exports)try{n=an._abbr,function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}(),hn(n)}catch(r){cn[e]=null}return cn[e]}function hn(t,e){var n;return t&&((n=l(e)?Cn(t):pn(t,e))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),an._abbr}function pn(t,e){if(null!==e){var n,r=sn;if(e.abbr=t,null!=cn[t])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[t]._config;else if(null!=e.parentLocale)if(null!=cn[e.parentLocale])r=cn[e.parentLocale]._config;else{if(null==(n=dn(e.parentLocale)))return ln[e.parentLocale]||(ln[e.parentLocale]=[]),ln[e.parentLocale].push({name:t,config:e}),null;r=n._config}return cn[t]=new M(P(r,e)),ln[t]&&ln[t].forEach((function(t){pn(t.name,t.config)})),hn(t),cn[t]}return delete cn[t],null}function An(t,e){if(null!=e){var n,r,i=sn;null!=cn[t]&&null!=cn[t].parentLocale?cn[t].set(P(cn[t]._config,e)):(null!=(r=dn(t))&&(i=r._config),e=P(i,e),null==r&&(e.abbr=t),(n=new M(e)).parentLocale=cn[t],cn[t]=n),hn(t)}else null!=cn[t]&&(null!=cn[t].parentLocale?(cn[t]=cn[t].parentLocale,t===hn()&&hn(t)):null!=cn[t]&&delete cn[t]);return cn[t]}function Cn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return an;if(!o(t)){if(e=dn(t))return e;t=[t]}return fn(t)}function vn(){return S(cn)}function In(t){var e,n=t._a;return n&&-2===A(t).overflow&&(e=n[Yt]<0||n[Yt]>11?Yt:n[Ht]<1||n[Ht]>$t(n[Wt],n[Yt])?Ht:n[Ut]<0||n[Ut]>24||24===n[Ut]&&(0!==n[Xt]||0!==n[Zt]||0!==n[qt])?Ut:n[Xt]<0||n[Xt]>59?Xt:n[Zt]<0||n[Zt]>59?Zt:n[qt]<0||n[qt]>999?qt:-1,A(t)._overflowDayOfYear&&(e<Wt||e>Ht)&&(e=Ht),A(t)._overflowWeeks&&-1===e&&(e=Kt),A(t)._overflowWeekday&&-1===e&&(e=Qt),A(t).overflow=e),t}var yn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bn=/Z|[+-]\d\d(?::?\d\d)?/,xn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((-?\d+)/i,Sn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_n={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kn(t){var e,n,r,i,o,a,s=t._i,c=yn.exec(s)||mn.exec(s);if(c){for(A(t).iso=!0,e=0,n=xn.length;e<n;e++)if(xn[e][1].exec(c[1])){i=xn[e][0],r=!1!==xn[e][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(e=0,n=wn.length;e<n;e++)if(wn[e][1].exec(c[3])){o=(c[2]||" ")+wn[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(c[4]){if(!bn.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),zn(t)}else t._isValid=!1}function jn(t,e,n,r,i,o){var a=[En(t),ee.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function En(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Pn(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Mn(t,e,n){return!t||Re.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(A(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Tn(t,e,n){if(t)return _n[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function Rn(t){var e,n=Sn.exec(Pn(t._i));if(n){if(e=jn(n[4],n[3],n[2],n[5],n[6],n[7]),!Mn(n[1],e,t))return;t._a=e,t._tzm=Tn(n[8],n[9],n[10]),t._d=Ie.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),A(t).rfc2822=!0}else t._isValid=!1}function Dn(t){var e=On.exec(t._i);null===e?(kn(t),!1===t._isValid&&(delete t._isValid,Rn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:r.createFromInputFallback(t)))):t._d=new Date(+e[1])}function Nn(t,e,n){return null!=t?t:null!=e?e:n}function Ln(t){var e=new Date(r.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Fn(t){var e,n,r,i,o,a=[];if(!t._d){for(r=Ln(t),t._w&&null==t._a[Ht]&&null==t._a[Yt]&&Bn(t),null!=t._dayOfYear&&(o=Nn(t._a[Wt],r[Wt]),(t._dayOfYear>pe(o)||0===t._dayOfYear)&&(A(t)._overflowDayOfYear=!0),n=Ie(o,0,t._dayOfYear),t._a[Yt]=n.getUTCMonth(),t._a[Ht]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Ut]&&0===t._a[Xt]&&0===t._a[Zt]&&0===t._a[qt]&&(t._nextDay=!0,t._a[Ut]=0),t._d=(t._useUTC?Ie:ve).apply(null,a),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ut]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==i&&(A(t).weekdayMismatch=!0)}}function Bn(t){var e,n,r,i,o,a,s,c,l;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,a=4,n=Nn(e.GG,t._a[Wt],be(Zn(),1,4).year),r=Nn(e.W,1),((i=Nn(e.E,1))<1||i>7)&&(c=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,l=be(Zn(),o,a),n=Nn(e.gg,t._a[Wt],l.year),r=Nn(e.w,l.week),null!=e.d?((i=e.d)<0||i>6)&&(c=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(c=!0)):i=o),r<1||r>xe(n,o,a)?A(t)._overflowWeeks=!0:null!=c?A(t)._overflowWeekday=!0:(s=me(n,r,i,o,a),t._a[Wt]=s.year,t._dayOfYear=s.dayOfYear)}function zn(t){if(t._f!==r.ISO_8601)if(t._f!==r.RFC_2822){t._a=[],A(t).empty=!0;var e,n,i,o,a,s,c=""+t._i,l=c.length,u=0;for(i=Y(t._f,t._locale).match(N)||[],e=0;e<i.length;e++)o=i[e],(n=(c.match(Dt(o,t))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&A(t).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),u+=n.length),B[o]?(n?A(t).empty=!1:A(t).unusedTokens.push(o),Vt(o,n,t)):t._strict&&!n&&A(t).unusedTokens.push(o);A(t).charsLeftOver=l-u,c.length>0&&A(t).unusedInput.push(c),t._a[Ut]<=12&&!0===A(t).bigHour&&t._a[Ut]>0&&(A(t).bigHour=void 0),A(t).parsedDateParts=t._a.slice(0),A(t).meridiem=t._meridiem,t._a[Ut]=Vn(t._locale,t._a[Ut],t._meridiem),null!==(s=A(t).era)&&(t._a[Wt]=t._locale.erasConvertYear(s,t._a[Wt])),Fn(t),In(t)}else Rn(t);else kn(t)}function Vn(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function Gn(t){var e,n,r,i,o,a,s=!1;if(0===t._f.length)return A(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,a=!1,e=m({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],zn(e),C(e)&&(a=!0),o+=A(e).charsLeftOver,o+=10*A(e).unusedTokens.length,A(e).score=o,s?o<r&&(r=o,n=e):(null==r||o<r||a)&&(r=o,n=e,a&&(s=!0));d(t,n||e)}function Wn(t){if(!t._d){var e=it(t._i),n=void 0===e.day?e.date:e.day;t._a=f([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Fn(t)}}function Yn(t){var e=new b(In(Hn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Hn(t){var e=t._i,n=t._f;return t._locale=t._locale||Cn(t._l),null===e||void 0===n&&""===e?v({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new b(In(e)):(g(e)?t._d=e:o(n)?Gn(t):n?zn(t):Un(t),C(t)||(t._d=null),t))}function Un(t){var e=t._i;l(e)?t._d=new Date(r.now()):g(e)?t._d=new Date(e.valueOf()):"string"===typeof e?Dn(t):o(e)?(t._a=f(e.slice(0),(function(t){return parseInt(t,10)})),Fn(t)):a(e)?Wn(t):u(e)?t._d=new Date(e):r.createFromInputFallback(t)}function Xn(t,e,n,r,i){var s={};return!0!==e&&!1!==e||(r=e,e=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(t)&&c(t)||o(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=t,s._f=e,s._strict=r,Yn(s)}function Zn(t,e,n,r){return Xn(t,e,n,r,!1)}r.createFromInputFallback=O("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var qn=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),Kn=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function Qn(t,e){var n,r;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Zn();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}function Jn(){return Qn("isBefore",[].slice.call(arguments,0))}function $n(){return Qn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},er=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nr(t){var e,n,r=!1;for(e in t)if(s(t,e)&&(-1===Gt.call(er,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<er.length;++n)if(t[er[n]]){if(r)return!1;parseFloat(t[er[n]])!==ut(t[er[n]])&&(r=!0)}return!0}function rr(){return this._isValid}function ir(){return _r(NaN)}function or(t){var e=it(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,c=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=nr(e),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=Cn(),this._bubble()}function ar(t){return t instanceof or}function sr(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function cr(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&ut(t[r])!==ut(e[r]))&&a++;return a+o}function lr(t,e){z(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+D(~~(t/60),2)+e+D(~~t%60,2)}))}lr("Z",":"),lr("ZZ",""),Rt("Z",Pt),Rt("ZZ",Pt),Bt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=gr(Pt,t)}));var ur=/([\+\-]|\d\d)/gi;function gr(t,e){var n,r,i=(e||"").match(t);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(ur)||["-",0,0])[1]+ut(n[2]))?0:"+"===n[0]?r:-r}function fr(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(x(t)||g(t)?t.valueOf():Zn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Zn(t).local()}function dr(t){return-Math.round(t._d.getTimezoneOffset())}function hr(t,e,n){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(null===(t=gr(Pt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=dr(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!e||this._changeInProgress?Mr(this,_r(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:dr(this)}function pr(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ar(t){return this.utcOffset(0,t)}function Cr(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(dr(this),"m")),this}function vr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=gr(Et,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Ir(t){return!!this.isValid()&&(t=t?Zn(t).utcOffset():0,(this.utcOffset()-t)%60===0)}function yr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function mr(){if(!l(this._isDSTShifted))return this._isDSTShifted;var t,e={};return m(e,this),(e=Hn(e))._a?(t=e._isUTC?h(e._a):Zn(e._a),this._isDSTShifted=this.isValid()&&cr(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function br(){return!!this.isValid()&&!this._isUTC}function xr(){return!!this.isValid()&&this._isUTC}function wr(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Or=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Sr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _r(t,e){var n,r,i,o=t,a=null;return ar(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(a=Or.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:ut(a[Ht])*n,h:ut(a[Ut])*n,m:ut(a[Xt])*n,s:ut(a[Zt])*n,ms:ut(sr(1e3*a[qt]))*n}):(a=Sr.exec(t))?(n="-"===a[1]?-1:1,o={y:kr(a[2],n),M:kr(a[3],n),w:kr(a[4],n),d:kr(a[5],n),h:kr(a[6],n),m:kr(a[7],n),s:kr(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Er(Zn(o.from),Zn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new or(o),ar(t)&&s(t,"_locale")&&(r._locale=t._locale),ar(t)&&s(t,"_isValid")&&(r._isValid=t._isValid),r}function kr(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function jr(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Er(t,e){var n;return t.isValid()&&e.isValid()?(e=fr(e,t),t.isBefore(e)?n=jr(t,e):((n=jr(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Pr(t,e){return function(n,r){var i;return null===r||isNaN(+r)||(k(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Mr(this,_r(n,r),t),this}}function Mr(t,e,n,i){var o=e._milliseconds,a=sr(e._days),s=sr(e._months);t.isValid()&&(i=null==i||i,s&&le(t,ft(t,"Month")+s*n),a&&dt(t,"Date",ft(t,"Date")+a*n),o&&t._d.setTime(t._d.valueOf()+o*n),i&&r.updateOffset(t,a||s))}_r.fn=or.prototype,_r.invalid=ir;var Tr=Pr(1,"add"),Rr=Pr(-1,"subtract");function Dr(t){return"string"===typeof t||t instanceof String}function Nr(t){return x(t)||g(t)||Dr(t)||u(t)||Fr(t)||Lr(t)||null===t||void 0===t}function Lr(t){var e,n,r=a(t)&&!c(t),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<o.length;e+=1)n=o[e],i=i||s(t,n);return r&&i}function Fr(t){var e=o(t),n=!1;return e&&(n=0===t.filter((function(e){return!u(e)&&Dr(t)})).length),e&&n}function Br(t){var e,n,r=a(t)&&!c(t),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<o.length;e+=1)n=o[e],i=i||s(t,n);return r&&i}function zr(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Vr(t,e){1===arguments.length&&(arguments[0]?Nr(arguments[0])?(t=arguments[0],e=void 0):Br(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Zn(),i=fr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=e&&(j(e[o])?e[o].call(this,n):e[o]);return this.format(a||this.localeData().calendar(o,this,Zn(n)))}function Gr(){return new b(this)}function Wr(t,e){var n=x(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Yr(t,e){var n=x(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Hr(t,e,n,r){var i=x(t)?t:Zn(t),o=x(e)?e:Zn(e);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function Ur(t,e){var n,r=x(t)?t:Zn(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function Xr(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Zr(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function qr(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=fr(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=rt(e)){case"year":o=Kr(this,r)/12;break;case"month":o=Kr(this,r);break;case"quarter":o=Kr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:lt(o)}function Kr(t,e){if(t.date()<e.date())return-Kr(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return-(n+(e-r<0?(e-r)/(r-t.clone().add(n-1,"months")):(e-r)/(t.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Jr(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $r(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(t+e+n+r)}function ti(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)}function ei(t,e){return this.isValid()&&(x(t)&&t.isValid()||Zn(t).isValid())?_r({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ni(t){return this.from(Zn(),t)}function ri(t,e){return this.isValid()&&(x(t)&&t.isValid()||Zn(t).isValid())?_r({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ii(t){return this.to(Zn(),t)}function oi(t){var e;return void 0===t?this._locale._abbr:(null!=(e=Cn(t))&&(this._locale=e),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ai=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function si(){return this._locale}var ci=1e3,li=60*ci,ui=60*li,gi=3506328*ui;function fi(t,e){return(t%e+e)%e}function di(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-gi:new Date(t,e,n).valueOf()}function hi(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-gi:Date.UTC(t,e,n)}function pi(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?hi:di,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=fi(e+(this._isUTC?0:this.utcOffset()*li),ui);break;case"minute":e=this._d.valueOf(),e-=fi(e,li);break;case"second":e=this._d.valueOf(),e-=fi(e,ci)}return this._d.setTime(e),r.updateOffset(this,!0),this}function Ai(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?hi:di,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=ui-fi(e+(this._isUTC?0:this.utcOffset()*li),ui)-1;break;case"minute":e=this._d.valueOf(),e+=li-fi(e,li)-1;break;case"second":e=this._d.valueOf(),e+=ci-fi(e,ci)-1}return this._d.setTime(e),r.updateOffset(this,!0),this}function Ci(){return this._d.valueOf()-6e4*(this._offset||0)}function vi(){return Math.floor(this.valueOf()/1e3)}function Ii(){return new Date(this.valueOf())}function yi(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function mi(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function bi(){return this.isValid()?this.toISOString():null}function xi(){return C(this)}function wi(){return d({},A(this))}function Oi(){return A(this).overflow}function Si(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function _i(t,e){var n,i,o,a=this._eras||Cn("en")._eras;for(n=0,i=a.length;n<i;++n){switch(typeof a[n].since){case"string":o=r(a[n].since).startOf("day"),a[n].since=o.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=r(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}}return a}function ki(t,e,n){var r,i,o,a,s,c=this.eras();for(t=t.toUpperCase(),r=0,i=c.length;r<i;++r)if(o=c[r].name.toUpperCase(),a=c[r].abbr.toUpperCase(),s=c[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(a===t)return c[r];break;case"NNNN":if(o===t)return c[r];break;case"NNNNN":if(s===t)return c[r]}else if([o,a,s].indexOf(t)>=0)return c[r]}function ji(t,e){var n=t.since<=t.until?1:-1;return void 0===e?r(t.since).year():r(t.since).year()+(e-t.offset)*n}function Ei(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].name;if(r[t].until<=n&&n<=r[t].since)return r[t].name}return""}function Pi(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].narrow;if(r[t].until<=n&&n<=r[t].since)return r[t].narrow}return""}function Mi(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].abbr;if(r[t].until<=n&&n<=r[t].since)return r[t].abbr}return""}function Ti(){var t,e,n,i,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(n=o[t].since<=o[t].until?1:-1,i=this.clone().startOf("day").valueOf(),o[t].since<=i&&i<=o[t].until||o[t].until<=i&&i<=o[t].since)return(this.year()-r(o[t].since).year())*n+o[t].offset;return this.year()}function Ri(t){return s(this,"_erasNameRegex")||Vi.call(this),t?this._erasNameRegex:this._erasRegex}function Di(t){return s(this,"_erasAbbrRegex")||Vi.call(this),t?this._erasAbbrRegex:this._erasRegex}function Ni(t){return s(this,"_erasNarrowRegex")||Vi.call(this),t?this._erasNarrowRegex:this._erasRegex}function Li(t,e){return e.erasAbbrRegex(t)}function Fi(t,e){return e.erasNameRegex(t)}function Bi(t,e){return e.erasNarrowRegex(t)}function zi(t,e){return e._eraYearOrdinalRegex||kt}function Vi(){var t,e,n=[],r=[],i=[],o=[],a=this.eras();for(t=0,e=a.length;t<e;++t)r.push(Lt(a[t].name)),n.push(Lt(a[t].abbr)),i.push(Lt(a[t].narrow)),o.push(Lt(a[t].name)),o.push(Lt(a[t].abbr)),o.push(Lt(a[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function Gi(t,e){z(0,[t,t.length],0,e)}function Wi(t){return qi.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Yi(t){return qi.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Hi(){return xe(this.year(),1,4)}function Ui(){return xe(this.isoWeekYear(),1,4)}function Xi(){var t=this.localeData()._week;return xe(this.year(),t.dow,t.doy)}function Zi(){var t=this.localeData()._week;return xe(this.weekYear(),t.dow,t.doy)}function qi(t,e,n,r,i){var o;return null==t?be(this,r,i).year:(e>(o=xe(t,r,i))&&(e=o),Ki.call(this,t,e,n,r,i))}function Ki(t,e,n,r,i){var o=me(t,e,n,r,i),a=Ie(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qi(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}z("N",0,0,"eraAbbr"),z("NN",0,0,"eraAbbr"),z("NNN",0,0,"eraAbbr"),z("NNNN",0,0,"eraName"),z("NNNNN",0,0,"eraNarrow"),z("y",["y",1],"yo","eraYear"),z("y",["yy",2],0,"eraYear"),z("y",["yyy",3],0,"eraYear"),z("y",["yyyy",4],0,"eraYear"),Rt("N",Li),Rt("NN",Li),Rt("NNN",Li),Rt("NNNN",Fi),Rt("NNNNN",Bi),Bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?A(n).era=i:A(n).invalidEra=t})),Rt("y",kt),Rt("yy",kt),Rt("yyy",kt),Rt("yyyy",kt),Rt("yo",zi),Bt(["y","yy","yyy","yyyy"],Wt),Bt(["yo"],(function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Wt]=n._locale.eraYearOrdinalParse(t,i):e[Wt]=parseInt(t,10)})),z(0,["gg",2],0,(function(){return this.weekYear()%100})),z(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Gi("gggg","weekYear"),Gi("ggggg","weekYear"),Gi("GGGG","isoWeekYear"),Gi("GGGGG","isoWeekYear"),nt("weekYear","gg"),nt("isoWeekYear","GG"),at("weekYear",1),at("isoWeekYear",1),Rt("G",jt),Rt("g",jt),Rt("GG",bt,vt),Rt("gg",bt,vt),Rt("GGGG",St,yt),Rt("gggg",St,yt),Rt("GGGGG",_t,mt),Rt("ggggg",_t,mt),zt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=ut(t)})),zt(["gg","GG"],(function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)})),z("Q",0,"Qo","quarter"),nt("quarter","Q"),at("quarter",7),Rt("Q",Ct),Bt("Q",(function(t,e){e[Yt]=3*(ut(t)-1)})),z("D",["DD",2],"Do","date"),nt("date","D"),at("date",9),Rt("D",bt),Rt("DD",bt,vt),Rt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Bt(["D","DD"],Ht),Bt("Do",(function(t,e){e[Ht]=ut(t.match(bt)[0])}));var Ji=gt("Date",!0);function $i(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}z("DDD",["DDDD",3],"DDDo","dayOfYear"),nt("dayOfYear","DDD"),at("dayOfYear",4),Rt("DDD",Ot),Rt("DDDD",It),Bt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=ut(t)})),z("m",["mm",2],0,"minute"),nt("minute","m"),at("minute",14),Rt("m",bt),Rt("mm",bt,vt),Bt(["m","mm"],Xt);var to=gt("Minutes",!1);z("s",["ss",2],0,"second"),nt("second","s"),at("second",15),Rt("s",bt),Rt("ss",bt,vt),Bt(["s","ss"],Zt);var eo,no,ro=gt("Seconds",!1);for(z("S",0,0,(function(){return~~(this.millisecond()/100)})),z(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),z(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),z(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),z(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),z(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),z(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),nt("millisecond","ms"),at("millisecond",16),Rt("S",Ot,Ct),Rt("SS",Ot,vt),Rt("SSS",Ot,It),eo="SSSS";eo.length<=9;eo+="S")Rt(eo,kt);function io(t,e){e[qt]=ut(1e3*("0."+t))}for(eo="S";eo.length<=9;eo+="S")Bt(eo,io);function oo(){return this._isUTC?"UTC":""}function ao(){return this._isUTC?"Coordinated Universal Time":""}no=gt("Milliseconds",!1),z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var so=b.prototype;function co(t){return Zn(1e3*t)}function lo(){return Zn.apply(null,arguments).parseZone()}function uo(t){return t}so.add=Tr,so.calendar=Vr,so.clone=Gr,so.diff=qr,so.endOf=Ai,so.format=ti,so.from=ei,so.fromNow=ni,so.to=ri,so.toNow=ii,so.get=ht,so.invalidAt=Oi,so.isAfter=Wr,so.isBefore=Yr,so.isBetween=Hr,so.isSame=Ur,so.isSameOrAfter=Xr,so.isSameOrBefore=Zr,so.isValid=xi,so.lang=ai,so.locale=oi,so.localeData=si,so.max=Kn,so.min=qn,so.parsingFlags=wi,so.set=pt,so.startOf=pi,so.subtract=Rr,so.toArray=yi,so.toObject=mi,so.toDate=Ii,so.toISOString=Jr,so.inspect=$r,"undefined"!==typeof Symbol&&null!=Symbol.for&&(so[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),so.toJSON=bi,so.toString=Qr,so.unix=vi,so.valueOf=Ci,so.creationData=Si,so.eraName=Ei,so.eraNarrow=Pi,so.eraAbbr=Mi,so.eraYear=Ti,so.year=Ae,so.isLeapYear=Ce,so.weekYear=Wi,so.isoWeekYear=Yi,so.quarter=so.quarters=Qi,so.month=ue,so.daysInMonth=ge,so.week=so.weeks=ke,so.isoWeek=so.isoWeeks=je,so.weeksInYear=Xi,so.weeksInWeekYear=Zi,so.isoWeeksInYear=Hi,so.isoWeeksInISOWeekYear=Ui,so.date=Ji,so.day=so.days=Ye,so.weekday=He,so.isoWeekday=Ue,so.dayOfYear=$i,so.hour=so.hours=rn,so.minute=so.minutes=to,so.second=so.seconds=ro,so.millisecond=so.milliseconds=no,so.utcOffset=hr,so.utc=Ar,so.local=Cr,so.parseZone=vr,so.hasAlignedHourOffset=Ir,so.isDST=yr,so.isLocal=br,so.isUtcOffset=xr,so.isUtc=wr,so.isUTC=wr,so.zoneAbbr=oo,so.zoneName=ao,so.dates=O("dates accessor is deprecated. Use date instead.",Ji),so.months=O("months accessor is deprecated. Use month instead",ue),so.years=O("years accessor is deprecated. Use year instead",Ae),so.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",pr),so.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",mr);var go=M.prototype;function fo(t,e,n,r){var i=Cn(),o=h().set(r,e);return i[n](o,t)}function ho(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return fo(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fo(t,r,n,"month");return i}function po(t,e,n,r){"boolean"===typeof t?(u(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,u(e)&&(n=e,e=void 0),e=e||"");var i,o=Cn(),a=t?o._week.dow:0,s=[];if(null!=n)return fo(e,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=fo(e,(i+a)%7,r,"day");return s}function Ao(t,e){return ho(t,e,"months")}function Co(t,e){return ho(t,e,"monthsShort")}function vo(t,e,n){return po(t,e,n,"weekdays")}function Io(t,e,n){return po(t,e,n,"weekdaysShort")}function yo(t,e,n){return po(t,e,n,"weekdaysMin")}go.calendar=R,go.longDateFormat=U,go.invalidDate=Z,go.ordinal=Q,go.preparse=uo,go.postformat=uo,go.relativeTime=$,go.pastFuture=tt,go.set=E,go.eras=_i,go.erasParse=ki,go.erasConvertYear=ji,go.erasAbbrRegex=Di,go.erasNameRegex=Ri,go.erasNarrowRegex=Ni,go.months=oe,go.monthsShort=ae,go.monthsParse=ce,go.monthsRegex=de,go.monthsShortRegex=fe,go.week=we,go.firstDayOfYear=_e,go.firstDayOfWeek=Se,go.weekdays=Be,go.weekdaysMin=Ve,go.weekdaysShort=ze,go.weekdaysParse=We,go.weekdaysRegex=Xe,go.weekdaysShortRegex=Ze,go.weekdaysMinRegex=qe,go.isPM=en,go.meridiem=on,hn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===ut(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=O("moment.lang is deprecated. Use moment.locale instead.",hn),r.langData=O("moment.langData is deprecated. Use moment.localeData instead.",Cn);var mo=Math.abs;function bo(){var t=this._data;return this._milliseconds=mo(this._milliseconds),this._days=mo(this._days),this._months=mo(this._months),t.milliseconds=mo(t.milliseconds),t.seconds=mo(t.seconds),t.minutes=mo(t.minutes),t.hours=mo(t.hours),t.months=mo(t.months),t.years=mo(t.years),this}function xo(t,e,n,r){var i=_r(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function wo(t,e){return xo(this,t,e,1)}function Oo(t,e){return xo(this,t,e,-1)}function So(t){return t<0?Math.floor(t):Math.ceil(t)}function _o(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*So(jo(s)+a),a=0,s=0),c.milliseconds=o%1e3,t=lt(o/1e3),c.seconds=t%60,e=lt(t/60),c.minutes=e%60,n=lt(e/60),c.hours=n%24,a+=lt(n/24),s+=i=lt(ko(a)),a-=So(jo(i)),r=lt(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function ko(t){return 4800*t/146097}function jo(t){return 146097*t/4800}function Eo(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=rt(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+ko(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(jo(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function Po(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ut(this._months/12):NaN}function Mo(t){return function(){return this.as(t)}}var To=Mo("ms"),Ro=Mo("s"),Do=Mo("m"),No=Mo("h"),Lo=Mo("d"),Fo=Mo("w"),Bo=Mo("M"),zo=Mo("Q"),Vo=Mo("y");function Go(){return _r(this)}function Wo(t){return t=rt(t),this.isValid()?this[t+"s"]():NaN}function Yo(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ho=Yo("milliseconds"),Uo=Yo("seconds"),Xo=Yo("minutes"),Zo=Yo("hours"),qo=Yo("days"),Ko=Yo("months"),Qo=Yo("years");function Jo(){return lt(this.days()/7)}var $o=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ea(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function na(t,e,n,r){var i=_r(t).abs(),o=$o(i.as("s")),a=$o(i.as("m")),s=$o(i.as("h")),c=$o(i.as("d")),l=$o(i.as("M")),u=$o(i.as("w")),g=$o(i.as("y")),f=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||c<=1&&["d"]||c<n.d&&["dd",c];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),(f=f||l<=1&&["M"]||l<n.M&&["MM",l]||g<=1&&["y"]||["yy",g])[2]=e,f[3]=+t>0,f[4]=r,ea.apply(null,f)}function ra(t){return void 0===t?$o:"function"===typeof t&&($o=t,!0)}function ia(t,e){return void 0!==ta[t]&&(void 0===e?ta[t]:(ta[t]=e,"s"===t&&(ta.ss=e-1),!0))}function oa(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ta;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(i=t),"object"===typeof e&&(o=Object.assign({},ta,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),r=na(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var aa=Math.abs;function sa(t){return(t>0)-(t<0)||+t}function ca(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,o,a,s,c=aa(this._milliseconds)/1e3,l=aa(this._days),u=aa(this._months),g=this.asSeconds();return g?(t=lt(c/60),e=lt(t/60),c%=60,t%=60,n=lt(u/12),u%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=g<0?"-":"",o=sa(this._months)!==sa(g)?"-":"",a=sa(this._days)!==sa(g)?"-":"",s=sa(this._milliseconds)!==sa(g)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(l?a+l+"D":"")+(e||t||c?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(c?s+r+"S":"")):"P0D"}var la=or.prototype;return la.isValid=rr,la.abs=bo,la.add=wo,la.subtract=Oo,la.as=Eo,la.asMilliseconds=To,la.asSeconds=Ro,la.asMinutes=Do,la.asHours=No,la.asDays=Lo,la.asWeeks=Fo,la.asMonths=Bo,la.asQuarters=zo,la.asYears=Vo,la.valueOf=Po,la._bubble=_o,la.clone=Go,la.get=Wo,la.milliseconds=Ho,la.seconds=Uo,la.minutes=Xo,la.hours=Zo,la.days=qo,la.weeks=Jo,la.months=Ko,la.years=Qo,la.humanize=oa,la.toISOString=ca,la.toString=ca,la.toJSON=ca,la.locale=oi,la.localeData=si,la.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca),la.lang=ai,z("X",0,0,"unix"),z("x",0,0,"valueOf"),Rt("x",jt),Rt("X",Mt),Bt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Bt("x",(function(t,e,n){n._d=new Date(ut(t))})),r.version="2.29.1",i(Zn),r.fn=so,r.min=Jn,r.max=$n,r.now=tr,r.utc=h,r.unix=co,r.months=Ao,r.isDate=g,r.locale=hn,r.invalid=v,r.duration=_r,r.isMoment=x,r.weekdays=vo,r.parseZone=lo,r.localeData=Cn,r.isDuration=ar,r.monthsShort=Co,r.weekdaysMin=yo,r.defineLocale=pn,r.updateLocale=An,r.locales=vn,r.weekdaysShort=Io,r.normalizeUnits=rt,r.relativeTimeRounding=ra,r.relativeTimeThreshold=ia,r.calendarFormat=zr,r.prototype=so,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(129)(t))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(953)),i=n(958),o=s(n(524)),a=s(n(961));function s(t){return t&&t.__esModule?t:{default:t}}var c=/((?:\-[a-z]+\-)?calc)/;e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,r.default)(t).walk((function(t){if("function"===t.type&&c.test(t.value)){var n=r.default.stringify(t.nodes);if(!(n.indexOf("constant")>=0||n.indexOf("env")>=0)){var s=i.parser.parse(n),l=(0,o.default)(s,e);t.type="word",t.value=(0,a.default)(t.value,l,e)}}}),!0).toString()},t.exports=e.default},function(t,e,n){"use strict";n.d(e,"a",(function(){return U}));var r=n(16),i=n.n(r),o=n(14),a=n.n(o),s=n(176),c=n.n(s),l=n(0),u=n.n(l),g=n(122),f=n(19),d=n.n(f),h=n(167),p=n.n(h),A=n(21),C=n.n(A),v=n(8);function I(t){return(I="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach((function(e){w(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return j(this,n)}}function j(t,e){return!e||"object"!==I(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(t){return C()(t)&&Object(v.f)(t[0])&&Object(v.f)(t[1])?t.join(" ~ "):t}var M=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(a,t);var e,n,r,o=k(a);function a(){return O(this,a),o.apply(this,arguments)}return e=a,(n=[{key:"renderContent",value:function(){var t=this.props,e=t.payload,n=t.separator,r=t.formatter,i=t.itemStyle,o=t.itemSorter;if(e&&e.length){var a=(o?p()(e,o):e).map((function(t,o){if("none"===t.type)return null;var a=x({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},i),s=t.formatter||r||P,c=t.name,l=t.value;if(s){var g=s(l,c,t,o,e);if(Array.isArray(g)){var f=y(g,2);l=f[0],c=f[1]}else l=g}return u.a.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(o),style:a},Object(v.f)(c)?u.a.createElement("span",{className:"recharts-tooltip-item-name"},c):null,Object(v.f)(c)?u.a.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,u.a.createElement("span",{className:"recharts-tooltip-item-value"},l),u.a.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return u.a.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},a)}return null}},{key:"render",value:function(){var t=this.props,e=t.wrapperClassName,n=t.contentStyle,r=t.labelClassName,o=t.labelStyle,a=t.label,s=t.labelFormatter,c=t.payload,l=x({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},n),g=x({margin:0},o),f=!i()(a),h=f?a:"",p=d()("recharts-default-tooltip",e),A=d()("recharts-tooltip-label",r);return f&&s&&(h=s(a,c)),u.a.createElement("div",{className:p,style:l},u.a.createElement("p",{className:A,style:g},u.a.isValidElement(h)?h:"".concat(h)),this.renderContent())}}])&&S(e.prototype,n),r&&S(e,r),a}(l.PureComponent);M.displayName="DefaultTooltipContent",M.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var T=n(100);function R(t){return(R="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function N(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){L(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function z(t,e){return(z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function V(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=W(t);if(e){var i=W(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return G(this,n)}}function G(t,e){return!e||"object"!==R(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Y="recharts-tooltip-wrapper";function H(t){return t.dataKey}var U=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}(s,t);var e,n,r,o=V(s);function s(){var t;F(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))).state={boxWidth:-1,boxHeight:-1},t.wrapperNode=void 0,t.getTranslate=function(e){var n=e.key,r=e.tooltipDimension,i=e.viewBoxDimension,o=t.props,a=o.allowEscapeViewBox,s=o.coordinate,c=o.offset,l=o.position,u=o.viewBox;if(l&&Object(v.g)(l[n]))return l[n];var g=s[n]-r-c,f=s[n]+c;return a[n]?f:s[n]+r+c>u[n]+i?Math.max(g,u[n]):Math.max(f,u[n])},t}return e=s,(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-e)>1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,n,r=this,o=this.props,s=o.payload,l=o.isAnimationActive,f=o.animationDuration,h=o.animationEasing,p=o.filterNull,A=function(t,e){return!0===t?c()(e,H):a()(t)?c()(e,t):e}(o.payloadUniqBy,p&&s&&s.length?s.filter((function(t){return!i()(t.value)})):s),C=A&&A.length,I=this.props,y=I.content,m=I.viewBox,b=I.coordinate,x=I.position,w=I.active,O=N({pointerEvents:"none",visibility:w&&C?"visible":"hidden",position:"absolute",top:0,left:0},I.wrapperStyle);if(x&&Object(v.g)(x.x)&&Object(v.g)(x.y))e=x.x,n=x.y;else{var S=this.state,_=S.boxWidth,k=S.boxHeight;_>0&&k>0&&b?(e=this.getTranslate({key:"x",tooltipDimension:_,viewBoxDimension:m.width}),n=this.getTranslate({key:"y",tooltipDimension:k,viewBoxDimension:m.height})):O.visibility="hidden"}O=N(N({},Object(g.b)({transform:this.props.useTranslate3d?"translate3d(".concat(e,"px, ").concat(n,"px, 0)"):"translate(".concat(e,"px, ").concat(n,"px)")})),O),l&&w&&(O=N(N({},Object(g.b)({transition:"transform ".concat(f,"ms ").concat(h)})),O));var j=d()(Y,(L(t={},"".concat(Y,"-right"),Object(v.g)(e)&&b&&Object(v.g)(b.x)&&e>=b.x),L(t,"".concat(Y,"-left"),Object(v.g)(e)&&b&&Object(v.g)(b.x)&&e<b.x),L(t,"".concat(Y,"-bottom"),Object(v.g)(n)&&b&&Object(v.g)(b.y)&&n>=b.y),L(t,"".concat(Y,"-top"),Object(v.g)(n)&&b&&Object(v.g)(b.y)&&n<b.y),t));return u.a.createElement("div",{className:j,style:O,ref:function(t){r.wrapperNode=t}},function(t,e){return u.a.isValidElement(t)?u.a.cloneElement(t,e):a()(t)?u.a.createElement(t,e):u.a.createElement(M,e)}(y,N(N({},this.props),{},{payload:A})))}}])&&B(e.prototype,n),r&&B(e,r),s}(l.PureComponent);U.displayName="Tooltip",U.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!T.a.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1}},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(t,e,n){var a=(e-t)/Math.max(0,n),s=Math.floor(Math.log(a)/Math.LN10),c=a/Math.pow(10,s);return s>=0?(c>=r?10:c>=i?5:c>=o?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(c>=r?10:c>=i?5:c>=o?2:1)}function s(t,e,n){var a=Math.abs(e-t)/Math.max(0,n),s=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),c=a/s;return c>=r?s*=10:c>=i?s*=5:c>=o&&(s*=2),e<t?-s:s}e.a=function(t,e,n){var r,i,o,s,c=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(s=a(t,e,n))||!isFinite(s))return[];if(s>0)for(t=Math.ceil(t/s),e=Math.floor(e/s),o=new Array(i=Math.ceil(e-t+1));++c<i;)o[c]=(t+c)*s;else for(s=-s,t=Math.ceil(t*s),e=Math.floor(e*s),o=new Array(i=Math.ceil(e-t+1));++c<i;)o[c]=(t+c)/s;return r&&o.reverse(),o}},,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var n,s,c=a(t),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))i.call(n,u)&&(c[u]=n[u]);if(r){s=r(n);for(var g=0;g<s.length;g++)o.call(n,s[g])&&(c[s[g]]=n[s[g]])}}return c}},function(t,e,n){var r=n(184);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(227),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(443),i=n(316).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(52);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,e,n){var r=n(188),i=n(321);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.7.0",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(61),i=n(623),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(53);e.f=r},function(t,e,n){var r={};r[n(53)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r,i,o,a=n(626),s=n(61),c=n(76),l=n(105),u=n(84),g=n(321),f=n(230),d=n(228),h=s.WeakMap;if(a){var p=g.state||(g.state=new h),A=p.get,C=p.has,v=p.set;r=function(t,e){return e.facade=t,v.call(p,t,e),e},i=function(t){return A.call(p,t)||{}},o=function(t){return C.call(p,t)}}else{var I=f("state");d[I]=!0,r=function(t,e){return e.facade=t,l(t,I,e),e},i=function(t){return u(t,I)?t[I]:{}},o=function(t){return u(t,I)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(76),i=n(189),o=n(53)("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var r,i,o=n(61),a=n(452),s=o.process,c=s&&s.versions,l=c&&c.v8;l?i=(r=l.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},function(t,e,n){var r=n(84),i=n(85),o=n(230),a=n(459),s=o("IE_PROTO"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,e,n){t.exports=n(682)},function(t,e,n){"use strict";function r(t){return function(){return null}}n.d(e,"a",(function(){return r}))},function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(t,e,n){var r=n(850),i=n(116),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e){t.exports=function(t,e){return t===e||t!==t&&e!==e}},function(t,e,n){var r=n(134)(n(96),"Map");t.exports=r},function(t,e,n){var r=n(877),i=n(884),o=n(886),a=n(887),s=n(888);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e,n){var r=n(889),i=n(116);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!==e&&n!==n:r(e,n,o,a,t,s))}},function(t,e,n){var r=n(338),i=n(890),o=n(891);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},function(t,e,n){var r=n(510),i=n(251);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},function(t,e,n){var r=n(21),i=n(150),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},function(t,e,n){var r=n(505),i=n(921);t.exports=function t(e,n,o,a,s){var c=-1,l=e.length;for(o||(o=i),s||(s=[]);++c<l;){var u=e[c];n>0&&o(u)?n>1?t(u,n-1,o,a,s):r(s,u):a||(s[s.length]=u)}return s}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l}));var r=n(35),i=function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o},o=n(23),a=n(203);function s(){var t,e,n=Object(a.a)().unknown(void 0),c=n.domain,l=n.range,u=0,g=1,f=!1,d=0,h=0,p=.5;function A(){var n=c().length,r=g<u,o=r?g:u,a=r?u:g;t=(a-o)/Math.max(1,n-d+2*h),f&&(t=Math.floor(t)),o+=(a-o-t*(n-d))*p,e=t*(1-d),f&&(o=Math.round(o),e=Math.round(e));var s=i(n).map((function(e){return o+t*e}));return l(r?s.reverse():s)}return delete n.unknown,n.domain=function(t){return arguments.length?(c(t),A()):c()},n.range=function(t){var e,n;return arguments.length?(e=t,n=Object(r.a)(e,2),u=n[0],g=n[1],u=+u,g=+g,A()):[u,g]},n.rangeRound=function(t){var e,n;return e=t,n=Object(r.a)(e,2),u=n[0],g=n[1],u=+u,g=+g,f=!0,A()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(f=!!t,A()):f},n.padding=function(t){return arguments.length?(d=Math.min(1,h=+t),A()):d},n.paddingInner=function(t){return arguments.length?(d=Math.min(1,t),A()):d},n.paddingOuter=function(t){return arguments.length?(h=+t,A()):h},n.align=function(t){return arguments.length?(p=Math.max(0,Math.min(1,t)),A()):p},n.copy=function(){return s(c(),[u,g]).round(f).paddingInner(d).paddingOuter(h).align(p)},o.b.apply(A(),arguments)}function c(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return c(e())},t}function l(){return c(s.apply(null,arguments).paddingInner(1))}},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(11),l=n(368),u=n(9),g=o.forwardRef((function(t,e){var n=t.edge,s=void 0!==n&&n,c=t.children,g=t.classes,f=t.className,d=t.color,h=void 0===d?"default":d,p=t.disabled,A=void 0!==p&&p,C=t.disableFocusRipple,v=void 0!==C&&C,I=t.size,y=void 0===I?"medium":I,m=Object(i.a)(t,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(l.a,Object(r.a)({className:Object(a.default)(g.root,f,"default"!==h&&g["color".concat(Object(u.a)(h))],A&&g.disabled,"small"===y&&g["size".concat(Object(u.a)(y))],{start:g.edgeStart,end:g.edgeEnd}[s]),centerRipple:!0,focusRipple:!v,disabled:A,ref:e},m),o.createElement("span",{className:g.label},c))}));e.a=Object(s.a)((function(t){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:t.palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(c.d)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:t.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:t.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(g)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(140),c=n(7),l=n(9),u=n(78),g=n(102),f=o.forwardRef((function(t,e){var n=t.children,c=t.classes,f=t.className,d=t.color,h=void 0===d?"primary":d,p=t.component,A=void 0===p?"div":p,C=t.disabled,v=void 0!==C&&C,I=t.error,y=void 0!==I&&I,m=t.fullWidth,b=void 0!==m&&m,x=t.focused,w=t.hiddenLabel,O=void 0!==w&&w,S=t.margin,_=void 0===S?"none":S,k=t.required,j=void 0!==k&&k,E=t.size,P=t.variant,M=void 0===P?"standard":P,T=Object(i.a)(t,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),R=o.useState((function(){var t=!1;return n&&o.Children.forEach(n,(function(e){if(Object(u.a)(e,["Input","Select"])){var n=Object(u.a)(e,["Select"])?e.props.input:e;n&&Object(s.a)(n.props)&&(t=!0)}})),t})),D=R[0],N=R[1],L=o.useState((function(){var t=!1;return n&&o.Children.forEach(n,(function(e){Object(u.a)(e,["Input","Select"])&&Object(s.b)(e.props,!0)&&(t=!0)})),t})),F=L[0],B=L[1],z=o.useState(!1),V=z[0],G=z[1],W=void 0!==x?x:V;v&&W&&G(!1);var Y=o.useCallback((function(){B(!0)}),[]),H={adornedStart:D,setAdornedStart:N,color:h,disabled:v,error:y,filled:F,focused:W,fullWidth:b,hiddenLabel:O,margin:("small"===E?"dense":void 0)||_,onBlur:function(){G(!1)},onEmpty:o.useCallback((function(){B(!1)}),[]),onFilled:Y,onFocus:function(){G(!0)},registerEffect:undefined,required:j,variant:M};return o.createElement(g.a.Provider,{value:H},o.createElement(A,Object(r.a)({className:Object(a.default)(c.root,f,"none"!==_&&c["margin".concat(Object(l.a)(_))],b&&c.fullWidth),ref:e},T),n))}));e.a=Object(c.a)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(f)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=o.forwardRef((function(t,e){var n=t.classes,s=t.className,c=t.row,l=void 0!==c&&c,u=Object(i.a)(t,["classes","className","row"]);return o.createElement("div",Object(r.a)({className:Object(a.default)(n.root,s,l&&n.row),ref:e},u))}));e.a=Object(s.a)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(c)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(79),c=n(64),l=n(7),u=n(982),g=o.forwardRef((function(t,e){var n=t.classes,l=t.className,g=t.disableAnimation,f=void 0!==g&&g,d=(t.margin,t.shrink),h=(t.variant,Object(i.a)(t,["classes","className","disableAnimation","margin","shrink","variant"])),p=Object(c.a)(),A=d;"undefined"===typeof A&&p&&(A=p.filled||p.focused||p.adornedStart);var C=Object(s.a)({props:t,muiFormControl:p,states:["margin","variant"]});return o.createElement(u.a,Object(r.a)({"data-shrink":A,className:Object(a.default)(n.root,l,p&&n.formControl,!f&&n.animated,A&&n.shrink,"dense"===C.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[C.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:e},h))}));e.a=Object(l.a)((function(t){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:t.transitions.create(["color","transform"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(g)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(20)),s=n(63),c=n(3),l=n(32),u=n(117),g=n(65),f=n(7),d=n(353),h=n(269),p=n(266);function A(t,e){var n=0;return"number"===typeof e?n=e:"center"===e?n=t.height/2:"bottom"===e&&(n=t.height),n}function C(t,e){var n=0;return"number"===typeof e?n=e:"center"===e?n=t.width/2:"right"===e&&(n=t.width),n}function v(t){return[t.horizontal,t.vertical].map((function(t){return"number"===typeof t?"".concat(t,"px"):t})).join(" ")}function I(t){return"function"===typeof t?t():t}var y=o.forwardRef((function(t,e){var n=t.action,f=t.anchorEl,y=t.anchorOrigin,m=void 0===y?{vertical:"top",horizontal:"left"}:y,b=t.anchorPosition,x=t.anchorReference,w=void 0===x?"anchorEl":x,O=t.children,S=t.classes,_=t.className,k=t.container,j=t.elevation,E=void 0===j?8:j,P=t.getContentAnchorEl,M=t.marginThreshold,T=void 0===M?16:M,R=t.onEnter,D=t.onEntered,N=t.onEntering,L=t.onExit,F=t.onExited,B=t.onExiting,z=t.open,V=t.PaperProps,G=void 0===V?{}:V,W=t.transformOrigin,Y=void 0===W?{vertical:"top",horizontal:"left"}:W,H=t.TransitionComponent,U=void 0===H?h.a:H,X=t.transitionDuration,Z=void 0===X?"auto":X,q=t.TransitionProps,K=void 0===q?{}:q,Q=Object(i.a)(t,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),J=o.useRef(),$=o.useCallback((function(t){if("anchorPosition"===w)return b;var e=I(f),n=(e&&1===e.nodeType?e:Object(l.a)(J.current).body).getBoundingClientRect(),r=0===t?m.vertical:"center";return{top:n.top+A(n,r),left:n.left+C(n,m.horizontal)}}),[f,m.horizontal,m.vertical,b,w]),tt=o.useCallback((function(t){var e=0;if(P&&"anchorEl"===w){var n=P(t);if(n&&t.contains(n)){var r=function(t,e){for(var n=e,r=0;n&&n!==t;)r+=(n=n.parentElement).scrollTop;return r}(t,n);e=n.offsetTop+n.clientHeight/2-r||0}0}return e}),[m.vertical,w,P]),et=o.useCallback((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:A(t,Y.vertical)+e,horizontal:C(t,Y.horizontal)}}),[Y.horizontal,Y.vertical]),nt=o.useCallback((function(t){var e=tt(t),n={width:t.offsetWidth,height:t.offsetHeight},r=et(n,e);if("none"===w)return{top:null,left:null,transformOrigin:v(r)};var i=$(e),o=i.top-r.vertical,a=i.left-r.horizontal,s=o+n.height,c=a+n.width,l=Object(u.a)(I(f)),g=l.innerHeight-T,d=l.innerWidth-T;if(o<T){var h=o-T;o-=h,r.vertical+=h}else if(s>g){var p=s-g;o-=p,r.vertical+=p}if(a<T){var A=a-T;a-=A,r.horizontal+=A}else if(c>d){var C=c-d;a-=C,r.horizontal+=C}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:v(r)}}),[f,w,$,tt,et,T]),rt=o.useCallback((function(){var t=J.current;if(t){var e=nt(t);null!==e.top&&(t.style.top=e.top),null!==e.left&&(t.style.left=e.left),t.style.transformOrigin=e.transformOrigin}}),[nt]),it=o.useCallback((function(t){J.current=a.findDOMNode(t)}),[]);o.useEffect((function(){z&&rt()})),o.useImperativeHandle(n,(function(){return z?{updatePosition:function(){rt()}}:null}),[z,rt]),o.useEffect((function(){if(z){var t=Object(s.a)((function(){rt()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[z,rt]);var ot=Z;"auto"!==Z||U.muiSupportAuto||(ot=void 0);var at=k||(f?Object(l.a)(I(f)).body:void 0);return o.createElement(d.a,Object(r.a)({container:at,open:z,ref:e,BackdropProps:{invisible:!0},className:Object(c.default)(S.root,_)},Q),o.createElement(U,Object(r.a)({appear:!0,in:z,onEnter:R,onEntered:D,onExit:L,onExited:F,onExiting:B,timeout:ot},K,{onEntering:Object(g.a)((function(t,e){N&&N(t,e),rt()}),K.onEntering)}),o.createElement(p.a,Object(r.a)({elevation:E,ref:it},G,{className:Object(c.default)(S.paper,G.className)}),O)))}));e.a=Object(f.a)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(y)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(1014)),s=n(39),c=n(108),l=n(367),u=(n(86),n(3)),g=n(32),f=n(9),d=n(539),h=n(140),p=n(18),A=n(57);function C(t,e){return"object"===Object(c.a)(e)&&null!==e?t===e:String(t)===String(e)}var v=o.forwardRef((function(t,e){var n=t["aria-label"],a=t.autoFocus,c=t.autoWidth,v=t.children,I=t.classes,y=t.className,m=t.defaultValue,b=t.disabled,x=t.displayEmpty,w=t.IconComponent,O=t.inputRef,S=t.labelId,_=t.MenuProps,k=void 0===_?{}:_,j=t.multiple,E=t.name,P=t.onBlur,M=t.onChange,T=t.onClose,R=t.onFocus,D=t.onOpen,N=t.open,L=t.readOnly,F=t.renderValue,B=t.SelectDisplayProps,z=void 0===B?{}:B,V=t.tabIndex,G=(t.type,t.value),W=t.variant,Y=void 0===W?"standard":W,H=Object(i.a)(t,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),U=Object(A.a)({controlled:G,default:m,name:"Select"}),X=Object(s.a)(U,2),Z=X[0],q=X[1],K=o.useRef(null),Q=o.useState(null),J=Q[0],$=Q[1],tt=o.useRef(null!=N).current,et=o.useState(),nt=et[0],rt=et[1],it=o.useState(!1),ot=it[0],at=it[1],st=Object(p.a)(e,O);o.useImperativeHandle(st,(function(){return{focus:function(){J.focus()},node:K.current,value:Z}}),[J,Z]),o.useEffect((function(){a&&J&&J.focus()}),[a,J]),o.useEffect((function(){if(J){var t=Object(g.a)(J).getElementById(S);if(t){var e=function(){getSelection().isCollapsed&&J.focus()};return t.addEventListener("click",e),function(){t.removeEventListener("click",e)}}}}),[S,J]);var ct,lt,ut=function(t,e){t?D&&D(e):T&&T(e),tt||(rt(c?null:J.clientWidth),at(t))},gt=o.Children.toArray(v),ft=function(t){return function(e){var n;if(j||ut(!1,e),j){n=Array.isArray(Z)?Z.slice():[];var r=Z.indexOf(t.props.value);-1===r?n.push(t.props.value):n.splice(r,1)}else n=t.props.value;t.props.onClick&&t.props.onClick(e),Z!==n&&(q(n),M&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:n,name:E}}),M(e,t)))}},dt=null!==J&&(tt?N:ot);delete H["aria-invalid"];var ht=[],pt=!1;(Object(h.b)({value:Z})||x)&&(F?ct=F(Z):pt=!0);var At=gt.map((function(t){if(!o.isValidElement(t))return null;var e;if(j){if(!Array.isArray(Z))throw new Error(Object(l.a)(2));(e=Z.some((function(e){return C(e,t.props.value)})))&&pt&&ht.push(t.props.children)}else(e=C(Z,t.props.value))&&pt&&(lt=t.props.children);return e&&!0,o.cloneElement(t,{"aria-selected":e?"true":void 0,onClick:ft(t),onKeyUp:function(e){" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:e,value:void 0,"data-value":t.props.value})}));pt&&(ct=j?ht.join(", "):lt);var Ct,vt=nt;!c&&tt&&J&&(vt=J.clientWidth),Ct="undefined"!==typeof V?V:b?null:0;var It=z.id||(E?"mui-component-select-".concat(E):void 0);return o.createElement(o.Fragment,null,o.createElement("div",Object(r.a)({className:Object(u.default)(I.root,I.select,I.selectMenu,I[Y],y,b&&I.disabled),ref:$,tabIndex:Ct,role:"button","aria-disabled":b?"true":void 0,"aria-expanded":dt?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[S,It].filter(Boolean).join(" ")||void 0,onKeyDown:function(t){if(!L){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),ut(!0,t))}},onMouseDown:b||L?null:function(t){0===t.button&&(t.preventDefault(),J.focus(),ut(!0,t))},onBlur:function(t){!dt&&P&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:Z,name:E}}),P(t))},onFocus:R},z,{id:It}),function(t){return null==t||"string"===typeof t&&!t.trim()}(ct)?o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):ct),o.createElement("input",Object(r.a)({value:Array.isArray(Z)?Z.join(","):Z,name:E,ref:K,"aria-hidden":!0,onChange:function(t){var e=gt.map((function(t){return t.props.value})).indexOf(t.target.value);if(-1!==e){var n=gt[e];q(n.props.value),M&&M(t,n)}},tabIndex:-1,className:I.nativeInput,autoFocus:a},H)),o.createElement(w,{className:Object(u.default)(I.icon,I["icon".concat(Object(f.a)(Y))],dt&&I.iconOpen,b&&I.disabled)}),o.createElement(d.a,Object(r.a)({id:"menu-".concat(E||""),anchorEl:J,open:dt,onClose:function(t){ut(!1,t)}},k,{MenuListProps:Object(r.a)({"aria-labelledby":S,role:"listbox",disableListWrap:!0},k.MenuListProps),PaperProps:Object(r.a)({},k.PaperProps,{style:Object(r.a)({minWidth:vt},null!=k.PaperProps?k.PaperProps.style:null)})}),At))})),I=n(79),y=n(64),m=n(7),b=n(271),x=n(270),w=n(540),O=n(272),S=n(979),_=n(990),k=w.b,j=o.createElement(x.a,null),E=o.createElement(S.a,null),P=o.forwardRef((function t(e,n){var s=e.autoWidth,c=void 0!==s&&s,l=e.children,u=e.classes,g=e.displayEmpty,f=void 0!==g&&g,d=e.IconComponent,h=void 0===d?b.a:d,p=e.id,A=e.input,C=e.inputProps,m=e.label,x=e.labelId,w=e.labelWidth,S=void 0===w?0:w,k=e.MenuProps,P=e.multiple,M=void 0!==P&&P,T=e.native,R=void 0!==T&&T,D=e.onClose,N=e.onOpen,L=e.open,F=e.renderValue,B=e.SelectDisplayProps,z=e.variant,V=void 0===z?"standard":z,G=Object(i.a)(e,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),W=R?O.a:v,Y=Object(y.a)(),H=Object(I.a)({props:e,muiFormControl:Y,states:["variant"]}).variant||V,U=A||{standard:j,outlined:o.createElement(_.a,{label:m,labelWidth:S}),filled:E}[H];return o.cloneElement(U,Object(r.a)({inputComponent:W,inputProps:Object(r.a)({children:l,IconComponent:h,variant:H,type:void 0,multiple:M},R?{id:p}:{autoWidth:c,displayEmpty:f,labelId:x,MenuProps:k,onClose:D,onOpen:N,open:L,renderValue:F,SelectDisplayProps:Object(r.a)({id:p},B)},C,{classes:C?Object(a.a)({baseClasses:u,newClasses:C.classes,Component:t}):u},A?A.props.inputProps:{}),ref:n},G))}));P.muiName="Select";e.a=Object(m.a)(k,{name:"MuiSelect"})(P)},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(0),a=n(20),s=(n(6),n(366)),c=n(1018),l=n(32),u=n(978),g=n(65),f=n(18),d=n(24),h=n(265),p=n(204),A=n(1021),C={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},v=o.forwardRef((function(t,e){var n=t.invisible,a=void 0!==n&&n,s=t.open,c=Object(r.a)(t,["invisible","open"]);return s?o.createElement("div",Object(i.a)({"aria-hidden":!0,ref:e},c,{style:Object(i.a)({},C.root,a?C.invisible:{},c.style)})):null}));var I=new p.b,y=o.forwardRef((function(t,e){var n=Object(s.a)(),C=Object(c.a)({name:"MuiModal",props:Object(i.a)({},t),theme:n}),y=C.BackdropComponent,m=void 0===y?v:y,b=C.BackdropProps,x=C.children,w=C.closeAfterTransition,O=void 0!==w&&w,S=C.container,_=C.disableAutoFocus,k=void 0!==_&&_,j=C.disableBackdropClick,E=void 0!==j&&j,P=C.disableEnforceFocus,M=void 0!==P&&P,T=C.disableEscapeKeyDown,R=void 0!==T&&T,D=C.disablePortal,N=void 0!==D&&D,L=C.disableRestoreFocus,F=void 0!==L&&L,B=C.disableScrollLock,z=void 0!==B&&B,V=C.hideBackdrop,G=void 0!==V&&V,W=C.keepMounted,Y=void 0!==W&&W,H=C.manager,U=void 0===H?I:H,X=C.onBackdropClick,Z=C.onClose,q=C.onEscapeKeyDown,K=C.onRendered,Q=C.open,J=Object(r.a)(C,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),$=o.useState(!0),tt=$[0],et=$[1],nt=o.useRef({}),rt=o.useRef(null),it=o.useRef(null),ot=Object(f.a)(it,e),at=function(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(C),st=function(){return Object(l.a)(rt.current)},ct=function(){return nt.current.modalRef=it.current,nt.current.mountNode=rt.current,nt.current},lt=function(){U.mount(ct(),{disableScrollLock:z}),it.current.scrollTop=0},ut=Object(d.a)((function(){var t=function(t){return t="function"===typeof t?t():t,a.findDOMNode(t)}(S)||st().body;U.add(ct(),t),it.current&<()})),gt=o.useCallback((function(){return U.isTopModal(ct())}),[U]),ft=Object(d.a)((function(t){rt.current=t,t&&(K&&K(),Q&>()?lt():Object(p.a)(it.current,!0))})),dt=o.useCallback((function(){U.remove(ct())}),[U]);if(o.useEffect((function(){return function(){dt()}}),[dt]),o.useEffect((function(){Q?ut():at&&O||dt()}),[Q,dt,at,O,ut]),!Y&&!Q&&(!at||tt))return null;var ht=function(t){return{root:{position:"fixed",zIndex:t.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:h.a}),pt={};return void 0===x.props.tabIndex&&(pt.tabIndex=x.props.tabIndex||"-1"),at&&(pt.onEnter=Object(g.a)((function(){et(!1)}),x.props.onEnter),pt.onExited=Object(g.a)((function(){et(!0),O&&dt()}),x.props.onExited)),o.createElement(u.a,{ref:ft,container:S,disablePortal:N},o.createElement("div",Object(i.a)({ref:ot,onKeyDown:function(t){"Escape"===t.key&>()&&(q&&q(t),R||(t.stopPropagation(),Z&&Z(t,"escapeKeyDown")))},role:"presentation"},J,{style:Object(i.a)({},ht.root,!Q&&tt?ht.hidden:{},J.style)}),G?null:o.createElement(m,Object(i.a)({open:Q,onClick:function(t){t.target===t.currentTarget&&(X&&X(t),!E&&Z&&Z(t,"backdropClick"))}},b)),o.createElement(A.a,{disableEnforceFocus:M,disableAutoFocus:k,disableRestoreFocus:F,getDoc:st,isEnabled:gt,open:Q},o.cloneElement(x,pt))))}));e.a=y},function(t,e,n){"use strict";(function(t){var r=n(258),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.a.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();e.a=s}).call(this,n(223)(t))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n(1);function i(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 10 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M7 7V3H3v4H0l5 6 5-6H7z"}}]})(t)}function o(t){return Object(r.a)({tag:"svg",attr:{viewBox:"0 0 10 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M5 3L0 9h3v4h4V9h3L5 3z"}}]})(t)}},function(t,e,n){"use strict";(function(t){var r=n(0),i=n.n(r),o=n(27),a=n(6),s=n.n(a),c=1073741823,l="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof t?t:{};function u(t){var e=[];return{on:function(t){e.push(t)},off:function(t){e=e.filter((function(e){return e!==t}))},get:function(){return t},set:function(n,r){t=n,e.forEach((function(e){return e(t,r)}))}}}var g=i.a.createContext||function(t,e){var n,i,a="__create-react-context-"+function(){var t="__global_unique_id__";return l[t]=(l[t]||0)+1}()+"__",g=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).emitter=u(e.props.value),e}Object(o.a)(n,t);var r=n.prototype;return r.getChildContext=function(){var t;return(t={})[a]=this.emitter,t},r.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n,r=this.props.value,i=t.value;((o=r)===(a=i)?0!==o||1/o===1/a:o!==o&&a!==a)?n=0:(n="function"===typeof e?e(r,i):c,0!==(n|=0)&&this.emitter.set(t.value,n))}var o,a},r.render=function(){return this.props.children},n}(r.Component);g.childContextTypes=((n={})[a]=s.a.object.isRequired,n);var f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(e,n){0!==((0|t.observedBits)&n)&&t.setState({value:t.getValue()})},t}Object(o.a)(n,e);var r=n.prototype;return r.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=void 0===e||null===e?c:e},r.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=void 0===t||null===t?c:t},r.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},r.getValue=function(){return this.context[a]?this.context[a].get():t},r.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(r.Component);return f.contextTypes=((i={})[a]=s.a.object,i),{Provider:g,Consumer:f}};e.a=g}).call(this,n(60))},function(t,e,n){var r=n(600);t.exports=d,t.exports.parse=o,t.exports.compile=function(t,e){return s(o(t,e),e)},t.exports.tokensToFunction=s,t.exports.tokensToRegExp=f;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(t,e){for(var n,r=[],o=0,a=0,s="",u=e&&e.delimiter||"/";null!=(n=i.exec(t));){var g=n[0],f=n[1],d=n.index;if(s+=t.slice(a,d),a=d+g.length,f)s+=f[1];else{var h=t[a],p=n[2],A=n[3],C=n[4],v=n[5],I=n[6],y=n[7];s&&(r.push(s),s="");var m=null!=p&&null!=h&&h!==p,b="+"===I||"*"===I,x="?"===I||"*"===I,w=n[2]||u,O=C||v;r.push({name:A||o++,prefix:p||"",delimiter:w,optional:x,repeat:b,partial:m,asterisk:!!y,pattern:O?l(O):y?".*":"[^"+c(w)+"]+?"})}}return a<t.length&&(s+=t.substr(a)),s&&r.push(s),r}function a(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function s(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",g(e)));return function(e,i){for(var o="",s=e||{},c=(i||{}).pretty?a:encodeURIComponent,l=0;l<t.length;l++){var u=t[l];if("string"!==typeof u){var g,f=s[u.name];if(null==f){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var d=0;d<f.length;d++){if(g=c(f[d]),!n[l].test(g))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(g)+"`");o+=(0===d?u.prefix:u.delimiter)+g}}else{if(g=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):c(f),!n[l].test(g))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+g+'"');o+=u.prefix+g}}else o+=u}return o}}function c(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function u(t,e){return t.keys=e,t}function g(t){return t&&t.sensitive?"":"i"}function f(t,e,n){r(e)||(n=e||n,e=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,a="",s=0;s<t.length;s++){var l=t[s];if("string"===typeof l)a+=c(l);else{var f=c(l.prefix),d="(?:"+l.pattern+")";e.push(l),l.repeat&&(d+="(?:"+f+d+")*"),a+=d=l.optional?l.partial?f+"("+d+")?":"(?:"+f+"("+d+"))?":f+"("+d+")"}}var h=c(n.delimiter||"/"),p=a.slice(-h.length)===h;return i||(a=(p?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=o?"$":i&&p?"":"(?="+h+"|$)",u(new RegExp("^"+a,g(n)),e)}function d(t,e,n){return r(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(t,e)}(t,e):r(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(d(t[i],e,n).source);return u(new RegExp("(?:"+r.join("|")+")",g(n)),e)}(t,e,n):function(t,e,n){return f(o(t,n),e,n)}(t,e,n)}},function(t,e,n){"use strict";(function(t,r){var i,o=n(542);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:r;var a=Object(o.a)(i);e.a=a}).call(this,n(60),n(223)(t))},function(t,e,n){"use strict";(function(t){function r(t){o.length||(i(),!0),o[o.length]=t}n.d(e,"a",(function(){return r}));var i,o=[],a=0;function s(){for(;a<o.length;){var t=a;if(a+=1,o[t].call(),a>1024){for(var e=0,n=o.length-a;e<n;e++)o[e]=o[e+a];o.length-=a,a=0}}o.length=0,a=0,!1}var c="undefined"!==typeof t?t:self,l=c.MutationObserver||c.WebKitMutationObserver;function u(t){return function(){var e=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(e),clearInterval(n),t()}}}i="function"===typeof l?function(t){var e=1,n=new l(t),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){e=-e,r.data=e}}(s):u(s),r.requestFlush=i,r.makeRequestCallFromTimer=u}).call(this,n(60))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=r.exec(t)))throw new Error("invalid format: "+t);var e;return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(t,e,n){"use strict";var r=n(166);e.a=function(t){var e=t,n=t;function i(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var o=r+i>>>1;n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=function(e,n){return t(e)-n},n=function(t){return function(e,n){return Object(r.a)(t(e),n)}}(t)),{left:i,center:function(t,n,r,o){null==r&&(r=0),null==o&&(o=t.length);var a=i(t,n,r,o-1);return a>r&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var o=r+i>>>1;n(t[o],e)>0?i=o:r=o+1}return r}}}},function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getTickValues",{enumerable:!0,get:function(){return r.getTickValues}}),Object.defineProperty(e,"getNiceTickValues",{enumerable:!0,get:function(){return r.getNiceTickValues}}),Object.defineProperty(e,"getTickValuesFixedDomain",{enumerable:!0,get:function(){return r.getTickValuesFixedDomain}});var r=n(943)},function(t,e,n){"use strict";var r=n(1038),i=n(365),o=function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}};function a(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function s(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=d(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}var c=function(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}},l=n(81),u=function(t,e){var n,r={},i={};for(n in null!==t&&"object"===typeof t||(t={}),null!==e&&"object"===typeof e||(e={}),e)n in t?r[n]=d(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}},g=n(544),f=n(173),d=e.a=function(t,e){var n,d=typeof e;return null==e||"boolean"===d?Object(f.a)(e):("number"===d?l.a:"string"===d?(n=Object(r.a)(e))?(e=n,i.a):g.a:e instanceof r.a?i.a:e instanceof Date?c:a(e)?o:Array.isArray(e)?s:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?u:l.a)(t,e)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return u}));var r=n(1038);function i(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}var o=n(173);function a(t,e){return function(n){return t+n*e}}function s(t){return 1===(t=+t)?c:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Object(o.a)(isNaN(e)?n:e)}}function c(t,e){var n=e-t;return n?a(t,n):Object(o.a)(isNaN(t)?e:t)}e.a=function t(e){var n=s(e);function i(t,e){var i=n((t=Object(r.b)(t)).r,(e=Object(r.b)(e)).r),o=n(t.g,e.g),a=n(t.b,e.b),s=c(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=o(e),t.b=a(e),t.opacity=s(e),t+""}}return i.gamma=t,i}(1);function l(t){return function(e){var n,i,o=e.length,a=new Array(o),s=new Array(o),c=new Array(o);for(n=0;n<o;++n)i=Object(r.b)(e[n]),a[n]=i.r||0,s[n]=i.g||0,c[n]=i.b||0;return a=t(a),s=t(s),c=t(c),i.opacity=1,function(t){return i.r=a(t),i.g=s(t),i.b=c(t),i+""}}}var u=l((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],a=t[r+1],s=r>0?t[r-1]:2*o-a,c=r<e-1?t[r+2]:2*a-o;return i((n-r/e)*e,s,o,a,c)}}));l((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],a=t[r%e],s=t[(r+1)%e],c=t[(r+2)%e];return i((n-r/e)*e,o,a,s,c)}}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(0),i=n.n(r),o=n(259);function a(){return i.a.useContext(o.a)}},function(t,e,n){"use strict";function r(t){for(var e="https://material-ui.com/production-error/?code="+t,n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+t+"; visit "+e+" for the full message."}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=n.n(o),s=(n(6),n(20)),c=n(3),l=n(18),u=n(24),g=n(7),f=n(97),d=n(43),h=n(40),p=n(50),A=n(27),C=n(172);function v(t,e){var n=Object.create(null);return t&&o.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&Object(o.isValidElement)(t)?e(t):t}(t)})),n}function I(t,e,n){return null!=n[e]?n[e]:t.props[e]}function y(t,e,n){var r=v(t.children),i=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var c in e){if(i[c])for(r=0;r<i[c].length;r++){var l=i[c][r];s[i[c][r]]=n(l)}s[c]=n(c)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(e,r);return Object.keys(i).forEach((function(a){var s=i[a];if(Object(o.isValidElement)(s)){var c=a in e,l=a in r,u=e[a],g=Object(o.isValidElement)(u)&&!u.props.in;!l||c&&!g?l||!c||g?l&&c&&Object(o.isValidElement)(u)&&(i[a]=Object(o.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:I(s,"exit",t),enter:I(s,"enter",t)})):i[a]=Object(o.cloneElement)(s,{in:!1}):i[a]=Object(o.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:I(s,"exit",t),enter:I(s,"enter",t)})}})),i}var m=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},b=function(t){function e(e,n){var r,i=(r=t.call(this,e,n)||this).handleExited.bind(Object(p.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Object(A.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,i=e.children,a=e.handleExited;return{children:e.firstRender?(n=t,r=a,v(n.children,(function(t){return Object(o.cloneElement)(t,{onExited:r.bind(null,t),in:!0,appear:I(t,"appear",n),enter:I(t,"enter",n),exit:I(t,"exit",n)})}))):y(t,i,a),firstRender:!1}},n.handleExited=function(t,e){var n=v(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=Object(r.a)({},e.children);return delete n[t.key],{children:n}})))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=Object(h.a)(t,["component","childFactory"]),i=this.state.contextValue,o=m(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?a.a.createElement(C.a.Provider,{value:i},o):a.a.createElement(C.a.Provider,{value:i},a.a.createElement(e,r,o))},e}(a.a.Component);b.propTypes={},b.defaultProps={component:"div",childFactory:function(t){return t}};var x=b,w="undefined"===typeof window?o.useEffect:o.useLayoutEffect;var O=function(t){var e=t.classes,n=t.pulsate,r=void 0!==n&&n,i=t.rippleX,a=t.rippleY,s=t.rippleSize,l=t.in,g=t.onExited,f=void 0===g?function(){}:g,d=t.timeout,h=o.useState(!1),p=h[0],A=h[1],C=Object(c.default)(e.ripple,e.rippleVisible,r&&e.ripplePulsate),v={width:s,height:s,top:-s/2+a,left:-s/2+i},I=Object(c.default)(e.child,p&&e.childLeaving,r&&e.childPulsate),y=Object(u.a)(f);return w((function(){if(!l){A(!0);var t=setTimeout(y,d);return function(){clearTimeout(t)}}}),[y,l,d]),o.createElement("span",{className:C,style:v},o.createElement("span",{className:I}))},S=o.forwardRef((function(t,e){var n=t.center,a=void 0!==n&&n,s=t.classes,l=t.className,u=Object(i.a)(t,["center","classes","className"]),g=o.useState([]),f=g[0],h=g[1],p=o.useRef(0),A=o.useRef(null);o.useEffect((function(){A.current&&(A.current(),A.current=null)}),[f]);var C=o.useRef(!1),v=o.useRef(null),I=o.useRef(null),y=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(v.current)}}),[]);var m=o.useCallback((function(t){var e=t.pulsate,n=t.rippleX,r=t.rippleY,i=t.rippleSize,a=t.cb;h((function(t){return[].concat(Object(d.a)(t),[o.createElement(O,{key:p.current,classes:s,timeout:550,pulsate:e,rippleX:n,rippleY:r,rippleSize:i})])})),p.current+=1,A.current=a}),[s]),b=o.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.pulsate,i=void 0!==r&&r,o=e.center,s=void 0===o?a||e.pulsate:o,c=e.fakeElement,l=void 0!==c&&c;if("mousedown"===t.type&&C.current)C.current=!1;else{"touchstart"===t.type&&(C.current=!0);var u,g,f,d=l?null:y.current,h=d?d.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)u=Math.round(h.width/2),g=Math.round(h.height/2);else{var p=t.touches?t.touches[0]:t,A=p.clientX,b=p.clientY;u=Math.round(A-h.left),g=Math.round(b-h.top)}if(s)(f=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(f+=1);else{var x=2*Math.max(Math.abs((d?d.clientWidth:0)-u),u)+2,w=2*Math.max(Math.abs((d?d.clientHeight:0)-g),g)+2;f=Math.sqrt(Math.pow(x,2)+Math.pow(w,2))}t.touches?null===I.current&&(I.current=function(){m({pulsate:i,rippleX:u,rippleY:g,rippleSize:f,cb:n})},v.current=setTimeout((function(){I.current&&(I.current(),I.current=null)}),80)):m({pulsate:i,rippleX:u,rippleY:g,rippleSize:f,cb:n})}}),[a,m]),w=o.useCallback((function(){b({},{pulsate:!0})}),[b]),S=o.useCallback((function(t,e){if(clearTimeout(v.current),"touchend"===t.type&&I.current)return t.persist(),I.current(),I.current=null,void(v.current=setTimeout((function(){S(t,e)})));I.current=null,h((function(t){return t.length>0?t.slice(1):t})),A.current=e}),[]);return o.useImperativeHandle(e,(function(){return{pulsate:w,start:b,stop:S}}),[w,b,S]),o.createElement("span",Object(r.a)({className:Object(c.default)(s.root,l),ref:y},u),o.createElement(x,{component:null,exit:!0},f))})),_=Object(g.a)((function(t){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(t.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(t.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(S)),k=o.forwardRef((function(t,e){var n=t.action,a=t.buttonRef,g=t.centerRipple,d=void 0!==g&&g,h=t.children,p=t.classes,A=t.className,C=t.component,v=void 0===C?"button":C,I=t.disabled,y=void 0!==I&&I,m=t.disableRipple,b=void 0!==m&&m,x=t.disableTouchRipple,w=void 0!==x&&x,O=t.focusRipple,S=void 0!==O&&O,k=t.focusVisibleClassName,j=t.onBlur,E=t.onClick,P=t.onFocus,M=t.onFocusVisible,T=t.onKeyDown,R=t.onKeyUp,D=t.onMouseDown,N=t.onMouseLeave,L=t.onMouseUp,F=t.onTouchEnd,B=t.onTouchMove,z=t.onTouchStart,V=t.onDragLeave,G=t.tabIndex,W=void 0===G?0:G,Y=t.TouchRippleProps,H=t.type,U=void 0===H?"button":H,X=Object(i.a)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),Z=o.useRef(null);var q=o.useRef(null),K=o.useState(!1),Q=K[0],J=K[1];y&&Q&&J(!1);var $=Object(f.a)(),tt=$.isFocusVisible,et=$.onBlurVisible,nt=$.ref;function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w;return Object(u.a)((function(r){return e&&e(r),!n&&q.current&&q.current[t](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){J(!0),Z.current.focus()}}}),[]),o.useEffect((function(){Q&&S&&!b&&q.current.pulsate()}),[b,S,Q]);var it=rt("start",D),ot=rt("stop",V),at=rt("stop",L),st=rt("stop",(function(t){Q&&t.preventDefault(),N&&N(t)})),ct=rt("start",z),lt=rt("stop",F),ut=rt("stop",B),gt=rt("stop",(function(t){Q&&(et(t),J(!1)),j&&j(t)}),!1),ft=Object(u.a)((function(t){Z.current||(Z.current=t.currentTarget),tt(t)&&(J(!0),M&&M(t)),P&&P(t)})),dt=function(){var t=s.findDOMNode(Z.current);return v&&"button"!==v&&!("A"===t.tagName&&t.href)},ht=o.useRef(!1),pt=Object(u.a)((function(t){S&&!ht.current&&Q&&q.current&&" "===t.key&&(ht.current=!0,t.persist(),q.current.stop(t,(function(){q.current.start(t)}))),t.target===t.currentTarget&&dt()&&" "===t.key&&t.preventDefault(),T&&T(t),t.target===t.currentTarget&&dt()&&"Enter"===t.key&&!y&&(t.preventDefault(),E&&E(t))})),At=Object(u.a)((function(t){S&&" "===t.key&&q.current&&Q&&!t.defaultPrevented&&(ht.current=!1,t.persist(),q.current.stop(t,(function(){q.current.pulsate(t)}))),R&&R(t),E&&t.target===t.currentTarget&&dt()&&" "===t.key&&!t.defaultPrevented&&E(t)})),Ct=v;"button"===Ct&&X.href&&(Ct="a");var vt={};"button"===Ct?(vt.type=U,vt.disabled=y):("a"===Ct&&X.href||(vt.role="button"),vt["aria-disabled"]=y);var It=Object(l.a)(a,e),yt=Object(l.a)(nt,Z),mt=Object(l.a)(It,yt),bt=o.useState(!1),xt=bt[0],wt=bt[1];o.useEffect((function(){wt(!0)}),[]);var Ot=xt&&!b&&!y;return o.createElement(Ct,Object(r.a)({className:Object(c.default)(p.root,A,Q&&[p.focusVisible,k],y&&p.disabled),onBlur:gt,onClick:E,onFocus:ft,onKeyDown:pt,onKeyUp:At,onMouseDown:it,onMouseLeave:st,onMouseUp:at,onDragLeave:ot,onTouchEnd:lt,onTouchMove:ut,onTouchStart:ct,ref:mt,tabIndex:y?-1:W},vt,X),h,Ot?o.createElement(_,Object(r.a)({ref:q,center:d},Y)):null)}));e.a=Object(g.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(k)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){},function(t,e,n){"use strict";var r=n(2),i=n(989),o=n(98);e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(t,Object(r.a)({defaultTheme:o.a},e))}},function(t,e,n){"use strict";t.exports=n(599)},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(6),n(3)),s=n(7),c=n(11),l=n(368),u=n(9),g=o.forwardRef((function(t,e){var n=t.children,s=t.classes,c=t.className,g=t.color,f=void 0===g?"default":g,d=t.component,h=void 0===d?"button":d,p=t.disabled,A=void 0!==p&&p,C=t.disableElevation,v=void 0!==C&&C,I=t.disableFocusRipple,y=void 0!==I&&I,m=t.endIcon,b=t.focusVisibleClassName,x=t.fullWidth,w=void 0!==x&&x,O=t.size,S=void 0===O?"medium":O,_=t.startIcon,k=t.type,j=void 0===k?"button":k,E=t.variant,P=void 0===E?"text":E,M=Object(r.a)(t,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=_&&o.createElement("span",{className:Object(a.default)(s.startIcon,s["iconSize".concat(Object(u.a)(S))])},_),R=m&&o.createElement("span",{className:Object(a.default)(s.endIcon,s["iconSize".concat(Object(u.a)(S))])},m);return o.createElement(l.a,Object(i.a)({className:Object(a.default)(s.root,s[P],c,"inherit"===f?s.colorInherit:"default"!==f&&s["".concat(P).concat(Object(u.a)(f))],"medium"!==S&&[s["".concat(P,"Size").concat(Object(u.a)(S))],s["size".concat(Object(u.a)(S))]],v&&s.disableElevation,A&&s.disabled,w&&s.fullWidth),component:h,disabled:A,focusRipple:!y,focusVisibleClassName:Object(a.default)(s.focusVisible,b),ref:e,type:j},M),o.createElement("span",{className:s.label},T,n,R))}));e.a=Object(s.a)((function(t){return{root:Object(i.a)({},t.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:t.shape.borderRadius,color:t.palette.text.primary,transition:t.transitions.create(["background-color","box-shadow","border"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Object(c.d)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:t.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(t.palette.action.disabledBackground)}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat(Object(c.d)(t.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.primary.main),backgroundColor:Object(c.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat(Object(c.d)(t.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.secondary.main),backgroundColor:Object(c.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(t.palette.action.disabled)}},contained:{color:t.palette.getContrastText(t.palette.grey[300]),backgroundColor:t.palette.grey[300],boxShadow:t.shadows[2],"&:hover":{backgroundColor:t.palette.grey.A100,boxShadow:t.shadows[4],"@media (hover: none)":{boxShadow:t.shadows[2],backgroundColor:t.palette.grey[300]},"&$disabled":{backgroundColor:t.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:t.shadows[6]},"&:active":{boxShadow:t.shadows[8]},"&$disabled":{color:t.palette.action.disabled,boxShadow:t.shadows[0],backgroundColor:t.palette.action.disabledBackground}},containedPrimary:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:hover":{backgroundColor:t.palette.primary.dark,"@media (hover: none)":{backgroundColor:t.palette.primary.main}}},containedSecondary:{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.main,"&:hover":{backgroundColor:t.palette.secondary.dark,"@media (hover: none)":{backgroundColor:t.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(g)},function(t,e,n){n(605);var r=n(42).Object,i=t.exports=function(t,e,n){return r.defineProperty(t,e,n)};r.defineProperty.sham&&(i.sham=!0)},function(t,e,n){var r=n(68),i=n(52),o=n(441);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(61),i=n(76),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var r=n(68),i=n(125),o=n(94),a=n(185);t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,c=0;s>c;)i.f(t,n=r[c++],e[n]);return t}},function(t,e,n){var r=n(84),i=n(93),o=n(444).indexOf,a=n(228);t.exports=function(t,e){var n,s=i(t),c=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var r=n(93),i=n(114),o=n(315),a=function(t){return function(e,n,a){var s,c=r(e),l=i(c.length),u=o(a,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){n(446);var r=n(42);t.exports=r.Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(26),i=n(61),o=n(186),a=n(188),s=n(68),c=n(319),l=n(447),u=n(52),g=n(84),f=n(189),d=n(76),h=n(94),p=n(85),A=n(93),C=n(226),v=n(181),I=n(229),y=n(185),m=n(317),b=n(624),x=n(318),w=n(180),O=n(125),S=n(224),_=n(105),k=n(448),j=n(320),E=n(230),P=n(228),M=n(322),T=n(53),R=n(323),D=n(47),N=n(231),L=n(325),F=n(126).forEach,B=E("hidden"),z="Symbol",V=T("toPrimitive"),G=L.set,W=L.getterFor(z),Y=Object.prototype,H=i.Symbol,U=o("JSON","stringify"),X=w.f,Z=O.f,q=b.f,K=S.f,Q=j("symbols"),J=j("op-symbols"),$=j("string-to-symbol-registry"),tt=j("symbol-to-string-registry"),et=j("wks"),nt=i.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,it=s&&u((function(){return 7!=I(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=X(Y,e);r&&delete Y[e],Z(t,e,n),r&&t!==Y&&Z(Y,e,r)}:Z,ot=function(t,e){var n=Q[t]=I(H.prototype);return G(n,{type:z,tag:t,description:e}),s||(n.description=e),n},at=l?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof H},st=function(t,e,n){t===Y&&st(J,e,n),h(t);var r=C(e,!0);return h(n),g(Q,r)?(n.enumerable?(g(t,B)&&t[B][r]&&(t[B][r]=!1),n=I(n,{enumerable:v(0,!1)})):(g(t,B)||Z(t,B,v(1,{})),t[B][r]=!0),it(t,r,n)):Z(t,r,n)},ct=function(t,e){h(t);var n=A(e),r=y(n).concat(ft(n));return F(r,(function(e){s&&!lt.call(n,e)||st(t,e,n[e])})),t},lt=function(t){var e=C(t,!0),n=K.call(this,e);return!(this===Y&&g(Q,e)&&!g(J,e))&&(!(n||!g(this,e)||!g(Q,e)||g(this,B)&&this[B][e])||n)},ut=function(t,e){var n=A(t),r=C(e,!0);if(n!==Y||!g(Q,r)||g(J,r)){var i=X(n,r);return!i||!g(Q,r)||g(n,B)&&n[B][r]||(i.enumerable=!0),i}},gt=function(t){var e=q(A(t)),n=[];return F(e,(function(t){g(Q,t)||g(P,t)||n.push(t)})),n},ft=function(t){var e=t===Y,n=q(e?J:A(t)),r=[];return F(n,(function(t){!g(Q,t)||e&&!g(Y,t)||r.push(Q[t])})),r};(c||(k((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=M(t),n=function t(n){this===Y&&t.call(J,n),g(this,B)&&g(this[B],e)&&(this[B][e]=!1),it(this,e,v(1,n))};return s&&rt&&it(Y,e,{configurable:!0,set:n}),ot(e,t)}).prototype,"toString",(function(){return W(this).tag})),k(H,"withoutSetter",(function(t){return ot(M(t),t)})),S.f=lt,O.f=st,w.f=ut,m.f=b.f=gt,x.f=ft,R.f=function(t){return ot(T(t),t)},s&&(Z(H.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||k(Y,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),F(y(et),(function(t){D(t)})),r({target:z,stat:!0,forced:!c},{for:function(t){var e=String(t);if(g($,e))return $[e];var n=H(e);return $[e]=n,tt[n]=e,n},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(g(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?I(t):ct(I(t),e)},defineProperty:st,defineProperties:ct,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:gt,getOwnPropertySymbols:ft}),r({target:"Object",stat:!0,forced:u((function(){x.f(1)}))},{getOwnPropertySymbols:function(t){return x.f(p(t))}}),U)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var t=H();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))},{stringify:function(t,e,n){for(var r,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=e,(d(e)||void 0!==t)&&!at(t))return f(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!at(e))return e}),i[1]=e,U.apply(null,i)}});H.prototype[V]||_(H.prototype,V,H.prototype.valueOf),N(H,z),P[B]=!0},function(t,e,n){var r=n(319);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(105);t.exports=function(t,e,n,i){i&&i.enumerable?t[e]=n:r(t,e,n)}},function(t,e,n){n(630);var r=n(42);t.exports=r.Object.keys},function(t,e,n){"use strict";var r=n(184),i=n(76),o=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";a[e]=Function("C,a","return new C("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=o.call(arguments,1),a=function(){var r=n.concat(o.call(arguments));return this instanceof a?s(e,r.length,r):e.apply(t,r)};return i(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e,n){n(638);var r=n(42);t.exports=r.Object.assign},function(t,e,n){var r=n(186);t.exports=r("navigator","userAgent")||""},function(t,e,n){t.exports=n(664)},function(t,e,n){n(665);var r=n(42);t.exports=r.Array.isArray},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){t.exports=n(667)},function(t,e,n){"use strict";var r=n(26),i=n(670),o=n(328),a=n(460),s=n(231),c=n(105),l=n(448),u=n(53),g=n(188),f=n(127),d=n(458),h=d.IteratorPrototype,p=d.BUGGY_SAFARI_ITERATORS,A=u("iterator"),C="keys",v="values",I="entries",y=function(){return this};t.exports=function(t,e,n,u,d,m,b){i(n,e,u);var x,w,O,S=function(t){if(t===d&&P)return P;if(!p&&t in j)return j[t];switch(t){case C:case v:case I:return function(){return new n(this,t)}}return function(){return new n(this)}},_=e+" Iterator",k=!1,j=t.prototype,E=j[A]||j["@@iterator"]||d&&j[d],P=!p&&E||S(d),M="Array"==e&&j.entries||E;if(M&&(x=o(M.call(new t)),h!==Object.prototype&&x.next&&(g||o(x)===h||(a?a(x,h):"function"!=typeof x[A]&&c(x,A,y)),s(x,_,!0,!0),g&&(f[_]=y))),d==v&&E&&E.name!==v&&(k=!0,P=function(){return E.call(this)}),g&&!b||j[A]===P||c(j,A,P),f[e]=P,d)if(w={values:S(v),keys:m?P:S(C),entries:S(I)},b)for(O in w)(p||k||!(O in j))&&l(j,O,w[O]);else r({target:e,proto:!0,forced:p||k},w);return w}},function(t,e,n){"use strict";var r,i,o,a=n(328),s=n(105),c=n(84),l=n(53),u=n(188),g=l("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):f=!0),void 0==r&&(r={}),u||c(r,g)||s(r,g,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(t,e,n){var r=n(52);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(94),i=n(671);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},function(t,e,n){var r=n(190),i=n(127),o=n(53)("iterator");t.exports=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){t.exports=n(678)},function(t,e){t.exports=function(){}},function(t,e,n){"use strict";var r=n(26),i=n(52),o=n(189),a=n(76),s=n(85),c=n(114),l=n(187),u=n(326),g=n(191),f=n(53),d=n(327),h=f("isConcatSpreadable"),p=9007199254740991,A="Maximum allowed index exceeded",C=d>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),v=g("concat"),I=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,forced:!C||!v},{concat:function(t){var e,n,r,i,o,a=s(this),g=u(a,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(I(o=-1===e?a:arguments[e])){if(f+(i=c(o.length))>p)throw TypeError(A);for(n=0;n<i;n++,f++)n in o&&l(g,f,o[n])}else{if(f>=p)throw TypeError(A);l(g,f++,o)}return g.length=f,g}})},function(t,e,n){n(47)("iterator")},function(t,e,n){var r=n(456),i=n(706),o=n(455);t.exports=function(t,e){var n;if(t){if("string"===typeof t)return o(t,e);var a=i(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?r(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(t,e):void 0}}},function(t,e,n){var r=n(708),i=Array.prototype;t.exports=function(t){var e=t.slice;return t===i||t instanceof Array&&e===i.slice?r:e}},function(t,e,n){t.exports=n(721)},function(t,e,n){var r=n(722),i=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===i||t instanceof Array&&e===i.indexOf?r:e}},function(t,e,n){var r=n(748),i=n(329);function o(e){return t.exports=o="function"===typeof i&&"symbol"===typeof r?function(t){return typeof t}:function(t){return t&&"function"===typeof i&&t.constructor===i&&t!==i.prototype?"symbol":typeof t},o(e)}t.exports=o},function(t,e,n){var r=n(68),i=n(185),o=n(93),a=n(224).f,s=function(t){return function(e){for(var n,s=o(e),c=i(s),l=c.length,u=0,g=[];l>u;)n=c[u++],r&&!a.call(s,n)||g.push(t?[n,s[n]]:s[n]);return g}};t.exports={entries:s(!0),values:s(!1)}},function(t,e,n){t.exports=n(770)},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e,n){t.exports=n(777)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(64),c=n(7),l=n(144),u=n(9),g=o.forwardRef((function(t,e){t.checked;var n=t.classes,c=t.className,g=t.control,f=t.disabled,d=(t.inputRef,t.label),h=t.labelPlacement,p=void 0===h?"end":h,A=(t.name,t.onChange,t.value,Object(i.a)(t,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),C=Object(s.a)(),v=f;"undefined"===typeof v&&"undefined"!==typeof g.props.disabled&&(v=g.props.disabled),"undefined"===typeof v&&C&&(v=C.disabled);var I={disabled:v};return["checked","name","onChange","value","inputRef"].forEach((function(e){"undefined"===typeof g.props[e]&&"undefined"!==typeof t[e]&&(I[e]=t[e])})),o.createElement("label",Object(r.a)({className:Object(a.default)(n.root,c,"end"!==p&&n["labelPlacement".concat(Object(u.a)(p))],v&&n.disabled),ref:e},A),o.cloneElement(g,I),o.createElement(l.a,{component:"span",className:Object(a.default)(n.label,v&&n.disabled)},d))}));e.a=Object(c.a)((function(t){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:t.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(g)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(144),l=n(80),u=o.forwardRef((function(t,e){var n=t.children,s=t.classes,u=t.className,g=t.disableTypography,f=void 0!==g&&g,d=t.inset,h=void 0!==d&&d,p=t.primary,A=t.primaryTypographyProps,C=t.secondary,v=t.secondaryTypographyProps,I=Object(i.a)(t,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),y=o.useContext(l.a).dense,m=null!=p?p:n;null==m||m.type===c.a||f||(m=o.createElement(c.a,Object(r.a)({variant:y?"body2":"body1",className:s.primary,component:"span",display:"block"},A),m));var b=C;return null==b||b.type===c.a||f||(b=o.createElement(c.a,Object(r.a)({variant:"body2",className:s.secondary,color:"textSecondary",display:"block"},v),b)),o.createElement("div",Object(r.a)({className:Object(a.default)(s.root,u,y&&s.dense,h&&s.inset,m&&b&&s.multiline),ref:e},I),m,b)}));e.a=Object(s.a)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(u)},function(t,e,n){"use strict";var r=n(4),i=n(13),o=n(2),a=n(0),s=(n(6),n(3)),c=n(7),l=n(984),u=a.forwardRef((function(t,e){var n,i=t.classes,c=t.className,u=t.component,g=void 0===u?"li":u,f=t.disableGutters,d=void 0!==f&&f,h=t.ListItemClasses,p=t.role,A=void 0===p?"menuitem":p,C=t.selected,v=t.tabIndex,I=Object(r.a)(t,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return t.disabled||(n=void 0!==v?v:-1),a.createElement(l.a,Object(o.a)({button:!0,role:A,tabIndex:n,component:g,selected:C,disableGutters:d,classes:Object(o.a)({dense:i.dense},h),className:Object(s.default)(i.root,c,C&&i.selected,!d&&i.gutters),ref:e},I))}));e.a=Object(c.a)((function(t){return{root:Object(o.a)({},t.typography.body1,Object(i.a)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},t.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Object(o.a)({},t.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(u)},function(t,e,n){"use strict";var r=n(2),i=n(39),o=n(4),a=n(0),s=(n(6),n(349)),c=n(18),l=n(57),u=n(273),g=n(109),f=a.forwardRef((function(t,e){var n=t.actions,f=t.children,d=t.name,h=t.value,p=t.onChange,A=Object(o.a)(t,["actions","children","name","value","onChange"]),C=a.useRef(null),v=Object(l.a)({controlled:h,default:t.defaultValue,name:"RadioGroup"}),I=Object(i.a)(v,2),y=I[0],m=I[1];a.useImperativeHandle(n,(function(){return{focus:function(){var t=C.current.querySelector("input:not(:disabled):checked");t||(t=C.current.querySelector("input:not(:disabled)")),t&&t.focus()}}}),[]);var b=Object(c.a)(e,C),x=Object(g.a)(d);return a.createElement(u.a.Provider,{value:{name:x,onChange:function(t){m(t.target.value),p&&p(t,t.target.value)},value:y}},a.createElement(s.a,Object(r.a)({role:"radiogroup",ref:b},A),f))}));e.a=f},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(6),n(3)),s=n(7),c=n(274),l="table",u=o.forwardRef((function(t,e){var n=t.classes,s=t.className,u=t.component,g=void 0===u?l:u,f=t.padding,d=void 0===f?"default":f,h=t.size,p=void 0===h?"medium":h,A=t.stickyHeader,C=void 0!==A&&A,v=Object(r.a)(t,["classes","className","component","padding","size","stickyHeader"]),I=o.useMemo((function(){return{padding:d,size:p,stickyHeader:C}}),[d,p,C]);return o.createElement(c.a.Provider,{value:I},o.createElement(g,Object(i.a)({role:g===l?null:"table",ref:e,className:Object(a.default)(n.root,s,C&&n.stickyHeader)},v)))}));e.a=Object(s.a)((function(t){return{root:{display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Object(i.a)({},t.typography.body2,{padding:t.spacing(2),color:t.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},stickyHeader:{borderCollapse:"separate"}}}),{name:"MuiTable"})(u)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(99),l={variant:"body"},u="tbody",g=o.forwardRef((function(t,e){var n=t.classes,s=t.className,g=t.component,f=void 0===g?u:g,d=Object(i.a)(t,["classes","className","component"]);return o.createElement(c.a.Provider,{value:l},o.createElement(f,Object(r.a)({className:Object(a.default)(n.root,s),ref:e,role:f===u?null:"rowgroup"},d)))}));e.a=Object(s.a)({root:{display:"table-row-group"}},{name:"MuiTableBody"})(g)},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(6),n(3)),s=n(7),c=n(9),l=n(11),u=n(274),g=n(99),f=o.forwardRef((function(t,e){var n,s,l=t.align,f=void 0===l?"inherit":l,d=t.classes,h=t.className,p=t.component,A=t.padding,C=t.scope,v=t.size,I=t.sortDirection,y=t.variant,m=Object(r.a)(t,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),b=o.useContext(u.a),x=o.useContext(g.a),w=x&&"head"===x.variant;p?(s=p,n=w?"columnheader":"cell"):s=w?"th":"td";var O=C;!O&&w&&(O="col");var S=A||(b&&b.padding?b.padding:"default"),_=v||(b&&b.size?b.size:"medium"),k=y||x&&x.variant,j=null;return I&&(j="asc"===I?"ascending":"descending"),o.createElement(s,Object(i.a)({ref:e,className:Object(a.default)(d.root,d[k],h,"inherit"!==f&&d["align".concat(Object(c.a)(f))],"default"!==S&&d["padding".concat(Object(c.a)(S))],"medium"!==_&&d["size".concat(Object(c.a)(_))],"head"===k&&b&&b.stickyHeader&&d.stickyHeader),"aria-sort":j,role:n,scope:O},m))}));e.a=Object(s.a)((function(t){return{root:Object(i.a)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===t.palette.type?Object(l.i)(Object(l.d)(t.palette.divider,1),.88):Object(l.a)(Object(l.d)(t.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:t.palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},body:{color:t.palette.text.primary},footer:{color:t.palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:t.palette.background.default}}}),{name:"MuiTableCell"})(f)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(99),l={variant:"footer"},u="tfoot",g=o.forwardRef((function(t,e){var n=t.classes,s=t.className,g=t.component,f=void 0===g?u:g,d=Object(i.a)(t,["classes","className","component"]);return o.createElement(c.a.Provider,{value:l},o.createElement(f,Object(r.a)({className:Object(a.default)(n.root,s),ref:e,role:f===u?null:"rowgroup"},d)))}));e.a=Object(s.a)({root:{display:"table-footer-group"}},{name:"MuiTableFooter"})(g)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(13),a=n(0),s=(n(6),n(3)),c=n(7),l=a.forwardRef((function(t,e){var n=t.classes,o=t.className,c=t.component,l=void 0===c?"div":c,u=t.disableGutters,g=void 0!==u&&u,f=t.variant,d=void 0===f?"regular":f,h=Object(i.a)(t,["classes","className","component","disableGutters","variant"]);return a.createElement(l,Object(r.a)({className:Object(s.default)(n.root,n[d],o,!g&&n.gutters),ref:e},h))}));e.a=Object(c.a)((function(t){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:Object(o.a)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),regular:t.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(l)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(99),l=n(11),u=o.forwardRef((function(t,e){var n=t.classes,s=t.className,l=t.component,u=void 0===l?"tr":l,g=t.hover,f=void 0!==g&&g,d=t.selected,h=void 0!==d&&d,p=Object(i.a)(t,["classes","className","component","hover","selected"]),A=o.useContext(c.a);return o.createElement(u,Object(r.a)({ref:e,className:Object(a.default)(n.root,s,A&&{head:n.head,footer:n.footer}[A.variant],f&&n.hover,h&&n.selected),role:"tr"===u?null:"row"},p))}));e.a=Object(s.a)((function(t){return{root:{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,"&$hover:hover":{backgroundColor:t.palette.action.hover},"&$selected, &$selected:hover":{backgroundColor:Object(l.d)(t.palette.secondary.main,t.palette.action.selectedOpacity)}},selected:{},hover:{},head:{},footer:{}}}),{name:"MuiTableRow"})(u)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(270),c=n(979),l=n(990),u=n(350),g=n(348),f=n(981),d=n(352),h=n(7),p={standard:s.a,filled:c.a,outlined:l.a},A=o.forwardRef((function(t,e){var n=t.autoComplete,s=t.autoFocus,c=void 0!==s&&s,l=t.children,h=t.classes,A=t.className,C=t.color,v=void 0===C?"primary":C,I=t.defaultValue,y=t.disabled,m=void 0!==y&&y,b=t.error,x=void 0!==b&&b,w=t.FormHelperTextProps,O=t.fullWidth,S=void 0!==O&&O,_=t.helperText,k=t.hiddenLabel,j=t.id,E=t.InputLabelProps,P=t.inputProps,M=t.InputProps,T=t.inputRef,R=t.label,D=t.multiline,N=void 0!==D&&D,L=t.name,F=t.onBlur,B=t.onChange,z=t.onFocus,V=t.placeholder,G=t.required,W=void 0!==G&&G,Y=t.rows,H=t.rowsMax,U=t.select,X=void 0!==U&&U,Z=t.SelectProps,q=t.type,K=t.value,Q=t.variant,J=void 0===Q?"standard":Q,$=Object(i.a)(t,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value","variant"]);var tt={};if("outlined"===J&&(E&&"undefined"!==typeof E.shrink&&(tt.notched=E.shrink),R)){var et,nt=null!==(et=null===E||void 0===E?void 0:E.required)&&void 0!==et?et:W;tt.label=o.createElement(o.Fragment,null,R,nt&&"\xa0*")}X&&(Z&&Z.native||(tt.id=void 0),tt["aria-describedby"]=void 0);var rt=_&&j?"".concat(j,"-helper-text"):void 0,it=R&&j?"".concat(j,"-label"):void 0,ot=p[J],at=o.createElement(ot,Object(r.a)({"aria-describedby":rt,autoComplete:n,autoFocus:c,defaultValue:I,fullWidth:S,multiline:N,name:L,rows:Y,rowsMax:H,type:q,value:K,id:j,inputRef:T,onBlur:F,onChange:B,onFocus:z,placeholder:V,inputProps:P},tt,M));return o.createElement(g.a,Object(r.a)({className:Object(a.default)(h.root,A),disabled:m,error:x,fullWidth:S,hiddenLabel:k,ref:e,required:W,color:v,variant:J},$),R&&o.createElement(u.a,Object(r.a)({htmlFor:j,id:it},E),R),X?o.createElement(d.a,Object(r.a)({"aria-describedby":rt,id:j,labelId:it,value:K,input:at},Z),l):at,_&&o.createElement(f.a,Object(r.a)({id:rt},w),_))}));e.a=Object(h.a)({root:{}},{name:"MuiTextField"})(A)},function(t,e,n){"use strict";var r=n(2),i=n(39),o=n(4),a=n(13),s=n(0),c=n(20),l=(n(6),n(3)),u=n(567),g=n(11),f=n(7),d=n(9),h=n(269),p=n(986),A=n(18),C=n(109),v=n(49),I=n(97),y=n(57),m=n(22);function b(t){return Math.round(1e5*t)/1e5}var x=!1,w=null;var O=s.forwardRef((function(t,e){var n=t.arrow,a=void 0!==n&&n,g=t.children,f=t.classes,b=t.disableFocusListener,O=void 0!==b&&b,S=t.disableHoverListener,_=void 0!==S&&S,k=t.disableTouchListener,j=void 0!==k&&k,E=t.enterDelay,P=void 0===E?100:E,M=t.enterNextDelay,T=void 0===M?0:M,R=t.enterTouchDelay,D=void 0===R?700:R,N=t.id,L=t.interactive,F=void 0!==L&&L,B=t.leaveDelay,z=void 0===B?0:B,V=t.leaveTouchDelay,G=void 0===V?1500:V,W=t.onClose,Y=t.onOpen,H=t.open,U=t.placement,X=void 0===U?"bottom":U,Z=t.PopperComponent,q=void 0===Z?p.a:Z,K=t.PopperProps,Q=t.title,J=t.TransitionComponent,$=void 0===J?h.a:J,tt=t.TransitionProps,et=Object(o.a)(t,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),nt=Object(m.a)(),rt=s.useState(),it=rt[0],ot=rt[1],at=s.useState(null),st=at[0],ct=at[1],lt=s.useRef(!1),ut=s.useRef(),gt=s.useRef(),ft=s.useRef(),dt=s.useRef(),ht=Object(y.a)({controlled:H,default:!1,name:"Tooltip",state:"open"}),pt=Object(i.a)(ht,2),At=pt[0],Ct=pt[1],vt=At,It=Object(C.a)(N);s.useEffect((function(){return function(){clearTimeout(ut.current),clearTimeout(gt.current),clearTimeout(ft.current),clearTimeout(dt.current)}}),[]);var yt=function(t){clearTimeout(w),x=!0,Ct(!0),Y&&Y(t)},mt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){var n=g.props;"mouseover"===e.type&&n.onMouseOver&&t&&n.onMouseOver(e),lt.current&&"touchstart"!==e.type||(it&&it.removeAttribute("title"),clearTimeout(gt.current),clearTimeout(ft.current),P||x&&T?(e.persist(),gt.current=setTimeout((function(){yt(e)}),x?T:P)):yt(e))}},bt=Object(I.a)(),xt=bt.isFocusVisible,wt=bt.onBlurVisible,Ot=bt.ref,St=s.useState(!1),_t=St[0],kt=St[1],jt=function(){_t&&(kt(!1),wt())},Et=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){it||ot(e.currentTarget),xt(e)&&(kt(!0),mt()(e));var n=g.props;n.onFocus&&t&&n.onFocus(e)}},Pt=function(t){clearTimeout(w),w=setTimeout((function(){x=!1}),800+z),Ct(!1),W&&W(t),clearTimeout(ut.current),ut.current=setTimeout((function(){lt.current=!1}),nt.transitions.duration.shortest)},Mt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){var n=g.props;"blur"===e.type&&(n.onBlur&&t&&n.onBlur(e),jt()),"mouseleave"===e.type&&n.onMouseLeave&&e.currentTarget===it&&n.onMouseLeave(e),clearTimeout(gt.current),clearTimeout(ft.current),e.persist(),ft.current=setTimeout((function(){Pt(e)}),z)}},Tt=function(t){lt.current=!0;var e=g.props;e.onTouchStart&&e.onTouchStart(t)},Rt=Object(A.a)(ot,e),Dt=Object(A.a)(Ot,Rt),Nt=s.useCallback((function(t){Object(v.a)(Dt,c.findDOMNode(t))}),[Dt]),Lt=Object(A.a)(g.ref,Nt);""===Q&&(vt=!1);var Ft=!vt&&!_,Bt=Object(r.a)({"aria-describedby":vt?It:null,title:Ft&&"string"===typeof Q?Q:null},et,g.props,{className:Object(l.default)(et.className,g.props.className),onTouchStart:Tt,ref:Lt}),zt={};j||(Bt.onTouchStart=function(t){Tt(t),clearTimeout(ft.current),clearTimeout(ut.current),clearTimeout(dt.current),t.persist(),dt.current=setTimeout((function(){mt()(t)}),D)},Bt.onTouchEnd=function(t){g.props.onTouchEnd&&g.props.onTouchEnd(t),clearTimeout(dt.current),clearTimeout(ft.current),t.persist(),ft.current=setTimeout((function(){Pt(t)}),G)}),_||(Bt.onMouseOver=mt(),Bt.onMouseLeave=Mt(),F&&(zt.onMouseOver=mt(!1),zt.onMouseLeave=Mt(!1))),O||(Bt.onFocus=Et(),Bt.onBlur=Mt(),F&&(zt.onFocus=Et(!1),zt.onBlur=Mt(!1)));var Vt=s.useMemo((function(){return Object(u.a)({popperOptions:{modifiers:{arrow:{enabled:Boolean(st),element:st}}}},K)}),[st,K]);return s.createElement(s.Fragment,null,s.cloneElement(g,Bt),s.createElement(q,Object(r.a)({className:Object(l.default)(f.popper,F&&f.popperInteractive,a&&f.popperArrow),placement:X,anchorEl:it,open:!!it&&vt,id:Bt["aria-describedby"],transition:!0},zt,Vt),(function(t){var e=t.placement,n=t.TransitionProps;return s.createElement($,Object(r.a)({timeout:nt.transitions.duration.shorter},n,tt),s.createElement("div",{className:Object(l.default)(f.tooltip,f["tooltipPlacement".concat(Object(d.a)(e.split("-")[0]))],lt.current&&f.touch,a&&f.tooltipArrow)},Q,a?s.createElement("span",{className:f.arrow,ref:ct}):null))})))}));e.a=Object(f.a)((function(t){return{popper:{zIndex:t.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:Object(g.d)(t.palette.grey[700],.9),borderRadius:t.shape.borderRadius,color:t.palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(10),lineHeight:"".concat(b(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(g.d)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat(b(16/14),"em"),fontWeight:t.typography.fontWeightRegular},tooltipPlacementLeft:Object(a.a)({transformOrigin:"right center",margin:"0 24px "},t.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:Object(a.a)({transformOrigin:"left center",margin:"0 24px"},t.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:Object(a.a)({transformOrigin:"center bottom",margin:"24px 0"},t.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:Object(a.a)({transformOrigin:"center top",margin:"24px 0"},t.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(O)},function(t,e,n){var r=n(183),i="["+n(331)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var r=n(0),i=n(90);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var c=0,l=Object(r.memo)((function(t){var e=t.children,n=o(function(t){if("manager"in t){return[{dragDropManager:t.manager},!1]}var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g(),n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=e;o[u]||(o[u]=Object(i.b)(t,e,n,r));return o[u]}(t.backend,t.context,t.options,t.debugMode),n=!t.context;return[e,n]}(s(t,["children"])),2),a=n[0],l=n[1];return r.useEffect((function(){return l&&c++,function(){l&&(0===--c&&(g()[u]=null))}}),[]),r.createElement(i.a.Provider,{value:a},e)}));l.displayName="DndProvider";var u=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");function g(){return"undefined"!==typeof t?t:window}}).call(this,n(60))},function(t,e,n){"use strict";n.r(e);var r=n(490);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);var o=n(491);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);var a=n(492);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);var s=n(493);for(var i in s)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(i)},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e,n){"use strict";n.r(e);var r=n(536);n.d(e,"DragSource",(function(){return r.a}));var i=n(537);n.d(e,"DropTarget",(function(){return i.a}));var o=n(495);n.d(e,"DragLayer",(function(){return o.a}));var a=n(496);for(var s in a)["default","DragSource","DropTarget","DragLayer"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(s)},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(0),i=n(67),o=n(70),a=n.n(o),s=n(10),c=n(90),l=n(59),u=n(73);function g(t){return(g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),t}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&A(t,e)}function A(t,e){return(A=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=I(t);if(e){var i=I(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==g(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(u.a)("DragLayer","collect[, options]",t,e),Object(s.a)("function"===typeof t,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer",t),Object(s.a)(Object(l.b)(e),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer',e),function(n){var o=n,l=e.arePropsEqual,d=void 0===l?i.a:l,A=o.displayName||o.name||"Component",v=function(){var e=function(e){p(a,e);var n=C(a);function a(){var t;return f(this,a),(t=n.apply(this,arguments)).isCurrentlyMounted=!1,t.ref=r.createRef(),t.handleChange=function(){if(t.isCurrentlyMounted){var e=t.getCurrentState();Object(i.a)(e,t.state)||t.setState(e)}},t}return h(a,[{key:"getDecoratedComponentInstance",value:function(){return Object(s.a)(this.ref.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.ref.current}},{key:"shouldComponentUpdate",value:function(t,e){return!d(t,this.props)||!Object(i.a)(e,this.state)}},{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)}},{key:"render",value:function(){var t=this;return r.createElement(c.a.Consumer,null,(function(e){var n=e.dragDropManager;return void 0===n?null:(t.receiveDragDropManager(n),t.isCurrentlyMounted?r.createElement(o,Object.assign({},t.props,t.state,{ref:Object(u.c)(o)?t.ref:null})):null)}))}},{key:"receiveDragDropManager",value:function(t){if(void 0===this.manager){this.manager=t,Object(s.a)("object"===g(t),"Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",A,A);var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange)}}},{key:"getCurrentState",value:function(){if(!this.manager)return{};var e=this.manager.getMonitor();return t(e,this.props)}}]),a}(r.Component);return e.displayName="DragLayer(".concat(A,")"),e.DecoratedComponent=n,e}();return a()(v,n)}}},function(t,e){},function(t,e,n){var r=n(846),i=n(246);t.exports=function(t,e){return t&&r(t,e,i)}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(60))},function(t,e,n){(function(t){var r=n(96),i=n(853),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;t.exports=c}).call(this,n(129)(t))},function(t,e,n){var r=n(854),i=n(335),o=n(855),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},function(t,e,n){var r=n(247),i=n(868),o=n(869),a=n(870),s=n(871),c=n(872);function l(t){var e=this.__data__=new r(t);this.size=e.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,t.exports=l},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e,n){var r=n(340),i=n(504),o=n(341);t.exports=function(t,e,n,a,s,c){var l=1&n,u=t.length,g=e.length;if(u!=g&&!(l&&g>u))return!1;var f=c.get(t),d=c.get(e);if(f&&d)return f==e&&d==t;var h=-1,p=!0,A=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++h<u;){var C=t[h],v=e[h];if(a)var I=l?a(v,C,h,e,t,c):a(C,v,h,t,e,c);if(void 0!==I){if(I)continue;p=!1;break}if(A){if(!i(e,(function(t,e){if(!o(A,e)&&(C===t||s(C,t,n,a,c)))return A.push(e)}))){p=!1;break}}else if(C!==v&&!s(C,v,n,a,c)){p=!1;break}}return c.delete(t),c.delete(e),p}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},function(t,e,n){var r=n(134)(n(96),"Set");t.exports=r},function(t,e,n){var r=n(56);t.exports=function(t){return t===t&&!r(t)}},function(t,e){t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},function(t,e,n){var r=n(21),i=n(344),o=n(906),a=n(511);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},function(t,e,n){var r=n(909);t.exports=function(t){return null==t?"":r(t)}},function(t,e){t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},function(t,e,n){var r=n(514),i=1/0;t.exports=function(t){return t?(t=r(t))===i||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}},function(t,e,n){var r=n(56),i=n(150),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=s.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):a.test(t)?NaN:+t}},function(t,e,n){var r=n(245),i=n(149);t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}},function(t,e,n){var r=n(151),i=n(926),o=n(928);t.exports=function(t,e){return o(i(t,e,r),t+"")}},function(t,e,n){var r=n(134),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},function(t,e,n){var r=n(150);t.exports=function(t,e,n){for(var i=-1,o=t.length;++i<o;){var a=t[i],s=e(a);if(null!=s&&(void 0===c?s===s&&!r(s):n(s,c)))var c=s,l=a}return l}},function(t,e,n){var r;!function(i){"use strict";var o,a=1e9,s={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,l="[DecimalError] ",u=l+"Invalid argument: ",g=l+"Exponent out of range: ",f=Math.floor,d=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=1e7,A=9007199254740991,C=f(1286742750677284.5),v={};function I(t,e){var n,r,i,o,a,s,l,u,g=t.constructor,f=g.precision;if(!t.s||!e.s)return e.s||(e=new g(t)),c?j(e,f):e;if(l=t.d,u=e.d,a=t.e,i=e.e,l=l.slice(),o=a-i){for(o<0?(r=l,o=-o,s=u.length):(r=u,i=a,s=l.length),o>(s=(a=Math.ceil(f/7))>s?a+1:s+1)&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((s=l.length)-(o=u.length)<0&&(o=s,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/p|0,l[o]%=p;for(n&&(l.unshift(n),++i),s=l.length;0==l[--s];)l.pop();return e.d=l,e.e=i,c?j(e,f):e}function y(t,e,n){if(t!==~~t||t<e||t>n)throw Error(u+t)}function m(t){var e,n,r,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(n=7-(r=t[e]+"").length)&&(o+=S(n)),o+=r;(n=7-(r=(a=t[e])+"").length)&&(o+=S(n))}else if(0===a)return"0";for(;a%10===0;)a/=10;return o+a}v.absoluteValue=v.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},v.comparedTo=v.cmp=function(t){var e,n,r,i,o=this;if(t=new o.constructor(t),o.s!==t.s)return o.s||-t.s;if(o.e!==t.e)return o.e>t.e^o.s<0?1:-1;for(e=0,n=(r=o.d.length)<(i=t.d.length)?r:i;e<n;++e)if(o.d[e]!==t.d[e])return o.d[e]>t.d[e]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1},v.decimalPlaces=v.dp=function(){var t=this,e=t.d.length-1,n=7*(e-t.e);if(e=t.d[e])for(;e%10==0;e/=10)n--;return n<0?0:n},v.dividedBy=v.div=function(t){return b(this,new this.constructor(t))},v.dividedToIntegerBy=v.idiv=function(t){var e=this.constructor;return j(b(this,new e(t),0,1),e.precision)},v.equals=v.eq=function(t){return!this.cmp(t)},v.exponent=function(){return w(this)},v.greaterThan=v.gt=function(t){return this.cmp(t)>0},v.greaterThanOrEqualTo=v.gte=function(t){return this.cmp(t)>=0},v.isInteger=v.isint=function(){return this.e>this.d.length-2},v.isNegative=v.isneg=function(){return this.s<0},v.isPositive=v.ispos=function(){return this.s>0},v.isZero=function(){return 0===this.s},v.lessThan=v.lt=function(t){return this.cmp(t)<0},v.lessThanOrEqualTo=v.lte=function(t){return this.cmp(t)<1},v.logarithm=v.log=function(t){var e,n=this,r=n.constructor,i=r.precision,a=i+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(o))throw Error(l+"NaN");if(n.s<1)throw Error(l+(n.s?"NaN":"-Infinity"));return n.eq(o)?new r(0):(c=!1,e=b(_(n,a),_(t,a),a),c=!0,j(e,i))},v.minus=v.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?E(e,t):I(e,(t.s=-t.s,t))},v.modulo=v.mod=function(t){var e,n=this,r=n.constructor,i=r.precision;if(!(t=new r(t)).s)throw Error(l+"NaN");return n.s?(c=!1,e=b(n,t,0,1).times(t),c=!0,n.minus(e)):j(new r(n),i)},v.naturalExponential=v.exp=function(){return x(this)},v.naturalLogarithm=v.ln=function(){return _(this)},v.negated=v.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},v.plus=v.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?I(e,t):E(e,(t.s=-t.s,t))},v.precision=v.sd=function(t){var e,n,r,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(u+t);if(e=w(i)+1,n=7*(r=i.d.length-1)+1,r=i.d[r]){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return t&&e>n?e:n},v.squareRoot=v.sqrt=function(){var t,e,n,r,i,o,a,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(l+"NaN")}for(t=w(s),c=!1,0==(i=Math.sqrt(+s))||i==1/0?(((e=m(s.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),r=new u(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):r=new u(i.toString()),i=a=(n=u.precision)+3;;)if(r=(o=r).plus(b(s,o,a+2)).times(.5),m(o.d).slice(0,a)===(e=m(r.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(j(o,n+1,0),o.times(o).eq(s)){r=o;break}}else if("9999"!=e)break;a+=4}return c=!0,j(r,n)},v.times=v.mul=function(t){var e,n,r,i,o,a,s,l,u,g=this,f=g.constructor,d=g.d,h=(t=new f(t)).d;if(!g.s||!t.s)return new f(0);for(t.s*=g.s,n=g.e+t.e,(l=d.length)<(u=h.length)&&(o=d,d=h,h=o,a=l,l=u,u=a),o=[],r=a=l+u;r--;)o.push(0);for(r=u;--r>=0;){for(e=0,i=l+r;i>r;)s=o[i]+h[r]*d[i-r-1]+e,o[i--]=s%p|0,e=s/p|0;o[i]=(o[i]+e)%p|0}for(;!o[--a];)o.pop();return e?++n:o.shift(),t.d=o,t.e=n,c?j(t,f.precision):t},v.toDecimalPlaces=v.todp=function(t,e){var n=this,r=n.constructor;return n=new r(n),void 0===t?n:(y(t,0,a),void 0===e?e=r.rounding:y(e,0,8),j(n,t+w(n)+1,e))},v.toExponential=function(t,e){var n,r=this,i=r.constructor;return void 0===t?n=P(r,!0):(y(t,0,a),void 0===e?e=i.rounding:y(e,0,8),n=P(r=j(new i(r),t+1,e),!0,t+1)),n},v.toFixed=function(t,e){var n,r,i=this,o=i.constructor;return void 0===t?P(i):(y(t,0,a),void 0===e?e=o.rounding:y(e,0,8),n=P((r=j(new o(i),t+w(i)+1,e)).abs(),!1,t+w(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)},v.toInteger=v.toint=function(){var t=this,e=t.constructor;return j(new e(t),w(t)+1,e.rounding)},v.toNumber=function(){return+this},v.toPower=v.pow=function(t){var e,n,r,i,a,s,u=this,g=u.constructor,d=+(t=new g(t));if(!t.s)return new g(o);if(!(u=new g(u)).s){if(t.s<1)throw Error(l+"Infinity");return u}if(u.eq(o))return u;if(r=g.precision,t.eq(o))return j(u,r);if(s=(e=t.e)>=(n=t.d.length-1),a=u.s,s){if((n=d<0?-d:d)<=A){for(i=new g(o),e=Math.ceil(r/7+4),c=!1;n%2&&M((i=i.times(u)).d,e),0!==(n=f(n/2));)M((u=u.times(u)).d,e);return c=!0,t.s<0?new g(o).div(i):j(i,r)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&t.d[Math.max(e,n)]?-1:1,u.s=1,c=!1,i=t.times(_(u,r+12)),c=!0,(i=x(i)).s=a,i},v.toPrecision=function(t,e){var n,r,i=this,o=i.constructor;return void 0===t?r=P(i,(n=w(i))<=o.toExpNeg||n>=o.toExpPos):(y(t,1,a),void 0===e?e=o.rounding:y(e,0,8),r=P(i=j(new o(i),t,e),t<=(n=w(i))||n<=o.toExpNeg,t)),r},v.toSignificantDigits=v.tosd=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(y(t,1,a),void 0===e?e=n.rounding:y(e,0,8)),j(new n(this),t,e)},v.toString=v.valueOf=v.val=v.toJSON=function(){var t=this,e=w(t),n=t.constructor;return P(t,e<=n.toExpNeg||e>=n.toExpPos)};var b=function(){function t(t,e){var n,r=0,i=t.length;for(t=t.slice();i--;)n=t[i]*e+r,t[i]=n%p|0,r=n/p|0;return r&&t.unshift(r),t}function e(t,e,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function n(t,e,n){for(var r=0;n--;)t[n]-=r,r=t[n]<e[n]?1:0,t[n]=r*p+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(r,i,o,a){var s,c,u,g,f,d,h,A,C,v,I,y,m,b,x,O,S,_,k=r.constructor,E=r.s==i.s?1:-1,P=r.d,M=i.d;if(!r.s)return new k(r);if(!i.s)throw Error(l+"Division by zero");for(c=r.e-i.e,S=M.length,x=P.length,A=(h=new k(E)).d=[],u=0;M[u]==(P[u]||0);)++u;if(M[u]>(P[u]||0)&&--c,(y=null==o?o=k.precision:a?o+(w(r)-w(i))+1:o)<0)return new k(0);if(y=y/7+2|0,u=0,1==S)for(g=0,M=M[0],y++;(u<x||g)&&y--;u++)m=g*p+(P[u]||0),A[u]=m/M|0,g=m%M|0;else{for((g=p/(M[0]+1)|0)>1&&(M=t(M,g),P=t(P,g),S=M.length,x=P.length),b=S,v=(C=P.slice(0,S)).length;v<S;)C[v++]=0;(_=M.slice()).unshift(0),O=M[0],M[1]>=p/2&&++O;do{g=0,(s=e(M,C,S,v))<0?(I=C[0],S!=v&&(I=I*p+(C[1]||0)),(g=I/O|0)>1?(g>=p&&(g=p-1),1==(s=e(f=t(M,g),C,d=f.length,v=C.length))&&(g--,n(f,S<d?_:M,d))):(0==g&&(s=g=1),f=M.slice()),(d=f.length)<v&&f.unshift(0),n(C,f,v),-1==s&&(s=e(M,C,S,v=C.length))<1&&(g++,n(C,S<v?_:M,v)),v=C.length):0===s&&(g++,C=[0]),A[u++]=g,s&&C[0]?C[v++]=P[b]||0:(C=[P[b]],v=1)}while((b++<x||void 0!==C[0])&&y--)}return A[0]||A.shift(),h.e=c,j(h,a?o+w(h)+1:o)}}();function x(t,e){var n,r,i,a,s,l=0,u=0,f=t.constructor,h=f.precision;if(w(t)>16)throw Error(g+w(t));if(!t.s)return new f(o);for(null==e?(c=!1,s=h):s=e,a=new f(.03125);t.abs().gte(.1);)t=t.times(a),u+=5;for(s+=Math.log(d(2,u))/Math.LN10*2+5|0,n=r=i=new f(o),f.precision=s;;){if(r=j(r.times(t),s),n=n.times(++l),m((a=i.plus(b(r,n,s))).d).slice(0,s)===m(i.d).slice(0,s)){for(;u--;)i=j(i.times(i),s);return f.precision=h,null==e?(c=!0,j(i,h)):i}i=a}}function w(t){for(var e=7*t.e,n=t.d[0];n>=10;n/=10)e++;return e}function O(t,e,n){if(e>t.LN10.sd())throw c=!0,n&&(t.precision=n),Error(l+"LN10 precision limit exceeded");return j(new t(t.LN10),e)}function S(t){for(var e="";t--;)e+="0";return e}function _(t,e){var n,r,i,a,s,u,g,f,d,h=1,p=t,A=p.d,C=p.constructor,v=C.precision;if(p.s<1)throw Error(l+(p.s?"NaN":"-Infinity"));if(p.eq(o))return new C(0);if(null==e?(c=!1,f=v):f=e,p.eq(10))return null==e&&(c=!0),O(C,f);if(f+=10,C.precision=f,r=(n=m(A)).charAt(0),a=w(p),!(Math.abs(a)<15e14))return g=O(C,f+2,v).times(a+""),p=_(new C(r+"."+n.slice(1)),f-10).plus(g),C.precision=v,null==e?(c=!0,j(p,v)):p;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=m((p=p.times(t)).d)).charAt(0),h++;for(a=w(p),r>1?(p=new C("0."+n),a++):p=new C(r+"."+n.slice(1)),u=s=p=b(p.minus(o),p.plus(o),f),d=j(p.times(p),f),i=3;;){if(s=j(s.times(d),f),m((g=u.plus(b(s,new C(i),f))).d).slice(0,f)===m(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(O(C,f+2,v).times(a+""))),u=b(u,new C(h),f),C.precision=v,null==e?(c=!0,j(u,v)):u;u=g,i+=2}}function k(t,e){var n,r,i;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;48===e.charCodeAt(r);)++r;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(r,i)){if(i-=r,n=n-r-1,t.e=f(n/7),t.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&t.d.push(+e.slice(0,r)),i-=7;r<i;)t.d.push(+e.slice(r,r+=7));r=7-(e=e.slice(r)).length}else r-=i;for(;r--;)e+="0";if(t.d.push(+e),c&&(t.e>C||t.e<-C))throw Error(g+n)}else t.s=0,t.e=0,t.d=[0];return t}function j(t,e,n){var r,i,o,a,s,l,u,h,A=t.d;for(a=1,o=A[0];o>=10;o/=10)a++;if((r=e-a)<0)r+=7,i=e,u=A[h=0];else{if((h=Math.ceil((r+1)/7))>=(o=A.length))return t;for(u=o=A[h],a=1;o>=10;o/=10)a++;i=(r%=7)-7+a}if(void 0!==n&&(s=u/(o=d(10,a-i-1))%10|0,l=e<0||void 0!==A[h+1]||u%o,l=n<4?(s||l)&&(0==n||n==(t.s<0?3:2)):s>5||5==s&&(4==n||l||6==n&&(r>0?i>0?u/d(10,a-i):0:A[h-1])%10&1||n==(t.s<0?8:7))),e<1||!A[0])return l?(o=w(t),A.length=1,e=e-o-1,A[0]=d(10,(7-e%7)%7),t.e=f(-e/7)||0):(A.length=1,A[0]=t.e=t.s=0),t;if(0==r?(A.length=h,o=1,h--):(A.length=h+1,o=d(10,7-r),A[h]=i>0?(u/d(10,a-i)%d(10,i)|0)*o:0),l)for(;;){if(0==h){(A[0]+=o)==p&&(A[0]=1,++t.e);break}if(A[h]+=o,A[h]!=p)break;A[h--]=0,o=1}for(r=A.length;0===A[--r];)A.pop();if(c&&(t.e>C||t.e<-C))throw Error(g+w(t));return t}function E(t,e){var n,r,i,o,a,s,l,u,g,f,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),c?j(e,h):e;if(l=t.d,f=e.d,r=e.e,u=t.e,l=l.slice(),a=u-r){for((g=a<0)?(n=l,a=-a,s=f.length):(n=f,r=u,s=l.length),a>(i=Math.max(Math.ceil(h/7),s)+2)&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for((g=(i=l.length)<(s=f.length))&&(s=i),i=0;i<s;i++)if(l[i]!=f[i]){g=l[i]<f[i];break}a=0}for(g&&(n=l,l=f,f=n,e.s=-e.s),s=l.length,i=f.length-s;i>0;--i)l[s++]=0;for(i=f.length;i>a;){if(l[--i]<f[i]){for(o=i;o&&0===l[--o];)l[o]=p-1;--l[o],l[i]+=p}l[i]-=f[i]}for(;0===l[--s];)l.pop();for(;0===l[0];l.shift())--r;return l[0]?(e.d=l,e.e=r,c?j(e,h):e):new d(0)}function P(t,e,n){var r,i=w(t),o=m(t.d),a=o.length;return e?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+S(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+S(-i-1)+o,n&&(r=n-a)>0&&(o+=S(r))):i>=a?(o+=S(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+S(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=S(r))),t.s<0?"-"+o:o}function M(t,e){if(t.length>e)return t.length=e,!0}function T(t){if(!t||"object"!==typeof t)throw Error(l+"Object expected");var e,n,r,i=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(r=t[n=i[e]])){if(!(f(r)===r&&r>=i[e+1]&&r<=i[e+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=t[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}(s=function t(e){var n,r,i;function o(t){var e=this;if(!(e instanceof o))return new o(t);if(e.constructor=o,t instanceof o)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"===typeof t){if(0*t!==0)throw Error(u+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):k(e,t.toString())}if("string"!==typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!h.test(t))throw Error(u+t);k(e,t)}if(o.prototype=v,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=T,void 0===e&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<i.length;)e.hasOwnProperty(r=i[n++])||(e[r]=this[r]);return o.config(e),o}(s)).default=s.Decimal=s,o=new s(1),void 0===(r=function(){return s}.call(e,n,e,t))||(t.exports=r)}()},function(t,e,n){"use strict";function r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(e,"__esModule",{value:!0}),e.memoize=e.reverse=e.compose=e.map=e.range=e.curry=e.PLACE_HOLDER=void 0;var i=function(t){return t},o={"@@functional/placeholder":!0};e.PLACE_HOLDER=o;var a=function(t){return t===o},s=function(t){return function e(){return 0===arguments.length||1===arguments.length&&a(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},c=function t(e,n){return 1===e?n:s((function(){for(var i=arguments.length,c=new Array(i),l=0;l<i;l++)c[l]=arguments[l];var u=c.filter((function(t){return t!==o})).length;return u>=e?n.apply(void 0,c):t(e-u,s((function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var o=c.map((function(t){return a(t)?e.shift():t}));return n.apply(void 0,r(o).concat(e))})))}))},l=function(t){return c(t.length,t)};e.curry=l;e.range=function(t,e){for(var n=[],r=t;r<e;++r)n[r-t]=r;return n};var u=l((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)}));e.map=u;e.compose=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!e.length)return i;var r=e.reverse(),o=r[0],a=r.slice(1);return function(){return a.reduce((function(t,e){return e(t)}),o.apply(void 0,arguments))}};e.reverse=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")};e.memoize=function(t){var e=null,n=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e&&i.every((function(t,n){return t===e[n]}))?n:(e=i,n=t.apply(void 0,i))}}},function(t,e,n){var r=n(946);t.exports=function(t,e){return!!(null==t?0:t.length)&&r(t,e,0)>-1}},function(t,e){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flip=l;var r,i=n(959),o=(r=i)&&r.__esModule?r:{default:r};function a(t,e){return"MathExpression"===t.type?function(t,e){switch((t=function(t,e){var n=(0,o.default)(t.left,t.right,e),r=a(n.left,e),i=a(n.right,e);"MathExpression"===r.type&&"MathExpression"===i.type&&("/"===r.operator&&"*"===i.operator||"-"===r.operator&&"+"===i.operator||"*"===r.operator&&"/"===i.operator||"+"===r.operator&&"-"===i.operator)&&(s(r.right,i.right)?n=(0,o.default)(r.left,i.left,e):s(r.right,i.left)&&(n=(0,o.default)(r.left,i.right,e)),r=a(n.left,e),i=a(n.right,e));return t.left=r,t.right=i,t}(t,e)).operator){case"+":case"-":return function(t,e){var n=t,r=n.left,i=n.right,o=n.operator;if("CssVariable"===r.type||"CssVariable"===i.type)return t;if(0===i.value)return r;if(0===r.value&&"+"===o)return i;if(0===r.value&&"-"===o)return u(i);r.type===i.type&&c(r.type)&&((t=Object.assign({},r)).value="+"===o?r.value+i.value:r.value-i.value);if(c(r.type)&&("+"===i.operator||"-"===i.operator)&&"MathExpression"===i.type){if(r.type===i.left.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:o,left:r,right:i.left},e),t.right=i.right,t.operator="-"===o?l(i.operator):i.operator,a(t,e);if(r.type===i.right.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:"-"===o?l(i.operator):i.operator,left:r,right:i.right},e),t.right=i.left,a(t,e)}if("MathExpression"===r.type&&("+"===r.operator||"-"===r.operator)&&c(i.type)){if(i.type===r.left.type)return(t=Object.assign({},r)).left=a({type:"MathExpression",operator:o,left:r.left,right:i},e),a(t,e);if(i.type===r.right.type)return t=Object.assign({},r),"-"===r.operator?(t.right=a({type:"MathExpression",operator:"-"===o?"+":"-",left:i,right:r.right},e),t.operator="-"===o?"-":"+"):t.right=a({type:"MathExpression",operator:o,left:r.right,right:i},e),t.right.value<0&&(t.right.value*=-1,t.operator="-"===t.operator?"+":"-"),a(t,e)}return t}(t,e);case"/":return function(t,e){if(!c(t.right.type))return t;if("Value"!==t.right.type)throw new Error('Cannot divide by "'+t.right.unit+'", number expected');if(0===t.right.value)throw new Error("Cannot divide by zero");if("MathExpression"===t.left.type)return c(t.left.left.type)&&c(t.left.right.type)?(t.left.left.value/=t.right.value,t.left.right.value/=t.right.value,a(t.left,e)):t;if(c(t.left.type))return t.left.value/=t.right.value,t.left;return t}(t,e);case"*":return function(t){if("MathExpression"===t.left.type&&"Value"===t.right.type){if(c(t.left.left.type)&&c(t.left.right.type))return t.left.left.value*=t.right.value,t.left.right.value*=t.right.value,t.left}else{if(c(t.left.type)&&"Value"===t.right.type)return t.left.value*=t.right.value,t.left;if("Value"===t.left.type&&"MathExpression"===t.right.type){if(c(t.right.left.type)&&c(t.right.right.type))return t.right.left.value*=t.left.value,t.right.right.value*=t.left.value,t.right}else if("Value"===t.left.type&&c(t.right.type))return t.right.value*=t.left.value,t.right}return t}(t)}return t}(t,e):"Calc"===t.type?a(t.value,e):t}function s(t,e){return t.type===e.type&&t.value===e.value}function c(t){switch(t){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function l(t){return"+"===t?"-":"+"}function u(t){return c(t.type)?t.value=-t.value:"MathExpression"==t.type&&(t.left=u(t.left),t.right=u(t.right)),t}e.default=a},function(t,e,n){"use strict";e.__esModule=!0,e.default=e.EXITING=e.ENTERED=e.ENTERING=e.EXITED=e.UNMOUNTED=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(6)),i=s(n(0)),o=s(n(20)),a=n(526);n(527);function s(t){return t&&t.__esModule?t:{default:t}}var c="unmounted";e.UNMOUNTED=c;var l="exited";e.EXITED=l;var u="entering";e.ENTERING=u;var g="entered";e.ENTERED=g;var f="exiting";e.EXITING=f;var d=function(t){var e,n;function r(e,n){var r;r=t.call(this,e,n)||this;var i,o=n.transitionGroup,a=o&&!o.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?a?(i=l,r.appearStatus=u):i=g:i=e.unmountOnExit||e.mountOnEnter?c:l,r.state={status:i},r.nextCallback=null,r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(t,e){return t.in&&e.status===c?{status:l}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==u&&n!==g&&(e=u):n!==u&&n!==g||(e=f)}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!==typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},a.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var n=o.default.findDOMNode(this);e===u?this.performEnter(n,t):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:c})},a.performEnter=function(t,e){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,o=this.getTimeouts(),a=i?o.appear:o.enter;e||r?(this.props.onEnter(t,i),this.safeSetState({status:u},(function(){n.props.onEntering(t,i),n.onTransitionEnd(t,a,(function(){n.safeSetState({status:g},(function(){n.props.onEntered(t,i)}))}))}))):this.safeSetState({status:g},(function(){n.props.onEntered(t)}))},a.performExit=function(t){var e=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(t),this.safeSetState({status:f},(function(){e.props.onExiting(t),e.onTransitionEnd(t,r.exit,(function(){e.safeSetState({status:l},(function(){e.props.onExited(t)}))}))}))):this.safeSetState({status:l},(function(){e.props.onExited(t)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},a.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(t,e,n){this.setNextCallback(n);var r=null==e&&!this.props.addEndListener;t&&!r?(this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if(t===c)return null;var e=this.props,n=e.children,r=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(e,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(t,r);var o=i.default.Children.only(n);return i.default.cloneElement(o,r)},r}(i.default.Component);function h(){}d.contextTypes={transitionGroup:r.object},d.childContextTypes={transitionGroup:function(){}},d.propTypes={},d.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},d.UNMOUNTED=0,d.EXITED=1,d.ENTERING=2,d.ENTERED=3,d.EXITING=4;var p=(0,a.polyfill)(d);e.default=p},function(t,e,n){"use strict";function r(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function i(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!==n&&void 0!==n?n:null}.bind(this))}function o(t,e){try{var n=this.props,r=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate)return t;var n=null,a=null,s=null;if("function"===typeof e.componentWillMount?n="componentWillMount":"function"===typeof e.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof e.componentWillUpdate?s="componentWillUpdate":"function"===typeof e.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var c=t.displayName||t.name,l="function"===typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof t.getDerivedStateFromProps&&(e.componentWillMount=r,e.componentWillReceiveProps=i),"function"===typeof e.getSnapshotBeforeUpdate){if("function"!==typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=o;var u=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,t,e,r)}}return t}n.r(e),n.d(e,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(t,e,n){"use strict";e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0;var r;(r=n(6))&&r.__esModule;e.timeoutsShape=null;e.classNamesShape=null},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=s(n(6)),i=s(n(0)),o=n(526),a=n(973);function s(t){return t&&t.__esModule?t:{default:t}}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var u=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},g=function(t){var e,n;function r(e,n){var r,i=(r=t.call(this,e,n)||this).handleExited.bind(l(l(r)));return r.state={handleExited:i,firstRender:!0},r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0,this.mounted=!0},o.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(t,e){var n=e.children,r=e.handleExited;return{children:e.firstRender?(0,a.getInitialChildMapping)(t,r):(0,a.getNextChildMapping)(t,n,r),firstRender:!1}},o.handleExited=function(t,e){var n=(0,a.getChildMapping)(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=c({},e.children);return delete n[t.key],{children:n}})))},o.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,["component","childFactory"]),o=u(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?o:i.default.createElement(e,r,o)},r}(i.default.Component);g.childContextTypes={transitionGroup:r.default.object.isRequired},g.propTypes={},g.defaultProps={component:"div",childFactory:function(t){return t}};var f=(0,o.polyfill)(g);e.default=f,t.exports=e.default},function(t,e,n){"use strict";n.d(e,"a",(function(){return x})),n.d(e,"d",(function(){return E})),n.d(e,"c",(function(){return T})),n.d(e,"b",(function(){return p}));var r=n(0),i=n(10),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,a=n(67);function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e,n){var i=s(Object(r.useState)((function(){return e(t)})),2),c=i[0],l=i[1],u=Object(r.useCallback)((function(){var r=e(t);Object(a.a)(c,r)||(l(r),n&&n())}),[c,t,n]);return o(u,[]),[c,u]}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e,n){var r=u(l(t,e,n),2),i=r[0],a=r[1];return o((function(){var e=t.getHandlerId();if(null!=e)return t.subscribeToStateChange(a,{handlerIds:[e]})}),[t,a]),i}var d=n(119),h=n(90);function p(){var t=Object(r.useContext)(h.a).dragDropManager;return Object(i.a)(null!=t,"Expected drag drop context"),t}var A=n(275),C=n(276);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return I(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function y(t){return(y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function x(t){var e=Object(r.useRef)(t);e.current=t,Object(i.a)(null!=t.item,"item must be defined"),Object(i.a)(null!=t.item.type,"item type must be defined");var n=m(function(){var t=p();return[Object(r.useMemo)((function(){return new A.a(t)}),[t]),Object(r.useMemo)((function(){return new C.a(t.getBackend())}),[t])]}(),2),a=n[0],s=n[1];!function(t,e,n){var a=p(),s=Object(r.useMemo)((function(){return{beginDrag:function(){var n=t.current,r=n.begin,o=n.item;if(r){var a=r(e);return Object(i.a)(null==a||"object"===y(a),"dragSpec.begin() must either return an object, undefined, or null"),a||o||{}}return o||{}},canDrag:function(){return"boolean"===typeof t.current.canDrag?t.current.canDrag:"function"!==typeof t.current.canDrag||t.current.canDrag(e)},isDragging:function(n,r){var i=t.current.isDragging;return i?i(e):r===n.getSourceId()},endDrag:function(){var r=t.current.end;r&&r(e.getItem(),e),n.reconnect()}}}),[]);o((function(){var r=v(Object(d.a)(t.current.item.type,s,a),2),i=r[0],o=r[1];return e.receiveHandlerId(i),n.receiveHandlerId(i),o}),[])}(e,a,s);var c=f(a,e.current.collect||function(){return{}},(function(){return s.reconnect()})),l=Object(r.useMemo)((function(){return s.hooks.dragSource()}),[s]),u=Object(r.useMemo)((function(){return s.hooks.dragPreview()}),[s]);return o((function(){s.dragSourceOptions=e.current.options||null,s.reconnect()}),[s]),o((function(){s.dragPreviewOptions=e.current.previewOptions||null,s.reconnect()}),[s]),[c,l,u]}var w=n(278),O=n(277);function S(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return j(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function E(t){var e=Object(r.useRef)(t);e.current=t,Object(i.a)(null!=t.accept,"accept must be defined");var n=k(function(){var t=p();return[Object(r.useMemo)((function(){return new O.a(t)}),[t]),Object(r.useMemo)((function(){return new w.a(t.getBackend())}),[t])]}(),2),a=n[0],s=n[1];!function(t,e,n){var i=p(),a=Object(r.useMemo)((function(){return{canDrop:function(){var n=t.current.canDrop;return!n||n(e.getItem(),e)},hover:function(){var n=t.current.hover;n&&n(e.getItem(),e)},drop:function(){var n=t.current.drop;if(n)return n(e.getItem(),e)}}}),[e]);o((function(){var r=S(Object(d.b)(t.current.accept,a,i),2),o=r[0],s=r[1];return e.receiveHandlerId(o),n.receiveHandlerId(o),s}),[e,n])}(e,a,s);var c=f(a,e.current.collect||function(){return{}},(function(){return s.reconnect()})),l=Object(r.useMemo)((function(){return s.hooks.dropTarget()}),[s]);return o((function(){s.dropTargetOptions=t.options||null,s.reconnect()}),[t.options]),[c,l]}function P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return M(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function T(t){var e=p().getMonitor(),n=P(l(e,t),2),i=n[0],o=n[1];return Object(r.useEffect)((function(){return e.subscribeToOffsetChange(o)})),Object(r.useEffect)((function(){return e.subscribeToStateChange(o)})),i}},function(t,e,n){"use strict";n.d(e,"a",(function(){return I}));var r=n(256),i=n(1036),o=n(1028),a=n(28),s=Object(a.a)((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),c=s,l=(s.range,n(1023)),u=n(1024),g=n(34),f=Object(a.a)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*g.b)}),(function(t,e){return(e-t)/g.b}),(function(t){return t.getUTCHours()})),d=f,h=(f.range,Object(a.a)((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*g.c)}),(function(t,e){return(e-t)/g.c}),(function(t){return t.getUTCMinutes()}))),p=h,A=(h.range,n(1029)),C=n(1030),v=n(23);function I(){return v.b.apply(Object(r.a)(o.a,c,l.b,u.a,d,p,A.a,C.a,i.b).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(165),c=n(30),l=Object(c.a)(o.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),u=Object(c.a)(o.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),g=n(11),f=Object(c.a)(o.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),d=n(9),h=n(7),p=o.createElement(u,null),A=o.createElement(l,null),C=o.createElement(f,null),v=o.forwardRef((function(t,e){var n=t.checkedIcon,c=void 0===n?p:n,l=t.classes,u=t.color,g=void 0===u?"secondary":u,f=t.icon,h=void 0===f?A:f,v=t.indeterminate,I=void 0!==v&&v,y=t.indeterminateIcon,m=void 0===y?C:y,b=t.inputProps,x=t.size,w=void 0===x?"medium":x,O=Object(i.a)(t,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),S=I?m:h,_=I?m:c;return o.createElement(s.a,Object(r.a)({type:"checkbox",classes:{root:Object(a.default)(l.root,l["color".concat(Object(d.a)(g))],I&&l.indeterminate),checked:l.checked,disabled:l.disabled},color:g,inputProps:Object(r.a)({"data-indeterminate":I},b),icon:o.cloneElement(S,{fontSize:void 0===S.props.fontSize&&"small"===w?w:S.props.fontSize}),checkedIcon:o.cloneElement(_,{fontSize:void 0===_.props.fontSize&&"small"===w?w:_.props.fontSize}),ref:e},O))}));e.a=Object(h.a)((function(t){return{root:{color:t.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(g.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(g.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}}}}),{name:"MuiCheckbox"})(v)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(30),c=Object(s.a)(o.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),l=n(7),u=n(11),g=n(18),f=n(9),d=n(368);function h(t){return"Backspace"===t.key||"Delete"===t.key}var p=o.forwardRef((function(t,e){var n=t.avatar,s=t.classes,l=t.className,u=t.clickable,p=t.color,A=void 0===p?"default":p,C=t.component,v=t.deleteIcon,I=t.disabled,y=void 0!==I&&I,m=t.icon,b=t.label,x=t.onClick,w=t.onDelete,O=t.onKeyDown,S=t.onKeyUp,_=t.size,k=void 0===_?"medium":_,j=t.variant,E=void 0===j?"default":j,P=Object(i.a)(t,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),M=o.useRef(null),T=Object(g.a)(M,e),R=function(t){t.stopPropagation(),w&&w(t)},D=!(!1===u||!x)||u,N="small"===k,L=C||(D?d.a:"div"),F=L===d.a?{component:"div"}:{},B=null;if(w){var z=Object(a.default)("default"!==A&&("default"===E?s["deleteIconColor".concat(Object(f.a)(A))]:s["deleteIconOutlinedColor".concat(Object(f.a)(A))]),N&&s.deleteIconSmall);B=v&&o.isValidElement(v)?o.cloneElement(v,{className:Object(a.default)(v.props.className,s.deleteIcon,z),onClick:R}):o.createElement(c,{className:Object(a.default)(s.deleteIcon,z),onClick:R})}var V=null;n&&o.isValidElement(n)&&(V=o.cloneElement(n,{className:Object(a.default)(s.avatar,n.props.className,N&&s.avatarSmall,"default"!==A&&s["avatarColor".concat(Object(f.a)(A))])}));var G=null;return m&&o.isValidElement(m)&&(G=o.cloneElement(m,{className:Object(a.default)(s.icon,m.props.className,N&&s.iconSmall,"default"!==A&&s["iconColor".concat(Object(f.a)(A))])})),o.createElement(L,Object(r.a)({role:D||w?"button":void 0,className:Object(a.default)(s.root,l,"default"!==A&&[s["color".concat(Object(f.a)(A))],D&&s["clickableColor".concat(Object(f.a)(A))],w&&s["deletableColor".concat(Object(f.a)(A))]],"default"!==E&&[s.outlined,{primary:s.outlinedPrimary,secondary:s.outlinedSecondary}[A]],y&&s.disabled,N&&s.sizeSmall,D&&s.clickable,w&&s.deletable),"aria-disabled":!!y||void 0,tabIndex:D||w?0:void 0,onClick:x,onKeyDown:function(t){t.currentTarget===t.target&&h(t)&&t.preventDefault(),O&&O(t)},onKeyUp:function(t){t.currentTarget===t.target&&(w&&h(t)?w(t):"Escape"===t.key&&M.current&&M.current.blur()),S&&S(t)},ref:T},F,P),V||G,o.createElement("span",{className:Object(a.default)(s.label,N&&s.labelSmall)},b),B)}));e.a=Object(l.a)((function(t){var e="light"===t.palette.type?t.palette.grey[300]:t.palette.grey[700],n=Object(u.d)(t.palette.text.primary,.26);return{root:{fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:t.palette.getContrastText(e),backgroundColor:e,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],fontSize:t.typography.pxToRem(12)},"& $avatarColorPrimary":{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.dark},"& $avatarColorSecondary":{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:Object(u.c)(e,.08)},"&:active":{boxShadow:t.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:Object(u.c)(t.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:Object(u.c)(t.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:Object(u.c)(e,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:Object(u.c)(t.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:Object(u.c)(t.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(u.d)(t.palette.text.primary,t.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat(t.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(u.d)(t.palette.primary.main,t.palette.action.hoverOpacity)}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat(t.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(u.d)(t.palette.secondary.main,t.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Object(u.d)(n,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:Object(u.d)(t.palette.primary.contrastText,.7),"&:hover, &:active":{color:t.palette.primary.contrastText}},deleteIconColorSecondary:{color:Object(u.d)(t.palette.secondary.contrastText,.7),"&:hover, &:active":{color:t.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:Object(u.d)(t.palette.primary.main,.7),"&:hover, &:active":{color:t.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:Object(u.d)(t.palette.secondary.main,.7),"&:hover, &:active":{color:t.palette.secondary.main}}}}),{name:"MuiChip"})(p)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(569),l=n(477),u=n(352),g=n(481),f=n(483),d=n(144),h=n(209),p=n(208),A=n(22),C=n(347),v=o.createElement(p.a,null),I=o.createElement(h.a,null),y=o.createElement(h.a,null),m=o.createElement(p.a,null),b=o.forwardRef((function(t,e){var n=t.backIconButtonProps,a=t.count,s=t.nextIconButtonProps,c=t.onChangePage,l=t.page,u=t.rowsPerPage,g=Object(i.a)(t,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage"]),f=Object(A.a)();return o.createElement("div",Object(r.a)({ref:e},g),o.createElement(C.a,Object(r.a)({onClick:function(t){c(t,l-1)},disabled:0===l,color:"inherit"},n),"rtl"===f.direction?v:I),o.createElement(C.a,Object(r.a)({onClick:function(t){c(t,l+1)},disabled:-1!==a&&l>=Math.ceil(a/u)-1,color:"inherit"},s),"rtl"===f.direction?y:m))})),x=n(109),w=function(t){var e=t.from,n=t.to,r=t.count;return"".concat(e,"-").concat(n," of ").concat(-1!==r?r:"more than ".concat(n))},O=[10,25,50,100],S=o.forwardRef((function(t,e){var n,s=t.ActionsComponent,h=void 0===s?b:s,p=t.backIconButtonProps,A=t.backIconButtonText,C=void 0===A?"Previous page":A,v=t.classes,I=t.className,y=t.colSpan,m=t.component,S=void 0===m?g.a:m,_=t.count,k=t.labelDisplayedRows,j=void 0===k?w:k,E=t.labelRowsPerPage,P=void 0===E?"Rows per page:":E,M=t.nextIconButtonProps,T=t.nextIconButtonText,R=void 0===T?"Next page":T,D=t.onChangePage,N=t.onChangeRowsPerPage,L=t.page,F=t.rowsPerPage,B=t.rowsPerPageOptions,z=void 0===B?O:B,V=t.SelectProps,G=void 0===V?{}:V,W=Object(i.a)(t,["ActionsComponent","backIconButtonProps","backIconButtonText","classes","className","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","nextIconButtonText","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);S!==g.a&&"td"!==S||(n=y||1e3);var Y=Object(x.a)(),H=Object(x.a)(),U=G.native?"option":l.a;return o.createElement(S,Object(r.a)({className:Object(a.default)(v.root,I),colSpan:n,ref:e},W),o.createElement(f.a,{className:v.toolbar},o.createElement("div",{className:v.spacer}),z.length>1&&o.createElement(d.a,{color:"inherit",variant:"body2",className:v.caption,id:H},P),z.length>1&&o.createElement(u.a,Object(r.a)({classes:{select:v.select,icon:v.selectIcon},input:o.createElement(c.a,{className:Object(a.default)(v.input,v.selectRoot)}),value:F,onChange:N,id:Y,labelId:H},G),z.map((function(t){return o.createElement(U,{className:v.menuItem,key:t.value?t.value:t,value:t.value?t.value:t},t.label?t.label:t)}))),o.createElement(d.a,{color:"inherit",variant:"body2",className:v.caption},j({from:0===_?0:L*F+1,to:-1!==_?Math.min(_,(L+1)*F):(L+1)*F,count:-1===_?-1:_,page:L})),o.createElement(h,{className:v.actions,backIconButtonProps:Object(r.a)({title:C,"aria-label":C},p),count:_,nextIconButtonProps:Object(r.a)({title:R,"aria-label":R},M),onChangePage:D,page:L,rowsPerPage:F})))}));e.a=Object(s.a)((function(t){return{root:{color:t.palette.text.primary,fontSize:t.typography.pxToRem(14),overflow:"auto","&:last-child":{padding:0}},toolbar:{minHeight:52,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"},selectIcon:{},input:{color:"inherit",fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,marginLeft:20}}}),{name:"MuiTablePagination"})(S)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(30),c=Object(s.a)(o.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),l=n(7),u=n(368),g=n(9),f=o.forwardRef((function(t,e){var n=t.active,s=void 0!==n&&n,l=t.children,f=t.classes,d=t.className,h=t.direction,p=void 0===h?"asc":h,A=t.hideSortIcon,C=void 0!==A&&A,v=t.IconComponent,I=void 0===v?c:v,y=Object(i.a)(t,["active","children","classes","className","direction","hideSortIcon","IconComponent"]);return o.createElement(u.a,Object(r.a)({className:Object(a.default)(f.root,d,s&&f.active),component:"span",disableRipple:!0,ref:e},y),l,C&&!s?null:o.createElement(I,{className:Object(a.default)(f.icon,f["iconDirection".concat(Object(g.a)(p))])}))}));e.a=Object(l.a)((function(t){return{root:{cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:t.palette.text.secondary},"&:hover":{color:t.palette.text.secondary,"& $icon":{opacity:.5}},"&$active":{color:t.palette.text.primary,"&& $icon":{opacity:1,color:t.palette.text.secondary}}},active:{},icon:{fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:t.transitions.create(["opacity","transform"],{duration:t.transitions.duration.shorter}),userSelect:"none"},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}}),{name:"MuiTableSortLabel"})(f)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r.a})),n.d(e,"d",(function(){return r.b})),n.d(e,"b",(function(){return i.a})),n.d(e,"c",(function(){return a}));var r=n(90),i=n(488),o=n(0),a=o.memo((function(t){var e=t.connect,n=t.src;return o.useEffect((function(){if("undefined"!==typeof Image){var t=!1,r=new Image;return r.src=n,r.onload=function(){e(r),t=!0},function(){t&&e(null)}}})),null}));a.displayName="DragPreviewImage"},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(10),i=n(59),o=n(73),a=n(283),s=n(119),c=n(275),l=n(276),u=n(279);function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=["canDrag","beginDrag","isDragging","endDrag"],d=["beginDrag"],h=function(){function t(e,n,r){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.props=null,this.beginDrag=function(){if(i.props)return i.spec.beginDrag(i.props,i.monitor,i.ref.current)},this.spec=e,this.monitor=n,this.ref=r}var e,n,r;return e=t,(n=[{key:"receiveProps",value:function(t){this.props=t}},{key:"canDrag",value:function(){return!!this.props&&(!this.spec.canDrag||this.spec.canDrag(this.props,this.monitor))}},{key:"isDragging",value:function(t,e){return!!this.props&&(this.spec.isDragging?this.spec.isDragging(this.props,this.monitor):e===t.getSourceId())}},{key:"endDrag",value:function(){this.props&&this.spec.endDrag&&this.spec.endDrag(this.props,this.monitor,Object(o.b)(this.ref))}}])&&g(e.prototype,n),r&&g(e,r),t}();function p(t){return Object.keys(t).forEach((function(e){Object(r.a)(f.indexOf(e)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',f.join(", "),e),Object(r.a)("function"===typeof t[e],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",e,e,t[e])})),d.forEach((function(e){Object(r.a)("function"===typeof t[e],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",e,e,t[e])})),function(e,n){return new h(t,e,n)}}function A(t,e,n){var g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Object(o.a)("DragSource","type, spec, collect[, options]",t,e,n,g);var f=t;"function"!==typeof t&&(Object(r.a)(Object(u.a)(t),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',t),f=function(){return t}),Object(r.a)(Object(i.b)(e),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',e);var d=p(e);return Object(r.a)("function"===typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',n),Object(r.a)(Object(i.b)(g),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',n),function(t){return Object(a.a)({containerDisplayName:"DragSource",createHandler:d,registerHandler:s.a,createConnector:function(t){return new l.a(t)},createMonitor:function(t){return new c.a(t)},DecoratedComponent:t,getType:f,collect:n,options:g})}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(10),i=n(59),o=n(119),a=n(279),s=n(278),c=n(277),l=n(73),u=n(283);function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=["canDrop","hover","drop"],d=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.props=null,this.spec=e,this.monitor=n,this.ref=r}var e,n,r;return e=t,(n=[{key:"receiveProps",value:function(t){this.props=t}},{key:"receiveMonitor",value:function(t){this.monitor=t}},{key:"canDrop",value:function(){return!this.spec.canDrop||this.spec.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){this.spec.hover&&this.props&&this.spec.hover(this.props,this.monitor,Object(l.b)(this.ref))}},{key:"drop",value:function(){if(this.spec.drop)return this.spec.drop(this.props,this.monitor,this.ref.current)}}])&&g(e.prototype,n),r&&g(e,r),t}();function h(t){return Object.keys(t).forEach((function(e){Object(r.a)(f.indexOf(e)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',f.join(", "),e),Object(r.a)("function"===typeof t[e],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target",e,e,t[e])})),function(e,n){return new d(t,e,n)}}function p(t,e,n){var g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Object(l.a)("DropTarget","type, spec, collect[, options]",t,e,n,g);var f=t;"function"!==typeof t&&(Object(r.a)(Object(a.a)(t,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',t),f=function(){return t}),Object(r.a)(Object(i.b)(e),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',e);var d=h(e);return Object(r.a)("function"===typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',n),Object(r.a)(Object(i.b)(g),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',n),function(t){return Object(u.a)({containerDisplayName:"DropTarget",createHandler:d,registerHandler:o.b,createMonitor:function(t){return new c.a(t)},createConnector:function(t){return new s.a(t)},DecoratedComponent:t,getType:f,collect:n,options:g})}}},function(t,e,n){"use strict";e.a=function(){return!1}},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(86),n(6),n(3)),s=n(7),c=n(351),l=n(985),u=n(20),g=n(49),f=n(22),d={vertical:"top",horizontal:"right"},h={vertical:"top",horizontal:"left"},p=o.forwardRef((function(t,e){var n=t.autoFocus,s=void 0===n||n,p=t.children,A=t.classes,C=t.disableAutoFocusItem,v=void 0!==C&&C,I=t.MenuListProps,y=void 0===I?{}:I,m=t.onClose,b=t.onEntering,x=t.open,w=t.PaperProps,O=void 0===w?{}:w,S=t.PopoverClasses,_=t.transitionDuration,k=void 0===_?"auto":_,j=t.variant,E=void 0===j?"selectedMenu":j,P=Object(i.a)(t,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","variant"]),M=Object(f.a)(),T=s&&!v&&x,R=o.useRef(null),D=o.useRef(null),N=-1;o.Children.map(p,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("menu"!==E&&t.props.selected||-1===N)&&(N=e))}));var L=o.Children.map(p,(function(t,e){return e===N?o.cloneElement(t,{ref:function(e){D.current=u.findDOMNode(e),Object(g.a)(t.ref,e)}}):t}));return o.createElement(c.a,Object(r.a)({getContentAnchorEl:function(){return D.current},classes:S,onClose:m,onEntering:function(t,e){R.current&&R.current.adjustStyleForScrollbar(t,M),b&&b(t,e)},anchorOrigin:"rtl"===M.direction?d:h,transformOrigin:"rtl"===M.direction?d:h,PaperProps:Object(r.a)({},O,{classes:Object(r.a)({},O.classes,{root:A.paper})}),open:x,ref:e,transitionDuration:k},P),o.createElement(l.a,Object(r.a)({onKeyDown:function(t){"Tab"===t.key&&(t.preventDefault(),m&&m(t,"tabKeyDown"))},actions:R,autoFocus:s&&(-1===N||v),autoFocusItem:T,variant:E},y,{className:Object(a.default)(A.list,y.className)}),L))}));e.a=Object(s.a)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(p)},function(t,e,n){"use strict";n.d(e,"b",(function(){return f}));var r=n(2),i=n(4),o=n(0),a=(n(6),n(272)),s=n(7),c=n(79),l=n(64),u=n(271),g=n(270),f=function(t){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:t.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:t.palette.action.active,"&$disabled":{color:t.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},d=o.createElement(g.a,null),h=o.forwardRef((function(t,e){var n=t.children,s=t.classes,g=t.IconComponent,f=void 0===g?u.a:g,h=t.input,p=void 0===h?d:h,A=t.inputProps,C=(t.variant,Object(i.a)(t,["children","classes","IconComponent","input","inputProps","variant"])),v=Object(l.a)(),I=Object(c.a)({props:t,muiFormControl:v,states:["variant"]});return o.cloneElement(p,Object(r.a)({inputComponent:a.a,inputProps:Object(r.a)({children:n,classes:s,IconComponent:f,variant:I.variant,type:void 0},A,p?p.props.inputProps:{}),ref:e},C))}));h.muiName="Select",e.a=Object(s.a)(f,{name:"MuiNativeSelect"})(h)},function(t,e,n){"use strict";(function(t){var n="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:c(s(t))}function l(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),g=n&&/MSIE 10/.test(navigator.userAgent);function f(t){return 11===t?u:10===t?g:u||g}function d(t){if(!t)return document.documentElement;for(var e=f(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(t.parentNode):t}function p(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||d(t.firstElementChild)===t)}(a)?a:d(a);var s=h(t);return s.host?p(s.host,e):p(t,h(e).host)}function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function C(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=A(e,"top"),i=A(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function v(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function I(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],f(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,r=f(10)&&getComputedStyle(n);return{height:I("Height",e,n,r),width:I("Width",e,n,r)}}var m=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},b=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function O(t){return w({},t,{right:t.left+t.width,bottom:t.top+t.height})}function S(t){var e={};try{if(f(10)){e=t.getBoundingClientRect();var n=A(t,"top"),r=A(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(d){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?y(t.ownerDocument):{},s=o.width||t.clientWidth||i.width,c=o.height||t.clientHeight||i.height,l=t.offsetWidth-s,u=t.offsetHeight-c;if(l||u){var g=a(t);l-=v(g,"x"),u-=v(g,"y"),i.width-=l,i.height-=u}return O(i)}function _(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),i="HTML"===e.nodeName,o=S(t),s=S(e),l=c(t),u=a(e),g=parseFloat(u.borderTopWidth),d=parseFloat(u.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=O({top:o.top-s.top-g,left:o.left-s.left-d,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!r&&i){var p=parseFloat(u.marginTop),A=parseFloat(u.marginLeft);h.top-=g-p,h.bottom-=g-p,h.left-=d-A,h.right-=d-A,h.marginTop=p,h.marginLeft=A}return(r&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=C(h,e)),h}function k(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=_(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:A(n),s=e?0:A(n,"left"),c={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return O(c)}function j(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=s(t);return!!n&&j(n)}function E(t){if(!t||!t.parentElement||f())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function P(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?E(t):p(t,l(e));if("viewport"===r)o=k(a,i);else{var u=void 0;"scrollParent"===r?"BODY"===(u=c(s(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===r?t.ownerDocument.documentElement:r;var g=_(u,a,i);if("HTML"!==u.nodeName||j(a))o=g;else{var f=y(t.ownerDocument),d=f.height,h=f.width;o.top+=g.top-g.marginTop,o.bottom=d+g.top,o.left+=g.left-g.marginLeft,o.right=h+g.left}}var A="number"===typeof(n=n||0);return o.left+=A?n:n.left||0,o.top+=A?n:n.top||0,o.right-=A?n:n.right||0,o.bottom-=A?n:n.bottom||0,o}function M(t){return t.width*t.height}function T(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=P(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},c=Object.keys(s).map((function(t){return w({key:t},s[t],{area:M(s[t])})})).sort((function(t,e){return e.area-t.area})),l=c.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),u=l.length>0?l[0].key:c[0].key,g=t.split("-")[1];return u+(g?"-"+g:"")}function R(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?E(e):p(e,l(n));return _(n,i,r)}function D(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function N(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function L(t,e,n){n=n.split("-")[0];var r=D(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return i[a]=e[a]+e[c]/2-r[c]/2,i[s]=n===s?e[s]-r[l]:e[N(s)],i}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function B(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=F(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=O(e.offsets.popper),e.offsets.reference=O(e.offsets.reference),e=n(e,t))})),e}function z(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=L(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=B(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function V(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function G(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if("undefined"!==typeof document.body.style[o])return o}return null}function W(){return this.state.isDestroyed=!0,V(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[G("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Y(t){var e=t.ownerDocument;return e?e.defaultView:window}function H(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||H(c(o.parentNode),e,n,r),r.push(o)}function U(t,e,n,r){n.updateBound=r,Y(t).addEventListener("resize",n.updateBound,{passive:!0});var i=c(t);return H(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function X(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function Z(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,Y(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function K(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var Q=n&&/Firefox/i.test(navigator.userAgent);function J(t,e,n){var r=F(t,(function(t){return t.name===e})),i=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!i){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var $=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],tt=$.slice(3);function et(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=tt.indexOf(t),r=tt.slice(n+1).concat(tt.slice(0,n));return e?r.reverse():r}var nt="flip",rt="clockwise",it="counterclockwise";function ot(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(F(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(l=l.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return O(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){q(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",l=s?"width":"height",u={start:x({},c,o[c]),end:x({},c,o[c]+o[l]-a[l])};t.offsets.popper=w({},a,u[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],c=void 0;return c=q(+n)?[+n,0]:ot(n,o,a,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||d(t.instance.popper);t.instance.reference===n&&(n=d(n));var r=G("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var c=P(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=c;var l=e.priority,u=t.offsets.popper,g={primary:function(t){var n=u[t];return u[t]<c[t]&&!e.escapeWithReference&&(n=Math.max(u[t],c[t])),x({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=u[n];return u[t]>c[t]&&!e.escapeWithReference&&(r=Math.min(u[n],c[t]-("right"===t?u.width:u.height))),x({},n,r)}};return l.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=w({},u,g[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",c=a?"left":"top",l=a?"width":"height";return n[s]<o(r[c])&&(t.offsets.popper[c]=o(r[c])-n[l]),n[c]>o(r[s])&&(t.offsets.popper[c]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!J(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"===typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,s=o.popper,c=o.reference,l=-1!==["left","right"].indexOf(i),u=l?"height":"width",g=l?"Top":"Left",f=g.toLowerCase(),d=l?"left":"top",h=l?"bottom":"right",p=D(r)[u];c[h]-p<s[f]&&(t.offsets.popper[f]-=s[f]-(c[h]-p)),c[f]+p>s[h]&&(t.offsets.popper[f]+=c[f]+p-s[h]),t.offsets.popper=O(t.offsets.popper);var A=c[f]+c[u]/2-p/2,C=a(t.instance.popper),v=parseFloat(C["margin"+g]),I=parseFloat(C["border"+g+"Width"]),y=A-t.offsets.popper[f]-v-I;return y=Math.max(Math.min(s[u]-p,y),0),t.arrowElement=r,t.offsets.arrow=(x(n={},f,Math.round(y)),x(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(V(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=P(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=N(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case nt:a=[r,i];break;case rt:a=et(r);break;case it:a=et(r,!0);break;default:a=e.behavior}return a.forEach((function(s,c){if(r!==s||a.length===c+1)return t;r=t.placement.split("-")[0],i=N(r);var l=t.offsets.popper,u=t.offsets.reference,g=Math.floor,f="left"===r&&g(l.right)>g(u.left)||"right"===r&&g(l.left)<g(u.right)||"top"===r&&g(l.bottom)>g(u.top)||"bottom"===r&&g(l.top)<g(u.bottom),d=g(l.left)<g(n.left),h=g(l.right)>g(n.right),p=g(l.top)<g(n.top),A=g(l.bottom)>g(n.bottom),C="left"===r&&d||"right"===r&&h||"top"===r&&p||"bottom"===r&&A,v=-1!==["top","bottom"].indexOf(r),I=!!e.flipVariations&&(v&&"start"===o&&d||v&&"end"===o&&h||!v&&"start"===o&&p||!v&&"end"===o&&A),y=!!e.flipVariationsByContent&&(v&&"start"===o&&h||v&&"end"===o&&d||!v&&"start"===o&&A||!v&&"end"===o&&p),m=I||y;(f||C||m)&&(t.flipped=!0,(f||C)&&(r=a[c+1]),m&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=w({},t.offsets.popper,L(t.instance.popper,t.offsets.reference,t.placement)),t=B(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=N(e),t.offsets.popper=O(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!J(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=d(t.instance.popper),c=S(s),l={position:i.position},u=function(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,a=Math.floor,s=function(t){return t},c=o(i.width),l=o(r.width),u=-1!==["left","right"].indexOf(t.placement),g=-1!==t.placement.indexOf("-"),f=e?u||g||c%2===l%2?o:a:s,d=e?o:s;return{left:f(c%2===1&&l%2===1&&!g&&e?r.left-1:r.left),top:d(r.top),bottom:d(r.bottom),right:f(r.right)}}(t,window.devicePixelRatio<2||!Q),g="bottom"===n?"top":"bottom",f="right"===r?"left":"right",h=G("transform"),p=void 0,A=void 0;if(A="bottom"===g?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-c.height+u.bottom:u.top,p="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-c.width+u.right:u.left,a&&h)l[h]="translate3d("+p+"px, "+A+"px, 0)",l[g]=0,l[f]=0,l.willChange="transform";else{var C="bottom"===g?-1:1,v="right"===f?-1:1;l[g]=A*C,l[f]=p*v,l.willChange=g+", "+f}var I={"x-placement":t.placement};return t.attributes=w({},I,t.attributes),t.styles=w({},l,t.styles),t.arrowStyles=w({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return K(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&K(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=R(i,e,t,n.positionFixed),a=T(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),K(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},st=function(){function t(e,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=w({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(w({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){r.options.modifiers[e]=w({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return w({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return b(t,[{key:"update",value:function(){return z.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return Z.call(this)}}]),t}();st.Utils=("undefined"!==typeof window?window:t).PopperUtils,st.placements=$,st.Defaults=at,e.a=st}).call(this,n(60))},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"===typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",(function(){return r}))},function(t,e){function n(t,e,n){var r,i,o,a,s;function c(){var l=Date.now()-a;l<e&&l>=0?r=setTimeout(c,e-l):(r=null,n||(s=t.apply(o,i),o=i=null))}null==e&&(e=100);var l=function(){o=this,i=arguments,a=Date.now();var l=n&&!r;return r||(r=setTimeout(c,e)),l&&(s=t.apply(o,i),o=i=null),s};return l.clear=function(){r&&(clearTimeout(r),r=null)},l.flush=function(){r&&(s=t.apply(o,i),o=i=null,clearTimeout(r),r=null)},l}n.debounce=n,t.exports=n},function(t,e,n){"use strict";var r=n(81),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");e.a=function(t,e){var n,a,s,c=i.lastIndex=o.lastIndex=0,l=-1,u=[],g=[];for(t+="",e+="";(n=i.exec(t))&&(a=o.exec(e));)(s=a.index)>c&&(s=e.slice(c,s),u[l]?u[l]+=s:u[++l]=s),(n=n[0])===(a=a[0])?u[l]?u[l]+=a:u[++l]=a:(u[++l]=null,g.push({i:l,x:Object(r.a)(n,a)})),c=o.lastIndex;return c<e.length&&(s=e.slice(c),u[l]?u[l]+=s:u[++l]=s),u.length<2?g[0]?function(t){return function(e){return t(e)+""}}(g[0].x):function(t){return function(){return t}}(e):(e=g.length,function(t){for(var n,r=0;r<e;++r)u[(n=g[r]).i]=n.x(t);return u.join("")})}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(548);function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Object(r.a)(t,e)}},function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(916)(n(917));t.exports=r},function(t,e,n){var r=n(919),i=n(56);t.exports=function(t,e,n){var o=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:o,maxWait:e,trailing:a})}},function(t,e,n){var r=n(345),i=n(942);t.exports=function(t,e){return r(i(t,e),1)}},function(t,e,n){var r=n(345);t.exports=function(t){return(null==t?0:t.length)?r(t,1):[]}},function(t,e,n){var r=n(504),i=n(106),o=n(951),a=n(21),s=n(252);t.exports=function(t,e,n){var c=a(t)?r:o;return n&&s(t,e,n)&&(e=void 0),c(t,i(e,3))}},function(t,e,n){var r=n(952),i=n(497),o=n(106);t.exports=function(t,e){var n={};return e=o(e,3),i(t,(function(t,i,o){r(n,i,e(t,i,o))})),n}},function(t,e,n){var r=n(202),i=n(964),o=n(516),a=n(965),s=o((function(t){var e=r(t,a);return e.length&&e[0]===t[0]?i(e):[]}));t.exports=s},function(t,e,n){var r=n(506),i=n(967),o=n(106),a=n(21);t.exports=function(t,e){return(a(t)?r:i)(t,o(e,3))}},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function s(t,e,n,r,o){if("function"!==typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||t,o),c=i?i+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],s]:t._events[c].push(s):(t._events[c]=s,t._eventsCount++),t}function c(t,e){0===--t._eventsCount?t._events=new o:delete t._events[e]}function l(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),l.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)r.call(t,e)&&n.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},l.prototype.listeners=function(t){var e=i?i+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);r<o;r++)a[r]=n[r].fn;return a},l.prototype.listenerCount=function(t){var e=i?i+t:t,n=this._events[e];return n?n.fn?1:n.length:0},l.prototype.emit=function(t,e,n,r,o,a){var s=i?i+t:t;if(!this._events[s])return!1;var c,l,u=this._events[s],g=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),g){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,n),!0;case 4:return u.fn.call(u.context,e,n,r),!0;case 5:return u.fn.call(u.context,e,n,r,o),!0;case 6:return u.fn.call(u.context,e,n,r,o,a),!0}for(l=1,c=new Array(g-1);l<g;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var f,d=u.length;for(l=0;l<d;l++)switch(u[l].once&&this.removeListener(t,u[l].fn,void 0,!0),g){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,e);break;case 3:u[l].fn.call(u[l].context,e,n);break;case 4:u[l].fn.call(u[l].context,e,n,r);break;default:if(!c)for(f=1,c=new Array(g-1);f<g;f++)c[f-1]=arguments[f];u[l].fn.apply(u[l].context,c)}}return!0},l.prototype.on=function(t,e,n){return s(this,t,e,n,!1)},l.prototype.once=function(t,e,n){return s(this,t,e,n,!0)},l.prototype.removeListener=function(t,e,n,r){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||r&&!a.once||n&&a.context!==n||c(this,o);else{for(var s=0,l=[],u=a.length;s<u;s++)(a[s].fn!==e||r&&!a[s].once||n&&a[s].context!==n)&&l.push(a[s]);l.length?this._events[o]=1===l.length?l[0]:l:c(this,o)}return this},l.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&c(this,e)):(this._events=new o,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=i,l.EventEmitter=l,t.exports=l},function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return null};r.displayName="XAxis",r.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return null};r.displayName="YAxis",r.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return np}));var r="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:{};function i(t){var e={exports:{}};return t(e,e.exports),e.exports}var o=function(t){return t&&t.Math==Math&&t},a=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof r&&r)||function(){return this}()||Function("return this")(),s=function(t){try{return!!t()}catch(e){return!0}},c=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,g={f:u&&!l.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:l},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},d={}.toString,h=function(t){return d.call(t).slice(8,-1)},p="".split,A=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==h(t)?p.call(t,""):Object(t)}:Object,C=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},v=function(t){return A(C(t))},I=function(t){return"object"===typeof t?null!==t:"function"===typeof t},y=function(t,e){if(!I(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!I(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!I(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!I(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,b=function(t,e){return m.call(t,e)},x=a.document,w=I(x)&&I(x.createElement),O=function(t){return w?x.createElement(t):{}},S=!c&&!s((function(){return 7!=Object.defineProperty(O("div"),"a",{get:function(){return 7}}).a})),_=Object.getOwnPropertyDescriptor,k={f:c?_:function(t,e){if(t=v(t),e=y(e,!0),S)try{return _(t,e)}catch(n){}if(b(t,e))return f(!g.f.call(t,e),t[e])}},j=/#|\.prototype\./,E=function(t,e){var n=M[P(t)];return n==R||n!=T&&("function"==typeof e?s(e):!!e)},P=E.normalize=function(t){return String(t).replace(j,".").toLowerCase()},M=E.data={},T=E.NATIVE="N",R=E.POLYFILL="P",D=E,N={},L=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},F=function(t,e,n){if(L(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}},B=function(t){if(!I(t))throw TypeError(String(t)+" is not an object");return t},z=Object.defineProperty,V={f:c?z:function(t,e,n){if(B(t),e=y(e,!0),B(n),S)try{return z(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},G=c?function(t,e,n){return V.f(t,e,f(1,n))}:function(t,e,n){return t[e]=n,t},W=k.f,Y=function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},H=function(t,e){var n,r,i,o,s,c,l,u,g=t.target,f=t.global,d=t.stat,h=t.proto,p=f?a:d?a[g]:(a[g]||{}).prototype,A=f?N:N[g]||(N[g]={}),C=A.prototype;for(i in e)n=!D(f?i:g+(d?".":"#")+i,t.forced)&&p&&b(p,i),s=A[i],n&&(c=t.noTargetGet?(u=W(p,i))&&u.value:p[i]),o=n&&c?c:e[i],n&&typeof s===typeof o||(l=t.bind&&n?F(o,a):t.wrap&&n?Y(o):h&&"function"==typeof o?F(Function.call,o):o,(t.sham||o&&o.sham||s&&s.sham)&&G(l,"sham",!0),A[i]=l,h&&(b(N,r=g+"Prototype")||G(N,r,{}),N[r][i]=o,t.real&&C&&!C[i]&&G(C,i,o)))},U=[].slice,X={},Z=function(t,e,n){if(!(e in X)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";X[e]=Function("C,a","return new C("+r.join(",")+")")}return X[e](t,n)},q=Function.bind||function(t){var e=L(this),n=U.call(arguments,1),r=function(){var i=n.concat(U.call(arguments));return this instanceof r?Z(e,i.length,i):e.apply(t,i)};return I(e.prototype)&&(r.prototype=e.prototype),r};H({target:"Function",proto:!0},{bind:q});var K=function(t){return N[t+"Prototype"]},Q=K("Function").bind,J=Function.prototype,$=function(t){var e=t.bind;return t===J||t instanceof Function&&e===J.bind?Q:e},tt=Math.ceil,et=Math.floor,nt=function(t){return isNaN(t=+t)?0:(t>0?et:tt)(t)},rt=Math.min,it=function(t){return t>0?rt(nt(t),9007199254740991):0},ot=Math.max,at=Math.min,st=function(t,e){var n=nt(t);return n<0?ot(n+e,0):at(n,e)},ct=function(t){return function(e,n,r){var i,o=v(e),a=it(o.length),s=st(r,a);if(t&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},lt={includes:ct(!0),indexOf:ct(!1)},ut={},gt=lt.indexOf,ft=function(t,e){var n,r=v(t),i=0,o=[];for(n in r)!b(ut,n)&&b(r,n)&&o.push(n);for(;e.length>i;)b(r,n=e[i++])&&(~gt(o,n)||o.push(n));return o},dt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ht=Object.keys||function(t){return ft(t,dt)},pt={f:Object.getOwnPropertySymbols},At=function(t){return Object(C(t))},Ct=Object.assign,vt=Object.defineProperty,It=!Ct||s((function(){if(c&&1!==Ct({b:1},Ct(vt({},"a",{enumerable:!0,get:function(){vt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Ct({},t)[n]||ht(Ct({},e)).join("")!=r}))?function(t,e){for(var n=At(t),r=arguments.length,i=1,o=pt.f,a=g.f;r>i;)for(var s,l=A(arguments[i++]),u=o?ht(l).concat(o(l)):ht(l),f=u.length,d=0;f>d;)s=u[d++],c&&!a.call(l,s)||(n[s]=l[s]);return n}:Ct;H({target:"Object",stat:!0,forced:Object.assign!==It},{assign:It});var yt=N.Object.assign;function mt(t,e,n,r){t.beginPath(),t.arc(e,n,r,0,2*Math.PI,!1),t.closePath()}function bt(t,e,n,r,i,o){var a=Math.PI/180;r-2*o<0&&(o=r/2),i-2*o<0&&(o=i/2),t.beginPath(),t.moveTo(e+o,n),t.lineTo(e+r-o,n),t.arc(e+r-o,n+o,o,270*a,360*a,!1),t.lineTo(e+r,n+i-o),t.arc(e+r-o,n+i-o,o,0,90*a,!1),t.lineTo(e+o,n+i),t.arc(e+o,n+i-o,o,90*a,180*a,!1),t.lineTo(e,n+o),t.arc(e+o,n+o,o,180*a,270*a,!1),t.closePath()}function xt(t,e,n,r,i){var o=.5522848,a=r/2*o,s=i/2*o,c=e+r,l=n+i,u=e+r/2,g=n+i/2;t.beginPath(),t.moveTo(e,g),t.bezierCurveTo(e,g-s,u-a,n,u,n),t.bezierCurveTo(u+a,n,c,g-s,c,g),t.bezierCurveTo(c,g+s,u+a,l,u,l),t.bezierCurveTo(u-a,l,e,g+s,e,g),t.closePath()}function wt(t,e,n,r,i){var o=i*(1/3),a=.5522848,s=r/2*a,c=o/2*a,l=e+r,u=n+o,g=e+r/2,f=n+o/2,d=n+(i-o/2),h=n+i;t.beginPath(),t.moveTo(l,f),t.bezierCurveTo(l,f+c,g+s,u,g,u),t.bezierCurveTo(g-s,u,e,f+c,e,f),t.bezierCurveTo(e,f-c,g-s,n,g,n),t.bezierCurveTo(g+s,n,l,f-c,l,f),t.lineTo(l,d),t.bezierCurveTo(l,d+c,g+s,h,g,h),t.bezierCurveTo(g-s,h,e,d+c,e,d),t.lineTo(e,f)}function Ot(t,e,n,r,i,o){t.beginPath(),t.moveTo(e,n);for(var a=o.length,s=r-e,c=i-n,l=c/s,u=Math.sqrt(s*s+c*c),g=0,f=!0,d=0,h=+o[0];u>=.1;)(h=+o[g++%a])>u&&(h=u),d=Math.sqrt(h*h/(1+l*l)),e+=d=s<0?-d:d,n+=l*d,!0===f?t.lineTo(e,n):t.moveTo(e,n),u-=h,f=!f}var St={circle:mt,dashedLine:Ot,database:wt,diamond:function(t,e,n,r){t.beginPath(),t.lineTo(e,n+r),t.lineTo(e+r,n),t.lineTo(e,n-r),t.lineTo(e-r,n),t.closePath()},ellipse:xt,ellipse_vis:xt,hexagon:function(t,e,n,r){t.beginPath();var i=2*Math.PI/6;t.moveTo(e+r,n);for(var o=1;o<6;o++)t.lineTo(e+r*Math.cos(i*o),n+r*Math.sin(i*o));t.closePath()},roundRect:bt,square:function(t,e,n,r){t.beginPath(),t.rect(e-r,n-r,2*r,2*r),t.closePath()},star:function(t,e,n,r){t.beginPath(),n+=.1*(r*=.82);for(var i=0;i<10;i++){var o=i%2===0?1.3*r:.5*r;t.lineTo(e+o*Math.sin(2*i*Math.PI/10),n-o*Math.cos(2*i*Math.PI/10))}t.closePath()},triangle:function(t,e,n,r){t.beginPath(),n+=.275*(r*=1.15);var i=2*r,o=i/2,a=Math.sqrt(3)/6*i,s=Math.sqrt(i*i-o*o);t.moveTo(e,n-(s-a)),t.lineTo(e+o,n+a),t.lineTo(e-o,n+a),t.lineTo(e,n-(s-a)),t.closePath()},triangleDown:function(t,e,n,r){t.beginPath(),n-=.275*(r*=1.15);var i=2*r,o=i/2,a=Math.sqrt(3)/6*i,s=Math.sqrt(i*i-o*o);t.moveTo(e,n+(s-a)),t.lineTo(e+o,n-a),t.lineTo(e-o,n-a),t.lineTo(e,n+(s-a)),t.closePath()}};function _t(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!==typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}_t(".vis-overlay {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n\n /* Must be displayed above for example selected Timeline items */\n z-index: 10;\n}\n\n.vis-active {\n box-shadow: 0 0 10px #86d5f8;\n}\n");_t('/* override some bootstrap styles screwing up the timelines css */\n\n.vis [class*="span"] {\n min-height: 0;\n width: auto;\n}\n');_t("div.vis-color-picker {\n position: absolute;\n top: 0px;\n left: 30px;\n margin-top: -140px;\n margin-left: 30px;\n width: 310px;\n height: 444px;\n z-index: 1;\n padding: 10px;\n border-radius: 15px;\n background-color: #ffffff;\n display: none;\n box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 0px;\n}\n\ndiv.vis-color-picker div.vis-arrow {\n position: absolute;\n top: 147px;\n left: 5px;\n}\n\ndiv.vis-color-picker div.vis-arrow::after,\ndiv.vis-color-picker div.vis-arrow::before {\n right: 100%;\n top: 50%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\ndiv.vis-color-picker div.vis-arrow:after {\n border-color: rgba(255, 255, 255, 0);\n border-right-color: #ffffff;\n border-width: 30px;\n margin-top: -30px;\n}\n\ndiv.vis-color-picker div.vis-color {\n position: absolute;\n width: 289px;\n height: 289px;\n cursor: pointer;\n}\n\ndiv.vis-color-picker div.vis-brightness {\n position: absolute;\n top: 313px;\n}\n\ndiv.vis-color-picker div.vis-opacity {\n position: absolute;\n top: 350px;\n}\n\ndiv.vis-color-picker div.vis-selector {\n position: absolute;\n top: 137px;\n left: 137px;\n width: 15px;\n height: 15px;\n border-radius: 15px;\n border: 1px solid #ffffff;\n background: #4c4c4c; /* Old browsers */\n background: -moz-linear-gradient(\n top,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #4c4c4c),\n color-stop(12%, #595959),\n color-stop(25%, #666666),\n color-stop(39%, #474747),\n color-stop(50%, #2c2c2c),\n color-stop(51%, #000000),\n color-stop(60%, #111111),\n color-stop(76%, #2b2b2b),\n color-stop(91%, #1c1c1c),\n color-stop(100%, #131313)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(\n top,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* IE10+ */\n background: linear-gradient(\n to bottom,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */\n}\n\ndiv.vis-color-picker div.vis-new-color {\n position: absolute;\n width: 140px;\n height: 20px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 5px;\n top: 380px;\n left: 159px;\n text-align: right;\n padding-right: 2px;\n font-size: 10px;\n color: rgba(0, 0, 0, 0.4);\n vertical-align: middle;\n line-height: 20px;\n}\n\ndiv.vis-color-picker div.vis-initial-color {\n position: absolute;\n width: 140px;\n height: 20px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 5px;\n top: 380px;\n left: 10px;\n text-align: left;\n padding-left: 2px;\n font-size: 10px;\n color: rgba(0, 0, 0, 0.4);\n vertical-align: middle;\n line-height: 20px;\n}\n\ndiv.vis-color-picker div.vis-label {\n position: absolute;\n width: 300px;\n left: 10px;\n}\n\ndiv.vis-color-picker div.vis-label.vis-brightness {\n top: 300px;\n}\n\ndiv.vis-color-picker div.vis-label.vis-opacity {\n top: 338px;\n}\n\ndiv.vis-color-picker div.vis-button {\n position: absolute;\n width: 68px;\n height: 25px;\n border-radius: 10px;\n vertical-align: middle;\n text-align: center;\n line-height: 25px;\n top: 410px;\n border: 2px solid #d9d9d9;\n background-color: #f7f7f7;\n cursor: pointer;\n}\n\ndiv.vis-color-picker div.vis-button.vis-cancel {\n /*border:2px solid #ff4e33;*/\n /*background-color: #ff7761;*/\n left: 5px;\n}\ndiv.vis-color-picker div.vis-button.vis-load {\n /*border:2px solid #a153e6;*/\n /*background-color: #cb8dff;*/\n left: 82px;\n}\ndiv.vis-color-picker div.vis-button.vis-apply {\n /*border:2px solid #4588e6;*/\n /*background-color: #82b6ff;*/\n left: 159px;\n}\ndiv.vis-color-picker div.vis-button.vis-save {\n /*border:2px solid #45e655;*/\n /*background-color: #6dff7c;*/\n left: 236px;\n}\n\ndiv.vis-color-picker input.vis-range {\n width: 290px;\n height: 20px;\n}\n\n/* TODO: is this redundant?\ndiv.vis-color-picker input.vis-range-brightness {\n width: 289px !important;\n}\n\n\ndiv.vis-color-picker input.vis-saturation-range {\n width: 289px !important;\n}*/\n");_t("div.vis-configuration {\n position: relative;\n display: block;\n float: left;\n font-size: 12px;\n}\n\ndiv.vis-configuration-wrapper {\n display: block;\n width: 700px;\n}\n\ndiv.vis-configuration-wrapper::after {\n clear: both;\n content: \"\";\n display: block;\n}\n\ndiv.vis-configuration.vis-config-option-container {\n display: block;\n width: 495px;\n background-color: #ffffff;\n border: 2px solid #f7f8fa;\n border-radius: 4px;\n margin-top: 20px;\n left: 10px;\n padding-left: 5px;\n}\n\ndiv.vis-configuration.vis-config-button {\n display: block;\n width: 495px;\n height: 25px;\n vertical-align: middle;\n line-height: 25px;\n background-color: #f7f8fa;\n border: 2px solid #ceced0;\n border-radius: 4px;\n margin-top: 20px;\n left: 10px;\n padding-left: 5px;\n cursor: pointer;\n margin-bottom: 30px;\n}\n\ndiv.vis-configuration.vis-config-button.hover {\n background-color: #4588e6;\n border: 2px solid #214373;\n color: #ffffff;\n}\n\ndiv.vis-configuration.vis-config-item {\n display: block;\n float: left;\n width: 495px;\n height: 25px;\n vertical-align: middle;\n line-height: 25px;\n}\n\ndiv.vis-configuration.vis-config-item.vis-config-s2 {\n left: 10px;\n background-color: #f7f8fa;\n padding-left: 5px;\n border-radius: 3px;\n}\ndiv.vis-configuration.vis-config-item.vis-config-s3 {\n left: 20px;\n background-color: #e4e9f0;\n padding-left: 5px;\n border-radius: 3px;\n}\ndiv.vis-configuration.vis-config-item.vis-config-s4 {\n left: 30px;\n background-color: #cfd8e6;\n padding-left: 5px;\n border-radius: 3px;\n}\n\ndiv.vis-configuration.vis-config-header {\n font-size: 18px;\n font-weight: bold;\n}\n\ndiv.vis-configuration.vis-config-label {\n width: 120px;\n height: 25px;\n line-height: 25px;\n}\n\ndiv.vis-configuration.vis-config-label.vis-config-s3 {\n width: 110px;\n}\ndiv.vis-configuration.vis-config-label.vis-config-s4 {\n width: 100px;\n}\n\ndiv.vis-configuration.vis-config-colorBlock {\n top: 1px;\n width: 30px;\n height: 19px;\n border: 1px solid #444444;\n border-radius: 2px;\n padding: 0px;\n margin: 0px;\n cursor: pointer;\n}\n\ninput.vis-configuration.vis-config-checkbox {\n left: -5px;\n}\n\ninput.vis-configuration.vis-config-rangeinput {\n position: relative;\n top: -5px;\n width: 60px;\n /*height:13px;*/\n padding: 1px;\n margin: 0;\n pointer-events: none;\n}\n\ninput.vis-configuration.vis-config-range {\n /*removes default webkit styles*/\n -webkit-appearance: none;\n\n /*fix for FF unable to apply focus style bug */\n border: 0px solid white;\n background-color: rgba(0, 0, 0, 0);\n\n /*required for proper track sizing in FF*/\n width: 300px;\n height: 20px;\n}\ninput.vis-configuration.vis-config-range::-webkit-slider-runnable-track {\n width: 300px;\n height: 5px;\n background: #dedede; /* Old browsers */\n background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #dedede),\n color-stop(99%, #c8c8c8)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #dedede 0%,\n #c8c8c8 99%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #dedede 0%,\n #c8c8c8 99%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* IE10+ */\n background: linear-gradient(to bottom, #dedede 0%, #c8c8c8 99%); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */\n\n border: 1px solid #999999;\n box-shadow: #aaaaaa 0px 0px 3px 0px;\n border-radius: 3px;\n}\ninput.vis-configuration.vis-config-range::-webkit-slider-thumb {\n -webkit-appearance: none;\n border: 1px solid #14334b;\n height: 17px;\n width: 17px;\n border-radius: 50%;\n background: #3876c2; /* Old browsers */\n background: -moz-linear-gradient(top, #3876c2 0%, #385380 100%); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #3876c2),\n color-stop(100%, #385380)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #3876c2 0%,\n #385380 100%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #3876c2 0%,\n #385380 100%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(top, #3876c2 0%, #385380 100%); /* IE10+ */\n background: linear-gradient(to bottom, #3876c2 0%, #385380 100%); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3876c2', endColorstr='#385380',GradientType=0 ); /* IE6-9 */\n box-shadow: #111927 0px 0px 1px 0px;\n margin-top: -7px;\n}\ninput.vis-configuration.vis-config-range:focus {\n outline: none;\n}\ninput.vis-configuration.vis-config-range:focus::-webkit-slider-runnable-track {\n background: #9d9d9d; /* Old browsers */\n background: -moz-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #9d9d9d),\n color-stop(99%, #c8c8c8)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #9d9d9d 0%,\n #c8c8c8 99%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #9d9d9d 0%,\n #c8c8c8 99%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* IE10+ */\n background: linear-gradient(to bottom, #9d9d9d 0%, #c8c8c8 99%); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d9d9d', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */\n}\n\ninput.vis-configuration.vis-config-range::-moz-range-track {\n width: 300px;\n height: 10px;\n background: #dedede; /* Old browsers */\n background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #dedede),\n color-stop(99%, #c8c8c8)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #dedede 0%,\n #c8c8c8 99%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #dedede 0%,\n #c8c8c8 99%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* IE10+ */\n background: linear-gradient(to bottom, #dedede 0%, #c8c8c8 99%); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */\n\n border: 1px solid #999999;\n box-shadow: #aaaaaa 0px 0px 3px 0px;\n border-radius: 3px;\n}\ninput.vis-configuration.vis-config-range::-moz-range-thumb {\n border: none;\n height: 16px;\n width: 16px;\n\n border-radius: 50%;\n background: #385380;\n}\n\n/*hide the outline behind the border*/\ninput.vis-configuration.vis-config-range:-moz-focusring {\n outline: 1px solid white;\n outline-offset: -1px;\n}\n\ninput.vis-configuration.vis-config-range::-ms-track {\n width: 300px;\n height: 5px;\n\n /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */\n background: transparent;\n\n /*leave room for the larger thumb to overflow with a transparent border */\n border-color: transparent;\n border-width: 6px 0;\n\n /*remove default tick marks*/\n color: transparent;\n}\ninput.vis-configuration.vis-config-range::-ms-fill-lower {\n background: #777;\n border-radius: 10px;\n}\ninput.vis-configuration.vis-config-range::-ms-fill-upper {\n background: #ddd;\n border-radius: 10px;\n}\ninput.vis-configuration.vis-config-range::-ms-thumb {\n border: none;\n height: 16px;\n width: 16px;\n border-radius: 50%;\n background: #385380;\n}\ninput.vis-configuration.vis-config-range:focus::-ms-fill-lower {\n background: #888;\n}\ninput.vis-configuration.vis-config-range:focus::-ms-fill-upper {\n background: #ccc;\n}\n\n.vis-configuration-popup {\n position: absolute;\n background: rgba(57, 76, 89, 0.85);\n border: 2px solid #f2faff;\n line-height: 30px;\n height: 30px;\n width: 150px;\n text-align: center;\n color: #ffffff;\n font-size: 14px;\n border-radius: 4px;\n -webkit-transition: opacity 0.3s ease-in-out;\n -moz-transition: opacity 0.3s ease-in-out;\n transition: opacity 0.3s ease-in-out;\n}\n.vis-configuration-popup:after,\n.vis-configuration-popup:before {\n left: 100%;\n top: 50%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.vis-configuration-popup:after {\n border-color: rgba(136, 183, 213, 0);\n border-left-color: rgba(57, 76, 89, 0.85);\n border-width: 8px;\n margin-top: -8px;\n}\n.vis-configuration-popup:before {\n border-color: rgba(194, 225, 245, 0);\n border-left-color: #f2faff;\n border-width: 12px;\n margin-top: -12px;\n}\n");_t("div.vis-tooltip {\n position: absolute;\n visibility: hidden;\n padding: 5px;\n white-space: nowrap;\n\n font-family: verdana;\n font-size: 14px;\n color: #000000;\n background-color: #f5f4ed;\n\n -moz-border-radius: 3px;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n border: 1px solid #808074;\n\n box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);\n pointer-events: none;\n\n z-index: 5;\n}\n");var kt=i((function(t){function e(t){if(t)return function(t){for(var n in e.prototype)t[n]=e.prototype[n];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<r.length;i++)if((n=r[i])===e||n.fn===e){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){r=0;for(var i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length}}));H({target:"Object",stat:!0,forced:!c,sham:!c},{defineProperty:V.f});var jt=i((function(t){var e=N.Object,n=t.exports=function(t,n,r){return e.defineProperty(t,n,r)};e.defineProperty.sham&&(n.sham=!0)})),Et=jt,Pt=c?Object.defineProperties:function(t,e){B(t);for(var n,r=ht(e),i=r.length,o=0;i>o;)V.f(t,n=r[o++],e[n]);return t};H({target:"Object",stat:!0,forced:!c,sham:!c},{defineProperties:Pt});var Mt=i((function(t){var e=N.Object,n=t.exports=function(t,n){return e.defineProperties(t,n)};e.defineProperties.sham&&(n.sham=!0)})),Tt=function(t){return"function"==typeof t?t:void 0},Rt=function(t,e){return arguments.length<2?Tt(N[t])||Tt(a[t]):N[t]&&N[t][e]||a[t]&&a[t][e]},Dt=dt.concat("length","prototype"),Nt={f:Object.getOwnPropertyNames||function(t){return ft(t,Dt)}},Lt=Rt("Reflect","ownKeys")||function(t){var e=Nt.f(B(t)),n=pt.f;return n?e.concat(n(t)):e},Ft=function(t,e,n){var r=y(e);r in t?V.f(t,r,f(0,n)):t[r]=n};H({target:"Object",stat:!0,sham:!c},{getOwnPropertyDescriptors:function(t){for(var e,n,r=v(t),i=k.f,o=Lt(r),a={},s=0;o.length>s;)void 0!==(n=i(r,e=o[s++]))&&Ft(a,e,n);return a}});var Bt=N.Object.getOwnPropertyDescriptors,zt=k.f,Vt=s((function(){zt(1)}));H({target:"Object",stat:!0,forced:!c||Vt,sham:!c},{getOwnPropertyDescriptor:function(t,e){return zt(v(t),e)}});var Gt,Wt=i((function(t){var e=N.Object,n=t.exports=function(t,n){return e.getOwnPropertyDescriptor(t,n)};e.getOwnPropertyDescriptor.sham&&(n.sham=!0)})),Yt=Wt,Ht=!!Object.getOwnPropertySymbols&&!s((function(){return!String(Symbol())})),Ut=Ht&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Xt=Array.isArray||function(t){return"Array"==h(t)},Zt=Rt("document","documentElement"),qt="__core-js_shared__",Kt=a[qt]||function(t,e){try{G(a,t,e)}catch(n){a[t]=e}return e}(qt,{}),Qt=i((function(t){(t.exports=function(t,e){return Kt[t]||(Kt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.3",mode:"pure",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})})),Jt=0,$t=Math.random(),te=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Jt+$t).toString(36)},ee=Qt("keys"),ne=function(t){return ee[t]||(ee[t]=te(t))},re=ne("IE_PROTO"),ie=function(){},oe=function(t){return"<script>"+t+"</"+"script>"},ae=function(){try{Gt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}ae=Gt?function(t){t.write(oe("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Gt):function(){var t,e=O("iframe");return e.style.display="none",Zt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(oe("document.F=Object")),t.close(),t.F}();for(var t=dt.length;t--;)delete ae.prototype[dt[t]];return ae()};ut[re]=!0;var se=Object.create||function(t,e){var n;return null!==t?(ie.prototype=B(t),n=new ie,ie.prototype=null,n[re]=t):n=ae(),void 0===e?n:Pt(n,e)},ce=Nt.f,le={}.toString,ue="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ge={f:function(t){return ue&&"[object Window]"==le.call(t)?function(t){try{return ce(t)}catch(e){return ue.slice()}}(t):ce(v(t))}},fe=function(t,e,n,r){r&&r.enumerable?t[e]=n:G(t,e,n)},de=Qt("wks"),he=a.Symbol,pe=Ut?he:he&&he.withoutSetter||te,Ae=function(t){return b(de,t)||(Ht&&b(he,t)?de[t]=he[t]:de[t]=pe("Symbol."+t)),de[t]},Ce={f:Ae},ve=V.f,Ie=function(t){var e=N.Symbol||(N.Symbol={});b(e,t)||ve(e,t,{value:Ce.f(t)})},ye={};ye[Ae("toStringTag")]="z";var me="[object z]"===String(ye),be=Ae("toStringTag"),xe="Arguments"==h(function(){return arguments}()),we=me?h:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),be))?n:xe?h(e):"Object"==(r=h(e))&&"function"==typeof e.callee?"Arguments":r},Oe=me?{}.toString:function(){return"[object "+we(this)+"]"},Se=V.f,_e=Ae("toStringTag"),ke=function(t,e,n,r){if(t){var i=n?t:t.prototype;b(i,_e)||Se(i,_e,{configurable:!0,value:e}),r&&!me&&G(i,"toString",Oe)}},je=Function.toString;"function"!=typeof Kt.inspectSource&&(Kt.inspectSource=function(t){return je.call(t)});var Ee,Pe,Me,Te=Kt.inspectSource,Re=a.WeakMap,De="function"===typeof Re&&/native code/.test(Te(Re)),Ne=a.WeakMap;if(De){var Le=Kt.state||(Kt.state=new Ne),Fe=Le.get,Be=Le.has,ze=Le.set;Ee=function(t,e){return e.facade=t,ze.call(Le,t,e),e},Pe=function(t){return Fe.call(Le,t)||{}},Me=function(t){return Be.call(Le,t)}}else{var Ve=ne("state");ut[Ve]=!0,Ee=function(t,e){return e.facade=t,G(t,Ve,e),e},Pe=function(t){return b(t,Ve)?t[Ve]:{}},Me=function(t){return b(t,Ve)}}var Ge={set:Ee,get:Pe,has:Me,enforce:function(t){return Me(t)?Pe(t):Ee(t,{})},getterFor:function(t){return function(e){var n;if(!I(e)||(n=Pe(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},We=Ae("species"),Ye=function(t,e){var n;return Xt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Xt(n.prototype)?I(n)&&null===(n=n[We])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},He=[].push,Ue=function(t){var e=1==t,n=2==t,r=3==t,i=4==t,o=6==t,a=7==t,s=5==t||o;return function(c,l,u,g){for(var f,d,h=At(c),p=A(h),C=F(l,u,3),v=it(p.length),I=0,y=g||Ye,m=e?y(c,v):n||a?y(c,0):void 0;v>I;I++)if((s||I in p)&&(d=C(f=p[I],I,h),t))if(e)m[I]=d;else if(d)switch(t){case 3:return!0;case 5:return f;case 6:return I;case 2:He.call(m,f)}else switch(t){case 4:return!1;case 7:He.call(m,f)}return o?-1:r||i?i:m}},Xe={forEach:Ue(0),map:Ue(1),filter:Ue(2),some:Ue(3),every:Ue(4),find:Ue(5),findIndex:Ue(6),filterOut:Ue(7)},Ze=Xe.forEach,qe=ne("hidden"),Ke="Symbol",Qe=Ae("toPrimitive"),Je=Ge.set,$e=Ge.getterFor(Ke),tn=Object.prototype,en=a.Symbol,nn=Rt("JSON","stringify"),rn=k.f,on=V.f,an=ge.f,sn=g.f,cn=Qt("symbols"),ln=Qt("op-symbols"),un=Qt("string-to-symbol-registry"),gn=Qt("symbol-to-string-registry"),fn=Qt("wks"),dn=a.QObject,hn=!dn||!dn.prototype||!dn.prototype.findChild,pn=c&&s((function(){return 7!=se(on({},"a",{get:function(){return on(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=rn(tn,e);r&&delete tn[e],on(t,e,n),r&&t!==tn&&on(tn,e,r)}:on,An=function(t,e){var n=cn[t]=se(en.prototype);return Je(n,{type:Ke,tag:t,description:e}),c||(n.description=e),n},Cn=Ut?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof en},vn=function(t,e,n){t===tn&&vn(ln,e,n),B(t);var r=y(e,!0);return B(n),b(cn,r)?(n.enumerable?(b(t,qe)&&t[qe][r]&&(t[qe][r]=!1),n=se(n,{enumerable:f(0,!1)})):(b(t,qe)||on(t,qe,f(1,{})),t[qe][r]=!0),pn(t,r,n)):on(t,r,n)},In=function(t,e){B(t);var n=v(e),r=ht(n).concat(xn(n));return Ze(r,(function(e){c&&!yn.call(n,e)||vn(t,e,n[e])})),t},yn=function(t){var e=y(t,!0),n=sn.call(this,e);return!(this===tn&&b(cn,e)&&!b(ln,e))&&(!(n||!b(this,e)||!b(cn,e)||b(this,qe)&&this[qe][e])||n)},mn=function(t,e){var n=v(t),r=y(e,!0);if(n!==tn||!b(cn,r)||b(ln,r)){var i=rn(n,r);return!i||!b(cn,r)||b(n,qe)&&n[qe][r]||(i.enumerable=!0),i}},bn=function(t){var e=an(v(t)),n=[];return Ze(e,(function(t){b(cn,t)||b(ut,t)||n.push(t)})),n},xn=function(t){var e=t===tn,n=an(e?ln:v(t)),r=[];return Ze(n,(function(t){!b(cn,t)||e&&!b(tn,t)||r.push(cn[t])})),r};if(Ht||(fe((en=function(){if(this instanceof en)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=te(t),n=function t(n){this===tn&&t.call(ln,n),b(this,qe)&&b(this[qe],e)&&(this[qe][e]=!1),pn(this,e,f(1,n))};return c&&hn&&pn(tn,e,{configurable:!0,set:n}),An(e,t)}).prototype,"toString",(function(){return $e(this).tag})),fe(en,"withoutSetter",(function(t){return An(te(t),t)})),g.f=yn,V.f=vn,k.f=mn,Nt.f=ge.f=bn,pt.f=xn,Ce.f=function(t){return An(Ae(t),t)},c&&on(en.prototype,"description",{configurable:!0,get:function(){return $e(this).description}})),H({global:!0,wrap:!0,forced:!Ht,sham:!Ht},{Symbol:en}),Ze(ht(fn),(function(t){Ie(t)})),H({target:Ke,stat:!0,forced:!Ht},{for:function(t){var e=String(t);if(b(un,e))return un[e];var n=en(e);return un[e]=n,gn[n]=e,n},keyFor:function(t){if(!Cn(t))throw TypeError(t+" is not a symbol");if(b(gn,t))return gn[t]},useSetter:function(){hn=!0},useSimple:function(){hn=!1}}),H({target:"Object",stat:!0,forced:!Ht,sham:!c},{create:function(t,e){return void 0===e?se(t):In(se(t),e)},defineProperty:vn,defineProperties:In,getOwnPropertyDescriptor:mn}),H({target:"Object",stat:!0,forced:!Ht},{getOwnPropertyNames:bn,getOwnPropertySymbols:xn}),H({target:"Object",stat:!0,forced:s((function(){pt.f(1)}))},{getOwnPropertySymbols:function(t){return pt.f(At(t))}}),nn){var wn=!Ht||s((function(){var t=en();return"[null]"!=nn([t])||"{}"!=nn({a:t})||"{}"!=nn(Object(t))}));H({target:"JSON",stat:!0,forced:wn},{stringify:function(t,e,n){for(var r,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=e,(I(e)||void 0!==t)&&!Cn(t))return Xt(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Cn(e))return e}),i[1]=e,nn.apply(null,i)}})}en.prototype[Qe]||G(en.prototype,Qe,en.prototype.valueOf),ke(en,Ke),ut[qe]=!0;var On,Sn,_n,kn=N.Object.getOwnPropertySymbols,jn={},En=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Pn=ne("IE_PROTO"),Mn=Object.prototype,Tn=En?Object.getPrototypeOf:function(t){return t=At(t),b(t,Pn)?t[Pn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Mn:null},Rn=Ae("iterator"),Dn=!1;[].keys&&("next"in(_n=[].keys())?(Sn=Tn(Tn(_n)))!==Object.prototype&&(On=Sn):Dn=!0);var Nn=void 0==On||s((function(){var t={};return On[Rn].call(t)!==t}));Nn&&(On={}),Nn&&!b(On,Rn)&&G(On,Rn,(function(){return this}));var Ln={IteratorPrototype:On,BUGGY_SAFARI_ITERATORS:Dn},Fn=Ln.IteratorPrototype,Bn=function(){return this},zn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(r){}return function(n,r){return B(n),function(t){if(!I(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),Vn=Ln.IteratorPrototype,Gn=Ln.BUGGY_SAFARI_ITERATORS,Wn=Ae("iterator"),Yn="keys",Hn="values",Un="entries",Xn=function(){return this},Zn=function(t,e,n,r,i,o,a){!function(t,e,n){var r=e+" Iterator";t.prototype=se(Fn,{next:f(1,n)}),ke(t,r,!1,!0),jn[r]=Bn}(n,e,r);var s,c,l,u=function(t){if(t===i&&A)return A;if(!Gn&&t in h)return h[t];switch(t){case Yn:case Hn:case Un:return function(){return new n(this,t)}}return function(){return new n(this)}},g=e+" Iterator",d=!1,h=t.prototype,p=h[Wn]||h["@@iterator"]||i&&h[i],A=!Gn&&p||u(i),C="Array"==e&&h.entries||p;if(C&&(s=Tn(C.call(new t)),Vn!==Object.prototype&&s.next&&(ke(s,g,!0,!0),jn[g]=Xn)),i==Hn&&p&&p.name!==Hn&&(d=!0,A=function(){return p.call(this)}),a&&h[Wn]!==A&&G(h,Wn,A),jn[e]=A,i)if(c={values:u(Hn),keys:o?A:u(Yn),entries:u(Un)},a)for(l in c)(Gn||d||!(l in h))&&fe(h,l,c[l]);else H({target:e,proto:!0,forced:Gn||d},c);return c},qn="Array Iterator",Kn=Ge.set,Qn=Ge.getterFor(qn);Zn(Array,"Array",(function(t,e){Kn(this,{type:qn,target:v(t),index:0,kind:e})}),(function(){var t=Qn(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),jn.Arguments=jn.Array;var Jn=Ae("toStringTag");for(var $n in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var tr=a[$n],er=tr&&tr.prototype;er&&we(er)!==Jn&&G(er,Jn,$n),jn[$n]=jn.Array}var nr=function(t){return function(e,n){var r,i,o=String(C(e)),a=nt(n),s=o.length;return a<0||a>=s?t?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?t?o.charAt(a):r:t?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},rr={codeAt:nr(!1),charAt:nr(!0)}.charAt,ir="String Iterator",or=Ge.set,ar=Ge.getterFor(ir);Zn(String,"String",(function(t){or(this,{type:ir,string:String(t),index:0})}),(function(){var t,e=ar(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=rr(n,r),e.index+=t.length,{value:t,done:!1})}));var sr=Ae("iterator"),cr=function(t){if(void 0!=t)return t[sr]||t["@@iterator"]||jn[we(t)]},lr=function(t){var e=cr(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return B(e.call(t))},ur=cr,gr=function(t){var e=t.return;if(void 0!==e)return B(e.call(t)).value},fr=function(t,e,n,r){try{return r?e(B(n)[0],n[1]):e(n)}catch(i){throw gr(t),i}},dr=Ae("iterator"),hr=Array.prototype,pr=function(t){return void 0!==t&&(jn.Array===t||hr[dr]===t)},Ar=Ae("iterator"),Cr=!1;try{var vr=0,Ir={next:function(){return{done:!!vr++}},return:function(){Cr=!0}};Ir[Ar]=function(){return this},Array.from(Ir,(function(){throw 2}))}catch(rp){}var yr=!function(t,e){if(!e&&!Cr)return!1;var n=!1;try{var r={};r[Ar]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(rp){}return n}((function(t){Array.from(t)}));H({target:"Array",stat:!0,forced:yr},{from:function(t){var e,n,r,i,o,a,s=At(t),c="function"==typeof this?this:Array,l=arguments.length,u=l>1?arguments[1]:void 0,g=void 0!==u,f=cr(s),d=0;if(g&&(u=F(u,l>2?arguments[2]:void 0,2)),void 0==f||c==Array&&pr(f))for(n=new c(e=it(s.length));e>d;d++)a=g?u(s[d],d):s[d],Ft(n,d,a);else for(o=(i=f.call(s)).next,n=new c;!(r=o.call(i)).done;d++)a=g?fr(i,u,[r.value,d],!0):r.value,Ft(n,d,a);return n.length=d,n}});var mr=N.Array.from,br=mr;H({target:"Array",proto:!0},{fill:function(t){for(var e=At(this),n=it(e.length),r=arguments.length,i=st(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,a=void 0===o?n:st(o,n);a>i;)e[i++]=t;return e}});var xr=K("Array").fill,wr=Array.prototype,Or=function(t){var e=t.fill;return t===wr||t instanceof Array&&e===wr.fill?xr:e},Sr=Rt("navigator","userAgent")||"",_r=[].slice,kr=/MSIE .\./.test(Sr),jr=function(t){return function(e,n){var r=arguments.length>2,i=r?_r.call(arguments,2):void 0;return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};H({global:!0,bind:!0,forced:kr},{setTimeout:jr(a.setTimeout),setInterval:jr(a.setInterval)});var Er=N.setTimeout,Pr=Rt("JSON","stringify"),Mr=/[\uD800-\uDFFF]/g,Tr=/^[\uD800-\uDBFF]$/,Rr=/^[\uDC00-\uDFFF]$/,Dr=function(t,e,n){var r=n.charAt(e-1),i=n.charAt(e+1);return Tr.test(t)&&!Rr.test(i)||Rr.test(t)&&!Tr.test(r)?"\\u"+t.charCodeAt(0).toString(16):t},Nr=s((function(){return'"\\udf06\\ud834"'!==Pr("\udf06\ud834")||'"\\udead"'!==Pr("\udead")}));Pr&&H({target:"JSON",stat:!0,forced:Nr},{stringify:function(t,e,n){var r=Pr.apply(null,arguments);return"string"==typeof r?r.replace(Mr,Dr):r}}),N.JSON||(N.JSON={stringify:JSON.stringify});var Lr=function(t,e,n){return N.JSON.stringify.apply(null,arguments)};var Fr=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Br=jt;function zr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Br(t,r.key,r)}}var Vr=function(t,e,n){return e&&zr(t.prototype,e),n&&zr(t,n),t};H({target:"Object",stat:!0,sham:!c},{create:se});var Gr=N.Object,Wr=function(t,e){return Gr.create(t,e)},Yr=Wr;var Hr,Ur=function(t,e,n){return e in t?Br(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Xr="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff",Zr="["+Xr+"]",qr=RegExp("^"+Zr+Zr+"*"),Kr=RegExp(Zr+Zr+"*$"),Qr=function(t){return function(e){var n=String(C(e));return 1&t&&(n=n.replace(qr,"")),2&t&&(n=n.replace(Kr,"")),n}},Jr={start:Qr(1),end:Qr(2),trim:Qr(3)},$r=Jr.trim;H({target:"String",proto:!0,forced:(Hr="trim",s((function(){return!!Xr[Hr]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[Hr]()||Xr[Hr].name!==Hr})))},{trim:function(){return $r(this)}}),K("String").trim;var ti=function(t,e){var n=[][t];return!!n&&s((function(){n.call(null,e||function(){throw 1},1)}))},ei=Object.defineProperty,ni={},ri=function(t){throw t},ii=function(t,e){if(b(ni,t))return ni[t];e||(e={});var n=[][t],r=!!b(e,"ACCESSORS")&&e.ACCESSORS,i=b(e,0)?e[0]:ri,o=b(e,1)?e[1]:void 0;return ni[t]=!!n&&!s((function(){if(r&&!c)return!0;var t={length:-1};r?ei(t,1,{enumerable:!0,get:ri}):t[1]=1,n.call(t,i,o)}))},oi=lt.indexOf,ai=[].indexOf,si=!!ai&&1/[1].indexOf(1,-0)<0,ci=ti("indexOf"),li=ii("indexOf",{ACCESSORS:!0,1:0});H({target:"Array",proto:!0,forced:si||!ci||!li},{indexOf:function(t){return si?ai.apply(this,arguments)||0:oi(this,t,arguments.length>1?arguments[1]:void 0)}});var ui=K("Array").indexOf,gi=Array.prototype,fi=function(t){var e=t.indexOf;return t===gi||t instanceof Array&&e===gi.indexOf?ui:e},di=Jr.trim,hi=a.parseInt,pi=/^[+-]?0[Xx]/,Ai=8!==hi(Xr+"08")||22!==hi(Xr+"0x16")?function(t,e){var n=di(String(t));return hi(n,e>>>0||(pi.test(n)?16:10))}:hi;H({global:!0,forced:parseInt!=Ai},{parseInt:Ai});var Ci=N.parseInt,vi=g.f,Ii=function(t){return function(e){for(var n,r=v(e),i=ht(r),o=i.length,a=0,s=[];o>a;)n=i[a++],c&&!vi.call(r,n)||s.push(t?[n,r[n]]:r[n]);return s}},yi={entries:Ii(!0),values:Ii(!1)}.values;H({target:"Object",stat:!0},{values:function(t){return yi(t)}}),N.Object.values;var mi,bi,xi=a.process,wi=xi&&xi.versions,Oi=wi&&wi.v8;Oi?bi=(mi=Oi.split("."))[0]+mi[1]:Sr&&(!(mi=Sr.match(/Edge\/(\d+)/))||mi[1]>=74)&&(mi=Sr.match(/Chrome\/(\d+)/))&&(bi=mi[1]);var Si=bi&&+bi,_i=Ae("species"),ki=function(t){return Si>=51||!s((function(){var e=[];return(e.constructor={})[_i]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ji=Xe.filter,Ei=ki("filter"),Pi=ii("filter");H({target:"Array",proto:!0,forced:!Ei||!Pi},{filter:function(t){return ji(this,t,arguments.length>1?arguments[1]:void 0)}});var Mi=K("Array").filter,Ti=Array.prototype,Ri=function(t){var e=t.filter;return t===Ti||t instanceof Array&&e===Ti.filter?Mi:e},Di=s((function(){Tn(1)}));H({target:"Object",stat:!0,forced:Di,sham:!En},{getPrototypeOf:function(t){return Tn(At(t))}});var Ni=N.Object.getPrototypeOf,Li=Ni,Fi=lt.includes,Bi=ii("indexOf",{ACCESSORS:!0,1:0});H({target:"Array",proto:!0,forced:!Bi},{includes:function(t){return Fi(this,t,arguments.length>1?arguments[1]:void 0)}});var zi=K("Array").includes,Vi=Ae("match"),Gi=function(t){if(function(t){var e;return I(t)&&(void 0!==(e=t[Vi])?!!e:"RegExp"==h(t))}(t))throw TypeError("The method doesn't accept regular expressions");return t},Wi=Ae("match");H({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Wi]=!1,"/./"[t](e)}catch(r){}}return!1}("includes")},{includes:function(t){return!!~String(C(this)).indexOf(Gi(t),arguments.length>1?arguments[1]:void 0)}});var Yi=K("String").includes,Hi=Array.prototype,Ui=String.prototype,Xi=function(t){var e=t.includes;return t===Hi||t instanceof Array&&e===Hi.includes?zi:"string"===typeof t||t===Ui||t instanceof String&&e===Ui.includes?Yi:e},Zi=ki("splice"),qi=ii("splice",{ACCESSORS:!0,0:0,1:2}),Ki=Math.max,Qi=Math.min,Ji=9007199254740991,$i="Maximum allowed length exceeded";H({target:"Array",proto:!0,forced:!Zi||!qi},{splice:function(t,e){var n,r,i,o,a,s,c=At(this),l=it(c.length),u=st(t,l),g=arguments.length;if(0===g?n=r=0:1===g?(n=0,r=l-u):(n=g-2,r=Qi(Ki(nt(e),0),l-u)),l+n-r>Ji)throw TypeError($i);for(i=Ye(c,r),o=0;o<r;o++)(a=u+o)in c&&Ft(i,o,c[a]);if(i.length=r,n<r){for(o=u;o<l-r;o++)s=o+n,(a=o+r)in c?c[s]=c[a]:delete c[s];for(o=l;o>l-r+n;o--)delete c[o-1]}else if(n>r)for(o=l-r;o>u;o--)s=o+n-1,(a=o+r-1)in c?c[s]=c[a]:delete c[s];for(o=0;o<n;o++)c[o+u]=arguments[o+2];return c.length=l-r+n,i}});var to=K("Array").splice,eo=Array.prototype,no=function(t){var e=t.splice;return t===eo||t instanceof Array&&e===eo.splice?to:e},ro=[].reverse,io=[1,2];H({target:"Array",proto:!0,forced:String(io)===String(io.reverse())},{reverse:function(){return Xt(this)&&(this.length=this.length),ro.call(this)}});var oo=K("Array").reverse,ao=Array.prototype,so=function(t){var e=t.reverse;return t===ao||t instanceof Array&&e===ao.reverse?oo:e},co=Xe.forEach,lo=ti("forEach"),uo=ii("forEach"),go=lo&&uo?[].forEach:function(t){return co(this,t,arguments.length>1?arguments[1]:void 0)};H({target:"Array",proto:!0,forced:[].forEach!=go},{forEach:go});var fo=K("Array").forEach,ho=Array.prototype,po={DOMTokenList:!0,NodeList:!0},Ao=function(t){var e=t.forEach;return t===ho||t instanceof Array&&e===ho.forEach||po.hasOwnProperty(we(t))?fo:e};H({target:"Array",stat:!0},{isArray:Xt});var Co=N.Array.isArray,vo=Co;var Io=function(t){if(vo(t))return t},yo=Ae("iterator"),mo=function(t){var e=Object(t);return void 0!==e[yo]||"@@iterator"in e||jn.hasOwnProperty(we(e))},bo=Ae("isConcatSpreadable"),xo=9007199254740991,wo="Maximum allowed index exceeded",Oo=Si>=51||!s((function(){var t=[];return t[bo]=!1,t.concat()[0]!==t})),So=ki("concat"),_o=function(t){if(!I(t))return!1;var e=t[bo];return void 0!==e?!!e:Xt(t)};H({target:"Array",proto:!0,forced:!Oo||!So},{concat:function(t){var e,n,r,i,o,a=At(this),s=Ye(a,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(_o(o=-1===e?a:arguments[e])){if(c+(i=it(o.length))>xo)throw TypeError(wo);for(n=0;n<i;n++,c++)n in o&&Ft(s,c,o[n])}else{if(c>=xo)throw TypeError(wo);Ft(s,c++,o)}return s.length=c,s}}),Ie("asyncIterator"),Ie("hasInstance"),Ie("isConcatSpreadable"),Ie("iterator"),Ie("match"),Ie("matchAll"),Ie("replace"),Ie("search"),Ie("species"),Ie("split"),Ie("toPrimitive"),Ie("toStringTag"),Ie("unscopables"),ke(a.JSON,"JSON",!0);var ko=N.Symbol;Ie("asyncDispose"),Ie("dispose"),Ie("observable"),Ie("patternMatch"),Ie("replaceAll");var jo=ko;var Eo=function(t,e){if("undefined"!==typeof jo&&mo(Object(t))){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=lr(t);!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}},Po=mr,Mo=ki("slice"),To=ii("slice",{ACCESSORS:!0,0:0,1:2}),Ro=Ae("species"),Do=[].slice,No=Math.max;H({target:"Array",proto:!0,forced:!Mo||!To},{slice:function(t,e){var n,r,i,o=v(this),a=it(o.length),s=st(t,a),c=st(void 0===e?a:e,a);if(Xt(o)&&("function"!=typeof(n=o.constructor)||n!==Array&&!Xt(n.prototype)?I(n)&&null===(n=n[Ro])&&(n=void 0):n=void 0,n===Array||void 0===n))return Do.call(o,s,c);for(r=new(void 0===n?Array:n)(No(c-s,0)),i=0;s<c;s++,i++)s in o&&Ft(r,i,o[s]);return r.length=i,r}});var Lo=K("Array").slice,Fo=Array.prototype,Bo=function(t){var e=t.slice;return t===Fo||t instanceof Array&&e===Fo.slice?Lo:e},zo=Bo;var Vo=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r};var Go=function(t,e){var n;if(t){if("string"===typeof t)return Vo(t,e);var r=zo(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Po(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vo(t,e):void 0}};var Wo=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")};var Yo=function(t,e){return Io(t)||Eo(t,e)||Go(t,e)||Wo()};H({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});var Ho=N.Date.now,Uo=s((function(){ht(1)}));H({target:"Object",stat:!0,forced:Uo},{keys:function(t){return ht(At(t))}});var Xo=N.Object.keys,Zo=Xe.map,qo=ki("map"),Ko=ii("map");H({target:"Array",proto:!0,forced:!qo||!Ko},{map:function(t){return Zo(this,t,arguments.length>1?arguments[1]:void 0)}});var Qo=K("Array").map,Jo=Array.prototype,$o=function(t){var e=t.map;return t===Jo||t instanceof Array&&e===Jo.map?Qo:e},ta=Co,ea=Ce.f("iterator"),na=ea,ra=i((function(t){function e(n){return t.exports=e="function"===typeof jo&&"symbol"===typeof na?function(t){return typeof t}:function(t){return t&&"function"===typeof jo&&t.constructor===jo&&t!==jo.prototype?"symbol":typeof t},e(n)}t.exports=e}));H({target:"Reflect",stat:!0},{ownKeys:Lt});var ia=N.Reflect.ownKeys,oa=Bo;var aa=function(t){if(vo(t))return Vo(t)};var sa=function(t){if("undefined"!==typeof jo&&mo(Object(t)))return Po(t)};var ca=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")};var la=function(t){return aa(t)||sa(t)||Go(t)||ca()},ua=K("Array").concat,ga=Array.prototype,fa=function(t){var e=t.concat;return t===ga||t instanceof Array&&e===ga.concat?ua:e},da=ko;function ha(){return(ha=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function pa(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Aa(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Ca,va="function"!==typeof Object.assign?function(t){if(void 0===t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(void 0!==r&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e}:Object.assign,Ia=["","webkit","Moz","MS","ms","o"],ya="undefined"===typeof document?{style:{}}:document.createElement("div"),ma=Math.round,ba=Math.abs,xa=Date.now;function wa(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o<Ia.length;){if((r=(n=Ia[o])?n+i:e)in t)return r;o++}}Ca="undefined"===typeof window?{}:window;var Oa=wa(ya.style,"touchAction"),Sa=void 0!==Oa;var _a="compute",ka="auto",ja="manipulation",Ea="none",Pa="pan-x",Ma="pan-y",Ta=function(){if(!Sa)return!1;var t={},e=Ca.CSS&&Ca.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){return t[n]=!e||Ca.CSS.supports("touch-action",n)})),t}(),Ra="ontouchstart"in Ca,Da=void 0!==wa(Ca,"PointerEvent"),Na=Ra&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),La="touch",Fa="mouse",Ba=16,za=24,Va=["x","y"],Ga=["clientX","clientY"];function Wa(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function Ya(t,e){return"function"===typeof t?t.apply(e&&e[0]||void 0,e):t}function Ha(t,e){return t.indexOf(e)>-1}var Ua=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===_a&&(t=this.compute()),Sa&&this.manager.element.style&&Ta[t]&&(this.manager.element.style[Oa]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return Wa(this.manager.recognizers,(function(e){Ya(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(Ha(t,Ea))return Ea;var e=Ha(t,Pa),n=Ha(t,Ma);return e&&n?Ea:e||n?e?Pa:Ma:Ha(t,ja)?ja:ka}(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,i=Ha(r,Ea)&&!Ta.none,o=Ha(r,Ma)&&!Ta["pan-y"],a=Ha(r,Pa)&&!Ta["pan-x"];if(i){var s=1===t.pointers.length,c=t.distance<2,l=t.deltaTime<250;if(s&&c&&l)return}if(!a||!o)return i||o&&6&n||a&&n&za?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function Xa(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function Za(t){var e=t.length;if(1===e)return{x:ma(t[0].clientX),y:ma(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:ma(n/e),y:ma(r/e)}}function qa(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:ma(t.pointers[n].clientX),clientY:ma(t.pointers[n].clientY)},n++;return{timeStamp:xa(),pointers:e,center:Za(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Ka(t,e,n){n||(n=Va);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function Qa(t,e,n){n||(n=Va);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}function Ja(t,e){return t===e?1:ba(t)>=ba(e)?t<0?2:4:e<0?8:Ba}function $a(t,e,n){return{x:e/t||0,y:n/t||0}}function ts(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=qa(e)),i>1&&!n.firstMultiple?n.firstMultiple=qa(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,c=e.center=Za(r);e.timeStamp=xa(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=Qa(s,c),e.distance=Ka(s,c),function(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};1!==e.eventType&&4!==o.eventType||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}(n,e),e.offsetDirection=Ja(e.deltaX,e.deltaY);var l,u,g=$a(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=g.x,e.overallVelocityY=g.y,e.overallVelocity=ba(g.x)>ba(g.y)?g.x:g.y,e.scale=a?(l=a.pointers,Ka((u=r)[0],u[1],Ga)/Ka(l[0],l[1],Ga)):1,e.rotation=a?function(t,e){return Qa(e[1],e[0],Ga)+Qa(t[1],t[0],Ga)}(a.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,i,o,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(8!==e.eventType&&(s>25||void 0===a.velocity)){var c=e.deltaX-a.deltaX,l=e.deltaY-a.deltaY,u=$a(s,c,l);r=u.x,i=u.y,n=ba(u.x)>ba(u.y)?u.x:u.y,o=Ja(c,l),t.lastInterval=e}else n=a.velocity,r=a.velocityX,i=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}(n,e);var f,d=t.element,h=e.srcEvent;Xa(f=h.composedPath?h.composedPath()[0]:h.path?h.path[0]:h.target,d)&&(d=f),e.target=d}function es(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,o=1&e&&r-i===0,a=12&e&&r-i===0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,ts(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function ns(t){return t.trim().split(/\s+/g)}function rs(t,e,n){Wa(ns(e),(function(e){t.addEventListener(e,n,!1)}))}function is(t,e,n){Wa(ns(e),(function(e){t.removeEventListener(e,n,!1)}))}function os(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var as=function(){function t(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){Ya(t.options.enable,[t])&&n.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&rs(this.element,this.evEl,this.domHandler),this.evTarget&&rs(this.target,this.evTarget,this.domHandler),this.evWin&&rs(os(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&is(this.element,this.evEl,this.domHandler),this.evTarget&&is(this.target,this.evTarget,this.domHandler),this.evWin&&is(os(this.element),this.evWin,this.domHandler)},t}();function ss(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}var cs={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},ls={2:La,3:"pen",4:Fa,5:"kinect"},us="pointerdown",gs="pointermove pointerup pointercancel";Ca.MSPointerEvent&&!Ca.PointerEvent&&(us="MSPointerDown",gs="MSPointerMove MSPointerUp MSPointerCancel");var fs=function(t){function e(){var n,r=e.prototype;return r.evEl=us,r.evWin=gs,(n=t.apply(this,arguments)||this).store=n.manager.session.pointerEvents=[],n}return pa(e,t),e.prototype.handler=function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),i=cs[r],o=ls[t.pointerType]||t.pointerType,a=o===La,s=ss(e,t.pointerId,"pointerId");1&i&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):12&i&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))},e}(as);function ds(t){return Array.prototype.slice.call(t,0)}function hs(t,e,n){for(var r=[],i=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];ss(i,a)<0&&r.push(t[o]),i[o]=a,o++}return n&&(r=e?r.sort((function(t,n){return t[e]>n[e]})):r.sort()),r}var ps={touchstart:1,touchmove:2,touchend:4,touchcancel:8},As="touchstart touchmove touchend touchcancel",Cs=function(t){function e(){var n;return e.prototype.evTarget=As,(n=t.apply(this,arguments)||this).targetIds={},n}return pa(e,t),e.prototype.handler=function(t){var e=ps[t.type],n=vs.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:La,srcEvent:t})},e}(as);function vs(t,e){var n,r,i=ds(t.touches),o=this.targetIds;if(3&e&&1===i.length)return o[i[0].identifier]=!0,[i,i];var a=ds(t.changedTouches),s=[],c=this.target;if(r=i.filter((function(t){return Xa(t.target,c)})),1===e)for(n=0;n<r.length;)o[r[n].identifier]=!0,n++;for(n=0;n<a.length;)o[a[n].identifier]&&s.push(a[n]),12&e&&delete o[a[n].identifier],n++;return s.length?[hs(r.concat(s),"identifier",!0),s]:void 0}var Is={mousedown:1,mousemove:2,mouseup:4},ys="mousedown",ms="mousemove mouseup",bs=function(t){function e(){var n,r=e.prototype;return r.evEl=ys,r.evWin=ms,(n=t.apply(this,arguments)||this).pressed=!1,n}return pa(e,t),e.prototype.handler=function(t){var e=Is[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:Fa,srcEvent:t}))},e}(as);function xs(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY},r=this.lastTouches;this.lastTouches.push(n);setTimeout((function(){var t=r.indexOf(n);t>-1&&r.splice(t,1)}),2500)}}function ws(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,xs.call(this,e)):12&t&&xs.call(this,e)}function Os(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],o=Math.abs(e-i.x),a=Math.abs(n-i.y);if(o<=25&&a<=25)return!0}return!1}var Ss=function(){return function(t){function e(e,n){var r;return(r=t.call(this,e,n)||this).handler=function(t,e,n){var i=n.pointerType===La,o=n.pointerType===Fa;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)ws.call(Aa(Aa(r)),e,n);else if(o&&Os.call(Aa(Aa(r)),n))return;r.callback(t,e,n)}},r.touch=new Cs(r.manager,r.handler),r.mouse=new bs(r.manager,r.handler),r.primaryTouch=null,r.lastTouches=[],r}return pa(e,t),e.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},e}(as)}();function _s(t,e,n){return!!Array.isArray(t)&&(Wa(t,n[e],n),!0)}var ks=32,js=1;function Es(t,e){var n=e.manager;return n?n.get(t):t}function Ps(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var Ms=function(){function t(t){void 0===t&&(t={}),this.options=ha({enable:!0},t),this.id=js++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var e=t.prototype;return e.set=function(t){return va(this.options,t),this.manager&&this.manager.touchAction.update(),this},e.recognizeWith=function(t){if(_s(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Es(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},e.dropRecognizeWith=function(t){return _s(t,"dropRecognizeWith",this)||(t=Es(t,this),delete this.simultaneous[t.id]),this},e.requireFailure=function(t){if(_s(t,"requireFailure",this))return this;var e=this.requireFail;return-1===ss(e,t=Es(t,this))&&(e.push(t),t.requireFailure(this)),this},e.dropRequireFailure=function(t){if(_s(t,"dropRequireFailure",this))return this;t=Es(t,this);var e=ss(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},e.emit=function(t){var e=this,n=this.state;function r(n){e.manager.emit(n,t)}n<8&&r(e.options.event+Ps(n)),r(e.options.event),t.additionalEvent&&r(t.additionalEvent),n>=8&&r(e.options.event+Ps(n))},e.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=ks},e.canEmit=function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},e.recognize=function(t){var e=va({},t);if(!Ya(this.options.enable,[this,e]))return this.reset(),void(this.state=ks);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},e.process=function(t){},e.getTouchAction=function(){},e.reset=function(){},t}(),Ts=function(t){function e(e){var n;return void 0===e&&(e={}),(n=t.call(this,ha({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},e))||this).pTime=!1,n.pCenter=!1,n._timer=null,n._input=null,n.count=0,n}pa(e,t);var n=e.prototype;return n.getTouchAction=function(){return[ja]},n.process=function(t){var e=this,n=this.options,r=t.pointers.length===n.pointers,i=t.distance<n.threshold,o=t.deltaTime<n.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&o&&r){if(4!==t.eventType)return this.failTimeout();var a=!this.pTime||t.timeStamp-this.pTime<n.interval,s=!this.pCenter||Ka(this.pCenter,t.center)<n.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,s&&a?this.count+=1:this.count=1,this._input=t,0===this.count%n.taps)return this.hasRequireFailures()?(this._timer=setTimeout((function(){e.state=8,e.tryEmit()}),n.interval),2):8}return ks},n.failTimeout=function(){var t=this;return this._timer=setTimeout((function(){t.state=ks}),this.options.interval),ks},n.reset=function(){clearTimeout(this._timer)},n.emit=function(){8===this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},e}(Ms),Rs=function(t){function e(e){return void 0===e&&(e={}),t.call(this,ha({pointers:1},e))||this}pa(e,t);var n=e.prototype;return n.attrTest=function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},n.process=function(t){var e=this.state,n=t.eventType,r=6&e,i=this.attrTest(t);return r&&(8&n||!i)?16|e:r||i?4&n?8|e:2&e?4|e:2:ks},e}(Ms);function Ds(t){return t===Ba?"down":8===t?"up":2===t?"left":4===t?"right":""}var Ns=function(t){function e(e){var n;return void 0===e&&(e={}),(n=t.call(this,ha({event:"pan",threshold:10,pointers:1,direction:30},e))||this).pX=null,n.pY=null,n}pa(e,t);var n=e.prototype;return n.getTouchAction=function(){var t=this.options.direction,e=[];return 6&t&&e.push(Ma),t&za&&e.push(Pa),e},n.directionTest=function(t){var e=this.options,n=!0,r=t.distance,i=t.direction,o=t.deltaX,a=t.deltaY;return i&e.direction||(6&e.direction?(i=0===o?1:o<0?2:4,n=o!==this.pX,r=Math.abs(t.deltaX)):(i=0===a?1:a<0?8:Ba,n=a!==this.pY,r=Math.abs(t.deltaY))),t.direction=i,n&&r>e.threshold&&i&e.direction},n.attrTest=function(t){return Rs.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},n.emit=function(e){this.pX=e.deltaX,this.pY=e.deltaY;var n=Ds(e.direction);n&&(e.additionalEvent=this.options.event+n),t.prototype.emit.call(this,e)},e}(Rs),Ls=function(t){function e(e){return void 0===e&&(e={}),t.call(this,ha({event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},e))||this}pa(e,t);var n=e.prototype;return n.getTouchAction=function(){return Ns.prototype.getTouchAction.call(this)},n.attrTest=function(e){var n,r=this.options.direction;return 30&r?n=e.overallVelocity:6&r?n=e.overallVelocityX:r&za&&(n=e.overallVelocityY),t.prototype.attrTest.call(this,e)&&r&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers===this.options.pointers&&ba(n)>this.options.velocity&&4&e.eventType},n.emit=function(t){var e=Ds(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)},e}(Rs),Fs=function(t){function e(e){return void 0===e&&(e={}),t.call(this,ha({event:"pinch",threshold:0,pointers:2},e))||this}pa(e,t);var n=e.prototype;return n.getTouchAction=function(){return[Ea]},n.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},n.emit=function(e){if(1!==e.scale){var n=e.scale<1?"in":"out";e.additionalEvent=this.options.event+n}t.prototype.emit.call(this,e)},e}(Rs),Bs=function(t){function e(e){return void 0===e&&(e={}),t.call(this,ha({event:"rotate",threshold:0,pointers:2},e))||this}pa(e,t);var n=e.prototype;return n.getTouchAction=function(){return[Ea]},n.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)},e}(Rs),zs=function(t){function e(e){var n;return void 0===e&&(e={}),(n=t.call(this,ha({event:"press",pointers:1,time:251,threshold:9},e))||this)._timer=null,n._input=null,n}pa(e,t);var n=e.prototype;return n.getTouchAction=function(){return[ka]},n.process=function(t){var e=this,n=this.options,r=t.pointers.length===n.pointers,i=t.distance<n.threshold,o=t.deltaTime>n.time;if(this._input=t,!i||!r||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=setTimeout((function(){e.state=8,e.tryEmit()}),n.time);else if(4&t.eventType)return 8;return ks},n.reset=function(){clearTimeout(this._timer)},n.emit=function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=xa(),this.manager.emit(this.options.event,this._input)))},e}(Ms),Vs={domEvents:!1,touchAction:_a,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Gs=[[Bs,{enable:!1}],[Fs,{enable:!1},["rotate"]],[Ls,{direction:6}],[Ns,{direction:6},["swipe"]],[Ts],[Ts,{event:"doubletap",taps:2},["tap"]],[zs]];function Ws(t,e){var n,r=t.element;r.style&&(Wa(t.options.cssProps,(function(i,o){n=wa(r.style,o),e?(t.oldCssProps[n]=r.style[n],r.style[n]=i):r.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}var Ys=function(){function t(t,e){var n,r=this;this.options=va({},Vs,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(Da?fs:Na?Cs:Ra?Ss:bs))(n,es),this.touchAction=new Ua(this,this.options.touchAction),Ws(this,!0),Wa(this.options.recognizers,(function(t){var e=r.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}var e=t.prototype;return e.set=function(t){return va(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},e.stop=function(t){this.session.stopped=t?2:1},e.recognize=function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var r=this.recognizers,i=e.curRecognizer;(!i||i&&8&i.state)&&(e.curRecognizer=null,i=null);for(var o=0;o<r.length;)n=r[o],2===e.stopped||i&&n!==i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&14&n.state&&(e.curRecognizer=n,i=n),o++}},e.get=function(t){if(t instanceof Ms)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event===t)return e[n];return null},e.add=function(t){if(_s(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},e.remove=function(t){if(_s(t,"remove",this))return this;var e=this.get(t);if(t){var n=this.recognizers,r=ss(n,e);-1!==r&&(n.splice(r,1),this.touchAction.update())}return this},e.on=function(t,e){if(void 0===t||void 0===e)return this;var n=this.handlers;return Wa(ns(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this},e.off=function(t,e){if(void 0===t)return this;var n=this.handlers;return Wa(ns(t),(function(t){e?n[t]&&n[t].splice(ss(n[t],e),1):delete n[t]})),this},e.emit=function(t,e){this.options.domEvents&&function(t,e){var n=document.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](e),r++}},e.destroy=function(){this.element&&Ws(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),Hs={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Us="touchstart",Xs="touchstart touchmove touchend touchcancel",Zs=function(t){function e(){var n,r=e.prototype;return r.evTarget=Us,r.evWin=Xs,(n=t.apply(this,arguments)||this).started=!1,n}return pa(e,t),e.prototype.handler=function(t){var e=Hs[t.type];if(1===e&&(this.started=!0),this.started){var n=qs.call(this,t,e);12&e&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:La,srcEvent:t})}},e}(as);function qs(t,e){var n=ds(t.touches),r=ds(t.changedTouches);return 12&e&&(n=hs(n.concat(r),"identifier",!0)),[n,r]}function Ks(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=window.console&&(window.console.warn||window.console.log);return i&&i.call(window.console,r,n),t.apply(this,arguments)}}var Qs=Ks((function(t,e,n){for(var r=Object.keys(e),i=0;i<r.length;)(!n||n&&void 0===t[r[i]])&&(t[r[i]]=e[r[i]]),i++;return t}),"extend","Use `assign`."),Js=Ks((function(t,e){return Qs(t,e,!0)}),"merge","Use `assign`.");function $s(t,e,n){var r,i=e.prototype;(r=t.prototype=Object.create(i)).constructor=t,r._super=i,n&&va(r,n)}function tc(t,e){return function(){return t.apply(e,arguments)}}var ec=function(){var t=function(t,e){return void 0===e&&(e={}),new Ys(t,ha({recognizers:Gs.concat()},e))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=30,t.DIRECTION_DOWN=Ba,t.DIRECTION_LEFT=2,t.DIRECTION_RIGHT=4,t.DIRECTION_UP=8,t.DIRECTION_HORIZONTAL=6,t.DIRECTION_VERTICAL=za,t.DIRECTION_NONE=1,t.DIRECTION_DOWN=Ba,t.INPUT_START=1,t.INPUT_MOVE=2,t.INPUT_END=4,t.INPUT_CANCEL=8,t.STATE_POSSIBLE=1,t.STATE_BEGAN=2,t.STATE_CHANGED=4,t.STATE_ENDED=8,t.STATE_RECOGNIZED=8,t.STATE_CANCELLED=16,t.STATE_FAILED=ks,t.Manager=Ys,t.Input=as,t.TouchAction=Ua,t.TouchInput=Cs,t.MouseInput=bs,t.PointerEventInput=fs,t.TouchMouseInput=Ss,t.SingleTouchInput=Zs,t.Recognizer=Ms,t.AttrRecognizer=Rs,t.Tap=Ts,t.Pan=Ns,t.Swipe=Ls,t.Pinch=Fs,t.Rotate=Bs,t.Press=zs,t.on=rs,t.off=is,t.each=Wa,t.merge=Js,t.extend=Qs,t.bindFn=tc,t.assign=va,t.inherit=$s,t.bindFn=tc,t.prefixed=wa,t.toArray=ds,t.inArray=ss,t.uniqueArray=hs,t.splitStr=ns,t.boolOrFn=Ya,t.hasParent=Xa,t.addEventListeners=rs,t.removeEventListeners=is,t.defaults=va({},Vs,{preset:Gs}),t}();function nc(t,e){var n;if("undefined"===typeof da||null==ur(t)){if(ta(t)||(n=function(t,e){var n;if(!t)return;if("string"===typeof t)return rc(t,e);var r=oa(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return br(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rc(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=lr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function rc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var ic=da("DELETE");function oc(){var t=ac.apply(void 0,arguments);return cc(t),t}function ac(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(e.length<2)return e[0];var r;if(e.length>2)return ac.apply(void 0,fa(r=[oc(e[0],e[1])]).call(r,la(oa(e).call(e,2))));var i,o=e[0],a=e[1],s=nc(ia(a));try{for(s.s();!(i=s.n()).done;){var c=i.value;Object.prototype.propertyIsEnumerable.call(a,c)&&(a[c]===ic?delete o[c]:null===o[c]||null===a[c]||"object"!==ra(o[c])||"object"!==ra(a[c])||ta(o[c])||ta(a[c])?o[c]=sc(a[c]):o[c]=ac(o[c],a[c]))}}catch(l){s.e(l)}finally{s.f()}return o}function sc(t){return ta(t)?$o(t).call(t,(function(t){return sc(t)})):"object"===ra(t)&&null!==t?ac({},t):t}function cc(t){for(var e=0,n=Xo(t);e<n.length;e++){var r=n[e];t[r]===ic?delete t[r]:"object"===ra(t[r])&&null!==t[r]&&cc(t[r])}}function lc(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return uc(e.length?e:[Ho()])}function uc(t){var e=function(){for(var t=gc(),e=t(" "),n=t(" "),r=t(" "),i=0;i<arguments.length;i++)(e-=t(i<0||arguments.length<=i?void 0:arguments[i]))<0&&(e+=1),(n-=t(i<0||arguments.length<=i?void 0:arguments[i]))<0&&(n+=1),(r-=t(i<0||arguments.length<=i?void 0:arguments[i]))<0&&(r+=1);return[e,n,r]}(t),n=Yo(e,3),r=n[0],i=n[1],o=n[2],a=1,s=function(){var t=2091639*r+2.3283064365386963e-10*a;return r=i,i=o,o=t-(a=0|t)};return s.uint32=function(){return 4294967296*s()},s.fract53=function(){return s()+11102230246251565e-32*(2097152*s()|0)},s.algorithm="Alea",s.seed=t,s.version="0.9",s}function gc(){var t=4022871197;return function(e){for(var n=e.toString(),r=0;r<n.length;r++){var i=.02519603282416938*(t+=n.charCodeAt(r));i-=t=i>>>0,t=(i*=t)>>>0,t+=4294967296*(i-=t)}return 2.3283064365386963e-10*(t>>>0)}}var fc="undefined"!==typeof window?window.Hammer||ec:function(){return function(){var t=function(){};return{on:t,off:t,destroy:t,emit:t,get:function(){return{set:t}}}}()};function dc(t){var e,n=this;this._cleanupQueue=[],this.active=!1,this._dom={container:t,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push((function(){n._dom.overlay.parentNode.removeChild(n._dom.overlay)}));var r=fc(this._dom.overlay);r.on("tap",$(e=this._onTapOverlay).call(e,this)),this._cleanupQueue.push((function(){r.destroy()}));var i=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];Ao(i).call(i,(function(t){r.on(t,(function(t){t.srcEvent.stopPropagation()}))})),document&&document.body&&(this._onClick=function(e){(function(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1})(e.target,t)||n.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push((function(){document.body.removeEventListener("click",n._onClick)}))),this._escListener=function(t){("key"in t?"Escape"===t.key:27===t.keyCode)&&n.deactivate()}}kt(dc.prototype),dc.current=null,dc.prototype.destroy=function(){var t,e;this.deactivate();var n,r=nc(so(t=no(e=this._cleanupQueue).call(e,0)).call(t));try{for(r.s();!(n=r.n()).done;){(0,n.value)()}}catch(i){r.e(i)}finally{r.f()}},dc.prototype.activate=function(){dc.current&&dc.current.deactivate(),dc.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},dc.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},dc.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var hc=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,pc=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Ac=/^rgb\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *\)$/i,Cc=/^rgba\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *([01]|0?\.\d+) *\)$/i;function vc(t){if(t)for(;!0===t.hasChildNodes();){var e=t.firstChild;e&&(vc(e),t.removeChild(e))}}function Ic(t){return t instanceof String||"string"===typeof t}function yc(t){return"object"===ra(t)&&null!==t}function mc(t,e,n,r){var i=!1;!0===r&&(i=null===e[n]&&void 0!==t[n]),i?delete t[n]:t[n]=e[n]}function bc(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var r in t)if(void 0!==e[r])if(null===e[r]||"object"!==ra(e[r]))mc(t,e,r,n);else{var i=t[r],o=e[r];yc(i)&&yc(o)&&bc(i,o,n)}}function xc(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(ta(n))throw new TypeError("Arrays are not supported by deepExtend");for(var i=0;i<t.length;i++){var o=t[i];if(Object.prototype.hasOwnProperty.call(n,o))if(n[o]&&n[o].constructor===Object)void 0===e[o]&&(e[o]={}),e[o].constructor===Object?Oc(e[o],n[o],!1,r):mc(e,n,o,r);else{if(ta(n[o]))throw new TypeError("Arrays are not supported by deepExtend");mc(e,n,o,r)}}return e}function wc(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(ta(n))throw new TypeError("Arrays are not supported by deepExtend");for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&!Xi(t).call(t,i))if(n[i]&&n[i].constructor===Object)void 0===e[i]&&(e[i]={}),e[i].constructor===Object?Oc(e[i],n[i]):mc(e,n,i,r);else if(ta(n[i])){e[i]=[];for(var o=0;o<n[i].length;o++)e[i].push(n[i][o])}else mc(e,n,i,r);return e}function Oc(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)||!0===n)if("object"===ra(e[i])&&null!==e[i]&&Li(e[i])===Object.prototype)void 0===t[i]?t[i]=Oc({},e[i],n):"object"===ra(t[i])&&null!==t[i]&&Li(t[i])===Object.prototype?Oc(t[i],e[i],n):mc(t,e,i,r);else if(ta(e[i])){var o;t[i]=oa(o=e[i]).call(o)}else mc(t,e,i,r);return t}function Sc(t,e){var n;return fa(n=[]).call(n,la(t),[e])}function _c(t){return oa(t).call(t)}function kc(t){return t.getBoundingClientRect().top}function jc(t,e){if(ta(t))for(var n=t.length,r=0;r<n;r++)e(t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e(t[i],i,t)}function Ec(t){var e;switch(t.length){case 3:case 4:return(e=pc.exec(t))?{r:Ci(e[1]+e[1],16),g:Ci(e[2]+e[2],16),b:Ci(e[3]+e[3],16)}:null;case 6:case 7:return(e=hc.exec(t))?{r:Ci(e[1],16),g:Ci(e[2],16),b:Ci(e[3],16)}:null;default:return null}}function Pc(t,e){if(Xi(t).call(t,"rgba"))return t;if(Xi(t).call(t,"rgb")){var n=t.substr(fi(t).call(t,"(")+1).replace(")","").split(",");return"rgba("+n[0]+","+n[1]+","+n[2]+","+e+")"}var r=Ec(t);return null==r?t:"rgba("+r.r+","+r.g+","+r.b+","+e+")"}function Mc(t,e,n){var r;return"#"+oa(r=((1<<24)+(t<<16)+(e<<8)+n).toString(16)).call(r,1)}function Tc(t,e){if(Ic(t)){var n=t;if(Fc(n)){var r,i=$o(r=n.substr(4).substr(0,n.length-5).split(",")).call(r,(function(t){return Ci(t)}));n=Mc(i[0],i[1],i[2])}if(!0===Lc(n)){var o=function(t){var e=Ec(t);if(!e)throw new TypeError("'".concat(t,"' is not a valid color."));return Rc(e.r,e.g,e.b)}(n),a={h:o.h,s:.8*o.s,v:Math.min(1,1.02*o.v)},s={h:o.h,s:Math.min(1,1.25*o.s),v:.8*o.v},c=Nc(s.h,s.s,s.v),l=Nc(a.h,a.s,a.v);return{background:n,border:c,highlight:{background:l,border:c},hover:{background:l,border:c}}}return{background:n,border:n,highlight:{background:n,border:n},hover:{background:n,border:n}}}return e?{background:t.background||e.background,border:t.border||e.border,highlight:Ic(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||e.highlight.background,border:t.highlight&&t.highlight.border||e.highlight.border},hover:Ic(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||e.hover.border,background:t.hover&&t.hover.background||e.hover.background}}:{background:t.background||void 0,border:t.border||void 0,highlight:Ic(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||void 0,border:t.highlight&&t.highlight.border||void 0},hover:Ic(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||void 0,background:t.hover&&t.hover.background||void 0}}}function Rc(t,e,n){t/=255,e/=255,n/=255;var r=Math.min(t,Math.min(e,n)),i=Math.max(t,Math.max(e,n));return r===i?{h:0,s:0,v:r}:{h:60*((t===r?3:n===r?1:5)-(t===r?e-n:n===r?t-e:n-t)/(i-r))/360,s:(i-r)/i,v:i}}function Dc(t,e,n){var r,i,o,a=Math.floor(6*t),s=6*t-a,c=n*(1-e),l=n*(1-s*e),u=n*(1-(1-s)*e);switch(a%6){case 0:r=n,i=u,o=c;break;case 1:r=l,i=n,o=c;break;case 2:r=c,i=n,o=u;break;case 3:r=c,i=l,o=n;break;case 4:r=u,i=c,o=n;break;case 5:r=n,i=c,o=l}return{r:Math.floor(255*r),g:Math.floor(255*i),b:Math.floor(255*o)}}function Nc(t,e,n){var r=Dc(t,e,n);return Mc(r.r,r.g,r.b)}function Lc(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)}function Fc(t){return Ac.test(t)}function Bc(t){return Cc.test(t)}function zc(t){if(null===t||"object"!==ra(t))return null;if(t instanceof Element)return t;var e=Yr(t);for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&"object"==ra(t[n])&&(e[n]=zc(t[n]));return e}function Vc(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return null!==t&&void 0!==t},o=function(t){return null!==t&&"object"===ra(t)},a=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0};if(!o(t))throw new Error("Parameter mergeTarget must be an object");if(!o(e))throw new Error("Parameter options must be an object");if(!i(n))throw new Error("Parameter option must have a value");if(!o(r))throw new Error("Parameter globalOptions must be an object");var s=function(t,e,n){o(t[n])||(t[n]={});var r=e[n],i=t[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=r[a])},c=e[n],l=o(r)&&!a(r),u=l?r[n]:void 0,g=u?u.enabled:void 0;if(void 0!==c){if("boolean"===typeof c)return o(t[n])||(t[n]={}),void(t[n].enabled=c);if(null===c&&!o(t[n])){if(!i(u))return;t[n]=Yr(u)}if(o(c)){var f=!0;void 0!==c.enabled?f=c.enabled:void 0!==g&&(f=u.enabled),s(t,e,n),t[n].enabled=f}}}var Gc={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:(4-2*t)*t-1},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}};function Wc(t,e){var n;ta(e)||(e=[e]);var r,i=nc(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o){n=o[e[0]];for(var a=1;a<e.length;a++)n&&(n=n[e[a]]);if("undefined"!==typeof n)break}}}catch(s){i.e(s)}finally{i.f()}return n}var Yc={black:"#000000",navy:"#000080",darkblue:"#00008B",mediumblue:"#0000CD",blue:"#0000FF",darkgreen:"#006400",green:"#008000",teal:"#008080",darkcyan:"#008B8B",deepskyblue:"#00BFFF",darkturquoise:"#00CED1",mediumspringgreen:"#00FA9A",lime:"#00FF00",springgreen:"#00FF7F",aqua:"#00FFFF",cyan:"#00FFFF",midnightblue:"#191970",dodgerblue:"#1E90FF",lightseagreen:"#20B2AA",forestgreen:"#228B22",seagreen:"#2E8B57",darkslategray:"#2F4F4F",limegreen:"#32CD32",mediumseagreen:"#3CB371",turquoise:"#40E0D0",royalblue:"#4169E1",steelblue:"#4682B4",darkslateblue:"#483D8B",mediumturquoise:"#48D1CC",indigo:"#4B0082",darkolivegreen:"#556B2F",cadetblue:"#5F9EA0",cornflowerblue:"#6495ED",mediumaquamarine:"#66CDAA",dimgray:"#696969",slateblue:"#6A5ACD",olivedrab:"#6B8E23",slategray:"#708090",lightslategray:"#778899",mediumslateblue:"#7B68EE",lawngreen:"#7CFC00",chartreuse:"#7FFF00",aquamarine:"#7FFFD4",maroon:"#800000",purple:"#800080",olive:"#808000",gray:"#808080",skyblue:"#87CEEB",lightskyblue:"#87CEFA",blueviolet:"#8A2BE2",darkred:"#8B0000",darkmagenta:"#8B008B",saddlebrown:"#8B4513",darkseagreen:"#8FBC8F",lightgreen:"#90EE90",mediumpurple:"#9370D8",darkviolet:"#9400D3",palegreen:"#98FB98",darkorchid:"#9932CC",yellowgreen:"#9ACD32",sienna:"#A0522D",brown:"#A52A2A",darkgray:"#A9A9A9",lightblue:"#ADD8E6",greenyellow:"#ADFF2F",paleturquoise:"#AFEEEE",lightsteelblue:"#B0C4DE",powderblue:"#B0E0E6",firebrick:"#B22222",darkgoldenrod:"#B8860B",mediumorchid:"#BA55D3",rosybrown:"#BC8F8F",darkkhaki:"#BDB76B",silver:"#C0C0C0",mediumvioletred:"#C71585",indianred:"#CD5C5C",peru:"#CD853F",chocolate:"#D2691E",tan:"#D2B48C",lightgrey:"#D3D3D3",palevioletred:"#D87093",thistle:"#D8BFD8",orchid:"#DA70D6",goldenrod:"#DAA520",crimson:"#DC143C",gainsboro:"#DCDCDC",plum:"#DDA0DD",burlywood:"#DEB887",lightcyan:"#E0FFFF",lavender:"#E6E6FA",darksalmon:"#E9967A",violet:"#EE82EE",palegoldenrod:"#EEE8AA",lightcoral:"#F08080",khaki:"#F0E68C",aliceblue:"#F0F8FF",honeydew:"#F0FFF0",azure:"#F0FFFF",sandybrown:"#F4A460",wheat:"#F5DEB3",beige:"#F5F5DC",whitesmoke:"#F5F5F5",mintcream:"#F5FFFA",ghostwhite:"#F8F8FF",salmon:"#FA8072",antiquewhite:"#FAEBD7",linen:"#FAF0E6",lightgoldenrodyellow:"#FAFAD2",oldlace:"#FDF5E6",red:"#FF0000",fuchsia:"#FF00FF",magenta:"#FF00FF",deeppink:"#FF1493",orangered:"#FF4500",tomato:"#FF6347",hotpink:"#FF69B4",coral:"#FF7F50",darkorange:"#FF8C00",lightsalmon:"#FFA07A",orange:"#FFA500",lightpink:"#FFB6C1",pink:"#FFC0CB",gold:"#FFD700",peachpuff:"#FFDAB9",navajowhite:"#FFDEAD",moccasin:"#FFE4B5",bisque:"#FFE4C4",mistyrose:"#FFE4E1",blanchedalmond:"#FFEBCD",papayawhip:"#FFEFD5",lavenderblush:"#FFF0F5",seashell:"#FFF5EE",cornsilk:"#FFF8DC",lemonchiffon:"#FFFACD",floralwhite:"#FFFAF0",snow:"#FFFAFA",yellow:"#FFFF00",lightyellow:"#FFFFE0",ivory:"#FFFFF0",white:"#FFFFFF"},Hc=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;Fr(this,t),this.pixelRatio=e,this.generated=!1,this.centerCoordinates={x:144.5,y:144.5},this.r=289*.49,this.color={r:255,g:255,b:255,a:1},this.hueCircle=void 0,this.initialColor={r:255,g:255,b:255,a:1},this.previousColor=void 0,this.applied=!1,this.updateCallback=function(){},this.closeCallback=function(){},this._create()}return Vr(t,[{key:"insertTo",value:function(t){void 0!==this.hammer&&(this.hammer.destroy(),this.hammer=void 0),this.container=t,this.container.appendChild(this.frame),this._bindHammer(),this._setSize()}},{key:"setUpdateCallback",value:function(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker update callback is not a function.");this.updateCallback=t}},{key:"setCloseCallback",value:function(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker closing callback is not a function.");this.closeCallback=t}},{key:"_isColorString",value:function(t){if("string"===typeof t)return Yc[t]}},{key:"setColor",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("none"!==t){var n,r=this._isColorString(t);if(void 0!==r&&(t=r),!0===Ic(t)){if(!0===Fc(t)){var i=t.substr(4).substr(0,t.length-5).split(",");n={r:i[0],g:i[1],b:i[2],a:1}}else if(!0===Bc(t)){var o=t.substr(5).substr(0,t.length-6).split(",");n={r:o[0],g:o[1],b:o[2],a:o[3]}}else if(!0===Lc(t)){var a=Ec(t);n={r:a.r,g:a.g,b:a.b,a:1}}}else if(t instanceof Object&&void 0!==t.r&&void 0!==t.g&&void 0!==t.b){var s=void 0!==t.a?t.a:"1.0";n={r:t.r,g:t.g,b:t.b,a:s}}if(void 0===n)throw new Error("Unknown color passed to the colorPicker. Supported are strings: rgb, hex, rgba. Object: rgb ({r:r,g:g,b:b,[a:a]}). Supplied: "+Lr(t));this._setColor(n,e)}}},{key:"show",value:function(){void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0),this.applied=!1,this.frame.style.display="block",this._generateHueCircle()}},{key:"_hide",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];!0===e&&(this.previousColor=yt({},this.color)),!0===this.applied&&this.updateCallback(this.initialColor),this.frame.style.display="none",Er((function(){void 0!==t.closeCallback&&(t.closeCallback(),t.closeCallback=void 0)}),0)}},{key:"_save",value:function(){this.updateCallback(this.color),this.applied=!1,this._hide()}},{key:"_apply",value:function(){this.applied=!0,this.updateCallback(this.color),this._updatePicker(this.color)}},{key:"_loadLast",value:function(){void 0!==this.previousColor?this.setColor(this.previousColor,!1):alert("There is no last color to load...")}},{key:"_setColor",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];!0===e&&(this.initialColor=yt({},t)),this.color=t;var n=Rc(t.r,t.g,t.b),r=2*Math.PI,i=this.r*n.s,o=this.centerCoordinates.x+i*Math.sin(r*n.h),a=this.centerCoordinates.y+i*Math.cos(r*n.h);this.colorPickerSelector.style.left=o-.5*this.colorPickerSelector.clientWidth+"px",this.colorPickerSelector.style.top=a-.5*this.colorPickerSelector.clientHeight+"px",this._updatePicker(t)}},{key:"_setOpacity",value:function(t){this.color.a=t/100,this._updatePicker(this.color)}},{key:"_setBrightness",value:function(t){var e=Rc(this.color.r,this.color.g,this.color.b);e.v=t/100;var n=Dc(e.h,e.s,e.v);n.a=this.color.a,this.color=n,this._updatePicker()}},{key:"_updatePicker",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.color,e=Rc(t.r,t.g,t.b),n=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(n.webkitBackingStorePixelRatio||n.mozBackingStorePixelRatio||n.msBackingStorePixelRatio||n.oBackingStorePixelRatio||n.backingStorePixelRatio||1)),n.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);var r=this.colorPickerCanvas.clientWidth,i=this.colorPickerCanvas.clientHeight;n.clearRect(0,0,r,i),n.putImageData(this.hueCircle,0,0),n.fillStyle="rgba(0,0,0,"+(1-e.v)+")",n.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),Or(n).call(n),this.brightnessRange.value=100*e.v,this.opacityRange.value=100*t.a,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}},{key:"_setSize",value:function(){this.colorPickerCanvas.style.width="100%",this.colorPickerCanvas.style.height="100%",this.colorPickerCanvas.width=289*this.pixelRatio,this.colorPickerCanvas.height=289*this.pixelRatio}},{key:"_create",value:function(){var t,e,n,r;if(this.frame=document.createElement("div"),this.frame.className="vis-color-picker",this.colorPickerDiv=document.createElement("div"),this.colorPickerSelector=document.createElement("div"),this.colorPickerSelector.className="vis-selector",this.colorPickerDiv.appendChild(this.colorPickerSelector),this.colorPickerCanvas=document.createElement("canvas"),this.colorPickerDiv.appendChild(this.colorPickerCanvas),this.colorPickerCanvas.getContext){var i=this.colorPickerCanvas.getContext("2d");this.pixelRatio=(window.devicePixelRatio||1)/(i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1),this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}else{var o=document.createElement("DIV");o.style.color="red",o.style.fontWeight="bold",o.style.padding="10px",o.innerText="Error: your browser does not support HTML canvas",this.colorPickerCanvas.appendChild(o)}this.colorPickerDiv.className="vis-color",this.opacityDiv=document.createElement("div"),this.opacityDiv.className="vis-opacity",this.brightnessDiv=document.createElement("div"),this.brightnessDiv.className="vis-brightness",this.arrowDiv=document.createElement("div"),this.arrowDiv.className="vis-arrow",this.opacityRange=document.createElement("input");try{this.opacityRange.type="range",this.opacityRange.min="0",this.opacityRange.max="100"}catch(s){}this.opacityRange.value="100",this.opacityRange.className="vis-range",this.brightnessRange=document.createElement("input");try{this.brightnessRange.type="range",this.brightnessRange.min="0",this.brightnessRange.max="100"}catch(s){}this.brightnessRange.value="100",this.brightnessRange.className="vis-range",this.opacityDiv.appendChild(this.opacityRange),this.brightnessDiv.appendChild(this.brightnessRange);var a=this;this.opacityRange.onchange=function(){a._setOpacity(this.value)},this.opacityRange.oninput=function(){a._setOpacity(this.value)},this.brightnessRange.onchange=function(){a._setBrightness(this.value)},this.brightnessRange.oninput=function(){a._setBrightness(this.value)},this.brightnessLabel=document.createElement("div"),this.brightnessLabel.className="vis-label vis-brightness",this.brightnessLabel.innerText="brightness:",this.opacityLabel=document.createElement("div"),this.opacityLabel.className="vis-label vis-opacity",this.opacityLabel.innerText="opacity:",this.newColorDiv=document.createElement("div"),this.newColorDiv.className="vis-new-color",this.newColorDiv.innerText="new",this.initialColorDiv=document.createElement("div"),this.initialColorDiv.className="vis-initial-color",this.initialColorDiv.innerText="initial",this.cancelButton=document.createElement("div"),this.cancelButton.className="vis-button vis-cancel",this.cancelButton.innerText="cancel",this.cancelButton.onclick=$(t=this._hide).call(t,this,!1),this.applyButton=document.createElement("div"),this.applyButton.className="vis-button vis-apply",this.applyButton.innerText="apply",this.applyButton.onclick=$(e=this._apply).call(e,this),this.saveButton=document.createElement("div"),this.saveButton.className="vis-button vis-save",this.saveButton.innerText="save",this.saveButton.onclick=$(n=this._save).call(n,this),this.loadButton=document.createElement("div"),this.loadButton.className="vis-button vis-load",this.loadButton.innerText="load last",this.loadButton.onclick=$(r=this._loadLast).call(r,this),this.frame.appendChild(this.colorPickerDiv),this.frame.appendChild(this.arrowDiv),this.frame.appendChild(this.brightnessLabel),this.frame.appendChild(this.brightnessDiv),this.frame.appendChild(this.opacityLabel),this.frame.appendChild(this.opacityDiv),this.frame.appendChild(this.newColorDiv),this.frame.appendChild(this.initialColorDiv),this.frame.appendChild(this.cancelButton),this.frame.appendChild(this.applyButton),this.frame.appendChild(this.saveButton),this.frame.appendChild(this.loadButton)}},{key:"_bindHammer",value:function(){var t=this;this.drag={},this.pinch={},this.hammer=new fc(this.colorPickerCanvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.on("hammer.input",(function(e){e.isFirst&&t._moveSelector(e)})),this.hammer.on("tap",(function(e){t._moveSelector(e)})),this.hammer.on("panstart",(function(e){t._moveSelector(e)})),this.hammer.on("panmove",(function(e){t._moveSelector(e)})),this.hammer.on("panend",(function(e){t._moveSelector(e)}))}},{key:"_generateHueCircle",value:function(){if(!1===this.generated){var t=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)),t.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);var e,n,r,i,o=this.colorPickerCanvas.clientWidth,a=this.colorPickerCanvas.clientHeight;t.clearRect(0,0,o,a),this.centerCoordinates={x:.5*o,y:.5*a},this.r=.49*o;var s,c=2*Math.PI/360,l=1/this.r;for(r=0;r<360;r++)for(i=0;i<this.r;i++)e=this.centerCoordinates.x+i*Math.sin(c*r),n=this.centerCoordinates.y+i*Math.cos(c*r),s=Dc(.002777777777777778*r,i*l,1),t.fillStyle="rgb("+s.r+","+s.g+","+s.b+")",t.fillRect(e-.5,n-.5,2,2);t.strokeStyle="rgba(0,0,0,1)",t.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),t.stroke(),this.hueCircle=t.getImageData(0,0,o,a)}this.generated=!0}},{key:"_moveSelector",value:function(t){var e=this.colorPickerDiv.getBoundingClientRect(),n=t.center.x-e.left,r=t.center.y-e.top,i=.5*this.colorPickerDiv.clientHeight,o=.5*this.colorPickerDiv.clientWidth,a=n-o,s=r-i,c=Math.atan2(a,s),l=.98*Math.min(Math.sqrt(a*a+s*s),o),u=Math.cos(c)*l+i,g=Math.sin(c)*l+o;this.colorPickerSelector.style.top=u-.5*this.colorPickerSelector.clientHeight+"px",this.colorPickerSelector.style.left=g-.5*this.colorPickerSelector.clientWidth+"px";var f=c/(2*Math.PI);f=f<0?f+1:f;var d=l/this.r,h=Rc(this.color.r,this.color.g,this.color.b);h.h=f,h.s=d;var p=Dc(h.h,h.s,h.v);p.a=this.color.a,this.color=p,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}}]),t}();function Uc(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(e.length<1)throw new TypeError("Invalid arguments.");if(1===e.length)return document.createTextNode(e[0]);var r=document.createElement(e[0]);return r.appendChild(Uc.apply(void 0,la(oa(e).call(e,1)))),r}var Xc,Zc=!1,qc="background: #FFeeee; color: #dd0000",Kc=dc,Qc=function(){function t(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){return!1};Fr(this,t),this.parent=e,this.changedOptions=[],this.container=n,this.allowCreation=!1,this.hideOption=o,this.options={},this.initialized=!1,this.popupCounter=0,this.defaultOptions={enabled:!1,filter:!0,container:void 0,showButton:!0},yt(this.options,this.defaultOptions),this.configureOptions=r,this.moduleOptions={},this.domElements=[],this.popupDiv={},this.popupLimit=5,this.popupHistory={},this.colorPicker=new Hc(i),this.wrapper=void 0}return Vr(t,[{key:"setOptions",value:function(t){if(void 0!==t){this.popupHistory={},this._removePopup();var e=!0;if("string"===typeof t)this.options.filter=t;else if(ta(t))this.options.filter=t.join();else if("object"===ra(t)){if(null==t)throw new TypeError("options cannot be null");void 0!==t.container&&(this.options.container=t.container),void 0!==Ri(t)&&(this.options.filter=Ri(t)),void 0!==t.showButton&&(this.options.showButton=t.showButton),void 0!==t.enabled&&(e=t.enabled)}else"boolean"===typeof t?(this.options.filter=!0,e=t):"function"===typeof t&&(this.options.filter=t,e=!0);!1===Ri(this.options)&&(e=!1),this.options.enabled=e}this._clean()}},{key:"setModuleOptions",value:function(t){this.moduleOptions=t,!0===this.options.enabled&&(this._clean(),void 0!==this.options.container&&(this.container=this.options.container),this._create())}},{key:"_create",value:function(){this._clean(),this.changedOptions=[];var t=Ri(this.options),e=0,n=!1;for(var r in this.configureOptions)Object.prototype.hasOwnProperty.call(this.configureOptions,r)&&(this.allowCreation=!1,n=!1,"function"===typeof t?n=(n=t(r,[]))||this._handleObject(this.configureOptions[r],[r],!0):!0!==t&&-1===fi(t).call(t,r)||(n=!0),!1!==n&&(this.allowCreation=!0,e>0&&this._makeItem([]),this._makeHeader(r),this._handleObject(this.configureOptions[r],[r])),e++);this._makeButton(),this._push()}},{key:"_push",value:function(){this.wrapper=document.createElement("div"),this.wrapper.className="vis-configuration-wrapper",this.container.appendChild(this.wrapper);for(var t=0;t<this.domElements.length;t++)this.wrapper.appendChild(this.domElements[t]);this._showPopupIfNeeded()}},{key:"_clean",value:function(){for(var t=0;t<this.domElements.length;t++)this.wrapper.removeChild(this.domElements[t]);void 0!==this.wrapper&&(this.container.removeChild(this.wrapper),this.wrapper=void 0),this.domElements=[],this._removePopup()}},{key:"_getValue",value:function(t){for(var e=this.moduleOptions,n=0;n<t.length;n++){if(void 0===e[t[n]]){e=void 0;break}e=e[t[n]]}return e}},{key:"_makeItem",value:function(t){if(!0===this.allowCreation){var e=document.createElement("div");e.className="vis-configuration vis-config-item vis-config-s"+t.length;for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Ao(r).call(r,(function(t){e.appendChild(t)})),this.domElements.push(e),this.domElements.length}return 0}},{key:"_makeHeader",value:function(t){var e=document.createElement("div");e.className="vis-configuration vis-config-header",e.innerText=t,this._makeItem([],e)}},{key:"_makeLabel",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=document.createElement("div");if(r.className="vis-configuration vis-config-label vis-config-s"+e.length,!0===n){for(;r.firstChild;)r.removeChild(r.firstChild);r.appendChild(Uc("i","b",t))}else r.innerText=t+":";return r}},{key:"_makeDropdown",value:function(t,e,n){var r=document.createElement("select");r.className="vis-configuration vis-config-select";var i=0;void 0!==e&&-1!==fi(t).call(t,e)&&(i=fi(t).call(t,e));for(var o=0;o<t.length;o++){var a=document.createElement("option");a.value=t[o],o===i&&(a.selected="selected"),a.innerText=t[o],r.appendChild(a)}var s=this;r.onchange=function(){s._update(this.value,n)};var c=this._makeLabel(n[n.length-1],n);this._makeItem(n,c,r)}},{key:"_makeRange",value:function(t,e,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=document.createElement("input");s.className="vis-configuration vis-config-range";try{s.type="range",s.min=i,s.max=o}catch(p){}s.step=a;var c="",l=0;if(void 0!==e){var u=1.2;e<0&&e*u<i?(s.min=Math.ceil(e*u),l=s.min,c="range increased"):e/u<i&&(s.min=Math.ceil(e/u),l=s.min,c="range increased"),e*u>o&&1!==o&&(s.max=Math.ceil(e*u),l=s.max,c="range increased"),s.value=e}else s.value=r;var g=document.createElement("input");g.className="vis-configuration vis-config-rangeinput",g.value=s.value;var f=this;s.onchange=function(){g.value=this.value,f._update(Number(this.value),n)},s.oninput=function(){g.value=this.value};var d=this._makeLabel(n[n.length-1],n),h=this._makeItem(n,d,s,g);""!==c&&this.popupHistory[h]!==l&&(this.popupHistory[h]=l,this._setupPopup(c,h))}},{key:"_makeButton",value:function(){var t=this;if(!0===this.options.showButton){var e=document.createElement("div");e.className="vis-configuration vis-config-button",e.innerText="generate options",e.onclick=function(){t._printOptions()},e.onmouseover=function(){e.className="vis-configuration vis-config-button hover"},e.onmouseout=function(){e.className="vis-configuration vis-config-button"},this.optionsContainer=document.createElement("div"),this.optionsContainer.className="vis-configuration vis-config-option-container",this.domElements.push(this.optionsContainer),this.domElements.push(e)}}},{key:"_setupPopup",value:function(t,e){var n=this;if(!0===this.initialized&&!0===this.allowCreation&&this.popupCounter<this.popupLimit){var r=document.createElement("div");r.id="vis-configuration-popup",r.className="vis-configuration-popup",r.innerText=t,r.onclick=function(){n._removePopup()},this.popupCounter+=1,this.popupDiv={html:r,index:e}}}},{key:"_removePopup",value:function(){void 0!==this.popupDiv.html&&(this.popupDiv.html.parentNode.removeChild(this.popupDiv.html),clearTimeout(this.popupDiv.hideTimeout),clearTimeout(this.popupDiv.deleteTimeout),this.popupDiv={})}},{key:"_showPopupIfNeeded",value:function(){var t=this;if(void 0!==this.popupDiv.html){var e=this.domElements[this.popupDiv.index].getBoundingClientRect();this.popupDiv.html.style.left=e.left+"px",this.popupDiv.html.style.top=e.top-30+"px",document.body.appendChild(this.popupDiv.html),this.popupDiv.hideTimeout=Er((function(){t.popupDiv.html.style.opacity=0}),1500),this.popupDiv.deleteTimeout=Er((function(){t._removePopup()}),1800)}}},{key:"_makeCheckbox",value:function(t,e,n){var r=document.createElement("input");r.type="checkbox",r.className="vis-configuration vis-config-checkbox",r.checked=t,void 0!==e&&(r.checked=e,e!==t&&("object"===ra(t)?e!==t.enabled&&this.changedOptions.push({path:n,value:e}):this.changedOptions.push({path:n,value:e})));var i=this;r.onchange=function(){i._update(this.checked,n)};var o=this._makeLabel(n[n.length-1],n);this._makeItem(n,o,r)}},{key:"_makeTextInput",value:function(t,e,n){var r=document.createElement("input");r.type="text",r.className="vis-configuration vis-config-text",r.value=e,e!==t&&this.changedOptions.push({path:n,value:e});var i=this;r.onchange=function(){i._update(this.value,n)};var o=this._makeLabel(n[n.length-1],n);this._makeItem(n,o,r)}},{key:"_makeColorField",value:function(t,e,n){var r=this,i=t[1],o=document.createElement("div");"none"!==(e=void 0===e?i:e)?(o.className="vis-configuration vis-config-colorBlock",o.style.backgroundColor=e):o.className="vis-configuration vis-config-colorBlock none",e=void 0===e?i:e,o.onclick=function(){r._showColorPicker(e,o,n)};var a=this._makeLabel(n[n.length-1],n);this._makeItem(n,a,o)}},{key:"_showColorPicker",value:function(t,e,n){var r=this;e.onclick=function(){},this.colorPicker.insertTo(e),this.colorPicker.show(),this.colorPicker.setColor(t),this.colorPicker.setUpdateCallback((function(t){var i="rgba("+t.r+","+t.g+","+t.b+","+t.a+")";e.style.backgroundColor=i,r._update(i,n)})),this.colorPicker.setCloseCallback((function(){e.onclick=function(){r._showColorPicker(t,e,n)}}))}},{key:"_handleObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!1,i=Ri(this.options),o=!1;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){r=!0;var s=t[a],c=Sc(e,a);if("function"===typeof i&&!1===(r=i(a,e))&&!ta(s)&&"string"!==typeof s&&"boolean"!==typeof s&&s instanceof Object&&(this.allowCreation=!1,r=this._handleObject(s,c,!0),this.allowCreation=!1===n),!1!==r){o=!0;var l=this._getValue(c);if(ta(s))this._handleArray(s,l,c);else if("string"===typeof s)this._makeTextInput(s,l,c);else if("boolean"===typeof s)this._makeCheckbox(s,l,c);else if(s instanceof Object){if(!this.hideOption(e,a,this.moduleOptions))if(void 0!==s.enabled){var u=Sc(c,"enabled"),g=this._getValue(u);if(!0===g){var f=this._makeLabel(a,c,!0);this._makeItem(c,f),o=this._handleObject(s,c)||o}else this._makeCheckbox(s,g,c)}else{var d=this._makeLabel(a,c,!0);this._makeItem(c,d),o=this._handleObject(s,c)||o}}else console.error("dont know how to handle",s,a,c)}}return o}},{key:"_handleArray",value:function(t,e,n){"string"===typeof t[0]&&"color"===t[0]?(this._makeColorField(t,e,n),t[1]!==e&&this.changedOptions.push({path:n,value:e})):"string"===typeof t[0]?(this._makeDropdown(t,e,n),t[0]!==e&&this.changedOptions.push({path:n,value:e})):"number"===typeof t[0]&&(this._makeRange(t,e,n),t[0]!==e&&this.changedOptions.push({path:n,value:Number(e)}))}},{key:"_update",value:function(t,e){var n=this._constructOptions(t,e);this.parent.body&&this.parent.body.emitter&&this.parent.body.emitter.emit&&this.parent.body.emitter.emit("configChange",n),this.initialized=!0,this.parent.setOptions(n)}},{key:"_constructOptions",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n;t="false"!==(t="true"===t||t)&&t;for(var i=0;i<e.length;i++)"global"!==e[i]&&(void 0===r[e[i]]&&(r[e[i]]={}),i!==e.length-1?r=r[e[i]]:r[e[i]]=t);return n}},{key:"_printOptions",value:function(){for(var t=this.getOptions();this.optionsContainer.firstChild;)this.optionsContainer.removeChild(this.optionsContainer.firstChild);this.optionsContainer.appendChild(Uc("pre","const options = "+Lr(t,null,2)))}},{key:"getOptions",value:function(){for(var t={},e=0;e<this.changedOptions.length;e++)this._constructOptions(this.changedOptions[e].value,this.changedOptions[e].path,t);return t}}]),t}(),Jc=fc,$c=function(){function t(e,n){Fr(this,t),this.container=e,this.overflowMethod=n||"cap",this.x=0,this.y=0,this.padding=5,this.hidden=!1,this.frame=document.createElement("div"),this.frame.className="vis-tooltip",this.container.appendChild(this.frame)}return Vr(t,[{key:"setPosition",value:function(t,e){this.x=Ci(t),this.y=Ci(e)}},{key:"setText",value:function(t){if(t instanceof Element){for(;this.frame.firstChild;)this.frame.removeChild(this.frame.firstChild);this.frame.appendChild(t)}else this.frame.innerText=t}},{key:"show",value:function(t){if(void 0===t&&(t=!0),!0===t){var e=this.frame.clientHeight,n=this.frame.clientWidth,r=this.frame.parentNode.clientHeight,i=this.frame.parentNode.clientWidth,o=0,a=0;if("flip"==this.overflowMethod){var s=!1,c=!0;this.y-e<this.padding&&(c=!1),this.x+n>i-this.padding&&(s=!0),o=s?this.x-n:this.x,a=c?this.y-e:this.y}else(a=this.y-e)+e+this.padding>r&&(a=r-e-this.padding),a<this.padding&&(a=this.padding),(o=this.x)+n+this.padding>i&&(o=i-n-this.padding),o<this.padding&&(o=this.padding);this.frame.style.left=o+"px",this.frame.style.top=a+"px",this.frame.style.visibility="visible",this.hidden=!1}else this.hide()}},{key:"hide",value:function(){this.hidden=!0,this.frame.style.left="0",this.frame.style.top="0",this.frame.style.visibility="hidden"}},{key:"destroy",value:function(){this.frame.parentNode.removeChild(this.frame)}}]),t}(),tl=qc,el=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"validate",value:function(e,n,r){Zc=!1,Xc=n;var i=n;return void 0!==r&&(i=n[r]),t.parse(e,i,[]),Zc}},{key:"parse",value:function(e,n,r){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.check(i,e,n,r)}},{key:"check",value:function(e,n,r,i){if(void 0!==r[e]||void 0!==r.__any__){var o=e,a=!0;void 0===r[e]&&void 0!==r.__any__&&(o="__any__",a="object"===t.getType(n[e]));var s=r[o];a&&void 0!==s.__type__&&(s=s.__type__),t.checkFields(e,n,r,o,s,i)}else t.getSuggestion(e,r,i)}},{key:"checkFields",value:function(e,n,r,i,o,a){var s=function(n){console.error("%c"+n+t.printLocation(a,e),qc)},c=t.getType(n[e]),l=o[c];void 0!==l?"array"===t.getType(l)&&-1===fi(l).call(l,n[e])?(s('Invalid option detected in "'+e+'". Allowed values are:'+t.print(l)+' not "'+n[e]+'". '),Zc=!0):"object"===c&&"__any__"!==i&&(a=Sc(a,e),t.parse(n[e],r[i],a)):void 0===o.any&&(s('Invalid type received for "'+e+'". Expected: '+t.print(Xo(o))+". Received ["+c+'] "'+n[e]+'"'),Zc=!0)}},{key:"getType",value:function(t){var e=ra(t);return"object"===e?null===t?"null":t instanceof Boolean?"boolean":t instanceof Number?"number":t instanceof String?"string":ta(t)?"array":t instanceof Date?"date":void 0!==t.nodeType?"dom":!0===t._isAMomentObject?"moment":"object":"number"===e?"number":"boolean"===e?"boolean":"string"===e?"string":void 0===e?"undefined":e}},{key:"getSuggestion",value:function(e,n,r){var i,o=t.findInOptions(e,n,r,!1),a=t.findInOptions(e,Xc,[],!0);i=void 0!==o.indexMatch?" in "+t.printLocation(o.path,e,"")+'Perhaps it was incomplete? Did you mean: "'+o.indexMatch+'"?\n\n':a.distance<=4&&o.distance>a.distance?" in "+t.printLocation(o.path,e,"")+"Perhaps it was misplaced? Matching option found at: "+t.printLocation(a.path,a.closestMatch,""):o.distance<=8?'. Did you mean "'+o.closestMatch+'"?'+t.printLocation(o.path,e):". Did you mean one of these: "+t.print(Xo(n))+t.printLocation(r,e),console.error('%cUnknown option detected: "'+e+'"'+i,qc),Zc=!0}},{key:"findInOptions",value:function(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=1e9,a="",s=[],c=e.toLowerCase(),l=void 0;for(var u in n){var g=void 0;if(void 0!==n[u].__type__&&!0===i){var f=t.findInOptions(e,n[u],Sc(r,u));o>f.distance&&(a=f.closestMatch,s=f.path,o=f.distance,l=f.indexMatch)}else{var d;-1!==fi(d=u.toLowerCase()).call(d,c)&&(l=u),o>(g=t.levenshteinDistance(e,u))&&(a=u,s=_c(r),o=g)}}return{closestMatch:a,path:s,distance:o,indexMatch:l}}},{key:"printLocation",value:function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Problem value found at: \n",r="\n\n"+n+"options = {\n",i=0;i<t.length;i++){for(var o=0;o<i+1;o++)r+=" ";r+=t[i]+": {\n"}for(var a=0;a<t.length+1;a++)r+=" ";r+=e+"\n";for(var s=0;s<t.length+1;s++){for(var c=0;c<t.length-s;c++)r+=" ";r+="}\n"}return r+"\n\n"}},{key:"print",value:function(t){return Lr(t).replace(/(")|(\[)|(\])|(,"__type__")/g,"").replace(/(,)/g,", ")}},{key:"levenshteinDistance",value:function(t,e){if(0===t.length)return e.length;if(0===e.length)return t.length;var n,r,i=[];for(n=0;n<=e.length;n++)i[n]=[n];for(r=0;r<=t.length;r++)i[0][r]=r;for(n=1;n<=e.length;n++)for(r=1;r<=t.length;r++)e.charAt(n-1)==t.charAt(r-1)?i[n][r]=i[n-1][r-1]:i[n][r]=Math.min(i[n-1][r-1]+1,Math.min(i[n][r-1]+1,i[n-1][r]+1));return i[e.length][t.length]}}]),t}();function nl(t){return ul=t,function(){var t={};gl=0,void(fl=ul.charAt(0)),xl(),"strict"===dl&&(t.strict=!0,xl());"graph"!==dl&&"digraph"!==dl||(t.type=dl,xl());hl===sl&&(t.id=dl,xl());if("{"!=dl)throw jl("Angle bracket { expected");if(xl(),wl(t),"}"!=dl)throw jl("Angle bracket } expected");if(xl(),""!==dl)throw jl("End of file expected");return xl(),delete t.node,delete t.edge,delete t.graph,t}()}var rl={fontsize:"font.size",fontcolor:"font.color",labelfontcolor:"font.color",fontname:"font.face",color:["color.border","color.background"],fillcolor:"color.background",tooltip:"title",labeltooltip:"title"},il=Yr(rl);il.color="color.color",il.style="dashes";var ol=0,al=1,sl=2,cl=3,ll={"{":!0,"}":!0,"[":!0,"]":!0,";":!0,"=":!0,",":!0,"->":!0,"--":!0},ul="",gl=0,fl="",dl="",hl=ol;function pl(){gl++,fl=ul.charAt(gl)}function Al(){return ul.charAt(gl+1)}function Cl(t){var e=t.charCodeAt(0);return e<47?35===e||46===e:e<59?e>47:e<91?e>64:e<96?95===e:e<123&&e>96}function vl(t,e){if(t||(t={}),e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function Il(t,e,n){for(var r=e.split("."),i=t;r.length;){var o=r.shift();r.length?(i[o]||(i[o]={}),i=i[o]):i[o]=n}}function yl(t,e){for(var n,r,i=null,o=[t],a=t;a.parent;)o.push(a.parent),a=a.parent;if(a.nodes)for(n=0,r=a.nodes.length;n<r;n++)if(e.id===a.nodes[n].id){i=a.nodes[n];break}for(i||(i={id:e.id},t.node&&(i.attr=vl(i.attr,t.node))),n=o.length-1;n>=0;n--){var s,c=o[n];c.nodes||(c.nodes=[]),-1===fi(s=c.nodes).call(s,i)&&c.nodes.push(i)}e.attr&&(i.attr=vl(i.attr,e.attr))}function ml(t,e){if(t.edges||(t.edges=[]),t.edges.push(e),t.edge){var n=vl({},t.edge);e.attr=vl(n,e.attr)}}function bl(t,e,n,r,i){var o={from:e,to:n,type:r};return t.edge&&(o.attr=vl({},t.edge)),o.attr=vl(o.attr||{},i),null!=i&&i.hasOwnProperty("arrows")&&null!=i.arrows&&(o.arrows={to:{enabled:!0,type:i.arrows.type}},i.arrows=null),o}function xl(){for(hl=ol,dl="";" "===fl||"\t"===fl||"\n"===fl||"\r"===fl;)pl();do{var t=!1;if("#"===fl){for(var e=gl-1;" "===ul.charAt(e)||"\t"===ul.charAt(e);)e--;if("\n"===ul.charAt(e)||""===ul.charAt(e)){for(;""!=fl&&"\n"!=fl;)pl();t=!0}}if("/"===fl&&"/"===Al()){for(;""!=fl&&"\n"!=fl;)pl();t=!0}if("/"===fl&&"*"===Al()){for(;""!=fl;){if("*"===fl&&"/"===Al()){pl(),pl();break}pl()}t=!0}for(;" "===fl||"\t"===fl||"\n"===fl||"\r"===fl;)pl()}while(t);if(""!==fl){var n=fl+Al();if(ll[n])return hl=al,dl=n,pl(),void pl();if(ll[fl])return hl=al,dl=fl,void pl();if(Cl(fl)||"-"===fl){for(dl+=fl,pl();Cl(fl);)dl+=fl,pl();return"false"===dl?dl=!1:"true"===dl?dl=!0:isNaN(Number(dl))||(dl=Number(dl)),void(hl=sl)}if('"'===fl){for(pl();""!=fl&&('"'!=fl||'"'===fl&&'"'===Al());)'"'===fl?(dl+=fl,pl()):"\\"===fl&&"n"===Al()?(dl+="\n",pl()):dl+=fl,pl();if('"'!=fl)throw jl('End of string " expected');return pl(),void(hl=sl)}for(hl=cl;""!=fl;)dl+=fl,pl();throw new SyntaxError('Syntax error in part "'+El(dl,30)+'"')}hl=al}function wl(t){for(;""!==dl&&"}"!=dl;)Ol(t),";"===dl&&xl()}function Ol(t){var e=Sl(t);if(e)_l(t,e);else if(!function(t){if("node"===dl)return xl(),t.node=kl(),"node";if("edge"===dl)return xl(),t.edge=kl(),"edge";if("graph"===dl)return xl(),t.graph=kl(),"graph";return null}(t)){if(hl!=sl)throw jl("Identifier expected");var n=dl;if(xl(),"="===dl){if(xl(),hl!=sl)throw jl("Identifier expected");t[n]=dl,xl()}else!function(t,e){var n={id:e},r=kl();r&&(n.attr=r);yl(t,n),_l(t,e)}(t,n)}}function Sl(t){var e=null;if("subgraph"===dl&&((e={}).type="subgraph",xl(),hl===sl&&(e.id=dl,xl())),"{"===dl){if(xl(),e||(e={}),e.parent=t,e.node=t.node,e.edge=t.edge,e.graph=t.graph,wl(e),"}"!=dl)throw jl("Angle bracket } expected");xl(),delete e.node,delete e.edge,delete e.graph,delete e.parent,t.subgraphs||(t.subgraphs=[]),t.subgraphs.push(e)}return e}function _l(t,e){for(;"->"===dl||"--"===dl;){var n,r=dl;xl();var i=Sl(t);if(i)n=i;else{if(hl!=sl)throw jl("Identifier or subgraph expected");yl(t,{id:n=dl}),xl()}ml(t,bl(t,e,n,r,kl())),e=n}}function kl(){for(var t,e,n=null,r={dashed:!0,solid:!1,dotted:[1,5]},i={dot:"circle",box:"box",crow:"crow",curve:"curve",icurve:"inv_curve",normal:"triangle",inv:"inv_triangle",diamond:"diamond",tee:"bar",vee:"vee"},o=new Array,a=new Array;"["===dl;){for(xl(),n={};""!==dl&&"]"!=dl;){if(hl!=sl)throw jl("Attribute name expected");var s=dl;if(xl(),"="!=dl)throw jl("Equal sign = expected");if(xl(),hl!=sl)throw jl("Attribute value expected");var c=dl;"style"===s&&(c=r[c]),"arrowhead"===s&&(s="arrows",c={to:{enabled:!0,type:i[c]}}),"arrowtail"===s&&(s="arrows",c={from:{enabled:!0,type:i[c]}}),o.push({attr:n,name:s,value:c}),a.push(s),xl(),","==dl&&xl()}if("]"!=dl)throw jl("Bracket ] expected");xl()}if(Xi(a).call(a,"dir")){var l={arrows:{}};for(t=0;t<o.length;t++)if("arrows"===o[t].name)if(null!=o[t].value.to)l.arrows.to=t;else{if(null==o[t].value.from)throw jl("Invalid value of arrows");l.arrows.from=t}else"dir"===o[t].name&&(l.dir=t);var u,g,f=o[l.dir].value;if(!Xi(a).call(a,"arrows"))if("both"===f)o.push({attr:o[l.dir].attr,name:"arrows",value:{to:{enabled:!0}}}),l.arrows.to=o.length-1,o.push({attr:o[l.dir].attr,name:"arrows",value:{from:{enabled:!0}}}),l.arrows.from=o.length-1;else if("forward"===f)o.push({attr:o[l.dir].attr,name:"arrows",value:{to:{enabled:!0}}}),l.arrows.to=o.length-1;else if("back"===f)o.push({attr:o[l.dir].attr,name:"arrows",value:{from:{enabled:!0}}}),l.arrows.from=o.length-1;else{if("none"!==f)throw jl('Invalid dir type "'+f+'"');o.push({attr:o[l.dir].attr,name:"arrows",value:""}),l.arrows.to=o.length-1}if("both"===f)l.arrows.to&&l.arrows.from?(g=o[l.arrows.to].value.to.type,u=o[l.arrows.from].value.from.type,o[l.arrows.to]={attr:o[l.arrows.to].attr,name:o[l.arrows.to].name,value:{to:{enabled:!0,type:g},from:{enabled:!0,type:u}}},no(o).call(o,l.arrows.from,1)):l.arrows.to?(g=o[l.arrows.to].value.to.type,u="arrow",o[l.arrows.to]={attr:o[l.arrows.to].attr,name:o[l.arrows.to].name,value:{to:{enabled:!0,type:g},from:{enabled:!0,type:u}}}):l.arrows.from&&(g="arrow",u=o[l.arrows.from].value.from.type,o[l.arrows.from]={attr:o[l.arrows.from].attr,name:o[l.arrows.from].name,value:{to:{enabled:!0,type:g},from:{enabled:!0,type:u}}});else if("back"===f)l.arrows.to&&l.arrows.from?(g="",u=o[l.arrows.from].value.from.type,o[l.arrows.from]={attr:o[l.arrows.from].attr,name:o[l.arrows.from].name,value:{to:{enabled:!0,type:g},from:{enabled:!0,type:u}}}):l.arrows.to?(g="",u="arrow",l.arrows.from=l.arrows.to,o[l.arrows.from]={attr:o[l.arrows.from].attr,name:o[l.arrows.from].name,value:{to:{enabled:!0,type:g},from:{enabled:!0,type:u}}}):l.arrows.from&&(g="",u=o[l.arrows.from].value.from.type,o[l.arrows.to]={attr:o[l.arrows.from].attr,name:o[l.arrows.from].name,value:{to:{enabled:!0,type:g},from:{enabled:!0,type:u}}}),o[l.arrows.from]={attr:o[l.arrows.from].attr,name:o[l.arrows.from].name,value:{from:{enabled:!0,type:o[l.arrows.from].value.from.type}}};else if("none"===f){var d;o[d=l.arrows.to?l.arrows.to:l.arrows.from]={attr:o[d].attr,name:o[d].name,value:""}}else{if("forward"!==f)throw jl('Invalid dir type "'+f+'"');l.arrows.to&&l.arrows.from||l.arrows.to?(g=o[l.arrows.to].value.to.type,u="",o[l.arrows.to]={attr:o[l.arrows.to].attr,name:o[l.arrows.to].name,value:{to:{enabled:!0,type:g},from:{enabled:!0,type:u}}}):l.arrows.from&&(g="arrow",u="",l.arrows.to=l.arrows.from,o[l.arrows.to]={attr:o[l.arrows.to].attr,name:o[l.arrows.to].name,value:{to:{enabled:!0,type:g},from:{enabled:!0,type:u}}}),o[l.arrows.to]={attr:o[l.arrows.to].attr,name:o[l.arrows.to].name,value:{to:{enabled:!0,type:o[l.arrows.to].value.to.type}}}}no(o).call(o,l.dir,1)}if(Xi(a).call(a,"penwidth")){var h=[];for(e=o.length,t=0;t<e;t++)"width"!==o[t].name&&("penwidth"===o[t].name&&(o[t].name="width"),h.push(o[t]));o=h}for(e=o.length,t=0;t<e;t++)Il(o[t].attr,o[t].name,o[t].value);return n}function jl(t){return new SyntaxError(t+', got "'+El(dl,30)+'" (char '+gl+")")}function El(t,e){return t.length<=e?t:t.substr(0,27)+"..."}function Pl(t,e,n){for(var r=e.split("."),i=r.pop(),o=t,a=0;a<r.length;a++){var s=r[a];s in o||(o[s]={}),o=o[s]}return o[i]=n,t}function Ml(t,e){var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=e[r];ta(i)?Ao(i).call(i,(function(e){Pl(n,e,t[r])})):Pl(n,"string"===typeof i?i:r,t[r])}return n}function Tl(t){var e,n=nl(t),r={nodes:[],edges:[],options:{}};n.nodes&&Ao(e=n.nodes).call(e,(function(t){var e={id:t.id,label:String(t.label||t.id)};vl(e,Ml(t.attr,rl)),e.image&&(e.shape="image"),r.nodes.push(e)}));if(n.edges){var i,o=function(t){var e={from:t.from,to:t.to};return vl(e,Ml(t.attr,il)),null==e.arrows&&"->"===t.type&&(e.arrows="to"),e};Ao(i=n.edges).call(i,(function(t){var e,n,i,a,s,c,l;(e=t.from instanceof Object?t.from.nodes:{id:t.from},n=t.to instanceof Object?t.to.nodes:{id:t.to},t.from instanceof Object&&t.from.edges)&&Ao(i=t.from.edges).call(i,(function(t){var e=o(t);r.edges.push(e)}));(s=n,c=function(e,n){var i=bl(r,e.id,n.id,t.type,t.attr),a=o(i);r.edges.push(a)},ta(a=e)?Ao(a).call(a,(function(t){ta(s)?Ao(s).call(s,(function(e){c(t,e)})):c(t,s)})):ta(s)?Ao(s).call(s,(function(t){c(a,t)})):c(a,s),t.to instanceof Object&&t.to.edges)&&Ao(l=t.to.edges).call(l,(function(t){var e=o(t);r.edges.push(e)}))}))}return n.attr&&(r.options=n.attr),r}function Rl(t,e){var n,r={edges:{inheritColor:!1},nodes:{fixed:!1,parseColor:!1}};null!=e&&(null!=e.fixed&&(r.nodes.fixed=e.fixed),null!=e.parseColor&&(r.nodes.parseColor=e.parseColor),null!=e.inheritColor&&(r.edges.inheritColor=e.inheritColor));var i=t.edges,o=$o(i).call(i,(function(t){var e={from:t.source,id:t.id,to:t.target};return null!=t.attributes&&(e.attributes=t.attributes),null!=t.label&&(e.label=t.label),null!=t.attributes&&null!=t.attributes.title&&(e.title=t.attributes.title),"Directed"===t.type&&(e.arrows="to"),t.color&&!1===r.edges.inheritColor&&(e.color=t.color),e}));return{nodes:$o(n=t.nodes).call(n,(function(t){var e={id:t.id,fixed:r.nodes.fixed&&null!=t.x&&null!=t.y};return null!=t.attributes&&(e.attributes=t.attributes),null!=t.label&&(e.label=t.label),null!=t.size&&(e.size=t.size),null!=t.attributes&&null!=t.attributes.title&&(e.title=t.attributes.title),null!=t.title&&(e.title=t.title),null!=t.x&&(e.x=t.x),null!=t.y&&(e.y=t.y),null!=t.color&&(!0===r.nodes.parseColor?e.color=t.color:e.color={background:t.color,border:t.color,highlight:{background:t.color,border:t.color},hover:{background:t.color,border:t.color}}),e})),edges:o}}var Dl=Object.freeze({__proto__:null,en:{addDescription:"Click in an empty space to place a new node.",addEdge:"Add Edge",addNode:"Add Node",back:"Back",close:"Close",createEdgeError:"Cannot link edges to a cluster.",del:"Delete selected",deleteClusterError:"Clusters cannot be deleted.",edgeDescription:"Click on a node and drag the edge to another node to connect them.",edit:"Edit",editClusterError:"Clusters cannot be edited.",editEdge:"Edit Edge",editEdgeDescription:"Click on the control points and drag them to a node to connect to it.",editNode:"Edit Node"},de:{addDescription:"Klicke auf eine freie Stelle, um einen neuen Knoten zu plazieren.",addEdge:"Kante hinzuf\xfcgen",addNode:"Knoten hinzuf\xfcgen",back:"Zur\xfcck",close:"Schlie\xdfen",createEdgeError:"Es ist nicht m\xf6glich, Kanten mit Clustern zu verbinden.",del:"L\xf6sche Auswahl",deleteClusterError:"Cluster k\xf6nnen nicht gel\xf6scht werden.",edgeDescription:"Klicke auf einen Knoten und ziehe die Kante zu einem anderen Knoten, um diese zu verbinden.",edit:"Editieren",editClusterError:"Cluster k\xf6nnen nicht editiert werden.",editEdge:"Kante editieren",editEdgeDescription:"Klicke auf die Verbindungspunkte und ziehe diese auf einen Knoten, um sie zu verbinden.",editNode:"Knoten editieren"},es:{addDescription:"Haga clic en un lugar vac\xedo para colocar un nuevo nodo.",addEdge:"A\xf1adir arista",addNode:"A\xf1adir nodo",back:"Atr\xe1s",close:"Cerrar",createEdgeError:"No se puede conectar una arista a un grupo.",del:"Eliminar selecci\xf3n",deleteClusterError:"No es posible eliminar grupos.",edgeDescription:"Haga clic en un nodo y arrastre la arista hacia otro nodo para conectarlos.",edit:"Editar",editClusterError:"No es posible editar grupos.",editEdge:"Editar arista",editEdgeDescription:"Haga clic en un punto de control y arrastrelo a un nodo para conectarlo.",editNode:"Editar nodo"},it:{addDescription:"Clicca per aggiungere un nuovo nodo",addEdge:"Aggiungi un vertice",addNode:"Aggiungi un nodo",back:"Indietro",close:"Chiudere",createEdgeError:"Non si possono collegare vertici ad un cluster",del:"Cancella la selezione",deleteClusterError:"I cluster non possono essere cancellati",edgeDescription:"Clicca su un nodo e trascinalo ad un altro nodo per connetterli.",edit:"Modifica",editClusterError:"I clusters non possono essere modificati.",editEdge:"Modifica il vertice",editEdgeDescription:"Clicca sui Punti di controllo e trascinali ad un nodo per connetterli.",editNode:"Modifica il nodo"},nl:{addDescription:"Klik op een leeg gebied om een nieuwe node te maken.",addEdge:"Link toevoegen",addNode:"Node toevoegen",back:"Terug",close:"Sluiten",createEdgeError:"Kan geen link maken naar een cluster.",del:"Selectie verwijderen",deleteClusterError:"Clusters kunnen niet worden verwijderd.",edgeDescription:"Klik op een node en sleep de link naar een andere node om ze te verbinden.",edit:"Wijzigen",editClusterError:"Clusters kunnen niet worden aangepast.",editEdge:"Link wijzigen",editEdgeDescription:"Klik op de verbindingspunten en sleep ze naar een node om daarmee te verbinden.",editNode:"Node wijzigen"},pt:{addDescription:"Clique em um espa\xe7o em branco para adicionar um novo n\xf3",addEdge:"Adicionar aresta",addNode:"Adicionar n\xf3",back:"Voltar",close:"Fechar",createEdgeError:"N\xe3o foi poss\xedvel linkar arestas a um cluster.",del:"Remover selecionado",deleteClusterError:"Clusters n\xe3o puderam ser removidos.",edgeDescription:"Clique em um n\xf3 e arraste a aresta at\xe9 outro n\xf3 para conect\xe1-los",edit:"Editar",editClusterError:"Clusters n\xe3o puderam ser editados.",editEdge:"Editar aresta",editEdgeDescription:"Clique nos pontos de controle e os arraste para um n\xf3 para conect\xe1-los",editNode:"Editar n\xf3"},ru:{addDescription:"\u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0443\u0437\u0435\u043b.",addEdge:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0431\u0440\u043e",addNode:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0443\u0437\u0435\u043b",back:"\u041d\u0430\u0437\u0430\u0434",close:"\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c",createEdgeError:"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0440\u0435\u0431\u0440\u0430 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440.",del:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0435",deleteClusterError:"\u041a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u044b",edgeDescription:"\u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043d\u0430 \u0443\u0437\u0435\u043b \u0438 \u043f\u0440\u043e\u0442\u044f\u043d\u0438\u0442\u0435 \u0440\u0435\u0431\u0440\u043e \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0443\u0437\u043b\u0443, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0438\u0445.",edit:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",editClusterError:"\u041a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.",editEdge:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0431\u0440\u043e",editEdgeDescription:"\u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0435 \u0442\u043e\u0447\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u0445 \u0432 \u0443\u0437\u0435\u043b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u043c\u0443.",editNode:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0443\u0437\u0435\u043b"},cn:{addDescription:"\u5355\u51fb\u7a7a\u767d\u5904\u653e\u7f6e\u65b0\u8282\u70b9\u3002",addEdge:"\u6dfb\u52a0\u8fde\u63a5\u7ebf",addNode:"\u6dfb\u52a0\u8282\u70b9",back:"\u8fd4\u56de",close:"\u95dc\u9589",createEdgeError:"\u65e0\u6cd5\u5c06\u8fde\u63a5\u7ebf\u8fde\u63a5\u5230\u7fa4\u96c6\u3002",del:"\u5220\u9664\u9009\u5b9a",deleteClusterError:"\u65e0\u6cd5\u5220\u9664\u7fa4\u96c6\u3002",edgeDescription:"\u5355\u51fb\u67d0\u4e2a\u8282\u70b9\u5e76\u5c06\u8be5\u8fde\u63a5\u7ebf\u62d6\u52a8\u5230\u53e6\u4e00\u4e2a\u8282\u70b9\u4ee5\u8fde\u63a5\u5b83\u4eec\u3002",edit:"\u7f16\u8f91",editClusterError:"\u65e0\u6cd5\u7f16\u8f91\u7fa4\u96c6\u3002",editEdge:"\u7f16\u8f91\u8fde\u63a5\u7ebf",editEdgeDescription:"\u5355\u51fb\u63a7\u5236\u8282\u70b9\u5e76\u5c06\u5b83\u4eec\u62d6\u5230\u8282\u70b9\u4e0a\u8fde\u63a5\u3002",editNode:"\u7f16\u8f91\u8282\u70b9"},uk:{addDescription:"K\u043b\u0456\u043a\u043d\u0456\u0442\u044c \u043d\u0430 \u0432\u0456\u043b\u044c\u043d\u0435 \u043c\u0456\u0441\u0446\u0435, \u0449\u043e\u0431 \u0434\u043e\u0434\u0430\u0442\u0438 \u043d\u043e\u0432\u0438\u0439 \u0432\u0443\u0437\u043e\u043b.",addEdge:"\u0414\u043e\u0434\u0430\u0442\u0438 \u043a\u0440\u0430\u0439",addNode:"\u0414\u043e\u0434\u0430\u0442\u0438 \u0432\u0443\u0437\u043e\u043b",back:"\u041d\u0430\u0437\u0430\u0434",close:"\u0417\u0430\u043a\u0440\u0438\u0442\u0438",createEdgeError:"\u041d\u0435 \u043c\u043e\u0436\u043b\u0438\u0432\u043e \u043e\u0431'\u0454\u0434\u043d\u0430\u0442\u0438 \u043a\u0440\u0430\u0457 \u0432 \u0433\u0440\u0443\u043f\u0443.",del:"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u043e\u0431\u0440\u0430\u043d\u0435",deleteClusterError:"\u0413\u0440\u0443\u043f\u0438 \u043d\u0435 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0443\u0442\u0438 \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u0456.",edgeDescription:"\u041a\u043b\u0456\u043a\u043d\u0456\u0442\u044c \u043d\u0430 \u0432\u0443\u0437\u043e\u043b \u0456 \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u043a\u0440\u0430\u0439 \u0434\u043e \u0456\u043d\u0448\u043e\u0433\u043e \u0432\u0443\u0437\u043b\u0430, \u0449\u043e\u0431 \u0457\u0445 \u0437'\u0454\u0434\u043d\u0430\u0442\u0438.",edit:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438",editClusterError:"\u0413\u0440\u0443\u043f\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0456 \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u043d\u043d\u044f.",editEdge:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u043a\u0440\u0430\u0439",editEdgeDescription:"\u041a\u043b\u0456\u043a\u043d\u0456\u0442\u044c \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0456 \u0442\u043e\u0447\u043a\u0438 \u0456 \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0457\u0445 \u0443 \u0432\u0443\u0437\u043e\u043b, \u0449\u043e\u0431 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0438\u0441\u044f \u0434\u043e \u043d\u044c\u043e\u0433\u043e.",editNode:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0432\u0443\u0437\u043e\u043b"},fr:{addDescription:"Cliquez dans un endroit vide pour placer un n\u0153ud.",addEdge:"Ajouter un lien",addNode:"Ajouter un n\u0153ud",back:"Retour",close:"Fermer",createEdgeError:"Impossible de cr\xe9er un lien vers un cluster.",del:"Effacer la s\xe9lection",deleteClusterError:"Les clusters ne peuvent pas \xeatre effac\xe9s.",edgeDescription:"Cliquez sur un n\u0153ud et glissez le lien vers un autre n\u0153ud pour les connecter.",edit:"\xc9diter",editClusterError:"Les clusters ne peuvent pas \xeatre \xe9dit\xe9s.",editEdge:"\xc9diter le lien",editEdgeDescription:"Cliquez sur les points de contr\xf4le et glissez-les pour connecter un n\u0153ud.",editNode:"\xc9diter le n\u0153ud"},cs:{addDescription:"Kluknut\xedm do pr\xe1zdn\xe9ho prostoru m\u016f\u017eete p\u0159idat nov\xfd vrchol.",addEdge:"P\u0159idat hranu",addNode:"P\u0159idat vrchol",back:"Zp\u011bt",close:"Zav\u0159\xedt",createEdgeError:"Nelze p\u0159ipojit hranu ke shluku.",del:"Smazat v\xfdb\u011br",deleteClusterError:"Nelze mazat shluky.",edgeDescription:"P\u0159eta\u017een\xedm z jednoho vrcholu do druh\xe9ho m\u016f\u017eete spojit tyto vrcholy novou hranou.",edit:"Upravit",editClusterError:"Nelze upravovat shluky.",editEdge:"Upravit hranu",editEdgeDescription:"P\u0159eta\u017een\xedm kontroln\xedho vrcholu hrany ji m\u016f\u017eete p\u0159ipojit k jin\xe9mu vrcholu.",editNode:"Upravit vrchol"}});var Nl=function(){function t(){Fr(this,t),this.NUM_ITERATIONS=4,this.image=new Image,this.canvas=document.createElement("canvas")}return Vr(t,[{key:"init",value:function(){if(!this.initialized()){this.src=this.image.src;var t=this.image.width,e=this.image.height;this.width=t,this.height=e;var n=Math.floor(e/2),r=Math.floor(e/4),i=Math.floor(e/8),o=Math.floor(e/16),a=Math.floor(t/2),s=Math.floor(t/4),c=Math.floor(t/8),l=Math.floor(t/16);this.canvas.width=3*s,this.canvas.height=n,this.coordinates=[[0,0,a,n],[a,0,s,r],[a,r,c,i],[5*c,r,l,o]],this._fillMipMap()}}},{key:"initialized",value:function(){return void 0!==this.coordinates}},{key:"_fillMipMap",value:function(){var t=this.canvas.getContext("2d"),e=this.coordinates[0];t.drawImage(this.image,e[0],e[1],e[2],e[3]);for(var n=1;n<this.NUM_ITERATIONS;n++){var r=this.coordinates[n-1],i=this.coordinates[n];t.drawImage(this.canvas,r[0],r[1],r[2],r[3],i[0],i[1],i[2],i[3])}}},{key:"drawImageAtPosition",value:function(t,e,n,r,i,o){if(this.initialized())if(e>2){e*=.5;for(var a=0;e>2&&a<this.NUM_ITERATIONS;)e*=.5,a+=1;a>=this.NUM_ITERATIONS&&(a=this.NUM_ITERATIONS-1);var s=this.coordinates[a];t.drawImage(this.canvas,s[0],s[1],s[2],s[3],n,r,i,o)}else t.drawImage(this.image,n,r,i,o)}}]),t}(),Ll=function(){function t(e){Fr(this,t),this.images={},this.imageBroken={},this.callback=e}return Vr(t,[{key:"_tryloadBrokenUrl",value:function(t,e,n){void 0!==t&&void 0!==n&&(void 0!==e?(n.image.onerror=function(){console.error("Could not load brokenImage:",e)},n.image.src=e):console.warn("No broken url image defined"))}},{key:"_redrawWithImage",value:function(t){this.callback&&this.callback(t)}},{key:"load",value:function(t,e){var n=this,r=this.images[t];if(r)return r;var i=new Nl;return this.images[t]=i,i.image.onload=function(){n._fixImageCoordinates(i.image),i.init(),n._redrawWithImage(i)},i.image.onerror=function(){console.error("Could not load image:",t),n._tryloadBrokenUrl(t,e,i)},i.image.src=t,i}},{key:"_fixImageCoordinates",value:function(t){0===t.width&&(document.body.appendChild(t),t.width=t.offsetWidth,t.height=t.offsetHeight,document.body.removeChild(t))}}]),t}(),Fl=!s((function(){return Object.isExtensible(Object.preventExtensions({}))})),Bl=i((function(t){var e=V.f,n=te("meta"),r=0,i=Object.isExtensible||function(){return!0},o=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!I(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!b(t,n)){if(!i(t))return"F";if(!e)return"E";o(t)}return t[n].objectID},getWeakData:function(t,e){if(!b(t,n)){if(!i(t))return!0;if(!e)return!1;o(t)}return t[n].weakData},onFreeze:function(t){return Fl&&a.REQUIRED&&i(t)&&!b(t,n)&&o(t),t}};ut[n]=!0})),zl=function(t,e){this.stopped=t,this.result=e},Vl=function(t,e,n){var r,i,o,a,s,c,l,u=n&&n.that,g=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),h=F(e,u,1+g+d),p=function(t){return r&&gr(r),new zl(!0,t)},A=function(t){return g?(B(t),d?h(t[0],t[1],p):h(t[0],t[1])):d?h(t,p):h(t)};if(f)r=t;else{if("function"!=typeof(i=cr(t)))throw TypeError("Target is not iterable");if(pr(i)){for(o=0,a=it(t.length);a>o;o++)if((s=A(t[o]))&&s instanceof zl)return s;return new zl(!1)}r=i.call(t)}for(c=r.next;!(l=c.call(r)).done;){try{s=A(l.value)}catch(rp){throw gr(r),rp}if("object"==typeof s&&s&&s instanceof zl)return s}return new zl(!1)},Gl=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Wl=V.f,Yl=Xe.forEach,Hl=Ge.set,Ul=Ge.getterFor,Xl=function(t,e,n){var r,i=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),l=i?"set":"add",u=a[t],g=u&&u.prototype,f={};if(c&&"function"==typeof u&&(o||g.forEach&&!s((function(){(new u).entries().next()})))){r=e((function(e,n){Hl(Gl(e,r,t),{type:t,collection:new u}),void 0!=n&&Vl(n,e[l],{that:e,AS_ENTRIES:i})}));var d=Ul(t);Yl(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in g)||o&&"clear"==t||G(r.prototype,t,(function(n,r){var i=d(this).collection;if(!e&&o&&!I(n))return"get"==t&&void 0;var a=i[t](0===n?0:n,r);return e?this:a}))})),o||Wl(r.prototype,"size",{configurable:!0,get:function(){return d(this).collection.size}})}else r=n.getConstructor(e,t,i,l),Bl.REQUIRED=!0;return ke(r,t,!1,!0),f[t]=r,H({global:!0,forced:!0},f),o||n.setStrong(r,t,i),r},Zl=function(t,e,n){for(var r in e)n&&n.unsafe&&t[r]?t[r]=e[r]:fe(t,r,e[r],n);return t},ql=Ae("species"),Kl=V.f,Ql=Bl.fastKey,Jl=Ge.set,$l=Ge.getterFor,tu={getConstructor:function(t,e,n,r){var i=t((function(t,o){Gl(t,i,e),Jl(t,{type:e,index:se(null),first:void 0,last:void 0,size:0}),c||(t.size=0),void 0!=o&&Vl(o,t[r],{that:t,AS_ENTRIES:n})})),o=$l(e),a=function(t,e,n){var r,i,a=o(t),l=s(t,e);return l?l.value=n:(a.last=l={index:i=Ql(e,!0),key:e,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=l),r&&(r.next=l),c?a.size++:t.size++,"F"!==i&&(a.index[i]=l)),t},s=function(t,e){var n,r=o(t),i=Ql(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return Zl(i.prototype,{clear:function(){for(var t=o(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,c?t.size=0:this.size=0},delete:function(t){var e=this,n=o(e),r=s(e,t);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),c?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=o(this),r=F(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),Zl(i.prototype,n?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),c&&Kl(i.prototype,"size",{get:function(){return o(this).size}}),i},setStrong:function(t,e,n){var r=e+" Iterator",i=$l(e),o=$l(r);Zn(t,e,(function(t,e){Jl(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),function(t){var e=Rt(t),n=V.f;c&&e&&!e[ql]&&n(e,ql,{configurable:!0,get:function(){return this}})}(e)}};Xl("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),tu);var eu=N.Map,nu=function(){function t(){Fr(this,t),this.clear(),this._defaultIndex=0,this._groupIndex=0,this._defaultGroups=[{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},{border:"#FFA500",background:"#FFFF00",highlight:{border:"#FFA500",background:"#FFFFA3"},hover:{border:"#FFA500",background:"#FFFFA3"}},{border:"#FA0A10",background:"#FB7E81",highlight:{border:"#FA0A10",background:"#FFAFB1"},hover:{border:"#FA0A10",background:"#FFAFB1"}},{border:"#41A906",background:"#7BE141",highlight:{border:"#41A906",background:"#A1EC76"},hover:{border:"#41A906",background:"#A1EC76"}},{border:"#E129F0",background:"#EB7DF4",highlight:{border:"#E129F0",background:"#F0B3F5"},hover:{border:"#E129F0",background:"#F0B3F5"}},{border:"#7C29F0",background:"#AD85E4",highlight:{border:"#7C29F0",background:"#D3BDF0"},hover:{border:"#7C29F0",background:"#D3BDF0"}},{border:"#C37F00",background:"#FFA807",highlight:{border:"#C37F00",background:"#FFCA66"},hover:{border:"#C37F00",background:"#FFCA66"}},{border:"#4220FB",background:"#6E6EFD",highlight:{border:"#4220FB",background:"#9B9BFD"},hover:{border:"#4220FB",background:"#9B9BFD"}},{border:"#FD5A77",background:"#FFC0CB",highlight:{border:"#FD5A77",background:"#FFD1D9"},hover:{border:"#FD5A77",background:"#FFD1D9"}},{border:"#4AD63A",background:"#C2FABC",highlight:{border:"#4AD63A",background:"#E6FFE3"},hover:{border:"#4AD63A",background:"#E6FFE3"}},{border:"#990000",background:"#EE0000",highlight:{border:"#BB0000",background:"#FF3333"},hover:{border:"#BB0000",background:"#FF3333"}},{border:"#FF6000",background:"#FF6000",highlight:{border:"#FF6000",background:"#FF6000"},hover:{border:"#FF6000",background:"#FF6000"}},{border:"#97C2FC",background:"#2B7CE9",highlight:{border:"#D2E5FF",background:"#2B7CE9"},hover:{border:"#D2E5FF",background:"#2B7CE9"}},{border:"#399605",background:"#255C03",highlight:{border:"#399605",background:"#255C03"},hover:{border:"#399605",background:"#255C03"}},{border:"#B70054",background:"#FF007E",highlight:{border:"#B70054",background:"#FF007E"},hover:{border:"#B70054",background:"#FF007E"}},{border:"#AD85E4",background:"#7C29F0",highlight:{border:"#D3BDF0",background:"#7C29F0"},hover:{border:"#D3BDF0",background:"#7C29F0"}},{border:"#4557FA",background:"#000EA1",highlight:{border:"#6E6EFD",background:"#000EA1"},hover:{border:"#6E6EFD",background:"#000EA1"}},{border:"#FFC0CB",background:"#FD5A77",highlight:{border:"#FFD1D9",background:"#FD5A77"},hover:{border:"#FFD1D9",background:"#FD5A77"}},{border:"#C2FABC",background:"#74D66A",highlight:{border:"#E6FFE3",background:"#74D66A"},hover:{border:"#E6FFE3",background:"#74D66A"}},{border:"#EE0000",background:"#990000",highlight:{border:"#FF3333",background:"#BB0000"},hover:{border:"#FF3333",background:"#BB0000"}}],this.options={},this.defaultOptions={useDefaultGroups:!0},yt(this.options,this.defaultOptions)}return Vr(t,[{key:"setOptions",value:function(t){var e=["useDefaultGroups"];if(void 0!==t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&-1===fi(e).call(e,n)){var r=t[n];this.add(n,r)}}},{key:"clear",value:function(){this._groups=new eu,this._groupNames=[]}},{key:"get",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this._groups.get(t);if(void 0===n&&e)if(!1===this.options.useDefaultGroups&&this._groupNames.length>0){var r=this._groupIndex%this._groupNames.length;++this._groupIndex,(n={}).color=this._groups.get(this._groupNames[r]),this._groups.set(t,n)}else{var i=this._defaultIndex%this._defaultGroups.length;this._defaultIndex++,(n={}).color=this._defaultGroups[i],this._groups.set(t,n)}return n}},{key:"add",value:function(t,e){return this._groups.has(t)||this._groupNames.push(t),this._groups.set(t,e),e}}]),t}(),ru=Xe.some,iu=ti("some"),ou=ii("some");H({target:"Array",proto:!0,forced:!iu||!ou},{some:function(t){return ru(this,t,arguments.length>1?arguments[1]:void 0)}});var au=K("Array").some,su=Array.prototype,cu=function(t){var e=t.some;return t===su||t instanceof Array&&e===su.some?au:e},lu=a.isFinite,uu=Number.isFinite||function(t){return"number"==typeof t&&lu(t)};H({target:"Number",stat:!0},{isFinite:uu});var gu=N.Number.isFinite;H({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var fu=N.Number.isNaN,du=Rt("Reflect","construct"),hu=s((function(){function t(){}return!(du((function(){}),[],t)instanceof t)})),pu=!s((function(){du((function(){}))})),Au=hu||pu;H({target:"Reflect",stat:!0,forced:Au,sham:Au},{construct:function(t,e){L(t),B(e);var n=arguments.length<3?t:L(arguments[2]);if(pu&&!hu)return du(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(q.apply(t,r))}var i=n.prototype,o=se(I(i)?i:Object.prototype),a=Function.apply.call(t,o,e);return I(a)?a:o}});var Cu=N.Reflect.construct;var vu=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},Iu=K("Array").entries,yu=Array.prototype,mu={DOMTokenList:!0,NodeList:!0},bu=function(t){var e=t.entries;return t===yu||t instanceof Array&&e===yu.entries||mu.hasOwnProperty(we(t))?Iu:e},xu=K("Array").values,wu=Array.prototype,Ou={DOMTokenList:!0,NodeList:!0},Su=function(t){var e=t.values;return t===wu||t instanceof Array&&e===wu.values||Ou.hasOwnProperty(we(t))?xu:e},_u=K("Array").keys,ku=Array.prototype,ju={DOMTokenList:!0,NodeList:!0},Eu=function(t){var e=t.keys;return t===ku||t instanceof Array&&e===ku.keys||ju.hasOwnProperty(we(t))?_u:e},Pu=Wr;H({target:"Object",stat:!0},{setPrototypeOf:zn});var Mu=N.Object.setPrototypeOf,Tu=i((function(t){function e(n,r){return t.exports=e=Mu||function(t,e){return t.__proto__=e,t},e(n,r)}t.exports=e}));var Ru=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Pu(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tu(t,e)};var Du=function(t,e){return!e||"object"!==ra(e)&&"function"!==typeof e?vu(t):e},Nu=Ni,Lu=i((function(t){function e(n){return t.exports=e=Mu?Nu:function(t){return t.__proto__||Nu(t)},e(n)}t.exports=e})),Fu=[],Bu=Fu.sort,zu=s((function(){Fu.sort(void 0)})),Vu=s((function(){Fu.sort(null)})),Gu=ti("sort");H({target:"Array",proto:!0,forced:zu||!Vu||!Gu},{sort:function(t){return void 0===t?Bu.call(At(this)):Bu.call(At(this),L(t))}});var Wu=K("Array").sort,Yu=Array.prototype,Hu=function(t){var e=t.sort;return t===Yu||t instanceof Array&&e===Yu.sort?Wu:e};Xl("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),tu);var Uu=N.Set,Xu=i((function(t){var e=function(t){var e,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(P){c=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof A?e:A,o=Object.create(i.prototype),a=new k(r||[]);return o._invoke=function(t,e,n){var r=g;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===g)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=u(t,e,n);if("normal"===c.type){if(r=n.done?h:f,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(P){return{type:"throw",arg:P}}}t.wrap=l;var g="suspendedStart",f="suspendedYield",d="executing",h="completed",p={};function A(){}function C(){}function v(){}var I={};I[o]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(j([])));m&&m!==n&&r.call(m,o)&&(I=m);var b=v.prototype=A.prototype=Object.create(I);function x(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(i,o,a,s){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,g=l.value;return g&&"object"===typeof g&&r.call(g,"__await")?e.resolve(g.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(g).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}}function O(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=u(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function j(t){if(t){var n=t[o];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:E}}function E(){return{value:e,done:!0}}return C.prototype=b.constructor=v,v.constructor=C,C.displayName=c(v,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===C||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),w.prototype[a]=function(){return this},t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(l(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),c(b,s,"Generator"),b[o]=function(){return this},b.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=j,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=e}catch(n){Function("r","regeneratorRuntime = r")(e)}})),Zu=ea,qu=function t(e,n,r,i,o,a,s,c){for(var l,u=o,g=0,f=!!s&&F(s,c,3);g<i;){if(g in r){if(l=f?f(r[g],g,n):r[g],a>0&&Xt(l))u=t(e,n,l,it(l.length),u,a-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}g++}return u};H({target:"Array",proto:!0},{flatMap:function(t){var e,n=At(this),r=it(n.length);return L(t),(e=Ye(n,0)).length=qu(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}});K("Array").flatMap,Array.prototype;var Ku=function(t){return function(e,n,r,i){L(n);var o=At(e),a=A(o),s=it(o.length),c=t?s-1:0,l=t?-1:1;if(r<2)for(;;){if(c in a){i=a[c],c+=l;break}if(c+=l,t?c<0:s<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:s>c;c+=l)c in a&&(i=n(i,a[c],c,o));return i}},Qu={left:Ku(!1),right:Ku(!0)},Ju="process"==h(a.process),$u=Qu.left,tg=ti("reduce"),eg=ii("reduce",{1:0});H({target:"Array",proto:!0,forced:!tg||!eg||!Ju&&Si>79&&Si<83},{reduce:function(t){return $u(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var ng,rg=K("Array").reduce,ig=Array.prototype,og=function(t){var e=t.reduce;return t===ig||t instanceof Array&&e===ig.reduce?rg:e},ag=new Uint8Array(16);function sg(){if(!ng&&!(ng="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ng(ag)}var cg=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function lg(t){return"string"===typeof t&&cg.test(t)}for(var ug=[],gg=0;gg<256;++gg)ug.push((gg+256).toString(16).substr(1));function fg(t,e,n){var r=(t=t||{}).random||(t.rng||sg)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=r[i];return e}return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ug[t[e+0]]+ug[t[e+1]]+ug[t[e+2]]+ug[t[e+3]]+"-"+ug[t[e+4]]+ug[t[e+5]]+"-"+ug[t[e+6]]+ug[t[e+7]]+"-"+ug[t[e+8]]+ug[t[e+9]]+"-"+ug[t[e+10]]+ug[t[e+11]]+ug[t[e+12]]+ug[t[e+13]]+ug[t[e+14]]+ug[t[e+15]]).toLowerCase();if(!lg(n))throw TypeError("Stringified UUID is invalid");return n}(r)}function dg(t,e){var n=Xo(t);if(kn){var r=kn(t);e&&(r=Ri(r).call(r,(function(e){return Yt(t,e).enumerable}))),n.push.apply(n,r)}return n}function hg(t){for(var e=1;e<arguments.length;e++){var n,r=null!=arguments[e]?arguments[e]:{};if(e%2)Ao(n=dg(Object(r),!0)).call(n,(function(e){Ur(t,e,r[e])}));else if(Bt)Mt(t,Bt(r));else{var i;Ao(i=dg(Object(r))).call(i,(function(e){Et(t,e,Yt(r,e))}))}}return t}function pg(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}function Ag(t,e){var n;if("undefined"===typeof da||null==ur(t)){if(ta(t)||(n=function(t,e){var n;if(!t)return;if("string"===typeof t)return Cg(t,e);var r=oa(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return br(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cg(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=lr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Cg(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function vg(t){return"string"===typeof t||"number"===typeof t}var Ig=function(){function t(e){Fr(this,t),this._queue=[],this._timeout=null,this._extended=null,this.delay=null,this.max=1/0,this.setOptions(e)}return Vr(t,[{key:"setOptions",value:function(t){t&&"undefined"!==typeof t.delay&&(this.delay=t.delay),t&&"undefined"!==typeof t.max&&(this.max=t.max),this._flushIfNeeded()}},{key:"destroy",value:function(){if(this.flush(),this._extended){for(var t=this._extended.object,e=this._extended.methods,n=0;n<e.length;n++){var r=e[n];r.original?t[r.name]=r.original:delete t[r.name]}this._extended=null}}},{key:"replace",value:function(t,e){var n=this,r=t[e];if(!r)throw new Error("Method "+e+" undefined");t[e]=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];n.queue({args:e,fn:r,context:this})}}},{key:"queue",value:function(t){"function"===typeof t?this._queue.push({fn:t}):this._queue.push(t),this._flushIfNeeded()}},{key:"_flushIfNeeded",value:function(){var t=this;this._queue.length>this.max&&this.flush(),null!=this._timeout&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&"number"===typeof this.delay&&(this._timeout=Er((function(){t.flush()}),this.delay))}},{key:"flush",value:function(){var t,e;Ao(t=no(e=this._queue).call(e,0)).call(t,(function(t){t.fn.apply(t.context||t.fn,t.args||[])}))}}],[{key:"extend",value:function(e,n){var r=new t(n);if(void 0!==e.flush)throw new Error("Target object already has a property flush");e.flush=function(){r.flush()};var i=[{name:"flush",original:void 0}];if(n&&n.replace)for(var o=0;o<n.replace.length;o++){var a=n.replace[o];i.push({name:a,original:e[a]}),r.replace(e,a)}return r._extended={object:e,methods:i},r}}]),t}(),yg=function(){function t(){Fr(this,t),this._subscribers={"*":[],add:[],remove:[],update:[]},this.subscribe=t.prototype.on,this.unsubscribe=t.prototype.off}return Vr(t,[{key:"_trigger",value:function(t,e,n){var r,i;if("*"===t)throw new Error("Cannot trigger event *");Ao(r=fa(i=[]).call(i,la(this._subscribers[t]),la(this._subscribers["*"]))).call(r,(function(r){r(t,e,null!=n?n:null)}))}},{key:"on",value:function(t,e){"function"===typeof e&&this._subscribers[t].push(e)}},{key:"off",value:function(t,e){var n;this._subscribers[t]=Ri(n=this._subscribers[t]).call(n,(function(t){return t!==e}))}}]),t}(),mg=function(){function t(e){Fr(this,t),this._pairs=e}return Vr(t,[{key:Zu,value:Xu.mark((function t(){var e,n,r,i,o;return Xu.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Ag(this._pairs),t.prev=1,e.s();case 3:if((n=e.n()).done){t.next=9;break}return r=Yo(n.value,2),i=r[0],o=r[1],t.next=7,[i,o];case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"entries",value:Xu.mark((function t(){var e,n,r,i,o;return Xu.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Ag(this._pairs),t.prev=1,e.s();case 3:if((n=e.n()).done){t.next=9;break}return r=Yo(n.value,2),i=r[0],o=r[1],t.next=7,[i,o];case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"keys",value:Xu.mark((function t(){var e,n,r,i;return Xu.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Ag(this._pairs),t.prev=1,e.s();case 3:if((n=e.n()).done){t.next=9;break}return r=Yo(n.value,1),i=r[0],t.next=7,i;case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"values",value:Xu.mark((function t(){var e,n,r,i;return Xu.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Ag(this._pairs),t.prev=1,e.s();case 3:if((n=e.n()).done){t.next=9;break}return r=Yo(n.value,2),i=r[1],t.next=7,i;case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),e.e(t.t0);case 14:return t.prev=14,e.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,this,[[1,11,14,17]])}))},{key:"toIdArray",value:function(){var t;return $o(t=la(this._pairs)).call(t,(function(t){return t[0]}))}},{key:"toItemArray",value:function(){var t;return $o(t=la(this._pairs)).call(t,(function(t){return t[1]}))}},{key:"toEntryArray",value:function(){return la(this._pairs)}},{key:"toObjectMap",value:function(){var t,e=Yr(null),n=Ag(this._pairs);try{for(n.s();!(t=n.n()).done;){var r=Yo(t.value,2),i=r[0],o=r[1];e[i]=o}}catch(a){n.e(a)}finally{n.f()}return e}},{key:"toMap",value:function(){return new eu(this._pairs)}},{key:"toIdSet",value:function(){return new Uu(this.toIdArray())}},{key:"toItemSet",value:function(){return new Uu(this.toItemArray())}},{key:"cache",value:function(){return new t(la(this._pairs))}},{key:"distinct",value:function(t){var e,n=new Uu,r=Ag(this._pairs);try{for(r.s();!(e=r.n()).done;){var i=Yo(e.value,2),o=i[0],a=i[1];n.add(t(a,o))}}catch(s){r.e(s)}finally{r.f()}return n}},{key:"filter",value:function(e){var n=this._pairs;return new t(Ur({},Zu,Xu.mark((function t(){var r,i,o,a,s;return Xu.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=Ag(n),t.prev=1,r.s();case 3:if((i=r.n()).done){t.next=10;break}if(o=Yo(i.value,2),a=o[0],s=o[1],!e(s,a)){t.next=8;break}return t.next=8,[a,s];case 8:t.next=3;break;case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),r.e(t.t0);case 15:return t.prev=15,r.f(),t.finish(15);case 18:case"end":return t.stop()}}),t,null,[[1,12,15,18]])}))))}},{key:"forEach",value:function(t){var e,n=Ag(this._pairs);try{for(n.s();!(e=n.n()).done;){var r=Yo(e.value,2),i=r[0];t(r[1],i)}}catch(o){n.e(o)}finally{n.f()}}},{key:"map",value:function(e){var n=this._pairs;return new t(Ur({},Zu,Xu.mark((function t(){var r,i,o,a,s;return Xu.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=Ag(n),t.prev=1,r.s();case 3:if((i=r.n()).done){t.next=9;break}return o=Yo(i.value,2),a=o[0],s=o[1],t.next=7,[a,e(s,a)];case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),r.e(t.t0);case 14:return t.prev=14,r.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[1,11,14,17]])}))))}},{key:"max",value:function(t){var e=lr(this._pairs),n=e.next();if(n.done)return null;for(var r=n.value[1],i=t(n.value[1],n.value[0]);!(n=e.next()).done;){var o=Yo(n.value,2),a=o[0],s=o[1],c=t(s,a);c>i&&(i=c,r=s)}return r}},{key:"min",value:function(t){var e=lr(this._pairs),n=e.next();if(n.done)return null;for(var r=n.value[1],i=t(n.value[1],n.value[0]);!(n=e.next()).done;){var o=Yo(n.value,2),a=o[0],s=o[1],c=t(s,a);c<i&&(i=c,r=s)}return r}},{key:"reduce",value:function(t,e){var n,r=Ag(this._pairs);try{for(r.s();!(n=r.n()).done;){var i=Yo(n.value,2),o=i[0];e=t(e,i[1],o)}}catch(a){r.e(a)}finally{r.f()}return e}},{key:"sort",value:function(e){var n=this;return new t(Ur({},Zu,(function(){var t;return lr(Hu(t=la(n._pairs)).call(t,(function(t,n){var r=Yo(t,2),i=r[0],o=r[1],a=Yo(n,2),s=a[0],c=a[1];return e(o,c,i,s)})))})))}}]),t}();var bg=function(t){Ru(n,t);var e=pg(n);function n(t,r){var i;return Fr(this,n),(i=e.call(this))._queue=null,t&&!ta(t)&&(r=t,t=[]),i._options=r||{},i._data=new eu,i.length=0,i._idProp=i._options.fieldId||"id",t&&t.length&&i.add(t),i.setOptions(r),i}return Vr(n,[{key:"idProp",get:function(){return this._idProp}},{key:"setOptions",value:function(t){t&&void 0!==t.queue&&(!1===t.queue?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=Ig.extend(this,{replace:["add","update","remove"]})),t.queue&&"object"===ra(t.queue)&&this._queue.setOptions(t.queue)))}},{key:"add",value:function(t,e){var n,r=this,i=[];if(ta(t)){var o=$o(t).call(t,(function(t){return t[r._idProp]}));if(cu(o).call(o,(function(t){return r._data.has(t)})))throw new Error("A duplicate id was found in the parameter array.");for(var a=0,s=t.length;a<s;a++)n=this._addItem(t[a]),i.push(n)}else{if(!t||"object"!==ra(t))throw new Error("Unknown dataType");n=this._addItem(t),i.push(n)}return i.length&&this._trigger("add",{items:i},e),i}},{key:"update",value:function(t,e){var n=this,r=[],i=[],o=[],a=[],s=this._idProp,c=function(t){var e=t[s];if(null!=e&&n._data.has(e)){var c=t,l=yt({},n._data.get(e)),u=n._updateItem(c);i.push(u),a.push(c),o.push(l)}else{var g=n._addItem(t);r.push(g)}};if(ta(t))for(var l=0,u=t.length;l<u;l++)t[l]&&"object"===ra(t[l])?c(t[l]):console.warn("Ignoring input item, which is not an object at index "+l);else{if(!t||"object"!==ra(t))throw new Error("Unknown dataType");c(t)}if(r.length&&this._trigger("add",{items:r},e),i.length){var g={items:i,oldData:o,data:a};this._trigger("update",g,e)}return fa(r).call(r,i)}},{key:"updateOnly",value:function(t,e){var n,r=this;ta(t)||(t=[t]);var i=$o(n=$o(t).call(t,(function(t){var e=r._data.get(t[r._idProp]);if(null==e)throw new Error("Updating non-existent items is not allowed.");return{oldData:e,update:t}}))).call(n,(function(t){var e=t.oldData,n=t.update,i=e[r._idProp],o=function(t){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return oc.apply(void 0,fa(e=[{},t]).call(e,r))}(e,n);return r._data.set(i,o),{id:i,oldData:e,updatedData:o}}));if(i.length){var o={items:$o(i).call(i,(function(t){return t.id})),oldData:$o(i).call(i,(function(t){return t.oldData})),data:$o(i).call(i,(function(t){return t.updatedData}))};return this._trigger("update",o,e),o.items}return[]}},{key:"get",value:function(t,e){var n=void 0,r=void 0,i=void 0;vg(t)?(n=t,i=e):ta(t)?(r=t,i=e):i=t;var o,a=i&&"Object"===i.returnType?"Object":"Array",s=i&&Ri(i),c=[],l=void 0,u=void 0,g=void 0;if(null!=n)(l=this._data.get(n))&&s&&!s(l)&&(l=void 0);else if(null!=r)for(var f=0,d=r.length;f<d;f++)null==(l=this._data.get(r[f]))||s&&!s(l)||c.push(l);else for(var h,p=0,A=(u=la(Eu(h=this._data).call(h))).length;p<A;p++)g=u[p],null==(l=this._data.get(g))||s&&!s(l)||c.push(l);if(i&&i.order&&void 0==n&&this._sort(c,i.order),i&&i.fields){var C=i.fields;if(void 0!=n&&null!=l)l=this._filterFields(l,C);else for(var v=0,I=c.length;v<I;v++)c[v]=this._filterFields(c[v],C)}if("Object"==a){for(var y={},m=0,b=c.length;m<b;m++){var x=c[m];y[x[this._idProp]]=x}return y}return null!=n?null!==(o=l)&&void 0!==o?o:null:c}},{key:"getIds",value:function(t){var e=this._data,n=t&&Ri(t),r=t&&t.order,i=la(Eu(e).call(e)),o=[];if(n)if(r){for(var a=[],s=0,c=i.length;s<c;s++){var l=i[s],u=this._data.get(l);null!=u&&n(u)&&a.push(u)}this._sort(a,r);for(var g=0,f=a.length;g<f;g++)o.push(a[g][this._idProp])}else for(var d=0,h=i.length;d<h;d++){var p=i[d],A=this._data.get(p);null!=A&&n(A)&&o.push(A[this._idProp])}else if(r){for(var C=[],v=0,I=i.length;v<I;v++){var y=i[v];C.push(e.get(y))}this._sort(C,r);for(var m=0,b=C.length;m<b;m++)o.push(C[m][this._idProp])}else for(var x=0,w=i.length;x<w;x++){var O=i[x],S=e.get(O);null!=S&&o.push(S[this._idProp])}return o}},{key:"getDataSet",value:function(){return this}},{key:"forEach",value:function(t,e){var n=e&&Ri(e),r=this._data,i=la(Eu(r).call(r));if(e&&e.order)for(var o=this.get(e),a=0,s=o.length;a<s;a++){var c=o[a];t(c,c[this._idProp])}else for(var l=0,u=i.length;l<u;l++){var g=i[l],f=this._data.get(g);null==f||n&&!n(f)||t(f,g)}}},{key:"map",value:function(t,e){for(var n=e&&Ri(e),r=[],i=this._data,o=la(Eu(i).call(i)),a=0,s=o.length;a<s;a++){var c=o[a],l=this._data.get(c);null==l||n&&!n(l)||r.push(t(l,c))}return e&&e.order&&this._sort(r,e.order),r}},{key:"_filterFields",value:function(t,e){var n;return t?og(n=ta(e)?e:Xo(e)).call(n,(function(e,n){return e[n]=t[n],e}),{}):t}},{key:"_sort",value:function(t,e){if("string"===typeof e){var n=e;Hu(t).call(t,(function(t,e){var r=t[n],i=e[n];return r>i?1:r<i?-1:0}))}else{if("function"!==typeof e)throw new TypeError("Order must be a function or a string");Hu(t).call(t,e)}}},{key:"remove",value:function(t,e){for(var n=[],r=[],i=ta(t)?t:[t],o=0,a=i.length;o<a;o++){var s=this._remove(i[o]);if(s){var c=s[this._idProp];null!=c&&(n.push(c),r.push(s))}}return n.length&&this._trigger("remove",{items:n,oldData:r},e),n}},{key:"_remove",value:function(t){var e;if(vg(t)?e=t:t&&"object"===ra(t)&&(e=t[this._idProp]),null!=e&&this._data.has(e)){var n=this._data.get(e)||null;return this._data.delete(e),--this.length,n}return null}},{key:"clear",value:function(t){for(var e,n=la(Eu(e=this._data).call(e)),r=[],i=0,o=n.length;i<o;i++)r.push(this._data.get(n[i]));return this._data.clear(),this.length=0,this._trigger("remove",{items:n,oldData:r},t),n}},{key:"max",value:function(t){var e,n,r=null,i=null,o=Ag(Su(e=this._data).call(e));try{for(o.s();!(n=o.n()).done;){var a=n.value,s=a[t];"number"===typeof s&&(null==i||s>i)&&(r=a,i=s)}}catch(c){o.e(c)}finally{o.f()}return r||null}},{key:"min",value:function(t){var e,n,r=null,i=null,o=Ag(Su(e=this._data).call(e));try{for(o.s();!(n=o.n()).done;){var a=n.value,s=a[t];"number"===typeof s&&(null==i||s<i)&&(r=a,i=s)}}catch(c){o.e(c)}finally{o.f()}return r||null}},{key:"distinct",value:function(t){for(var e=this._data,n=la(Eu(e).call(e)),r=[],i=0,o=0,a=n.length;o<a;o++){for(var s=n[o],c=e.get(s)[t],l=!1,u=0;u<i;u++)if(r[u]==c){l=!0;break}l||void 0===c||(r[i]=c,i++)}return r}},{key:"_addItem",value:function(t){var e=function(t,e){return null==t[e]&&(t[e]=fg()),t}(t,this._idProp),n=e[this._idProp];if(this._data.has(n))throw new Error("Cannot add item: item with id "+n+" already exists");return this._data.set(n,e),++this.length,n}},{key:"_updateItem",value:function(t){var e=t[this._idProp];if(null==e)throw new Error("Cannot update item: item has no id (item: "+Lr(t)+")");var n=this._data.get(e);if(!n)throw new Error("Cannot update item: no item with id "+e+" found");return this._data.set(e,hg(hg({},n),t)),e}},{key:"stream",value:function(t){if(t){var e=this._data;return new mg(Ur({},Zu,Xu.mark((function n(){var r,i,o,a;return Xu.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:r=Ag(t),n.prev=1,r.s();case 3:if((i=r.n()).done){n.next=11;break}if(o=i.value,null==(a=e.get(o))){n.next=9;break}return n.next=9,[o,a];case 9:n.next=3;break;case 11:n.next=16;break;case 13:n.prev=13,n.t0=n.catch(1),r.e(n.t0);case 16:return n.prev=16,r.f(),n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[1,13,16,19]])}))))}var n;return new mg(Ur({},Zu,$(n=bu(this._data)).call(n,this._data)))}}]),n}(yg);function xg(t,e){return"object"===ra(e)&&null!==e&&t===e.idProp&&"function"===typeof e.add&&"function"===typeof e.clear&&"function"===typeof e.distinct&&"function"===typeof Ao(e)&&"function"===typeof e.get&&"function"===typeof e.getDataSet&&"function"===typeof e.getIds&&"number"===typeof e.length&&"function"===typeof $o(e)&&"function"===typeof e.max&&"function"===typeof e.min&&"function"===typeof e.off&&"function"===typeof e.on&&"function"===typeof e.remove&&"function"===typeof e.setOptions&&"function"===typeof e.stream&&"function"===typeof e.update&&"function"===typeof e.updateOnly}function wg(t,e){return"object"===ra(e)&&null!==e&&t===e.idProp&&"function"===typeof Ao(e)&&"function"===typeof e.get&&"function"===typeof e.getDataSet&&"function"===typeof e.getIds&&"number"===typeof e.length&&"function"===typeof $o(e)&&"function"===typeof e.off&&"function"===typeof e.on&&"function"===typeof e.stream&&xg(t,e.getDataSet())}var Og=ge.f,Sg=s((function(){return!Object.getOwnPropertyNames(1)}));H({target:"Object",stat:!0,forced:Sg},{getOwnPropertyNames:Og});var _g=N.Object,kg=function(t){return _g.getOwnPropertyNames(t)},jg=Jr.trim,Eg=a.parseFloat,Pg=1/Eg(Xr+"-0")!==-1/0?function(t){var e=jg(String(t)),n=Eg(e);return 0===n&&"-"==e.charAt(0)?-0:n}:Eg;H({global:!0,forced:parseFloat!=Pg},{parseFloat:Pg});var Mg=N.parseFloat;function Tg(t,e){var n=["node","edge","label"],r=!0,i=Wc(e,"chosen");if("boolean"===typeof i)r=i;else if("object"===ra(i)){if(-1===fi(n).call(n,t))throw new Error("choosify: subOption '"+t+"' should be one of '"+n.join("', '")+"'");var o=Wc(e,["chosen",t]);"boolean"!==typeof o&&"function"!==typeof o||(r=o)}return r}function Rg(t,e,n){if(t.width<=0||t.height<=0)return!1;if(void 0!==n){var r={x:e.x-n.x,y:e.y-n.y};if(0!==n.angle){var i=-n.angle;e={x:Math.cos(i)*r.x-Math.sin(i)*r.y,y:Math.sin(i)*r.x+Math.cos(i)*r.y}}else e=r}var o=t.x+t.width,a=t.y+t.width;return t.left<e.x&&o>e.x&&t.top<e.y&&a>e.y}function Dg(t){return"string"===typeof t&&""!==t}function Ng(t,e,n,r){var i=r.x,o=r.y;if("function"===typeof r.distanceToBorder){var a=r.distanceToBorder(t,e),s=Math.sin(e)*a,c=Math.cos(e)*a;c===a?(i+=a,o=r.y):s===a?(i=r.x,o-=a):(i+=c,o-=s)}else r.shape.width>r.shape.height?(i=r.x+.5*r.shape.width,o=r.y-n):(i=r.x+n,o=r.y-.5*r.shape.height);return{x:i,y:o}}var Lg=function(){function t(e){Fr(this,t),this.measureText=e,this.current=0,this.width=0,this.height=0,this.lines=[]}return Vr(t,[{key:"_add",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";void 0===this.lines[t]&&(this.lines[t]={width:0,height:0,blocks:[]});var r=e;void 0!==e&&""!==e||(r=" ");var i=this.measureText(r,n),o=yt({},Su(i));o.text=e,o.width=i.width,o.mod=n,void 0!==e&&""!==e||(o.width=0),this.lines[t].blocks.push(o),this.lines[t].width+=o.width}},{key:"curWidth",value:function(){var t=this.lines[this.current];return void 0===t?0:t.width}},{key:"append",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";this._add(this.current,t,e)}},{key:"newLine",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";this._add(this.current,t,e),this.current++}},{key:"determineLineHeights",value:function(){for(var t=0;t<this.lines.length;t++){var e=this.lines[t],n=0;if(void 0!==e.blocks)for(var r=0;r<e.blocks.length;r++){var i=e.blocks[r];n<i.height&&(n=i.height)}e.height=n}}},{key:"determineLabelSize",value:function(){for(var t=0,e=0,n=0;n<this.lines.length;n++){var r=this.lines[n];r.width>t&&(t=r.width),e+=r.height}this.width=t,this.height=e}},{key:"removeEmptyBlocks",value:function(){for(var t=[],e=0;e<this.lines.length;e++){var n=this.lines[e];if(0!==n.blocks.length&&(e!==this.lines.length-1||0!==n.width)){var r={};yt(r,n),r.blocks=[];for(var i=void 0,o=[],a=0;a<n.blocks.length;a++){var s=n.blocks[a];0!==s.width?o.push(s):void 0===i&&(i=s)}0===o.length&&void 0!==i&&o.push(i),r.blocks=o,t.push(r)}}return t}},{key:"finalize",value:function(){this.determineLineHeights(),this.determineLabelSize();var t=this.removeEmptyBlocks();return{width:this.width,height:this.height,lines:t}}}]),t}(),Fg={"<b>":/<b>/,"<i>":/<i>/,"<code>":/<code>/,"</b>":/<\/b>/,"</i>":/<\/i>/,"</code>":/<\/code>/,"*":/\*/,_:/_/,"`":/`/,afterBold:/[^*]/,afterItal:/[^_]/,afterMono:/[^`]/},Bg=function(){function t(e){Fr(this,t),this.text=e,this.bold=!1,this.ital=!1,this.mono=!1,this.spacing=!1,this.position=0,this.buffer="",this.modStack=[],this.blocks=[]}return Vr(t,[{key:"mod",value:function(){return 0===this.modStack.length?"normal":this.modStack[0]}},{key:"modName",value:function(){return 0===this.modStack.length?"normal":"mono"===this.modStack[0]?"mono":this.bold&&this.ital?"boldital":this.bold?"bold":this.ital?"ital":void 0}},{key:"emitBlock",value:function(){this.spacing&&(this.add(" "),this.spacing=!1),this.buffer.length>0&&(this.blocks.push({text:this.buffer,mod:this.modName()}),this.buffer="")}},{key:"add",value:function(t){" "===t&&(this.spacing=!0),this.spacing&&(this.buffer+=" ",this.spacing=!1)," "!=t&&(this.buffer+=t)}},{key:"parseWS",value:function(t){return!!/[ \t]/.test(t)&&(this.mono?this.add(t):this.spacing=!0,!0)}},{key:"setTag",value:function(t){this.emitBlock(),this[t]=!0,this.modStack.unshift(t)}},{key:"unsetTag",value:function(t){this.emitBlock(),this[t]=!1,this.modStack.shift()}},{key:"parseStartTag",value:function(t,e){return!(this.mono||this[t]||!this.match(e))&&(this.setTag(t),!0)}},{key:"match",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.prepareRegExp(t),r=Yo(n,2),i=r[0],o=r[1],a=i.test(this.text.substr(this.position,o));return a&&e&&(this.position+=o-1),a}},{key:"parseEndTag",value:function(t,e,n){var r=this.mod()===t;return!(!(r="mono"===t?r&&this.mono:r&&!this.mono)||!this.match(e))&&(void 0!==n?(this.position===this.text.length-1||this.match(n,!1))&&this.unsetTag(t):this.unsetTag(t),!0)}},{key:"replace",value:function(t,e){return!!this.match(t)&&(this.add(e),this.position+=length-1,!0)}},{key:"prepareRegExp",value:function(t){var e,n;if(t instanceof RegExp)n=t,e=1;else{var r=Fg[t];n=void 0!==r?r:new RegExp(t),e=t.length}return[n,e]}}]),t}(),zg=function(){function t(e,n,r,i){var o=this;Fr(this,t),this.ctx=e,this.parent=n,this.selected=r,this.hover=i;this.lines=new Lg((function(t,n){if(void 0===t)return 0;var a=o.parent.getFormattingValues(e,r,i,n),s=0;""!==t&&(s=o.ctx.measureText(t).width);return{width:s,values:a}}))}return Vr(t,[{key:"process",value:function(t){if(!Dg(t))return this.lines.finalize();var e=this.parent.fontOptions;t=(t=t.replace(/\r\n/g,"\n")).replace(/\r/g,"\n");var n=String(t).split("\n"),r=n.length;if(e.multi)for(var i=0;i<r;i++){var o=this.splitBlocks(n[i],e.multi);if(void 0!==o)if(0!==o.length){if(e.maxWdt>0)for(var a=0;a<o.length;a++){var s=o[a].mod,c=o[a].text;this.splitStringIntoLines(c,s,!0)}else for(var l=0;l<o.length;l++){var u=o[l].mod,g=o[l].text;this.lines.append(g,u)}this.lines.newLine()}else this.lines.newLine("")}else if(e.maxWdt>0)for(var f=0;f<r;f++)this.splitStringIntoLines(n[f]);else for(var d=0;d<r;d++)this.lines.newLine(n[d]);return this.lines.finalize()}},{key:"decodeMarkupSystem",value:function(t){var e="none";return"markdown"===t||"md"===t?e="markdown":!0!==t&&"html"!==t||(e="html"),e}},{key:"splitHtmlBlocks",value:function(t){for(var e=new Bg(t),n=function(t){return!!/&/.test(t)&&(e.replace(e.text,"<","<")||e.replace(e.text,"&","&")||e.add("&"),!0)};e.position<e.text.length;){var r=e.text.charAt(e.position);e.parseWS(r)||/</.test(r)&&(e.parseStartTag("bold","<b>")||e.parseStartTag("ital","<i>")||e.parseStartTag("mono","<code>")||e.parseEndTag("bold","</b>")||e.parseEndTag("ital","</i>")||e.parseEndTag("mono","</code>"))||n(r)||e.add(r),e.position++}return e.emitBlock(),e.blocks}},{key:"splitMarkdownBlocks",value:function(t){for(var e=this,n=new Bg(t),r=!0,i=function(t){return!!/\\/.test(t)&&(n.position<e.text.length+1&&(n.position++,t=e.text.charAt(n.position),/ \t/.test(t)?n.spacing=!0:(n.add(t),r=!1)),!0)};n.position<n.text.length;){var o=n.text.charAt(n.position);n.parseWS(o)||i(o)||(r||n.spacing)&&(n.parseStartTag("bold","*")||n.parseStartTag("ital","_")||n.parseStartTag("mono","`"))||n.parseEndTag("bold","*","afterBold")||n.parseEndTag("ital","_","afterItal")||n.parseEndTag("mono","`","afterMono")||(n.add(o),r=!1),n.position++}return n.emitBlock(),n.blocks}},{key:"splitBlocks",value:function(t,e){var n=this.decodeMarkupSystem(e);return"none"===n?[{text:t,mod:"normal"}]:"markdown"===n?this.splitMarkdownBlocks(t):"html"===n?this.splitHtmlBlocks(t):void 0}},{key:"overMaxWidth",value:function(t){var e=this.ctx.measureText(t).width;return this.lines.curWidth()+e>this.parent.fontOptions.maxWdt}},{key:"getLongestFit",value:function(t){for(var e="",n=0;n<t.length;){var r=e+(""===e?"":" ")+t[n];if(this.overMaxWidth(r))break;e=r,n++}return n}},{key:"getLongestFitWord",value:function(t){for(var e=0;e<t.length&&!this.overMaxWidth(oa(t).call(t,0,e));)e++;return e}},{key:"splitStringIntoLines",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parent.getFormattingValues(this.ctx,this.selected,this.hover,e);for(var r=(t=(t=t.replace(/^( +)/g,"$1\r")).replace(/([^\r][^ ]*)( +)/g,"$1\r$2\r")).split("\r");r.length>0;){var i=this.getLongestFit(r);if(0===i){var o=r[0],a=this.getLongestFitWord(o);this.lines.newLine(oa(o).call(o,0,a),e),r[0]=oa(o).call(o,a)}else{var s=i;" "===r[i-1]?i--:" "===r[s]&&s++;var c=oa(r).call(r,0,i).join("");i==r.length&&n?this.lines.append(c,e):this.lines.newLine(c,e),r=oa(r).call(r,s)}}}}]),t}(),Vg=["bold","ital","boldital","mono"],Gg=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Fr(this,t),this.body=e,this.pointToSelf=!1,this.baseSize=void 0,this.fontOptions={},this.setOptions(n),this.size={top:0,left:0,width:0,height:0,yLine:0},this.isEdgeLabel=r}return Vr(t,[{key:"setOptions",value:function(t){if(this.elementOptions=t,this.initFontOptions(t.font),Dg(t.label)?this.labelDirty=!0:t.label=void 0,void 0!==t.font&&null!==t.font)if("string"===typeof t.font)this.baseSize=this.fontOptions.size;else if("object"===ra(t.font)){var e=t.font.size;void 0!==e&&(this.baseSize=e)}}},{key:"initFontOptions",value:function(e){var n=this;jc(Vg,(function(t){n.fontOptions[t]={}})),t.parseFontString(this.fontOptions,e)?this.fontOptions.vadjust=0:jc(e,(function(t,e){void 0!==t&&null!==t&&"object"!==ra(t)&&(n.fontOptions[e]=t)}))}},{key:"constrain",value:function(t){var e={constrainWidth:!1,maxWdt:-1,minWdt:-1,constrainHeight:!1,minHgt:-1,valign:"middle"},n=Wc(t,"widthConstraint");if("number"===typeof n)e.maxWdt=Number(n),e.minWdt=Number(n);else if("object"===ra(n)){var r=Wc(t,["widthConstraint","maximum"]);"number"===typeof r&&(e.maxWdt=Number(r));var i=Wc(t,["widthConstraint","minimum"]);"number"===typeof i&&(e.minWdt=Number(i))}var o=Wc(t,"heightConstraint");if("number"===typeof o)e.minHgt=Number(o);else if("object"===ra(o)){var a=Wc(t,["heightConstraint","minimum"]);"number"===typeof a&&(e.minHgt=Number(a));var s=Wc(t,["heightConstraint","valign"]);"string"===typeof s&&("top"!==s&&"bottom"!==s||(e.valign=s))}return e}},{key:"update",value:function(t,e){this.setOptions(t,!0),this.propagateFonts(e),Oc(this.fontOptions,this.constrain(e)),this.fontOptions.chooser=Tg("label",e)}},{key:"adjustSizes",value:function(t){var e=t?t.right+t.left:0;this.fontOptions.constrainWidth&&(this.fontOptions.maxWdt-=e,this.fontOptions.minWdt-=e);var n=t?t.top+t.bottom:0;this.fontOptions.constrainHeight&&(this.fontOptions.minHgt-=n)}},{key:"addFontOptionsToPile",value:function(t,e){for(var n=0;n<e.length;++n)this.addFontToPile(t,e[n])}},{key:"addFontToPile",value:function(t,e){if(void 0!==e&&void 0!==e.font&&null!==e.font){var n=e.font;t.push(n)}}},{key:"getBasicOptions",value:function(e){for(var n={},r=0;r<e.length;++r){var i=e[r],o={};t.parseFontString(o,i)&&(i=o),jc(i,(function(t,e){void 0!==t&&(Object.prototype.hasOwnProperty.call(n,e)||(-1!==fi(Vg).call(Vg,e)?n[e]={}:n[e]=t))}))}return n}},{key:"getFontOption",value:function(e,n,r){for(var i,o=0;o<e.length;++o){var a=e[o];if(Object.prototype.hasOwnProperty.call(a,n)){if(void 0===(i=a[n])||null===i)continue;var s={};if(t.parseFontString(s,i)&&(i=s),Object.prototype.hasOwnProperty.call(i,r))return i[r]}}if(Object.prototype.hasOwnProperty.call(this.fontOptions,r))return this.fontOptions[r];throw new Error("Did not find value for multi-font for property: '"+r+"'")}},{key:"getFontOptions",value:function(t,e){for(var n={},r=["color","size","face","mod","vadjust"],i=0;i<r.length;++i){var o=r[i];n[o]=this.getFontOption(t,e,o)}return n}},{key:"propagateFonts",value:function(t){var e=this,n=[];this.addFontOptionsToPile(n,t),this.fontOptions=this.getBasicOptions(n);for(var r=function(t){var r=Vg[t],i=e.fontOptions[r];jc(e.getFontOptions(n,r),(function(t,e){i[e]=t})),i.size=Number(i.size),i.vadjust=Number(i.vadjust)},i=0;i<Vg.length;++i)r(i)}},{key:"draw",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"middle";if(void 0!==this.elementOptions.label){var a=this.fontOptions.size*this.body.view.scale;this.elementOptions.label&&a<this.elementOptions.scaling.label.drawThreshold-1||(a>=this.elementOptions.scaling.label.maxVisible&&(a=Number(this.elementOptions.scaling.label.maxVisible)/this.body.view.scale),this.calculateLabelSize(t,r,i,e,n,o),this._drawBackground(t),this._drawText(t,e,this.size.yLine,o,a))}}},{key:"_drawBackground",value:function(t){if(void 0!==this.fontOptions.background&&"none"!==this.fontOptions.background){t.fillStyle=this.fontOptions.background;var e=this.getSize();t.fillRect(e.left,e.top,e.width,e.height)}}},{key:"_drawText",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"middle",i=arguments.length>4?arguments[4]:void 0,o=this._setAlignment(t,e,n,r),a=Yo(o,2);e=a[0],n=a[1],t.textAlign="left",e-=this.size.width/2,this.fontOptions.valign&&this.size.height>this.size.labelHeight&&("top"===this.fontOptions.valign&&(n-=(this.size.height-this.size.labelHeight)/2),"bottom"===this.fontOptions.valign&&(n+=(this.size.height-this.size.labelHeight)/2));for(var s=0;s<this.lineCount;s++){var c=this.lines[s];if(c&&c.blocks){var l=0;this.isEdgeLabel||"center"===this.fontOptions.align?l+=(this.size.width-c.width)/2:"right"===this.fontOptions.align&&(l+=this.size.width-c.width);for(var u=0;u<c.blocks.length;u++){var g=c.blocks[u];t.font=g.font;var f=this._getColor(g.color,i,g.strokeColor),d=Yo(f,2),h=d[0],p=d[1];g.strokeWidth>0&&(t.lineWidth=g.strokeWidth,t.strokeStyle=p,t.lineJoin="round"),t.fillStyle=h,g.strokeWidth>0&&t.strokeText(g.text,e+l,n+g.vadjust),t.fillText(g.text,e+l,n+g.vadjust),l+=g.width}n+=c.height}}}},{key:"_setAlignment",value:function(t,e,n,r){if(this.isEdgeLabel&&"horizontal"!==this.fontOptions.align&&!1===this.pointToSelf){e=0,n=0;"top"===this.fontOptions.align?(t.textBaseline="alphabetic",n-=4):"bottom"===this.fontOptions.align?(t.textBaseline="hanging",n+=4):t.textBaseline="middle"}else t.textBaseline=r;return[e,n]}},{key:"_getColor",value:function(t,e,n){var r=t||"#000000",i=n||"#ffffff";if(e<=this.elementOptions.scaling.label.drawThreshold){var o=Math.max(0,Math.min(1,1-(this.elementOptions.scaling.label.drawThreshold-e)));r=Pc(r,o),i=Pc(i,o)}return[r,i]}},{key:"getTextSize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._processLabel(t,e,n),{width:this.size.width,height:this.size.height,lineCount:this.lineCount}}},{key:"getSize",value:function(){var t=this.size.left,e=this.size.top-1;if(this.isEdgeLabel){var n=.5*-this.size.width;switch(this.fontOptions.align){case"middle":t=n,e=.5*-this.size.height;break;case"top":t=n,e=-(this.size.height+2);break;case"bottom":t=n,e=2}}return{left:t,top:e,width:this.size.width,height:this.size.height}}},{key:"calculateLabelSize",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"middle";this._processLabel(t,e,n),this.size.left=r-.5*this.size.width,this.size.top=i-.5*this.size.height,this.size.yLine=i+.5*(1-this.lineCount)*this.fontOptions.size,"hanging"===o&&(this.size.top+=.5*this.fontOptions.size,this.size.top+=4,this.size.yLine+=4)}},{key:"getFormattingValues",value:function(t,e,n,r){var i=function(t,e,n){return"normal"===e?"mod"===n?"":t[n]:void 0!==t[e][n]?t[e][n]:t[n]},o={color:i(this.fontOptions,r,"color"),size:i(this.fontOptions,r,"size"),face:i(this.fontOptions,r,"face"),mod:i(this.fontOptions,r,"mod"),vadjust:i(this.fontOptions,r,"vadjust"),strokeWidth:this.fontOptions.strokeWidth,strokeColor:this.fontOptions.strokeColor};(e||n)&&("normal"===r&&!0===this.fontOptions.chooser&&this.elementOptions.labelHighlightBold?o.mod="bold":"function"===typeof this.fontOptions.chooser&&this.fontOptions.chooser(o,this.elementOptions.id,e,n));var a="";return void 0!==o.mod&&""!==o.mod&&(a+=o.mod+" "),a+=o.size+"px "+o.face,t.font=a.replace(/"/g,""),o.font=t.font,o.height=o.size,o}},{key:"differentState",value:function(t,e){return t!==this.selectedState||e!==this.hoverState}},{key:"_processLabelText",value:function(t,e,n,r){return new zg(t,this,e,n).process(r)}},{key:"_processLabel",value:function(t,e,n){if(!1!==this.labelDirty||this.differentState(e,n)){var r=this._processLabelText(t,e,n,this.elementOptions.label);this.fontOptions.minWdt>0&&r.width<this.fontOptions.minWdt&&(r.width=this.fontOptions.minWdt),this.size.labelHeight=r.height,this.fontOptions.minHgt>0&&r.height<this.fontOptions.minHgt&&(r.height=this.fontOptions.minHgt),this.lines=r.lines,this.lineCount=r.lines.length,this.size.width=r.width,this.size.height=r.height,this.selectedState=e,this.hoverState=n,this.labelDirty=!1}}},{key:"visible",value:function(){return 0!==this.size.width&&0!==this.size.height&&void 0!==this.elementOptions.label&&!(this.fontOptions.size*this.body.view.scale<this.elementOptions.scaling.label.drawThreshold-1)}}],[{key:"parseFontString",value:function(t,e){if(!e||"string"!==typeof e)return!1;var n=e.split(" ");return t.size=+n[0].replace("px",""),t.face=n[1],t.color=n[2],!0}}]),t}(),Wg=function(){function t(e,n,r){Fr(this,t),this.body=n,this.labelModule=r,this.setOptions(e),this.top=void 0,this.left=void 0,this.height=void 0,this.width=void 0,this.radius=void 0,this.margin=void 0,this.refreshNeeded=!0,this.boundingBox={top:0,left:0,right:0,bottom:0}}return Vr(t,[{key:"setOptions",value:function(t){this.options=t}},{key:"_setMargins",value:function(t){this.margin={},this.options.margin&&("object"==ra(this.options.margin)?(this.margin.top=this.options.margin.top,this.margin.right=this.options.margin.right,this.margin.bottom=this.options.margin.bottom,this.margin.left=this.options.margin.left):(this.margin.top=this.options.margin,this.margin.right=this.options.margin,this.margin.bottom=this.options.margin,this.margin.left=this.options.margin)),t.adjustSizes(this.margin)}},{key:"_distanceToBorder",value:function(t,e){var n=this.options.borderWidth;return t&&this.resize(t),Math.min(Math.abs(this.width/2/Math.cos(e)),Math.abs(this.height/2/Math.sin(e)))+n}},{key:"enableShadow",value:function(t,e){e.shadow&&(t.shadowColor=e.shadowColor,t.shadowBlur=e.shadowSize,t.shadowOffsetX=e.shadowX,t.shadowOffsetY=e.shadowY)}},{key:"disableShadow",value:function(t,e){e.shadow&&(t.shadowColor="rgba(0,0,0,0)",t.shadowBlur=0,t.shadowOffsetX=0,t.shadowOffsetY=0)}},{key:"enableBorderDashes",value:function(t,e){if(!1!==e.borderDashes)if(void 0!==t.setLineDash){var n=e.borderDashes;!0===n&&(n=[5,15]),t.setLineDash(n)}else console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used."),this.options.shapeProperties.borderDashes=!1,e.borderDashes=!1}},{key:"disableBorderDashes",value:function(t,e){!1!==e.borderDashes&&(void 0!==t.setLineDash?t.setLineDash([0]):(console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used."),this.options.shapeProperties.borderDashes=!1,e.borderDashes=!1))}},{key:"needsRefresh",value:function(t,e){return!0===this.refreshNeeded?(this.refreshNeeded=!1,!0):void 0===this.width||this.labelModule.differentState(t,e)}},{key:"initContextForDraw",value:function(t,e){var n=e.borderWidth/this.body.view.scale;t.lineWidth=Math.min(this.width,n),t.strokeStyle=e.borderColor,t.fillStyle=e.color}},{key:"performStroke",value:function(t,e){var n=e.borderWidth/this.body.view.scale;t.save(),n>0&&(this.enableBorderDashes(t,e),t.stroke(),this.disableBorderDashes(t,e)),t.restore()}},{key:"performFill",value:function(t,e){t.save(),t.fillStyle=e.color,this.enableShadow(t,e),Or(t).call(t),this.disableShadow(t,e),t.restore(),this.performStroke(t,e)}},{key:"_addBoundingBoxMargin",value:function(t){this.boundingBox.left-=t,this.boundingBox.top-=t,this.boundingBox.bottom+=t,this.boundingBox.right+=t}},{key:"_updateBoundingBox",value:function(t,e,n,r,i){void 0!==n&&this.resize(n,r,i),this.left=t-this.width/2,this.top=e-this.height/2,this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width}},{key:"updateBoundingBox",value:function(t,e,n,r,i){this._updateBoundingBox(t,e,n,r,i)}},{key:"getDimensionsFromLabel",value:function(t,e,n){this.textSize=this.labelModule.getTextSize(t,e,n);var r=this.textSize.width,i=this.textSize.height;return 0===r&&(r=14,i=14),{width:r,height:i}}}]),t}();function Yg(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Hg=function(t){Ru(n,t);var e=Yg(n);function n(t,r,i){var o;return Fr(this,n),(o=e.call(this,t,r,i))._setMargins(i),o}return Vr(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(e,n)){var r=this.getDimensionsFromLabel(t,e,n);this.width=r.width+this.margin.right+this.margin.left,this.height=r.height+this.margin.top+this.margin.bottom,this.radius=this.width/2}}},{key:"draw",value:function(t,e,n,r,i,o){this.resize(t,r,i),this.left=e-this.width/2,this.top=n-this.height/2,this.initContextForDraw(t,o),bt(t,this.left,this.top,this.width,this.height,o.borderRadius),this.performFill(t,o),this.updateBoundingBox(e,n,t,r,i),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,r,i)}},{key:"updateBoundingBox",value:function(t,e,n,r,i){this._updateBoundingBox(t,e,n,r,i);var o=this.options.shapeProperties.borderRadius;this._addBoundingBoxMargin(o)}},{key:"distanceToBorder",value:function(t,e){t&&this.resize(t);var n=this.options.borderWidth;return Math.min(Math.abs(this.width/2/Math.cos(e)),Math.abs(this.height/2/Math.sin(e)))+n}}]),n}(Wg);function Ug(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Xg=function(t){Ru(n,t);var e=Ug(n);function n(t,r,i){var o;return Fr(this,n),(o=e.call(this,t,r,i)).labelOffset=0,o.selected=!1,o}return Vr(n,[{key:"setOptions",value:function(t,e,n){this.options=t,void 0===e&&void 0===n||this.setImages(e,n)}},{key:"setImages",value:function(t,e){e&&this.selected?(this.imageObj=e,this.imageObjAlt=t):(this.imageObj=t,this.imageObjAlt=e)}},{key:"switchImages",value:function(t){var e=t&&!this.selected||!t&&this.selected;if(this.selected=t,void 0!==this.imageObjAlt&&e){var n=this.imageObj;this.imageObj=this.imageObjAlt,this.imageObjAlt=n}}},{key:"_getImagePadding",value:function(){var t={top:0,right:0,bottom:0,left:0};if(this.options.imagePadding){var e=this.options.imagePadding;"object"==ra(e)?(t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left):(t.top=e,t.right=e,t.bottom=e,t.left=e)}return t}},{key:"_resizeImage",value:function(){var t,e;if(!1===this.options.shapeProperties.useImageSize){var n=1,r=1;this.imageObj.width&&this.imageObj.height&&(this.imageObj.width>this.imageObj.height?n=this.imageObj.width/this.imageObj.height:r=this.imageObj.height/this.imageObj.width),t=2*this.options.size*n,e=2*this.options.size*r}else{var i=this._getImagePadding();t=this.imageObj.width+i.left+i.right,e=this.imageObj.height+i.top+i.bottom}this.width=t,this.height=e,this.radius=.5*this.width}},{key:"_drawRawCircle",value:function(t,e,n,r){this.initContextForDraw(t,r),mt(t,e,n,r.size),this.performFill(t,r)}},{key:"_drawImageAtPosition",value:function(t,e){if(0!=this.imageObj.width){t.globalAlpha=void 0!==e.opacity?e.opacity:1,this.enableShadow(t,e);var n=1;!0===this.options.shapeProperties.interpolation&&(n=this.imageObj.width/this.width/this.body.view.scale);var r=this._getImagePadding(),i=this.left+r.left,o=this.top+r.top,a=this.width-r.left-r.right,s=this.height-r.top-r.bottom;this.imageObj.drawImageAtPosition(t,n,i,o,a,s),this.disableShadow(t,e)}}},{key:"_drawImageLabel",value:function(t,e,n,r,i){var o=0;if(void 0!==this.height){o=.5*this.height;var a=this.labelModule.getTextSize(t,r,i);a.lineCount>=1&&(o+=a.height/2)}var s=n+o;this.options.label&&(this.labelOffset=o),this.labelModule.draw(t,e,s,r,i,"hanging")}}]),n}(Wg);function Zg(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var qg=function(t){Ru(n,t);var e=Zg(n);function n(t,r,i){var o;return Fr(this,n),(o=e.call(this,t,r,i))._setMargins(i),o}return Vr(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(e,n)){var r=this.getDimensionsFromLabel(t,e,n),i=Math.max(r.width+this.margin.right+this.margin.left,r.height+this.margin.top+this.margin.bottom);this.options.size=i/2,this.width=i,this.height=i,this.radius=this.width/2}}},{key:"draw",value:function(t,e,n,r,i,o){this.resize(t,r,i),this.left=e-this.width/2,this.top=n-this.height/2,this._drawRawCircle(t,e,n,o),this.updateBoundingBox(e,n),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,n,r,i)}},{key:"updateBoundingBox",value:function(t,e){this.boundingBox.top=e-this.options.size,this.boundingBox.left=t-this.options.size,this.boundingBox.right=t+this.options.size,this.boundingBox.bottom=e+this.options.size}},{key:"distanceToBorder",value:function(t){return t&&this.resize(t),.5*this.width}}]),n}(Xg);function Kg(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Qg=function(t){Ru(n,t);var e=Kg(n);function n(t,r,i,o,a){var s;return Fr(this,n),(s=e.call(this,t,r,i)).setImages(o,a),s}return Vr(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,r=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(r){var i=2*this.options.size;return this.width=i,this.height=i,void(this.radius=.5*this.width)}this.needsRefresh(e,n)&&this._resizeImage()}},{key:"draw",value:function(t,e,n,r,i,o){this.switchImages(r),this.resize();var a=e,s=n;"top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=e,this.top=n,a+=this.width/2,s+=this.height/2):(this.left=e-this.width/2,this.top=n-this.height/2),this._drawRawCircle(t,a,s,o),t.save(),t.clip(),this._drawImageAtPosition(t,o),t.restore(),this._drawImageLabel(t,a,s,r,i),this.updateBoundingBox(e,n)}},{key:"updateBoundingBox",value:function(t,e){"top-left"===this.options.shapeProperties.coordinateOrigin?(this.boundingBox.top=e,this.boundingBox.left=t,this.boundingBox.right=t+2*this.options.size,this.boundingBox.bottom=e+2*this.options.size):(this.boundingBox.top=e-this.options.size,this.boundingBox.left=t-this.options.size,this.boundingBox.right=t+this.options.size,this.boundingBox.bottom=e+this.options.size),this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset)}},{key:"distanceToBorder",value:function(t){return t&&this.resize(t),.5*this.width}}]),n}(Xg);function Jg(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var $g=function(t){Ru(n,t);var e=Jg(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{size:this.options.size};if(this.needsRefresh(e,n)){var i,o;this.labelModule.getTextSize(t,e,n);var a=2*r.size;this.width=null!==(i=this.customSizeWidth)&&void 0!==i?i:a,this.height=null!==(o=this.customSizeHeight)&&void 0!==o?o:a,this.radius=.5*this.width}}},{key:"_drawShape",value:function(t,e,n,r,i,o,a,s){var c,l=this;return this.resize(t,o,a,s),this.left=r-this.width/2,this.top=i-this.height/2,this.initContextForDraw(t,s),(c=e,Object.prototype.hasOwnProperty.call(St,c)?St[c]:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];CanvasRenderingContext2D.prototype[c].call(t,n)})(t,r,i,s.size),this.performFill(t,s),void 0!==this.options.icon&&void 0!==this.options.icon.code&&(t.font=(o?"bold ":"")+this.height/2+"px "+(this.options.icon.face||"FontAwesome"),t.fillStyle=this.options.icon.color||"black",t.textAlign="center",t.textBaseline="middle",t.fillText(this.options.icon.code,r,i)),{drawExternalLabel:function(){if(void 0!==l.options.label){l.labelModule.calculateLabelSize(t,o,a,r,i,"hanging");var e=i+.5*l.height+.5*l.labelModule.size.height;l.labelModule.draw(t,r,e,o,a,"hanging")}l.updateBoundingBox(r,i)}}}},{key:"updateBoundingBox",value:function(t,e){this.boundingBox.top=e-this.options.size,this.boundingBox.left=t-this.options.size,this.boundingBox.right=t+this.options.size,this.boundingBox.bottom=e+this.options.size,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height))}}]),n}(Wg);function tf(t,e){var n=Xo(t);if(kn){var r=kn(t);e&&(r=Ri(r).call(r,(function(e){return Yt(t,e).enumerable}))),n.push.apply(n,r)}return n}function ef(t){for(var e=1;e<arguments.length;e++){var n,r=null!=arguments[e]?arguments[e]:{};if(e%2)Ao(n=tf(Object(r),!0)).call(n,(function(e){Ur(t,e,r[e])}));else if(Bt)Mt(t,Bt(r));else{var i;Ao(i=tf(Object(r))).call(i,(function(e){Et(t,e,Yt(r,e))}))}}return t}function nf(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var rf=function(t){Ru(n,t);var e=nf(n);function n(t,r,i,o){var a;return Fr(this,n),(a=e.call(this,t,r,i,o)).ctxRenderer=o,a}return Vr(n,[{key:"draw",value:function(t,e,n,r,i,o){this.resize(t,r,i,o),this.left=e-this.width/2,this.top=n-this.height/2,t.save();var a=this.ctxRenderer({ctx:t,id:this.options.id,x:e,y:n,state:{selected:r,hover:i},style:ef({},o),label:this.options.label});if(null!=a.drawNode&&a.drawNode(),t.restore(),a.drawExternalLabel){var s=a.drawExternalLabel;a.drawExternalLabel=function(){t.save(),s(),t.restore()}}return a.nodeDimensions&&(this.customSizeWidth=a.nodeDimensions.width,this.customSizeHeight=a.nodeDimensions.height),a}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}($g);function of(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var af=function(t){Ru(n,t);var e=of(n);function n(t,r,i){var o;return Fr(this,n),(o=e.call(this,t,r,i))._setMargins(i),o}return Vr(n,[{key:"resize",value:function(t,e,n){if(this.needsRefresh(e,n)){var r=this.getDimensionsFromLabel(t,e,n).width+this.margin.right+this.margin.left;this.width=r,this.height=r,this.radius=this.width/2}}},{key:"draw",value:function(t,e,n,r,i,o){this.resize(t,r,i),this.left=e-this.width/2,this.top=n-this.height/2,this.initContextForDraw(t,o),wt(t,e-this.width/2,n-this.height/2,this.width,this.height),this.performFill(t,o),this.updateBoundingBox(e,n,t,r,i),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,r,i)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Wg);function sf(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var cf=function(t){Ru(n,t);var e=sf(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"draw",value:function(t,e,n,r,i,o){return this._drawShape(t,"diamond",4,e,n,r,i,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}($g);function lf(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var uf=function(t){Ru(n,t);var e=lf(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"draw",value:function(t,e,n,r,i,o){return this._drawShape(t,"circle",2,e,n,r,i,o)}},{key:"distanceToBorder",value:function(t){return t&&this.resize(t),this.options.size}}]),n}($g);function gf(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var ff=function(t){Ru(n,t);var e=gf(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(e,n)){var r=this.getDimensionsFromLabel(t,e,n);this.height=2*r.height,this.width=r.width+r.height,this.radius=.5*this.width}}},{key:"draw",value:function(t,e,n,r,i,o){this.resize(t,r,i),this.left=e-.5*this.width,this.top=n-.5*this.height,this.initContextForDraw(t,o),xt(t,this.left,this.top,this.width,this.height),this.performFill(t,o),this.updateBoundingBox(e,n,t,r,i),this.labelModule.draw(t,e,n,r,i)}},{key:"distanceToBorder",value:function(t,e){t&&this.resize(t);var n=.5*this.width,r=.5*this.height,i=Math.sin(e)*n,o=Math.cos(e)*r;return n*r/Math.sqrt(i*i+o*o)}}]),n}(Wg);function df(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var hf=function(t){Ru(n,t);var e=df(n);function n(t,r,i){var o;return Fr(this,n),(o=e.call(this,t,r,i))._setMargins(i),o}return Vr(n,[{key:"resize",value:function(t,e,n){this.needsRefresh(e,n)&&(this.iconSize={width:Number(this.options.icon.size),height:Number(this.options.icon.size)},this.width=this.iconSize.width+this.margin.right+this.margin.left,this.height=this.iconSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}},{key:"draw",value:function(t,e,n,r,i,o){var a=this;return this.resize(t,r,i),this.options.icon.size=this.options.icon.size||50,this.left=e-this.width/2,this.top=n-this.height/2,this._icon(t,e,n,r,i,o),{drawExternalLabel:function(){if(void 0!==a.options.label){a.labelModule.draw(t,a.left+a.iconSize.width/2+a.margin.left,n+a.height/2+5,r)}a.updateBoundingBox(e,n)}}}},{key:"updateBoundingBox",value:function(t,e){if(this.boundingBox.top=e-.5*this.options.icon.size,this.boundingBox.left=t-.5*this.options.icon.size,this.boundingBox.right=t+.5*this.options.icon.size,this.boundingBox.bottom=e+.5*this.options.icon.size,void 0!==this.options.label&&this.labelModule.size.width>0){this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height+5)}}},{key:"_icon",value:function(t,e,n,r,i,o){var a=Number(this.options.icon.size);void 0!==this.options.icon.code?(t.font=[null!=this.options.icon.weight?this.options.icon.weight:r?"bold":"",(null!=this.options.icon.weight&&r?5:0)+a+"px",this.options.icon.face].join(" "),t.fillStyle=this.options.icon.color||"black",t.textAlign="center",t.textBaseline="middle",this.enableShadow(t,o),t.fillText(this.options.icon.code,e,n),this.disableShadow(t,o)):console.error("When using the icon shape, you need to define the code in the icon options object. This can be done per node or globally.")}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Wg);function pf(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Af=function(t){Ru(n,t);var e=pf(n);function n(t,r,i,o,a){var s;return Fr(this,n),(s=e.call(this,t,r,i)).setImages(o,a),s}return Vr(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,r=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(r){var i=2*this.options.size;return this.width=i,void(this.height=i)}this.needsRefresh(e,n)&&this._resizeImage()}},{key:"draw",value:function(t,e,n,r,i,o){t.save(),this.switchImages(r),this.resize();var a=e,s=n;if("top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=e,this.top=n,a+=this.width/2,s+=this.height/2):(this.left=e-this.width/2,this.top=n-this.height/2),!0===this.options.shapeProperties.useBorderWithImage){var c=this.options.borderWidth,l=this.options.borderWidthSelected||2*this.options.borderWidth,u=(r?l:c)/this.body.view.scale;t.lineWidth=Math.min(this.width,u),t.beginPath();var g=r?this.options.color.highlight.border:i?this.options.color.hover.border:this.options.color.border,f=r?this.options.color.highlight.background:i?this.options.color.hover.background:this.options.color.background;void 0!==o.opacity&&(g=Pc(g,o.opacity),f=Pc(f,o.opacity)),t.strokeStyle=g,t.fillStyle=f,t.rect(this.left-.5*t.lineWidth,this.top-.5*t.lineWidth,this.width+t.lineWidth,this.height+t.lineWidth),Or(t).call(t),this.performStroke(t,o),t.closePath()}this._drawImageAtPosition(t,o),this._drawImageLabel(t,a,s,r,i),this.updateBoundingBox(e,n),t.restore()}},{key:"updateBoundingBox",value:function(t,e){this.resize(),"top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=t,this.top=e):(this.left=t-this.width/2,this.top=e-this.height/2),this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset))}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Xg);function Cf(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var vf=function(t){Ru(n,t);var e=Cf(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"draw",value:function(t,e,n,r,i,o){return this._drawShape(t,"square",2,e,n,r,i,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}($g);function If(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var yf=function(t){Ru(n,t);var e=If(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"draw",value:function(t,e,n,r,i,o){return this._drawShape(t,"hexagon",4,e,n,r,i,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}($g);function mf(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var bf=function(t){Ru(n,t);var e=mf(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"draw",value:function(t,e,n,r,i,o){return this._drawShape(t,"star",4,e,n,r,i,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}($g);function xf(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var wf=function(t){Ru(n,t);var e=xf(n);function n(t,r,i){var o;return Fr(this,n),(o=e.call(this,t,r,i))._setMargins(i),o}return Vr(n,[{key:"resize",value:function(t,e,n){this.needsRefresh(e,n)&&(this.textSize=this.labelModule.getTextSize(t,e,n),this.width=this.textSize.width+this.margin.right+this.margin.left,this.height=this.textSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}},{key:"draw",value:function(t,e,n,r,i,o){this.resize(t,r,i),this.left=e-this.width/2,this.top=n-this.height/2,this.enableShadow(t,o),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,r,i),this.disableShadow(t,o),this.updateBoundingBox(e,n,t,r,i)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Wg);function Of(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Sf=function(t){Ru(n,t);var e=Of(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"draw",value:function(t,e,n,r,i,o){return this._drawShape(t,"triangle",3,e,n,r,i,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}($g);function _f(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var kf=function(t){Ru(n,t);var e=_f(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"draw",value:function(t,e,n,r,i,o){return this._drawShape(t,"triangleDown",3,e,n,r,i,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}($g);function jf(t,e){var n=Xo(t);if(kn){var r=kn(t);e&&(r=Ri(r).call(r,(function(e){return Yt(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ef(t){for(var e=1;e<arguments.length;e++){var n,r=null!=arguments[e]?arguments[e]:{};if(e%2)Ao(n=jf(Object(r),!0)).call(n,(function(e){Ur(t,e,r[e])}));else if(Bt)Mt(t,Bt(r));else{var i;Ao(i=jf(Object(r))).call(i,(function(e){Et(t,e,Yt(r,e))}))}}return t}var Pf=function(){function t(e,n,r,i,o,a){Fr(this,t),this.options=zc(o),this.globalOptions=o,this.defaultOptions=a,this.body=n,this.edges=[],this.id=void 0,this.imagelist=r,this.grouplist=i,this.x=void 0,this.y=void 0,this.baseSize=this.options.size,this.baseFontSize=this.options.font.size,this.predefinedPosition=!1,this.selected=!1,this.hover=!1,this.labelModule=new Gg(this.body,this.options,!1),this.setOptions(e)}return Vr(t,[{key:"attachEdge",value:function(t){var e;-1===fi(e=this.edges).call(e,t)&&this.edges.push(t)}},{key:"detachEdge",value:function(t){var e,n,r=fi(e=this.edges).call(e,t);-1!=r&&no(n=this.edges).call(n,r,1)}},{key:"setOptions",value:function(e){var n=this.options.shape;if(e){if("undefined"!==typeof e.color&&(this._localColor=e.color),void 0!==e.id&&(this.id=e.id),void 0===this.id)throw new Error("Node must have an id");t.checkMass(e,this.id),void 0!==e.x&&(null===e.x?(this.x=void 0,this.predefinedPosition=!1):(this.x=Ci(e.x),this.predefinedPosition=!0)),void 0!==e.y&&(null===e.y?(this.y=void 0,this.predefinedPosition=!1):(this.y=Ci(e.y),this.predefinedPosition=!0)),void 0!==e.size&&(this.baseSize=e.size),void 0!==e.value&&(e.value=Mg(e.value)),t.parseOptions(this.options,e,!0,this.globalOptions,this.grouplist);var r=[e,this.options,this.defaultOptions];return this.chooser=Tg("node",r),this._load_images(),this.updateLabelModule(e),void 0!==e.opacity&&t.checkOpacity(e.opacity)&&(this.options.opacity=e.opacity),this.updateShape(n),void 0!==e.hidden||void 0!==e.physics}}},{key:"_load_images",value:function(){if(("circularImage"===this.options.shape||"image"===this.options.shape)&&void 0===this.options.image)throw new Error("Option image must be defined for node type '"+this.options.shape+"'");if(void 0!==this.options.image){if(void 0===this.imagelist)throw new Error("Internal Error: No images provided");if("string"===typeof this.options.image)this.imageObj=this.imagelist.load(this.options.image,this.options.brokenImage,this.id);else{if(void 0===this.options.image.unselected)throw new Error("No unselected image provided");this.imageObj=this.imagelist.load(this.options.image.unselected,this.options.brokenImage,this.id),void 0!==this.options.image.selected?this.imageObjAlt=this.imagelist.load(this.options.image.selected,this.options.brokenImage,this.id):this.imageObjAlt=void 0}}}},{key:"getFormattingValues",value:function(){var t={color:this.options.color.background,opacity:this.options.opacity,borderWidth:this.options.borderWidth,borderColor:this.options.color.border,size:this.options.size,borderDashes:this.options.shapeProperties.borderDashes,borderRadius:this.options.shapeProperties.borderRadius,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y};if(this.selected||this.hover?!0===this.chooser?this.selected?(null!=this.options.borderWidthSelected?t.borderWidth=this.options.borderWidthSelected:t.borderWidth*=2,t.color=this.options.color.highlight.background,t.borderColor=this.options.color.highlight.border,t.shadow=this.options.shadow.enabled):this.hover&&(t.color=this.options.color.hover.background,t.borderColor=this.options.color.hover.border,t.shadow=this.options.shadow.enabled):"function"===typeof this.chooser&&(this.chooser(t,this.options.id,this.selected,this.hover),!1===t.shadow&&(t.shadowColor===this.options.shadow.color&&t.shadowSize===this.options.shadow.size&&t.shadowX===this.options.shadow.x&&t.shadowY===this.options.shadow.y||(t.shadow=!0))):t.shadow=this.options.shadow.enabled,void 0!==this.options.opacity){var e=this.options.opacity;t.borderColor=Pc(t.borderColor,e),t.color=Pc(t.color,e),t.shadowColor=Pc(t.shadowColor,e)}return t}},{key:"updateLabelModule",value:function(e){void 0!==this.options.label&&null!==this.options.label||(this.options.label=""),t.updateGroupOptions(this.options,Ef(Ef({},e),{},{color:e&&e.color||this._localColor||void 0}),this.grouplist);var n=this.grouplist.get(this.options.group,!1),r=[e,this.options,n,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,r),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}},{key:"updateShape",value:function(t){if(t===this.options.shape&&this.shape)this.shape.setOptions(this.options,this.imageObj,this.imageObjAlt);else switch(this.options.shape){case"box":this.shape=new Hg(this.options,this.body,this.labelModule);break;case"circle":this.shape=new qg(this.options,this.body,this.labelModule);break;case"circularImage":this.shape=new Qg(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"custom":this.shape=new rf(this.options,this.body,this.labelModule,this.options.ctxRenderer);break;case"database":this.shape=new af(this.options,this.body,this.labelModule);break;case"diamond":this.shape=new cf(this.options,this.body,this.labelModule);break;case"dot":this.shape=new uf(this.options,this.body,this.labelModule);break;case"ellipse":this.shape=new ff(this.options,this.body,this.labelModule);break;case"icon":this.shape=new hf(this.options,this.body,this.labelModule);break;case"image":this.shape=new Af(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"square":this.shape=new vf(this.options,this.body,this.labelModule);break;case"hexagon":this.shape=new yf(this.options,this.body,this.labelModule);break;case"star":this.shape=new bf(this.options,this.body,this.labelModule);break;case"text":this.shape=new wf(this.options,this.body,this.labelModule);break;case"triangle":this.shape=new Sf(this.options,this.body,this.labelModule);break;case"triangleDown":this.shape=new kf(this.options,this.body,this.labelModule);break;default:this.shape=new ff(this.options,this.body,this.labelModule)}this.needsRefresh()}},{key:"select",value:function(){this.selected=!0,this.needsRefresh()}},{key:"unselect",value:function(){this.selected=!1,this.needsRefresh()}},{key:"needsRefresh",value:function(){this.shape.refreshNeeded=!0}},{key:"getTitle",value:function(){return this.options.title}},{key:"distanceToBorder",value:function(t,e){return this.shape.distanceToBorder(t,e)}},{key:"isFixed",value:function(){return this.options.fixed.x&&this.options.fixed.y}},{key:"isSelected",value:function(){return this.selected}},{key:"getValue",value:function(){return this.options.value}},{key:"getLabelSize",value:function(){return this.labelModule.size()}},{key:"setValueRange",value:function(t,e,n){if(void 0!==this.options.value){var r=this.options.scaling.customScalingFunction(t,e,n,this.options.value),i=this.options.scaling.max-this.options.scaling.min;if(!0===this.options.scaling.label.enabled){var o=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+r*o}this.options.size=this.options.scaling.min+r*i}else this.options.size=this.baseSize,this.options.font.size=this.baseFontSize;this.updateLabelModule()}},{key:"draw",value:function(t){var e=this.getFormattingValues();return this.shape.draw(t,this.x,this.y,this.selected,this.hover,e)||{}}},{key:"updateBoundingBox",value:function(t){this.shape.updateBoundingBox(this.x,this.y,t)}},{key:"resize",value:function(t){var e=this.getFormattingValues();this.shape.resize(t,this.selected,this.hover,e)}},{key:"getItemsOnPoint",value:function(t){var e=[];return this.labelModule.visible()&&Rg(this.labelModule.getSize(),t)&&e.push({nodeId:this.id,labelId:0}),Rg(this.shape.boundingBox,t)&&e.push({nodeId:this.id}),e}},{key:"isOverlappingWith",value:function(t){return this.shape.left<t.right&&this.shape.left+this.shape.width>t.left&&this.shape.top<t.bottom&&this.shape.top+this.shape.height>t.top}},{key:"isBoundingBoxOverlappingWith",value:function(t){return this.shape.boundingBox.left<t.right&&this.shape.boundingBox.right>t.left&&this.shape.boundingBox.top<t.bottom&&this.shape.boundingBox.bottom>t.top}}],[{key:"checkOpacity",value:function(t){return 0<=t&&t<=1}},{key:"checkCoordinateOrigin",value:function(t){return void 0===t||"center"===t||"top-left"===t}},{key:"updateGroupOptions",value:function(e,n,r){var i;if(void 0!==r){var o=e.group;if(void 0!==n&&void 0!==n.group&&o!==n.group)throw new Error("updateGroupOptions: group values in options don't match.");if("number"===typeof o||"string"===typeof o&&""!=o){var a=r.get(o);void 0!==a.opacity&&void 0===n.opacity&&(t.checkOpacity(a.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+a.opacity),a.opacity=void 0));var s=Ri(i=kg(n)).call(i,(function(t){return null!=n[t]}));s.push("font"),wc(s,e,a),e.color=Tc(e.color)}}}},{key:"parseOptions",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4?arguments[4]:void 0,a=["color","fixed","shadow"];if(wc(a,e,n,r),t.checkMass(n),void 0!==e.opacity&&(t.checkOpacity(e.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+e.opacity),e.opacity=void 0)),void 0!==n.opacity&&(t.checkOpacity(n.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+n.opacity),n.opacity=void 0)),n.shapeProperties&&!t.checkCoordinateOrigin(n.shapeProperties.coordinateOrigin)&&console.error("Invalid option for node coordinateOrigin, found: "+n.shapeProperties.coordinateOrigin),Vc(e,n,"shadow",i),void 0!==n.color&&null!==n.color){var s=Tc(n.color);bc(e.color,s)}else!0===r&&null===n.color&&(e.color=zc(i.color));void 0!==n.fixed&&null!==n.fixed&&("boolean"===typeof n.fixed?(e.fixed.x=n.fixed,e.fixed.y=n.fixed):(void 0!==n.fixed.x&&"boolean"===typeof n.fixed.x&&(e.fixed.x=n.fixed.x),void 0!==n.fixed.y&&"boolean"===typeof n.fixed.y&&(e.fixed.y=n.fixed.y))),!0===r&&null===n.font&&(e.font=zc(i.font)),t.updateGroupOptions(e,n,o),void 0!==n.scaling&&Vc(e.scaling,n.scaling,"label",i.scaling)}},{key:"checkMass",value:function(t,e){if(void 0!==t.mass&&t.mass<=0){var n="";void 0!==e&&(n=" in node id: "+e),console.error("%cNegative or zero mass disallowed"+n+", setting mass to 1.",tl),t.mass=1}}}]),t}();function Mf(t,e){var n;if("undefined"===typeof da||null==ur(t)){if(ta(t)||(n=function(t,e){var n;if(!t)return;if("string"===typeof t)return Tf(t,e);var r=oa(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return br(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tf(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=lr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Tf(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Rf=function(){function t(e,n,r,i){var o,a=this;if(Fr(this,t),this.body=e,this.images=n,this.groups=r,this.layoutEngine=i,this.body.functions.createNode=$(o=this.create).call(o,this),this.nodesListeners={add:function(t,e){a.add(e.items)},update:function(t,e){a.update(e.items,e.data,e.oldData)},remove:function(t,e){a.remove(e.items)}},this.defaultOptions={borderWidth:1,borderWidthSelected:void 0,brokenImage:void 0,color:{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},opacity:void 0,fixed:{x:!1,y:!1},font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:0,strokeColor:"#ffffff",align:"center",vadjust:0,multi:!1,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"monospace",vadjust:2}},group:void 0,hidden:!1,icon:{face:"FontAwesome",code:void 0,size:50,color:"#2B7CE9"},image:void 0,imagePadding:{top:0,right:0,bottom:0,left:0},label:void 0,labelHighlightBold:!0,level:void 0,margin:{top:5,right:5,bottom:5,left:5},mass:1,physics:!0,scaling:{min:10,max:30,label:{enabled:!1,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(t,e,n,r){if(e===t)return.5;var i=1/(e-t);return Math.max(0,(r-t)*i)}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},shape:"ellipse",shapeProperties:{borderDashes:!1,borderRadius:6,interpolation:!0,useImageSize:!1,useBorderWithImage:!1,coordinateOrigin:"center"},size:25,title:void 0,value:void 0,x:void 0,y:void 0},this.defaultOptions.mass<=0)throw"Internal error: mass in defaultOptions of NodesHandler may not be zero or negative";this.options=zc(this.defaultOptions),this.bindEventListeners()}return Vr(t,[{key:"bindEventListeners",value:function(){var t,e,n=this;this.body.emitter.on("refreshNodes",$(t=this.refresh).call(t,this)),this.body.emitter.on("refresh",$(e=this.refresh).call(e,this)),this.body.emitter.on("destroy",(function(){jc(n.nodesListeners,(function(t,e){n.body.data.nodes&&n.body.data.nodes.off(e,t)})),delete n.body.functions.createNode,delete n.nodesListeners.add,delete n.nodesListeners.update,delete n.nodesListeners.remove,delete n.nodesListeners}))}},{key:"setOptions",value:function(t){if(void 0!==t){if(Pf.parseOptions(this.options,t),void 0!==t.opacity&&(fu(t.opacity)||!gu(t.opacity)||t.opacity<0||t.opacity>1?console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+t.opacity):this.options.opacity=t.opacity),void 0!==t.shape)for(var e in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,e)&&this.body.nodes[e].updateShape();if("undefined"!==typeof t.font||"undefined"!==typeof t.widthConstraint||"undefined"!==typeof t.heightConstraint)for(var n=0,r=Xo(this.body.nodes);n<r.length;n++){var i=r[n];this.body.nodes[i].updateLabelModule(),this.body.nodes[i].needsRefresh()}if(void 0!==t.size)for(var o in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,o)&&this.body.nodes[o].needsRefresh();void 0===t.hidden&&void 0===t.physics||this.body.emitter.emit("_dataChanged")}}},{key:"setData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.body.data.nodes;if(wg("id",t))this.body.data.nodes=t;else if(ta(t))this.body.data.nodes=new bg,this.body.data.nodes.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.body.data.nodes=new bg}if(n&&jc(this.nodesListeners,(function(t,e){n.off(e,t)})),this.body.nodes={},this.body.data.nodes){var r=this;jc(this.nodesListeners,(function(t,e){r.body.data.nodes.on(e,t)}));var i=this.body.data.nodes.getIds();this.add(i,!0)}!1===e&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[],i=0;i<t.length;i++){e=t[i];var o=this.body.data.nodes.get(e),a=this.create(o);r.push(a),this.body.nodes[e]=a}this.layoutEngine.positionInitially(r),!1===n&&this.body.emitter.emit("_dataChanged")}},{key:"update",value:function(t,e,n){for(var r=this.body.nodes,i=!1,o=0;o<t.length;o++){var a=t[o],s=r[a],c=e[o];void 0!==s?s.setOptions(c)&&(i=!0):(i=!0,s=this.create(c),r[a]=s)}i||void 0===n||(i=cu(e).call(e,(function(t,e){var r=n[e];return r&&r.level!==t.level}))),!0===i?this.body.emitter.emit("_dataChanged"):this.body.emitter.emit("_dataUpdated")}},{key:"remove",value:function(t){for(var e=this.body.nodes,n=0;n<t.length;n++){delete e[t[n]]}this.body.emitter.emit("_dataChanged")}},{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pf;return new e(t,this.body,this.images,this.groups,this.options,this.defaultOptions)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];jc(this.body.nodes,(function(n,r){var i=t.body.data.nodes.get(r);void 0!==i&&(!0===e&&n.setOptions({x:null,y:null}),n.setOptions({fixed:!1}),n.setOptions(i))}))}},{key:"getPositions",value:function(t){var e={};if(void 0!==t){if(!0===ta(t)){for(var n=0;n<t.length;n++)if(void 0!==this.body.nodes[t[n]]){var r=this.body.nodes[t[n]];e[t[n]]={x:Math.round(r.x),y:Math.round(r.y)}}}else if(void 0!==this.body.nodes[t]){var i=this.body.nodes[t];e[t]={x:Math.round(i.x),y:Math.round(i.y)}}}else for(var o=0;o<this.body.nodeIndices.length;o++){var a=this.body.nodes[this.body.nodeIndices[o]];e[this.body.nodeIndices[o]]={x:Math.round(a.x),y:Math.round(a.y)}}return e}},{key:"getPosition",value:function(t){if(void 0==t)throw new TypeError("No id was specified for getPosition method.");if(void 0==this.body.nodes[t])throw new ReferenceError("NodeId provided for getPosition does not exist. Provided: ".concat(t));return{x:Math.round(this.body.nodes[t].x),y:Math.round(this.body.nodes[t].y)}}},{key:"storePositions",value:function(){var t,e=[],n=this.body.data.nodes.getDataSet(),r=Mf(n.get());try{for(r.s();!(t=r.n()).done;){var i=t.value,o=i.id,a=this.body.nodes[o],s=Math.round(a.x),c=Math.round(a.y);i.x===s&&i.y===c||e.push({id:o,x:s,y:c})}}catch(l){r.e(l)}finally{r.f()}n.update(e)}},{key:"getBoundingBox",value:function(t){if(void 0!==this.body.nodes[t])return this.body.nodes[t].shape.boundingBox}},{key:"getConnectedNodes",value:function(t,e){var n=[];if(void 0!==this.body.nodes[t])for(var r=this.body.nodes[t],i={},o=0;o<r.edges.length;o++){var a=r.edges[o];"to"!==e&&a.toId==r.id?void 0===i[a.fromId]&&(n.push(a.fromId),i[a.fromId]=!0):"from"!==e&&a.fromId==r.id&&void 0===i[a.toId]&&(n.push(a.toId),i[a.toId]=!0)}return n}},{key:"getConnectedEdges",value:function(t){var e=[];if(void 0!==this.body.nodes[t])for(var n=this.body.nodes[t],r=0;r<n.edges.length;r++)e.push(n.edges[r].id);else console.error("NodeId provided for getConnectedEdges does not exist. Provided: ",t);return e}},{key:"moveNode",value:function(t,e,n){var r=this;void 0!==this.body.nodes[t]?(this.body.nodes[t].x=Number(e),this.body.nodes[t].y=Number(n),Er((function(){r.body.emitter.emit("startSimulation")}),0)):console.error("Node id supplied to moveNode does not exist. Provided: ",t)}}]),t}(),Df=Wt;H({target:"Reflect",stat:!0},{get:function t(e,n){var r,i,o=arguments.length<3?e:arguments[2];return B(e)===o?e[n]:(r=k.f(e,n))?b(r,"value")?r.value:void 0===r.get?void 0:r.get.call(o):I(i=Tn(e))?t(i,n,o):void 0}});var Nf=N.Reflect.get;var Lf=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Lu(t)););return t},Ff=i((function(t){function e(n,r,i){return"undefined"!==typeof Reflect&&Nf?t.exports=e=Nf:t.exports=e=function(t,e,n){var r=Lf(t,e);if(r){var i=Df(r,e);return i.get?i.get.call(n):i.value}},e(n,r,i||n)}t.exports=e})),Bf=Math.hypot,zf=Math.abs,Vf=Math.sqrt,Gf=!!Bf&&Bf(1/0,NaN)!==1/0;H({target:"Math",stat:!0,forced:Gf},{hypot:function(t,e){for(var n,r,i=0,o=0,a=arguments.length,s=0;o<a;)s<(n=zf(arguments[o++]))?(i=i*(r=s/n)*r+1,s=n):i+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*Vf(i)}});var Wf=N.Math.hypot;function Yf(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Hf=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"transform",value:function(t,e){ta(t)||(t=[t]);for(var n=e.point.x,r=e.point.y,i=e.angle,o=e.length,a=0;a<t.length;++a){var s=t[a],c=s.x*Math.cos(i)-s.y*Math.sin(i),l=s.x*Math.sin(i)+s.y*Math.cos(i);s.x=n+o*c,s.y=r+o*l}}},{key:"drawPath",value:function(t,e){t.beginPath(),t.moveTo(e[0].x,e[0].y);for(var n=1;n<e.length;++n)t.lineTo(e[n].x,e[n].y);t.closePath()}}]),t}(),Uf=function(t){Ru(n,t);var e=Yf(n);function n(){return Fr(this,n),e.apply(this,arguments)}return Vr(n,null,[{key:"draw",value:function(t,e){if(e.image){t.save(),t.translate(e.point.x,e.point.y),t.rotate(Math.PI/2+e.angle);var n=null!=e.imageWidth?e.imageWidth:e.image.width,r=null!=e.imageHeight?e.imageHeight:e.image.height;e.image.drawImageAtPosition(t,1,-n/2,0,n,r),t.restore()}return!1}}]),n}(Hf),Xf=function(t){Ru(n,t);var e=Yf(n);function n(){return Fr(this,n),e.apply(this,arguments)}return Vr(n,null,[{key:"draw",value:function(t,e){var n=[{x:0,y:0},{x:-1,y:.3},{x:-.9,y:0},{x:-1,y:-.3}];return Hf.transform(n,e),Hf.drawPath(t,n),!0}}]),n}(Hf),Zf=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n=[{x:-1,y:0},{x:0,y:.3},{x:-.4,y:0},{x:0,y:-.3}];return Hf.transform(n,e),Hf.drawPath(t,n),!0}}]),t}(),qf=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n={x:-.4,y:0};Hf.transform(n,e),t.strokeStyle=t.fillStyle,t.fillStyle="rgba(0, 0, 0, 0)";var r=Math.PI,i=e.angle-r/2,o=e.angle+r/2;return t.beginPath(),t.arc(n.x,n.y,.4*e.length,i,o,!1),t.stroke(),!0}}]),t}(),Kf=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n={x:-.3,y:0};Hf.transform(n,e),t.strokeStyle=t.fillStyle,t.fillStyle="rgba(0, 0, 0, 0)";var r=Math.PI,i=e.angle+r/2,o=e.angle+3*r/2;return t.beginPath(),t.arc(n.x,n.y,.4*e.length,i,o,!1),t.stroke(),!0}}]),t}(),Qf=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n=[{x:.02,y:0},{x:-1,y:.3},{x:-1,y:-.3}];return Hf.transform(n,e),Hf.drawPath(t,n),!0}}]),t}(),Jf=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n=[{x:0,y:.3},{x:0,y:-.3},{x:-1,y:0}];return Hf.transform(n,e),Hf.drawPath(t,n),!0}}]),t}(),$f=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n={x:-.4,y:0};return Hf.transform(n,e),mt(t,n.x,n.y,.4*e.length),!0}}]),t}(),td=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n=[{x:0,y:.5},{x:0,y:-.5},{x:-.15,y:-.5},{x:-.15,y:.5}];return Hf.transform(n,e),Hf.drawPath(t,n),!0}}]),t}(),ed=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n=[{x:0,y:.3},{x:0,y:-.3},{x:-.6,y:-.3},{x:-.6,y:.3}];return Hf.transform(n,e),Hf.drawPath(t,n),!0}}]),t}(),nd=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n=[{x:0,y:0},{x:-.5,y:-.3},{x:-1,y:0},{x:-.5,y:.3}];return Hf.transform(n,e),Hf.drawPath(t,n),!0}}]),t}(),rd=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n=[{x:-1,y:.3},{x:-.5,y:0},{x:-1,y:-.3},{x:0,y:0}];return Hf.transform(n,e),Hf.drawPath(t,n),!0}}]),t}(),id=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"draw",value:function(t,e){var n;switch(e.type&&(n=e.type.toLowerCase()),n){case"image":return Uf.draw(t,e);case"circle":return $f.draw(t,e);case"box":return ed.draw(t,e);case"crow":return Zf.draw(t,e);case"curve":return qf.draw(t,e);case"diamond":return nd.draw(t,e);case"inv_curve":return Kf.draw(t,e);case"triangle":return Qf.draw(t,e);case"inv_triangle":return Jf.draw(t,e);case"bar":return td.draw(t,e);case"vee":return rd.draw(t,e);case"arrow":default:return Xf.draw(t,e)}}}]),t}();function od(t,e){var n=Xo(t);if(kn){var r=kn(t);e&&(r=Ri(r).call(r,(function(e){return Yt(t,e).enumerable}))),n.push.apply(n,r)}return n}function ad(t){for(var e=1;e<arguments.length;e++){var n,r=null!=arguments[e]?arguments[e]:{};if(e%2)Ao(n=od(Object(r),!0)).call(n,(function(e){Ur(t,e,r[e])}));else if(Bt)Mt(t,Bt(r));else{var i;Ao(i=od(Object(r))).call(i,(function(e){Et(t,e,Yt(r,e))}))}}return t}var sd=function(){function t(e,n,r){Fr(this,t),this._body=n,this._labelModule=r,this.color={},this.colorDirty=!0,this.hoverWidth=1.5,this.selectionWidth=2,this.setOptions(e),this.fromPoint=this.from,this.toPoint=this.to}return Vr(t,[{key:"connect",value:function(){this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to]}},{key:"cleanup",value:function(){return!1}},{key:"setOptions",value:function(t){this.options=t,this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],this.id=this.options.id}},{key:"drawLine",value:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.getViaNode();t.strokeStyle=this.getColor(t,e),t.lineWidth=e.width,!1!==e.dashes?this._drawDashedLine(t,e,i):this._drawLine(t,e,i)}},{key:"_drawLine",value:function(t,e,n,r,i){if(this.from!=this.to)this._line(t,e,n,r,i);else{var o=this._getCircleData(t),a=Yo(o,3),s=a[0],c=a[1],l=a[2];this._circle(t,e,s,c,l)}}},{key:"_drawDashedLine",value:function(t,e,n,r,i){t.lineCap="round";var o=ta(e.dashes)?e.dashes:[5,5];if(void 0!==t.setLineDash){if(t.save(),t.setLineDash(o),t.lineDashOffset=0,this.from!=this.to)this._line(t,e,n);else{var a=this._getCircleData(t),s=Yo(a,3),c=s[0],l=s[1],u=s[2];this._circle(t,e,c,l,u)}t.setLineDash([0]),t.lineDashOffset=0,t.restore()}else{if(this.from!=this.to)Ot(t,this.from.x,this.from.y,this.to.x,this.to.y,o);else{var g=this._getCircleData(t),f=Yo(g,3),d=f[0],h=f[1],p=f[2];this._circle(t,e,d,h,p)}this.enableShadow(t,e),t.stroke(),this.disableShadow(t,e)}}},{key:"findBorderPosition",value:function(t,e,n){return this.from!=this.to?this._findBorderPosition(t,e,n):this._findBorderPositionCircle(t,e,n)}},{key:"findBorderPositions",value:function(t){if(this.from!=this.to)return{from:this._findBorderPosition(this.from,t),to:this._findBorderPosition(this.to,t)};var e,n=oa(e=this._getCircleData(t)).call(e,0,2),r=Yo(n,2),i=r[0],o=r[1];return{from:this._findBorderPositionCircle(this.from,t,{x:i,y:o,low:.25,high:.6,direction:-1}),to:this._findBorderPositionCircle(this.from,t,{x:i,y:o,low:.6,high:.8,direction:1})}}},{key:"_getCircleData",value:function(t){var e=this.options.selfReference.size;void 0!==t&&void 0===this.from.shape.width&&this.from.shape.resize(t);var n=Ng(t,this.options.selfReference.angle,e,this.from);return[n.x,n.y,e]}},{key:"_pointOnCircle",value:function(t,e,n,r){var i=2*r*Math.PI;return{x:t+n*Math.cos(i),y:e-n*Math.sin(i)}}},{key:"_findBorderPositionCircle",value:function(t,e,n){var r,i=n.x,o=n.y,a=n.low,s=n.high,c=n.direction,l=this.options.selfReference.size,u=.5*(a+s),g=0;!0===this.options.arrowStrikethrough&&(-1===c?g=this.options.endPointOffset.from:1===c&&(g=this.options.endPointOffset.to));var f=0;do{u=.5*(a+s),r=this._pointOnCircle(i,o,l,u);var d=Math.atan2(t.y-r.y,t.x-r.x),h=t.distanceToBorder(e,d)+g-Math.sqrt(Math.pow(r.x-t.x,2)+Math.pow(r.y-t.y,2));if(Math.abs(h)<.05)break;h>0?c>0?a=u:s=u:c>0?s=u:a=u,++f}while(a<=s&&f<10);return ad(ad({},r),{},{t:u})}},{key:"getLineWidth",value:function(t,e){return!0===t?Math.max(this.selectionWidth,.3/this._body.view.scale):!0===e?Math.max(this.hoverWidth,.3/this._body.view.scale):Math.max(this.options.width,.3/this._body.view.scale)}},{key:"getColor",value:function(t,e){if(!1!==e.inheritsColor){if("both"===e.inheritsColor&&this.from.id!==this.to.id){var n=t.createLinearGradient(this.from.x,this.from.y,this.to.x,this.to.y),r=this.from.options.color.highlight.border,i=this.to.options.color.highlight.border;return!1===this.from.selected&&!1===this.to.selected?(r=Pc(this.from.options.color.border,e.opacity),i=Pc(this.to.options.color.border,e.opacity)):!0===this.from.selected&&!1===this.to.selected?i=this.to.options.color.border:!1===this.from.selected&&!0===this.to.selected&&(r=this.from.options.color.border),n.addColorStop(0,r),n.addColorStop(1,i),n}return"to"===e.inheritsColor?Pc(this.to.options.color.border,e.opacity):Pc(this.from.options.color.border,e.opacity)}return Pc(e.color,e.opacity)}},{key:"_circle",value:function(t,e,n,r,i){this.enableShadow(t,e);var o=0,a=2*Math.PI;if(!this.options.selfReference.renderBehindTheNode){var s=this.options.selfReference.angle,c=this.options.selfReference.angle+Math.PI,l=this._findBorderPositionCircle(this.from,t,{x:n,y:r,low:s,high:c,direction:-1}),u=this._findBorderPositionCircle(this.from,t,{x:n,y:r,low:s,high:c,direction:1});o=Math.atan2(l.y-r,l.x-n),a=Math.atan2(u.y-r,u.x-n)}t.beginPath(),t.arc(n,r,i,o,a,!1),t.stroke(),this.disableShadow(t,e)}},{key:"getDistanceToEdge",value:function(t,e,n,r,i,o){if(this.from!=this.to)return this._getDistanceToEdge(t,e,n,r,i,o);var a=this._getCircleData(void 0),s=Yo(a,3),c=s[0],l=s[1],u=s[2],g=c-i,f=l-o;return Math.abs(Math.sqrt(g*g+f*f)-u)}},{key:"_getDistanceToLine",value:function(t,e,n,r,i,o){var a=n-t,s=r-e,c=((i-t)*a+(o-e)*s)/(a*a+s*s);c>1?c=1:c<0&&(c=0);var l=t+c*a-i,u=e+c*s-o;return Math.sqrt(l*l+u*u)}},{key:"getArrowData",value:function(t,e,n,r,i,o){var a,s,c,l,u,g,f,d=o.width;"from"===e?(c=this.from,l=this.to,u=o.fromArrowScale<0,g=Math.abs(o.fromArrowScale),f=o.fromArrowType):"to"===e?(c=this.to,l=this.from,u=o.toArrowScale<0,g=Math.abs(o.toArrowScale),f=o.toArrowType):(c=this.to,l=this.from,u=o.middleArrowScale<0,g=Math.abs(o.middleArrowScale),f=o.middleArrowType);var h=15*g+3*d;if(c!=l){var p=h/Wf(c.x-l.x,c.y-l.y);if("middle"!==e)if(!0===this.options.smooth.enabled){var A=this._findBorderPosition(c,t,{via:n}),C=this.getPoint(A.t+p*("from"===e?1:-1),n);a=Math.atan2(A.y-C.y,A.x-C.x),s=A}else a=Math.atan2(c.y-l.y,c.x-l.x),s=this._findBorderPosition(c,t);else{var v=(u?-p:p)/2,I=this.getPoint(.5+v,n),y=this.getPoint(.5-v,n);a=Math.atan2(I.y-y.y,I.x-y.x),s=this.getPoint(.5,n)}}else{var m=this._getCircleData(t),b=Yo(m,3),x=b[0],w=b[1],O=b[2];if("from"===e){var S=this.options.selfReference.angle,_=this.options.selfReference.angle+Math.PI,k=this._findBorderPositionCircle(this.from,t,{x:x,y:w,low:S,high:_,direction:-1});a=-2*k.t*Math.PI+1.5*Math.PI+.1*Math.PI,s=k}else if("to"===e){var j=this.options.selfReference.angle,E=this.options.selfReference.angle+Math.PI,P=this._findBorderPositionCircle(this.from,t,{x:x,y:w,low:j,high:E,direction:1});a=-2*P.t*Math.PI+1.5*Math.PI-1.1*Math.PI,s=P}else{var M=this.options.selfReference.angle/(2*Math.PI);s=this._pointOnCircle(x,w,O,M),a=-2*M*Math.PI+1.5*Math.PI+.1*Math.PI}}return{point:s,core:{x:s.x-.9*h*Math.cos(a),y:s.y-.9*h*Math.sin(a)},angle:a,length:h,type:f}}},{key:"drawArrowHead",value:function(t,e,n,r,i){t.strokeStyle=this.getColor(t,e),t.fillStyle=t.strokeStyle,t.lineWidth=e.width,id.draw(t,i)&&(this.enableShadow(t,e),Or(t).call(t),this.disableShadow(t,e))}},{key:"enableShadow",value:function(t,e){!0===e.shadow&&(t.shadowColor=e.shadowColor,t.shadowBlur=e.shadowSize,t.shadowOffsetX=e.shadowX,t.shadowOffsetY=e.shadowY)}},{key:"disableShadow",value:function(t,e){!0===e.shadow&&(t.shadowColor="rgba(0,0,0,0)",t.shadowBlur=0,t.shadowOffsetX=0,t.shadowOffsetY=0)}},{key:"drawBackground",value:function(t,e){if(!1!==e.background){var n={strokeStyle:t.strokeStyle,lineWidth:t.lineWidth,dashes:t.dashes};t.strokeStyle=e.backgroundColor,t.lineWidth=e.backgroundSize,this.setStrokeDashed(t,e.backgroundDashes),t.stroke(),t.strokeStyle=n.strokeStyle,t.lineWidth=n.lineWidth,t.dashes=n.dashes,this.setStrokeDashed(t,e.dashes)}}},{key:"setStrokeDashed",value:function(t,e){if(!1!==e)if(void 0!==t.setLineDash){var n=ta(e)?e:[5,5];t.setLineDash(n)}else console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.");else void 0!==t.setLineDash?t.setLineDash([]):console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.")}}]),t}();function cd(t,e){var n=Xo(t);if(kn){var r=kn(t);e&&(r=Ri(r).call(r,(function(e){return Yt(t,e).enumerable}))),n.push.apply(n,r)}return n}function ld(t){for(var e=1;e<arguments.length;e++){var n,r=null!=arguments[e]?arguments[e]:{};if(e%2)Ao(n=cd(Object(r),!0)).call(n,(function(e){Ur(t,e,r[e])}));else if(Bt)Mt(t,Bt(r));else{var i;Ao(i=cd(Object(r))).call(i,(function(e){Et(t,e,Yt(r,e))}))}}return t}function ud(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var gd=function(t){Ru(n,t);var e=ud(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"_findBorderPositionBezier",value:function(t,e){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._getViaCoordinates(),o=10,a=.2,s=!1,c=1,l=0,u=this.to,g=this.options.endPointOffset?this.options.endPointOffset.to:0;t.id===this.from.id&&(u=this.from,s=!0,g=this.options.endPointOffset?this.options.endPointOffset.from:0),!1===this.options.arrowStrikethrough&&(g=0);var f=0;do{r=.5*(l+c),n=this.getPoint(r,i);var d=Math.atan2(u.y-n.y,u.x-n.x),h=u.distanceToBorder(e,d)+g,p=Math.sqrt(Math.pow(n.x-u.x,2)+Math.pow(n.y-u.y,2)),A=h-p;if(Math.abs(A)<a)break;A<0?!1===s?l=r:c=r:!1===s?c=r:l=r,++f}while(l<=c&&f<o);return ld(ld({},n),{},{t:r})}},{key:"_getDistanceToBezierEdge",value:function(t,e,n,r,i,o,a){var s,c,l,u,g,f=1e9,d=t,h=e;for(c=1;c<10;c++)l=.1*c,u=Math.pow(1-l,2)*t+2*l*(1-l)*a.x+Math.pow(l,2)*n,g=Math.pow(1-l,2)*e+2*l*(1-l)*a.y+Math.pow(l,2)*r,c>0&&(f=(s=this._getDistanceToLine(d,h,u,g,i,o))<f?s:f),d=u,h=g;return f}},{key:"_bezierCurve",value:function(t,e,n,r){t.beginPath(),t.moveTo(this.fromPoint.x,this.fromPoint.y),null!=n&&null!=n.x?null!=r&&null!=r.x?t.bezierCurveTo(n.x,n.y,r.x,r.y,this.toPoint.x,this.toPoint.y):t.quadraticCurveTo(n.x,n.y,this.toPoint.x,this.toPoint.y):t.lineTo(this.toPoint.x,this.toPoint.y),this.drawBackground(t,e),this.enableShadow(t,e),t.stroke(),this.disableShadow(t,e)}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}}]),n}(sd);function fd(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var dd=function(t){Ru(n,t);var e=fd(n);function n(t,r,i){var o;return Fr(this,n),(o=e.call(this,t,r,i)).via=o.via,o._boundFunction=function(){o.positionBezierNode()},o._body.emitter.on("_repositionBezierNodes",o._boundFunction),o}return Vr(n,[{key:"setOptions",value:function(t){Ff(Lu(n.prototype),"setOptions",this).call(this,t);var e=!1;this.options.physics!==t.physics&&(e=!0),this.options=t,this.id=this.options.id,this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],this.setupSupportNode(),this.connect(),!0===e&&(this.via.setOptions({physics:this.options.physics}),this.positionBezierNode())}},{key:"connect",value:function(){this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],void 0===this.from||void 0===this.to||!1===this.options.physics||this.from.id===this.to.id?this.via.setOptions({physics:!1}):this.via.setOptions({physics:!0})}},{key:"cleanup",value:function(){return this._body.emitter.off("_repositionBezierNodes",this._boundFunction),void 0!==this.via&&(delete this._body.nodes[this.via.id],this.via=void 0,!0)}},{key:"setupSupportNode",value:function(){if(void 0===this.via){var t="edgeId:"+this.id,e=this._body.functions.createNode({id:t,shape:"circle",physics:!0,hidden:!0});this._body.nodes[t]=e,this.via=e,this.via.parentEdgeId=this.id,this.positionBezierNode()}}},{key:"positionBezierNode",value:function(){void 0!==this.via&&void 0!==this.from&&void 0!==this.to?(this.via.x=.5*(this.from.x+this.to.x),this.via.y=.5*(this.from.y+this.to.y)):void 0!==this.via&&(this.via.x=0,this.via.y=0)}},{key:"_line",value:function(t,e,n){this._bezierCurve(t,e,n)}},{key:"_getViaCoordinates",value:function(){return this.via}},{key:"getViaNode",value:function(){return this.via}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.via;if(this.from===this.to){var n=this._getCircleData(),r=Yo(n,3),i=r[0],o=r[1],a=r[2],s=2*Math.PI*(1-t);return{x:i+a*Math.sin(s),y:o+a-a*(1-Math.cos(s))}}return{x:Math.pow(1-t,2)*this.fromPoint.x+2*t*(1-t)*e.x+Math.pow(t,2)*this.toPoint.x,y:Math.pow(1-t,2)*this.fromPoint.y+2*t*(1-t)*e.y+Math.pow(t,2)*this.toPoint.y}}},{key:"_findBorderPosition",value:function(t,e){return this._findBorderPositionBezier(t,e,this.via)}},{key:"_getDistanceToEdge",value:function(t,e,n,r,i,o){return this._getDistanceToBezierEdge(t,e,n,r,i,o,this.via)}}]),n}(gd);function hd(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var pd=function(t){Ru(n,t);var e=hd(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"_line",value:function(t,e,n){this._bezierCurve(t,e,n)}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_getViaCoordinates",value:function(){var t,e,n=this.options.smooth.roundness,r=this.options.smooth.type,i=Math.abs(this.from.x-this.to.x),o=Math.abs(this.from.y-this.to.y);if("discrete"===r||"diagonalCross"===r){var a,s;a=s=i<=o?n*o:n*i,this.from.x>this.to.x&&(a=-a),this.from.y>=this.to.y&&(s=-s);var c=this.from.x+a,l=this.from.y+s;return"discrete"===r&&(i<=o?c=i<n*o?this.from.x:c:l=o<n*i?this.from.y:l),{x:c,y:l}}if("straightCross"===r){var u=(1-n)*i,g=(1-n)*o;return i<=o?(u=0,this.from.y<this.to.y&&(g=-g)):(this.from.x<this.to.x&&(u=-u),g=0),{x:this.to.x+u,y:this.to.y+g}}if("horizontal"===r){var f=(1-n)*i;return this.from.x<this.to.x&&(f=-f),{x:this.to.x+f,y:this.from.y}}if("vertical"===r){var d=(1-n)*o;return this.from.y<this.to.y&&(d=-d),{x:this.from.x,y:this.to.y+d}}if("curvedCW"===r){i=this.to.x-this.from.x,o=this.from.y-this.to.y;var h=Math.sqrt(i*i+o*o),p=Math.PI,A=(Math.atan2(o,i)+(.5*n+.5)*p)%(2*p);return{x:this.from.x+(.5*n+.5)*h*Math.sin(A),y:this.from.y+(.5*n+.5)*h*Math.cos(A)}}if("curvedCCW"===r){i=this.to.x-this.from.x,o=this.from.y-this.to.y;var C=Math.sqrt(i*i+o*o),v=Math.PI,I=(Math.atan2(o,i)+(.5*-n+.5)*v)%(2*v);return{x:this.from.x+(.5*n+.5)*C*Math.sin(I),y:this.from.y+(.5*n+.5)*C*Math.cos(I)}}t=e=i<=o?n*o:n*i,this.from.x>this.to.x&&(t=-t),this.from.y>=this.to.y&&(e=-e);var y=this.from.x+t,m=this.from.y+e;return i<=o?y=this.from.x<=this.to.x?this.to.x<y?this.to.x:y:this.to.x>y?this.to.x:y:m=this.from.y>=this.to.y?this.to.y>m?this.to.y:m:this.to.y<m?this.to.y:m,{x:y,y:m}}},{key:"_findBorderPosition",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._findBorderPositionBezier(t,e,n.via)}},{key:"_getDistanceToEdge",value:function(t,e,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:this._getViaCoordinates();return this._getDistanceToBezierEdge(t,e,n,r,i,o,a)}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getViaCoordinates(),n=t,r=Math.pow(1-n,2)*this.fromPoint.x+2*n*(1-n)*e.x+Math.pow(n,2)*this.toPoint.x,i=Math.pow(1-n,2)*this.fromPoint.y+2*n*(1-n)*e.y+Math.pow(n,2)*this.toPoint.y;return{x:r,y:i}}}]),n}(gd);function Ad(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}function Cd(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var vd=function(t){Ru(n,t);var e=Cd(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"_line",value:function(t,e,n){var r=n[0],i=n[1];this._bezierCurve(t,e,r,i)}},{key:"_getViaCoordinates",value:function(){var t,e,n,r,i=this.from.x-this.to.x,o=this.from.y-this.to.y,a=this.options.smooth.roundness;return(Math.abs(i)>Math.abs(o)||!0===this.options.smooth.forceDirection||"horizontal"===this.options.smooth.forceDirection)&&"vertical"!==this.options.smooth.forceDirection?(e=this.from.y,r=this.to.y,t=this.from.x-a*i,n=this.to.x+a*i):(e=this.from.y-a*o,r=this.to.y+a*o,t=this.from.x,n=this.to.x),[{x:t,y:e},{x:n,y:r}]}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_findBorderPosition",value:function(t,e){return this._findBorderPositionBezier(t,e)}},{key:"_getDistanceToEdge",value:function(t,e,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:this._getViaCoordinates(),s=Yo(a,2),c=s[0],l=s[1];return this._getDistanceToBezierEdge2(t,e,n,r,i,o,c,l)}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getViaCoordinates(),n=Yo(e,2),r=n[0],i=n[1],o=t,a=[Math.pow(1-o,3),3*o*Math.pow(1-o,2),3*Math.pow(o,2)*(1-o),Math.pow(o,3)],s=a[0]*this.fromPoint.x+a[1]*r.x+a[2]*i.x+a[3]*this.toPoint.x,c=a[0]*this.fromPoint.y+a[1]*r.y+a[2]*i.y+a[3]*this.toPoint.y;return{x:s,y:c}}}]),n}(function(t){Ru(n,t);var e=Ad(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"_getDistanceToBezierEdge2",value:function(t,e,n,r,i,o,a,s){for(var c=1e9,l=t,u=e,g=[0,0,0,0],f=1;f<10;f++){var d=.1*f;g[0]=Math.pow(1-d,3),g[1]=3*d*Math.pow(1-d,2),g[2]=3*Math.pow(d,2)*(1-d),g[3]=Math.pow(d,3);var h=g[0]*t+g[1]*a.x+g[2]*s.x+g[3]*n,p=g[0]*e+g[1]*a.y+g[2]*s.y+g[3]*r;if(f>0){var A=this._getDistanceToLine(l,u,h,p,i,o);c=A<c?A:c}l=h,u=p}return c}}]),n}(gd));function Id(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var yd=function(t){Ru(n,t);var e=Id(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"_line",value:function(t,e){t.beginPath(),t.moveTo(this.fromPoint.x,this.fromPoint.y),t.lineTo(this.toPoint.x,this.toPoint.y),this.enableShadow(t,e),t.stroke(),this.disableShadow(t,e)}},{key:"getViaNode",value:function(){}},{key:"getPoint",value:function(t){return{x:(1-t)*this.fromPoint.x+t*this.toPoint.x,y:(1-t)*this.fromPoint.y+t*this.toPoint.y}}},{key:"_findBorderPosition",value:function(t,e){var n=this.to,r=this.from;t.id===this.from.id&&(n=this.from,r=this.to);var i=Math.atan2(n.y-r.y,n.x-r.x),o=n.x-r.x,a=n.y-r.y,s=Math.sqrt(o*o+a*a),c=(s-t.distanceToBorder(e,i))/s;return{x:(1-c)*r.x+c*n.x,y:(1-c)*r.y+c*n.y,t:0}}},{key:"_getDistanceToEdge",value:function(t,e,n,r,i,o){return this._getDistanceToLine(t,e,n,r,i,o)}}]),n}(sd),md=function(){function t(e,n,r,i,o){if(Fr(this,t),void 0===n)throw new Error("No body provided");this.options=zc(i),this.globalOptions=i,this.defaultOptions=o,this.body=n,this.imagelist=r,this.id=void 0,this.fromId=void 0,this.toId=void 0,this.selected=!1,this.hover=!1,this.labelDirty=!0,this.baseWidth=this.options.width,this.baseFontSize=this.options.font.size,this.from=void 0,this.to=void 0,this.edgeType=void 0,this.connected=!1,this.labelModule=new Gg(this.body,this.options,!0),this.setOptions(e)}return Vr(t,[{key:"setOptions",value:function(e){if(e){var n="undefined"!==typeof e.physics&&this.options.physics!==e.physics||"undefined"!==typeof e.hidden&&(this.options.hidden||!1)!==(e.hidden||!1)||"undefined"!==typeof e.from&&this.options.from!==e.from||"undefined"!==typeof e.to&&this.options.to!==e.to;t.parseOptions(this.options,e,!0,this.globalOptions),void 0!==e.id&&(this.id=e.id),void 0!==e.from&&(this.fromId=e.from),void 0!==e.to&&(this.toId=e.to),void 0!==e.title&&(this.title=e.title),void 0!==e.value&&(e.value=Mg(e.value));var r=[e,this.options,this.defaultOptions];return this.chooser=Tg("edge",r),this.updateLabelModule(e),n=this.updateEdgeType()||n,this._setInteractionWidths(),this.connect(),n}}},{key:"getFormattingValues",value:function(){var t=!0===this.options.arrows.to||!0===this.options.arrows.to.enabled,e=!0===this.options.arrows.from||!0===this.options.arrows.from.enabled,n=!0===this.options.arrows.middle||!0===this.options.arrows.middle.enabled,r=this.options.color.inherit,i={toArrow:t,toArrowScale:this.options.arrows.to.scaleFactor,toArrowType:this.options.arrows.to.type,toArrowSrc:this.options.arrows.to.src,toArrowImageWidth:this.options.arrows.to.imageWidth,toArrowImageHeight:this.options.arrows.to.imageHeight,middleArrow:n,middleArrowScale:this.options.arrows.middle.scaleFactor,middleArrowType:this.options.arrows.middle.type,middleArrowSrc:this.options.arrows.middle.src,middleArrowImageWidth:this.options.arrows.middle.imageWidth,middleArrowImageHeight:this.options.arrows.middle.imageHeight,fromArrow:e,fromArrowScale:this.options.arrows.from.scaleFactor,fromArrowType:this.options.arrows.from.type,fromArrowSrc:this.options.arrows.from.src,fromArrowImageWidth:this.options.arrows.from.imageWidth,fromArrowImageHeight:this.options.arrows.from.imageHeight,arrowStrikethrough:this.options.arrowStrikethrough,color:r?void 0:this.options.color.color,inheritsColor:r,opacity:this.options.color.opacity,hidden:this.options.hidden,length:this.options.length,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y,dashes:this.options.dashes,width:this.options.width,background:this.options.background.enabled,backgroundColor:this.options.background.color,backgroundSize:this.options.background.size,backgroundDashes:this.options.background.dashes};if(this.selected||this.hover)if(!0===this.chooser){if(this.selected){var o=this.options.selectionWidth;"function"===typeof o?i.width=o(i.width):"number"===typeof o&&(i.width+=o),i.width=Math.max(i.width,.3/this.body.view.scale),i.color=this.options.color.highlight,i.shadow=this.options.shadow.enabled}else if(this.hover){var a=this.options.hoverWidth;"function"===typeof a?i.width=a(i.width):"number"===typeof a&&(i.width+=a),i.width=Math.max(i.width,.3/this.body.view.scale),i.color=this.options.color.hover,i.shadow=this.options.shadow.enabled}}else"function"===typeof this.chooser&&(this.chooser(i,this.options.id,this.selected,this.hover),void 0!==i.color&&(i.inheritsColor=!1),!1===i.shadow&&(i.shadowColor===this.options.shadow.color&&i.shadowSize===this.options.shadow.size&&i.shadowX===this.options.shadow.x&&i.shadowY===this.options.shadow.y||(i.shadow=!0)));else i.shadow=this.options.shadow.enabled,i.width=Math.max(i.width,.3/this.body.view.scale);return i}},{key:"updateLabelModule",value:function(t){var e=[t,this.options,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,e),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}},{key:"updateEdgeType",value:function(){var t=this.options.smooth,e=!1,n=!0;return void 0!==this.edgeType&&((this.edgeType instanceof dd&&!0===t.enabled&&"dynamic"===t.type||this.edgeType instanceof vd&&!0===t.enabled&&"cubicBezier"===t.type||this.edgeType instanceof pd&&!0===t.enabled&&"dynamic"!==t.type&&"cubicBezier"!==t.type||this.edgeType instanceof yd&&!1===t.type.enabled)&&(n=!1),!0===n&&(e=this.cleanup())),!0===n?!0===t.enabled?"dynamic"===t.type?(e=!0,this.edgeType=new dd(this.options,this.body,this.labelModule)):"cubicBezier"===t.type?this.edgeType=new vd(this.options,this.body,this.labelModule):this.edgeType=new pd(this.options,this.body,this.labelModule):this.edgeType=new yd(this.options,this.body,this.labelModule):this.edgeType.setOptions(this.options),e}},{key:"connect",value:function(){this.disconnect(),this.from=this.body.nodes[this.fromId]||void 0,this.to=this.body.nodes[this.toId]||void 0,this.connected=void 0!==this.from&&void 0!==this.to,!0===this.connected?(this.from.attachEdge(this),this.to.attachEdge(this)):(this.from&&this.from.detachEdge(this),this.to&&this.to.detachEdge(this)),this.edgeType.connect()}},{key:"disconnect",value:function(){this.from&&(this.from.detachEdge(this),this.from=void 0),this.to&&(this.to.detachEdge(this),this.to=void 0),this.connected=!1}},{key:"getTitle",value:function(){return this.title}},{key:"isSelected",value:function(){return this.selected}},{key:"getValue",value:function(){return this.options.value}},{key:"setValueRange",value:function(t,e,n){if(void 0!==this.options.value){var r=this.options.scaling.customScalingFunction(t,e,n,this.options.value),i=this.options.scaling.max-this.options.scaling.min;if(!0===this.options.scaling.label.enabled){var o=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+r*o}this.options.width=this.options.scaling.min+r*i}else this.options.width=this.baseWidth,this.options.font.size=this.baseFontSize;this._setInteractionWidths(),this.updateLabelModule()}},{key:"_setInteractionWidths",value:function(){"function"===typeof this.options.hoverWidth?this.edgeType.hoverWidth=this.options.hoverWidth(this.options.width):this.edgeType.hoverWidth=this.options.hoverWidth+this.options.width,"function"===typeof this.options.selectionWidth?this.edgeType.selectionWidth=this.options.selectionWidth(this.options.width):this.edgeType.selectionWidth=this.options.selectionWidth+this.options.width}},{key:"draw",value:function(t){var e=this.getFormattingValues();if(!e.hidden){var n=this.edgeType.getViaNode();this.edgeType.drawLine(t,e,this.selected,this.hover,n),this.drawLabel(t,n)}}},{key:"drawArrows",value:function(t){var e=this.getFormattingValues();if(!e.hidden){var n=this.edgeType.getViaNode(),r={};this.edgeType.fromPoint=this.edgeType.from,this.edgeType.toPoint=this.edgeType.to,e.fromArrow&&(r.from=this.edgeType.getArrowData(t,"from",n,this.selected,this.hover,e),!1===e.arrowStrikethrough&&(this.edgeType.fromPoint=r.from.core),e.fromArrowSrc&&(r.from.image=this.imagelist.load(e.fromArrowSrc)),e.fromArrowImageWidth&&(r.from.imageWidth=e.fromArrowImageWidth),e.fromArrowImageHeight&&(r.from.imageHeight=e.fromArrowImageHeight)),e.toArrow&&(r.to=this.edgeType.getArrowData(t,"to",n,this.selected,this.hover,e),!1===e.arrowStrikethrough&&(this.edgeType.toPoint=r.to.core),e.toArrowSrc&&(r.to.image=this.imagelist.load(e.toArrowSrc)),e.toArrowImageWidth&&(r.to.imageWidth=e.toArrowImageWidth),e.toArrowImageHeight&&(r.to.imageHeight=e.toArrowImageHeight)),e.middleArrow&&(r.middle=this.edgeType.getArrowData(t,"middle",n,this.selected,this.hover,e),e.middleArrowSrc&&(r.middle.image=this.imagelist.load(e.middleArrowSrc)),e.middleArrowImageWidth&&(r.middle.imageWidth=e.middleArrowImageWidth),e.middleArrowImageHeight&&(r.middle.imageHeight=e.middleArrowImageHeight)),e.fromArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,r.from),e.middleArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,r.middle),e.toArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,r.to)}}},{key:"drawLabel",value:function(t,e){if(void 0!==this.options.label){var n,r=this.from,i=this.to;if(this.labelModule.differentState(this.selected,this.hover)&&this.labelModule.getTextSize(t,this.selected,this.hover),r.id!=i.id){this.labelModule.pointToSelf=!1,n=this.edgeType.getPoint(.5,e),t.save();var o=this._getRotation(t);0!=o.angle&&(t.translate(o.x,o.y),t.rotate(o.angle)),this.labelModule.draw(t,n.x,n.y,this.selected,this.hover),t.restore()}else{this.labelModule.pointToSelf=!0;var a=Ng(t,this.options.selfReference.angle,this.options.selfReference.size,r);n=this._pointOnCircle(a.x,a.y,this.options.selfReference.size,this.options.selfReference.angle),this.labelModule.draw(t,n.x,n.y,this.selected,this.hover)}}}},{key:"getItemsOnPoint",value:function(t){var e=[];if(this.labelModule.visible()){var n=this._getRotation();Rg(this.labelModule.getSize(),t,n)&&e.push({edgeId:this.id,labelId:0})}var r={left:t.x,top:t.y};return this.isOverlappingWith(r)&&e.push({edgeId:this.id}),e}},{key:"isOverlappingWith",value:function(t){if(this.connected){var e=this.from.x,n=this.from.y,r=this.to.x,i=this.to.y,o=t.left,a=t.top;return this.edgeType.getDistanceToEdge(e,n,r,i,o,a)<10}return!1}},{key:"_getRotation",value:function(t){var e=this.edgeType.getViaNode(),n=this.edgeType.getPoint(.5,e);void 0!==t&&this.labelModule.calculateLabelSize(t,this.selected,this.hover,n.x,n.y);var r={x:n.x,y:this.labelModule.size.yLine,angle:0};if(!this.labelModule.visible())return r;if("horizontal"===this.options.font.align)return r;var i=this.from.y-this.to.y,o=this.from.x-this.to.x,a=Math.atan2(i,o);return(a<-1&&o<0||a>0&&o<0)&&(a+=Math.PI),r.angle=a,r}},{key:"_pointOnCircle",value:function(t,e,n,r){return{x:t+n*Math.cos(r),y:e-n*Math.sin(r)}}},{key:"select",value:function(){this.selected=!0}},{key:"unselect",value:function(){this.selected=!1}},{key:"cleanup",value:function(){return this.edgeType.cleanup()}},{key:"remove",value:function(){this.cleanup(),this.disconnect(),delete this.body.edges[this.id]}},{key:"endPointsValid",value:function(){return void 0!==this.body.nodes[this.fromId]&&void 0!==this.body.nodes[this.toId]}}],[{key:"parseOptions",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=["endPointOffset","arrowStrikethrough","id","from","hidden","hoverWidth","labelHighlightBold","length","line","opacity","physics","scaling","selectionWidth","selfReferenceSize","selfReference","to","title","value","width","font","chosen","widthConstraint"];if(xc(o,t,e,n),void 0!==e.endPointOffset&&void 0!==e.endPointOffset.from&&(gu(e.endPointOffset.from)?t.endPointOffset.from=e.endPointOffset.from:(t.endPointOffset.from=void 0!==r.endPointOffset.from?r.endPointOffset.from:0,console.error("endPointOffset.from is not a valid number"))),void 0!==e.endPointOffset&&void 0!==e.endPointOffset.to&&(gu(e.endPointOffset.to)?t.endPointOffset.to=e.endPointOffset.to:(t.endPointOffset.to=void 0!==r.endPointOffset.to?r.endPointOffset.to:0,console.error("endPointOffset.to is not a valid number"))),Dg(e.label)?t.label=e.label:Dg(t.label)||(t.label=void 0),Vc(t,e,"smooth",r),Vc(t,e,"shadow",r),Vc(t,e,"background",r),void 0!==e.dashes&&null!==e.dashes?t.dashes=e.dashes:!0===n&&null===e.dashes&&(t.dashes=Yr(r.dashes)),void 0!==e.scaling&&null!==e.scaling?(void 0!==e.scaling.min&&(t.scaling.min=e.scaling.min),void 0!==e.scaling.max&&(t.scaling.max=e.scaling.max),Vc(t.scaling,e.scaling,"label",r.scaling)):!0===n&&null===e.scaling&&(t.scaling=Yr(r.scaling)),void 0!==e.arrows&&null!==e.arrows)if("string"===typeof e.arrows){var a=e.arrows.toLowerCase();t.arrows.to.enabled=-1!=fi(a).call(a,"to"),t.arrows.middle.enabled=-1!=fi(a).call(a,"middle"),t.arrows.from.enabled=-1!=fi(a).call(a,"from")}else{if("object"!==ra(e.arrows))throw new Error("The arrow newOptions can only be an object or a string. Refer to the documentation. You used:"+Lr(e.arrows));Vc(t.arrows,e.arrows,"to",r.arrows),Vc(t.arrows,e.arrows,"middle",r.arrows),Vc(t.arrows,e.arrows,"from",r.arrows)}else!0===n&&null===e.arrows&&(t.arrows=Yr(r.arrows));if(void 0!==e.color&&null!==e.color){var s=Ic(e.color)?{color:e.color,highlight:e.color,hover:e.color,inherit:!1,opacity:1}:e.color,c=t.color;if(i)Oc(c,r.color,!1,n);else for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&delete c[l];if(Ic(c))c.color=c,c.highlight=c,c.hover=c,c.inherit=!1,void 0===s.opacity&&(c.opacity=1);else{var u=!1;void 0!==s.color&&(c.color=s.color,u=!0),void 0!==s.highlight&&(c.highlight=s.highlight,u=!0),void 0!==s.hover&&(c.hover=s.hover,u=!0),void 0!==s.inherit&&(c.inherit=s.inherit),void 0!==s.opacity&&(c.opacity=Math.min(1,Math.max(0,s.opacity))),!0===u?c.inherit=!1:void 0===c.inherit&&(c.inherit="from")}}else!0===n&&null===e.color&&(t.color=zc(r.color));!0===n&&null===e.font&&(t.font=zc(r.font)),Object.prototype.hasOwnProperty.call(e,"selfReferenceSize")&&(console.warn("The selfReferenceSize property has been deprecated. Please use selfReference property instead. The selfReference can be set like thise selfReference:{size:30, angle:Math.PI / 4}"),t.selfReference.size=e.selfReferenceSize)}}]),t}(),bd=function(){function t(e,n,r){var i,o=this;Fr(this,t),this.body=e,this.images=n,this.groups=r,this.body.functions.createEdge=$(i=this.create).call(i,this),this.edgesListeners={add:function(t,e){o.add(e.items)},update:function(t,e){o.update(e.items)},remove:function(t,e){o.remove(e.items)}},this.options={},this.defaultOptions={arrows:{to:{enabled:!1,scaleFactor:1,type:"arrow"},middle:{enabled:!1,scaleFactor:1,type:"arrow"},from:{enabled:!1,scaleFactor:1,type:"arrow"}},endPointOffset:{from:0,to:0},arrowStrikethrough:!0,color:{color:"#848484",highlight:"#848484",hover:"#848484",inherit:"from",opacity:1},dashes:!1,font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:2,strokeColor:"#ffffff",align:"horizontal",multi:!1,vadjust:0,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"courier new",vadjust:2}},hidden:!1,hoverWidth:1.5,label:void 0,labelHighlightBold:!0,length:void 0,physics:!0,scaling:{min:1,max:15,label:{enabled:!0,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(t,e,n,r){if(e===t)return.5;var i=1/(e-t);return Math.max(0,(r-t)*i)}},selectionWidth:1.5,selfReference:{size:20,angle:Math.PI/4,renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},background:{enabled:!1,color:"rgba(111,111,111,1)",size:10,dashes:!1},smooth:{enabled:!0,type:"dynamic",forceDirection:"none",roundness:.5},title:void 0,width:1,value:void 0},Oc(this.options,this.defaultOptions),this.bindEventListeners()}return Vr(t,[{key:"bindEventListeners",value:function(){var t,e,n=this;this.body.emitter.on("_forceDisableDynamicCurves",(function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"dynamic"===t&&(t="continuous");var r=!1;for(var i in n.body.edges)if(Object.prototype.hasOwnProperty.call(n.body.edges,i)){var o=n.body.edges[i],a=n.body.data.edges.get(i);if(null!=a){var s=a.smooth;void 0!==s&&!0===s.enabled&&"dynamic"===s.type&&(void 0===t?o.setOptions({smooth:!1}):o.setOptions({smooth:{type:t}}),r=!0)}}!0===e&&!0===r&&n.body.emitter.emit("_dataChanged")})),this.body.emitter.on("_dataUpdated",(function(){n.reconnectEdges()})),this.body.emitter.on("refreshEdges",$(t=this.refresh).call(t,this)),this.body.emitter.on("refresh",$(e=this.refresh).call(e,this)),this.body.emitter.on("destroy",(function(){jc(n.edgesListeners,(function(t,e){n.body.data.edges&&n.body.data.edges.off(e,t)})),delete n.body.functions.createEdge,delete n.edgesListeners.add,delete n.edgesListeners.update,delete n.edgesListeners.remove,delete n.edgesListeners}))}},{key:"setOptions",value:function(t){if(void 0!==t){md.parseOptions(this.options,t,!0,this.defaultOptions,!0);var e=!1;if(void 0!==t.smooth)for(var n in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,n)&&(e=this.body.edges[n].updateEdgeType()||e);if(void 0!==t.font)for(var r in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,r)&&this.body.edges[r].updateLabelModule();void 0===t.hidden&&void 0===t.physics&&!0!==e||this.body.emitter.emit("_dataChanged")}}},{key:"setData",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.body.data.edges;if(wg("id",t))this.body.data.edges=t;else if(ta(t))this.body.data.edges=new bg,this.body.data.edges.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.body.data.edges=new bg}if(r&&jc(this.edgesListeners,(function(t,e){r.off(e,t)})),this.body.edges={},this.body.data.edges){jc(this.edgesListeners,(function(t,n){e.body.data.edges.on(n,t)}));var i=this.body.data.edges.getIds();this.add(i,!0)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),!1===n&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.body.edges,r=this.body.data.edges,i=0;i<t.length;i++){var o=t[i],a=n[o];a&&a.disconnect();var s=r.get(o,{showInternalIds:!0});n[o]=this.create(s)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),!1===e&&this.body.emitter.emit("_dataChanged")}},{key:"update",value:function(t){for(var e=this.body.edges,n=this.body.data.edges,r=!1,i=0;i<t.length;i++){var o=t[i],a=n.get(o),s=e[o];void 0!==s?(s.disconnect(),r=s.setOptions(a)||r,s.connect()):(this.body.edges[o]=this.create(a),r=!0)}!0===r?(this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),this.body.emitter.emit("_dataChanged")):this.body.emitter.emit("_dataUpdated")}},{key:"remove",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(0!==t.length){var n=this.body.edges;jc(t,(function(t){var e=n[t];void 0!==e&&e.remove()})),e&&this.body.emitter.emit("_dataChanged")}}},{key:"refresh",value:function(){var t=this;jc(this.body.edges,(function(e,n){var r=t.body.data.edges.get(n);void 0!==r&&e.setOptions(r)}))}},{key:"create",value:function(t){return new md(t,this.body,this.images,this.options,this.defaultOptions)}},{key:"reconnectEdges",value:function(){var t,e=this.body.nodes,n=this.body.edges;for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&(e[t].edges=[]);for(t in n)if(Object.prototype.hasOwnProperty.call(n,t)){var r=n[t];r.from=null,r.to=null,r.connect()}}},{key:"getConnectedNodes",value:function(t){var e=[];if(void 0!==this.body.edges[t]){var n=this.body.edges[t];void 0!==n.fromId&&e.push(n.fromId),void 0!==n.toId&&e.push(n.toId)}return e}},{key:"_updateState",value:function(){this._addMissingEdges(),this._removeInvalidEdges()}},{key:"_removeInvalidEdges",value:function(){var t=this,e=[];jc(this.body.edges,(function(n,r){var i=t.body.nodes[n.toId],o=t.body.nodes[n.fromId];void 0!==i&&!0===i.isCluster||void 0!==o&&!0===o.isCluster||void 0!==i&&void 0!==o||e.push(r)})),this.remove(e,!1)}},{key:"_addMissingEdges",value:function(){var t=this.body.data.edges;if(void 0!==t&&null!==t){var e=this.body.edges,n=[];Ao(t).call(t,(function(t,r){void 0===e[r]&&n.push(r)})),this.add(n,!0)}}}]),t}(),xd=function(){function t(e,n,r){Fr(this,t),this.body=e,this.physicsBody=n,this.barnesHutTree,this.setOptions(r),this._rng=lc("BARNES HUT SOLVER")}return Vr(t,[{key:"setOptions",value:function(t){this.options=t,this.thetaInversed=1/this.options.theta,this.overlapAvoidanceFactor=1-Math.max(0,Math.min(1,this.options.avoidOverlap))}},{key:"solve",value:function(){if(0!==this.options.gravitationalConstant&&this.physicsBody.physicsNodeIndices.length>0){var t,e=this.body.nodes,n=this.physicsBody.physicsNodeIndices,r=n.length,i=this._formBarnesHutTree(e,n);this.barnesHutTree=i;for(var o=0;o<r;o++)(t=e[n[o]]).options.mass>0&&this._getForceContributions(i.root,t)}}},{key:"_getForceContributions",value:function(t,e){this._getForceContribution(t.children.NW,e),this._getForceContribution(t.children.NE,e),this._getForceContribution(t.children.SW,e),this._getForceContribution(t.children.SE,e)}},{key:"_getForceContribution",value:function(t,e){if(t.childrenCount>0){var n=t.centerOfMass.x-e.x,r=t.centerOfMass.y-e.y,i=Math.sqrt(n*n+r*r);i*t.calcSize>this.thetaInversed?this._calculateForces(i,n,r,e,t):4===t.childrenCount?this._getForceContributions(t,e):t.children.data.id!=e.id&&this._calculateForces(i,n,r,e,t)}}},{key:"_calculateForces",value:function(t,e,n,r,i){0===t&&(e=t=.1),this.overlapAvoidanceFactor<1&&r.shape.radius&&(t=Math.max(.1+this.overlapAvoidanceFactor*r.shape.radius,t-r.shape.radius));var o=this.options.gravitationalConstant*i.mass*r.options.mass/Math.pow(t,3),a=e*o,s=n*o;this.physicsBody.forces[r.id].x+=a,this.physicsBody.forces[r.id].y+=s}},{key:"_formBarnesHutTree",value:function(t,e){for(var n,r=e.length,i=t[e[0]].x,o=t[e[0]].y,a=t[e[0]].x,s=t[e[0]].y,c=1;c<r;c++){var l=t[e[c]],u=l.x,g=l.y;l.options.mass>0&&(u<i&&(i=u),u>a&&(a=u),g<o&&(o=g),g>s&&(s=g))}var f=Math.abs(a-i)-Math.abs(s-o);f>0?(o-=.5*f,s+=.5*f):(i+=.5*f,a-=.5*f);var d=Math.max(1e-5,Math.abs(a-i)),h=.5*d,p=.5*(i+a),A=.5*(o+s),C={root:{centerOfMass:{x:0,y:0},mass:0,range:{minX:p-h,maxX:p+h,minY:A-h,maxY:A+h},size:d,calcSize:1/d,children:{data:null},maxWidth:0,level:0,childrenCount:4}};this._splitBranch(C.root);for(var v=0;v<r;v++)(n=t[e[v]]).options.mass>0&&this._placeInTree(C.root,n);return C}},{key:"_updateBranchMass",value:function(t,e){var n=t.centerOfMass,r=t.mass+e.options.mass,i=1/r;n.x=n.x*t.mass+e.x*e.options.mass,n.x*=i,n.y=n.y*t.mass+e.y*e.options.mass,n.y*=i,t.mass=r;var o=Math.max(Math.max(e.height,e.radius),e.width);t.maxWidth=t.maxWidth<o?o:t.maxWidth}},{key:"_placeInTree",value:function(t,e,n){1==n&&void 0!==n||this._updateBranchMass(t,e);var r,i=t.children.NW.range;r=i.maxX>e.x?i.maxY>e.y?"NW":"SW":i.maxY>e.y?"NE":"SE",this._placeInRegion(t,e,r)}},{key:"_placeInRegion",value:function(t,e,n){var r=t.children[n];switch(r.childrenCount){case 0:r.children.data=e,r.childrenCount=1,this._updateBranchMass(r,e);break;case 1:r.children.data.x===e.x&&r.children.data.y===e.y?(e.x+=this._rng(),e.y+=this._rng()):(this._splitBranch(r),this._placeInTree(r,e));break;case 4:this._placeInTree(r,e)}}},{key:"_splitBranch",value:function(t){var e=null;1===t.childrenCount&&(e=t.children.data,t.mass=0,t.centerOfMass.x=0,t.centerOfMass.y=0),t.childrenCount=4,t.children.data=null,this._insertRegion(t,"NW"),this._insertRegion(t,"NE"),this._insertRegion(t,"SW"),this._insertRegion(t,"SE"),null!=e&&this._placeInTree(t,e)}},{key:"_insertRegion",value:function(t,e){var n,r,i,o,a=.5*t.size;switch(e){case"NW":n=t.range.minX,r=t.range.minX+a,i=t.range.minY,o=t.range.minY+a;break;case"NE":n=t.range.minX+a,r=t.range.maxX,i=t.range.minY,o=t.range.minY+a;break;case"SW":n=t.range.minX,r=t.range.minX+a,i=t.range.minY+a,o=t.range.maxY;break;case"SE":n=t.range.minX+a,r=t.range.maxX,i=t.range.minY+a,o=t.range.maxY}t.children[e]={centerOfMass:{x:0,y:0},mass:0,range:{minX:n,maxX:r,minY:i,maxY:o},size:.5*t.size,calcSize:2*t.calcSize,children:{data:null},maxWidth:0,level:t.level+1,childrenCount:0}}},{key:"_debug",value:function(t,e){void 0!==this.barnesHutTree&&(t.lineWidth=1,this._drawBranch(this.barnesHutTree.root,t,e))}},{key:"_drawBranch",value:function(t,e,n){void 0===n&&(n="#FF0000"),4===t.childrenCount&&(this._drawBranch(t.children.NW,e),this._drawBranch(t.children.NE,e),this._drawBranch(t.children.SE,e),this._drawBranch(t.children.SW,e)),e.strokeStyle=n,e.beginPath(),e.moveTo(t.range.minX,t.range.minY),e.lineTo(t.range.maxX,t.range.minY),e.stroke(),e.beginPath(),e.moveTo(t.range.maxX,t.range.minY),e.lineTo(t.range.maxX,t.range.maxY),e.stroke(),e.beginPath(),e.moveTo(t.range.maxX,t.range.maxY),e.lineTo(t.range.minX,t.range.maxY),e.stroke(),e.beginPath(),e.moveTo(t.range.minX,t.range.maxY),e.lineTo(t.range.minX,t.range.minY),e.stroke()}}]),t}(),wd=function(){function t(e,n,r){Fr(this,t),this._rng=lc("REPULSION SOLVER"),this.body=e,this.physicsBody=n,this.setOptions(r)}return Vr(t,[{key:"setOptions",value:function(t){this.options=t}},{key:"solve",value:function(){for(var t,e,n,r,i,o,a,s,c=this.body.nodes,l=this.physicsBody.physicsNodeIndices,u=this.physicsBody.forces,g=this.options.nodeDistance,f=-2/3/g,d=0;d<l.length-1;d++){a=c[l[d]];for(var h=d+1;h<l.length;h++)t=(s=c[l[h]]).x-a.x,e=s.y-a.y,0===(n=Math.sqrt(t*t+e*e))&&(t=n=.1*this._rng()),n<2*g&&(o=n<.5*g?1:f*n+1.3333333333333333,r=t*(o/=n),i=e*o,u[a.id].x-=r,u[a.id].y-=i,u[s.id].x+=r,u[s.id].y+=i)}}}]),t}(),Od=function(){function t(e,n,r){Fr(this,t),this.body=e,this.physicsBody=n,this.setOptions(r)}return Vr(t,[{key:"setOptions",value:function(t){this.options=t,this.overlapAvoidanceFactor=Math.max(0,Math.min(1,this.options.avoidOverlap||0))}},{key:"solve",value:function(){for(var t=this.body.nodes,e=this.physicsBody.physicsNodeIndices,n=this.physicsBody.forces,r=this.options.nodeDistance,i=0;i<e.length-1;i++)for(var o=t[e[i]],a=i+1;a<e.length;a++){var s=t[e[a]];if(o.level===s.level){var c=r+this.overlapAvoidanceFactor*((o.shape.radius||0)/2+(s.shape.radius||0)/2),l=s.x-o.x,u=s.y-o.y,g=Math.sqrt(l*l+u*u),f=void 0;f=g<c?-Math.pow(.05*g,2)+Math.pow(.05*c,2):0,0!==g&&(f/=g);var d=l*f,h=u*f;n[o.id].x-=d,n[o.id].y-=h,n[s.id].x+=d,n[s.id].y+=h}}}}]),t}(),Sd=function(){function t(e,n,r){Fr(this,t),this.body=e,this.physicsBody=n,this.setOptions(r)}return Vr(t,[{key:"setOptions",value:function(t){this.options=t}},{key:"solve",value:function(){for(var t,e,n,r,i,o=this.physicsBody.physicsEdgeIndices,a=this.body.edges,s=0;s<o.length;s++)!0===(e=a[o[s]]).connected&&e.toId!==e.fromId&&void 0!==this.body.nodes[e.toId]&&void 0!==this.body.nodes[e.fromId]&&(void 0!==e.edgeType.via?(t=void 0===e.options.length?this.options.springLength:e.options.length,n=e.to,r=e.edgeType.via,i=e.from,this._calculateSpringForce(n,r,.5*t),this._calculateSpringForce(r,i,.5*t)):(t=void 0===e.options.length?1.5*this.options.springLength:e.options.length,this._calculateSpringForce(e.from,e.to,t)))}},{key:"_calculateSpringForce",value:function(t,e,n){var r=t.x-e.x,i=t.y-e.y,o=Math.max(Math.sqrt(r*r+i*i),.01),a=this.options.springConstant*(n-o)/o,s=r*a,c=i*a;void 0!==this.physicsBody.forces[t.id]&&(this.physicsBody.forces[t.id].x+=s,this.physicsBody.forces[t.id].y+=c),void 0!==this.physicsBody.forces[e.id]&&(this.physicsBody.forces[e.id].x-=s,this.physicsBody.forces[e.id].y-=c)}}]),t}(),_d=function(){function t(e,n,r){Fr(this,t),this.body=e,this.physicsBody=n,this.setOptions(r)}return Vr(t,[{key:"setOptions",value:function(t){this.options=t}},{key:"solve",value:function(){for(var t,e,n,r,i,o,a,s,c,l,u=this.body.edges,g=.5,f=this.physicsBody.physicsEdgeIndices,d=this.physicsBody.physicsNodeIndices,h=this.physicsBody.forces,p=0;p<d.length;p++){var A=d[p];h[A].springFx=0,h[A].springFy=0}for(var C=0;C<f.length;C++)!0===(e=u[f[C]]).connected&&(t=void 0===e.options.length?this.options.springLength:e.options.length,n=e.from.x-e.to.x,r=e.from.y-e.to.y,s=0===(s=Math.sqrt(n*n+r*r))?.01:s,i=n*(a=this.options.springConstant*(t-s)/s),o=r*a,e.to.level!=e.from.level?(void 0!==h[e.toId]&&(h[e.toId].springFx-=i,h[e.toId].springFy-=o),void 0!==h[e.fromId]&&(h[e.fromId].springFx+=i,h[e.fromId].springFy+=o)):(void 0!==h[e.toId]&&(h[e.toId].x-=g*i,h[e.toId].y-=g*o),void 0!==h[e.fromId]&&(h[e.fromId].x+=g*i,h[e.fromId].y+=g*o)));a=1;for(var v=0;v<d.length;v++){var I=d[v];c=Math.min(a,Math.max(-a,h[I].springFx)),l=Math.min(a,Math.max(-a,h[I].springFy)),h[I].x+=c,h[I].y+=l}for(var y=0,m=0,b=0;b<d.length;b++){var x=d[b];y+=h[x].x,m+=h[x].y}for(var w=y/d.length,O=m/d.length,S=0;S<d.length;S++){var _=d[S];h[_].x-=w,h[_].y-=O}}}]),t}(),kd=function(){function t(e,n,r){Fr(this,t),this.body=e,this.physicsBody=n,this.setOptions(r)}return Vr(t,[{key:"setOptions",value:function(t){this.options=t}},{key:"solve",value:function(){for(var t,e,n,r,i=this.body.nodes,o=this.physicsBody.physicsNodeIndices,a=this.physicsBody.forces,s=0;s<o.length;s++){t=-(r=i[o[s]]).x,e=-r.y,n=Math.sqrt(t*t+e*e),this._calculateForces(n,t,e,a,r)}}},{key:"_calculateForces",value:function(t,e,n,r,i){var o=0===t?0:this.options.centralGravity/t;r[i.id].x=e*o,r[i.id].y=n*o}}]),t}();function jd(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Ed=function(t){Ru(n,t);var e=jd(n);function n(t,r,i){var o;return Fr(this,n),(o=e.call(this,t,r,i))._rng=lc("FORCE ATLAS 2 BASED REPULSION SOLVER"),o}return Vr(n,[{key:"_calculateForces",value:function(t,e,n,r,i){0===t&&(e=t=.1*this._rng()),this.overlapAvoidanceFactor<1&&r.shape.radius&&(t=Math.max(.1+this.overlapAvoidanceFactor*r.shape.radius,t-r.shape.radius));var o=r.edges.length+1,a=this.options.gravitationalConstant*i.mass*r.options.mass*o/Math.pow(t,2),s=e*a,c=n*a;this.physicsBody.forces[r.id].x+=s,this.physicsBody.forces[r.id].y+=c}}]),n}(xd);function Pd(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Md=function(t){Ru(n,t);var e=Pd(n);function n(t,r,i){return Fr(this,n),e.call(this,t,r,i)}return Vr(n,[{key:"_calculateForces",value:function(t,e,n,r,i){if(t>0){var o=i.edges.length+1,a=this.options.centralGravity*o*i.options.mass;r[i.id].x=e*a,r[i.id].y=n*a}}}]),n}(kd),Td=function(){function t(e){Fr(this,t),this.body=e,this.physicsBody={physicsNodeIndices:[],physicsEdgeIndices:[],forces:{},velocities:{}},this.physicsEnabled=!0,this.simulationInterval=1e3/60,this.requiresTimeout=!0,this.previousStates={},this.referenceState={},this.freezeCache={},this.renderTimer=void 0,this.adaptiveTimestep=!1,this.adaptiveTimestepEnabled=!1,this.adaptiveCounter=0,this.adaptiveInterval=3,this.stabilized=!1,this.startedStabilization=!1,this.stabilizationIterations=0,this.ready=!1,this.options={},this.defaultOptions={enabled:!0,barnesHut:{theta:.5,gravitationalConstant:-2e3,centralGravity:.3,springLength:95,springConstant:.04,damping:.09,avoidOverlap:0},forceAtlas2Based:{theta:.5,gravitationalConstant:-50,centralGravity:.01,springConstant:.08,springLength:100,damping:.4,avoidOverlap:0},repulsion:{centralGravity:.2,springLength:200,springConstant:.05,nodeDistance:100,damping:.09,avoidOverlap:0},hierarchicalRepulsion:{centralGravity:0,springLength:100,springConstant:.01,nodeDistance:120,damping:.09},maxVelocity:50,minVelocity:.75,solver:"barnesHut",stabilization:{enabled:!0,iterations:1e3,updateInterval:50,onlyDynamicEdges:!1,fit:!0},timestep:.5,adaptiveTimestep:!0,wind:{x:0,y:0}},yt(this.options,this.defaultOptions),this.timestep=.5,this.layoutFailed=!1,this.bindEventListeners()}return Vr(t,[{key:"bindEventListeners",value:function(){var t=this;this.body.emitter.on("initPhysics",(function(){t.initPhysics()})),this.body.emitter.on("_layoutFailed",(function(){t.layoutFailed=!0})),this.body.emitter.on("resetPhysics",(function(){t.stopSimulation(),t.ready=!1})),this.body.emitter.on("disablePhysics",(function(){t.physicsEnabled=!1,t.stopSimulation()})),this.body.emitter.on("restorePhysics",(function(){t.setOptions(t.options),!0===t.ready&&t.startSimulation()})),this.body.emitter.on("startSimulation",(function(){!0===t.ready&&t.startSimulation()})),this.body.emitter.on("stopSimulation",(function(){t.stopSimulation()})),this.body.emitter.on("destroy",(function(){t.stopSimulation(!1),t.body.emitter.off()})),this.body.emitter.on("_dataChanged",(function(){t.updatePhysicsData()}))}},{key:"setOptions",value:function(t){if(void 0!==t)if(!1===t)this.options.enabled=!1,this.physicsEnabled=!1,this.stopSimulation();else if(!0===t)this.options.enabled=!0,this.physicsEnabled=!0,this.startSimulation();else{this.physicsEnabled=!0,wc(["stabilization"],this.options,t),Vc(this.options,t,"stabilization"),void 0===t.enabled&&(this.options.enabled=!0),!1===this.options.enabled&&(this.physicsEnabled=!1,this.stopSimulation());var e=this.options.wind;e&&(("number"!==typeof e.x||fu(e.x))&&(e.x=0),("number"!==typeof e.y||fu(e.y))&&(e.y=0)),this.timestep=this.options.timestep}this.init()}},{key:"init",value:function(){var t;"forceAtlas2Based"===this.options.solver?(t=this.options.forceAtlas2Based,this.nodesSolver=new Ed(this.body,this.physicsBody,t),this.edgesSolver=new Sd(this.body,this.physicsBody,t),this.gravitySolver=new Md(this.body,this.physicsBody,t)):"repulsion"===this.options.solver?(t=this.options.repulsion,this.nodesSolver=new wd(this.body,this.physicsBody,t),this.edgesSolver=new Sd(this.body,this.physicsBody,t),this.gravitySolver=new kd(this.body,this.physicsBody,t)):"hierarchicalRepulsion"===this.options.solver?(t=this.options.hierarchicalRepulsion,this.nodesSolver=new Od(this.body,this.physicsBody,t),this.edgesSolver=new _d(this.body,this.physicsBody,t),this.gravitySolver=new kd(this.body,this.physicsBody,t)):(t=this.options.barnesHut,this.nodesSolver=new xd(this.body,this.physicsBody,t),this.edgesSolver=new Sd(this.body,this.physicsBody,t),this.gravitySolver=new kd(this.body,this.physicsBody,t)),this.modelOptions=t}},{key:"initPhysics",value:function(){!0===this.physicsEnabled&&!0===this.options.enabled?!0===this.options.stabilization.enabled?this.stabilize():(this.stabilized=!1,this.ready=!0,this.body.emitter.emit("fit",{},this.layoutFailed),this.startSimulation()):(this.ready=!0,this.body.emitter.emit("fit"))}},{key:"startSimulation",value:function(){var t;!0===this.physicsEnabled&&!0===this.options.enabled?(this.stabilized=!1,this.adaptiveTimestep=!1,this.body.emitter.emit("_resizeNodes"),void 0===this.viewFunction&&(this.viewFunction=$(t=this.simulationStep).call(t,this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering"))):this.body.emitter.emit("_redraw")}},{key:"stopSimulation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.stabilized=!0,!0===t&&this._emitStabilized(),void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.viewFunction=void 0,!0===t&&this.body.emitter.emit("_stopRendering"))}},{key:"simulationStep",value:function(){var t=Ho();this.physicsTick(),(Ho()-t<.4*this.simulationInterval||!0===this.runDoubleSpeed)&&!1===this.stabilized&&(this.physicsTick(),this.runDoubleSpeed=!0),!0===this.stabilized&&this.stopSimulation()}},{key:"_emitStabilized",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.stabilizationIterations;(this.stabilizationIterations>1||!0===this.startedStabilization)&&Er((function(){t.body.emitter.emit("stabilized",{iterations:e}),t.startedStabilization=!1,t.stabilizationIterations=0}),0)}},{key:"physicsStep",value:function(){this.gravitySolver.solve(),this.nodesSolver.solve(),this.edgesSolver.solve(),this.moveNodes()}},{key:"adjustTimeStep",value:function(){!0===this._evaluateStepQuality()?this.timestep=1.2*this.timestep:this.timestep/1.2<this.options.timestep?this.timestep=this.options.timestep:(this.adaptiveCounter=-1,this.timestep=Math.max(this.options.timestep,this.timestep/1.2))}},{key:"physicsTick",value:function(){if(this._startStabilizing(),!0!==this.stabilized){if(!0===this.adaptiveTimestep&&!0===this.adaptiveTimestepEnabled)this.adaptiveCounter%this.adaptiveInterval===0?(this.timestep=2*this.timestep,this.physicsStep(),this.revert(),this.timestep=.5*this.timestep,this.physicsStep(),this.physicsStep(),this.adjustTimeStep()):this.physicsStep(),this.adaptiveCounter+=1;else this.timestep=this.options.timestep,this.physicsStep();!0===this.stabilized&&this.revert(),this.stabilizationIterations++}}},{key:"updatePhysicsData",value:function(){this.physicsBody.forces={},this.physicsBody.physicsNodeIndices=[],this.physicsBody.physicsEdgeIndices=[];var t=this.body.nodes,e=this.body.edges;for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&!0===t[n].options.physics&&this.physicsBody.physicsNodeIndices.push(t[n].id);for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&!0===e[r].options.physics&&this.physicsBody.physicsEdgeIndices.push(e[r].id);for(var i=0;i<this.physicsBody.physicsNodeIndices.length;i++){var o=this.physicsBody.physicsNodeIndices[i];this.physicsBody.forces[o]={x:0,y:0},void 0===this.physicsBody.velocities[o]&&(this.physicsBody.velocities[o]={x:0,y:0})}for(var a in this.physicsBody.velocities)void 0===t[a]&&delete this.physicsBody.velocities[a]}},{key:"revert",value:function(){var t=Xo(this.previousStates),e=this.body.nodes,n=this.physicsBody.velocities;this.referenceState={};for(var r=0;r<t.length;r++){var i=t[r];void 0!==e[i]?!0===e[i].options.physics&&(this.referenceState[i]={positions:{x:e[i].x,y:e[i].y}},n[i].x=this.previousStates[i].vx,n[i].y=this.previousStates[i].vy,e[i].x=this.previousStates[i].x,e[i].y=this.previousStates[i].y):delete this.previousStates[i]}}},{key:"_evaluateStepQuality",value:function(){var t,e,n=this.body.nodes,r=this.referenceState;for(var i in this.referenceState)if(Object.prototype.hasOwnProperty.call(this.referenceState,i)&&void 0!==n[i]&&(t=n[i].x-r[i].positions.x,e=n[i].y-r[i].positions.y,Math.sqrt(Math.pow(t,2)+Math.pow(e,2))>.3))return!1;return!0}},{key:"moveNodes",value:function(){for(var t=this.physicsBody.physicsNodeIndices,e=0,n=0,r=0;r<t.length;r++){var i=t[r],o=this._performStep(i);e=Math.max(e,o),n+=o}this.adaptiveTimestepEnabled=n/t.length<5,this.stabilized=e<this.options.minVelocity}},{key:"calculateComponentVelocity",value:function(t,e,n){t+=(e-this.modelOptions.damping*t)/n*this.timestep;var r=this.options.maxVelocity||1e9;return Math.abs(t)>r&&(t=t>0?r:-r),t}},{key:"_performStep",value:function(t){var e=this.body.nodes[t],n=this.physicsBody.forces[t];this.options.wind&&(n.x+=this.options.wind.x,n.y+=this.options.wind.y);var r=this.physicsBody.velocities[t];return this.previousStates[t]={x:e.x,y:e.y,vx:r.x,vy:r.y},!1===e.options.fixed.x?(r.x=this.calculateComponentVelocity(r.x,n.x,e.options.mass),e.x+=r.x*this.timestep):(n.x=0,r.x=0),!1===e.options.fixed.y?(r.y=this.calculateComponentVelocity(r.y,n.y,e.options.mass),e.y+=r.y*this.timestep):(n.y=0,r.y=0),Math.sqrt(Math.pow(r.x,2)+Math.pow(r.y,2))}},{key:"_freezeNodes",value:function(){var t=this.body.nodes;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].x&&t[e].y){var n=t[e].options.fixed;this.freezeCache[e]={x:n.x,y:n.y},n.x=!0,n.y=!0}}},{key:"_restoreFrozenNodes",value:function(){var t=this.body.nodes;for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&void 0!==this.freezeCache[e]&&(t[e].options.fixed.x=this.freezeCache[e].x,t[e].options.fixed.y=this.freezeCache[e].y);this.freezeCache={}}},{key:"stabilize",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.stabilization.iterations;"number"!==typeof e&&(e=this.options.stabilization.iterations,console.error("The stabilize method needs a numeric amount of iterations. Switching to default: ",e)),0!==this.physicsBody.physicsNodeIndices.length?(this.adaptiveTimestep=this.options.adaptiveTimestep,this.body.emitter.emit("_resizeNodes"),this.stopSimulation(),this.stabilized=!1,this.body.emitter.emit("_blockRedraw"),this.targetIterations=e,!0===this.options.stabilization.onlyDynamicEdges&&this._freezeNodes(),this.stabilizationIterations=0,Er((function(){return t._stabilizationBatch()}),0)):this.ready=!0}},{key:"_startStabilizing",value:function(){return!0!==this.startedStabilization&&(this.body.emitter.emit("startStabilizing"),this.startedStabilization=!0,!0)}},{key:"_stabilizationBatch",value:function(){var t=this,e=function(){return!1===t.stabilized&&t.stabilizationIterations<t.targetIterations},n=function(){t.body.emitter.emit("stabilizationProgress",{iterations:t.stabilizationIterations,total:t.targetIterations})};this._startStabilizing()&&n();for(var r,i=0;e()&&i<this.options.stabilization.updateInterval;)this.physicsTick(),i++;(n(),e())?Er($(r=this._stabilizationBatch).call(r,this),0):this._finalizeStabilization()}},{key:"_finalizeStabilization",value:function(){this.body.emitter.emit("_allowRedraw"),!0===this.options.stabilization.fit&&this.body.emitter.emit("fit"),!0===this.options.stabilization.onlyDynamicEdges&&this._restoreFrozenNodes(),this.body.emitter.emit("stabilizationIterationsDone"),this.body.emitter.emit("_requestRedraw"),!0===this.stabilized?this._emitStabilized():this.startSimulation(),this.ready=!0}},{key:"_drawForces",value:function(t){for(var e=0;e<this.physicsBody.physicsNodeIndices.length;e++){var n=this.physicsBody.physicsNodeIndices[e],r=this.body.nodes[n],i=this.physicsBody.forces[n],o=Math.sqrt(Math.pow(i.x,2)+Math.pow(i.x,2)),a=Math.min(Math.max(5,o),15),s=3*a,c=Nc((180-180*Math.min(1,Math.max(0,.03*o)))/360,1,1),l={x:r.x+20*i.x,y:r.y+20*i.y};t.lineWidth=a,t.strokeStyle=c,t.beginPath(),t.moveTo(r.x,r.y),t.lineTo(l.x,l.y),t.stroke();var u=Math.atan2(i.y,i.x);t.fillStyle=c,id.draw(t,{type:"arrow",point:l,angle:u,length:s}),Or(t).call(t)}}}]),t}(),Rd=function(){function t(){Fr(this,t)}return Vr(t,null,[{key:"getRange",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=1e9,i=-1e9,o=1e9,a=-1e9;if(n.length>0)for(var s=0;s<n.length;s++)o>(e=t[n[s]]).shape.boundingBox.left&&(o=e.shape.boundingBox.left),a<e.shape.boundingBox.right&&(a=e.shape.boundingBox.right),r>e.shape.boundingBox.top&&(r=e.shape.boundingBox.top),i<e.shape.boundingBox.bottom&&(i=e.shape.boundingBox.bottom);return 1e9===o&&-1e9===a&&1e9===r&&-1e9===i&&(r=0,i=0,o=0,a=0),{minX:o,maxX:a,minY:r,maxY:i}}},{key:"getRangeCore",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=1e9,i=-1e9,o=1e9,a=-1e9;if(n.length>0)for(var s=0;s<n.length;s++)o>(e=t[n[s]]).x&&(o=e.x),a<e.x&&(a=e.x),r>e.y&&(r=e.y),i<e.y&&(i=e.y);return 1e9===o&&-1e9===a&&1e9===r&&-1e9===i&&(r=0,i=0,o=0,a=0),{minX:o,maxX:a,minY:r,maxY:i}}},{key:"findCenter",value:function(t){return{x:.5*(t.maxX+t.minX),y:.5*(t.maxY+t.minY)}}},{key:"cloneOptions",value:function(t,e){var n={};return void 0===e||"node"===e?(Oc(n,t.options,!0),n.x=t.x,n.y=t.y,n.amountOfConnections=t.edges.length):Oc(n,t.options,!0),n}}]),t}();function Dd(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Nd=function(t){Ru(n,t);var e=Dd(n);function n(t,r,i,o,a,s){var c;return Fr(this,n),(c=e.call(this,t,r,i,o,a,s)).isCluster=!0,c.containedNodes={},c.containedEdges={},c}return Vr(n,[{key:"_openChildCluster",value:function(t){var e=this,n=this.body.nodes[t];if(void 0===this.containedNodes[t])throw new Error("node with id: "+t+" not in current cluster");if(!n.isCluster)throw new Error("node with id: "+t+" is not a cluster");delete this.containedNodes[t],jc(n.edges,(function(t){delete e.containedEdges[t.id]})),jc(n.containedNodes,(function(t,n){e.containedNodes[n]=t})),n.containedNodes={},jc(n.containedEdges,(function(t,n){e.containedEdges[n]=t})),n.containedEdges={},jc(n.edges,(function(t){jc(e.edges,(function(n){var r,i,o=fi(r=n.clusteringEdgeReplacingIds).call(r,t.id);-1!==o&&(jc(t.clusteringEdgeReplacingIds,(function(t){n.clusteringEdgeReplacingIds.push(t),e.body.edges[t].edgeReplacedById=n.id})),no(i=n.clusteringEdgeReplacingIds).call(i,o,1))}))})),n.edges=[]}}]),n}(Pf),Ld=function(){function t(e){var n=this;Fr(this,t),this.body=e,this.clusteredNodes={},this.clusteredEdges={},this.options={},this.defaultOptions={},yt(this.options,this.defaultOptions),this.body.emitter.on("_resetData",(function(){n.clusteredNodes={},n.clusteredEdges={}}))}return Vr(t,[{key:"clusterByHubsize",value:function(t,e){void 0===t?t=this._getHubSize():"object"===ra(t)&&(e=this._checkOptions(t),t=this._getHubSize());for(var n=[],r=0;r<this.body.nodeIndices.length;r++){var i=this.body.nodes[this.body.nodeIndices[r]];i.edges.length>=t&&n.push(i.id)}for(var o=0;o<n.length;o++)this.clusterByConnection(n[o],e,!0);this.body.emitter.emit("_dataChanged")}},{key:"cluster",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0===e.joinCondition)throw new Error("Cannot call clusterByNodeData without a joinCondition function in the options.");e=this._checkOptions(e);var r={},i={};jc(this.body.nodes,(function(n,o){n.options&&!0===e.joinCondition(n.options)&&(r[o]=n,jc(n.edges,(function(e){void 0===t.clusteredEdges[e.id]&&(i[e.id]=e)})))})),this._cluster(r,i,e,n)}},{key:"clusterByEdgeCount",value:function(t,e){var n=this,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e=this._checkOptions(e);for(var i,o,a,s=[],c={},l=function(r){var l={},u={},g=n.body.nodeIndices[r],f=n.body.nodes[g];if(void 0===c[g]){a=0,o=[];for(var d=0;d<f.edges.length;d++)i=f.edges[d],void 0===n.clusteredEdges[i.id]&&(i.toId!==i.fromId&&a++,o.push(i));if(a===t){for(var h=function(t){if(void 0===e.joinCondition||null===e.joinCondition)return!0;var n=Rd.cloneOptions(t);return e.joinCondition(n)},p=!0,A=0;A<o.length;A++){i=o[A];var C=n._getConnectedId(i,g);if(!h(f)){p=!1;break}u[i.id]=i,l[g]=f,l[C]=n.body.nodes[C],c[g]=!0}if(Xo(l).length>0&&Xo(u).length>0&&!0===p){var v=function(){for(var t=0;t<s.length;++t)for(var e in l)if(void 0!==s[t].nodes[e])return s[t]}();if(void 0!==v){for(var I in l)void 0===v.nodes[I]&&(v.nodes[I]=l[I]);for(var y in u)void 0===v.edges[y]&&(v.edges[y]=u[y])}else s.push({nodes:l,edges:u})}}}},u=0;u<this.body.nodeIndices.length;u++)l(u);for(var g=0;g<s.length;g++)this._cluster(s[g].nodes,s[g].edges,e,!1);!0===r&&this.body.emitter.emit("_dataChanged")}},{key:"clusterOutliers",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.clusterByEdgeCount(1,t,e)}},{key:"clusterBridges",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.clusterByEdgeCount(2,t,e)}},{key:"clusterByConnection",value:function(t,e){var n,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0===t)throw new Error("No nodeId supplied to clusterByConnection!");if(void 0===this.body.nodes[t])throw new Error("The nodeId given to clusterByConnection does not exist!");var i=this.body.nodes[t];void 0===(e=this._checkOptions(e,i)).clusterNodeProperties.x&&(e.clusterNodeProperties.x=i.x),void 0===e.clusterNodeProperties.y&&(e.clusterNodeProperties.y=i.y),void 0===e.clusterNodeProperties.fixed&&(e.clusterNodeProperties.fixed={},e.clusterNodeProperties.fixed.x=i.options.fixed.x,e.clusterNodeProperties.fixed.y=i.options.fixed.y);var o={},a={},s=i.id,c=Rd.cloneOptions(i);o[s]=i;for(var l=0;l<i.edges.length;l++){var u=i.edges[l];if(void 0===this.clusteredEdges[u.id]){var g=this._getConnectedId(u,s);if(void 0===this.clusteredNodes[g])if(g!==s)if(void 0===e.joinCondition)a[u.id]=u,o[g]=this.body.nodes[g];else{var f=Rd.cloneOptions(this.body.nodes[g]);!0===e.joinCondition(c,f)&&(a[u.id]=u,o[g]=this.body.nodes[g])}else a[u.id]=u}}var d=$o(n=Xo(o)).call(n,(function(t){return o[t].id}));for(var h in o)if(Object.prototype.hasOwnProperty.call(o,h))for(var p=o[h],A=0;A<p.edges.length;A++){var C=p.edges[A];fi(d).call(d,this._getConnectedId(C,p.id))>-1&&(a[C.id]=C)}this._cluster(o,a,e,r)}},{key:"_createClusterEdges",value:function(t,e,n,r){for(var i,o,a,s,c,l,u=Xo(t),g=[],f=0;f<u.length;f++){a=t[o=u[f]];for(var d=0;d<a.edges.length;d++)i=a.edges[d],void 0===this.clusteredEdges[i.id]&&(i.toId==i.fromId?e[i.id]=i:i.toId==o?(s=n.id,l=c=i.fromId):(s=i.toId,c=n.id,l=s),void 0===t[l]&&g.push({edge:i,fromId:c,toId:s}))}for(var h=[],p=function(t){for(var e=0;e<h.length;e++){var n=h[e],r=t.fromId===n.fromId&&t.toId===n.toId,i=t.fromId===n.toId&&t.toId===n.fromId;if(r||i)return n}return null},A=0;A<g.length;A++){var C=g[A],v=C.edge,I=p(C);null===I?(I=this._createClusteredEdge(C.fromId,C.toId,v,r),h.push(I)):I.clusteringEdgeReplacingIds.push(v.id),this.body.edges[v.id].edgeReplacedById=I.id,this._backupEdgeOptions(v),v.setOptions({physics:!1})}}},{key:"_checkOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return void 0===t.clusterEdgeProperties&&(t.clusterEdgeProperties={}),void 0===t.clusterNodeProperties&&(t.clusterNodeProperties={}),t}},{key:"_cluster",value:function(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=[];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&void 0!==this.clusteredNodes[o]&&i.push(o);for(var a=0;a<i.length;++a)delete t[i[a]];if(0!=Xo(t).length&&(1!=Xo(t).length||1==n.clusterNodeProperties.allowSingleNodeCluster)){var s=Oc({},n.clusterNodeProperties);if(void 0!==n.processProperties){var c=[];for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l)){var u=Rd.cloneOptions(t[l]);c.push(u)}var g=[];for(var f in e)if(Object.prototype.hasOwnProperty.call(e,f)&&"clusterEdge:"!==f.substr(0,12)){var d=Rd.cloneOptions(e[f],"edge");g.push(d)}if(!(s=n.processProperties(s,c,g)))throw new Error("The processProperties function does not return properties!")}void 0===s.id&&(s.id="cluster:"+fg());var h=s.id;void 0===s.label&&(s.label="cluster");var p=void 0;void 0===s.x&&(p=this._getClusterPosition(t),s.x=p.x),void 0===s.y&&(void 0===p&&(p=this._getClusterPosition(t)),s.y=p.y),s.id=h;var A=this.body.functions.createNode(s,Nd);A.containedNodes=t,A.containedEdges=e,A.clusterEdgeProperties=n.clusterEdgeProperties,this.body.nodes[s.id]=A,this._clusterEdges(t,e,s,n.clusterEdgeProperties),s.id=void 0,!0===r&&this.body.emitter.emit("_dataChanged")}}},{key:"_backupEdgeOptions",value:function(t){void 0===this.clusteredEdges[t.id]&&(this.clusteredEdges[t.id]={physics:t.options.physics})}},{key:"_restoreEdge",value:function(t){var e=this.clusteredEdges[t.id];void 0!==e&&(t.setOptions({physics:e.physics}),delete this.clusteredEdges[t.id])}},{key:"isCluster",value:function(t){return void 0!==this.body.nodes[t]?!0===this.body.nodes[t].isCluster:(console.error("Node does not exist."),!1)}},{key:"_getClusterPosition",value:function(t){for(var e,n=Xo(t),r=t[n[0]].x,i=t[n[0]].x,o=t[n[0]].y,a=t[n[0]].y,s=1;s<n.length;s++)r=(e=t[n[s]]).x<r?e.x:r,i=e.x>i?e.x:i,o=e.y<o?e.y:o,a=e.y>a?e.y:a;return{x:.5*(r+i),y:.5*(o+a)}}},{key:"openCluster",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0===t)throw new Error("No clusterNodeId supplied to openCluster.");var r=this.body.nodes[t];if(void 0===r)throw new Error("The clusterNodeId supplied to openCluster does not exist.");if(!0!==r.isCluster||void 0===r.containedNodes||void 0===r.containedEdges)throw new Error("The node:"+t+" is not a valid cluster.");var i=this.findNode(t),o=fi(i).call(i,t)-1;if(o>=0){var a=i[o],s=this.body.nodes[a];return s._openChildCluster(t),delete this.body.nodes[t],void(!0===n&&this.body.emitter.emit("_dataChanged"))}var c=r.containedNodes,l=r.containedEdges;if(void 0!==e&&void 0!==e.releaseFunction&&"function"===typeof e.releaseFunction){var u={},g={x:r.x,y:r.y};for(var f in c)if(Object.prototype.hasOwnProperty.call(c,f)){var d=this.body.nodes[f];u[f]={x:d.x,y:d.y}}var h=e.releaseFunction(g,u);for(var p in c)if(Object.prototype.hasOwnProperty.call(c,p)){var A=this.body.nodes[p];void 0!==h[p]&&(A.x=void 0===h[p].x?r.x:h[p].x,A.y=void 0===h[p].y?r.y:h[p].y)}}else jc(c,(function(t){!1===t.options.fixed.x&&(t.x=r.x),!1===t.options.fixed.y&&(t.y=r.y)}));for(var C in c)if(Object.prototype.hasOwnProperty.call(c,C)){var v=this.body.nodes[C];v.vx=r.vx,v.vy=r.vy,v.setOptions({physics:!0}),delete this.clusteredNodes[C]}for(var I=[],y=0;y<r.edges.length;y++)I.push(r.edges[y]);for(var m=0;m<I.length;m++){for(var b=I[m],x=this._getConnectedId(b,t),w=this.clusteredNodes[x],O=0;O<b.clusteringEdgeReplacingIds.length;O++){var S=b.clusteringEdgeReplacingIds[O],_=this.body.edges[S];if(void 0!==_)if(void 0!==w){var k=this.body.nodes[w.clusterId];k.containedEdges[_.id]=_,delete l[_.id];var j=_.fromId,E=_.toId;_.toId==x?E=w.clusterId:j=w.clusterId,this._createClusteredEdge(j,E,_,k.clusterEdgeProperties,{hidden:!1,physics:!0})}else this._restoreEdge(_)}b.remove()}for(var P in l)Object.prototype.hasOwnProperty.call(l,P)&&this._restoreEdge(l[P]);delete this.body.nodes[t],!0===n&&this.body.emitter.emit("_dataChanged")}},{key:"getNodesInCluster",value:function(t){var e=[];if(!0===this.isCluster(t)){var n=this.body.nodes[t].containedNodes;for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.push(this.body.nodes[r].id)}return e}},{key:"findNode",value:function(t){for(var e,n=[],r=0;void 0!==this.clusteredNodes[t]&&r<100;){if(void 0===(e=this.body.nodes[t]))return[];n.push(e.id),t=this.clusteredNodes[t].clusterId,r++}return void 0===(e=this.body.nodes[t])?[]:(n.push(e.id),so(n).call(n),n)}},{key:"updateClusteredNode",value:function(t,e){if(void 0===t)throw new Error("No clusteredNodeId supplied to updateClusteredNode.");if(void 0===e)throw new Error("No newOptions supplied to updateClusteredNode.");if(void 0===this.body.nodes[t])throw new Error("The clusteredNodeId supplied to updateClusteredNode does not exist.");this.body.nodes[t].setOptions(e),this.body.emitter.emit("_dataChanged")}},{key:"updateEdge",value:function(t,e){if(void 0===t)throw new Error("No startEdgeId supplied to updateEdge.");if(void 0===e)throw new Error("No newOptions supplied to updateEdge.");if(void 0===this.body.edges[t])throw new Error("The startEdgeId supplied to updateEdge does not exist.");for(var n=this.getClusteredEdges(t),r=0;r<n.length;r++){this.body.edges[n[r]].setOptions(e)}this.body.emitter.emit("_dataChanged")}},{key:"getClusteredEdges",value:function(t){for(var e=[],n=0;void 0!==t&&void 0!==this.body.edges[t]&&n<100;)e.push(this.body.edges[t].id),t=this.body.edges[t].edgeReplacedById,n++;return so(e).call(e),e}},{key:"getBaseEdge",value:function(t){return this.getBaseEdges(t)[0]}},{key:"getBaseEdges",value:function(t){for(var e=[t],n=[],r=[],i=0;e.length>0&&i<100;){var o=e.pop();if(void 0!==o){var a=this.body.edges[o];if(void 0!==a){i++;var s=a.clusteringEdgeReplacingIds;if(void 0===s)r.push(o);else for(var c=0;c<s.length;++c){var l=s[c];-1===fi(e).call(e,s)&&-1===fi(n).call(n,s)&&e.push(l)}n.push(o)}}}return r}},{key:"_getConnectedId",value:function(t,e){return t.toId!=e?t.toId:(t.fromId,t.fromId)}},{key:"_getHubSize",value:function(){for(var t=0,e=0,n=0,r=0,i=0;i<this.body.nodeIndices.length;i++){var o=this.body.nodes[this.body.nodeIndices[i]];o.edges.length>r&&(r=o.edges.length),t+=o.edges.length,e+=Math.pow(o.edges.length,2),n+=1}t/=n;var a=(e/=n)-Math.pow(t,2),s=Math.sqrt(a),c=Math.floor(t+2*s);return c>r&&(c=r),c}},{key:"_createClusteredEdge",value:function(t,e,n,r,i){var o=Rd.cloneOptions(n,"edge");Oc(o,r),o.from=t,o.to=e,o.id="clusterEdge:"+fg(),void 0!==i&&Oc(o,i);var a=this.body.functions.createEdge(o);return a.clusteringEdgeReplacingIds=[n.id],a.connect(),this.body.edges[a.id]=a,a}},{key:"_clusterEdges",value:function(t,e,n,r){if(e instanceof md){var i=e,o={};o[i.id]=i,e=o}if(t instanceof Pf){var a=t,s={};s[a.id]=a,t=s}if(void 0===n||null===n)throw new Error("_clusterEdges: parameter clusterNode required");for(var c in void 0===r&&(r=n.clusterEdgeProperties),this._createClusterEdges(t,e,n,r),e)if(Object.prototype.hasOwnProperty.call(e,c)&&void 0!==this.body.edges[c]){var l=this.body.edges[c];this._backupEdgeOptions(l),l.setOptions({physics:!1})}for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(this.clusteredNodes[u]={clusterId:n.id,node:this.body.nodes[u]},this.body.nodes[u].setOptions({physics:!1}))}},{key:"_getClusterNodeForNode",value:function(t){if(void 0!==t){var e=this.clusteredNodes[t];if(void 0!==e){var n=e.clusterId;if(void 0!==n)return this.body.nodes[n]}}}},{key:"_filter",value:function(t,e){var n=[];return jc(t,(function(t){e(t)&&n.push(t)})),n}},{key:"_updateState",value:function(){var t,e=this,n=[],r={},i=function(t){jc(e.body.nodes,(function(e){!0===e.isCluster&&t(e)}))};for(t in this.clusteredNodes){if(Object.prototype.hasOwnProperty.call(this.clusteredNodes,t))void 0===this.body.nodes[t]&&n.push(t)}i((function(t){for(var e=0;e<n.length;e++)delete t.containedNodes[n[e]]}));for(var o=0;o<n.length;o++)delete this.clusteredNodes[n[o]];jc(this.clusteredEdges,(function(t){var n=e.body.edges[t];void 0!==n&&n.endPointsValid()||(r[t]=t)})),i((function(t){jc(t.containedEdges,(function(t,e){t.endPointsValid()||r[e]||(r[e]=e)}))})),jc(this.body.edges,(function(t,n){var i=!0,o=t.clusteringEdgeReplacingIds;if(void 0!==o){var a=0;jc(o,(function(t){var n=e.body.edges[t];void 0!==n&&n.endPointsValid()&&(a+=1)})),i=a>0}t.endPointsValid()&&i||(r[n]=n)})),i((function(t){jc(r,(function(n){delete t.containedEdges[n],jc(t.edges,(function(i,o){i.id!==n?i.clusteringEdgeReplacingIds=e._filter(i.clusteringEdgeReplacingIds,(function(t){return!r[t]})):t.edges[o]=null})),t.edges=e._filter(t.edges,(function(t){return null!==t}))}))})),jc(r,(function(t){delete e.clusteredEdges[t]})),jc(r,(function(t){delete e.body.edges[t]})),jc(Xo(this.body.edges),(function(t){var n=e.body.edges[t],r=e._isClusteredNode(n.fromId)||e._isClusteredNode(n.toId);if(r!==e._isClusteredEdge(n.id))if(r){var i=e._getClusterNodeForNode(n.fromId);void 0!==i&&e._clusterEdges(e.body.nodes[n.fromId],n,i);var o=e._getClusterNodeForNode(n.toId);void 0!==o&&e._clusterEdges(e.body.nodes[n.toId],n,o)}else delete e._clusterEdges[t],e._restoreEdge(n)}));for(var a=!1,s=!0,c=function(){var t=[];i((function(e){var n=Xo(e.containedNodes).length,r=!0===e.options.allowSingleNodeCluster;(r&&n<1||!r&&n<2)&&t.push(e.id)}));for(var n=0;n<t.length;++n)e.openCluster(t[n],{},!1);s=t.length>0,a=a||s};s;)c();a&&this._updateState()}},{key:"_isClusteredNode",value:function(t){return void 0!==this.clusteredNodes[t]}},{key:"_isClusteredEdge",value:function(t){return void 0!==this.clusteredEdges[t]}}]),t}();function Fd(t,e){var n;if("undefined"===typeof da||null==ur(t)){if(ta(t)||(n=function(t,e){var n;if(!t)return;if("string"===typeof t)return Bd(t,e);var r=oa(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return br(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bd(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=lr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Bd(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var zd=function(){function t(e,n){Fr(this,t),function(){var t;void 0!==window&&(t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),window.requestAnimationFrame=void 0===t?function(t){t()}:t}(),this.body=e,this.canvas=n,this.redrawRequested=!1,this.renderTimer=void 0,this.requiresTimeout=!0,this.renderingActive=!1,this.renderRequests=0,this.allowRedraw=!0,this.dragging=!1,this.zooming=!1,this.options={},this.defaultOptions={hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1},yt(this.options,this.defaultOptions),this._determineBrowserMethod(),this.bindEventListeners()}return Vr(t,[{key:"bindEventListeners",value:function(){var t,e=this;this.body.emitter.on("dragStart",(function(){e.dragging=!0})),this.body.emitter.on("dragEnd",(function(){e.dragging=!1})),this.body.emitter.on("zoom",(function(){e.zooming=!0,window.clearTimeout(e.zoomTimeoutId),e.zoomTimeoutId=window.setTimeout((function(){var t;e.zooming=!1,$(t=e._requestRedraw).call(t,e)()}),250)})),this.body.emitter.on("_resizeNodes",(function(){e._resizeNodes()})),this.body.emitter.on("_redraw",(function(){!1===e.renderingActive&&e._redraw()})),this.body.emitter.on("_blockRedraw",(function(){e.allowRedraw=!1})),this.body.emitter.on("_allowRedraw",(function(){e.allowRedraw=!0,e.redrawRequested=!1})),this.body.emitter.on("_requestRedraw",$(t=this._requestRedraw).call(t,this)),this.body.emitter.on("_startRendering",(function(){e.renderRequests+=1,e.renderingActive=!0,e._startRendering()})),this.body.emitter.on("_stopRendering",(function(){e.renderRequests-=1,e.renderingActive=e.renderRequests>0,e.renderTimer=void 0})),this.body.emitter.on("destroy",(function(){e.renderRequests=0,e.allowRedraw=!1,e.renderingActive=!1,!0===e.requiresTimeout?clearTimeout(e.renderTimer):window.cancelAnimationFrame(e.renderTimer),e.body.emitter.off()}))}},{key:"setOptions",value:function(t){if(void 0!==t){xc(["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag"],this.options,t)}}},{key:"_requestNextFrame",value:function(t,e){if("undefined"!==typeof window){var n,r=window;return!0===this.requiresTimeout?n=r.setTimeout(t,e):r.requestAnimationFrame&&(n=r.requestAnimationFrame(t)),n}}},{key:"_startRendering",value:function(){var t;!0===this.renderingActive&&(void 0===this.renderTimer&&(this.renderTimer=this._requestNextFrame($(t=this._renderStep).call(t,this),this.simulationInterval)))}},{key:"_renderStep",value:function(){!0===this.renderingActive&&(this.renderTimer=void 0,!0===this.requiresTimeout&&this._startRendering(),this._redraw(),!1===this.requiresTimeout&&this._startRendering())}},{key:"redraw",value:function(){this.body.emitter.emit("setSize"),this._redraw()}},{key:"_requestRedraw",value:function(){var t=this;!0!==this.redrawRequested&&!1===this.renderingActive&&!0===this.allowRedraw&&(this.redrawRequested=!0,this._requestNextFrame((function(){t._redraw(!1)}),0))}},{key:"_redraw",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!0===this.allowRedraw){this.body.emitter.emit("initRedraw"),this.redrawRequested=!1;var e={drawExternalLabels:null};0!==this.canvas.frame.canvas.width&&0!==this.canvas.frame.canvas.height||this.canvas.setSize(),this.canvas.setTransform();var n=this.canvas.getContext(),r=this.canvas.frame.canvas.clientWidth,i=this.canvas.frame.canvas.clientHeight;if(n.clearRect(0,0,r,i),0===this.canvas.frame.clientWidth)return;if(n.save(),n.translate(this.body.view.translation.x,this.body.view.translation.y),n.scale(this.body.view.scale,this.body.view.scale),n.beginPath(),this.body.emitter.emit("beforeDrawing",n),n.closePath(),!1===t&&(!1===this.dragging||!0===this.dragging&&!1===this.options.hideEdgesOnDrag)&&(!1===this.zooming||!0===this.zooming&&!1===this.options.hideEdgesOnZoom)&&this._drawEdges(n),!1===this.dragging||!0===this.dragging&&!1===this.options.hideNodesOnDrag){var o=this._drawNodes(n,t),a=o.drawExternalLabels;e.drawExternalLabels=a}!1===t&&(!1===this.dragging||!0===this.dragging&&!1===this.options.hideEdgesOnDrag)&&(!1===this.zooming||!0===this.zooming&&!1===this.options.hideEdgesOnZoom)&&this._drawArrows(n),null!=e.drawExternalLabels&&e.drawExternalLabels(),!1===t&&this._drawSelectionBox(n),n.beginPath(),this.body.emitter.emit("afterDrawing",n),n.closePath(),n.restore(),!0===t&&n.clearRect(0,0,r,i)}}},{key:"_resizeNodes",value:function(){this.canvas.setTransform();var t=this.canvas.getContext();t.save(),t.translate(this.body.view.translation.x,this.body.view.translation.y),t.scale(this.body.view.scale,this.body.view.scale);var e,n=this.body.nodes;for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&((e=n[r]).resize(t),e.updateBoundingBox(t,e.selected));t.restore()}},{key:"_drawNodes",value:function(t){for(var e,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.body.nodes,o=this.body.nodeIndices,a=[],s=[],c=20,l=this.canvas.DOMtoCanvas({x:-c,y:-c}),u=this.canvas.DOMtoCanvas({x:this.canvas.frame.canvas.clientWidth+c,y:this.canvas.frame.canvas.clientHeight+c}),g={top:l.y,left:l.x,bottom:u.y,right:u.x},f=[],d=0;d<o.length;d++)if((e=i[o[d]]).hover)s.push(o[d]);else if(e.isSelected())a.push(o[d]);else if(!0===r){var h=e.draw(t);null!=h.drawExternalLabel&&f.push(h.drawExternalLabel)}else if(!0===e.isBoundingBoxOverlappingWith(g)){var p=e.draw(t);null!=p.drawExternalLabel&&f.push(p.drawExternalLabel)}else e.updateBoundingBox(t,e.selected);var A=a.length,C=s.length;for(n=0;n<A;n++){var v=(e=i[a[n]]).draw(t);null!=v.drawExternalLabel&&f.push(v.drawExternalLabel)}for(n=0;n<C;n++){var I=(e=i[s[n]]).draw(t);null!=I.drawExternalLabel&&f.push(I.drawExternalLabel)}return{drawExternalLabels:function(){var t,e=Fd(f);try{for(e.s();!(t=e.n()).done;){(0,t.value)()}}catch(n){e.e(n)}finally{e.f()}}}}},{key:"_drawEdges",value:function(t){for(var e=this.body.edges,n=this.body.edgeIndices,r=0;r<n.length;r++){var i=e[n[r]];!0===i.connected&&i.draw(t)}}},{key:"_drawArrows",value:function(t){for(var e=this.body.edges,n=this.body.edgeIndices,r=0;r<n.length;r++){var i=e[n[r]];!0===i.connected&&i.drawArrows(t)}}},{key:"_determineBrowserMethod",value:function(){if("undefined"!==typeof window){var t=navigator.userAgent.toLowerCase();this.requiresTimeout=!1,(-1!=fi(t).call(t,"msie 9.0")||-1!=fi(t).call(t,"safari")&&fi(t).call(t,"chrome")<=-1)&&(this.requiresTimeout=!0)}else this.requiresTimeout=!0}},{key:"_drawSelectionBox",value:function(t){if(this.body.selectionBox.show){t.beginPath();var e=this.body.selectionBox.position.end.x-this.body.selectionBox.position.start.x,n=this.body.selectionBox.position.end.y-this.body.selectionBox.position.start.y;t.rect(this.body.selectionBox.position.start.x,this.body.selectionBox.position.start.y,e,n),t.fillStyle="rgba(151, 194, 252, 0.2)",t.fillRect(this.body.selectionBox.position.start.x,this.body.selectionBox.position.start.y,e,n),t.strokeStyle="rgba(151, 194, 252, 1)",t.stroke()}else t.closePath()}}]),t}(),Vd=N.setInterval;function Gd(t,e){e.inputHandler=function(t){t.isFirst&&e(t)},t.on("hammer.input",e.inputHandler)}function Wd(t,e){return e.inputHandler=function(t){t.isFinal&&e(t)},t.on("hammer.input",e.inputHandler)}var Yd=function(){function t(e){Fr(this,t),this.body=e,this.pixelRatio=1,this.cameraState={},this.initialized=!1,this.canvasViewCenter={},this._cleanupCallbacks=[],this.options={},this.defaultOptions={autoResize:!0,height:"100%",width:"100%"},yt(this.options,this.defaultOptions),this.bindEventListeners()}return Vr(t,[{key:"bindEventListeners",value:function(){var t,e=this;this.body.emitter.once("resize",(function(t){0!==t.width&&(e.body.view.translation.x=.5*t.width),0!==t.height&&(e.body.view.translation.y=.5*t.height)})),this.body.emitter.on("setSize",$(t=this.setSize).call(t,this)),this.body.emitter.on("destroy",(function(){e.hammerFrame.destroy(),e.hammer.destroy(),e._cleanUp()}))}},{key:"setOptions",value:function(t){var e=this;if(void 0!==t){xc(["width","height","autoResize"],this.options,t)}if(this._cleanUp(),!0===this.options.autoResize){var n;if(window.ResizeObserver){var r=new ResizeObserver((function(){!0===e.setSize()&&e.body.emitter.emit("_requestRedraw")})),i=this.frame;r.observe(i),this._cleanupCallbacks.push((function(){r.unobserve(i)}))}else{var o=Vd((function(){!0===e.setSize()&&e.body.emitter.emit("_requestRedraw")}),1e3);this._cleanupCallbacks.push((function(){clearInterval(o)}))}var a=$(n=this._onResize).call(n,this);!function(t,e,n,r){var i;t.addEventListener?(void 0===r&&(r=!1),"mousewheel"===e&&Xi(i=navigator.userAgent).call(i,"Firefox")&&(e="DOMMouseScroll"),t.addEventListener(e,n,r)):t.attachEvent("on"+e,n)}(window,"resize",a),this._cleanupCallbacks.push((function(){!function(t,e,n,r){var i;t.removeEventListener?(void 0===r&&(r=!1),"mousewheel"===e&&Xi(i=navigator.userAgent).call(i,"Firefox")&&(e="DOMMouseScroll"),t.removeEventListener(e,n,r)):t.detachEvent("on"+e,n)}(window,"resize",a)}))}}},{key:"_cleanUp",value:function(){var t,e,n;Ao(t=so(e=no(n=this._cleanupCallbacks).call(n,0)).call(e)).call(t,(function(t){try{t()}catch(rp){console.error(rp)}}))}},{key:"_onResize",value:function(){this.setSize(),this.body.emitter.emit("_redraw")}},{key:"_getCameraState",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pixelRatio;!0===this.initialized&&(this.cameraState.previousWidth=this.frame.canvas.width/t,this.cameraState.previousHeight=this.frame.canvas.height/t,this.cameraState.scale=this.body.view.scale,this.cameraState.position=this.DOMtoCanvas({x:.5*this.frame.canvas.width/t,y:.5*this.frame.canvas.height/t}))}},{key:"_setCameraState",value:function(){if(void 0!==this.cameraState.scale&&0!==this.frame.canvas.clientWidth&&0!==this.frame.canvas.clientHeight&&0!==this.pixelRatio&&this.cameraState.previousWidth>0&&this.cameraState.previousHeight>0){var t=this.frame.canvas.width/this.pixelRatio/this.cameraState.previousWidth,e=this.frame.canvas.height/this.pixelRatio/this.cameraState.previousHeight,n=this.cameraState.scale;1!=t&&1!=e?n=.5*this.cameraState.scale*(t+e):1!=t?n=this.cameraState.scale*t:1!=e&&(n=this.cameraState.scale*e),this.body.view.scale=n;var r=this.DOMtoCanvas({x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight}),i={x:r.x-this.cameraState.position.x,y:r.y-this.cameraState.position.y};this.body.view.translation.x+=i.x*this.body.view.scale,this.body.view.translation.y+=i.y*this.body.view.scale}}},{key:"_prepareValue",value:function(t){if("number"===typeof t)return t+"px";if("string"===typeof t){if(-1!==fi(t).call(t,"%")||-1!==fi(t).call(t,"px"))return t;if(-1===fi(t).call(t,"%"))return t+"px"}throw new Error("Could not use the value supplied for width or height:"+t)}},{key:"_create",value:function(){for(;this.body.container.hasChildNodes();)this.body.container.removeChild(this.body.container.firstChild);if(this.frame=document.createElement("div"),this.frame.className="vis-network",this.frame.style.position="relative",this.frame.style.overflow="hidden",this.frame.tabIndex=0,this.frame.canvas=document.createElement("canvas"),this.frame.canvas.style.position="relative",this.frame.appendChild(this.frame.canvas),this.frame.canvas.getContext)this._setPixelRatio(),this.setTransform();else{var t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerText="Error: your browser does not support HTML canvas",this.frame.canvas.appendChild(t)}this.body.container.appendChild(this.frame),this.body.view.scale=1,this.body.view.translation={x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight},this._bindHammer()}},{key:"_bindHammer",value:function(){var t=this;void 0!==this.hammer&&this.hammer.destroy(),this.drag={},this.pinch={},this.hammer=new Jc(this.frame.canvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.get("pan").set({threshold:5,direction:Jc.DIRECTION_ALL}),Gd(this.hammer,(function(e){t.body.eventListeners.onTouch(e)})),this.hammer.on("tap",(function(e){t.body.eventListeners.onTap(e)})),this.hammer.on("doubletap",(function(e){t.body.eventListeners.onDoubleTap(e)})),this.hammer.on("press",(function(e){t.body.eventListeners.onHold(e)})),this.hammer.on("panstart",(function(e){t.body.eventListeners.onDragStart(e)})),this.hammer.on("panmove",(function(e){t.body.eventListeners.onDrag(e)})),this.hammer.on("panend",(function(e){t.body.eventListeners.onDragEnd(e)})),this.hammer.on("pinch",(function(e){t.body.eventListeners.onPinch(e)})),this.frame.canvas.addEventListener("wheel",(function(e){t.body.eventListeners.onMouseWheel(e)})),this.frame.canvas.addEventListener("mousemove",(function(e){t.body.eventListeners.onMouseMove(e)})),this.frame.canvas.addEventListener("contextmenu",(function(e){t.body.eventListeners.onContext(e)})),this.hammerFrame=new Jc(this.frame),Wd(this.hammerFrame,(function(e){t.body.eventListeners.onRelease(e)}))}},{key:"setSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.width,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.height;t=this._prepareValue(t),e=this._prepareValue(e);var n=!1,r=this.frame.canvas.width,i=this.frame.canvas.height,o=this.pixelRatio;if(this._setPixelRatio(),t!=this.options.width||e!=this.options.height||this.frame.style.width!=t||this.frame.style.height!=e)this._getCameraState(o),this.frame.style.width=t,this.frame.style.height=e,this.frame.canvas.style.width="100%",this.frame.canvas.style.height="100%",this.frame.canvas.width=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),this.frame.canvas.height=Math.round(this.frame.canvas.clientHeight*this.pixelRatio),this.options.width=t,this.options.height=e,this.canvasViewCenter={x:.5*this.frame.clientWidth,y:.5*this.frame.clientHeight},n=!0;else{var a=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),s=Math.round(this.frame.canvas.clientHeight*this.pixelRatio);this.frame.canvas.width===a&&this.frame.canvas.height===s||this._getCameraState(o),this.frame.canvas.width!==a&&(this.frame.canvas.width=a,n=!0),this.frame.canvas.height!==s&&(this.frame.canvas.height=s,n=!0)}return!0===n&&(this.body.emitter.emit("resize",{width:Math.round(this.frame.canvas.width/this.pixelRatio),height:Math.round(this.frame.canvas.height/this.pixelRatio),oldWidth:Math.round(r/this.pixelRatio),oldHeight:Math.round(i/this.pixelRatio)}),this._setCameraState()),this.initialized=!0,n}},{key:"getContext",value:function(){return this.frame.canvas.getContext("2d")}},{key:"_determinePixelRatio",value:function(){var t=this.getContext();if(void 0===t)throw new Error("Could not get canvax context");var e=1;return"undefined"!==typeof window&&(e=window.devicePixelRatio||1),e/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)}},{key:"_setPixelRatio",value:function(){this.pixelRatio=this._determinePixelRatio()}},{key:"setTransform",value:function(){var t=this.getContext();if(void 0===t)throw new Error("Could not get canvax context");t.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}},{key:"_XconvertDOMtoCanvas",value:function(t){return(t-this.body.view.translation.x)/this.body.view.scale}},{key:"_XconvertCanvasToDOM",value:function(t){return t*this.body.view.scale+this.body.view.translation.x}},{key:"_YconvertDOMtoCanvas",value:function(t){return(t-this.body.view.translation.y)/this.body.view.scale}},{key:"_YconvertCanvasToDOM",value:function(t){return t*this.body.view.scale+this.body.view.translation.y}},{key:"canvasToDOM",value:function(t){return{x:this._XconvertCanvasToDOM(t.x),y:this._YconvertCanvasToDOM(t.y)}}},{key:"DOMtoCanvas",value:function(t){return{x:this._XconvertDOMtoCanvas(t.x),y:this._YconvertDOMtoCanvas(t.y)}}}]),t}();function Hd(t,e){var n=yt({nodes:e,minZoomLevel:Number.MIN_VALUE,maxZoomLevel:1},null!==t&&void 0!==t?t:{});if(!ta(n.nodes))throw new TypeError("Nodes has to be an array of ids.");if(0===n.nodes.length&&(n.nodes=e),!("number"===typeof n.minZoomLevel&&n.minZoomLevel>0))throw new TypeError("Min zoom level has to be a number higher than zero.");if(!("number"===typeof n.maxZoomLevel&&n.minZoomLevel<=n.maxZoomLevel))throw new TypeError("Max zoom level has to be a number higher than min zoom level.");return n}var Ud=function(){function t(e,n){var r,i,o=this;Fr(this,t),this.body=e,this.canvas=n,this.animationSpeed=1/this.renderRefreshRate,this.animationEasingFunction="easeInOutQuint",this.easingTime=0,this.sourceScale=0,this.targetScale=0,this.sourceTranslation=0,this.targetTranslation=0,this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0,this.touchTime=0,this.viewFunction=void 0,this.body.emitter.on("fit",$(r=this.fit).call(r,this)),this.body.emitter.on("animationFinished",(function(){o.body.emitter.emit("_stopRendering")})),this.body.emitter.on("unlockNode",$(i=this.releaseNode).call(i,this))}return Vr(t,[{key:"setOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=t}},{key:"fit",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=Hd(t,this.body.nodeIndices);var n,r,i=this.canvas.frame.canvas.clientWidth,o=this.canvas.frame.canvas.clientHeight;if(0===i||0===o)r=1,n=Rd.getRange(this.body.nodes,t.nodes);else if(!0===e){var a=0;for(var s in this.body.nodes)if(Object.prototype.hasOwnProperty.call(this.body.nodes,s)){var c=this.body.nodes[s];!0===c.predefinedPosition&&(a+=1)}if(a>.5*this.body.nodeIndices.length)return void this.fit(t,!1);n=Rd.getRange(this.body.nodes,t.nodes);var l=this.body.nodeIndices.length;r=12.662/(l+7.4147)+.0964822;var u=Math.min(i/600,o/600);r*=u}else{this.body.emitter.emit("_resizeNodes"),n=Rd.getRange(this.body.nodes,t.nodes);var g=1.1*Math.abs(n.maxX-n.minX),f=1.1*Math.abs(n.maxY-n.minY),d=i/g,h=o/f;r=d<=h?d:h}r>t.maxZoomLevel?r=t.maxZoomLevel:r<t.minZoomLevel&&(r=t.minZoomLevel);var p=Rd.findCenter(n),A={position:p,scale:r,animation:t.animation};this.moveTo(A)}},{key:"focus",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0!==this.body.nodes[t]){var n={x:this.body.nodes[t].x,y:this.body.nodes[t].y};e.position=n,e.lockedOnNode=t,this.moveTo(e)}else console.error("Node: "+t+" cannot be found.")}},{key:"moveTo",value:function(t){if(void 0!==t){if(null!=t.offset){if(null!=t.offset.x){if(t.offset.x=+t.offset.x,!gu(t.offset.x))throw new TypeError('The option "offset.x" has to be a finite number.')}else t.offset.x=0;if(null!=t.offset.y){if(t.offset.y=+t.offset.y,!gu(t.offset.y))throw new TypeError('The option "offset.y" has to be a finite number.')}else t.offset.x=0}else t.offset={x:0,y:0};if(null!=t.position){if(null!=t.position.x){if(t.position.x=+t.position.x,!gu(t.position.x))throw new TypeError('The option "position.x" has to be a finite number.')}else t.position.x=0;if(null!=t.position.y){if(t.position.y=+t.position.y,!gu(t.position.y))throw new TypeError('The option "position.y" has to be a finite number.')}else t.position.x=0}else t.position=this.getViewPosition();if(null!=t.scale){if(t.scale=+t.scale,!(t.scale>0))throw new TypeError('The option "scale" has to be a number greater than zero.')}else t.scale=this.body.view.scale;void 0===t.animation&&(t.animation={duration:0}),!1===t.animation&&(t.animation={duration:0}),!0===t.animation&&(t.animation={}),void 0===t.animation.duration&&(t.animation.duration=1e3),void 0===t.animation.easingFunction&&(t.animation.easingFunction="easeInOutQuad"),this.animateView(t)}else t={}}},{key:"animateView",value:function(t){if(void 0!==t){this.animationEasingFunction=t.animation.easingFunction,this.releaseNode(),!0===t.locked&&(this.lockedOnNodeId=t.lockedOnNode,this.lockedOnNodeOffset=t.offset),0!=this.easingTime&&this._transitionRedraw(!0),this.sourceScale=this.body.view.scale,this.sourceTranslation=this.body.view.translation,this.targetScale=t.scale,this.body.view.scale=this.targetScale;var e,n,r=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),i=r.x-t.position.x,o=r.y-t.position.y;if(this.targetTranslation={x:this.sourceTranslation.x+i*this.targetScale+t.offset.x,y:this.sourceTranslation.y+o*this.targetScale+t.offset.y},0===t.animation.duration)if(void 0!=this.lockedOnNodeId)this.viewFunction=$(e=this._lockedRedraw).call(e,this),this.body.emitter.on("initRedraw",this.viewFunction);else this.body.view.scale=this.targetScale,this.body.view.translation=this.targetTranslation,this.body.emitter.emit("_requestRedraw");else this.animationSpeed=1/(60*t.animation.duration*.001)||1/60,this.animationEasingFunction=t.animation.easingFunction,this.viewFunction=$(n=this._transitionRedraw).call(n,this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering")}}},{key:"_lockedRedraw",value:function(){var t=this.body.nodes[this.lockedOnNodeId].x,e=this.body.nodes[this.lockedOnNodeId].y,n=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),r=n.x-t,i=n.y-e,o=this.body.view.translation,a={x:o.x+r*this.body.view.scale+this.lockedOnNodeOffset.x,y:o.y+i*this.body.view.scale+this.lockedOnNodeOffset.y};this.body.view.translation=a}},{key:"releaseNode",value:function(){void 0!==this.lockedOnNodeId&&void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0)}},{key:"_transitionRedraw",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.easingTime+=this.animationSpeed,this.easingTime=!0===t?1:this.easingTime;var e=Gc[this.animationEasingFunction](this.easingTime);if(this.body.view.scale=this.sourceScale+(this.targetScale-this.sourceScale)*e,this.body.view.translation={x:this.sourceTranslation.x+(this.targetTranslation.x-this.sourceTranslation.x)*e,y:this.sourceTranslation.y+(this.targetTranslation.y-this.sourceTranslation.y)*e},this.easingTime>=1){var n;if(this.body.emitter.off("initRedraw",this.viewFunction),this.easingTime=0,void 0!=this.lockedOnNodeId)this.viewFunction=$(n=this._lockedRedraw).call(n,this),this.body.emitter.on("initRedraw",this.viewFunction);this.body.emitter.emit("animationFinished")}}},{key:"getScale",value:function(){return this.body.view.scale}},{key:"getViewPosition",value:function(){return this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight})}}]),t}();function Xd(t){var e,n=t&&t.preventDefault||!1,r=t&&t.container||window,i={},o={keydown:{},keyup:{}},a={};for(e=97;e<=122;e++)a[String.fromCharCode(e)]={code:e-97+65,shift:!1};for(e=65;e<=90;e++)a[String.fromCharCode(e)]={code:e,shift:!0};for(e=0;e<=9;e++)a[""+e]={code:48+e,shift:!1};for(e=1;e<=12;e++)a["F"+e]={code:111+e,shift:!1};for(e=0;e<=9;e++)a["num"+e]={code:96+e,shift:!1};a["num*"]={code:106,shift:!1},a["num+"]={code:107,shift:!1},a["num-"]={code:109,shift:!1},a["num/"]={code:111,shift:!1},a["num."]={code:110,shift:!1},a.left={code:37,shift:!1},a.up={code:38,shift:!1},a.right={code:39,shift:!1},a.down={code:40,shift:!1},a.space={code:32,shift:!1},a.enter={code:13,shift:!1},a.shift={code:16,shift:void 0},a.esc={code:27,shift:!1},a.backspace={code:8,shift:!1},a.tab={code:9,shift:!1},a.ctrl={code:17,shift:!1},a.alt={code:18,shift:!1},a.delete={code:46,shift:!1},a.pageup={code:33,shift:!1},a.pagedown={code:34,shift:!1},a["="]={code:187,shift:!1},a["-"]={code:189,shift:!1},a["]"]={code:221,shift:!1},a["["]={code:219,shift:!1};var s=function(t){l(t,"keydown")},c=function(t){l(t,"keyup")},l=function(t,e){if(void 0!==o[e][t.keyCode]){for(var r=o[e][t.keyCode],i=0;i<r.length;i++)(void 0===r[i].shift||1==r[i].shift&&1==t.shiftKey||0==r[i].shift&&0==t.shiftKey)&&r[i].fn(t);1==n&&t.preventDefault()}};return i.bind=function(t,e,n){if(void 0===n&&(n="keydown"),void 0===a[t])throw new Error("unsupported key: "+t);void 0===o[n][a[t].code]&&(o[n][a[t].code]=[]),o[n][a[t].code].push({fn:e,shift:a[t].shift})},i.bindAll=function(t,e){for(var n in void 0===e&&(e="keydown"),a)a.hasOwnProperty(n)&&i.bind(n,t,e)},i.getKey=function(t){for(var e in a)if(a.hasOwnProperty(e)){if(1==t.shiftKey&&1==a[e].shift&&t.keyCode==a[e].code)return e;if(0==t.shiftKey&&0==a[e].shift&&t.keyCode==a[e].code)return e;if(t.keyCode==a[e].code&&"shift"==e)return e}return"unknown key, currently not supported"},i.unbind=function(t,e,n){if(void 0===n&&(n="keydown"),void 0===a[t])throw new Error("unsupported key: "+t);if(void 0!==e){var r=[],i=o[n][a[t].code];if(void 0!==i)for(var s=0;s<i.length;s++)i[s].fn==e&&i[s].shift==a[t].shift||r.push(o[n][a[t].code][s]);o[n][a[t].code]=r}else o[n][a[t].code]=[]},i.reset=function(){o={keydown:{},keyup:{}}},i.destroy=function(){o={keydown:{},keyup:{}},r.removeEventListener("keydown",s,!0),r.removeEventListener("keyup",c,!0)},r.addEventListener("keydown",s,!0),r.addEventListener("keyup",c,!0),i}_t("div.vis-network div.vis-navigation div.vis-button {\n width: 34px;\n height: 34px;\n -moz-border-radius: 17px;\n border-radius: 17px;\n position: absolute;\n display: inline-block;\n background-position: 2px 2px;\n background-repeat: no-repeat;\n cursor: pointer;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\ndiv.vis-network div.vis-navigation div.vis-button:hover {\n box-shadow: 0 0 3px 3px rgba(56, 207, 21, 0.3);\n}\n\ndiv.vis-network div.vis-navigation div.vis-button:active {\n box-shadow: 0 0 1px 3px rgba(56, 207, 21, 0.95);\n}\n\ndiv.vis-network div.vis-navigation div.vis-button.vis-up {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABphJREFUeNqcV2twU9cR/nbPlVTHxpKRbNnBLyEbPyJisLEcPwgwUMKQtjNJAzNJZkgNNJOmJaZAaDKlxaXDTIBAcJtOOzSYKSkdiimhAdIMjyT4bYgBYxA2BgcUQPLrCiGDR4qt2x+yXTASFt1/957d7zt3z3d39xDCMQWUfgAz/RI/T4pSTAJpAGL8rECAXX7QFQGq9wOHOxYO1oCgjAdJj1wtB095Giv9TFuZAIWHAziATMPhTAwiHgUkYPXFJu92lMP/2MTpB1AKUCVEgNAcleUo1M+2F8TO6crSTncb1QleAOj2OTSX3Ge1p+Va42m5JrnzbnsCE8Ov+EHgpa0LPLvCJjZ/whuIlN8wAcXG+e1LUn9hm238QU84p1Ld83nsXvuO7Lq+LzKYGAT6/dn58m/HJTYf4O3EShkT8Irpzab1Uz9sGevT5+tWn+j6NB4A5hp/5NSr43xjfd5rW5tT9e3OAhCBiCua5/WsDEls/hdvYklZSwDefmrT8eXmtzuDkb5YZ33p9ndylICAVjWxf39xw/5g5Luv/9H84ZWNcwNEypZT87rXjqyJB85UYDMJYN3U7UdLJ6/6JlgqV517teRqf9uTlug8e1zEk27HgD22o98WsTBh8fWxvjm6ApdONbGvse8LM5NUPOm1Cfabuz3nACAgxX0QEFTJAnjNvLJ+Sepb14KRHnN+Ev+1XJOhZs3Qu1mbG97J2NQgsXroa1dtxrGuf8cHi1mUtPTay0lv1DMJSCRVLtoX+FgGgDQNysBAcez89l9nbbsQSji7rlXkEhjPxb/QatHOcFu0M9zz419oFSRhj/3PuaHiyqasv1Con9NGxHAYUsoCxAqImbYSgCWmFbZQwdsur7N0eC4m6tT6/jUZ750Zeb82c+OZGLWh/2p/W+Kfrmy0hIp/aVKpTSIJEqu2QgFx2iE8CwDp0RbH7Ljng/4yXr+XT3QdyhYsodS0slGr0g2OrEUK7eCrKW82SqzCVz3/yfb6vRwM4xn9rN7JkRkOQRLmfJn2LBPxQjDBqp9lD7XbX7X8pKTP160zR2bdeiX5jYeU/nLSTztNkem3XL5eXbltRUkonBxdgZ2IIUmahUxERQSCVT+rK5hzQ89xQ6P8VaaK1f5VmRvqQ4G+lba+nlnlb5brMhvlk7FBiaPzuwQEmEQhg5BOxMjWTncHc2501cQLkjDTsMCWpyuRQxFP0xXIJfp5FyVW4Zy7KajC06ItbiIGg6ZITBxDxIgbrr1jTSM0fibGIHz8O9sKK0GAibEua9spANh4aY2VmcEg+DEkiBgR/L2hYFgGtcErkQQAMVJgBxyy9hboZzv32v+Kpr7qbEECTAIMAoaJa3qPTmNiiAAgJAjk6J5xhu6HDAIgQYGLmI29PocmMcI8MNYvT1ckfzD9H/ub5br4e4Me9WfOKqtyX6Ud2cwC449PRamifDm6Auc0rTXokci+Xo1EAgBckiDuYGLjpTvntcGIA+SFcp6uUAaAI879VhWrRteYAqn/edq758brXJ1327QMhgJcZjA3EBjNrgZjOG1PkAjyTGENMjZPq5ECQ0MDE9ERBqFZrk0OJ3i4x/7vyIjBxGERt3takgVJEAp9xq3f769WiPDNvSsJdT3HDOEASPelmoBRYT3Kzt5uMtwauJEgSOCpwrk1DIJCoNUMwj9v7MweP9XSQ8/hJPp496fZTAICvLqcyv2B7nRbrgCA03JN5h8ub7A8VqpB437xHvsOy3l3cyaB4L2uqxhti1WLMcSgZQCw7+bOooO3Pk4JBZIYYXISMV5sKH59UePM10GESRGpIf/bE92HU452HywSJIGIllctrhp6YAK5+fHds0lLtJFMXNwkV6fFqA29mROefqiMJj1h6um4a5vY/92dKGaBxIhU5zJTWW2cJmEgGOmeb3c8FxAfb9mdf2RzyGGv5MvU7QwuEySwKHFp/c/M71zA/2F7b1RajnYdLAqMukMVu2YcfmDYE2MD7H+7/Xlq6cRIJqm4zXM+qd3TGjVBir43KSLlXjiELe5TsX+3/yW/ST45PaAHbKmccWh12AP93JNZywj0kSABIobpiXRHjtZ6faout2tyZMadGLXBCxBcvl6NfaAz+tKdFmObpzWl2+tIIBACYy0t/yj34M7HvsKUK+CGassvicX7alYDwwq+vykIEqPVa+Q9gdYk5+V+UE7lj3+FGbuBM/X5JUT8QwIVSSSZiTgmoFR2MfiqYFFPfjpkyrfWPopwxP47AP1pK1g9/dqeAAAAAElFTkSuQmCC');\n bottom: 50px;\n left: 55px;\n}\ndiv.vis-network div.vis-navigation div.vis-button.vis-down {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABpdJREFUeNqcV21QlNcVfp5zX9ikoAvLEsAIIgsoHwpqWAQUNKLNaNv8iZ1JMkNG6/Qj/dDUyCSTtCHpmEkwVk3TToZRMjXj5MOG2KidjIkxQYSAQUAtX6IgIN8su8KCoOzbH4sk4q5g77/33uee555z7rnneYmZDB2MKcJKlyYbqOsZVIgGEOgSHQoy4AKbFFjqAo5dWn/rNAh9OpO852oeJHYxtrmEu4WALhMbxG2ZE9uFAlImDRLY/t/y0b3Ig+u+iWOKsAlgIZSb0OIf15kWtKo1NXh1d5xxiSPEN2wUAHrGOg11jirjWVtJyFnb6YgrzoYwocClu0DI5guPDb43Y2LLp/Iaqf9JCGSErGvIifxd7aqQn/TOJCvFvZ8Hf9haEH+m/6sFQgHBv1Sts/15WmJLkeyl6FuFwFPzny1/ZdE7Nfg/xhv1uUmH2w6kggQp+yqze7d5JbZ8Im+KpucSwI6EN7/cYtlxZarBCts3ptfrtq9odjaGKihE+sV0vRC3u8RqWmmbij149W+Wd5p2rnET6bsqsntyb6+pO3KqkE8FvLxo74lNUX9s9uTJb8/9fG2L81KoogJFYfCm3b9usNq0MXxzw1RsUkDqQICPqf/b/q8sQi3j4WdmtV47OFgNAO6r+DEUFAtFAc9YtpXmRP6hxVsI24cvhyoqnFtrK6jM7isgBa3Dl0O94TeGb255MvzXpUIFjVrhxo/dzgoARBuwFQJkBK9reCnurxfvXX8CRW3yW1G749vT2Br7ysW0oNX1pKDTPG+rm1gHRbibAHLm/7522sKnQCZqFgCUaBCqaS/bEw9vqtWoQROf3dBBiT6KTACImZ3YueqhDdOWjDbFQ4IzIl4elNUX5begU1HD6lPRmULKeghhDcpqnUmZuD3+nkgTH6gZEE9ctlZSoGmG9UIynSCsQVndMyX+IZGiBoHMjHh2SreCglClaSBiSEG8cYnD24bv7CWms/3FocO3hnw13plTggAFb196NdlPM44tC0zrSg5ItXmyEz070UEKCMRqQgkkBQ9NvL2eSJ+revoJTORSpoT6do4/7/7UShBFHQexM+HdfyUHWO8iN/uaRzX3/QjUSLlnqM72F4cCRIY5u9Zf+Y+BAv4AvzpkQ7WAIBRujA/7Vg6cia9xlId6InafVEAAGnQMUCSkb6zTMPdBy8hU3JjrphIq+CrD+Mvxeyumrr+4IH9y7o2GF5eDghuuGx4L2zbWZ9Dc0RoQRbkkFNRdP2/0BH7EtLJLKCjr+zqh2l5u8haZ847vTBW24kRFQXKAtcsT5oqz3igQENIoECkjBJUDZSGewBlBj/ammjLrdX1c/t70ero34gMte9IByLLAjPrUwKweT5jawQshdIuGMiF5XEBU2koivBl9NeEfJeYHwuxtI81zPrn2z6ip60c6DkV1jLTOCTaE2HNjd5Z4s9MwWBOhqEHp/I9cWDtUrJNoHm4KO9P7hdnTBoMYXI8Gb6gVCg63FS53jg9O5tA57tSOdHywnCAygrJrfcTgUe5U2cvNHSPtYYoKCWlrTgsIneB2AfFR+4F4b6f9ZdTzF6P8Ytud407/dy/nL7k9X9i8J9l5y+Ef6RfbnjPvWa8N5suez+KFCgqyPY95Lnd3stv2AcBZ2+mFbze+lui1xc3dXCUUlPafXNx4/aKxcajWWNp/MklRw8/mPFntbd+h1oLE847KhQQxejVg36QQqD0MPTzHv42Ux+uGasJNBnPfwllJd71kkX7RQ3WDNf7dox3BLcNNs6vt34bbbvYHJhlTGp6O+JVHb0/2HJtX1PH+aqECqG/5YN1nlXcokGvvO6vCc4x+QskotxVHB/qa+xbOWuzw8NB3nuo+Ht0z2hHsuGU3GrWAoZfi3jrxgHpw3BPpobaCH7vbqOw6mHI836vYW3Eqcq9AtioqbJy7ufQ3lhfu8sR+s9+3vL8klACsQSu7AnxMY1MxH7YXJp7oPpLulrrj+9575Ni2aeVt1teWfEWfHQLCaspseHzOU7VWU+aM5G2NoyL4i+6j8XWDNQsmGsKu/cv+nTtjQb/mm7hfENyvqEAK5v8opjPJaL26KGBpd5TfguuBvuZRgBgY6zO0jlyZXXe9JqR+8MK8ntHOMHfHIkhu2b/0yIH7/oXJ0yFlxYnPUdRbvuILgO7+y+91l6Ka6M+cnCf4fMSypXvymHf/vzBTD3CuNGUFKT8lmK5Rs5ASqKiBlAGBXFaiSuni0fkp1pJ7Ed4e/xsAqLk46EWsG1EAAAAASUVORK5CYII=');\n bottom: 10px;\n left: 55px;\n}\ndiv.vis-network div.vis-navigation div.vis-button.vis-left {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABt5JREFUeNqsl2lUlOcVx//3Pi9DZRsGBgYiS2RYBQKIjAhEJW4pNrXNMbZpWtTGNkttYmJMG5soSZckRk+0p+dYPYY0Gk0ihlhRj63GhVUgBhDD5oIOy8AAMwzD4lCYtx+GqCQKuNyP7/Pc+3u2+7/3JUzEZFBYLh62S7yIZDmVBEIBqOwsQ4DNdtBFASq2A4cuZAwVgCCPF5LGHM0Chz+E1XamzUyAzCMO7IhMI+5MDCK+HpCANd+U2rYgC/Y7BoflYgVA2RAOoNYtyjDTe45+hk96e5QywaJR+NsAwDhocK61VCjLTYWaclNB0OW+en8mhl22g8C/rn7U+uGEwdov+C0i+Q0mIFWzoD7zwVU1czQ/6pjIreR3HPX5VL9jalHXiQgmBoH+XLHAtH5csDaXtxDLLzIBv5jyfOmG2H9U4S7snbpX43KaPpgBIhDx1rPzOlbfPC5GQT/nd1mS1zABa6PfPf5y5F/rcJeWpp7fPkly6f7KXBRCoOSATFfXll19x74HDsvFCghsJAG8HrvlvytCXm7EPVqc5wyzp5NX15muE1omKXXyMnd9yy5r5Q3wPghvJzrLAlimXV38+7D1DbhPFq1M6O4b6rPVWKsCBfHi5EWWv9TkQBYAEPpLvERMC9N8FtRvjt9dPl6wwo5jPvuas7WV5jNqEjz8wA+CBsaan+w9x1hrrXJtuaZX97ooLfqPLCUEGRR+iOwAsF2X98Uc30W3fb02u41frVqeVmo6FUkkwCAwCWxJ2Ls/0TPFNBb8TNdp9WvnVz4OAKdmX2QOzcMsAAjziDGMBd3asCF6SXHyknJTfqQTK+zpvhnVKT5zawCgzFTgN94pJXvP7gxxjTAIkpB+MnSWRMQZYEDnPVt/K4ejbZ/77726Lb6h95tAAiPELaJ1bcTbRfGeM8xv1azWSeyEa0P9igk+Nr1+oNFfkpwzJCJKIQA679ntN08yDXYo3qh+LuUrc0E4EcNL4dP7VNDzpU8FP3vpekoQQ5CEw4bPdEfa9+sAgEZUmkmAAAS5hLQ9p11XGO+pM8V5JLUfMeQARDMlEMKIGFOVCZYb0C7Fz0oeXmIZ6nZzYoV9od/jVS+GbahUOnn9b7T6sEOviUGyA8bMDlUa0W79wBW/bZf+lrY98cDBUI8YCxGDgHCJiVVEDN8R7QWAE8Z/+1mGut2i3eP1r0S+XRztkdBzq6NbF7WpbF3UprKxjvfHxbrfttla/QBArVDbJJIAQCURMRg8ugrKIAKBSNxzHtN3VdmxY0iQYSZmTeegwTlgknYAAB7RZBh2Nm7urbeeC1r19ROT52kWn3shfH2Fu1AO3RxjY/0fdac7/hPPJMDE11GC+HpBJmIEuAS3Oa6w01lybMbMgvgCE6O255zy24DeCr/Bvckn9+u8ZjXYIYvjxoMJy8oeXZrT9GHIqMWTwA2oI6cFMeDIcAiSEOyibXsmZG0hAFzuq1OyY6xBAnMJgdPOmks08zU/bbsB9x18P37PqS/b8+o/a96ZcLm3PmBH46Z5x40HW1eFvl4Uq0w0MwiCBOb7/qTsd6GvVY537DXWas1Iw1AiNJnOgwJi+bXhAbE08OnvaXSIW0TvYw88eaF/uM/WNdju3m5r9TlhPBzVNNDoPGC/5tRma/GJ80xqjPPUjVuvP2narrMOWd1Jlv/E1fN782UiNPZf9C/qOKa+ndOz2j+cz046sn+6KrVOsODirpOxld0lUxmEBK/ktvGgFd2l6taBZn9BAtEz5xYIvAn4/8rFKkgstAyZ6Yf+S67ezlkiSU73XXRV6xqh93TyssR4JF75efBvymLdE03jgT/Wb5tutLWpGbTm7wHZxQQAT+yDuKLyHRIk4cnAZ4pfCF9/HvfR9uh3xBxtz00BANsVDylnac6wAICaHMiBmW5NRLy4trcq0MtZ3RnpHme5H9AvjYeCc1t3pzMJgOSVnyw4eHZUB9Kyu68iMFPpysSppab8UJVC3Rnp/pDlXqF7mnYsdKQbv7cr6fDGW/Zczbt6jgUtV6kIlFxuyg/tH+6zJXmlGe8G+mlzdsyB1j3pTAwZ9q3/Sspbc9tmDwD0H3UffXCFlyuTlFpnPRdYb612c5c8+idPCu6fCLDKUubzsf6fSaWm0wmO9hbvZU8fDR2zoZ97OuppAu0UJEDEmOISZohT6q7Gek5rD3GN6FEp1DaAYB7sdNYPXPao7anS1Fmrg402g7+jYhGIaOXOaQc+uONfmCwZXJIf8xKx2KRgxYgOS+CROuyoyQKCxIhkOr4T6JWgxGnvZ1HWnf/CfHcBXxcnpRHxYwRKkUjSErFKkAQiNjP4kmBRTHbKm5KkKxwL+K39fwDX1XGF8ct++QAAAABJRU5ErkJggg==');\n bottom: 10px;\n left: 15px;\n}\ndiv.vis-network div.vis-navigation div.vis-button.vis-right {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABs1JREFUeNqsl3tQlOcVxp9z3m+XygK7C4sLxkW5o4CAkYssFSkRjabjJEOSJm1IbZx2krapiZdeprW0NVVJ0pqMM0kYJQlqkoZImGioE1ItiCAgIsFwE4Es99vCslwChf36xy5EW1A0Pn9+73fO772e93kJC5EMCszFd20SbyFZNpJAAACtjWUI8KAN1CRAJTbg9LXNU+dBkG+Xkm7Zmg4OWoUdNqZXmQCZHQFsz0yOcCYGEc8mJGDnl2UTh5AO2x2DA3OxDaAsCDvQ32VF11qP9aZYz6SeFeooi17pPQEAvZNdTnWWKnWFuVhfYT7v0zza4M3EsMk2EPgnNZusby8Y7P8x/5lI/gMTYNSnNKQt/0Xtev1DfQtZlaK+M54fmDJXXhg4G8zEINBfqlLMe28L9s/lQ8Tyr5iAJ32fK/tj+OFq3IUO1O+JyGk7GgsiEPFrlQ/07bixXdwEPckHWZJ3MgG7Qw9+/mLIS/W4SyXoNvQskpyHLg1e8CNQ3NI0laoje7Tg/8CBudgGgQwSwO/DD322ze/FFnxLRWhiBzUK94GLA2f9mSTjfU+7mjqyrVe+AX8I4aGgShbA0/47Sn4ZuLcR90ih6qih0anRiVprtUEQb43bYtlXmwNZAEDAj/ACMW1M8ExpeDXyWMVCEl4yF7vntR/zLeov8JJlWfZR+Y3N92+cx/reOmu1quNrk27EWW0xvWspJcigoNNkA4C3Yk59vH7xltvu3ktDxe7PX34ilQCQfeci1j2xfn94ZrGCneY8uxcHCnW/vbr9EQD4d2ITc8AprAOAQLewroVAAaB8oMiLiRHvmVy7znNTjWCFrXKoJOSHFQ+kvnF9f+jco07s91MFdwmSkHQuYB0T8WYwIcYj0bTQdRufGlFKJMFVaCb/GvZW6aGI4yeXOwd2mr/u05zsyDY+W5X64Nm+fO85NpuJiCFJTpslIoonADEeiT2zIzIXuh+o25PQNtbsNVMOBUn2g08MiSTHN3uZjNTEDr4dnX/6H+1H/XPasmKvW+sMGfW/MXzende4K3h/ibvSYxIAItyie/K7cgCitQxCIBFjpTrKMgM+WPfrhLbxFi9iMQtlYjAJSCSBSYBAIPBNI3p86TPXj8bk56R4PVylFE626uFLQc9efiTVPDmgBIAAtzALEYNBQRITa4kYix21FwBax655CVagPLk7806Pj1qo/7MraF/FQ14/aMhszYhvGqn3KTef89rklWrSKXUTkn3mtJK9Bzf3XJA0e/PcrdgxIwSCDPmbZMQgABJkDBKzvn+yy2npIv9xAPB1Ceo2jTZ7Gc8afipIgEhAkACDwcSQQZBIIGnx5it7gg+U3wgcnbZKR1r+FnW+v2DVtDwtXCXNSKz797oAwDzZ7ySRAIBBFsTXmBh1w1+oZ4J3h+wv9lUFdbMDOrO+5IAqWIGZthuV13nC77nKRx8r7PssyibLIkoT1/h65HsfzWyu5tF6NYNB4EYJzKUETqgcLNVv0D/cDQBrNAnm9+LOfTLfNB5u2hf5z+6TMexYji+tVdrM5leMbWOtSwQx/F1C2rcuebIqwSO568a4WmuN3mEYSiUi+pRl2l1pLvYBsKArUKVwnZRYgdHpMWVG4+/WXhwoDBXE7OmkHzJ6JNemLfv51bniGqzVPoIkyLbpfK7ZMFIkE6FlrMn7Ql+BbiHg+zXGbgLjylDpyosD58KZmKM0cfWHI9//aD5o1VCZrnO83VuQQOja5PMCfwK8n3K2ChIbLVOD9KB36le3A+u/s2Q81C2yRavQmQNdVnamLnmq4nHD9jpB0rwm77jpjTW9E906Bu18fWlWCQHAox9CtGoXTwmS8IThZyXPB+29inuoE6bMsDM9ufEAMNHqJuU8ljMtAKA2B7IhzaWNiLfWjVQb3J10/SGuEZZ7Af1X7+lluZ3HkpgEQPL291M+qbzJgXQcG60ypKlVTGwsMxcFaJW6/hDXVZZvCz3RlrmRiQHwy9nRn2bM6bnas4cLfH6s1RIorsJcFDA2PToR7Z7QezfQD9qzwvI6TyTZC47ttXeiT+2c1+wBgOndoTPLt7mrmCRjvfULQ4O1xsVVchu7b9GysYUAqy3lnsdNb0aXmQuj7PYWL2etuRl6S0OfXLjiGQIdEY6K5esc2BWhjvkqXLO6x08VPKxV6iYAwuBkv5NpvNmtbrhaX2+tWdY70eVNINhtLW0/sjrv6B0/YdJlcGlR2AvE4hUlKwHQ7BU5cz8LRx0HaPY7gXb53L/67+mUfudPmP/twOWS6AQi/j6B4iWS/IlYK+yGYJDB1wWLErLRKd/omOJbAWf03wEAyO9m+/TtS3AAAAAASUVORK5CYII=');\n bottom: 10px;\n left: 95px;\n}\ndiv.vis-network div.vis-navigation div.vis-button.vis-zoomIn {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABiBJREFUeNqkV2tQlOcVfp7zvgvDRe66y8htXUBR1GoFI+BtFJvRtjPJBGeaH2a8DGmbttgSTWbSJEw6TWOsrbbpTIeJZGqaTipTa6LJZDTVUTYQdNAohoso6qLucnERN0Axcb/8+HaJUHDX9Pz6vnnPe57vXJ5zzkeEIwaYcwBL/VrW0TCKqZANINEvBhSk3w9eUmC9HzjcsfarOhBGKJN84GkVJHcetvqFu4SAIYELYlpm4LpQQMqoQQKVnzeO7EYV/A8NnHMAGwHWQJmAjtg895LkFa7FU1d258UvGLBGpI4AQM9dd2TrwNn4016n9bS3LqNzsD1VKPAbfhCyqflR31thAzv+La+QxotCoNi6pn1D1s9aVli/3xtOVk72fjT1XVf17E9uHZspFBD8zdk13pdCAjsOyG6KUSEEnrT/tPHluW+cw7eQ19q2z6/t2rsYJEjZ07S6d+ukwI5/yQ7RxnYC2DZnx8dbHNs6xxs85T2R9GprZcmVwYs2BYWsmBzP83m7nIVJS73jdfdd+7PjjUu/XWUCGTtPre7ZHjxTY3Kq8DoV8Ou5u49snPGrKxN58syZ9aVXBztsigoUBd+Xt2NbfZ8llaVvah+vOz9hcX+CJenWp7eOOYS6ePpTU1w39vk+AwCzFPdDQbFGFPCUY2v9hqxfXJ0shNeHLtsUFc6UequbVvdVkwLX0GXbZPpl6Zuu/ij9x/VCBU1dU7bfdFYAIDsSFRCgeOqa9hfy/nDhwfwTKOrRd0U95n0iqch9+cKS5JVtpMCdkllhAhugCHcRwAb7z1tCEp8CCXAWAJRoCFXIYnti+sYWTQ0tll0wQMk+hGUAkBOX714xbV1IyuhxHhIMC/iR5OV9M2JmuhU1Vh7PXiakrIUQhcnLXeHQxPT4GyAtFqgwgAPF5iIFWkeu1SSLCKAweXn3/ZR5rXV7SddQpy3YDoNems9qTI5hGCitm1MOAAx0aaFCerTd84zjBed3Egq9ADA/rqD7Q3ctQC4REDmkYHb8goGgsR2tz5V0DV+xUdQoqAQ81RybU4IgFWgACgpaLLCIBUo0bv63y/aXy6+WBHWz4/IHSIGAuVooiaRgWqD3AsDVoQ6bEgtOrfJUhwrf0WUtk+r8sL6wvHvk5ijVUiJSRrQZuURtfoGMuaCoRyfP/yMy0XykgAA0DPRTxNp31x2ZFuUYBgB7bK7HNdhpKz6WXq6oQCooKghMKhkgji77vBoA1jkXlAvVfRQjFMUcmxSkRWd6gpjeu32R2kxTvyhKh1DQeud8fFBh26zfOe0xuR4JgAbzywCoRSzfeDUKatJKUQK+CjKiHZ6nZ2xzBnU7B9vixTy7qCHSQEhJU3+DtdT6mAcAFiWUeP/xyPH3Jwrfo3XzysemRcEA8F5RY8h6aPE1WwMLQ4OQ/EBANHmdGWHlzZyxk3ayB0m771yGooYy+KE0l35x0iBxZehS6ie9R1PCMaDvCzWDXA4hZ283ptwcvp6qqDBnyao6AWEQrBQQ/7y+d3YoA+NBTAaElo973p8tVFCQyipW+c3pdNu7BwBOe+tm/eniK/kPFWowpMfvuKrzzw80zSKIkWsJe0bHYu163BNwMwDsv7G36ODNtzMnM5IWZfeQgscbisvLPl1aDhLTo7I8k+n/p+dw5pGeg0WKGiS31K6vvTdmA7nx9uDZ9A3xMUIpbvSezE6MSOmbNWXewHhD6dH23o7BlqQvvrwTK6KQFpXl2WyvcE6LTB2eCPSdrurvmcUnO/cVfPD6pMteyfGs3QKpUFQoS9tU/xPH8xe+Tdd693pN/pHug0Xmqntvz1uLDo9Z9v5nnrn+dvujrI1JMUJd3OY7n97ua46douOGpkdlDoUDeG7g1NS/u/5a0Og9scCsB+ysWXSoMuyFftWJvM0E31SBjmWPznHPjy+8NjdhYfeMmJl3EiNSRgCi/25fpGu4M671zjlrm685s2fEnUoQ5lrLLW8uPLj3oX9hqgxIw8n8X1LU7yMkItCHzREZrGQV6ONmy5TggHk247sL/1jFqof/hRn/AWfqC0pI+QHBIk3tICXRrFTpF8hlJaqefh6yFxQ6HwQYlK8HAKyt3WsWxl7fAAAAAElFTkSuQmCC');\n bottom: 10px;\n right: 15px;\n}\ndiv.vis-network div.vis-navigation div.vis-button.vis-zoomOut {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABV5JREFUeNq0l2tQVVUYht/3W/vACMr16IFRQDiAgChpgiikMqY1WjnN9KsfGOXYTOVgkvbDUsZuXrK0qZmGUSvNspjI8TZOmo6AGBoZYly8YB6Qw80DBwQ6jJ3dj30OZZmiwvtv77XW96y91l7v9y1iMNLBuCI84tZkIXU9gwqxAILdokNBOtzgJQWWuYEDFxfcLAGh3y0k79iaD4mfjOVu4WYhoItngBiR6RkuFJAyEJBA3m/lri3Ih/uewXFFyAG4A8oAWkcm2meEzrFNH53Vkhg4xWnxCXcBQGu/3bfGeTbwjKPUcsZRElnfUxcuFLh1Nwh5vurx7s8GDbZ+L+tI/U0hkGGZX5c9/pXqOZYn2gazK8Vth0fvsRUknbx+bIJQQPCts/Mda+4KthbJFoqeKwSejX6pfO2kjytxH1pfuyqlsGH7dJAgZWvFo23L/9muboF+JxtE0/OEwMqJG46uSHinFvepTPO8lhGaX+fPHSdjCKaPy/b3v7az58h/wHFFyIHCRirgjUlbfsiJWXEFD6iUoOkdQaaQ6z9dP2YVahljF4+yXdvZ/evf4G+hQk2sEAUsti4vWxa35gKGSBMDp3T23OxxVXdXRijKovSFzrerC6ELAMT6IhcCZIyeX7c68YPzGGLlxq89PyM0q5YU2M1RuQAg0EERbiaA7Ohl1RgmPTM2p1qjBk1Mm6GDErsfswAgLiDZPmfMwrbhAqeHzm6P8Z9gV9SQdTx2lpCyAEKkhc62YZiVEjTdRgo0zXeBRnImAaSFzm7xdjjtOBGyvmZVZkNvfZjXDhU14+BToFEDKRAQpAJ0HRTjP6XHpYUKEX7RzS9bV5c+FJTmAICUgNSWQ/ZCgJwhIOJIQVLgFKcXvKHm9cyGvithFDUAFQqECho1CBUIggYapAJ1QEFBExNMYoISDU1/NIR9cvndTG/c2IBkp2fC8ZpQgknBGI/3AsDvvRfDlJhwem5zwYMs7VNlaUtbXE1h3mezj9mlGSsXrBkzkFsGKGoDmedBJLfLjxQQgAYdHRSxtPfbfceNsPYBQPTI+GZbT31YxrGIpYoKpIKigkAgFOggNBrbQBBCBaEM2L+iGGmTgnF+Uc1epqO/3VejAoAOUZSLQkFN17lAb4eVCe+VRvvHN4sH6t1feqAmMUGoPHvvhdLzTjzfKoj0sza/GLOy1Bu3vqc20Pgl5YIGkVOEZFZ0nLLMszzdDADTgjIdX6Uf3zfUx6m6u8riKRhOCcmDAqLCURo53Oe4rrsyUlGD0nlIqubdKNZJXOm9FH6y7Yh5uKBnO8vNTX2N4YoKE2fMLREQOsE8AfFN4/ak4QIfbd2XJFRQkLx85ruN7NTp2AoAZxwlCR9dWJc81NDdtoLkc86KBIJwXQ3aOpCPqwuhR2SPbCBlUc2NyogQX3N7wqgU51BAf2w9EFXUtCtLqADqS76ev6/ilgrk2q6esxHZgf5CySh3FMcG+5jbE0ZNdj4odHdDwWPGcZNNO1MPbrxtzdW4s+tI5HPBwQTTzziKY3v/7HGlhmS23g90T+OO5L1Nu7MMw3Fv/Tx1f97/FnsAYPui8/D4nBB/oZZR230uoq67auQoLaB37Iio3sEAK52nR39p+zS13HFiilHeYtOOabdC71jQzz2R+ALBbcrjWNF+cfaUwLSrk4KmtsT4T+gK9jG7AKKjv93X1lcfUNNVaantropqddnDCcIoa7lk29S92+/5CpOvQ04VJ79KUe/7iI/Hh40U6c3PyuPjhmWKN8G8Fvnw1A/zmX/vV5h/T+CXstRMUp4kOFOjZiUlWBkFQYdALitRZXRzf3RqWumdgF79NQDBOa2V/iYSHAAAAABJRU5ErkJggg==');\n bottom: 10px;\n right: 55px;\n}\ndiv.vis-network div.vis-navigation div.vis-button.vis-zoomExtends {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABptJREFUeNqsl21QlNcVx///cx9hIipuAJHasgHlRdw0xay7yK7smg6sb2DSdtqZduLUNENmOk1tQuM4U7UzTvshSRlFZzoNCWSSSTJp+6VNkLCAeQHBoCCgqNBE0wUqL+KuwIiiZZ9+eHa3aAS3Sf8zO8/L3nt+95x7z7n3YWlpKUQEJAEgch9+Jola9xEC2ADBVgAOKqwCYAqKDgUJBIHPBWwFWQNdbyZFBwAC0GGIAHQSj3/8HHRdhzYbdDfwg4IjAsGvICgXAroYBiCEDkBBACBZoyST4gDwQqh7mQ4cEkhQD0EBIIggRMQAh2EiEvEYAGrdR3YSqIYCIEDaotVDeYnu/ryEjSOr43PHl8WmTBPA6PRQ7IWJrvhT/ubkU/7m1EvX+1KEUh7Ug+WkPEXgdUSkR+xrd0NJ4qjr8AEI9pGAI7mo78mHfnF+Y/K2K7iHUheuvJG6cOUNz/LvDwPobrpSl/Ruf2VOy9UPs4RSTSANwH4Y449EVdnt9ojHIeghCHYLgR+n/7zt4Np32tIWZU4hSpnjVk1t/caPfOO3/f++MNH5TVJcisoEoo4ksgbsXwYfdR1+kQplQuCFNS82Pp/9+158RTkTC0ce0OKutQeOp5PME0qcUBqyBmwGOC8vz4AWVOyE4CUqYO/Dh+p3pj//Bb6mHllqCyxd8ODVT69+uFKoOYTSnzFg7SJpzHFNQYWiQrUIsCN9V+uOh375zz179pSGI1FSUuK12+2+aGDt7e3muro6T/h57969lZdvDrT+ZbA6n0B1nfPVN7e0PjMjIgIIdkEAR1JR329yDvaE0+l/hQKA1Wr1bd682SsikUW7K+O3PesTNvaSAiXaLhGBvO86RFEoJ4Adac+eDxsgiZKSEm9NTY3n5MmT5mjBHR0d5vr6es+mTZu8SqnI+x+s+Ol5jRo0auX1jtepQaEAADKWWIbcy7ZGUmb79u1eu93uI+mtra31HLj5TGDs9rBJICCNn1GRCKGCUJAUuzzw6CfbTB6Px7t27VofAG/YXl6Ceyw9LmvIN3UxZUafKRACWyCELcHVP3vk4fDabDZf+2N/D9g+fsLEEFSooFGDogZNFkBRgSCsTcWm066jgRAU4et/F5u9nxRosmCLRmE+QdgSXCNzhW/s9rDJ63wVJx77V+V8YS6UNaW8BdOcqzx+3Ujt0F8Bcr1GMIMU5CzJHZ+rg6IGCYV2PimoyIK6lzIWrxkPTVGmRoqJFCyLTZmeq4MB5f3BVADnbpcQkzStUQMAk0YKBPfzxlhA95NQQe43QBotBECAFFyZHo6dz6CKCizAPFPivzUWqxm2AqIgnwkFvZNn4uczGK3Hah7wpet98UZ85R8aKScIcXYEWpMLkx8fvleHpNjlAWtTsakQa0pVKGcJQqMGUqCHBvfdjp/gTP6xwFzg85PdyaH2J4SUowKiw3889e4KBACnT582W5uKTV2uusAdUFlgzBcFQoFGDT35HwW+82mhqaenxwwA4WtYfRNnUkMZUqsJpEkn8cXU5yktYw2JjsTCMQDwer0ekt6GhgZPUVGRd3fu7qjqdU9Mj7mlpcVD0tvS0uKxWCyVANB5rS3x8s3BFEUFgTTLtuZndQHLBMSfB6pyZtfqMDQ3NzfqTcJisficTqc3BI+8bxh9L8corarM3fnDoIT+rACAU/7m7MOfHbCEwQDQ2Njo6erqinqTOHfuXNjjiI23+ystZ8c7smmkWgVJcN++fRARfLDhlacEUqVEQ1nm77xPrHjSh/+Djo3WmN/s/6OHEOgIPr2h63tVuq5Dud1ukETWoK3zorkzTiiONn/TKlNM4lj24m+Pf13o2wOVHqGA5MsAXjKPrDaqnMvlQnjTzhy0Nlw0d5oI5p3yN62amrk+ve5B5+hXgb47WGX52+V3NgoFOvQKAGUkkTqcbZy5XC7XHYf4zEFr3aXU7jih5uidPPOtvsmzixZr8VMrHjBHddLsHj+Z9Fb/n9a1+T/JDaXey0IpEzEKkHnU8Jj79++PeEwSSimQRGP+Gz8j5DVFBVKQtjBj6JGlNt/D8Y+OpMdlTphiEqcB4tqtsVjfjUtLLkx0J/dOnjWPTg+lEARIEHwaQJVQIYggACC/qxi6rn8ZHL4XETSsf0MU1HOk/CFGYgAwskUqY5eBitRxzn7/a0V1EEBwdqkN6jPI7y4xPmHmC5unbWdQRMqP2d86qANOksU6gvmArNQRNClqABnQgYuK0krI+wCOAyH3DK/vqOXhaf3PAO7mIRjDNV25AAAAAElFTkSuQmCC');\n bottom: 50px;\n right: 15px;\n}\n");var Zd=function(){function t(e,n){var r=this;Fr(this,t),this.body=e,this.canvas=n,this.iconsCreated=!1,this.navigationHammers=[],this.boundFunctions={},this.touchTime=0,this.activated=!1,this.body.emitter.on("activate",(function(){r.activated=!0,r.configureKeyboardBindings()})),this.body.emitter.on("deactivate",(function(){r.activated=!1,r.configureKeyboardBindings()})),this.body.emitter.on("destroy",(function(){void 0!==r.keycharm&&r.keycharm.destroy()})),this.options={}}return Vr(t,[{key:"setOptions",value:function(t){void 0!==t&&(this.options=t,this.create())}},{key:"create",value:function(){!0===this.options.navigationButtons?!1===this.iconsCreated&&this.loadNavigationElements():!0===this.iconsCreated&&this.cleanNavigation(),this.configureKeyboardBindings()}},{key:"cleanNavigation",value:function(){if(0!=this.navigationHammers.length){for(var t=0;t<this.navigationHammers.length;t++)this.navigationHammers[t].destroy();this.navigationHammers=[]}this.navigationDOM&&this.navigationDOM.wrapper&&this.navigationDOM.wrapper.parentNode&&this.navigationDOM.wrapper.parentNode.removeChild(this.navigationDOM.wrapper),this.iconsCreated=!1}},{key:"loadNavigationElements",value:function(){var t=this;this.cleanNavigation(),this.navigationDOM={};var e=["up","down","left","right","zoomIn","zoomOut","zoomExtends"],n=["_moveUp","_moveDown","_moveLeft","_moveRight","_zoomIn","_zoomOut","_fit"];this.navigationDOM.wrapper=document.createElement("div"),this.navigationDOM.wrapper.className="vis-navigation",this.canvas.frame.appendChild(this.navigationDOM.wrapper);for(var r=0;r<e.length;r++){this.navigationDOM[e[r]]=document.createElement("div"),this.navigationDOM[e[r]].className="vis-button vis-"+e[r],this.navigationDOM.wrapper.appendChild(this.navigationDOM[e[r]]);var i,o,a=new Jc(this.navigationDOM[e[r]]);if("_fit"===n[r])Gd(a,$(i=this._fit).call(i,this));else Gd(a,$(o=this.bindToRedraw).call(o,this,n[r]));this.navigationHammers.push(a)}var s=new Jc(this.canvas.frame);Wd(s,(function(){t._stopMovement()})),this.navigationHammers.push(s),this.iconsCreated=!0}},{key:"bindToRedraw",value:function(t){var e;void 0===this.boundFunctions[t]&&(this.boundFunctions[t]=$(e=this[t]).call(e,this),this.body.emitter.on("initRedraw",this.boundFunctions[t]),this.body.emitter.emit("_startRendering"))}},{key:"unbindFromRedraw",value:function(t){void 0!==this.boundFunctions[t]&&(this.body.emitter.off("initRedraw",this.boundFunctions[t]),this.body.emitter.emit("_stopRendering"),delete this.boundFunctions[t])}},{key:"_fit",value:function(){(new Date).valueOf()-this.touchTime>700&&(this.body.emitter.emit("fit",{duration:700}),this.touchTime=(new Date).valueOf())}},{key:"_stopMovement",value:function(){for(var t in this.boundFunctions)Object.prototype.hasOwnProperty.call(this.boundFunctions,t)&&(this.body.emitter.off("initRedraw",this.boundFunctions[t]),this.body.emitter.emit("_stopRendering"));this.boundFunctions={}}},{key:"_moveUp",value:function(){this.body.view.translation.y+=this.options.keyboard.speed.y}},{key:"_moveDown",value:function(){this.body.view.translation.y-=this.options.keyboard.speed.y}},{key:"_moveLeft",value:function(){this.body.view.translation.x+=this.options.keyboard.speed.x}},{key:"_moveRight",value:function(){this.body.view.translation.x-=this.options.keyboard.speed.x}},{key:"_zoomIn",value:function(){var t=this.body.view.scale,e=this.body.view.scale*(1+this.options.keyboard.speed.zoom),n=this.body.view.translation,r=e/t,i=(1-r)*this.canvas.canvasViewCenter.x+n.x*r,o=(1-r)*this.canvas.canvasViewCenter.y+n.y*r;this.body.view.scale=e,this.body.view.translation={x:i,y:o},this.body.emitter.emit("zoom",{direction:"+",scale:this.body.view.scale,pointer:null})}},{key:"_zoomOut",value:function(){var t=this.body.view.scale,e=this.body.view.scale/(1+this.options.keyboard.speed.zoom),n=this.body.view.translation,r=e/t,i=(1-r)*this.canvas.canvasViewCenter.x+n.x*r,o=(1-r)*this.canvas.canvasViewCenter.y+n.y*r;this.body.view.scale=e,this.body.view.translation={x:i,y:o},this.body.emitter.emit("zoom",{direction:"-",scale:this.body.view.scale,pointer:null})}},{key:"configureKeyboardBindings",value:function(){var t,e,n,r,i,o,a,s,c,l,u,g,f,d,h,p,A,C,v,I,y,m,b,x,w=this;(void 0!==this.keycharm&&this.keycharm.destroy(),!0===this.options.keyboard.enabled)&&(!0===this.options.keyboard.bindToWindow?this.keycharm=Xd({container:window,preventDefault:!0}):this.keycharm=Xd({container:this.canvas.frame,preventDefault:!0}),this.keycharm.reset(),!0===this.activated&&($(t=this.keycharm).call(t,"up",(function(){w.bindToRedraw("_moveUp")}),"keydown"),$(e=this.keycharm).call(e,"down",(function(){w.bindToRedraw("_moveDown")}),"keydown"),$(n=this.keycharm).call(n,"left",(function(){w.bindToRedraw("_moveLeft")}),"keydown"),$(r=this.keycharm).call(r,"right",(function(){w.bindToRedraw("_moveRight")}),"keydown"),$(i=this.keycharm).call(i,"=",(function(){w.bindToRedraw("_zoomIn")}),"keydown"),$(o=this.keycharm).call(o,"num+",(function(){w.bindToRedraw("_zoomIn")}),"keydown"),$(a=this.keycharm).call(a,"num-",(function(){w.bindToRedraw("_zoomOut")}),"keydown"),$(s=this.keycharm).call(s,"-",(function(){w.bindToRedraw("_zoomOut")}),"keydown"),$(c=this.keycharm).call(c,"[",(function(){w.bindToRedraw("_zoomOut")}),"keydown"),$(l=this.keycharm).call(l,"]",(function(){w.bindToRedraw("_zoomIn")}),"keydown"),$(u=this.keycharm).call(u,"pageup",(function(){w.bindToRedraw("_zoomIn")}),"keydown"),$(g=this.keycharm).call(g,"pagedown",(function(){w.bindToRedraw("_zoomOut")}),"keydown"),$(f=this.keycharm).call(f,"up",(function(){w.unbindFromRedraw("_moveUp")}),"keyup"),$(d=this.keycharm).call(d,"down",(function(){w.unbindFromRedraw("_moveDown")}),"keyup"),$(h=this.keycharm).call(h,"left",(function(){w.unbindFromRedraw("_moveLeft")}),"keyup"),$(p=this.keycharm).call(p,"right",(function(){w.unbindFromRedraw("_moveRight")}),"keyup"),$(A=this.keycharm).call(A,"=",(function(){w.unbindFromRedraw("_zoomIn")}),"keyup"),$(C=this.keycharm).call(C,"num+",(function(){w.unbindFromRedraw("_zoomIn")}),"keyup"),$(v=this.keycharm).call(v,"num-",(function(){w.unbindFromRedraw("_zoomOut")}),"keyup"),$(I=this.keycharm).call(I,"-",(function(){w.unbindFromRedraw("_zoomOut")}),"keyup"),$(y=this.keycharm).call(y,"[",(function(){w.unbindFromRedraw("_zoomOut")}),"keyup"),$(m=this.keycharm).call(m,"]",(function(){w.unbindFromRedraw("_zoomIn")}),"keyup"),$(b=this.keycharm).call(b,"pageup",(function(){w.unbindFromRedraw("_zoomIn")}),"keyup"),$(x=this.keycharm).call(x,"pagedown",(function(){w.unbindFromRedraw("_zoomOut")}),"keyup")))}}]),t}();function qd(t,e){var n;if("undefined"===typeof da||null==ur(t)){if(ta(t)||(n=function(t,e){var n;if(!t)return;if("string"===typeof t)return Kd(t,e);var r=oa(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return br(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kd(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=lr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Kd(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Qd=function(){function t(e,n,r){var i,o,a,s,c,l,u,g,f,d,h,p,A;Fr(this,t),this.body=e,this.canvas=n,this.selectionHandler=r,this.navigationHandler=new Zd(e,n),this.body.eventListeners.onTap=$(i=this.onTap).call(i,this),this.body.eventListeners.onTouch=$(o=this.onTouch).call(o,this),this.body.eventListeners.onDoubleTap=$(a=this.onDoubleTap).call(a,this),this.body.eventListeners.onHold=$(s=this.onHold).call(s,this),this.body.eventListeners.onDragStart=$(c=this.onDragStart).call(c,this),this.body.eventListeners.onDrag=$(l=this.onDrag).call(l,this),this.body.eventListeners.onDragEnd=$(u=this.onDragEnd).call(u,this),this.body.eventListeners.onMouseWheel=$(g=this.onMouseWheel).call(g,this),this.body.eventListeners.onPinch=$(f=this.onPinch).call(f,this),this.body.eventListeners.onMouseMove=$(d=this.onMouseMove).call(d,this),this.body.eventListeners.onRelease=$(h=this.onRelease).call(h,this),this.body.eventListeners.onContext=$(p=this.onContext).call(p,this),this.touchTime=0,this.drag={},this.pinch={},this.popup=void 0,this.popupObj=void 0,this.popupTimer=void 0,this.body.functions.getPointer=$(A=this.getPointer).call(A,this),this.options={},this.defaultOptions={dragNodes:!0,dragView:!0,hover:!1,keyboard:{enabled:!1,speed:{x:10,y:10,zoom:.02},bindToWindow:!0},navigationButtons:!1,tooltipDelay:300,zoomView:!0,zoomSpeed:1},yt(this.options,this.defaultOptions),this.bindEventListeners()}return Vr(t,[{key:"bindEventListeners",value:function(){var t=this;this.body.emitter.on("destroy",(function(){clearTimeout(t.popupTimer),delete t.body.functions.getPointer}))}},{key:"setOptions",value:function(t){if(void 0!==t){wc(["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag","keyboard","multiselect","selectable","selectConnectedEdges"],this.options,t),Vc(this.options,t,"keyboard"),t.tooltip&&(yt(this.options.tooltip,t.tooltip),t.tooltip.color&&(this.options.tooltip.color=Tc(t.tooltip.color)))}this.navigationHandler.setOptions(this.options)}},{key:"getPointer",value:function(t){return{x:t.x-(e=this.canvas.frame.canvas,e.getBoundingClientRect().left),y:t.y-kc(this.canvas.frame.canvas)};var e}},{key:"onTouch",value:function(t){(new Date).valueOf()-this.touchTime>50&&(this.drag.pointer=this.getPointer(t.center),this.drag.pinched=!1,this.pinch.scale=this.body.view.scale,this.touchTime=(new Date).valueOf())}},{key:"onTap",value:function(t){var e=this.getPointer(t.center),n=this.selectionHandler.options.multiselect&&(t.changedPointers[0].ctrlKey||t.changedPointers[0].metaKey);this.checkSelectionChanges(e,n),this.selectionHandler.commitAndEmit(e,t),this.selectionHandler.generateClickEvent("click",t,e)}},{key:"onDoubleTap",value:function(t){var e=this.getPointer(t.center);this.selectionHandler.generateClickEvent("doubleClick",t,e)}},{key:"onHold",value:function(t){var e=this.getPointer(t.center),n=this.selectionHandler.options.multiselect;this.checkSelectionChanges(e,n),this.selectionHandler.commitAndEmit(e,t),this.selectionHandler.generateClickEvent("click",t,e),this.selectionHandler.generateClickEvent("hold",t,e)}},{key:"onRelease",value:function(t){if((new Date).valueOf()-this.touchTime>10){var e=this.getPointer(t.center);this.selectionHandler.generateClickEvent("release",t,e),this.touchTime=(new Date).valueOf()}}},{key:"onContext",value:function(t){var e=this.getPointer({x:t.clientX,y:t.clientY});this.selectionHandler.generateClickEvent("oncontext",t,e)}},{key:"checkSelectionChanges",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!0===e?this.selectionHandler.selectAdditionalOnPoint(t):this.selectionHandler.selectOnPoint(t)}},{key:"_determineDifference",value:function(t,e){var n=function(t,e){for(var n=[],r=0;r<t.length;r++){var i=t[r];-1===fi(e).call(e,i)&&n.push(i)}return n};return{nodes:n(t.nodes,e.nodes),edges:n(t.edges,e.edges)}}},{key:"onDragStart",value:function(t){if(!this.drag.dragging){void 0===this.drag.pointer&&this.onTouch(t);var e=this.selectionHandler.getNodeAt(this.drag.pointer);if(this.drag.dragging=!0,this.drag.selection=[],this.drag.translation=yt({},this.body.view.translation),this.drag.nodeId=void 0,t.srcEvent.shiftKey){this.body.selectionBox.show=!0;var n=this.getPointer(t.center);this.body.selectionBox.position.start={x:this.canvas._XconvertDOMtoCanvas(n.x),y:this.canvas._YconvertDOMtoCanvas(n.y)},this.body.selectionBox.position.end={x:this.canvas._XconvertDOMtoCanvas(n.x),y:this.canvas._YconvertDOMtoCanvas(n.y)}}if(void 0!==e&&!0===this.options.dragNodes){this.drag.nodeId=e.id,!1===e.isSelected()&&(this.selectionHandler.unselectAll(),this.selectionHandler.selectObject(e)),this.selectionHandler.generateClickEvent("dragStart",t,this.drag.pointer);var r,i=qd(this.selectionHandler.getSelectedNodes());try{for(i.s();!(r=i.n()).done;){var o=r.value,a={id:o.id,node:o,x:o.x,y:o.y,xFixed:o.options.fixed.x,yFixed:o.options.fixed.y};o.options.fixed.x=!0,o.options.fixed.y=!0,this.drag.selection.push(a)}}catch(s){i.e(s)}finally{i.f()}}else this.selectionHandler.generateClickEvent("dragStart",t,this.drag.pointer,void 0,!0)}}},{key:"onDrag",value:function(t){var e=this;if(!0!==this.drag.pinched){this.body.emitter.emit("unlockNode");var n=this.getPointer(t.center),r=this.drag.selection;if(r&&r.length&&!0===this.options.dragNodes){this.selectionHandler.generateClickEvent("dragging",t,n);var i=n.x-this.drag.pointer.x,o=n.y-this.drag.pointer.y;Ao(r).call(r,(function(t){var n=t.node;!1===t.xFixed&&(n.x=e.canvas._XconvertDOMtoCanvas(e.canvas._XconvertCanvasToDOM(t.x)+i)),!1===t.yFixed&&(n.y=e.canvas._YconvertDOMtoCanvas(e.canvas._YconvertCanvasToDOM(t.y)+o))})),this.body.emitter.emit("startSimulation")}else{if(t.srcEvent.shiftKey){if(this.selectionHandler.generateClickEvent("dragging",t,n,void 0,!0),void 0===this.drag.pointer)return void this.onDragStart(t);this.body.selectionBox.position.end={x:this.canvas._XconvertDOMtoCanvas(n.x),y:this.canvas._YconvertDOMtoCanvas(n.y)},this.body.emitter.emit("_requestRedraw")}if(!0===this.options.dragView&&!t.srcEvent.shiftKey){if(this.selectionHandler.generateClickEvent("dragging",t,n,void 0,!0),void 0===this.drag.pointer)return void this.onDragStart(t);var a=n.x-this.drag.pointer.x,s=n.y-this.drag.pointer.y;this.body.view.translation={x:this.drag.translation.x+a,y:this.drag.translation.y+s},this.body.emitter.emit("_requestRedraw")}}}}},{key:"onDragEnd",value:function(t){var e=this;if(this.drag.dragging=!1,this.body.selectionBox.show){var n;this.body.selectionBox.show=!1;var r=this.body.selectionBox.position,i={minX:Math.min(r.start.x,r.end.x),minY:Math.min(r.start.y,r.end.y),maxX:Math.max(r.start.x,r.end.x),maxY:Math.max(r.start.y,r.end.y)},o=Ri(n=this.body.nodeIndices).call(n,(function(t){var n=e.body.nodes[t];return n.x>=i.minX&&n.x<=i.maxX&&n.y>=i.minY&&n.y<=i.maxY}));Ao(o).call(o,(function(t){return e.selectionHandler.selectObject(e.body.nodes[t])}));var a=this.getPointer(t.center);this.selectionHandler.commitAndEmit(a,t),this.selectionHandler.generateClickEvent("dragEnd",t,this.getPointer(t.center),void 0,!0),this.body.emitter.emit("_requestRedraw")}else{var s=this.drag.selection;s&&s.length?(Ao(s).call(s,(function(t){t.node.options.fixed.x=t.xFixed,t.node.options.fixed.y=t.yFixed})),this.selectionHandler.generateClickEvent("dragEnd",t,this.getPointer(t.center)),this.body.emitter.emit("startSimulation")):(this.selectionHandler.generateClickEvent("dragEnd",t,this.getPointer(t.center),void 0,!0),this.body.emitter.emit("_requestRedraw"))}}},{key:"onPinch",value:function(t){var e=this.getPointer(t.center);this.drag.pinched=!0,void 0===this.pinch.scale&&(this.pinch.scale=1);var n=this.pinch.scale*t.scale;this.zoom(n,e)}},{key:"zoom",value:function(t,e){if(!0===this.options.zoomView){var n=this.body.view.scale;t<1e-5&&(t=1e-5),t>10&&(t=10);var r=void 0;void 0!==this.drag&&!0===this.drag.dragging&&(r=this.canvas.DOMtoCanvas(this.drag.pointer));var i=this.body.view.translation,o=t/n,a=(1-o)*e.x+i.x*o,s=(1-o)*e.y+i.y*o;if(this.body.view.scale=t,this.body.view.translation={x:a,y:s},void 0!=r){var c=this.canvas.canvasToDOM(r);this.drag.pointer.x=c.x,this.drag.pointer.y=c.y}this.body.emitter.emit("_requestRedraw"),n<t?this.body.emitter.emit("zoom",{direction:"+",scale:this.body.view.scale,pointer:e}):this.body.emitter.emit("zoom",{direction:"-",scale:this.body.view.scale,pointer:e})}}},{key:"onMouseWheel",value:function(t){if(!0===this.options.zoomView){if(0!==t.deltaY){var e=this.body.view.scale;e*=1+(t.deltaY<0?1:-1)*(.1*this.options.zoomSpeed);var n=this.getPointer({x:t.clientX,y:t.clientY});this.zoom(e,n)}t.preventDefault()}}},{key:"onMouseMove",value:function(t){var e=this,n=this.getPointer({x:t.clientX,y:t.clientY}),r=!1;void 0!==this.popup&&(!1===this.popup.hidden&&this._checkHidePopup(n),!1===this.popup.hidden&&(r=!0,this.popup.setPosition(n.x+3,n.y-5),this.popup.show())),!1===this.options.keyboard.bindToWindow&&!0===this.options.keyboard.enabled&&this.canvas.frame.focus(),!1===r&&(void 0!==this.popupTimer&&(clearInterval(this.popupTimer),this.popupTimer=void 0),this.drag.dragging||(this.popupTimer=Er((function(){return e._checkShowPopup(n)}),this.options.tooltipDelay))),!0===this.options.hover&&this.selectionHandler.hoverObject(t,n)}},{key:"_checkShowPopup",value:function(t){var e=this.canvas._XconvertDOMtoCanvas(t.x),n=this.canvas._YconvertDOMtoCanvas(t.y),r={left:e,top:n,right:e,bottom:n},i=void 0===this.popupObj?void 0:this.popupObj.id,o=!1,a="node";if(void 0===this.popupObj){for(var s,c=this.body.nodeIndices,l=this.body.nodes,u=[],g=0;g<c.length;g++)!0===(s=l[c[g]]).isOverlappingWith(r)&&(o=!0,void 0!==s.getTitle()&&u.push(c[g]));u.length>0&&(this.popupObj=l[u[u.length-1]],o=!0)}if(void 0===this.popupObj&&!1===o){for(var f,d=this.body.edgeIndices,h=this.body.edges,p=[],A=0;A<d.length;A++)!0===(f=h[d[A]]).isOverlappingWith(r)&&!0===f.connected&&void 0!==f.getTitle()&&p.push(d[A]);p.length>0&&(this.popupObj=h[p[p.length-1]],a="edge")}void 0!==this.popupObj?this.popupObj.id!==i&&(void 0===this.popup&&(this.popup=new $c(this.canvas.frame)),this.popup.popupTargetType=a,this.popup.popupTargetId=this.popupObj.id,this.popup.setPosition(t.x+3,t.y-5),this.popup.setText(this.popupObj.getTitle()),this.popup.show(),this.body.emitter.emit("showPopup",this.popupObj.id)):void 0!==this.popup&&(this.popup.hide(),this.body.emitter.emit("hidePopup"))}},{key:"_checkHidePopup",value:function(t){var e=this.selectionHandler._pointerToPositionObject(t),n=!1;if("node"===this.popup.popupTargetType){if(void 0!==this.body.nodes[this.popup.popupTargetId]&&!0===(n=this.body.nodes[this.popup.popupTargetId].isOverlappingWith(e))){var r=this.selectionHandler.getNodeAt(t);n=void 0!==r&&r.id===this.popup.popupTargetId}}else void 0===this.selectionHandler.getNodeAt(t)&&void 0!==this.body.edges[this.popup.popupTargetId]&&(n=this.body.edges[this.popup.popupTargetId].isOverlappingWith(e));!1===n&&(this.popupObj=void 0,this.popup.hide(),this.body.emitter.emit("hidePopup"))}}]),t}(),Jd=Bl.getWeakData,$d=Ge.set,th=Ge.getterFor,eh=Xe.find,nh=Xe.findIndex,rh=0,ih=function(t){return t.frozen||(t.frozen=new oh)},oh=function(){this.entries=[]},ah=function(t,e){return eh(t.entries,(function(t){return t[0]===e}))};oh.prototype={get:function(t){var e=ah(this,t);if(e)return e[1]},has:function(t){return!!ah(this,t)},set:function(t,e){var n=ah(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=nh(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}};var sh={getConstructor:function(t,e,n,r){var i=t((function(t,o){Gl(t,i,e),$d(t,{type:e,id:rh++,frozen:void 0}),void 0!=o&&Vl(o,t[r],{that:t,AS_ENTRIES:n})})),o=th(e),a=function(t,e,n){var r=o(t),i=Jd(B(e),!0);return!0===i?ih(r).set(e,n):i[r.id]=n,t};return Zl(i.prototype,{delete:function(t){var e=o(this);if(!I(t))return!1;var n=Jd(t);return!0===n?ih(e).delete(t):n&&b(n,e.id)&&delete n[e.id]},has:function(t){var e=o(this);if(!I(t))return!1;var n=Jd(t);return!0===n?ih(e).has(t):n&&b(n,e.id)}}),Zl(i.prototype,n?{get:function(t){var e=o(this);if(I(t)){var n=Jd(t);return!0===n?ih(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),i}};i((function(t){var e,n=Ge.enforce,r=!a.ActiveXObject&&"ActiveXObject"in a,i=Object.isExtensible,o=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},s=t.exports=Xl("WeakMap",o,sh);if(De&&r){e=sh.getConstructor(o,"WeakMap",!0),Bl.REQUIRED=!0;var c=s.prototype,l=c.delete,u=c.has,g=c.get,f=c.set;Zl(c,{delete:function(t){if(I(t)&&!i(t)){var r=n(this);return r.frozen||(r.frozen=new e),l.call(this,t)||r.frozen.delete(t)}return l.call(this,t)},has:function(t){if(I(t)&&!i(t)){var r=n(this);return r.frozen||(r.frozen=new e),u.call(this,t)||r.frozen.has(t)}return u.call(this,t)},get:function(t){if(I(t)&&!i(t)){var r=n(this);return r.frozen||(r.frozen=new e),u.call(this,t)?g.call(this,t):r.frozen.get(t)}return g.call(this,t)},set:function(t,r){if(I(t)&&!i(t)){var o=n(this);o.frozen||(o.frozen=new e),u.call(this,t)?f.call(this,t,r):o.frozen.set(t,r)}else f.call(this,t,r);return this}})}}));var ch,lh,uh,gh,fh,dh=N.WeakMap;function hh(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function ph(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}function Ah(t,e){var n;if("undefined"===typeof da||null==ur(t)){if(ta(t)||(n=function(t,e){var n;if(!t)return;if("string"===typeof t)return Ch(t,e);var r=oa(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return br(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ch(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=lr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Ch(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function vh(t,e){var n,r=new Uu,i=Ah(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;t.has(o)||r.add(o)}}catch(a){i.e(a)}finally{i.f()}return r}var Ih=function(){function t(){Fr(this,t),ch.set(this,new Uu),lh.set(this,new Uu)}return Vr(t,[{key:"size",get:function(){return hh(this,lh).size}},{key:"add",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=0,i=e;r<i.length;r++){var o=i[r];hh(this,lh).add(o)}}},{key:"delete",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=0,i=e;r<i.length;r++){var o=i[r];hh(this,lh).delete(o)}}},{key:"clear",value:function(){hh(this,lh).clear()}},{key:"getSelection",value:function(){return la(hh(this,lh))}},{key:"getChanges",value:function(){return{added:la(vh(hh(this,ch),hh(this,lh))),deleted:la(vh(hh(this,lh),hh(this,ch))),previous:la(new Uu(hh(this,ch))),current:la(new Uu(hh(this,lh)))}}},{key:"commit",value:function(){var t=this.getChanges();ph(this,ch,hh(this,lh)),ph(this,lh,new Uu(hh(this,ch)));var e,n=Ah(t.added);try{for(n.s();!(e=n.n()).done;){e.value.select()}}catch(o){n.e(o)}finally{n.f()}var r,i=Ah(t.deleted);try{for(i.s();!(r=i.n()).done;){r.value.unselect()}}catch(o){i.e(o)}finally{i.f()}return t}}]),t}();ch=new dh,lh=new dh;var yh=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};Fr(this,t),uh.set(this,new Ih),gh.set(this,new Ih),fh.set(this,void 0),ph(this,fh,e)}return Vr(t,[{key:"sizeNodes",get:function(){return hh(this,uh).size}},{key:"sizeEdges",get:function(){return hh(this,gh).size}},{key:"getNodes",value:function(){return hh(this,uh).getSelection()}},{key:"getEdges",value:function(){return hh(this,gh).getSelection()}},{key:"addNodes",value:function(){var t;(t=hh(this,uh)).add.apply(t,arguments)}},{key:"addEdges",value:function(){var t;(t=hh(this,gh)).add.apply(t,arguments)}},{key:"deleteNodes",value:function(t){hh(this,uh).delete(t)}},{key:"deleteEdges",value:function(t){hh(this,gh).delete(t)}},{key:"clear",value:function(){hh(this,uh).clear(),hh(this,gh).clear()}},{key:"commit",value:function(){for(var t,e,n={nodes:hh(this,uh).commit(),edges:hh(this,gh).commit()},r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(t=hh(this,fh)).call.apply(t,fa(e=[this,n]).call(e,i)),n}}]),t}();function mh(t,e){var n;if("undefined"===typeof da||null==ur(t)){if(ta(t)||(n=function(t,e){var n;if(!t)return;if("string"===typeof t)return bh(t,e);var r=oa(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return br(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bh(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=lr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function bh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}uh=new dh,gh=new dh,fh=new dh;var xh=function(){function t(e,n){var r=this;Fr(this,t),this.body=e,this.canvas=n,this._selectionAccumulator=new yh,this.hoverObj={nodes:{},edges:{}},this.options={},this.defaultOptions={multiselect:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0},yt(this.options,this.defaultOptions),this.body.emitter.on("_dataChanged",(function(){r.updateSelection()}))}return Vr(t,[{key:"setOptions",value:function(t){if(void 0!==t){xc(["multiselect","hoverConnectedEdges","selectable","selectConnectedEdges"],this.options,t)}}},{key:"selectOnPoint",value:function(t){var e=!1;if(!0===this.options.selectable){var n=this.getNodeAt(t)||this.getEdgeAt(t);this.unselectAll(),void 0!==n&&(e=this.selectObject(n)),this.body.emitter.emit("_requestRedraw")}return e}},{key:"selectAdditionalOnPoint",value:function(t){var e=!1;if(!0===this.options.selectable){var n=this.getNodeAt(t)||this.getEdgeAt(t);void 0!==n&&(e=!0,!0===n.isSelected()?this.deselectObject(n):this.selectObject(n),this.body.emitter.emit("_requestRedraw"))}return e}},{key:"_initBaseEvent",value:function(t,e){var n={};return n.pointer={DOM:{x:e.x,y:e.y},canvas:this.canvas.DOMtoCanvas(e)},n.event=t,n}},{key:"generateClickEvent",value:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this._initBaseEvent(e,n);if(!0===i)o.nodes=[],o.edges=[];else{var a=this.getSelection();o.nodes=a.nodes,o.edges=a.edges}void 0!==r&&(o.previousSelection=r),"click"==t&&(o.items=this.getClickedItems(n)),void 0!==e.controlEdge&&(o.controlEdge=e.controlEdge),this.body.emitter.emit(t,o)}},{key:"selectObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.selectConnectedEdges;if(void 0!==t){if(t instanceof Pf){var n;if(!0===e)(n=this._selectionAccumulator).addEdges.apply(n,la(t.edges));this._selectionAccumulator.addNodes(t)}else this._selectionAccumulator.addEdges(t);return!0}return!1}},{key:"deselectObject",value:function(t){!0===t.isSelected()&&(t.selected=!1,this._removeFromSelection(t))}},{key:"_getAllNodesOverlappingWith",value:function(t){for(var e=[],n=this.body.nodes,r=0;r<this.body.nodeIndices.length;r++){var i=this.body.nodeIndices[r];n[i].isOverlappingWith(t)&&e.push(i)}return e}},{key:"_pointerToPositionObject",value:function(t){var e=this.canvas.DOMtoCanvas(t);return{left:e.x-1,top:e.y+1,right:e.x+1,bottom:e.y-1}}},{key:"getNodeAt",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this._pointerToPositionObject(t),r=this._getAllNodesOverlappingWith(n);return r.length>0?!0===e?this.body.nodes[r[r.length-1]]:r[r.length-1]:void 0}},{key:"_getEdgesOverlappingWith",value:function(t,e){for(var n=this.body.edges,r=0;r<this.body.edgeIndices.length;r++){var i=this.body.edgeIndices[r];n[i].isOverlappingWith(t)&&e.push(i)}}},{key:"_getAllEdgesOverlappingWith",value:function(t){var e=[];return this._getEdgesOverlappingWith(t,e),e}},{key:"getEdgeAt",value:function(t){for(var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.canvas.DOMtoCanvas(t),r=10,i=null,o=this.body.edges,a=0;a<this.body.edgeIndices.length;a++){var s=this.body.edgeIndices[a],c=o[s];if(c.connected){var l=c.from.x,u=c.from.y,g=c.to.x,f=c.to.y,d=c.edgeType.getDistanceToEdge(l,u,g,f,n.x,n.y);d<r&&(i=s,r=d)}}return null!==i?!0===e?this.body.edges[i]:i:void 0}},{key:"_addToHover",value:function(t){t instanceof Pf?this.hoverObj.nodes[t.id]=t:this.hoverObj.edges[t.id]=t}},{key:"_removeFromSelection",value:function(t){var e;t instanceof Pf?(this._selectionAccumulator.deleteNodes(t),(e=this._selectionAccumulator).deleteEdges.apply(e,la(t.edges))):this._selectionAccumulator.deleteEdges(t)}},{key:"unselectAll",value:function(){this._selectionAccumulator.clear()}},{key:"getSelectedNodeCount",value:function(){return this._selectionAccumulator.sizeNodes}},{key:"getSelectedEdgeCount",value:function(){return this._selectionAccumulator.sizeEdges}},{key:"_hoverConnectedEdges",value:function(t){for(var e=0;e<t.edges.length;e++){var n=t.edges[e];n.hover=!0,this._addToHover(n)}}},{key:"emitBlurEvent",value:function(t,e,n){var r=this._initBaseEvent(t,e);!0===n.hover&&(n.hover=!1,n instanceof Pf?(r.node=n.id,this.body.emitter.emit("blurNode",r)):(r.edge=n.id,this.body.emitter.emit("blurEdge",r)))}},{key:"emitHoverEvent",value:function(t,e,n){var r=this._initBaseEvent(t,e),i=!1;return!1===n.hover&&(n.hover=!0,this._addToHover(n),i=!0,n instanceof Pf?(r.node=n.id,this.body.emitter.emit("hoverNode",r)):(r.edge=n.id,this.body.emitter.emit("hoverEdge",r))),i}},{key:"hoverObject",value:function(t,e){var n=this.getNodeAt(e);void 0===n&&(n=this.getEdgeAt(e));var r=!1;for(var i in this.hoverObj.nodes)Object.prototype.hasOwnProperty.call(this.hoverObj.nodes,i)&&(void 0===n||n instanceof Pf&&n.id!=i||n instanceof md)&&(this.emitBlurEvent(t,e,this.hoverObj.nodes[i]),delete this.hoverObj.nodes[i],r=!0);for(var o in this.hoverObj.edges)Object.prototype.hasOwnProperty.call(this.hoverObj.edges,o)&&(!0===r?(this.hoverObj.edges[o].hover=!1,delete this.hoverObj.edges[o]):(void 0===n||n instanceof md&&n.id!=o||n instanceof Pf&&!n.hover)&&(this.emitBlurEvent(t,e,this.hoverObj.edges[o]),delete this.hoverObj.edges[o],r=!0));if(void 0!==n){var a=Xo(this.hoverObj.edges).length,s=Xo(this.hoverObj.nodes).length;(r||n instanceof md&&0===a&&0===s||n instanceof Pf&&0===a&&0===s)&&(r=this.emitHoverEvent(t,e,n)),n instanceof Pf&&!0===this.options.hoverConnectedEdges&&this._hoverConnectedEdges(n)}!0===r&&this.body.emitter.emit("_requestRedraw")}},{key:"commitWithoutEmitting",value:function(){this._selectionAccumulator.commit()}},{key:"commitAndEmit",value:function(t,e){var n=!1,r=this._selectionAccumulator.commit(),i={nodes:r.nodes.previous,edges:r.edges.previous};r.edges.deleted.length>0&&(this.generateClickEvent("deselectEdge",e,t,i),n=!0),r.nodes.deleted.length>0&&(this.generateClickEvent("deselectNode",e,t,i),n=!0),r.nodes.added.length>0&&(this.generateClickEvent("selectNode",e,t),n=!0),r.edges.added.length>0&&(this.generateClickEvent("selectEdge",e,t),n=!0),!0===n&&this.generateClickEvent("select",e,t)}},{key:"getSelection",value:function(){return{nodes:this.getSelectedNodeIds(),edges:this.getSelectedEdgeIds()}}},{key:"getSelectedNodes",value:function(){return this._selectionAccumulator.getNodes()}},{key:"getSelectedEdges",value:function(){return this._selectionAccumulator.getEdges()}},{key:"getSelectedNodeIds",value:function(){var t;return $o(t=this._selectionAccumulator.getNodes()).call(t,(function(t){return t.id}))}},{key:"getSelectedEdgeIds",value:function(){var t;return $o(t=this._selectionAccumulator.getEdges()).call(t,(function(t){return t.id}))}},{key:"setSelection",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t||!t.nodes&&!t.edges)throw new TypeError("Selection must be an object with nodes and/or edges properties");if((e.unselectAll||void 0===e.unselectAll)&&this.unselectAll(),t.nodes){var n,r=mh(t.nodes);try{for(r.s();!(n=r.n()).done;){var i=n.value,o=this.body.nodes[i];if(!o)throw new RangeError('Node with id "'+i+'" not found');this.selectObject(o,e.highlightEdges)}}catch(u){r.e(u)}finally{r.f()}}if(t.edges){var a,s=mh(t.edges);try{for(s.s();!(a=s.n()).done;){var c=a.value,l=this.body.edges[c];if(!l)throw new RangeError('Edge with id "'+c+'" not found');this.selectObject(l)}}catch(u){s.e(u)}finally{s.f()}}this.body.emitter.emit("_requestRedraw"),this._selectionAccumulator.commit()}},{key:"selectNodes",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!t||void 0===t.length)throw"Selection must be an array with ids";this.setSelection({nodes:t},{highlightEdges:e})}},{key:"selectEdges",value:function(t){if(!t||void 0===t.length)throw"Selection must be an array with ids";this.setSelection({edges:t})}},{key:"updateSelection",value:function(){for(var t in this._selectionAccumulator.getNodes())Object.prototype.hasOwnProperty.call(this.body.nodes,t.id)||this._selectionAccumulator.deleteNodes(t);for(var e in this._selectionAccumulator.getEdges())Object.prototype.hasOwnProperty.call(this.body.edges,e.id)||this._selectionAccumulator.deleteEdges(e)}},{key:"getClickedItems",value:function(t){for(var e=this.canvas.DOMtoCanvas(t),n=[],r=this.body.nodeIndices,i=this.body.nodes,o=r.length-1;o>=0;o--){var a=i[r[o]].getItemsOnPoint(e);n.push.apply(n,a)}for(var s=this.body.edgeIndices,c=this.body.edges,l=s.length-1;l>=0;l--){var u=c[s[l]].getItemsOnPoint(e);n.push.apply(n,u)}return n}}]),t}(),wh=i((function(t,e){!function(t){function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0,t.sort=p;var n=32,r=7,i=256,o=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9];function a(t){return t<1e5?t<100?t<10?0:1:t<1e4?t<1e3?2:3:4:t<1e7?t<1e6?5:6:t<1e9?t<1e8?7:8:9}function s(t,e){if(t===e)return 0;if(~~t===t&&~~e===e){if(0===t||0===e)return t<e?-1:1;if(t<0||e<0){if(e>=0)return-1;if(t>=0)return 1;t=-t,e=-e}var n=a(t),r=a(e),i=0;return n<r?(t*=o[r-n-1],e/=10,i=-1):n>r&&(e*=o[n-r-1],t/=10,i=1),t===e?i:t<e?-1:1}var s=String(t),c=String(e);return s===c?0:s<c?-1:1}function c(t){for(var e=0;t>=n;)e|=1&t,t>>=1;return t+e}function l(t,e,n,r){var i=e+1;if(i===n)return 1;if(r(t[i++],t[e])<0){for(;i<n&&r(t[i],t[i-1])<0;)i++;u(t,e,i)}else for(;i<n&&r(t[i],t[i-1])>=0;)i++;return i-e}function u(t,e,n){for(n--;e<n;){var r=t[e];t[e++]=t[n],t[n--]=r}}function g(t,e,n,r,i){for(r===e&&r++;r<n;r++){for(var o=t[r],a=e,s=r;a<s;){var c=a+s>>>1;i(o,t[c])<0?s=c:a=c+1}var l=r-a;switch(l){case 3:t[a+3]=t[a+2];case 2:t[a+2]=t[a+1];case 1:t[a+1]=t[a];break;default:for(;l>0;)t[a+l]=t[a+l-1],l--}t[a]=o}}function f(t,e,n,r,i,o){var a=0,s=0,c=1;if(o(t,e[n+i])>0){for(s=r-i;c<s&&o(t,e[n+i+c])>0;)a=c,(c=1+(c<<1))<=0&&(c=s);c>s&&(c=s),a+=i,c+=i}else{for(s=i+1;c<s&&o(t,e[n+i-c])<=0;)a=c,(c=1+(c<<1))<=0&&(c=s);c>s&&(c=s);var l=a;a=i-c,c=i-l}for(a++;a<c;){var u=a+(c-a>>>1);o(t,e[n+u])>0?a=u+1:c=u}return c}function d(t,e,n,r,i,o){var a=0,s=0,c=1;if(o(t,e[n+i])<0){for(s=i+1;c<s&&o(t,e[n+i-c])<0;)a=c,(c=1+(c<<1))<=0&&(c=s);c>s&&(c=s);var l=a;a=i-c,c=i-l}else{for(s=r-i;c<s&&o(t,e[n+i+c])>=0;)a=c,(c=1+(c<<1))<=0&&(c=s);c>s&&(c=s),a+=i,c+=i}for(a++;a<c;){var u=a+(c-a>>>1);o(t,e[n+u])<0?c=u:a=u+1}return c}var h=function(){function t(n,o){e(this,t),this.array=null,this.compare=null,this.minGallop=r,this.length=0,this.tmpStorageLength=i,this.stackLength=0,this.runStart=null,this.runLength=null,this.stackSize=0,this.array=n,this.compare=o,this.length=n.length,this.length<2*i&&(this.tmpStorageLength=this.length>>>1),this.tmp=new Array(this.tmpStorageLength),this.stackLength=this.length<120?5:this.length<1542?10:this.length<119151?19:40,this.runStart=new Array(this.stackLength),this.runLength=new Array(this.stackLength)}return t.prototype.pushRun=function(t,e){this.runStart[this.stackSize]=t,this.runLength[this.stackSize]=e,this.stackSize+=1},t.prototype.mergeRuns=function(){for(;this.stackSize>1;){var t=this.stackSize-2;if(t>=1&&this.runLength[t-1]<=this.runLength[t]+this.runLength[t+1]||t>=2&&this.runLength[t-2]<=this.runLength[t]+this.runLength[t-1])this.runLength[t-1]<this.runLength[t+1]&&t--;else if(this.runLength[t]>this.runLength[t+1])break;this.mergeAt(t)}},t.prototype.forceMergeRuns=function(){for(;this.stackSize>1;){var t=this.stackSize-2;t>0&&this.runLength[t-1]<this.runLength[t+1]&&t--,this.mergeAt(t)}},t.prototype.mergeAt=function(t){var e=this.compare,n=this.array,r=this.runStart[t],i=this.runLength[t],o=this.runStart[t+1],a=this.runLength[t+1];this.runLength[t]=i+a,t===this.stackSize-3&&(this.runStart[t+1]=this.runStart[t+2],this.runLength[t+1]=this.runLength[t+2]),this.stackSize--;var s=d(n[o],n,r,i,0,e);r+=s,0!==(i-=s)&&0!==(a=f(n[r+i-1],n,o,a,a-1,e))&&(i<=a?this.mergeLow(r,i,o,a):this.mergeHigh(r,i,o,a))},t.prototype.mergeLow=function(t,e,n,i){var o=this.compare,a=this.array,s=this.tmp,c=0;for(c=0;c<e;c++)s[c]=a[t+c];var l=0,u=n,g=t;if(a[g++]=a[u++],0!==--i)if(1!==e){for(var h=this.minGallop;;){var p=0,A=0,C=!1;do{if(o(a[u],s[l])<0){if(a[g++]=a[u++],A++,p=0,0===--i){C=!0;break}}else if(a[g++]=s[l++],p++,A=0,1===--e){C=!0;break}}while((p|A)<h);if(C)break;do{if(0!==(p=d(a[u],s,l,e,0,o))){for(c=0;c<p;c++)a[g+c]=s[l+c];if(g+=p,l+=p,(e-=p)<=1){C=!0;break}}if(a[g++]=a[u++],0===--i){C=!0;break}if(0!==(A=f(s[l],a,u,i,0,o))){for(c=0;c<A;c++)a[g+c]=a[u+c];if(g+=A,u+=A,0===(i-=A)){C=!0;break}}if(a[g++]=s[l++],1===--e){C=!0;break}h--}while(p>=r||A>=r);if(C)break;h<0&&(h=0),h+=2}if(this.minGallop=h,h<1&&(this.minGallop=1),1===e){for(c=0;c<i;c++)a[g+c]=a[u+c];a[g+i]=s[l]}else{if(0===e)throw new Error("mergeLow preconditions were not respected");for(c=0;c<e;c++)a[g+c]=s[l+c]}}else{for(c=0;c<i;c++)a[g+c]=a[u+c];a[g+i]=s[l]}else for(c=0;c<e;c++)a[g+c]=s[l+c]},t.prototype.mergeHigh=function(t,e,n,i){var o=this.compare,a=this.array,s=this.tmp,c=0;for(c=0;c<i;c++)s[c]=a[n+c];var l=t+e-1,u=i-1,g=n+i-1,h=0,p=0;if(a[g--]=a[l--],0!==--e)if(1!==i){for(var A=this.minGallop;;){var C=0,v=0,I=!1;do{if(o(s[u],a[l])<0){if(a[g--]=a[l--],C++,v=0,0===--e){I=!0;break}}else if(a[g--]=s[u--],v++,C=0,1===--i){I=!0;break}}while((C|v)<A);if(I)break;do{if(0!==(C=e-d(s[u],a,t,e,e-1,o))){for(e-=C,p=1+(g-=C),h=1+(l-=C),c=C-1;c>=0;c--)a[p+c]=a[h+c];if(0===e){I=!0;break}}if(a[g--]=s[u--],1===--i){I=!0;break}if(0!==(v=i-f(a[l],s,0,i,i-1,o))){for(i-=v,p=1+(g-=v),h=1+(u-=v),c=0;c<v;c++)a[p+c]=s[h+c];if(i<=1){I=!0;break}}if(a[g--]=a[l--],0===--e){I=!0;break}A--}while(C>=r||v>=r);if(I)break;A<0&&(A=0),A+=2}if(this.minGallop=A,A<1&&(this.minGallop=1),1===i){for(p=1+(g-=e),h=1+(l-=e),c=e-1;c>=0;c--)a[p+c]=a[h+c];a[g]=s[u]}else{if(0===i)throw new Error("mergeHigh preconditions were not respected");for(h=g-(i-1),c=0;c<i;c++)a[h+c]=s[c]}}else{for(p=1+(g-=e),h=1+(l-=e),c=e-1;c>=0;c--)a[p+c]=a[h+c];a[g]=s[u]}else for(h=g-(i-1),c=0;c<i;c++)a[h+c]=s[c]},t}();function p(t,e,r,i){if(!Array.isArray(t))throw new TypeError("Can only sort arrays");e?"function"!==typeof e&&(i=r,r=e,e=s):e=s,r||(r=0),i||(i=t.length);var o=i-r;if(!(o<2)){var a=0;if(o<n)g(t,r,i,r+(a=l(t,r,i,e)),e);else{var u=new h(t,e),f=c(o);do{if((a=l(t,r,i,e))<f){var d=o;d>f&&(d=f),g(t,r,r+d,r+a,e),a=d}u.pushRun(r,a),u.mergeRuns(),o-=a,r+=a}while(0!==o);u.forceMergeRuns()}}}}(e)}));function Oh(t){var e=function(){if("undefined"===typeof Reflect||!Cu)return!1;if(Cu.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Cu(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lu(t);if(e){var i=Lu(this).constructor;n=Cu(r,arguments,i)}else n=r.apply(this,arguments);return Du(this,n)}}var Sh=function(){function t(){Fr(this,t)}return Vr(t,[{key:"abstract",value:function(){throw new Error("Can't instantiate abstract class!")}},{key:"fake_use",value:function(){}},{key:"curveType",value:function(){return this.abstract()}},{key:"getPosition",value:function(t){return this.fake_use(t),this.abstract()}},{key:"setPosition",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;this.fake_use(t,e,n),this.abstract()}},{key:"getTreeSize",value:function(t){return this.fake_use(t),this.abstract()}},{key:"sort",value:function(t){this.fake_use(t),this.abstract()}},{key:"fix",value:function(t,e){this.fake_use(t,e),this.abstract()}},{key:"shift",value:function(t,e){this.fake_use(t,e),this.abstract()}}]),t}(),_h=function(t){Ru(n,t);var e=Oh(n);function n(t){var r;return Fr(this,n),(r=e.call(this)).layout=t,r}return Vr(n,[{key:"curveType",value:function(){return"horizontal"}},{key:"getPosition",value:function(t){return t.x}},{key:"setPosition",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;void 0!==n&&this.layout.hierarchical.addToOrdering(t,n),t.x=e}},{key:"getTreeSize",value:function(t){var e=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,t);return{min:e.min_x,max:e.max_x}}},{key:"sort",value:function(t){wh.sort(t,(function(t,e){return t.x-e.x}))}},{key:"fix",value:function(t,e){t.y=this.layout.options.hierarchical.levelSeparation*e,t.options.fixed.y=!0}},{key:"shift",value:function(t,e){this.layout.body.nodes[t].x+=e}}]),n}(Sh),kh=function(t){Ru(n,t);var e=Oh(n);function n(t){var r;return Fr(this,n),(r=e.call(this)).layout=t,r}return Vr(n,[{key:"curveType",value:function(){return"vertical"}},{key:"getPosition",value:function(t){return t.y}},{key:"setPosition",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;void 0!==n&&this.layout.hierarchical.addToOrdering(t,n),t.y=e}},{key:"getTreeSize",value:function(t){var e=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,t);return{min:e.min_y,max:e.max_y}}},{key:"sort",value:function(t){wh.sort(t,(function(t,e){return t.y-e.y}))}},{key:"fix",value:function(t,e){t.x=this.layout.options.hierarchical.levelSeparation*e,t.options.fixed.x=!0}},{key:"shift",value:function(t,e){this.layout.body.nodes[t].y+=e}}]),n}(Sh),jh=Xe.every,Eh=ti("every"),Ph=ii("every");H({target:"Array",proto:!0,forced:!Eh||!Ph},{every:function(t){return jh(this,t,arguments.length>1?arguments[1]:void 0)}});var Mh=K("Array").every,Th=Array.prototype,Rh=function(t){var e=t.every;return t===Th||t instanceof Array&&e===Th.every?Mh:e};function Dh(t,e){var n;if("undefined"===typeof da||null==ur(t)){if(ta(t)||(n=function(t,e){var n;if(!t)return;if("string"===typeof t)return Nh(t,e);var r=oa(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return br(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nh(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=lr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Nh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Lh(t,e){var n=new Uu;return Ao(t).call(t,(function(t){var e;Ao(e=t.edges).call(e,(function(t){t.connected&&n.add(t)}))})),Ao(n).call(n,(function(t){var n=t.from.id,r=t.to.id;null==e[n]&&(e[n]=0),(null==e[r]||e[n]>=e[r])&&(e[r]=e[n]+1)})),e}function Fh(t,e,n,r){var i,o,a=Yr(null),s=og(i=la(Su(r).call(r))).call(i,(function(t,e){return t+1+e.edges.length}),0),c=n+"Id",l="to"===n?1:-1,u=Dh(r);try{var g=function(){var i=Yo(o.value,2),u=i[0],g=i[1];if(!r.has(u)||!t(g))return"continue";a[u]=0;for(var f=[g],d=0,h=void 0,p=function(){var t,i;if(!r.has(u))return"continue";var o=a[h.id]+l;if(Ao(t=Ri(i=h.edges).call(i,(function(t){return t.connected&&t.to!==t.from&&t[n]!==h&&r.has(t.toId)&&r.has(t.fromId)}))).call(t,(function(t){var r=t[c],i=a[r];(null==i||e(o,i))&&(a[r]=o,f.push(t[n]))})),d>s)return{v:{v:Lh(r,a)}};++d};h=f.pop();){var A=p();if("continue"!==A&&"object"===ra(A))return A.v}};for(u.s();!(o=u.n()).done;){var f=g();if("continue"!==f&&"object"===ra(f))return f.v}}catch(d){u.e(d)}finally{u.f()}return a}var Bh=function(){function t(){Fr(this,t),this.childrenReference={},this.parentReference={},this.trees={},this.distributionOrdering={},this.levels={},this.distributionIndex={},this.isTree=!1,this.treeIndex=-1}return Vr(t,[{key:"addRelation",value:function(t,e){void 0===this.childrenReference[t]&&(this.childrenReference[t]=[]),this.childrenReference[t].push(e),void 0===this.parentReference[e]&&(this.parentReference[e]=[]),this.parentReference[e].push(t)}},{key:"checkIfTree",value:function(){for(var t in this.parentReference)if(this.parentReference[t].length>1)return void(this.isTree=!1);this.isTree=!0}},{key:"numTrees",value:function(){return this.treeIndex+1}},{key:"setTreeIndex",value:function(t,e){void 0!==e&&void 0===this.trees[t.id]&&(this.trees[t.id]=e,this.treeIndex=Math.max(e,this.treeIndex))}},{key:"ensureLevel",value:function(t){void 0===this.levels[t]&&(this.levels[t]=0)}},{key:"getMaxLevel",value:function(t){var e=this,n={};return function t(r){if(void 0!==n[r])return n[r];var i=e.levels[r];if(e.childrenReference[r]){var o=e.childrenReference[r];if(o.length>0)for(var a=0;a<o.length;a++)i=Math.max(i,t(o[a]))}return n[r]=i,i}(t)}},{key:"levelDownstream",value:function(t,e){void 0===this.levels[e.id]&&(void 0===this.levels[t.id]&&(this.levels[t.id]=0),this.levels[e.id]=this.levels[t.id]+1)}},{key:"setMinLevelToZero",value:function(t){var e=1e9;for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&void 0!==this.levels[n]&&(e=Math.min(this.levels[n],e));for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&void 0!==this.levels[r]&&(this.levels[r]-=e)}},{key:"getTreeSize",value:function(t,e){var n=1e9,r=-1e9,i=1e9,o=-1e9;for(var a in this.trees)if(Object.prototype.hasOwnProperty.call(this.trees,a)&&this.trees[a]===e){var s=t[a];n=Math.min(s.x,n),r=Math.max(s.x,r),i=Math.min(s.y,i),o=Math.max(s.y,o)}return{min_x:n,max_x:r,min_y:i,max_y:o}}},{key:"hasSameParent",value:function(t,e){var n=this.parentReference[t.id],r=this.parentReference[e.id];if(void 0===n||void 0===r)return!1;for(var i=0;i<n.length;i++)for(var o=0;o<r.length;o++)if(n[i]==r[o])return!0;return!1}},{key:"inSameSubNetwork",value:function(t,e){return this.trees[t.id]===this.trees[e.id]}},{key:"getLevels",value:function(){return Xo(this.distributionOrdering)}},{key:"addToOrdering",value:function(t,e){void 0===this.distributionOrdering[e]&&(this.distributionOrdering[e]=[]);var n=!1,r=this.distributionOrdering[e];for(var i in r)if(r[i]===t){n=!0;break}n||(this.distributionOrdering[e].push(t),this.distributionIndex[t.id]=this.distributionOrdering[e].length-1)}}]),t}(),zh=function(){function t(e){Fr(this,t),this.body=e,this._resetRNG(Math.random()+":"+Ho()),this.setPhysics=!1,this.options={},this.optionsBackup={physics:{}},this.defaultOptions={randomSeed:void 0,improvedLayout:!0,clusterThreshold:150,hierarchical:{enabled:!1,levelSeparation:150,nodeSpacing:100,treeSpacing:200,blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:"UD",sortMethod:"hubsize"}},yt(this.options,this.defaultOptions),this.bindEventListeners()}return Vr(t,[{key:"bindEventListeners",value:function(){var t=this;this.body.emitter.on("_dataChanged",(function(){t.setupHierarchicalLayout()})),this.body.emitter.on("_dataLoaded",(function(){t.layoutNetwork()})),this.body.emitter.on("_resetHierarchicalLayout",(function(){t.setupHierarchicalLayout()})),this.body.emitter.on("_adjustEdgesForHierarchicalLayout",(function(){if(!0===t.options.hierarchical.enabled){var e=t.direction.curveType();t.body.emitter.emit("_forceDisableDynamicCurves",e,!1)}}))}},{key:"setOptions",value:function(t,e){if(void 0!==t){var n=this.options.hierarchical,r=n.enabled;if(xc(["randomSeed","improvedLayout","clusterThreshold"],this.options,t),Vc(this.options,t,"hierarchical"),void 0!==t.randomSeed&&this._resetRNG(t.randomSeed),!0===n.enabled)return!0===r&&this.body.emitter.emit("refresh",!0),"RL"===n.direction||"DU"===n.direction?n.levelSeparation>0&&(n.levelSeparation*=-1):n.levelSeparation<0&&(n.levelSeparation*=-1),this.setDirectionStrategy(),this.body.emitter.emit("_resetHierarchicalLayout"),this.adaptAllOptionsForHierarchicalLayout(e);if(!0===r)return this.body.emitter.emit("refresh"),Oc(e,this.optionsBackup)}return e}},{key:"_resetRNG",value:function(t){this.initialRandomSeed=t,this._rng=lc(this.initialRandomSeed)}},{key:"adaptAllOptionsForHierarchicalLayout",value:function(t){if(!0===this.options.hierarchical.enabled){var e=this.optionsBackup.physics;void 0===t.physics||!0===t.physics?(t.physics={enabled:void 0===e.enabled||e.enabled,solver:"hierarchicalRepulsion"},e.enabled=void 0===e.enabled||e.enabled,e.solver=e.solver||"barnesHut"):"object"===ra(t.physics)?(e.enabled=void 0===t.physics.enabled||t.physics.enabled,e.solver=t.physics.solver||"barnesHut",t.physics.solver="hierarchicalRepulsion"):!1!==t.physics&&(e.solver="barnesHut",t.physics={solver:"hierarchicalRepulsion"});var n=this.direction.curveType();if(void 0===t.edges)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},t.edges={smooth:!1};else if(void 0===t.edges.smooth)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},t.edges.smooth=!1;else if("boolean"===typeof t.edges.smooth)this.optionsBackup.edges={smooth:t.edges.smooth},t.edges.smooth={enabled:t.edges.smooth,type:n};else{var r=t.edges.smooth;void 0!==r.type&&"dynamic"!==r.type&&(n=r.type),this.optionsBackup.edges={smooth:{enabled:void 0===r.enabled||r.enabled,type:void 0===r.type?"dynamic":r.type,roundness:void 0===r.roundness?.5:r.roundness,forceDirection:void 0!==r.forceDirection&&r.forceDirection}},t.edges.smooth={enabled:void 0===r.enabled||r.enabled,type:n,roundness:void 0===r.roundness?.5:r.roundness,forceDirection:void 0!==r.forceDirection&&r.forceDirection}}this.body.emitter.emit("_forceDisableDynamicCurves",n)}return t}},{key:"positionInitially",value:function(t){if(!0!==this.options.hierarchical.enabled){this._resetRNG(this.initialRandomSeed);for(var e=t.length+50,n=0;n<t.length;n++){var r=t[n],i=2*Math.PI*this._rng();void 0===r.x&&(r.x=e*Math.cos(i)),void 0===r.y&&(r.y=e*Math.sin(i))}}}},{key:"layoutNetwork",value:function(){if(!0!==this.options.hierarchical.enabled&&!0===this.options.improvedLayout){for(var t=this.body.nodeIndices,e=0,n=0;n<t.length;n++){!0===this.body.nodes[t[n]].predefinedPosition&&(e+=1)}if(e<.5*t.length){var r=0,i=this.options.clusterThreshold,o={clusterNodeProperties:{shape:"ellipse",label:"",group:"",font:{multi:!1}},clusterEdgeProperties:{label:"",font:{multi:!1},smooth:{enabled:!1}}};if(t.length>i){for(var a=t.length;t.length>i&&r<=10;){r+=1;var s=t.length;if(r%3===0?this.body.modules.clustering.clusterBridges(o):this.body.modules.clustering.clusterOutliers(o),s==t.length&&r%3!==0)return this._declusterAll(),this.body.emitter.emit("_layoutFailed"),void console.info("This network could not be positioned by this version of the improved layout algorithm. Please disable improvedLayout for better performance.")}this.body.modules.kamadaKawai.setOptions({springLength:Math.max(150,2*a)})}r>10&&console.info("The clustering didn't succeed within the amount of interations allowed, progressing with partial result."),this.body.modules.kamadaKawai.solve(t,this.body.edgeIndices,!0),this._shiftToCenter();for(var c=0;c<t.length;c++){var l=this.body.nodes[t[c]];!1===l.predefinedPosition&&(l.x+=70*(.5-this._rng()),l.y+=70*(.5-this._rng()))}this._declusterAll(),this.body.emitter.emit("_repositionBezierNodes")}}}},{key:"_shiftToCenter",value:function(){for(var t=Rd.getRangeCore(this.body.nodes,this.body.nodeIndices),e=Rd.findCenter(t),n=0;n<this.body.nodeIndices.length;n++){var r=this.body.nodes[this.body.nodeIndices[n]];r.x-=e.x,r.y-=e.y}}},{key:"_declusterAll",value:function(){for(var t=!0;!0===t;){t=!1;for(var e=0;e<this.body.nodeIndices.length;e++)!0===this.body.nodes[this.body.nodeIndices[e]].isCluster&&(t=!0,this.body.modules.clustering.openCluster(this.body.nodeIndices[e],{},!1));!0===t&&this.body.emitter.emit("_dataChanged")}}},{key:"getSeed",value:function(){return this.initialRandomSeed}},{key:"setupHierarchicalLayout",value:function(){if(!0===this.options.hierarchical.enabled&&this.body.nodeIndices.length>0){var t,e,n=!1,r=!1;for(e in this.lastNodeOnLevel={},this.hierarchical=new Bh,this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,e)&&(void 0!==(t=this.body.nodes[e]).options.level?(n=!0,this.hierarchical.levels[e]=t.options.level):r=!0);if(!0===r&&!0===n)throw new Error("To use the hierarchical layout, nodes require either no predefined levels or levels have to be defined for all nodes.");if(!0===r){var i=this.options.hierarchical.sortMethod;"hubsize"===i?this._determineLevelsByHubsize():"directed"===i?this._determineLevelsDirected():"custom"===i&&this._determineLevelsCustomCallback()}for(var o in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,o)&&this.hierarchical.ensureLevel(o);var a=this._getDistribution();this._generateMap(),this._placeNodesByHierarchy(a),this._condenseHierarchy(),this._shiftToCenter()}}},{key:"_condenseHierarchy",value:function(){var t=this,e=!1,n={},r=function(e,n){var r=t.hierarchical.trees;for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&r[i]===e&&t.direction.shift(i,n)},i=function(){for(var e=[],n=0;n<t.hierarchical.numTrees();n++)e.push(t.direction.getTreeSize(n));return e},o=function e(n,r){if(!r[n.id]&&(r[n.id]=!0,t.hierarchical.childrenReference[n.id])){var i=t.hierarchical.childrenReference[n.id];if(i.length>0)for(var o=0;o<i.length;o++)e(t.body.nodes[i[o]],r)}},a=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e9,r=1e9,i=1e9,o=1e9,a=-1e9;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var c=t.body.nodes[s],l=t.hierarchical.levels[c.id],u=t.direction.getPosition(c),g=t._getSpaceAroundNode(c,e),f=Yo(g,2),d=f[0],h=f[1];r=Math.min(d,r),i=Math.min(h,i),l<=n&&(o=Math.min(u,o),a=Math.max(u,a))}return[o,a,r,i]},s=function(e,n){var r=t.hierarchical.getMaxLevel(e.id),i=t.hierarchical.getMaxLevel(n.id);return Math.min(r,i)},c=function(e,n,r){for(var i=t.hierarchical,o=0;o<n.length;o++){var a=n[o],s=i.distributionOrdering[a];if(s.length>1)for(var c=0;c<s.length-1;c++){var l=s[c],u=s[c+1];i.hasSameParent(l,u)&&i.inSameSubNetwork(l,u)&&e(l,u,r)}}},l=function(n,r){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=t.direction.getPosition(n),l=t.direction.getPosition(r),u=Math.abs(l-c),g=t.options.hierarchical.nodeSpacing;if(u>g){var f={},d={};o(n,f),o(r,d);var h=s(n,r),p=a(f,h),A=a(d,h),C=p[1],v=A[0],I=A[2],y=Math.abs(C-v);if(y>g){var m=C-v+g;m<-I+g&&(m=-I+g),m<0&&(t._shiftBlock(r.id,m),e=!0,!0===i&&t._centerParent(r))}}},u=function(r,i){for(var s=i.id,c=i.edges,l=t.hierarchical.levels[i.id],u=t.options.hierarchical.levelSeparation*t.options.hierarchical.levelSeparation,g={},f=[],d=0;d<c.length;d++){var h=c[d];if(h.toId!=h.fromId){var p=h.toId==s?h.from:h.to;g[c[d].id]=p,t.hierarchical.levels[p.id]<l&&f.push(h)}}var A=function(e,n){for(var r=0,i=0;i<n.length;i++)if(void 0!==g[n[i].id]){var o=t.direction.getPosition(g[n[i].id])-e;r+=o/Math.sqrt(o*o+u)}return r},C=function(e,n){for(var r=0,i=0;i<n.length;i++)if(void 0!==g[n[i].id]){var o=t.direction.getPosition(g[n[i].id])-e;r-=u*Math.pow(o*o+u,-1.5)}return r},v=function(e,n){for(var r=t.direction.getPosition(i),o={},a=0;a<e;a++){var s=A(r,n),c=C(r,n);if(void 0!==o[r-=Math.max(-40,Math.min(40,Math.round(s/c)))])break;o[r]=a}return r},I=v(r,f);!function(r){var s=t.direction.getPosition(i);if(void 0===n[i.id]){var c={};o(i,c),n[i.id]=c}var l=a(n[i.id]),u=l[2],g=l[3],f=r-s,d=0;f>0?d=Math.min(f,g-t.options.hierarchical.nodeSpacing):f<0&&(d=-Math.min(-f,u-t.options.hierarchical.nodeSpacing)),0!=d&&(t._shiftBlock(i.id,d),e=!0)}(I),function(n){var r=t.direction.getPosition(i),o=t._getSpaceAroundNode(i),a=Yo(o,2),s=a[0],c=a[1],l=n-r,u=r;l>0?u=Math.min(r+(c-t.options.hierarchical.nodeSpacing),n):l<0&&(u=Math.max(r-(s-t.options.hierarchical.nodeSpacing),n)),u!==r&&(t.direction.setPosition(i,u),e=!0)}(I=v(r,c))};!0===this.options.hierarchical.blockShifting&&(function(n){var r=t.hierarchical.getLevels();r=so(r).call(r);for(var i=0;i<n&&(e=!1,c(l,r,!0),!0===e);i++);}(5),function(){for(var e in t.body.nodes)Object.prototype.hasOwnProperty.call(t.body.nodes,e)&&t._centerParent(t.body.nodes[e])}()),!0===this.options.hierarchical.edgeMinimization&&function(n){var r=t.hierarchical.getLevels();r=so(r).call(r);for(var i=0;i<n;i++){e=!1;for(var o=0;o<r.length;o++)for(var a=r[o],s=t.hierarchical.distributionOrdering[a],c=0;c<s.length;c++)u(1e3,s[c]);if(!0!==e)break}}(20),!0===this.options.hierarchical.parentCentralization&&function(){var e=t.hierarchical.getLevels();e=so(e).call(e);for(var n=0;n<e.length;n++)for(var r=e[n],i=t.hierarchical.distributionOrdering[r],o=0;o<i.length;o++)t._centerParent(i[o])}(),function(){for(var e=i(),n=0,o=0;o<e.length-1;o++){n+=e[o].max-e[o+1].min+t.options.hierarchical.treeSpacing,r(o+1,n)}}()}},{key:"_getSpaceAroundNode",value:function(t,e){var n=!0;void 0===e&&(n=!1);var r=this.hierarchical.levels[t.id];if(void 0!==r){var i=this.hierarchical.distributionIndex[t.id],o=this.direction.getPosition(t),a=this.hierarchical.distributionOrdering[r],s=1e9,c=1e9;if(0!==i){var l=a[i-1];if(!0===n&&void 0===e[l.id]||!1===n)s=o-this.direction.getPosition(l)}if(i!=a.length-1){var u=a[i+1];if(!0===n&&void 0===e[u.id]||!1===n){var g=this.direction.getPosition(u);c=Math.min(c,g-o)}}return[s,c]}return[0,0]}},{key:"_centerParent",value:function(t){if(this.hierarchical.parentReference[t.id])for(var e=this.hierarchical.parentReference[t.id],n=0;n<e.length;n++){var r=e[n],i=this.body.nodes[r],o=this.hierarchical.childrenReference[r];if(void 0!==o){var a=this._getCenterPosition(o),s=this.direction.getPosition(i),c=this._getSpaceAroundNode(i),l=Yo(c,2),u=l[0],g=l[1],f=s-a;(f<0&&Math.abs(f)<g-this.options.hierarchical.nodeSpacing||f>0&&Math.abs(f)<u-this.options.hierarchical.nodeSpacing)&&this.direction.setPosition(i,a)}}}},{key:"_placeNodesByHierarchy",value:function(t){for(var e in this.positionedNodes={},t)if(Object.prototype.hasOwnProperty.call(t,e)){var n,r=Xo(t[e]);r=this._indexArrayToNodes(r),Hu(n=this.direction).call(n,r);for(var i=0,o=0;o<r.length;o++){var a=r[o];if(void 0===this.positionedNodes[a.id]){var s=this.options.hierarchical.nodeSpacing,c=s*i;i>0&&(c=this.direction.getPosition(r[o-1])+s),this.direction.setPosition(a,c,e),this._validatePositionAndContinue(a,e,c),i++}}}}},{key:"_placeBranchNodes",value:function(t,e){var n,r=this.hierarchical.childrenReference[t];if(void 0!==r){for(var i=[],o=0;o<r.length;o++)i.push(this.body.nodes[r[o]]);Hu(n=this.direction).call(n,i);for(var a=0;a<i.length;a++){var s=i[a],c=this.hierarchical.levels[s.id];if(!(c>e&&void 0===this.positionedNodes[s.id]))return;var l=this.options.hierarchical.nodeSpacing,u=void 0;u=0===a?this.direction.getPosition(this.body.nodes[t]):this.direction.getPosition(i[a-1])+l,this.direction.setPosition(s,u,c),this._validatePositionAndContinue(s,c,u)}var g=this._getCenterPosition(i);this.direction.setPosition(this.body.nodes[t],g,e)}}},{key:"_validatePositionAndContinue",value:function(t,e,n){if(this.hierarchical.isTree){if(void 0!==this.lastNodeOnLevel[e]){var r=this.direction.getPosition(this.body.nodes[this.lastNodeOnLevel[e]]);if(n-r<this.options.hierarchical.nodeSpacing){var i=r+this.options.hierarchical.nodeSpacing-n,o=this._findCommonParent(this.lastNodeOnLevel[e],t.id);this._shiftBlock(o.withChild,i)}}this.lastNodeOnLevel[e]=t.id,this.positionedNodes[t.id]=!0,this._placeBranchNodes(t.id,e)}}},{key:"_indexArrayToNodes",value:function(t){for(var e=[],n=0;n<t.length;n++)e.push(this.body.nodes[t[n]]);return e}},{key:"_getDistribution",value:function(){var t,e,n={};for(t in this.body.nodes)if(Object.prototype.hasOwnProperty.call(this.body.nodes,t)){e=this.body.nodes[t];var r=void 0===this.hierarchical.levels[t]?0:this.hierarchical.levels[t];this.direction.fix(e,r),void 0===n[r]&&(n[r]={}),n[r][t]=e}return n}},{key:"_getActiveEdges",value:function(t){var e=this,n=[];return jc(t.edges,(function(t){var r;-1!==fi(r=e.body.edgeIndices).call(r,t.id)&&n.push(t)})),n}},{key:"_getHubSizes",value:function(){var t=this,e={};jc(this.body.nodeIndices,(function(n){var r=t.body.nodes[n],i=t._getActiveEdges(r).length;e[i]=!0}));var n=[];return jc(e,(function(t){n.push(Number(t))})),Hu(wh).call(wh,n,(function(t,e){return e-t})),n}},{key:"_determineLevelsByHubsize",value:function(){for(var t=this,e=function(e,n){t.hierarchical.levelDownstream(e,n)},n=this._getHubSizes(),r=function(r){var i=n[r];if(0===i)return"break";jc(t.body.nodeIndices,(function(n){var r=t.body.nodes[n];i===t._getActiveEdges(r).length&&t._crawlNetwork(e,n)}))},i=0;i<n.length;++i){if("break"===r(i))break}}},{key:"_determineLevelsCustomCallback",value:function(){var t=this;this._crawlNetwork((function(e,n,r){var i=t.hierarchical.levels[e.id];void 0===i&&(i=t.hierarchical.levels[e.id]=1e5);var o=(Rd.cloneOptions(e,"node"),Rd.cloneOptions(n,"node"),void Rd.cloneOptions(r,"edge"));t.hierarchical.levels[n.id]=i+o})),this.hierarchical.setMinLevelToZero(this.body.nodes)}},{key:"_determineLevelsDirected",value:function(){var t,e=this,n=og(t=this.body.nodeIndices).call(t,(function(t,n){return t.set(n,e.body.nodes[n]),t}),new eu);"roots"===this.options.hierarchical.shakeTowards?this.hierarchical.levels=function(t){return Fh((function(e){var n,r;return Rh(n=Ri(r=e.edges).call(r,(function(e){return t.has(e.toId)}))).call(n,(function(t){return t.from===e}))}),(function(t,e){return e<t}),"to",t)}(n):this.hierarchical.levels=function(t){return Fh((function(e){var n,r;return Rh(n=Ri(r=e.edges).call(r,(function(e){return t.has(e.toId)}))).call(n,(function(t){return t.to===e}))}),(function(t,e){return e>t}),"from",t)}(n),this.hierarchical.setMinLevelToZero(this.body.nodes)}},{key:"_generateMap",value:function(){var t=this;this._crawlNetwork((function(e,n){t.hierarchical.levels[n.id]>t.hierarchical.levels[e.id]&&t.hierarchical.addRelation(e.id,n.id)})),this.hierarchical.checkIfTree()}},{key:"_crawlNetwork",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},n=arguments.length>1?arguments[1]:void 0,r={},i=function n(i,o){if(void 0===r[i.id]){var a;t.hierarchical.setTreeIndex(i,o),r[i.id]=!0;for(var s=t._getActiveEdges(i),c=0;c<s.length;c++){var l=s[c];!0===l.connected&&(a=l.toId==i.id?l.from:l.to,i.id!=a.id&&(e(i,a,l),n(a,o)))}}};if(void 0===n)for(var o=0,a=0;a<this.body.nodeIndices.length;a++){var s=this.body.nodeIndices[a];if(void 0===r[s]){var c=this.body.nodes[s];i(c,o),o+=1}}else{var l=this.body.nodes[n];if(void 0===l)return void console.error("Node not found:",n);i(l)}}},{key:"_shiftBlock",value:function(t,e){var n=this,r={};!function t(i){if(!r[i]){r[i]=!0,n.direction.shift(i,e);var o=n.hierarchical.childrenReference[i];if(void 0!==o)for(var a=0;a<o.length;a++)t(o[a])}}(t)}},{key:"_findCommonParent",value:function(t,e){var n=this,r={};return function t(e,r){var i=n.hierarchical.parentReference[r];if(void 0!==i)for(var o=0;o<i.length;o++){var a=i[o];e[a]=!0,t(e,a)}}(r,t),function t(e,r){var i=n.hierarchical.parentReference[r];if(void 0!==i)for(var o=0;o<i.length;o++){var a=i[o];if(void 0!==e[a])return{foundParent:a,withChild:r};var s=t(e,a);if(null!==s.foundParent)return s}return{foundParent:null,withChild:r}}(r,e)}},{key:"setDirectionStrategy",value:function(){var t="UD"===this.options.hierarchical.direction||"DU"===this.options.hierarchical.direction;this.direction=t?new _h(this):new kh(this)}},{key:"_getCenterPosition",value:function(t){for(var e=1e9,n=-1e9,r=0;r<t.length;r++){var i=void 0;if(void 0!==t[r].id)i=t[r];else{var o=t[r];i=this.body.nodes[o]}var a=this.direction.getPosition(i);e=Math.min(e,a),n=Math.max(n,a)}return.5*(e+n)}}]),t}();function Vh(t,e){var n;if("undefined"===typeof da||null==ur(t)){if(ta(t)||(n=function(t,e){var n;if(!t)return;if("string"===typeof t)return Gh(t,e);var r=oa(n=Object.prototype.toString.call(t)).call(n,8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return br(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gh(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=lr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Gh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}_t("div.vis-network div.vis-manipulation {\n box-sizing: content-box;\n\n border-width: 0;\n border-bottom: 1px;\n border-style: solid;\n border-color: #d6d9d8;\n background: #ffffff; /* Old browsers */\n background: -moz-linear-gradient(\n top,\n #ffffff 0%,\n #fcfcfc 48%,\n #fafafa 50%,\n #fcfcfc 100%\n ); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #ffffff),\n color-stop(48%, #fcfcfc),\n color-stop(50%, #fafafa),\n color-stop(100%, #fcfcfc)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #ffffff 0%,\n #fcfcfc 48%,\n #fafafa 50%,\n #fcfcfc 100%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #ffffff 0%,\n #fcfcfc 48%,\n #fafafa 50%,\n #fcfcfc 100%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(\n top,\n #ffffff 0%,\n #fcfcfc 48%,\n #fafafa 50%,\n #fcfcfc 100%\n ); /* IE10+ */\n background: linear-gradient(\n to bottom,\n #ffffff 0%,\n #fcfcfc 48%,\n #fafafa 50%,\n #fcfcfc 100%\n ); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */\n\n padding-top: 4px;\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 28px;\n}\n\ndiv.vis-network div.vis-edit-mode,\ndiv.vis-network button.vis-edit-mode {\n position: absolute;\n left: 0;\n top: 5px;\n height: 30px;\n}\n\n/* FIXME: shouldn't the vis-close button be a child of the vis-manipulation div? */\n\ndiv.vis-network button.vis-close {\n position: absolute;\n right: 0;\n top: 0;\n width: 30px;\n height: 30px;\n\n background-color: transparent;\n background-position: 20px 3px;\n background-repeat: no-repeat;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAADvGaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICAgICAgICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iPgogICAgICAgICA8eG1wOkNyZWF0b3JUb29sPkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTQtMDItMTRUMTE6NTU6MzUrMDE6MDA8L3htcDpDcmVhdGVEYXRlPgogICAgICAgICA8eG1wOk1ldGFkYXRhRGF0ZT4yMDE0LTAyLTE0VDEyOjA1OjE3KzAxOjAwPC94bXA6TWV0YWRhdGFEYXRlPgogICAgICAgICA8eG1wOk1vZGlmeURhdGU+MjAxNC0wMi0xNFQxMjowNToxNyswMTowMDwveG1wOk1vZGlmeURhdGU+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnhtcC5paWQ6NjU0YmM5YmQtMWI2Yi1jYjRhLTllOWQtNWY2MzgxNDVjZjk0PC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD54bXAuZGlkOjk4MmM2MGIwLWUzZjMtMDk0MC04MjU0LTFiZTliNWE0ZTE4MzwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjk4MmM2MGIwLWUzZjMtMDk0MC04MjU0LTFiZTliNWE0ZTE4MzwveG1wTU06T3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpTZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmNyZWF0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDo5ODJjNjBiMC1lM2YzLTA5NDAtODI1NC0xYmU5YjVhNGUxODM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMTRUMTE6NTU6MzUrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjIxODYxNmM2LTM1MWMtNDI0OS04YWFkLWJkZDQ2ZTczNWE0NDwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0xNFQxMTo1NTozNSswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6NjU0YmM5YmQtMWI2Yi1jYjRhLTllOWQtNWY2MzgxNDVjZjk0PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAyLTE0VDEyOjA1OjE3KzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDAwMC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDAwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjc8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+NzwvZXhpZjpQaXhlbFlEaW1lbnNpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+cZUZMwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAA2ElEQVR42gDLADT/AS0tLUQFBQUVFxcXtPHx8fPl5eUNCAgITCkpKesEHx8fGgYGBjH+/v4a+Pj4qgQEBFU6OjodMTExzwQUFBSvEBAQEfX19SD19fVqNDQ0CElJSd/9/f2vAwEBAfrn5+fkBwcHLRYWFgsXFxfz29vbo9LS0uwDDQ0NDfPz81orKysXIyMj+ODg4Avh4eEa/f391gMkJCRYPz8/KUhISOMCAgKh8fHxHRsbGx4UFBQQBDk5OeY7Ozv7CAgItPb29vMEBASaJSUlTQ0NDesDAEwpT0Ko8Ri2AAAAAElFTkSuQmCC');\n border: none;\n cursor: pointer;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\ndiv.vis-network button.vis-close:hover {\n opacity: 0.6;\n}\n\ndiv.vis-network div.vis-manipulation button.vis-button,\ndiv.vis-network div.vis-edit-mode button.vis-button {\n float: left;\n font-family: verdana;\n font-size: 12px;\n border: none;\n box-sizing: content-box;\n -moz-border-radius: 15px;\n border-radius: 15px;\n background-color: transparent;\n background-position: 0px 0px;\n background-repeat: no-repeat;\n height: 24px;\n margin-left: 10px;\n cursor: pointer;\n padding: 0px 8px 0px 8px;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\ndiv.vis-network div.vis-manipulation button.vis-button:hover {\n box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);\n}\n\ndiv.vis-network div.vis-manipulation button.vis-button:active {\n box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);\n}\n\ndiv.vis-network div.vis-manipulation button.vis-button.vis-back {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNFQxNTowMTowOSswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDRUMTU6MDE6MDkrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOmI2YjQwMjVkLTAxNjQtMzU0OC1hOTdlLTQ4ZmYxMWM3NTYzMzwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDpmOWQ3OGY4ZC1lNzY0LTc1NDgtODZiNy1iNmQ1OGMzZDg2OTc8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDRUMTU6MDE6MDkrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOmI2YjQwMjVkLTAxNjQtMzU0OC1hOTdlLTQ4ZmYxMWM3NTYzMzwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNFQxNTowMTowOSswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOmY5ZDc4ZjhkLWU3NjQtNzU0OC04NmI3LWI2ZDU4YzNkODY5Nzwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4jq1U/AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAVTSURBVHjanFVfTFNnFP+d77ve8qeVFbBrpcVgRrCRFikFByLxwSAaE32oRCHD6JMxxhhn8G2RxxH3MsOTbyYsmCAxPMmMMYtkIUYmK60OO0qAK23BFlNob0uh3x7WS5jLZPpLbm6+k/P9zrm5v9855PF4UFhYCABgjIExBgAgIqRSqRIi6gDQRkQ1RGTB3wgR0e8AHgH4Sa/XR/EBiAiJRAJ04cIF5Ofng4g2n0gkUkxENwF0c843LzHGQEQQQkCLExEA9ALotVgsUQAQQmgNQhJCbF5kjCEUCl0moj4t5na7fTU1NUpVVVXUYrEkASAcDhe8efOmxOfzWScmJqoBdBNR99LS0hWz2dynNSSEAF28eBGFhYVgjCEcDn9HRD1EhIMHD3o9Hs9kWVlZAh9BKBQqGB4edr58+dKZ+6JbJpOpBwBWV1fB6+rqIMsyIpHIFcZYL2MMra2tY5cuXRrfuXNnBtvAYDBk3G63oqpqZm5uzgrgSDKZjBoMhueZTAbc5XIhFouVEtFTxhiOHTs2dv78eS8+Efv374+oqpqZnZ21cs5PJJPJPlmWkyynnBuMMTQ0NHi7uro+mVyDx+Pxulwu71ZOlkqlSonoJhGhvb39s8k1nDx50ss5hyRJN9PpdKlERB2aWjSVaEilUvzBgwcORVEs5eXloXPnzk1sV8BkMiUdDofP7/dXZ7PZDilnIhw4cGBeS1pbW2P37t1zBwKBikQiUUREWFhYsHHO0d7evm0Ru90+/+rVq2rO+XGJiJxEhMrKyhgAjI6OWoeHh5tWVla+4JzDZrO9bW5unhwcHGzz+/32np4e+xaDbfoHAMxmc6ijo2O0oqIiJkkSNjY2HBIRmRljMJvNyWfPnln7+/tPMMZQXl6+0NbW9qK2tjYcj8floaEhqKpq+HCkbD3PzMwYBgYG0NXV9UuusFna2kEgELAQEQ4dOvSis7PzN41Ar9dnrl27NqCNkv/C3bt3zy4tLVmICJxzEBFJRBQmorLFxcWCqqqq0Pj4eO3Y2JhbUZTdra2tL2pra8OJRGLHnTt3zkqS9K+huHU4EhHMZnMoGo0W5OIh7nK5jjLGKq1W69vDhw8rRqMxMjc3t2t5eXnX5ORklc/nM+fl5SWnpqa+0uv1K/n5+Ws6nW5NluXNd15e3ppOp1uz2WyzZ86cGQ0Gg6ZAIFCZzWZ/lYjokRDiuN/vt7W0tMw3NTUpbrd78P79++5gMFgRiUTKHj58WMYYQ3V19etTp05tq6Lp6Wkb5xxCiEfc7XZPM8a6FxcXTfX19a/1en2Gcy5qamreNjY2/qGq6joRZe12+9Tp06e3JY/FYgWPHz8+mhvr3/CWlpbk+vp6PmOseWVlBS6XS9GSJUkSdrs93NDQ8Oe+ffvC/8fJIyMjddFo9Esi6pVleVjT2m0A8Hq9zqGhIefnjoknT544A4GAM/eDbxMReFNTE0pKSpKqqsaI6Pj8/LxVVdWM3W6PfCr5xMTE1zllXS0uLn6aSqXAGxsbodPpoNfrn6uqCs75EUVRrJFIZMfevXsXdTrdxseIE4mEPDIyUu/3++tynd8yGo29RIR0Og26fv06ioqKwBgD5xzv3r27zBjrIyJIkgSHwzFZWVmp7NmzJ1ZaWpoAgGg0WqgoSvHMzIw1GAw6tvjhitFo7NPW5fv370Hd3d0oKCgA53zTQMvLy+VCiKuSJH0rSdLmztZytIWv5RPRD0T0Y3Fx8dzWfby6ugopHo//w4mcc8iyPMc5v5FOp7/PZrOdQohWInIC2C2EgBBigYi8Qoifs9lsv06nWyIiaFxagXg8jr8GAGxuIe7LBeWhAAAAAElFTkSuQmCC');\n}\n\ndiv.vis-network div.vis-manipulation div.vis-none:hover {\n box-shadow: 1px 1px 8px rgba(0, 0, 0, 0);\n cursor: default;\n}\ndiv.vis-network div.vis-manipulation div.vis-none:active {\n box-shadow: 1px 1px 8px rgba(0, 0, 0, 0);\n}\ndiv.vis-network div.vis-manipulation div.vis-none {\n padding: 0px;\n line-height: 23px;\n}\ndiv.vis-network div.vis-manipulation div.notification {\n margin: 2px;\n font-weight: bold;\n}\n\ndiv.vis-network div.vis-manipulation button.vis-button.vis-add {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNFQxNDo0MDoyOSswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDRUMTQ6NDA6MjkrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOjVkNWIwNmQwLTVmMjAtOGE0NC1hMzIwLWZmMTEzMzQwNDc0YjwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDo2OWVmYWE1NS01ZTI5LTIzNGUtYTUzMy0xNDkxYjM1NDNmYmE8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDRUMTQ6NDA6MjkrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjVkNWIwNmQwLTVmMjAtOGE0NC1hMzIwLWZmMTEzMzQwNDc0Yjwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNFQxNDo0MDoyOSswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOjY5ZWZhYTU1LTVlMjktMjM0ZS1hNTMzLTE0OTFiMzU0M2ZiYTwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz5WKqp9AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYXSURBVHjafFZtUFTXGX7e9z27sveuMCwYV8ElrA7YSFYHtJUPkaaI0aRqG8wP00zUzljDINNSA/2ROtpO24SxnahlxjYd7SSjmUkymcxYlDhQPzHGisEVp8HwYWCVVVgEsrsuLnL74+5uqTF9Z+7cO/d8PO95zvO851BlZSV0XQcAMDOYGQBARDhX3JRmMDYZwLPMWAzGHACYIgwS46oBNBNwtOL8CwE8EkSEUCgE2rJlC2w2G4go8Zwo/bMDgnoG6gxLfAAAYvPDMCCszKTAMIAGAhrWnf15AAAMwwARIRKJgDZv3gy73Q4iAjPjxIr9VVOMRhbAYKB8zvrO0llrfEsdKwLZek6YAPSFvtSu3GtLawu0ZJ6625SHGBQB1T88t6MxvopgMAjaunUrdF0HM+P4yv27DMYeJmB1RqW3Jnf3tQX2p0L4P9EXuqEd7PmDp+XuMU9sRbvXnnt1TxxACgoKYLVacbzsQDUJGkSATe6qi28uPtzusM6Kxie6NHLGUX3lxVUNX9StPHnn4wy3njuUYcu6n2pNi66avcEXnByP/nv8aiaIyrqz2gO5A9+9FI1GIfn5+WhZdTAdjFMkwMvZOy7uWnTAOz3L4Yk71m3t69fdfTDoUGTBeHTUfiHQ6lo7Z2OXJvpDAChKe+aOCdKRKWxZ2+1qb3yyd3GYmRkQ7GQBVs99wfv6on3eR2k4PdTkDEbH7IuS8/svld/561PJS/pDk1/bzwx94pze7xc5v/H+YPY6r5BAkdrJzODTK46lE6PeYEJt7u+8j+OZwCBiEAgAoNgKJoEQf6PvNvdrXgtZoNhSf7q0KZ3B2AQmVMze0Jmt54S/DcDCVig2NcvEUGxJAE4Pl+YOr0iv6BRSIPAmBeBZAmHlE2sH4p1uhrq1s0MnnEQMBsf8wRASAICQQCCITN1X7/sOuc0kgOVp3/fPs2WHv+coG7gQOJUnLGsUCTxEjPzUohEA+NfIWUdtx0+efzA1kSSkIGyBAQNCKgHAEBAJ3u79U7kiAcWoem/gb5Fd33nrH3kp+SMWtuAB+GllMJxMjCx9QRgA3uiqL5kwHiTlpxb3smlfMDGYGPP1hcMAkJvs8ScpfdJspdj+MK6Pf+5+u29vyb4lR4+BGEziVESAkEpw6Av1OhUpHCz4qOXbzFWz4Ncdj/v/o08Lt92ODDgZDCEFJYoUGH4mzugP92puPTf0pD3H7wvfdFZdqSxnMtWjoGAAmG9fOLxjwesdjT2/XzIQ7ks3sycYMSEwGHNtWf5bkX5NkYCJBxUBXiGV0XHvosOt54Zey33j/K+8P33++vjnbiGJbbLE+J9SANAb6nJ2B79wcUwETAwQQ7fMjPzMvfP8ja87HUIKMOiaAqMZhrGmLdAy78eZrwwsTS0eObTs+IdtgVanxBUExqGbb5VzrIISGIoUXsmqbgEhJldCQWqRf27SvPAn/o8XmgLhZsUkR4ll37mhk3n94Z4OlzY/7NLcYZfm7o1z2zT4vsvUNSXqprBCkmiTFbPX90/fh8GIT2sf+zTPdDMf4dVnNg4z+E0ixsGeBs9jd5ViSgLHjCb/peaR+MD3d4/ZJg2llyuG2Vwy7QWAs8PNnn1f7vkGSGxAzE6mk+kxkx/p/4unffSCR0hAoL1EBCYiPNdWNcwkNQTCR7feWX6g+7f/A7I8rcw/U6UEe0Ndrhc/W7mtL9ztmqlSgstSS/zTJ28dalpOpkRryrwbhwBACgsLMWPGDOT4ll3qyeqAkJTdCF7P/CrUY/GkLL1rE+2hTbSH8+0Lb/WEuhzhyaA905blf9Vd/895WnZwLHrPevir/cvOB1oLYpTtLrm6oYGIMDExAaqtrUVKSgqYGSKCk0WHq5ikkWEWtNL0imv5qUW+RclLRjJsrhBAuH1/QL8R7HR4xy5nescuP23E6hOA6mLv+sb4uTw6Ogqqq6uDpmkQkcStorX4XRcM1FjZ+kvFFjCJKU1WpkNJJUqIMtX1RyLeX3JtQ0JRhmGYZ/L27duRnJycuFGISOJ9pqh5lrB6iYgqGOxRrOaa54DcZmKvkJxk8JHC9rKh+KVhOsD4+Dj+MwADIf8n5m4xGwAAAABJRU5ErkJggg==');\n}\n\ndiv.vis-network div.vis-manipulation button.vis-button.vis-edit,\ndiv.vis-network div.vis-edit-mode button.vis-button.vis-edit {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNVQxNDoxMjoyNSswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDVUMTQ6MTI6MjUrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOjY5OTM3ZGZjLTJjNzQtYTU0YS05OTIzLTQyMmZhNDNkMjljNDwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDozOWNhNzE5ZC03YzNlLTUyNGEtYmY1NS03NGVmMmM1MzE0YTc8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDVUMTQ6MTI6MjUrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjY5OTM3ZGZjLTJjNzQtYTU0YS05OTIzLTQyMmZhNDNkMjljNDwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNVQxNDoxMjoyNSswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOjM5Y2E3MTlkLTdjM2UtNTI0YS1iZjU1LTc0ZWYyYzUzMTRhNzwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4ykninAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYpSURBVHjafFZtTFvnFX7Oea+NudiY2Hwam4CBlgQwXdKREDKUoYg0jbRJ29RJ2VZ1mjRFUxSpA3VTfkzJfkQbS7spU6rtx5Z2UtppScjaHxvLuiatWi2jLEoMIUDCh23g2gbj7+tPuPvhOurawPl1dc99n+c55z33fV46ceIEZFkGADAziAgAQERoe/9ZK4GPM/AcgbsIXAcABCgMvkfAqAa89eDoJyF8LogIqqqChoaGYDAYHr8kItS8uc8iIH6iAa9IkAo5EAQX8pqmgUVBCBggYFgDhv0/GAsBgKZpICJkMhnQ4OAgZFkGEYGZUXmp+0cS+CKBwWA0DVRPOg5Zl2q6zaHyJlnVAMQXVTkwHrUqH0Xsvn+tdQAAMQDgpPLS2MViFY8rkGUZzIzaS/t/xqCzGggtz9e697zsnKhoLUtim4jOq/LE6x7X0nsh16dEZ5a/O3a2SCAOHjwInU6Hujd6ThJ4mCDQ+b2G232v7v6vwarPbQn8MGlMr+X0kpE3Wr5Zt5hL5HPhqYSdQIfKJ+yhxDPKWC6Xg+jt7UXD5b5KBt1kCHS85Ljd8/On3NupfnhFaZj4rWff1B98B1R/hnUmKd36bdtCNl4g0en4edNE/cXwLq8qMTMIPAQwmo/WuHvObA8+9c58k/dKtD0TyZWXN5YGA7ej7epKxspM//7SoNOdWc/Jyq2wiwhDzPxT8cP0jys3VMM7OmL0/77zn4Ydui3b8uiK0jD7RrA77c9Wd57cefPpF+2T6bWsFPWkaiPTCWvTsZpHFU+XrS+8G3AR08F6X+1FJvBxQQzHQOWk2SmrW4FPX/U2LVwPuDZj+fJKl2khPpeyAqA9rzR/YqwuiWXX8taN/CabGkrVuq9YJlkQQDjOAJ5jAhz9Vt9W4N5/rNp8I+vtMV/aZm4zLnUNNt0urdYnF68HWoJj4Wo1mLGUNRr8LEgDgNqeCh8xQIKOsgC7iAjVe83rT9zQa8uNM28u70kspessu8q8zq/V3NcZpVzb9+0zmVhOvvvrhaMVzrJg0zeq7xMVCCwdpnWSGBqjUyJwLTFgbvxie3w31uoWR1Y74r60rdxZqrR8q85t2W2MGCp12bm/KC3hyaSTiMhxuGrKcahqpbjOaDOoEhOEoFqJQCCJvqA85I6bfTdDjQlf2lbxVNlS6wt19yy7jRHZZlDnrinNj/6sHMhnNw2Ogco7O79e5fm/xQywRBBCEAuwn4gQ96bkYj4Vyuq9N1Z3Bj4Od5bs0MXt/dZZ21ctiqFan174q985P+Lfp+U1g7XDON/1ctP458WlVjLyJhOISZE0wM0S1QfuRC3lTjkJAKKEtNC9eIOhSh9xHLZOJRZTFuXDsEoStLkR/768ummsaJG9Pb9oe+9J+xaeSVokiQDSJphAo5uaBuWjiKP4QTqS1cUWU7ayesN66wu22frD1vmVW6GW6T8u9eVjGyZzs+w78Nqu0a2mbvVu1KEJQAgeZRL0liQYyx+GOmKeQpu0rMYsAJPNEFGD2dLodLIy6c9Ys7G8yeSUl3tf2/X3rcBVJSOv34l3sCBogi7z1LH/rBHjl4IJ93/ncQFAnjeImJD0Z8zuCwu9q3djDXqTlAKID5xv+9t2R8n8VcUFBljQ8Gyfe40BYBM4DwDLt8Kue79ZcFkbzfEdbUbv+oN4c9KTtsfm1MbYQqqh+2zrVZYKs/7Ef+byimt1POYiJhDhPBFBIiIEXhxfs7/dfYoIF+auBfYTE/pebx/V8hqBP2ODvD34yvuh/WCAmU75Bx6sIgaI/v5+6PV6JLqUsYr7dpDAoehs0h73pHTWrvKgThYbRSt9UmSjef3MpaUvBz4O72UmADgTOPJguGiZor+/HyUlJWBmJFz+D8xTtlUiOpbwpmrmrweeSXrT+g11k4SBN3RGKUcAVCVdFhyP1nreDbY//NPyEXUlU/Pp4XYycGT6V0Ux2WwWdO7cOZSWlkII8diX7SPPNgDaKdbxoNAxwATBAEkEEgSWCEQAqPAMwqvMdCEwMO0tVqZpWsGTT58+DaPR+PhGIYQAAAgh0P7B3ioW/B0iGiCGiwXbCuOHFSJys6AbYFye2T+xWhT3WYJEIoH/DQBMw3kes8OJPgAAAABJRU5ErkJggg==');\n}\n\ndiv.vis-network div.vis-edit-mode button.vis-button.vis-edit.vis-edit-mode {\n background-color: #fcfcfc;\n border: 1px solid #cccccc;\n}\n\ndiv.vis-network div.vis-manipulation button.vis-button.vis-connect {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNFQxNDozODo1NyswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDRUMTQ6Mzg6NTcrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOjlmYjUwMDU0LWE3ODEtMWQ0OC05ZTllLTU2ZWQ5YzhlYjdjNjwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDo3ZWRhMjI0MC0yYTQxLTNlNDQtYWM2My1iNzNiYTE5OWI3Y2E8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDRUMTQ6Mzg6NTcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjlmYjUwMDU0LWE3ODEtMWQ0OC05ZTllLTU2ZWQ5YzhlYjdjNjwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNFQxNDozODo1NyswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOjdlZGEyMjQwLTJhNDEtM2U0NC1hYzYzLWI3M2JhMTk5YjdjYTwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4ubxs+AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAUtSURBVHjajJZ/bNT1Gcdfz/P53PV6B4W7VltLqdAaplIOiMOoyxxJCSs/Gv/yB4gzJroAosmmDklwkYWR0bQsdmkykoojTpcsWYLxD/lRZdMQkTHRtkLZRqG0tIVe7662vTu43n32x/VKZ/jh89cn38/zvN7P5/l88zwf2blzJz6fDwARQUSm1n8s31CM0/VAnbNmsUPuAsDpgEO+Bg4C7//iyv5hvmMiQiqVQpqamvB6vVNwEeG1JZtCBrYi/MrkAwDNgjhwAlbzICBLA0rDb0+/839C6XQaaWxspLCw8Dp86cbNmqVFJQddE6KzdjZ9D89g+B6fSyCOcyn1nxil+O9xKg5HqWFSHGXLjrP7W/ICqVQK2bNnDz6fDxFh65KNvxbHDhF4rJj2bXPo+IGfcW5h5xL4f99P+FCEMIAob75x9t0dAMlkElNXV4e1lteXbNqiQoMaeOFOjrdU868SD2luYyEP6dUh+sYmSHeOU6GO5Z8VLx5+NNZxIpPJ5AS2L3upROCoCvz8Lo7vnkf77cAHhpiz/zIL9vWz8L8p/NvupmM0Q7pjnAoLqz8tDrc8MnQqYVUVhVdF4LEg7b+rvDn8wDDlH0WoPpukLJImSBaMwjcJqmwWts2jPZLG/8kwYVFeVdXXZcFf4yVDc2cNKfBFmD9X+0ncCP58F48eG+Feo2CAUkvs4dl0V/uJvdXLiiV+ut++n7YLSfxPfMMG54ChzB3WIesVWB2i82bw1AR6fJR7C4VsfYiv6u/k3A9nEgP4zXke8DiYHyAOMK+QxPIgnZ9GqSHr1itQJ8DK2fTerDQ+S/bHRXQJaHSCwNIZ2Xh+7+S3VAmwNMBA/tuPZtErgKquUmdMWIFlRURvdamRNEXGwIWrlP47pTMzLiunxghGMwTLvcTWlHAp77s4QNSrYMQtss6ZMgWqCm5cHoDHO1nbk6K8zEN8+3zatv2Hn1b59EqJZdxmYUERg9P9KwpIiAOTdWUWBXuLzB/vZG3P1Un4PNp2d1MbmyD45TWCxuCsQm0x56bHGHFYEZwxok7toAA9Sfw3hCcoL/NOwi9QO5wmWO1j4JEgZxTkodmcWRGkf3pcX0r8xoAaBixKu4U5/xwndM+0tpAvS6mP+PZK2nb1UBvPEKwKMLDvPj4ESGc55lGy303sdJKQdZB2rkMdctAB/4gzN+/Q2ENNd4LyUi/xN+bTtquX2thk5nk4wI3gAF+OMNcA1nFQDfK+BY5GqbkwWabTY5QZhXWlnNx1ntrY1Rz87fuvw29m/Sn8J+PUGAFj5T19baA1IspuBZp7cx1x4SwG1cEf+lgRSROs8jGwb+Ht4QB/GSSsAhYano39LWIBxNEIbP14hPDuiyS2VtJuHXQlKKvxM/jiXDq/D/xPlwifGMkJZB2NIoKpr69nxeiZxLHicFSFVWfGqBidIP3LSjrWltD94CyufF/4kQgPuVz2Lz93+dDRa9eu5QQ8Hg8/iXee+Dy4CKMs7xqn4nwKz9IirhQqmVuB42m8ey+x7LMoD6iAON782eChhqmRuXfvXgKBAKqKqtI0/8nNKrQI4BVYXkzHgzPpC88gWuHL/caXrhLoGiN0apSKr0ZZRBZM7q2w5ZnLR1oAnHOMjY0hra2tFBQUYIyZmstvVT1Z6eDlAuEVq7merxmwueNPDXy9PvybjKP5mctHLk4/XTKZRJqbm/H7/VNw1VyEMYbW4FN3WNWnnchKoy5sHeVGBRX6VWi3ymFx7r11Ix8MTX/y5C2RSPC/AQB61erowbpqSwAAAABJRU5ErkJggg==');\n}\n\ndiv.vis-network div.vis-manipulation button.vis-button.vis-delete {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNFQxNDo0MTowNCswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDRUMTQ6NDE6MDQrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOjc3NDkzYmUxLTEyZGItOTg0NC1iNDYyLTg2NGVmNGIzMzM3MTwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDowNmE3NWYwMy04MDdhLWUzNGYtYjk1Zi1jZGU2MjM0Mzg4OGY8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDRUMTQ6NDE6MDQrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjc3NDkzYmUxLTEyZGItOTg0NC1iNDYyLTg2NGVmNGIzMzM3MTwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNFQxNDo0MTowNCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOjA2YTc1ZjAzLTgwN2EtZTM0Zi1iOTVmLWNkZTYyMzQzODg4Zjwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4aYJzYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYGSURBVHjalJZ7UJTnFcZ/73m/72PdJY1RbhoQp6lkXRAvmIYxdCUadLVOozPNtGObap1JsKipjiShbdoRbeKEiQHpQK3xj0xa03aamTbaTGyAYV1QGeqFi+JyiZFLAlmESBkWRmS3fyzslGkmnZ5/v/M873Oe75zzvqqoqAibzQaAiKCUAkApRdHIK/NFsx2NR91nOSILADDoJyzNaM4xxbtvPHh0iC+JiYkJ1OHDh4mJiUEpFSXPv/ziPC28TIiXDCOSrAClQDSEpsCwJPIhrEBRQpiSytXlQwDhcBilFPfu3UMVFxdjt9ujFTzfcLBADCoEEAFr1ZbrrNjch2vtEImPBgHob7fTcWE+bVXJNJ/NiFQlEGLvieXHKmYqGB8fRx05cgSbzYaIsPvywV8pKFaA7fGtLTzz61YWpo/xVTHQbufsq5lcez9zWuWhk5mvFwMEg0H0+vXrMU2Tn1wp3CtCiQ5DjGd3A/m/v8IDCZP8r4iNmyRrWx/j/5qktykZpXKzAjVDVxPzGqemptDr1q1jX3NRnIJarcDKK2hgR2ULXRfncv7UYv7xpovhnhiW5Mz+kefeSKO6LJ1A1xzEuk/Ojm4mRibpuZaMZW3OCtRUND60NmiICCIUShisx7a2sLMiQn4s77uEQgIabnqdfHIlgT1/qQeg8vs5dHhdCNB1wYn3RIiC995j26stjAbsNH+YiZJCESnS1Y/XxIXu8r4YIPv/VkVs3CTnTy2ms34xro1+sp9po6sxlTu34ultmsPVvy6is86FCHgO+DDs49zpjufBpCG+seYOC9OHaTidieicb9ouVAhKtouAseI710ma7pLuqwmgYfHqAFt+6WdLoQ/LBl11Lm7VudAa8vb72PCin9TlAWIsGGhLACD+kSAZnusYBii1XQAPYWDllt6ov2lrBkDBR2+6Ofuak2//3M+G/T4wAAPW7fPhKfRTVeqk9qQbFKRmDUTxS3N7QYGYmwzCkqklBGlPDEcTNv+sg9tNCbTXuvBWujE0bHrZj9JE1B/wU1Pm5PwJN6YBS9a2kVvQEcWnrh5GTFD3lxkYkqRMgYQlwVldUvDnen73LHTUuqitdKM0eAr9AFQfd1J/yo2aJn+2sn4Wdn5qEFODJskgBIjx5T0uCrQA08pnIjS9PERDjPnfOKXAMEBECUoGEIHBj+2zkt76UQ6dXheGAev3+cg74Kf6uJPqcicbfuond7cPy4SOiy7+tD9nFvZurx00KOk3CNEC+mE+vjSPBc7IWqgqTaPT60IMcO/xsXGa3HfKjRgRdbl7/KDg0jtubje6aHj7c7J3dgLQ2zoPwwQ91SooOQdAW1VKVMHty0kA5Bb48BycJn/LjWFGbLv4thvvb53kFvjJ+XEdWkPfjQVR/CcNKYgGMc8JWt5Fa2j+MIPPuyI2pa4IoHSkt6vLIuRaQ9q32khzt4GCxtNu6k46GeiIR2lIfDQQsafPzq1LGRGL9Gk9d+vrwewvfHPQOoexQVjxdB/auk/zmaUMdsfz6bVUtIalT7bxveP1ZHh6GPDPYeSzeD69kcpIfxymFWLNrka+ljhBTWkWwz2JiJT84YHnz2iPx0P20PkmRF5i6HYiwZFJsn/YzdezbzE3cQibY5xV266z6RfXohakb+xB9CjanCD9qTbW7Grk4WV38VZm0l6dhQiEw9taHSuDqrS0FIfDwXM3X9mHMsvRAk/sauDpQy38P+GtzOTGB9mEpkD0C2dS8n8zOjqK9ng8WJZFU+JTjasGvaCNXPpvJBPoMlm0OoDNMfWVxONfWNSUPUZ7TUQ56tCZlPwSgMnJSVRpaSmxsbFE1raw82ZxAZZRQUiBYUKGp5UlOX2krBzmoUVjiIKhHge9rfPo+Wcy3ZeXIYASgL1/X5RfMXMvj46OosrLy7HZbGitUUohIuzoem0RofALaOsghgWGjky0MiJTL8b0lOvI8hN1DKXKP0jd3TNTWDgcJhgMoo4ePYrD4Yi+KmaeLlprnrtXFo9h/AAlG1AqE8yFmBrC+jO0bgH9EVpO/1F2Dc5g//OAsbEx/j0Af+USsQynL1UAAAAASUVORK5CYII=');\n}\n/* top right bottom left */\ndiv.vis-network div.vis-manipulation div.vis-label,\ndiv.vis-network div.vis-edit-mode div.vis-label {\n margin: 0 0 0 23px;\n line-height: 25px;\n}\ndiv.vis-network div.vis-manipulation div.vis-separator-line {\n float: left;\n display: inline-block;\n width: 1px;\n height: 21px;\n background-color: #bdbdbd;\n margin: 0px 7px 0 15px; /*top right bottom left*/\n}\n\n/* TODO: is this redundant?\ndiv.network-navigation_wrapper {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n*/\n");var Wh=function(){function t(e,n,r,i){var o,a,s=this;Fr(this,t),this.body=e,this.canvas=n,this.selectionHandler=r,this.interactionHandler=i,this.editMode=!1,this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0,this._domEventListenerCleanupQueue=[],this.temporaryUIFunctions={},this.temporaryEventFunctions=[],this.touchTime=0,this.temporaryIds={nodes:[],edges:[]},this.guiEnabled=!1,this.inMode=!1,this.selectedControlNode=void 0,this.options={},this.defaultOptions={enabled:!1,initiallyActive:!1,addNode:!0,addEdge:!0,editNode:void 0,editEdge:!0,deleteNode:!0,deleteEdge:!0,controlNodeStyle:{shape:"dot",size:6,color:{background:"#ff0000",border:"#3c3c3c",highlight:{background:"#07f968",border:"#3c3c3c"}},borderWidth:2,borderWidthSelected:2}},yt(this.options,this.defaultOptions),this.body.emitter.on("destroy",(function(){s._clean()})),this.body.emitter.on("_dataChanged",$(o=this._restore).call(o,this)),this.body.emitter.on("_resetData",$(a=this._restore).call(a,this))}return Vr(t,[{key:"_restore",value:function(){!1!==this.inMode&&(!0===this.options.initiallyActive?this.enableEditMode():this.disableEditMode())}},{key:"setOptions",value:function(t,e,n){void 0!==e&&(void 0!==e.locale?this.options.locale=e.locale:this.options.locale=n.locale,void 0!==e.locales?this.options.locales=e.locales:this.options.locales=n.locales),void 0!==t&&("boolean"===typeof t?this.options.enabled=t:(this.options.enabled=!0,Oc(this.options,t)),!0===this.options.initiallyActive&&(this.editMode=!0),this._setup())}},{key:"toggleEditMode",value:function(){!0===this.editMode?this.disableEditMode():this.enableEditMode()}},{key:"enableEditMode",value:function(){this.editMode=!0,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="block",this.closeDiv.style.display="block",this.editModeDiv.style.display="none",this.showManipulatorToolbar())}},{key:"disableEditMode",value:function(){this.editMode=!1,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="none",this.closeDiv.style.display="none",this.editModeDiv.style.display="block",this._createEditButton())}},{key:"showManipulatorToolbar",value:function(){if(this._clean(),this.manipulationDOM={},!0===this.guiEnabled){var t,e;this.editMode=!0,this.manipulationDiv.style.display="block",this.closeDiv.style.display="block";var n=this.selectionHandler.getSelectedNodeCount(),r=this.selectionHandler.getSelectedEdgeCount(),i=n+r,o=this.options.locales[this.options.locale],a=!1;!1!==this.options.addNode&&(this._createAddNodeButton(o),a=!0),!1!==this.options.addEdge&&(!0===a?this._createSeperator(1):a=!0,this._createAddEdgeButton(o)),1===n&&"function"===typeof this.options.editNode?(!0===a?this._createSeperator(2):a=!0,this._createEditNodeButton(o)):1===r&&0===n&&!1!==this.options.editEdge&&(!0===a?this._createSeperator(3):a=!0,this._createEditEdgeButton(o)),0!==i&&(n>0&&!1!==this.options.deleteNode||0===n&&!1!==this.options.deleteEdge)&&(!0===a&&this._createSeperator(4),this._createDeleteButton(o)),this._bindElementEvents(this.closeDiv,$(t=this.toggleEditMode).call(t,this)),this._temporaryBindEvent("select",$(e=this.showManipulatorToolbar).call(e,this))}this.body.emitter.emit("_redraw")}},{key:"addNodeMode",value:function(){var t;if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addNode",!0===this.guiEnabled){var e,n=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(n),this._createSeperator(),this._createDescription(n.addDescription||this.options.locales.en.addDescription),this._bindElementEvents(this.closeDiv,$(e=this.toggleEditMode).call(e,this))}this._temporaryBindEvent("click",$(t=this._performAddNode).call(t,this))}},{key:"editNode",value:function(){var t=this;!0!==this.editMode&&this.enableEditMode(),this._clean();var e=this.selectionHandler.getSelectedNodes()[0];if(void 0!==e){if(this.inMode="editNode","function"!==typeof this.options.editNode)throw new Error("No function has been configured to handle the editing of nodes.");if(!0!==e.isCluster){var n=Oc({},e.options,!1);if(n.x=e.x,n.y=e.y,2!==this.options.editNode.length)throw new Error("The function for edit does not support two arguments (data, callback)");this.options.editNode(n,(function(e){null!==e&&void 0!==e&&"editNode"===t.inMode&&t.body.data.nodes.getDataSet().update(e),t.showManipulatorToolbar()}))}else alert(this.options.locales[this.options.locale].editClusterError||this.options.locales.en.editClusterError)}else this.showManipulatorToolbar()}},{key:"addEdgeMode",value:function(){var t,e,n,r,i;if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addEdge",!0===this.guiEnabled){var o,a=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(a),this._createSeperator(),this._createDescription(a.edgeDescription||this.options.locales.en.edgeDescription),this._bindElementEvents(this.closeDiv,$(o=this.toggleEditMode).call(o,this))}this._temporaryBindUI("onTouch",$(t=this._handleConnect).call(t,this)),this._temporaryBindUI("onDragEnd",$(e=this._finishConnect).call(e,this)),this._temporaryBindUI("onDrag",$(n=this._dragControlNode).call(n,this)),this._temporaryBindUI("onRelease",$(r=this._finishConnect).call(r,this)),this._temporaryBindUI("onDragStart",$(i=this._dragStartEdge).call(i,this)),this._temporaryBindUI("onHold",(function(){}))}},{key:"editEdgeMode",value:function(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="editEdge","object"!==ra(this.options.editEdge)||"function"!==typeof this.options.editEdge.editWithoutDrag||(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],void 0===this.edgeBeingEditedId)){if(!0===this.guiEnabled){var t,e=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(e),this._createSeperator(),this._createDescription(e.editEdgeDescription||this.options.locales.en.editEdgeDescription),this._bindElementEvents(this.closeDiv,$(t=this.toggleEditMode).call(t,this))}if(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],void 0!==this.edgeBeingEditedId){var n,r,i,o,a=this.body.edges[this.edgeBeingEditedId],s=this._getNewTargetNode(a.from.x,a.from.y),c=this._getNewTargetNode(a.to.x,a.to.y);this.temporaryIds.nodes.push(s.id),this.temporaryIds.nodes.push(c.id),this.body.nodes[s.id]=s,this.body.nodeIndices.push(s.id),this.body.nodes[c.id]=c,this.body.nodeIndices.push(c.id),this._temporaryBindUI("onTouch",$(n=this._controlNodeTouch).call(n,this)),this._temporaryBindUI("onTap",(function(){})),this._temporaryBindUI("onHold",(function(){})),this._temporaryBindUI("onDragStart",$(r=this._controlNodeDragStart).call(r,this)),this._temporaryBindUI("onDrag",$(i=this._controlNodeDrag).call(i,this)),this._temporaryBindUI("onDragEnd",$(o=this._controlNodeDragEnd).call(o,this)),this._temporaryBindUI("onMouseMove",(function(){})),this._temporaryBindEvent("beforeDrawing",(function(t){var e=a.edgeType.findBorderPositions(t);!1===s.selected&&(s.x=e.from.x,s.y=e.from.y),!1===c.selected&&(c.x=e.to.x,c.y=e.to.y)})),this.body.emitter.emit("_redraw")}else this.showManipulatorToolbar()}else{var l=this.body.edges[this.edgeBeingEditedId];this._performEditEdge(l.from.id,l.to.id)}}},{key:"deleteSelected",value:function(){var t=this;!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="delete";var e=this.selectionHandler.getSelectedNodeIds(),n=this.selectionHandler.getSelectedEdgeIds(),r=void 0;if(e.length>0){for(var i=0;i<e.length;i++)if(!0===this.body.nodes[e[i]].isCluster)return void alert(this.options.locales[this.options.locale].deleteClusterError||this.options.locales.en.deleteClusterError);"function"===typeof this.options.deleteNode&&(r=this.options.deleteNode)}else n.length>0&&"function"===typeof this.options.deleteEdge&&(r=this.options.deleteEdge);if("function"===typeof r){var o={nodes:e,edges:n};if(2!==r.length)throw new Error("The function for delete does not support two arguments (data, callback)");r(o,(function(e){null!==e&&void 0!==e&&"delete"===t.inMode?(t.body.data.edges.getDataSet().remove(e.edges),t.body.data.nodes.getDataSet().remove(e.nodes),t.body.emitter.emit("startSimulation"),t.showManipulatorToolbar()):(t.body.emitter.emit("startSimulation"),t.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().remove(n),this.body.data.nodes.getDataSet().remove(e),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()}},{key:"_setup",value:function(){!0===this.options.enabled?(this.guiEnabled=!0,this._createWrappers(),!1===this.editMode?this._createEditButton():this.showManipulatorToolbar()):(this._removeManipulationDOM(),this.guiEnabled=!1)}},{key:"_createWrappers",value:function(){var t,e;(void 0===this.manipulationDiv&&(this.manipulationDiv=document.createElement("div"),this.manipulationDiv.className="vis-manipulation",!0===this.editMode?this.manipulationDiv.style.display="block":this.manipulationDiv.style.display="none",this.canvas.frame.appendChild(this.manipulationDiv)),void 0===this.editModeDiv&&(this.editModeDiv=document.createElement("div"),this.editModeDiv.className="vis-edit-mode",!0===this.editMode?this.editModeDiv.style.display="none":this.editModeDiv.style.display="block",this.canvas.frame.appendChild(this.editModeDiv)),void 0===this.closeDiv)&&(this.closeDiv=document.createElement("button"),this.closeDiv.className="vis-close",this.closeDiv.setAttribute("aria-label",null!==(t=null===(e=this.options.locales[this.options.locale])||void 0===e?void 0:e.close)&&void 0!==t?t:this.options.locales.en.close),this.closeDiv.style.display=this.manipulationDiv.style.display,this.canvas.frame.appendChild(this.closeDiv))}},{key:"_getNewTargetNode",value:function(t,e){var n=Oc({},this.options.controlNodeStyle);n.id="targetNode"+fg(),n.hidden=!1,n.physics=!1,n.x=t,n.y=e;var r=this.body.functions.createNode(n);return r.shape.boundingBox={left:t,right:t,top:e,bottom:e},r}},{key:"_createEditButton",value:function(){var t;this._clean(),this.manipulationDOM={},vc(this.editModeDiv);var e=this.options.locales[this.options.locale],n=this._createButton("editMode","vis-edit vis-edit-mode",e.edit||this.options.locales.en.edit);this.editModeDiv.appendChild(n),this._bindElementEvents(n,$(t=this.toggleEditMode).call(t,this))}},{key:"_clean",value:function(){this.inMode=!1,!0===this.guiEnabled&&(vc(this.editModeDiv),vc(this.manipulationDiv),this._cleanupDOMEventListeners()),this._cleanupTemporaryNodesAndEdges(),this._unbindTemporaryUIs(),this._unbindTemporaryEvents(),this.body.emitter.emit("restorePhysics")}},{key:"_cleanupDOMEventListeners",value:function(){var t,e,n=Vh(no(t=this._domEventListenerCleanupQueue).call(t,0));try{for(n.s();!(e=n.n()).done;){(0,e.value)()}}catch(r){n.e(r)}finally{n.f()}}},{key:"_removeManipulationDOM",value:function(){this._clean(),vc(this.manipulationDiv),vc(this.editModeDiv),vc(this.closeDiv),this.manipulationDiv&&this.canvas.frame.removeChild(this.manipulationDiv),this.editModeDiv&&this.canvas.frame.removeChild(this.editModeDiv),this.closeDiv&&this.canvas.frame.removeChild(this.closeDiv),this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0}},{key:"_createSeperator",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.manipulationDOM["seperatorLineDiv"+t]=document.createElement("div"),this.manipulationDOM["seperatorLineDiv"+t].className="vis-separator-line",this.manipulationDiv.appendChild(this.manipulationDOM["seperatorLineDiv"+t])}},{key:"_createAddNodeButton",value:function(t){var e,n=this._createButton("addNode","vis-add",t.addNode||this.options.locales.en.addNode);this.manipulationDiv.appendChild(n),this._bindElementEvents(n,$(e=this.addNodeMode).call(e,this))}},{key:"_createAddEdgeButton",value:function(t){var e,n=this._createButton("addEdge","vis-connect",t.addEdge||this.options.locales.en.addEdge);this.manipulationDiv.appendChild(n),this._bindElementEvents(n,$(e=this.addEdgeMode).call(e,this))}},{key:"_createEditNodeButton",value:function(t){var e,n=this._createButton("editNode","vis-edit",t.editNode||this.options.locales.en.editNode);this.manipulationDiv.appendChild(n),this._bindElementEvents(n,$(e=this.editNode).call(e,this))}},{key:"_createEditEdgeButton",value:function(t){var e,n=this._createButton("editEdge","vis-edit",t.editEdge||this.options.locales.en.editEdge);this.manipulationDiv.appendChild(n),this._bindElementEvents(n,$(e=this.editEdgeMode).call(e,this))}},{key:"_createDeleteButton",value:function(t){var e,n;n=this.options.rtl?"vis-delete-rtl":"vis-delete";var r=this._createButton("delete",n,t.del||this.options.locales.en.del);this.manipulationDiv.appendChild(r),this._bindElementEvents(r,$(e=this.deleteSelected).call(e,this))}},{key:"_createBackButton",value:function(t){var e,n=this._createButton("back","vis-back",t.back||this.options.locales.en.back);this.manipulationDiv.appendChild(n),this._bindElementEvents(n,$(e=this.showManipulatorToolbar).call(e,this))}},{key:"_createButton",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vis-label";return this.manipulationDOM[t+"Div"]=document.createElement("button"),this.manipulationDOM[t+"Div"].className="vis-button "+e,this.manipulationDOM[t+"Label"]=document.createElement("div"),this.manipulationDOM[t+"Label"].className=r,this.manipulationDOM[t+"Label"].innerText=n,this.manipulationDOM[t+"Div"].appendChild(this.manipulationDOM[t+"Label"]),this.manipulationDOM[t+"Div"]}},{key:"_createDescription",value:function(t){this.manipulationDOM.descriptionLabel=document.createElement("div"),this.manipulationDOM.descriptionLabel.className="vis-none",this.manipulationDOM.descriptionLabel.innerText=t,this.manipulationDiv.appendChild(this.manipulationDOM.descriptionLabel)}},{key:"_temporaryBindEvent",value:function(t,e){this.temporaryEventFunctions.push({event:t,boundFunction:e}),this.body.emitter.on(t,e)}},{key:"_temporaryBindUI",value:function(t,e){if(void 0===this.body.eventListeners[t])throw new Error("This UI function does not exist. Typo? You tried: "+t+" possible are: "+Lr(Xo(this.body.eventListeners)));this.temporaryUIFunctions[t]=this.body.eventListeners[t],this.body.eventListeners[t]=e}},{key:"_unbindTemporaryUIs",value:function(){for(var t in this.temporaryUIFunctions)Object.prototype.hasOwnProperty.call(this.temporaryUIFunctions,t)&&(this.body.eventListeners[t]=this.temporaryUIFunctions[t],delete this.temporaryUIFunctions[t]);this.temporaryUIFunctions={}}},{key:"_unbindTemporaryEvents",value:function(){for(var t=0;t<this.temporaryEventFunctions.length;t++){var e=this.temporaryEventFunctions[t].event,n=this.temporaryEventFunctions[t].boundFunction;this.body.emitter.off(e,n)}this.temporaryEventFunctions=[]}},{key:"_bindElementEvents",value:function(t,e){var n=new Jc(t,{});Gd(n,e),this._domEventListenerCleanupQueue.push((function(){n.destroy()}));var r=function(t){var n=t.keyCode,r=t.key;"Enter"!==r&&" "!==r&&13!==n&&32!==n||e()};t.addEventListener("keyup",r,!1),this._domEventListenerCleanupQueue.push((function(){t.removeEventListener("keyup",r,!1)}))}},{key:"_cleanupTemporaryNodesAndEdges",value:function(){for(var t=0;t<this.temporaryIds.edges.length;t++){var e;this.body.edges[this.temporaryIds.edges[t]].disconnect(),delete this.body.edges[this.temporaryIds.edges[t]];var n,r=fi(e=this.body.edgeIndices).call(e,this.temporaryIds.edges[t]);if(-1!==r)no(n=this.body.edgeIndices).call(n,r,1)}for(var i=0;i<this.temporaryIds.nodes.length;i++){var o;delete this.body.nodes[this.temporaryIds.nodes[i]];var a,s=fi(o=this.body.nodeIndices).call(o,this.temporaryIds.nodes[i]);if(-1!==s)no(a=this.body.nodeIndices).call(a,s,1)}this.temporaryIds={nodes:[],edges:[]}}},{key:"_controlNodeTouch",value:function(t){this.selectionHandler.unselectAll(),this.lastTouch=this.body.functions.getPointer(t.center),this.lastTouch.translation=yt({},this.body.view.translation)}},{key:"_controlNodeDragStart",value:function(){var t=this.lastTouch,e=this.selectionHandler._pointerToPositionObject(t),n=this.body.nodes[this.temporaryIds.nodes[0]],r=this.body.nodes[this.temporaryIds.nodes[1]],i=this.body.edges[this.edgeBeingEditedId];this.selectedControlNode=void 0;var o=n.isOverlappingWith(e),a=r.isOverlappingWith(e);!0===o?(this.selectedControlNode=n,i.edgeType.from=n):!0===a&&(this.selectedControlNode=r,i.edgeType.to=r),void 0!==this.selectedControlNode&&this.selectionHandler.selectObject(this.selectedControlNode),this.body.emitter.emit("_redraw")}},{key:"_controlNodeDrag",value:function(t){this.body.emitter.emit("disablePhysics");var e=this.body.functions.getPointer(t.center),n=this.canvas.DOMtoCanvas(e);void 0!==this.selectedControlNode?(this.selectedControlNode.x=n.x,this.selectedControlNode.y=n.y):this.interactionHandler.onDrag(t),this.body.emitter.emit("_redraw")}},{key:"_controlNodeDragEnd",value:function(t){var e=this.body.functions.getPointer(t.center),n=this.selectionHandler._pointerToPositionObject(e),r=this.body.edges[this.edgeBeingEditedId];if(void 0!==this.selectedControlNode){this.selectionHandler.unselectAll();for(var i=this.selectionHandler._getAllNodesOverlappingWith(n),o=void 0,a=i.length-1;a>=0;a--)if(i[a]!==this.selectedControlNode.id){o=this.body.nodes[i[a]];break}if(void 0!==o&&void 0!==this.selectedControlNode)if(!0===o.isCluster)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var s=this.body.nodes[this.temporaryIds.nodes[0]];this.selectedControlNode.id===s.id?this._performEditEdge(o.id,r.to.id):this._performEditEdge(r.from.id,o.id)}else r.updateEdgeType(),this.body.emitter.emit("restorePhysics");this.body.emitter.emit("_redraw")}}},{key:"_handleConnect",value:function(t){if((new Date).valueOf()-this.touchTime>100){this.lastTouch=this.body.functions.getPointer(t.center),this.lastTouch.translation=yt({},this.body.view.translation),this.interactionHandler.drag.pointer=this.lastTouch,this.interactionHandler.drag.translation=this.lastTouch.translation;var e=this.lastTouch,n=this.selectionHandler.getNodeAt(e);if(void 0!==n)if(!0===n.isCluster)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var r=this._getNewTargetNode(n.x,n.y);this.body.nodes[r.id]=r,this.body.nodeIndices.push(r.id);var i=this.body.functions.createEdge({id:"connectionEdge"+fg(),from:n.id,to:r.id,physics:!1,smooth:{enabled:!0,type:"continuous",roundness:.5}});this.body.edges[i.id]=i,this.body.edgeIndices.push(i.id),this.temporaryIds.nodes.push(r.id),this.temporaryIds.edges.push(i.id)}this.touchTime=(new Date).valueOf()}}},{key:"_dragControlNode",value:function(t){var e=this.body.functions.getPointer(t.center),n=this.selectionHandler._pointerToPositionObject(e),r=void 0;void 0!==this.temporaryIds.edges[0]&&(r=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var i=this.selectionHandler._getAllNodesOverlappingWith(n),o=void 0,a=i.length-1;a>=0;a--){var s;if(-1===fi(s=this.temporaryIds.nodes).call(s,i[a])){o=this.body.nodes[i[a]];break}}if(t.controlEdge={from:r,to:o?o.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragging",t,e),void 0!==this.temporaryIds.nodes[0]){var c=this.body.nodes[this.temporaryIds.nodes[0]];c.x=this.canvas._XconvertDOMtoCanvas(e.x),c.y=this.canvas._YconvertDOMtoCanvas(e.y),this.body.emitter.emit("_redraw")}else this.interactionHandler.onDrag(t)}},{key:"_finishConnect",value:function(t){var e=this.body.functions.getPointer(t.center),n=this.selectionHandler._pointerToPositionObject(e),r=void 0;void 0!==this.temporaryIds.edges[0]&&(r=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var i=this.selectionHandler._getAllNodesOverlappingWith(n),o=void 0,a=i.length-1;a>=0;a--){var s;if(-1===fi(s=this.temporaryIds.nodes).call(s,i[a])){o=this.body.nodes[i[a]];break}}this._cleanupTemporaryNodesAndEdges(),void 0!==o&&(!0===o.isCluster?alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError):void 0!==this.body.nodes[r]&&void 0!==this.body.nodes[o.id]&&this._performAddEdge(r,o.id)),t.controlEdge={from:r,to:o?o.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragEnd",t,e),this.body.emitter.emit("_redraw")}},{key:"_dragStartEdge",value:function(t){var e=this.lastTouch;this.selectionHandler.generateClickEvent("dragStart",t,e,void 0,!0)}},{key:"_performAddNode",value:function(t){var e=this,n={id:fg(),x:t.pointer.canvas.x,y:t.pointer.canvas.y,label:"new"};if("function"===typeof this.options.addNode){if(2!==this.options.addNode.length)throw this.showManipulatorToolbar(),new Error("The function for add does not support two arguments (data,callback)");this.options.addNode(n,(function(t){null!==t&&void 0!==t&&"addNode"===e.inMode&&e.body.data.nodes.getDataSet().add(t),e.showManipulatorToolbar()}))}else this.body.data.nodes.getDataSet().add(n),this.showManipulatorToolbar()}},{key:"_performAddEdge",value:function(t,e){var n=this,r={from:t,to:e};if("function"===typeof this.options.addEdge){if(2!==this.options.addEdge.length)throw new Error("The function for connect does not support two arguments (data,callback)");this.options.addEdge(r,(function(t){null!==t&&void 0!==t&&"addEdge"===n.inMode&&(n.body.data.edges.getDataSet().add(t),n.selectionHandler.unselectAll(),n.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().add(r),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}},{key:"_performEditEdge",value:function(t,e){var n=this,r={id:this.edgeBeingEditedId,from:t,to:e,label:this.body.data.edges.get(this.edgeBeingEditedId).label},i=this.options.editEdge;if("object"===ra(i)&&(i=i.editWithoutDrag),"function"===typeof i){if(2!==i.length)throw new Error("The function for edit does not support two arguments (data, callback)");i(r,(function(t){null===t||void 0===t||"editEdge"!==n.inMode?(n.body.edges[r.id].updateEdgeType(),n.body.emitter.emit("_redraw"),n.showManipulatorToolbar()):(n.body.data.edges.getDataSet().update(t),n.selectionHandler.unselectAll(),n.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().update(r),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}}]),t}(),Yh="string",Hh="boolean",Uh="number",Xh="array",Zh="object",qh=["arrow","bar","box","circle","crow","curve","diamond","image","inv_curve","inv_triangle","triangle","vee"],Kh={borderWidth:{number:Uh},borderWidthSelected:{number:Uh,undefined:"undefined"},brokenImage:{string:Yh,undefined:"undefined"},chosen:{label:{boolean:Hh,function:"function"},node:{boolean:Hh,function:"function"},__type__:{object:Zh,boolean:Hh}},color:{border:{string:Yh},background:{string:Yh},highlight:{border:{string:Yh},background:{string:Yh},__type__:{object:Zh,string:Yh}},hover:{border:{string:Yh},background:{string:Yh},__type__:{object:Zh,string:Yh}},__type__:{object:Zh,string:Yh}},opacity:{number:Uh,undefined:"undefined"},fixed:{x:{boolean:Hh},y:{boolean:Hh},__type__:{object:Zh,boolean:Hh}},font:{align:{string:Yh},color:{string:Yh},size:{number:Uh},face:{string:Yh},background:{string:Yh},strokeWidth:{number:Uh},strokeColor:{string:Yh},vadjust:{number:Uh},multi:{boolean:Hh,string:Yh},bold:{color:{string:Yh},size:{number:Uh},face:{string:Yh},mod:{string:Yh},vadjust:{number:Uh},__type__:{object:Zh,string:Yh}},boldital:{color:{string:Yh},size:{number:Uh},face:{string:Yh},mod:{string:Yh},vadjust:{number:Uh},__type__:{object:Zh,string:Yh}},ital:{color:{string:Yh},size:{number:Uh},face:{string:Yh},mod:{string:Yh},vadjust:{number:Uh},__type__:{object:Zh,string:Yh}},mono:{color:{string:Yh},size:{number:Uh},face:{string:Yh},mod:{string:Yh},vadjust:{number:Uh},__type__:{object:Zh,string:Yh}},__type__:{object:Zh,string:Yh}},group:{string:Yh,number:Uh,undefined:"undefined"},heightConstraint:{minimum:{number:Uh},valign:{string:Yh},__type__:{object:Zh,boolean:Hh,number:Uh}},hidden:{boolean:Hh},icon:{face:{string:Yh},code:{string:Yh},size:{number:Uh},color:{string:Yh},weight:{string:Yh,number:Uh},__type__:{object:Zh}},id:{string:Yh,number:Uh},image:{selected:{string:Yh,undefined:"undefined"},unselected:{string:Yh,undefined:"undefined"},__type__:{object:Zh,string:Yh}},imagePadding:{top:{number:Uh},right:{number:Uh},bottom:{number:Uh},left:{number:Uh},__type__:{object:Zh,number:Uh}},label:{string:Yh,undefined:"undefined"},labelHighlightBold:{boolean:Hh},level:{number:Uh,undefined:"undefined"},margin:{top:{number:Uh},right:{number:Uh},bottom:{number:Uh},left:{number:Uh},__type__:{object:Zh,number:Uh}},mass:{number:Uh},physics:{boolean:Hh},scaling:{min:{number:Uh},max:{number:Uh},label:{enabled:{boolean:Hh},min:{number:Uh},max:{number:Uh},maxVisible:{number:Uh},drawThreshold:{number:Uh},__type__:{object:Zh,boolean:Hh}},customScalingFunction:{function:"function"},__type__:{object:Zh}},shadow:{enabled:{boolean:Hh},color:{string:Yh},size:{number:Uh},x:{number:Uh},y:{number:Uh},__type__:{object:Zh,boolean:Hh}},shape:{string:["custom","ellipse","circle","database","box","text","image","circularImage","diamond","dot","star","triangle","triangleDown","square","icon","hexagon"]},ctxRenderer:{function:"function"},shapeProperties:{borderDashes:{boolean:Hh,array:Xh},borderRadius:{number:Uh},interpolation:{boolean:Hh},useImageSize:{boolean:Hh},useBorderWithImage:{boolean:Hh},coordinateOrigin:{string:["center","top-left"]},__type__:{object:Zh}},size:{number:Uh},title:{string:Yh,dom:"dom",undefined:"undefined"},value:{number:Uh,undefined:"undefined"},widthConstraint:{minimum:{number:Uh},maximum:{number:Uh},__type__:{object:Zh,boolean:Hh,number:Uh}},x:{number:Uh},y:{number:Uh},__type__:{object:Zh}},Qh={configure:{enabled:{boolean:Hh},filter:{boolean:Hh,string:Yh,array:Xh,function:"function"},container:{dom:"dom"},showButton:{boolean:Hh},__type__:{object:Zh,boolean:Hh,string:Yh,array:Xh,function:"function"}},edges:{arrows:{to:{enabled:{boolean:Hh},scaleFactor:{number:Uh},type:{string:qh},imageHeight:{number:Uh},imageWidth:{number:Uh},src:{string:Yh},__type__:{object:Zh,boolean:Hh}},middle:{enabled:{boolean:Hh},scaleFactor:{number:Uh},type:{string:qh},imageWidth:{number:Uh},imageHeight:{number:Uh},src:{string:Yh},__type__:{object:Zh,boolean:Hh}},from:{enabled:{boolean:Hh},scaleFactor:{number:Uh},type:{string:qh},imageWidth:{number:Uh},imageHeight:{number:Uh},src:{string:Yh},__type__:{object:Zh,boolean:Hh}},__type__:{string:["from","to","middle"],object:Zh}},endPointOffset:{from:{number:Uh},to:{number:Uh},__type__:{object:Zh,number:Uh}},arrowStrikethrough:{boolean:Hh},background:{enabled:{boolean:Hh},color:{string:Yh},size:{number:Uh},dashes:{boolean:Hh,array:Xh},__type__:{object:Zh,boolean:Hh}},chosen:{label:{boolean:Hh,function:"function"},edge:{boolean:Hh,function:"function"},__type__:{object:Zh,boolean:Hh}},color:{color:{string:Yh},highlight:{string:Yh},hover:{string:Yh},inherit:{string:["from","to","both"],boolean:Hh},opacity:{number:Uh},__type__:{object:Zh,string:Yh}},dashes:{boolean:Hh,array:Xh},font:{color:{string:Yh},size:{number:Uh},face:{string:Yh},background:{string:Yh},strokeWidth:{number:Uh},strokeColor:{string:Yh},align:{string:["horizontal","top","middle","bottom"]},vadjust:{number:Uh},multi:{boolean:Hh,string:Yh},bold:{color:{string:Yh},size:{number:Uh},face:{string:Yh},mod:{string:Yh},vadjust:{number:Uh},__type__:{object:Zh,string:Yh}},boldital:{color:{string:Yh},size:{number:Uh},face:{string:Yh},mod:{string:Yh},vadjust:{number:Uh},__type__:{object:Zh,string:Yh}},ital:{color:{string:Yh},size:{number:Uh},face:{string:Yh},mod:{string:Yh},vadjust:{number:Uh},__type__:{object:Zh,string:Yh}},mono:{color:{string:Yh},size:{number:Uh},face:{string:Yh},mod:{string:Yh},vadjust:{number:Uh},__type__:{object:Zh,string:Yh}},__type__:{object:Zh,string:Yh}},hidden:{boolean:Hh},hoverWidth:{function:"function",number:Uh},label:{string:Yh,undefined:"undefined"},labelHighlightBold:{boolean:Hh},length:{number:Uh,undefined:"undefined"},physics:{boolean:Hh},scaling:{min:{number:Uh},max:{number:Uh},label:{enabled:{boolean:Hh},min:{number:Uh},max:{number:Uh},maxVisible:{number:Uh},drawThreshold:{number:Uh},__type__:{object:Zh,boolean:Hh}},customScalingFunction:{function:"function"},__type__:{object:Zh}},selectionWidth:{function:"function",number:Uh},selfReferenceSize:{number:Uh},selfReference:{size:{number:Uh},angle:{number:Uh},renderBehindTheNode:{boolean:Hh},__type__:{object:Zh}},shadow:{enabled:{boolean:Hh},color:{string:Yh},size:{number:Uh},x:{number:Uh},y:{number:Uh},__type__:{object:Zh,boolean:Hh}},smooth:{enabled:{boolean:Hh},type:{string:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"]},roundness:{number:Uh},forceDirection:{string:["horizontal","vertical","none"],boolean:Hh},__type__:{object:Zh,boolean:Hh}},title:{string:Yh,undefined:"undefined"},width:{number:Uh},widthConstraint:{maximum:{number:Uh},__type__:{object:Zh,boolean:Hh,number:Uh}},value:{number:Uh,undefined:"undefined"},__type__:{object:Zh}},groups:{useDefaultGroups:{boolean:Hh},__any__:Kh,__type__:{object:Zh}},interaction:{dragNodes:{boolean:Hh},dragView:{boolean:Hh},hideEdgesOnDrag:{boolean:Hh},hideEdgesOnZoom:{boolean:Hh},hideNodesOnDrag:{boolean:Hh},hover:{boolean:Hh},keyboard:{enabled:{boolean:Hh},speed:{x:{number:Uh},y:{number:Uh},zoom:{number:Uh},__type__:{object:Zh}},bindToWindow:{boolean:Hh},__type__:{object:Zh,boolean:Hh}},multiselect:{boolean:Hh},navigationButtons:{boolean:Hh},selectable:{boolean:Hh},selectConnectedEdges:{boolean:Hh},hoverConnectedEdges:{boolean:Hh},tooltipDelay:{number:Uh},zoomView:{boolean:Hh},zoomSpeed:{number:Uh},__type__:{object:Zh}},layout:{randomSeed:{undefined:"undefined",number:Uh,string:Yh},improvedLayout:{boolean:Hh},clusterThreshold:{number:Uh},hierarchical:{enabled:{boolean:Hh},levelSeparation:{number:Uh},nodeSpacing:{number:Uh},treeSpacing:{number:Uh},blockShifting:{boolean:Hh},edgeMinimization:{boolean:Hh},parentCentralization:{boolean:Hh},direction:{string:["UD","DU","LR","RL"]},sortMethod:{string:["hubsize","directed"]},shakeTowards:{string:["leaves","roots"]},__type__:{object:Zh,boolean:Hh}},__type__:{object:Zh}},manipulation:{enabled:{boolean:Hh},initiallyActive:{boolean:Hh},addNode:{boolean:Hh,function:"function"},addEdge:{boolean:Hh,function:"function"},editNode:{function:"function"},editEdge:{editWithoutDrag:{function:"function"},__type__:{object:Zh,boolean:Hh,function:"function"}},deleteNode:{boolean:Hh,function:"function"},deleteEdge:{boolean:Hh,function:"function"},controlNodeStyle:Kh,__type__:{object:Zh,boolean:Hh}},nodes:Kh,physics:{enabled:{boolean:Hh},barnesHut:{theta:{number:Uh},gravitationalConstant:{number:Uh},centralGravity:{number:Uh},springLength:{number:Uh},springConstant:{number:Uh},damping:{number:Uh},avoidOverlap:{number:Uh},__type__:{object:Zh}},forceAtlas2Based:{theta:{number:Uh},gravitationalConstant:{number:Uh},centralGravity:{number:Uh},springLength:{number:Uh},springConstant:{number:Uh},damping:{number:Uh},avoidOverlap:{number:Uh},__type__:{object:Zh}},repulsion:{centralGravity:{number:Uh},springLength:{number:Uh},springConstant:{number:Uh},nodeDistance:{number:Uh},damping:{number:Uh},__type__:{object:Zh}},hierarchicalRepulsion:{centralGravity:{number:Uh},springLength:{number:Uh},springConstant:{number:Uh},nodeDistance:{number:Uh},damping:{number:Uh},avoidOverlap:{number:Uh},__type__:{object:Zh}},maxVelocity:{number:Uh},minVelocity:{number:Uh},solver:{string:["barnesHut","repulsion","hierarchicalRepulsion","forceAtlas2Based"]},stabilization:{enabled:{boolean:Hh},iterations:{number:Uh},updateInterval:{number:Uh},onlyDynamicEdges:{boolean:Hh},fit:{boolean:Hh},__type__:{object:Zh,boolean:Hh}},timestep:{number:Uh},adaptiveTimestep:{boolean:Hh},wind:{x:{number:Uh},y:{number:Uh},__type__:{object:Zh}},__type__:{object:Zh,boolean:Hh}},autoResize:{boolean:Hh},clickToUse:{boolean:Hh},locale:{string:Yh},locales:{__any__:{any:"any"},__type__:{object:Zh}},height:{string:Yh},width:{string:Yh},__type__:{object:Zh}},Jh={nodes:{borderWidth:[1,0,10,1],borderWidthSelected:[2,0,10,1],color:{border:["color","#2B7CE9"],background:["color","#97C2FC"],highlight:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]},hover:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]}},opacity:[0,0,1,.1],fixed:{x:!1,y:!1},font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[0,0,50,1],strokeColor:["color","#ffffff"]},hidden:!1,labelHighlightBold:!0,physics:!0,scaling:{min:[10,0,200,1],max:[30,0,200,1],label:{enabled:!1,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},shape:["ellipse","box","circle","database","diamond","dot","square","star","text","triangle","triangleDown","hexagon"],shapeProperties:{borderDashes:!1,borderRadius:[6,0,20,1],interpolation:!0,useImageSize:!1},size:[25,0,200,1]},edges:{arrows:{to:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},middle:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},from:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"}},endPointOffset:{from:[0,-10,10,1],to:[0,-10,10,1]},arrowStrikethrough:!0,color:{color:["color","#848484"],highlight:["color","#848484"],hover:["color","#848484"],inherit:["from","to","both",!0,!1],opacity:[1,0,1,.05]},dashes:!1,font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[2,0,50,1],strokeColor:["color","#ffffff"],align:["horizontal","top","middle","bottom"]},hidden:!1,hoverWidth:[1.5,0,5,.1],labelHighlightBold:!0,physics:!0,scaling:{min:[1,0,100,1],max:[15,0,100,1],label:{enabled:!0,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},selectionWidth:[1.5,0,5,.1],selfReferenceSize:[20,0,200,1],selfReference:{size:[20,0,200,1],angle:[Math.PI/2,-6*Math.PI,6*Math.PI,Math.PI/8],renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},smooth:{enabled:!0,type:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"],forceDirection:["horizontal","vertical","none"],roundness:[.5,0,1,.05]},width:[1,0,30,1]},layout:{hierarchical:{enabled:!1,levelSeparation:[150,20,500,5],nodeSpacing:[100,20,500,5],treeSpacing:[200,20,500,5],blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:["UD","DU","LR","RL"],sortMethod:["hubsize","directed"],shakeTowards:["leaves","roots"]}},interaction:{dragNodes:!0,dragView:!0,hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1,hover:!1,keyboard:{enabled:!1,speed:{x:[10,0,40,1],y:[10,0,40,1],zoom:[.02,0,.1,.005]},bindToWindow:!0},multiselect:!1,navigationButtons:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0,tooltipDelay:[300,0,1e3,25],zoomView:!0,zoomSpeed:[1,.1,2,.1]},manipulation:{enabled:!1,initiallyActive:!1},physics:{enabled:!0,barnesHut:{theta:[.5,.1,1,.05],gravitationalConstant:[-2e3,-3e4,0,50],centralGravity:[.3,0,10,.05],springLength:[95,0,500,5],springConstant:[.04,0,1.2,.005],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},forceAtlas2Based:{theta:[.5,.1,1,.05],gravitationalConstant:[-50,-500,0,1],centralGravity:[.01,0,1,.005],springLength:[95,0,500,5],springConstant:[.08,0,1.2,.005],damping:[.4,0,1,.01],avoidOverlap:[0,0,1,.01]},repulsion:{centralGravity:[.2,0,10,.05],springLength:[200,0,500,5],springConstant:[.05,0,1.2,.005],nodeDistance:[100,0,500,5],damping:[.09,0,1,.01]},hierarchicalRepulsion:{centralGravity:[.2,0,10,.05],springLength:[100,0,500,5],springConstant:[.01,0,1.2,.005],nodeDistance:[120,0,500,5],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},maxVelocity:[50,0,150,1],minVelocity:[.1,.01,.5,.01],solver:["barnesHut","forceAtlas2Based","repulsion","hierarchicalRepulsion"],timestep:[.5,.01,1,.01],wind:{x:[0,-10,10,.1],y:[0,-10,10,.1]}}},$h=function(t,e,n){var r;return!(!Xi(t).call(t,"physics")||!Xi(r=Jh.physics.solver).call(r,e)||n.physics.solver===e||"wind"===e)},tp=function(){function t(){Fr(this,t)}return Vr(t,[{key:"getDistances",value:function(t,e,n){for(var r={},i=t.edges,o=0;o<e.length;o++){var a={};r[e[o]]=a;for(var s=0;s<e.length;s++)a[e[s]]=o==s?0:1e9}for(var c=0;c<n.length;c++){var l=i[n[c]];!0===l.connected&&void 0!==r[l.fromId]&&void 0!==r[l.toId]&&(r[l.fromId][l.toId]=1,r[l.toId][l.fromId]=1)}for(var u=e.length,g=0;g<u;g++)for(var f=e[g],d=r[f],h=0;h<u-1;h++)for(var p=e[h],A=r[p],C=h+1;C<u;C++){var v=e[C],I=r[v],y=Math.min(A[v],A[f]+d[v]);A[v]=y,I[p]=y}return r}}]),t}(),ep=function(){function t(e,n,r){Fr(this,t),this.body=e,this.springLength=n,this.springConstant=r,this.distanceSolver=new tp}return Vr(t,[{key:"setOptions",value:function(t){t&&(t.springLength&&(this.springLength=t.springLength),t.springConstant&&(this.springConstant=t.springConstant))}},{key:"solve",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.distanceSolver.getDistances(this.body,t,e);this._createL_matrix(r),this._createK_matrix(r),this._createE_matrix();for(var i=.01,o=1,a=0,s=Math.max(1e3,Math.min(10*this.body.nodeIndices.length,6e3)),c=5,l=1e9,u=0,g=0,f=0,d=0,h=0;l>i&&a<s;){a+=1;var p=this._getHighestEnergyNode(n),A=Yo(p,4);for(u=A[0],l=A[1],g=A[2],f=A[3],d=l,h=0;d>o&&h<c;){h+=1,this._moveNode(u,g,f);var C=this._getEnergy(u),v=Yo(C,3);d=v[0],g=v[1],f=v[2]}}}},{key:"_getHighestEnergyNode",value:function(t){for(var e=this.body.nodeIndices,n=this.body.nodes,r=0,i=e[0],o=0,a=0,s=0;s<e.length;s++){var c=e[s];if(!0!==n[c].predefinedPosition||!0===n[c].isCluster&&!0===t||!0!==n[c].options.fixed.x||!0!==n[c].options.fixed.y){var l=this._getEnergy(c),u=Yo(l,3),g=u[0],f=u[1],d=u[2];r<g&&(r=g,i=c,o=f,a=d)}}return[i,r,o,a]}},{key:"_getEnergy",value:function(t){var e=Yo(this.E_sums[t],2),n=e[0],r=e[1];return[Math.sqrt(Math.pow(n,2)+Math.pow(r,2)),n,r]}},{key:"_moveNode",value:function(t,e,n){for(var r=this.body.nodeIndices,i=this.body.nodes,o=0,a=0,s=0,c=i[t].x,l=i[t].y,u=this.K_matrix[t],g=this.L_matrix[t],f=0;f<r.length;f++){var d=r[f];if(d!==t){var h=i[d].x,p=i[d].y,A=u[d],C=g[d],v=1/Math.pow(Math.pow(c-h,2)+Math.pow(l-p,2),1.5);o+=A*(1-C*Math.pow(l-p,2)*v),a+=A*(C*(c-h)*(l-p)*v),s+=A*(1-C*Math.pow(c-h,2)*v)}}var I=(e/o+n/a)/(a/o-s/a),y=-(a*I+e)/o;i[t].x+=y,i[t].y+=I,this._updateE_matrix(t)}},{key:"_createL_matrix",value:function(t){var e=this.body.nodeIndices,n=this.springLength;this.L_matrix=[];for(var r=0;r<e.length;r++){this.L_matrix[e[r]]={};for(var i=0;i<e.length;i++)this.L_matrix[e[r]][e[i]]=n*t[e[r]][e[i]]}}},{key:"_createK_matrix",value:function(t){var e=this.body.nodeIndices,n=this.springConstant;this.K_matrix=[];for(var r=0;r<e.length;r++){this.K_matrix[e[r]]={};for(var i=0;i<e.length;i++)this.K_matrix[e[r]][e[i]]=n*Math.pow(t[e[r]][e[i]],-2)}}},{key:"_createE_matrix",value:function(){var t=this.body.nodeIndices,e=this.body.nodes;this.E_matrix={},this.E_sums={};for(var n=0;n<t.length;n++)this.E_matrix[t[n]]=[];for(var r=0;r<t.length;r++){for(var i=t[r],o=e[i].x,a=e[i].y,s=0,c=0,l=r;l<t.length;l++){var u=t[l];if(u!==i){var g=e[u].x,f=e[u].y,d=1/Math.sqrt(Math.pow(o-g,2)+Math.pow(a-f,2));this.E_matrix[i][l]=[this.K_matrix[i][u]*(o-g-this.L_matrix[i][u]*(o-g)*d),this.K_matrix[i][u]*(a-f-this.L_matrix[i][u]*(a-f)*d)],this.E_matrix[u][r]=this.E_matrix[i][l],s+=this.E_matrix[i][l][0],c+=this.E_matrix[i][l][1]}}this.E_sums[i]=[s,c]}}},{key:"_updateE_matrix",value:function(t){for(var e=this.body.nodeIndices,n=this.body.nodes,r=this.E_matrix[t],i=this.K_matrix[t],o=this.L_matrix[t],a=n[t].x,s=n[t].y,c=0,l=0,u=0;u<e.length;u++){var g=e[u];if(g!==t){var f=r[u],d=f[0],h=f[1],p=n[g].x,A=n[g].y,C=1/Math.sqrt(Math.pow(a-p,2)+Math.pow(s-A,2)),v=i[g]*(a-p-o[g]*(a-p)*C),I=i[g]*(s-A-o[g]*(s-A)*C);r[u]=[v,I],c+=v,l+=I;var y=this.E_sums[g];y[0]+=v-d,y[1]+=I-h}}this.E_sums[t]=[c,l]}}]),t}();function np(t,e,n){var r,i,o,a,s=this;if(!(this instanceof np))throw new SyntaxError("Constructor must be called with the new operator");this.options={},this.defaultOptions={locale:"en",locales:Dl,clickToUse:!1},yt(this.options,this.defaultOptions),this.body={container:t,nodes:{},nodeIndices:[],edges:{},edgeIndices:[],emitter:{on:$(r=this.on).call(r,this),off:$(i=this.off).call(i,this),emit:$(o=this.emit).call(o,this),once:$(a=this.once).call(a,this)},eventListeners:{onTap:function(){},onTouch:function(){},onDoubleTap:function(){},onHold:function(){},onDragStart:function(){},onDrag:function(){},onDragEnd:function(){},onMouseWheel:function(){},onPinch:function(){},onMouseMove:function(){},onRelease:function(){},onContext:function(){}},data:{nodes:null,edges:null},functions:{createNode:function(){},createEdge:function(){},getPointer:function(){}},modules:{},view:{scale:1,translation:{x:0,y:0}},selectionBox:{show:!1,position:{start:{x:0,y:0},end:{x:0,y:0}}}},this.bindEventListeners(),this.images=new Ll((function(){return s.body.emitter.emit("_requestRedraw")})),this.groups=new nu,this.canvas=new Yd(this.body),this.selectionHandler=new xh(this.body,this.canvas),this.interactionHandler=new Qd(this.body,this.canvas,this.selectionHandler),this.view=new Ud(this.body,this.canvas),this.renderer=new zd(this.body,this.canvas),this.physics=new Td(this.body),this.layoutEngine=new zh(this.body),this.clustering=new Ld(this.body),this.manipulation=new Wh(this.body,this.canvas,this.selectionHandler,this.interactionHandler),this.nodesHandler=new Rf(this.body,this.images,this.groups,this.layoutEngine),this.edgesHandler=new bd(this.body,this.images,this.groups),this.body.modules.kamadaKawai=new ep(this.body,150,.05),this.body.modules.clustering=this.clustering,this.canvas._create(),this.setOptions(n),this.setData(e)}kt(np.prototype),np.prototype.setOptions=function(t){var e=this;if(null===t&&(t=void 0),void 0!==t){!0===el.validate(t,Qh)&&console.error("%cErrors have been found in the supplied options object.",tl);if(xc(["locale","locales","clickToUse"],this.options,t),void 0!==t.locale&&(t.locale=function(t,e){try{var n=e.split(/[-_ /]/,2),r=Yo(n,2),i=r[0],o=r[1],a=null!=i?i.toLowerCase():null,s=null!=o?o.toUpperCase():null;if(a&&s){var c,l=a+"-"+s;if(Object.prototype.hasOwnProperty.call(t,l))return l;console.warn(fa(c="Unknown variant ".concat(s," of language ")).call(c,a,"."))}if(a){var u=a;if(Object.prototype.hasOwnProperty.call(t,u))return u;console.warn("Unknown language ".concat(a))}return console.warn("Unknown locale ".concat(e,", falling back to English.")),"en"}catch(rp){return console.error(rp),console.warn("Unexpected error while normalizing locale ".concat(e,", falling back to English.")),"en"}}(t.locales||this.options.locales,t.locale)),t=this.layoutEngine.setOptions(t.layout,t),this.canvas.setOptions(t),this.groups.setOptions(t.groups),this.nodesHandler.setOptions(t.nodes),this.edgesHandler.setOptions(t.edges),this.physics.setOptions(t.physics),this.manipulation.setOptions(t.manipulation,t,this.options),this.interactionHandler.setOptions(t.interaction),this.renderer.setOptions(t.interaction),this.selectionHandler.setOptions(t.interaction),void 0!==t.groups&&this.body.emitter.emit("refreshNodes"),"configure"in t&&(this.configurator||(this.configurator=new Qc(this,this.body.container,Jh,this.canvas.pixelRatio,$h)),this.configurator.setOptions(t.configure)),this.configurator&&!0===this.configurator.options.enabled){var n={nodes:{},edges:{},layout:{},interaction:{},manipulation:{},physics:{},global:{}};Oc(n.nodes,this.nodesHandler.options),Oc(n.edges,this.edgesHandler.options),Oc(n.layout,this.layoutEngine.options),Oc(n.interaction,this.selectionHandler.options),Oc(n.interaction,this.renderer.options),Oc(n.interaction,this.interactionHandler.options),Oc(n.manipulation,this.manipulation.options),Oc(n.physics,this.physics.options),Oc(n.global,this.canvas.options),Oc(n.global,this.options),this.configurator.setModuleOptions(n)}void 0!==t.clickToUse?!0===t.clickToUse?void 0===this.activator&&(this.activator=new Kc(this.canvas.frame),this.activator.on("change",(function(){e.body.emitter.emit("activate")}))):(void 0!==this.activator&&(this.activator.destroy(),delete this.activator),this.body.emitter.emit("activate")):this.body.emitter.emit("activate"),this.canvas.setSize(),this.body.emitter.emit("startSimulation")}},np.prototype._updateVisibleIndices=function(){var t=this.body.nodes,e=this.body.edges;for(var n in this.body.nodeIndices=[],this.body.edgeIndices=[],t)Object.prototype.hasOwnProperty.call(t,n)&&(this.clustering._isClusteredNode(n)||!1!==t[n].options.hidden||this.body.nodeIndices.push(t[n].id));for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r],o=t[i.fromId],a=t[i.toId],s=void 0!==o&&void 0!==a;!this.clustering._isClusteredEdge(r)&&!1===i.options.hidden&&s&&!1===o.options.hidden&&!1===a.options.hidden&&this.body.edgeIndices.push(i.id)}},np.prototype.bindEventListeners=function(){var t=this;this.body.emitter.on("_dataChanged",(function(){t.edgesHandler._updateState(),t.body.emitter.emit("_dataUpdated")})),this.body.emitter.on("_dataUpdated",(function(){t.clustering._updateState(),t._updateVisibleIndices(),t._updateValueRange(t.body.nodes),t._updateValueRange(t.body.edges),t.body.emitter.emit("startSimulation"),t.body.emitter.emit("_requestRedraw")}))},np.prototype.setData=function(t){if(this.body.emitter.emit("resetPhysics"),this.body.emitter.emit("_resetData"),this.selectionHandler.unselectAll(),t&&t.dot&&(t.nodes||t.edges))throw new SyntaxError('Data must contain either parameter "dot" or parameter pair "nodes" and "edges", but not both.');if(this.setOptions(t&&t.options),t&&t.dot){console.warn("The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);");var e=Tl(t.dot);this.setData(e)}else if(t&&t.gephi){console.warn("The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);");var n=Rl(t.gephi);this.setData(n)}else this.nodesHandler.setData(t&&t.nodes,!0),this.edgesHandler.setData(t&&t.edges,!0),this.body.emitter.emit("_dataChanged"),this.body.emitter.emit("_dataLoaded"),this.body.emitter.emit("initPhysics")},np.prototype.destroy=function(){for(var t in this.body.emitter.emit("destroy"),this.body.emitter.off(),this.off(),delete this.groups,delete this.canvas,delete this.selectionHandler,delete this.interactionHandler,delete this.view,delete this.renderer,delete this.physics,delete this.layoutEngine,delete this.clustering,delete this.manipulation,delete this.nodesHandler,delete this.edgesHandler,delete this.configurator,delete this.images,this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&delete this.body.nodes[t];for(var e in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,e)&&delete this.body.edges[e];vc(this.body.container)},np.prototype._updateValueRange=function(t){var e,n=void 0,r=void 0,i=0;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var o=t[e].getValue();void 0!==o&&(n=void 0===n?o:Math.min(o,n),r=void 0===r?o:Math.max(o,r),i+=o)}if(void 0!==n&&void 0!==r)for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&t[e].setValueRange(n,r,i)},np.prototype.isActive=function(){return!this.activator||this.activator.active},np.prototype.setSize=function(){return this.canvas.setSize.apply(this.canvas,arguments)},np.prototype.canvasToDOM=function(){return this.canvas.canvasToDOM.apply(this.canvas,arguments)},np.prototype.DOMtoCanvas=function(){return this.canvas.DOMtoCanvas.apply(this.canvas,arguments)},np.prototype.findNode=function(){return this.clustering.findNode.apply(this.clustering,arguments)},np.prototype.isCluster=function(){return this.clustering.isCluster.apply(this.clustering,arguments)},np.prototype.openCluster=function(){return this.clustering.openCluster.apply(this.clustering,arguments)},np.prototype.cluster=function(){return this.clustering.cluster.apply(this.clustering,arguments)},np.prototype.getNodesInCluster=function(){return this.clustering.getNodesInCluster.apply(this.clustering,arguments)},np.prototype.clusterByConnection=function(){return this.clustering.clusterByConnection.apply(this.clustering,arguments)},np.prototype.clusterByHubsize=function(){return this.clustering.clusterByHubsize.apply(this.clustering,arguments)},np.prototype.updateClusteredNode=function(){return this.clustering.updateClusteredNode.apply(this.clustering,arguments)},np.prototype.getClusteredEdges=function(){return this.clustering.getClusteredEdges.apply(this.clustering,arguments)},np.prototype.getBaseEdge=function(){return this.clustering.getBaseEdge.apply(this.clustering,arguments)},np.prototype.getBaseEdges=function(){return this.clustering.getBaseEdges.apply(this.clustering,arguments)},np.prototype.updateEdge=function(){return this.clustering.updateEdge.apply(this.clustering,arguments)},np.prototype.clusterOutliers=function(){return this.clustering.clusterOutliers.apply(this.clustering,arguments)},np.prototype.getSeed=function(){return this.layoutEngine.getSeed.apply(this.layoutEngine,arguments)},np.prototype.enableEditMode=function(){return this.manipulation.enableEditMode.apply(this.manipulation,arguments)},np.prototype.disableEditMode=function(){return this.manipulation.disableEditMode.apply(this.manipulation,arguments)},np.prototype.addNodeMode=function(){return this.manipulation.addNodeMode.apply(this.manipulation,arguments)},np.prototype.editNode=function(){return this.manipulation.editNode.apply(this.manipulation,arguments)},np.prototype.editNodeMode=function(){return console.warn("Deprecated: Please use editNode instead of editNodeMode."),this.manipulation.editNode.apply(this.manipulation,arguments)},np.prototype.addEdgeMode=function(){return this.manipulation.addEdgeMode.apply(this.manipulation,arguments)},np.prototype.editEdgeMode=function(){return this.manipulation.editEdgeMode.apply(this.manipulation,arguments)},np.prototype.deleteSelected=function(){return this.manipulation.deleteSelected.apply(this.manipulation,arguments)},np.prototype.getPositions=function(){return this.nodesHandler.getPositions.apply(this.nodesHandler,arguments)},np.prototype.getPosition=function(){return this.nodesHandler.getPosition.apply(this.nodesHandler,arguments)},np.prototype.storePositions=function(){return this.nodesHandler.storePositions.apply(this.nodesHandler,arguments)},np.prototype.moveNode=function(){return this.nodesHandler.moveNode.apply(this.nodesHandler,arguments)},np.prototype.getBoundingBox=function(){return this.nodesHandler.getBoundingBox.apply(this.nodesHandler,arguments)},np.prototype.getConnectedNodes=function(t){return void 0!==this.body.nodes[t]?this.nodesHandler.getConnectedNodes.apply(this.nodesHandler,arguments):this.edgesHandler.getConnectedNodes.apply(this.edgesHandler,arguments)},np.prototype.getConnectedEdges=function(){return this.nodesHandler.getConnectedEdges.apply(this.nodesHandler,arguments)},np.prototype.startSimulation=function(){return this.physics.startSimulation.apply(this.physics,arguments)},np.prototype.stopSimulation=function(){return this.physics.stopSimulation.apply(this.physics,arguments)},np.prototype.stabilize=function(){return this.physics.stabilize.apply(this.physics,arguments)},np.prototype.getSelection=function(){return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments)},np.prototype.setSelection=function(){return this.selectionHandler.setSelection.apply(this.selectionHandler,arguments)},np.prototype.getSelectedNodes=function(){return this.selectionHandler.getSelectedNodeIds.apply(this.selectionHandler,arguments)},np.prototype.getSelectedEdges=function(){return this.selectionHandler.getSelectedEdgeIds.apply(this.selectionHandler,arguments)},np.prototype.getNodeAt=function(){var t=this.selectionHandler.getNodeAt.apply(this.selectionHandler,arguments);return void 0!==t&&void 0!==t.id?t.id:t},np.prototype.getEdgeAt=function(){var t=this.selectionHandler.getEdgeAt.apply(this.selectionHandler,arguments);return void 0!==t&&void 0!==t.id?t.id:t},np.prototype.selectNodes=function(){return this.selectionHandler.selectNodes.apply(this.selectionHandler,arguments)},np.prototype.selectEdges=function(){return this.selectionHandler.selectEdges.apply(this.selectionHandler,arguments)},np.prototype.unselectAll=function(){this.selectionHandler.unselectAll.apply(this.selectionHandler,arguments),this.selectionHandler.commitWithoutEmitting.apply(this.selectionHandler),this.redraw()},np.prototype.redraw=function(){return this.renderer.redraw.apply(this.renderer,arguments)},np.prototype.getScale=function(){return this.view.getScale.apply(this.view,arguments)},np.prototype.getViewPosition=function(){return this.view.getViewPosition.apply(this.view,arguments)},np.prototype.fit=function(){return this.view.fit.apply(this.view,arguments)},np.prototype.moveTo=function(){return this.view.moveTo.apply(this.view,arguments)},np.prototype.focus=function(){return this.view.focus.apply(this.view,arguments)},np.prototype.releaseNode=function(){return this.view.releaseNode.apply(this.view,arguments)},np.prototype.getOptionsFromConfigurator=function(){var t={};return this.configurator&&(t=this.configurator.getOptions.apply(this.configurator)),t}}).call(this,n(60))},function(t,e,n){"use strict";var r=n(543),i=n.n(r);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var a=function t(e,n){var r=n.default,i=void 0===r?null:r,o=n.triggerUpdate,a=void 0===o||o,s=n.onChange,c=void 0===s?function(t,e){}:s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.name=e,this.defaultVal=i,this.triggerUpdate=a,this.onChange=c};var s=function(t){var e=t.stateInit,n=void 0===e?function(){return{}}:e,r=t.props,s=void 0===r?{}:r,c=t.methods,l=void 0===c?{}:c,u=t.aliases,g=void 0===u?{}:u,f=t.init,d=void 0===f?function(){}:f,h=t.update,p=void 0===h?function(){}:h,A=Object.keys(s).map((function(t){return new a(t,s[t])}));return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},n instanceof Function?n(t):n,{initialised:!1}),r={};function a(e){return s(e,t),c(),a}var s=function(t,n){d.call(a,t,e,n),e.initialised=!0},c=i()((function(){e.initialised&&(p.call(a,e,r),r={})}),1);return A.forEach((function(t){a[t.name]=function(t){var n=t.name,i=t.triggerUpdate,o=void 0!==i&&i,s=t.onChange,l=void 0===s?function(t,e){}:s,u=t.defaultVal,g=void 0===u?null:u;return function(t){var i=e[n];if(!arguments.length)return i;var s=void 0===t?g:t;return e[n]=s,l.call(a,s,e,i),!r.hasOwnProperty(n)&&(r[n]=i),o&&c(),a}}(t)})),Object.keys(l).forEach((function(t){a[t]=function(){for(var n,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=l[t]).call.apply(n,[a,e].concat(i))}})),Object.entries(g).forEach((function(t){var e=o(t,2),n=e[0],r=e[1];return a[n]=a[r]})),a.resetProps=function(){return A.forEach((function(t){a[t.name](t.defaultVal)})),a},a.resetProps(),e._rerender=c,a}},c=n(29);function l(t,e){var n;if(void 0===e){var r,i=Object(c.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(n>o||void 0===n&&o>=o)&&(n=o)}}catch(g){i.e(g)}finally{i.f()}}else{var a,s=-1,l=Object(c.a)(t);try{for(l.s();!(a=l.n()).done;){var u=a.value;null!=(u=e(u,++s,t))&&(n>u||void 0===n&&u>=u)&&(n=u)}}catch(g){l.e(g)}finally{l.f()}}return n}function u(t,e){var n;if(void 0===e){var r,i=Object(c.a)(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(n<o||void 0===n&&o>=o)&&(n=o)}}catch(g){i.e(g)}finally{i.f()}}else{var a,s=-1,l=Object(c.a)(t);try{for(l.s();!(a=l.n()).done;){var u=a.value;null!=(u=e(u,++s,t))&&(n<u||void 0===n&&u>=u)&&(n=u)}}catch(g){l.e(g)}finally{l.f()}}return n}var g=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},f=Array.prototype.slice,d=function(t){return t},h=1e-6;function p(t){return"translate("+t+",0)"}function A(t){return"translate(0,"+t+")"}function C(t){return function(e){return+t(e)}}function v(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function I(){return!this.__axis}function y(t,e){var n=[],r=null,i=null,o=6,a=6,s=3,c="undefined"!==typeof window&&window.devicePixelRatio>1?0:.5,l=1===t||4===t?-1:1,u=4===t||2===t?"x":"y",g=1===t||3===t?p:A;function y(f){var p=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,A=null==i?e.tickFormat?e.tickFormat.apply(e,n):d:i,y=Math.max(o,0)+s,m=e.range(),b=+m[0]+c,x=+m[m.length-1]+c,w=(e.bandwidth?v:C)(e.copy(),c),O=f.selection?f.selection():f,S=O.selectAll(".domain").data([null]),_=O.selectAll(".tick").data(p,e).order(),k=_.exit(),j=_.enter().append("g").attr("class","tick"),E=_.select("line"),P=_.select("text");S=S.merge(S.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),_=_.merge(j),E=E.merge(j.append("line").attr("stroke","currentColor").attr(u+"2",l*o)),P=P.merge(j.append("text").attr("fill","currentColor").attr(u,l*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),f!==O&&(S=S.transition(f),_=_.transition(f),E=E.transition(f),P=P.transition(f),k=k.transition(f).attr("opacity",h).attr("transform",(function(t){return isFinite(t=w(t))?g(t+c):this.getAttribute("transform")})),j.attr("opacity",h).attr("transform",(function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:w(t))+c)}))),k.remove(),S.attr("d",4===t||2===t?a?"M"+l*a+","+b+"H"+c+"V"+x+"H"+l*a:"M"+c+","+b+"V"+x:a?"M"+b+","+l*a+"V"+c+"H"+x+"V"+l*a:"M"+b+","+c+"H"+x),_.attr("opacity",1).attr("transform",(function(t){return g(w(t)+c)})),E.attr(u+"2",l*o),P.attr(u,l*y).text(A),O.filter(I).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),O.each((function(){this.__axis=w}))}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return n=f.call(arguments),y},y.tickArguments=function(t){return arguments.length?(n=null==t?[]:f.call(t),y):n.slice()},y.tickValues=function(t){return arguments.length?(r=null==t?null:f.call(t),y):r&&r.slice()},y.tickFormat=function(t){return arguments.length?(i=t,y):i},y.tickSize=function(t){return arguments.length?(o=a=+t,y):o},y.tickSizeInner=function(t){return arguments.length?(o=+t,y):o},y.tickSizeOuter=function(t){return arguments.length?(a=+t,y):a},y.tickPadding=function(t){return arguments.length?(s=+t,y):s},y.offset=function(t){return arguments.length?(c=+t,y):c},y}function m(t){return y(3,t)}var b=n(89),x=n(203),w=n(346),O=n(58),S=n(530),_=n(256),k=n(110);function j(){}var E=function(t){return null==t?j:function(){return this.querySelector(t)}},P=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)};function M(){return[]}var T=function(t){return null==t?M:function(){return this.querySelectorAll(t)}};var R=function(t){return function(){return this.matches(t)}};function D(t){return function(e){return e.matches(t)}}var N=Array.prototype.find;function L(){return this.firstElementChild}var F=Array.prototype.filter;function B(){return this.children}var z=function(t){return new Array(t.length)};function V(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}V.prototype={constructor:V,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var G=function(t){return function(){return t}};function W(t,e,n,r,i,o){for(var a,s=0,c=e.length,l=o.length;s<l;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new V(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function Y(t,e,n,r,i,o,a){var s,c,l,u=new Map,g=e.length,f=o.length,d=new Array(g);for(s=0;s<g;++s)(c=e[s])&&(d[s]=l=a.call(c,c.__data__,s,e)+"",u.has(l)?i[s]=c:u.set(l,c));for(s=0;s<f;++s)l=a.call(t,o[s],s,o)+"",(c=u.get(l))?(r[s]=c,c.__data__=o[s],u.delete(l)):n[s]=new V(t,o[s]);for(s=0;s<g;++s)(c=e[s])&&u.get(d[s])===c&&(i[s]=c)}function H(t){return t.__data__}function U(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var X="http://www.w3.org/1999/xhtml",Z={svg:"http://www.w3.org/2000/svg",xhtml:X,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},q=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Z.hasOwnProperty(e)?{space:Z[e],local:t}:t};function K(t){return function(){this.removeAttribute(t)}}function Q(t){return function(){this.removeAttributeNS(t.space,t.local)}}function J(t,e){return function(){this.setAttribute(t,e)}}function $(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function tt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function et(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var nt=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function rt(t){return function(){this.style.removeProperty(t)}}function it(t,e,n){return function(){this.style.setProperty(t,e,n)}}function ot(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function at(t,e){return t.style.getPropertyValue(e)||nt(t).getComputedStyle(t,null).getPropertyValue(e)}function st(t){return function(){delete this[t]}}function ct(t,e){return function(){this[t]=e}}function lt(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function ut(t){return t.trim().split(/^|\s+/)}function gt(t){return t.classList||new ft(t)}function ft(t){this._node=t,this._names=ut(t.getAttribute("class")||"")}function dt(t,e){for(var n=gt(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function ht(t,e){for(var n=gt(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function pt(t){return function(){dt(this,t)}}function At(t){return function(){ht(this,t)}}function Ct(t,e){return function(){(e.apply(this,arguments)?dt:ht)(this,t)}}ft.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function vt(){this.textContent=""}function It(t){return function(){this.textContent=t}}function yt(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function mt(){this.innerHTML=""}function bt(t){return function(){this.innerHTML=t}}function xt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function wt(){this.nextSibling&&this.parentNode.appendChild(this)}function Ot(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function St(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===X&&e.documentElement.namespaceURI===X?e.createElement(t):e.createElementNS(n,t)}}function _t(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var kt=function(t){var e=q(t);return(e.local?_t:St)(e)};function jt(){return null}function Et(){var t=this.parentNode;t&&t.removeChild(this)}function Pt(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Mt(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Tt(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Rt(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function Dt(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function Nt(t,e,n){var r=nt(t),i=r.CustomEvent;"function"===typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function Lt(t,e){return function(){return Nt(this,t,e)}}function Ft(t,e){return function(){return Nt(this,t,e.apply(this,arguments))}}var Bt=n(101),zt=n.n(Bt),Vt=zt.a.mark(Gt);function Gt(){var t,e,n,r,i,o,a;return zt.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:t=this._groups,e=0,n=t.length;case 1:if(!(e<n)){s.next=13;break}r=t[e],i=0,o=r.length;case 3:if(!(i<o)){s.next=10;break}if(!(a=r[i])){s.next=7;break}return s.next=7,a;case 7:++i,s.next=3;break;case 10:++e,s.next=1;break;case 13:case"end":return s.stop()}}),Vt,this)}var Wt=[null];function Yt(t,e){this._groups=t,this._parents=e}function Ht(){return new Yt([[document.documentElement]],Wt)}Yt.prototype=Ht.prototype=Object(k.a)({constructor:Yt,select:function(t){"function"!==typeof t&&(t=E(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=e[i],c=s.length,l=r[i]=new Array(c),u=0;u<c;++u)(o=s[u])&&(a=t.call(o,o.__data__,u,s))&&("__data__"in o&&(a.__data__=o.__data__),l[u]=a);return new Yt(r,this._parents)},selectAll:function(t){t="function"===typeof t?function(t){return function(){var e=t.apply(this,arguments);return null==e?[]:P(e)}}(t):T(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,s=e[o],c=s.length,l=0;l<c;++l)(a=s[l])&&(r.push(t.call(a,a.__data__,l,s)),i.push(a));return new Yt(r,i)},selectChild:function(t){return this.select(null==t?L:function(t){return function(){return N.call(this.children,t)}}("function"===typeof t?t:D(t)))},selectChildren:function(t){return this.selectAll(null==t?B:function(t){return function(){return F.call(this.children,t)}}("function"===typeof t?t:D(t)))},filter:function(t){"function"!==typeof t&&(t=R(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],l=0;l<s;++l)(o=a[l])&&t.call(o,o.__data__,l,a)&&c.push(o);return new Yt(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,H);var n=e?Y:W,r=this._parents,i=this._groups;"function"!==typeof t&&(t=G(t));for(var o=i.length,a=new Array(o),s=new Array(o),c=new Array(o),l=0;l<o;++l){var u=r[l],g=i[l],f=g.length,d=P(t.call(u,u&&u.__data__,l,r)),h=d.length,p=s[l]=new Array(h),A=a[l]=new Array(h),C=c[l]=new Array(f);n(u,g,p,A,C,d,e);for(var v,I,y=0,m=0;y<h;++y)if(v=p[y]){for(y>=m&&(m=y+1);!(I=A[m])&&++m<h;);v._next=I||null}}return(a=new Yt(a,r))._enter=s,a._exit=c,a},enter:function(){return new Yt(this._enter||this._groups.map(z),this._parents)},exit:function(){return new Yt(this._exit||this._groups.map(z),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return r="function"===typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){if(!(t instanceof Yt))throw new Error("invalid merge");for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,l=e[s],u=n[s],g=l.length,f=a[s]=new Array(g),d=0;d<g;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)a[s]=e[s];return new Yt(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=U);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],c=s.length,l=i[o]=new Array(c),u=0;u<c;++u)(a=s[u])&&(l[u]=a);l.sort(e)}return new Yt(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t,e=0,n=Object(c.a)(this);try{for(n.s();!(t=n.n()).done;){t.value;++e}}catch(r){n.e(r)}finally{n.f()}return e},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=q(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?Q:K:"function"===typeof e?n.local?et:tt:n.local?$:J)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?rt:"function"===typeof e?ot:it)(t,e,null==n?"":n)):at(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?st:"function"===typeof e?lt:ct)(t,e)):this.node()[t]},classed:function(t,e){var n=ut(t+"");if(arguments.length<2){for(var r=gt(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"===typeof e?Ct:e?pt:At)(n,e))},text:function(t){return arguments.length?this.each(null==t?vt:("function"===typeof t?yt:It)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?mt:("function"===typeof t?xt:bt)(t)):this.node().innerHTML},raise:function(){return this.each(wt)},lower:function(){return this.each(Ot)},append:function(t){var e="function"===typeof t?t:kt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"===typeof t?t:kt(t),r=null==e?jt:"function"===typeof e?e:E(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(Et)},clone:function(t){return this.select(t?Mt:Pt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=Tt(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Dt:Rt,r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"===typeof e?Ft:Lt)(t,e))}},Symbol.iterator,Gt);var Ut=Ht,Xt=function(t){return"string"===typeof t?new Yt([[document.querySelector(t)]],[document.documentElement]):new Yt([[t]],Wt)},Zt=function(t,e){if(t=function(t){for(var e;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]},qt=n(1036),Kt="$";function Qt(){}function Jt(t,e){var n=new Qt;if(t instanceof Qt)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)for(;++i<o;)n.set(i,t[i]);else for(;++i<o;)n.set(e(r=t[i],i,t),r)}else if(t)for(var a in t)n.set(a,t[a]);return n}Qt.prototype=Jt.prototype={constructor:Qt,has:function(t){return Kt+t in this},get:function(t){return this[Kt+t]},set:function(t,e){return this[Kt+t]=e,this},remove:function(t){var e=Kt+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===Kt&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===Kt&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===Kt&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===Kt&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===Kt&&++t;return t},empty:function(){for(var t in this)if(t[0]===Kt)return!1;return!0},each:function(t){for(var e in this)e[0]===Kt&&t(this[e],e.slice(1),this)}};var $t=Jt;function te(){}var ee=$t.prototype;function ne(t,e){var n=new te;if(t instanceof te)t.each((function(t){n.add(t)}));else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}te.prototype=ne.prototype={constructor:te,has:ee.has,add:function(t){return this[Kt+(t+="")]=t,this},remove:ee.remove,clear:ee.clear,values:ee.keys,size:ee.size,empty:ee.empty,each:ee.each};function re(){}var ie=function(t){return null==t?re:function(){return this.querySelector(t)}};function oe(){return[]}var ae=function(t){return new Array(t.length)};function se(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}se.prototype={constructor:se,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function ce(t,e,n,r,i,o){for(var a,s=0,c=e.length,l=o.length;s<l;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new se(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function le(t,e,n,r,i,o,a){var s,c,l,u={},g=e.length,f=o.length,d=new Array(g);for(s=0;s<g;++s)(c=e[s])&&(d[s]=l="$"+a.call(c,c.__data__,s,e),l in u?i[s]=c:u[l]=c);for(s=0;s<f;++s)(c=u[l="$"+a.call(t,o[s],s,o)])?(r[s]=c,c.__data__=o[s],u[l]=null):n[s]=new se(t,o[s]);for(s=0;s<g;++s)(c=e[s])&&u[d[s]]===c&&(i[s]=c)}function ue(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var ge="http://www.w3.org/1999/xhtml",fe={svg:"http://www.w3.org/2000/svg",xhtml:ge,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},de=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),fe.hasOwnProperty(e)?{space:fe[e],local:t}:t};function he(t){return function(){this.removeAttribute(t)}}function pe(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ae(t,e){return function(){this.setAttribute(t,e)}}function Ce(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function ve(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Ie(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var ye=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function me(t){return function(){this.style.removeProperty(t)}}function be(t,e,n){return function(){this.style.setProperty(t,e,n)}}function xe(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function we(t,e){return t.style.getPropertyValue(e)||ye(t).getComputedStyle(t,null).getPropertyValue(e)}function Oe(t){return function(){delete this[t]}}function Se(t,e){return function(){this[t]=e}}function _e(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function ke(t){return t.trim().split(/^|\s+/)}function je(t){return t.classList||new Ee(t)}function Ee(t){this._node=t,this._names=ke(t.getAttribute("class")||"")}function Pe(t,e){for(var n=je(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Me(t,e){for(var n=je(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Te(t){return function(){Pe(this,t)}}function Re(t){return function(){Me(this,t)}}function De(t,e){return function(){(e.apply(this,arguments)?Pe:Me)(this,t)}}Ee.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Ne(){this.textContent=""}function Le(t){return function(){this.textContent=t}}function Fe(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function Be(){this.innerHTML=""}function ze(t){return function(){this.innerHTML=t}}function Ve(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function Ge(){this.nextSibling&&this.parentNode.appendChild(this)}function We(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ye(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===ge&&e.documentElement.namespaceURI===ge?e.createElement(t):e.createElementNS(n,t)}}function He(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var Ue=function(t){var e=de(t);return(e.local?He:Ye)(e)};function Xe(){return null}function Ze(){var t=this.parentNode;t&&t.removeChild(this)}function qe(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ke(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var Qe={},Je=null;"undefined"!==typeof document&&("onmouseenter"in document.documentElement||(Qe={mouseenter:"mouseover",mouseleave:"mouseout"}));function $e(t,e,n){return t=tn(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function tn(t,e,n){return function(r){var i=Je;Je=r;try{t.call(this,this.__data__,e,n)}finally{Je=i}}}function en(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function nn(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function rn(t,e,n){var r=Qe.hasOwnProperty(t.type)?$e:tn;return function(i,o,a){var s,c=this.__on,l=r(e,o,a);if(c)for(var u=0,g=c.length;u<g;++u)if((s=c[u]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=l,s.capture=n),void(s.value=e);this.addEventListener(t.type,l,n),s={type:t.type,name:t.name,value:e,listener:l,capture:n},c?c.push(s):this.__on=[s]}}function on(t,e,n){var r=ye(t),i=r.CustomEvent;"function"===typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function an(t,e){return function(){return on(this,t,e)}}function sn(t,e){return function(){return on(this,t,e.apply(this,arguments))}}var cn=[null];function ln(t,e){this._groups=t,this._parents=e}function un(){return new ln([[document.documentElement]],cn)}ln.prototype=un.prototype={constructor:ln,select:function(t){"function"!==typeof t&&(t=ie(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=e[i],c=s.length,l=r[i]=new Array(c),u=0;u<c;++u)(o=s[u])&&(a=t.call(o,o.__data__,u,s))&&("__data__"in o&&(a.__data__=o.__data__),l[u]=a);return new ln(r,this._parents)},selectAll:function(t){var e;"function"!==typeof t&&(t=null==(e=t)?oe:function(){return this.querySelectorAll(e)});for(var n=this._groups,r=n.length,i=[],o=[],a=0;a<r;++a)for(var s,c=n[a],l=c.length,u=0;u<l;++u)(s=c[u])&&(i.push(t.call(s,s.__data__,u,c)),o.push(s));return new ln(i,o)},filter:function(t){var e;"function"!==typeof t&&(e=t,t=function(){return this.matches(e)});for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o)for(var a,s=n[o],c=s.length,l=i[o]=[],u=0;u<c;++u)(a=s[u])&&t.call(a,a.__data__,u,s)&&l.push(a);return new ln(i,this._parents)},data:function(t,e){if(!t)return h=new Array(this.size()),u=-1,this.each((function(t){h[++u]=t})),h;var n,r=e?le:ce,i=this._parents,o=this._groups;"function"!==typeof t&&(n=t,t=function(){return n});for(var a=o.length,s=new Array(a),c=new Array(a),l=new Array(a),u=0;u<a;++u){var g=i[u],f=o[u],d=f.length,h=t.call(g,g&&g.__data__,u,i),p=h.length,A=c[u]=new Array(p),C=s[u]=new Array(p);r(g,f,A,C,l[u]=new Array(d),h,e);for(var v,I,y=0,m=0;y<p;++y)if(v=A[y]){for(y>=m&&(m=y+1);!(I=C[m])&&++m<p;);v._next=I||null}}return(s=new ln(s,i))._enter=c,s._exit=l,s},enter:function(){return new ln(this._enter||this._groups.map(ae),this._parents)},exit:function(){return new ln(this._exit||this._groups.map(ae),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return r="function"===typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,l=e[s],u=n[s],g=l.length,f=a[s]=new Array(g),d=0;d<g;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)a[s]=e[s];return new ln(a,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=ue);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],c=s.length,l=i[o]=new Array(c),u=0;u<c;++u)(a=s[u])&&(l[u]=a);l.sort(e)}return new ln(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each((function(){t[++e]=this})),t},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t=0;return this.each((function(){++t})),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=de(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?pe:he:"function"===typeof e?n.local?Ie:ve:n.local?Ce:Ae)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?me:"function"===typeof e?xe:be)(t,e,null==n?"":n)):we(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Oe:"function"===typeof e?_e:Se)(t,e)):this.node()[t]},classed:function(t,e){var n=ke(t+"");if(arguments.length<2){for(var r=je(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"===typeof e?De:e?Te:Re)(n,e))},text:function(t){return arguments.length?this.each(null==t?Ne:("function"===typeof t?Fe:Le)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?Be:("function"===typeof t?Ve:ze)(t)):this.node().innerHTML},raise:function(){return this.each(Ge)},lower:function(){return this.each(We)},append:function(t){var e="function"===typeof t?t:Ue(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"===typeof t?t:Ue(t),r=null==e?Xe:"function"===typeof e?e:ie(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(Ze)},clone:function(t){return this.select(t?Ke:qe)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=en(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?rn:nn,null==n&&(n=!1),r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"===typeof e?sn:an)(t,e))}};var gn,fn=un,dn=function(t){return"string"===typeof t?new ln([[document.querySelector(t)]],[document.documentElement]):new ln([[t]],cn)},hn=function(){var t=function(){return"n"},e=function(){return[0,0]},n=function(){return" "},r=document.body,i=g(),o=null,a=null,s=null;function c(t){(o=function(t){var e=t.node();return e?"svg"===e.tagName.toLowerCase()?e:e.ownerSVGElement:null}(t))&&(a=o.createSVGPoint(),r.appendChild(i))}c.show=function(){var i=Array.prototype.slice.call(arguments);i[i.length-1]instanceof SVGElement&&(s=i.pop());var o,a=n.apply(this,i),g=e.apply(this,i),d=t.apply(this,i),h=f(),p=u.length,A=document.documentElement.scrollTop||r.scrollTop,C=document.documentElement.scrollLeft||r.scrollLeft;for(h.html(a).style("opacity",1).style("pointer-events","all");p--;)h.classed(u[p],!1);return o=l.get(d).apply(this),h.classed(d,!0).style("top",o.top+g[0]+A+"px").style("left",o.left+g[1]+C+"px"),c},c.hide=function(){return f().style("opacity",0).style("pointer-events","none"),c},c.attr=function(t,e){if(arguments.length<2&&"string"===typeof t)return f().attr(t);var n=Array.prototype.slice.call(arguments);return fn.prototype.attr.apply(f(),n),c},c.style=function(t,e){if(arguments.length<2&&"string"===typeof t)return f().style(t);var n=Array.prototype.slice.call(arguments);return fn.prototype.style.apply(f(),n),c},c.direction=function(e){return arguments.length?(t=null==e?e:h(e),c):t},c.offset=function(t){return arguments.length?(e=null==t?t:h(t),c):e},c.html=function(t){return arguments.length?(n=null==t?t:h(t),c):n},c.rootElement=function(t){return arguments.length?(r=null==t?t:h(t),c):r},c.destroy=function(){return i&&(f().remove(),i=null),c};var l=$t({n:function(){var t=d(this);return{top:t.n.y-i.offsetHeight,left:t.n.x-i.offsetWidth/2}},s:function(){var t=d(this);return{top:t.s.y,left:t.s.x-i.offsetWidth/2}},e:function(){var t=d(this);return{top:t.e.y-i.offsetHeight/2,left:t.e.x}},w:function(){var t=d(this);return{top:t.w.y-i.offsetHeight/2,left:t.w.x-i.offsetWidth}},nw:function(){var t=d(this);return{top:t.nw.y-i.offsetHeight,left:t.nw.x-i.offsetWidth}},ne:function(){var t=d(this);return{top:t.ne.y-i.offsetHeight,left:t.ne.x}},sw:function(){var t=d(this);return{top:t.sw.y,left:t.sw.x-i.offsetWidth}},se:function(){var t=d(this);return{top:t.se.y,left:t.se.x}}}),u=l.keys();function g(){var t=dn(document.createElement("div"));return t.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function f(){return null==i&&(i=g(),r.appendChild(i)),dn(i)}function d(t){for(var e=s||t;null==e.getScreenCTM&&null!=e.parentNode;)e=e.parentNode;var n={},r=e.getScreenCTM(),i=e.getBBox(),o=i.width,c=i.height,l=i.x,u=i.y;return a.x=l,a.y=u,n.nw=a.matrixTransform(r),a.x+=o,n.ne=a.matrixTransform(r),a.y+=c,n.se=a.matrixTransform(r),a.x-=o,n.sw=a.matrixTransform(r),a.y-=c/2,n.w=a.matrixTransform(r),a.x+=o,n.e=a.matrixTransform(r),a.x-=o/2,a.y-=c/2,n.n=a.matrixTransform(r),a.y+=c,n.s=a.matrixTransform(r),n}function h(t){return"function"===typeof t?t:function(){return t}}return c},pn=function(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n},An=n(365),Cn=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(pn),vn=(gn=Cn,Object(An.b)(gn[gn.length-1])),In=pn("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),yn=pn("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),mn=s({init:function(t){t.parentNode.appendChild(t)}}),bn=s({props:{id:{},colorScale:{default:Object(O.a)().range(["black","white"])},angle:{default:0}},init:function(t,e){e.id="areaGradient".concat(Math.round(1e4*Math.random())),e.gradient=Xt(t).append("linearGradient")},update:function(t){var e=Math.PI*t.angle/180;t.gradient.attr("y1",Math.round(100*Math.max(0,Math.sin(e)))+"%").attr("y2",Math.round(100*Math.max(0,-Math.sin(e)))+"%").attr("x1",Math.round(100*Math.max(0,-Math.cos(e)))+"%").attr("x2",Math.round(100*Math.max(0,Math.cos(e)))+"%").attr("id",t.id);var n=Object(O.a)().domain([0,100]).range(t.colorScale.domain()),r=t.gradient.selectAll("stop").data(function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}(0,100.01,20));r.exit().remove(),r.merge(r.enter().append("stop")).attr("offset",(function(t){return"".concat(t,"%")})).attr("stop-color",(function(e){return t.colorScale(n(e))}))}});s({props:{id:{default:"areaGradient".concat(Math.round(1e4*Math.random()))}},init:function(t,e){e.filter=Xt(t).append("defs").append("filter").attr("height","130%"),e.filter.append("feGaussianBlur").attr("in","SourceAlpha").attr("stdDeviation",3),e.filter.append("feOffset").attr("dx",2).attr("dy",2).attr("result","offsetblur");var n=e.filter.append("feMerge");n.append("feMergeNode"),n.append("feMergeNode").attr("in","SourceGraphic")},update:function(t){t.filter.attr("id",t.id)}}),s({props:{x:{default:0},y:{default:0},r:{default:8},color:{default:"darkblue"},duration:{default:.7},angleFull:{default:120}},init:function(t,e){t=Xt(t),e.path=t.append("path"),e.transform=e.path.append("animateTransform").attr("attributeName","transform").attr("attributeType","XML").attr("type","rotate").attr("begin","0s").attr("fill","freeze").attr("repeatCount","indefinite")},update:function(t){t.path.attr("d",function(t,e,n,r,i,o){i=i/180*Math.PI,o=o/180*Math.PI;var a=n,s=n-r,c=[[t+a*Math.cos(i),e+a*Math.sin(i)],[t+a*Math.cos(o),e+a*Math.sin(o)],[t+s*Math.cos(o),e+s*Math.sin(o)],[t+s*Math.cos(i),e+s*Math.sin(i)]],l=(o-i)%(2*Math.PI)>Math.PI?1:0,u=[];return u.push("M"+c[0].join()),u.push("A"+[a,a,0,l,1,c[1]].join()),u.push("L"+c[2].join()),u.push("A"+[s,s,0,l,0,c[3]].join()),u.push("z"),u.join(" ")}(t.x,t.y,t.r,t.r/3,0,t.angleFull)).attr("fill",t.color),t.transform.attr("from","0 "+t.x+" "+t.y).attr("to","360 "+t.x+" "+t.y).attr("dur",t.duration+"s")}}),s({props:{imgUrl:{},x:{default:0},y:{default:0},maxWidth:{default:20},maxHeight:{default:20},svgAlign:{default:"xMidYMid"}},methods:{show:function(t){return t.img.attr("width",t.maxWidth).attr("height",t.maxHeight),this},hide:function(t){return t.img.attr("width",0).attr("height",0),this}},init:function(t,e){e.img=Xt(t).append("image")},update:function(t){t.img.attr("xlink:href",t.imgUrl).attr("x",t.x).attr("y",t.y).attr("width",t.maxW).attr("height",t.maxH).attr("preserveAspectRatio",t.svgAlign+" meet")}}),s({props:{selection:{default:{x:[null,null],y:[null,null]}},xDomain:{onChange:function(t,e){e.xScale.domain(t)}},yDomain:{onChange:function(t,e){e.yScale.domain(t)}},transitionDuration:700},stateInit:{xScale:Object(O.a)(),yScale:Object(O.a)()},init:function(t,e,n){var r=n.width,i=n.height,o=n.margin,a=void 0===o?{top:2,right:2,bottom:2,left:2}:o;e.xScale.range([a.left,r-e.margin.right]),e.yScale.range([a.top,i-e.margin.bottom]),e.svg=Xt(t).append("svg").attr("width",r).attr("height",i),e.outerBox=e.svg.append("rect").attr("x",e.xScale.range()[0]).attr("y",e.yScale.range()[0]).attr("rx",2).attr("ry",2).attr("width",e.xScale.range()[1]).attr("height",e.yScale.range()[1]).style("fill","#EEE").style("stroke","grey"),e.selectionBox=e.svg.append("rect").attr("rx",1).attr("ry",1).attr("width",0).attr("height",0).style("stroke","blue").style("stroke-opacity",.6).style("fill","blue").style("fill-opacity",.3)},update:function(t){t.outerBox.attr("x",t.xScale.range()[0]).attr("y",t.yScale.range()[0]).attr("width",t.xScale.range()[1]).attr("height",t.yScale.range()[1]),t.selectionBox.attr("x",t.xScale(t.selection.x[0])).attr("y",t.yScale(t.selection.y[0])).attr("width",t.xScale(t.selection.x[1]-t.selection.x[0])).attr("height",t.yScale(t.selection.y[1]-t.selection.y[0]))}});function xn(t){return function(t){if(Array.isArray(t))return wn(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return wn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wn(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var On=s({props:{bbox:{default:{width:null,height:null}},passes:{default:3}},init:function(t,e){e.el=t},update:function(t){xn(Array(t.passes).keys()).some((function(){var e=parseInt(t.el.style["font-size"].split("px")[0])||20,n=t.el.getBBox(),r=Math.floor(e*Math.min(t.bbox.width/n.width,t.bbox.height/n.height));if(r===e)return!0;t.el.style["font-size"]=r+"px"}))}}),Sn=(s({props:{maxWidth:{default:1/0}},init:function(t,e){e.el=t},update:function(t){for(var e,n,r=t.el.textContent,i=Math.round(r.length*t.maxWidth/t.el.getBBox().width*1.2);--i&&t.maxWidth/t.el.getBBox().width<1;)t.el.textContent=(n=i,(e=r).length<=n?e:e.substring(0,2*n/3)+"..."+e.substring(e.length-n/3,e.length))}}),n(214)),_n=n.n(Sn),kn=s({props:{width:{},height:{},scale:{},label:{}},init:function(t,e){e.gradient=bn()(t),e.el=Xt(t),e.box=e.el.append("rect").attr("x",0).attr("y",0).attr("rx",3).attr("ry",3).attr("stroke","black").attr("stroke-width",.5),e.unitLabel=e.el.append("text").attr("class","legendText").style("text-anchor","middle").style("dominant-baseline","central"),e.labelFitText=On()(e.unitLabel.node()),e.startLabel=e.el.append("text").style("text-anchor","start").style("dominant-baseline","central"),e.startLabelFitText=On()(e.startLabel.node()),e.endLabel=e.el.append("text").style("text-anchor","end").style("dominant-baseline","central"),e.endLabelFitText=On()(e.endLabel.node())},update:function(t){t.gradient.colorScale(t.scale),t.box.attr("width",t.width).attr("height",t.height).style("fill","url(#".concat(t.gradient.id(),")")),t.unitLabel.text(t.label).attr("x",.5*t.width).attr("y",.5*t.height).style("text-anchor","middle").style("dominant-baseline","central").style("fill",_n()(t.scale((t.scale.domain()[t.scale.domain().length-1]-t.scale.domain()[0])/2)).isLight()?"#444":"#CCC"),t.labelFitText.bbox({width:.8*t.width,height:.9*t.height}),t.startLabel.text(t.scale.domain()[0]).attr("x",.02*t.width).attr("y",.5*t.height).style("fill",_n()(t.scale(t.scale.domain()[0])).isLight()?"#444":"#CCC"),t.startLabelFitText.bbox({width:.3*t.width,height:.7*t.height}),t.endLabel.text(t.scale.domain()[t.scale.domain().length-1]).attr("x",.98*t.width).attr("y",.5*t.height).style("fill",_n()(t.scale(t.scale.domain()[t.scale.domain().length-1])).isLight()?"#444":"#CCC"),t.endLabelFitText.bbox({width:.3*t.width,height:.7*t.height})}}),jn=s({props:{width:{},height:{},scale:{},label:{}},init:function(t,e){e.el=Xt(t)},update:function(t){var e=t.width/t.scale.domain().length,n=t.el.selectAll(".color-slot").data(t.scale.domain());n.exit().remove();var r=n.enter().append("g").attr("class","color-slot");r.append("rect").attr("y",0).attr("rx",0).attr("ry",0).attr("stroke-width",0),r.append("text").style("text-anchor","middle").style("dominant-baseline","central"),r.append("title"),(n=n.merge(r)).select("rect").attr("width",e).attr("height",t.height).attr("x",(function(t,n){return e*n})).attr("fill",(function(e){return t.scale(e)})),n.select("text").text((function(t){return t})).attr("x",(function(t,n){return e*(n+.5)})).attr("y",.5*t.height).style("fill",(function(e){return _n()(t.scale(e)).isLight()?"#333":"#DDD"})).each((function(n){On().bbox({width:.9*e,height:.8*t.height})(this)})),n.select("title").text((function(e){return"".concat(e," ").concat(t.label)}))}}),En=s({props:{width:{},height:{},scale:{},label:{}},init:function(t,e){e.legend=Xt(t).append("g").attr("class","legend")},update:function(t){if(t.scale){var e=!t.scale.hasOwnProperty("interpolate")&&!t.scale.hasOwnProperty("interpolator");t.legend.html(""),(e?jn:kn)().width(t.width).height(t.height).scale(t.scale).label(t.label)(t.legend.node())}}}),Pn={value:function(){}};function Mn(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new Tn(r)}function Tn(t){this._=t}function Rn(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function Dn(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function Nn(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Pn,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}Tn.prototype=Mn.prototype={constructor:Tn,on:function(t,e){var n,r=this._,i=Rn(t+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=Nn(r[n],t.name,e);else if(null==e)for(n in r)r[n]=Nn(r[n],t.name,null);return this}for(;++o<a;)if((n=(t=i[o]).type)&&(n=Dn(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Tn(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var Ln=Mn;var Fn=function(t){t.preventDefault(),t.stopImmediatePropagation()},Bn=function(t){var e=t.document.documentElement,n=Xt(t).on("dragstart.drag",Fn,!0);"onselectstart"in e?n.on("selectstart.drag",Fn,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function zn(t,e){var n=t.document.documentElement,r=Xt(t).on("dragstart.drag",null);e&&(r.on("click.drag",Fn,!0),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var Vn,Gn,Wn=n(364),Yn=0,Hn=0,Un=0,Xn=0,Zn=0,qn=0,Kn="object"===typeof performance&&performance.now?performance:Date,Qn="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Jn(){return Zn||(Qn($n),Zn=Kn.now()+qn)}function $n(){Zn=0}function tr(){this._call=this._time=this._next=null}function er(t,e,n){var r=new tr;return r.restart(t,e,n),r}function nr(){Zn=(Xn=Kn.now())+qn,Yn=Hn=0;try{!function(){Jn(),++Yn;for(var t,e=Vn;e;)(t=Zn-e._time)>=0&&e._call.call(null,t),e=e._next;--Yn}()}finally{Yn=0,function(){var t,e,n=Vn,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Vn=e);Gn=t,ir(r)}(),Zn=0}}function rr(){var t=Kn.now(),e=t-Xn;e>1e3&&(qn-=e,Xn=t)}function ir(t){Yn||(Hn&&(Hn=clearTimeout(Hn)),t-Zn>24?(t<1/0&&(Hn=setTimeout(nr,t-Kn.now()-qn)),Un&&(Un=clearInterval(Un))):(Un||(Xn=Kn.now(),Un=setInterval(rr,1e3)),Yn=1,Qn(nr)))}tr.prototype=er.prototype={constructor:tr,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?Jn():+n)+(null==e?0:+e),this._next||Gn===this||(Gn?Gn._next=this:Vn=this,Gn=this),this._call=t,this._time=n,ir()},stop:function(){this._call&&(this._call=null,this._time=1/0,ir())}};var or=function(t,e,n){var r=new tr;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r},ar=Ln("start","end","cancel","interrupt"),sr=[],cr=function(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(o){var l,u,g,f;if(1!==n.state)return c();for(l in i)if((f=i[l]).name===n.name){if(3===f.state)return or(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(or((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(o))})),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(g=n.tween.length),l=0,u=-1;l<g;++l)(f=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=er(o,0,n.time)}(t,n,{name:e,index:r,group:i,on:ar,tween:sr,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})};function lr(t,e){var n=gr(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function ur(t,e){var n=gr(t,e);if(n.state>3)throw new Error("too late; already running");return n}function gr(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var fr,dr=function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}},hr=n(81),pr=180/Math.PI,Ar={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Cr=function(t,e,n,r,i,o){var a,s,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*pr,skewX:Math.atan(c)*pr,scaleX:a,scaleY:s}};function vr(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],c=[];return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var c=a.push("translate(",null,e,null,n);s.push({i:c-4,x:Object(hr.a)(t,i)},{i:c-2,x:Object(hr.a)(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,c),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Object(hr.a)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Object(hr.a)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Object(hr.a)(t,n)},{i:s-2,x:Object(hr.a)(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n<r;)s[(e=c[n]).i]=e.x(t);return s.join("")}}}var Ir=vr((function(t){var e=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Ar:Cr(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),yr=vr((function(t){return null==t?Ar:(fr||(fr=document.createElementNS("http://www.w3.org/2000/svg","g")),fr.setAttribute("transform",t),(t=fr.transform.baseVal.consolidate())?(t=t.matrix,Cr(t.a,t.b,t.c,t.d,t.e,t.f)):Ar)}),", ",")",")");function mr(t,e){var n,r;return function(){var i=ur(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function br(t,e,n){var r,i;if("function"!==typeof n)throw new Error;return function(){var o=ur(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===e){i[c]=s;break}c===l&&i.push(s)}o.tween=i}}function xr(t,e,n){var r=t._id;return t.each((function(){var t=ur(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return gr(t,r).value[e]}}var wr=n(1038),Or=n(544),Sr=function(t,e){var n;return("number"===typeof e?hr.a:e instanceof wr.a?An.a:(n=Object(wr.a)(e))?(e=n,An.a):Or.a)(t,e)};function _r(t){return function(){this.removeAttribute(t)}}function kr(t){return function(){this.removeAttributeNS(t.space,t.local)}}function jr(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function Er(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function Pr(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttribute(t))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttribute(t)}}function Mr(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttributeNS(t.space,t.local)}}function Tr(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Rr(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Dr(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Rr(t,i)),n}return i._value=e,i}function Nr(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Tr(t,i)),n}return i._value=e,i}function Lr(t,e){return function(){lr(this,t).delay=+e.apply(this,arguments)}}function Fr(t,e){return e=+e,function(){lr(this,t).delay=e}}function Br(t,e){return function(){ur(this,t).duration=+e.apply(this,arguments)}}function zr(t,e){return e=+e,function(){ur(this,t).duration=e}}function Vr(t,e){if("function"!==typeof e)throw new Error;return function(){ur(this,t).ease=e}}function Gr(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?lr:ur;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var Wr=Ut.prototype.constructor;function Yr(t){return function(){this.style.removeProperty(t)}}function Hr(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Ur(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Hr(t,o,n)),r}return o._value=e,o}function Xr(t){return function(e){this.textContent=t.call(this,e)}}function Zr(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Xr(r)),e}return r._value=t,r}var qr=0;function Kr(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Qr(){return++qr}var Jr=Ut.prototype;Kr.prototype=function(t){return Ut().transition(t)}.prototype=Object(k.a)({constructor:Kr,select:function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=E(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,c,l=r[a],u=l.length,g=o[a]=new Array(u),f=0;f<u;++f)(s=l[f])&&(c=t.call(s,s.__data__,f,l))&&("__data__"in s&&(c.__data__=s.__data__),g[f]=c,cr(g[f],e,n,f,g,gr(s,n)));return new Kr(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=T(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var c,l=r[s],u=l.length,g=0;g<u;++g)if(c=l[g]){for(var f,d=t.call(c,c.__data__,g,l),h=gr(c,n),p=0,A=d.length;p<A;++p)(f=d[p])&&cr(f,e,n,p,d,h);o.push(d),a.push(c)}return new Kr(o,a,e,n)},filter:function(t){"function"!==typeof t&&(t=R(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],l=0;l<s;++l)(o=a[l])&&t.call(o,o.__data__,l,a)&&c.push(o);return new Kr(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,l=e[s],u=n[s],g=l.length,f=a[s]=new Array(g),d=0;d<g;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)a[s]=e[s];return new Kr(a,this._parents,this._name,this._id)},selection:function(){return new Wr(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Qr(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,l=0;l<c;++l)if(a=s[l]){var u=gr(a,e);cr(a,t,n,l,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Kr(r,this._parents,t,n)},call:Jr.call,nodes:Jr.nodes,node:Jr.node,size:Jr.size,empty:Jr.empty,each:Jr.each,on:function(t,e){var n=this._id;return arguments.length<2?gr(this.node(),n).on.on(t):this.each(Gr(n,t,e))},attr:function(t,e){var n=q(t),r="transform"===n?yr:Sr;return this.attrTween(t,"function"===typeof e?(n.local?Mr:Pr)(n,r,xr(this,"attr."+t,e)):null==e?(n.local?kr:_r)(n):(n.local?Er:jr)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!==typeof e)throw new Error;var r=q(t);return this.tween(n,(r.local?Dr:Nr)(r,e))},style:function(t,e,n){var r="transform"===(t+="")?Ir:Sr;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=at(this,t),a=(this.style.removeProperty(t),at(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,Yr(t)):"function"===typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=at(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=at(this,t)),a===c?null:a===r&&c===i?o:(i=c,o=e(r=a,s))}}(t,r,xr(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,s="end."+a;return function(){var c=ur(this,t),l=c.on,u=null==c.value[a]?o||(o=Yr(e)):void 0;l===n&&i===u||(r=(n=l).copy()).on(s,i=u),c.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=at(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!==typeof e)throw new Error;return this.tween(r,Ur(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"===typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(xr(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!==typeof t)throw new Error;return this.tween(e,Zr(t))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=gr(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?mr:br)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?Lr:Fr)(e,t)):gr(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?Br:zr)(e,t)):gr(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(Vr(e,t)):gr(this.node(),e).ease},easeVarying:function(t){if("function"!==typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!==typeof n)throw new Error;ur(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(o,a){var s={value:a},c={value:function(){0===--i&&o()}};n.each((function(){var n=ur(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e})),0===i&&o()}))}},Symbol.iterator,Jr[Symbol.iterator]);var $r={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function ti(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error("transition ".concat(e," not found"));return n}Ut.prototype.interrupt=function(t){return this.each((function(){dr(this,t)}))},Ut.prototype.transition=function(t){var e,n;t instanceof Kr?(e=t._id,t=t._name):(e=Qr(),(n=$r).time=Jn(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,l=0;l<c;++l)(a=s[l])&&cr(a,t,e,l,s,n||ti(a,e));return new Kr(r,this._parents,t,e)};var ei=function(t){return function(){return t}};function ni(t,e){var n=e.sourceEvent,r=e.target,i=e.selection,o=e.mode,a=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},selection:{value:i,enumerable:!0,configurable:!0},mode:{value:o,enumerable:!0,configurable:!0},_:{value:a}})}function ri(t){t.stopImmediatePropagation()}var ii=function(t){t.preventDefault(),t.stopImmediatePropagation()},oi={name:"drag"},ai={name:"space"},si={name:"handle"},ci={name:"center"},li=Math.abs,ui=Math.max,gi=Math.min;function fi(t){return[+t[0],+t[1]]}function di(t){return[fi(t[0]),fi(t[1])]}var hi={name:"x",handles:["w","e"].map(mi),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},pi={name:"y",handles:["n","s"].map(mi),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Ai=(["n","w","e","s","nw","ne","sw","se"].map(mi),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),Ci={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},vi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Ii={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},yi={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function mi(t){return{type:t}}function bi(t){return!t.ctrlKey&&!t.button}function xi(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function wi(){return navigator.maxTouchPoints||"ontouchstart"in this}function Oi(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Si(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function _i(t){var e,n=xi,r=bi,i=wi,o=!0,a=Ln("start","brush","end"),s=6;function l(e){var n=e.property("__brush",A).selectAll(".overlay").data([mi("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Ai.overlay).merge(n).each((function(){var t=Oi(this).extent;Xt(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),e.selectAll(".selection").data([mi("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Ai.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return Ai[t.type]})),e.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",d).filter(i).on("touchstart.brush",d).on("touchmove.brush",h).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(){var t=Xt(this),e=Oi(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?e[1][0]-s/2:e[0][0]-s/2})).attr("y",(function(t){return"s"===t.type[0]?e[1][1]-s/2:e[0][1]-s/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+s:s})).attr("height",(function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+s:s}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function g(t,e,n){var r=t.__brush.emitter;return!r||n&&r.clean?new f(t,e,n):r}function f(t,e,n){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=n}function d(n){if((!e||n.touches)&&r.apply(this,arguments)){var i,a,s,l,f,d,h,p,A,C,v,I=this,y=n.target.__data__.type,m="selection"===(o&&n.metaKey?y="overlay":y)?oi:o&&n.altKey?ci:si,b=t===pi?null:Ii[y],x=t===hi?null:yi[y],w=Oi(I),O=w.extent,S=w.selection,_=O[0][0],k=O[0][1],j=O[1][0],E=O[1][1],P=0,M=0,T=b&&x&&o&&n.shiftKey,R=Array.from(n.touches||[n],(function(t){var e=t.identifier;return(t=Zt(t,I)).point0=t.slice(),t.identifier=e,t}));if("overlay"===y){S&&(A=!0);var D=[R[0],R[1]||R[0]];w.selection=S=[[i=t===pi?_:gi(D[0][0],D[1][0]),s=t===hi?k:gi(D[0][1],D[1][1])],[f=t===pi?j:ui(D[0][0],D[1][0]),h=t===hi?E:ui(D[0][1],D[1][1])]],R.length>1&&V()}else i=S[0][0],s=S[0][1],f=S[1][0],h=S[1][1];a=i,l=s,d=f,p=h;var N=Xt(I).attr("pointer-events","none"),L=N.selectAll(".overlay").attr("cursor",Ai[y]);dr(I);var F=g(I,arguments,!0).beforestart();if(n.touches)F.moved=z,F.ended=G;else{var B=Xt(n.view).on("mousemove.brush",z,!0).on("mouseup.brush",G,!0);o&&B.on("keydown.brush",W,!0).on("keyup.brush",Y,!0),Bn(n.view)}u.call(I),F.start(n,m.name)}function z(t){var e,n=Object(c.a)(t.changedTouches||[t]);try{for(n.s();!(e=n.n()).done;){var r,i=e.value,o=Object(c.a)(R);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.identifier===i.identifier&&(a.cur=Zt(i,I))}}catch(f){o.e(f)}finally{o.f()}}}catch(f){n.e(f)}finally{n.f()}if(T&&!C&&!v&&1===R.length){var s=R[0];li(s.cur[0]-s[0])>li(s.cur[1]-s[1])?v=!0:C=!0}var l,u=Object(c.a)(R);try{for(u.s();!(l=u.n()).done;){var g=l.value;g.cur&&(g[0]=g.cur[0],g[1]=g.cur[1])}}catch(f){u.e(f)}finally{u.f()}A=!0,ii(t),V(t)}function V(t){var e,n=R[0],r=n.point0;switch(P=n[0]-r[0],M=n[1]-r[1],m){case ai:case oi:b&&(P=ui(_-i,gi(j-f,P)),a=i+P,d=f+P),x&&(M=ui(k-s,gi(E-h,M)),l=s+M,p=h+M);break;case si:R[1]?(b&&(a=ui(_,gi(j,R[0][0])),d=ui(_,gi(j,R[1][0])),b=1),x&&(l=ui(k,gi(E,R[0][1])),p=ui(k,gi(E,R[1][1])),x=1)):(b<0?(P=ui(_-i,gi(j-i,P)),a=i+P,d=f):b>0&&(P=ui(_-f,gi(j-f,P)),a=i,d=f+P),x<0?(M=ui(k-s,gi(E-s,M)),l=s+M,p=h):x>0&&(M=ui(k-h,gi(E-h,M)),l=s,p=h+M));break;case ci:b&&(a=ui(_,gi(j,i-P*b)),d=ui(_,gi(j,f+P*b))),x&&(l=ui(k,gi(E,s-M*x)),p=ui(k,gi(E,h+M*x)))}d<a&&(b*=-1,e=i,i=f,f=e,e=a,a=d,d=e,y in Ci&&L.attr("cursor",Ai[y=Ci[y]])),p<l&&(x*=-1,e=s,s=h,h=e,e=l,l=p,p=e,y in vi&&L.attr("cursor",Ai[y=vi[y]])),w.selection&&(S=w.selection),C&&(a=S[0][0],d=S[1][0]),v&&(l=S[0][1],p=S[1][1]),S[0][0]===a&&S[0][1]===l&&S[1][0]===d&&S[1][1]===p||(w.selection=[[a,l],[d,p]],u.call(I),F.brush(t,m.name))}function G(t){if(ri(t),t.touches){if(t.touches.length)return;e&&clearTimeout(e),e=setTimeout((function(){e=null}),500)}else zn(t.view,A),B.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);N.attr("pointer-events","all"),L.attr("cursor",Ai.overlay),w.selection&&(S=w.selection),Si(S)&&(w.selection=null,u.call(I)),F.end(t,m.name)}function W(t){switch(t.keyCode){case 16:T=b&&x;break;case 18:m===si&&(b&&(f=d-P*b,i=a+P*b),x&&(h=p-M*x,s=l+M*x),m=ci,V());break;case 32:m!==si&&m!==ci||(b<0?f=d-P:b>0&&(i=a-P),x<0?h=p-M:x>0&&(s=l-M),m=ai,L.attr("cursor",Ai.selection),V());break;default:return}ii(t)}function Y(t){switch(t.keyCode){case 16:T&&(C=v=T=!1,V());break;case 18:m===ci&&(b<0?f=d:b>0&&(i=a),x<0?h=p:x>0&&(s=l),m=si,V());break;case 32:m===ai&&(t.altKey?(b&&(f=d-P*b,i=a+P*b),x&&(h=p-M*x,s=l+M*x),m=ci):(b<0?f=d:b>0&&(i=a),x<0?h=p:x>0&&(s=l),m=si),L.attr("cursor",Ai[y]),V());break;default:return}ii(t)}}function h(t){g(this,arguments).moved(t)}function p(t){g(this,arguments).ended(t)}function A(){var e=this.__brush||{selection:null};return e.extent=di(n.apply(this,arguments)),e.dim=t,e}return l.move=function(e,n){e.tween?e.on("start.brush",(function(t){g(this,arguments).beforestart().start(t)})).on("interrupt.brush end.brush",(function(t){g(this,arguments).end(t)})).tween("brush",(function(){var e=this,r=e.__brush,i=g(e,arguments),o=r.selection,a=t.input("function"===typeof n?n.apply(this,arguments):n,r.extent),s=Object(Wn.a)(o,a);function c(t){r.selection=1===t&&null===a?null:s(t),u.call(e),i.brush()}return null!==o&&null!==a?c:c(1)})):e.each((function(){var e=this,r=arguments,i=e.__brush,o=t.input("function"===typeof n?n.apply(e,r):n,i.extent),a=g(e,r).beforestart();dr(e),i.selection=null===o?null:o,u.call(e),a.start().brush().end()}))},l.clear=function(t){l.move(t,null)},f.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(t,e){return this.starting?(this.starting=!1,this.emit("start",t,e)):this.emit("brush",t),this},brush:function(t,e){return this.emit("brush",t,e),this},end:function(t,e){return 0===--this.active&&(delete this.state.emitter,this.emit("end",t,e)),this},emit:function(e,n,r){var i=Xt(this.that).datum();a.call(e,this.that,new ni(e,{sourceEvent:n,target:l,selection:t.output(this.state.selection),mode:r,dispatch:a}),i)}},l.extent=function(t){return arguments.length?(n="function"===typeof t?t:ei(di(t)),l):n},l.filter=function(t){return arguments.length?(r="function"===typeof t?t:ei(!!t),l):r},l.touchable=function(t){return arguments.length?(i="function"===typeof t?t:ei(!!t),l):i},l.handleSize=function(t){return arguments.length?(s=+t,l):s},l.keyModifiers=function(t){return arguments.length?(o=!!t,l):o},l.on=function(){var t=a.on.apply(a,arguments);return t===a?l:t},l}function ki(t){return function(t){if(Array.isArray(t))return ji(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return ji(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ji(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ji(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}!function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!==typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}('.timelines-chart {\n\n text-align: center;\n\n /* Cancel selection interaction */\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n .timelines-chart .axises line, .timelines-chart .axises path {\n stroke: #808080;\n }\n\n .timelines-chart .axises .x-axis {\n font: 12px sans-serif;\n }\n\n .timelines-chart .axises .x-grid line {\n stroke: #D3D3D3;\n }\n\n .timelines-chart .axises .y-axis line, .timelines-chart .axises .y-axis path, .timelines-chart .axises .grp-axis line, .timelines-chart .axises .grp-axis path {\n stroke: none;\n }\n\n .timelines-chart .axises .y-axis text, .timelines-chart .axises .grp-axis text {\n fill: #2F4F4F;\n }\n\n .timelines-chart line.x-axis-date-marker {\n stroke-width: 1;\n stroke: #293cb7;\n fill: "none";\n }\n\n .timelines-chart .series-group {\n fill-opacity: 0.6;\n stroke: #808080;\n stroke-opacity: 0.2;\n }\n\n .timelines-chart .series-segment {\n stroke: none;\n }\n\n .timelines-chart .series-group, .timelines-chart .series-segment {\n cursor: crosshair;\n }\n\n .timelines-chart .legend {\n font-family: Sans-Serif;\n }\n\n .timelines-chart .legend .legendText {\n fill: #666;\n }\n\n .timelines-chart .reset-zoom-btn {\n font-family: sans-serif;\n fill: blue;\n opacity: .6;\n cursor: pointer;\n }\n\n.brusher .grid-background {\n fill: lightgrey;\n }\n\n.brusher .axis path {\n display: none;\n }\n\n.brusher .tick text {\n text-anchor: middle;\n }\n\n.brusher .grid line, .brusher .grid path {\n stroke: #fff;\n }\n\n.chart-zoom-selection, .brusher .brush .selection {\n stroke: blue;\n stroke-opacity: 0.6;\n fill: blue;\n fill-opacity: 0.3;\n shape-rendering: crispEdges;\n}\n\n.chart-tooltip {\n color: #eee;\n background: rgba(0,0,140,0.85);\n padding: 5px;\n border-radius: 3px;\n font: 11px sans-serif;\n z-index: 4000;\n}\n\n.chart-tooltip.group-tooltip {\n font-size: 14px;\n }\n\n.chart-tooltip.line-tooltip {\n font-size: 13px;\n }\n\n.chart-tooltip.group-tooltip, .chart-tooltip.line-tooltip {\n font-weight: bold;\n }\n\n.chart-tooltip.segment-tooltip {\n text-align: center;\n }');var Ei=s({props:{width:{default:300},height:{default:20},margins:{default:{top:0,right:0,bottom:20,left:0}},scale:{},domainRange:{},currentSelection:{},tickFormat:{},onChange:{default:function(t,e){}}},init:function(t,e){e.xGrid=m().tickFormat(""),e.xAxis=m().tickPadding(0),e.brush=_i(hi).handleSize(24).on("end",(function(t){if(t.sourceEvent){var n=t.selection?t.selection.map(e.scale.invert):e.scale.domain();e.onChange.apply(e,ki(n))}})),e.svg=Xt(t).append("svg").attr("class","brusher");var n=e.svg.append("g").attr("class","brusher-margins");n.append("rect").attr("class","grid-background"),n.append("g").attr("class","x grid"),n.append("g").attr("class","x axis"),n.append("g").attr("class","brush")},update:function(t){if(!(t.domainRange[1]<=t.domainRange[0])){var e=t.width-t.margins.left-t.margins.right,n=t.height-t.margins.top-t.margins.bottom;t.scale.domain(t.domainRange).range([0,e]),t.xAxis.scale(t.scale).tickFormat(t.tickFormat),t.xGrid.scale(t.scale).tickSize(-n),t.svg.attr("width",t.width).attr("height",t.height),t.svg.select(".brusher-margins").attr("transform","translate(".concat(t.margins.left,",").concat(t.margins.top,")")),t.svg.select(".grid-background").attr("width",e).attr("height",n),t.svg.select(".x.grid").attr("transform","translate(0,"+n+")").call(t.xGrid),t.svg.select(".x.axis").attr("transform","translate(0,"+n+")").call(t.xAxis).selectAll("text").attr("y",8),t.svg.select(".brush").call(t.brush.extent([[0,0],[e,n]])).call(t.brush.move,t.currentSelection.map(t.scale))}}});function Pi(t,e){var n=t.split(/(\d+)/),r=e.split(/(\d+)/);n.length&&""==n[n.length-1]&&n.pop(),r.length&&""==r[r.length-1]&&r.pop();for(var i=0,o=Math.max(n.length,r.length);i<o;i++){if(n.length==i||r.length==i)return n.length-r.length;if(n[i]!=r[i])return n[i].match(/\d/)?+n[i]-+r[i]:n[i].toLowerCase()>r[i].toLowerCase()?1:-1}return 0}var Mi=s({props:{data:{default:[],onChange:function(t,e){!function(t){e.completeStructData=[],e.completeFlatData=[],e.totalNLines=0;for(var n=0,r=t.length;n<r;n++){var i=t[n].group;e.completeStructData.push({group:i,lines:t[n].data.map((function(t){return t.label}))});for(var o=0,a=t[n].data.length;o<a;o++){for(var s=0,c=t[n].data[o].data.length;s<c;s++){var l=t[n].data[o].data[s],u=l.timeRange,g=l.val,f=l.labelVal;e.completeFlatData.push({group:i,label:t[n].data[o].label,timeRange:u.map((function(t){return new Date(t)})),val:g,labelVal:void 0!==f?f:g,data:t[n].data[o].data[s]})}e.totalNLines++}}}(t),e.zoomX=[l(e.completeFlatData,(function(t){return t.timeRange[0]})),u(e.completeFlatData,(function(t){return t.timeRange[1]}))],e.zoomY=[null,null],e.overviewArea&&e.overviewArea.domainRange(e.zoomX).currentSelection(e.zoomX)}},width:{default:window.innerWidth},maxHeight:{default:640},maxLineHeight:{default:12},leftMargin:{default:90},rightMargin:{default:100},topMargin:{default:26},bottomMargin:{default:30},useUtc:{default:!1},xTickFormat:{},dateMarker:{},timeFormat:{default:"%Y-%m-%d %-I:%M:%S %p",triggerUpdate:!1},zoomX:{default:[null,null],onChange:function(t,e){e.svg&&e.svg.dispatch("zoom",{detail:{zoomX:t,zoomY:null,redraw:!1}})}},zoomY:{default:[null,null],onChange:function(t,e){e.svg&&e.svg.dispatch("zoom",{detail:{zoomX:null,zoomY:t,redraw:!1}})}},minSegmentDuration:{},zColorScale:{default:Object(b.b)(vn)},zQualitative:{default:!1,onChange:function(t,e){e.zColorScale=t?Object(x.a)([].concat(ki(In),ki(yn))):Object(b.b)(vn)}},zDataLabel:{default:"",triggerUpdate:!1},zScaleLabel:{default:"",triggerUpdate:!1},enableOverview:{default:!0},enableAnimations:{default:!0,onChange:function(t,e){e.transDuration=t?700:0}},segmentTooltipContent:{triggerUpdate:!1},onZoom:{},onLabelClick:{},onSegmentClick:{}},methods:{getNLines:function(t){return t.nLines},getTotalNLines:function(t){return t.totalNLines},getVisibleStructure:function(t){return t.structData},getSvg:function(t){return Xt(t.svg.node().parentNode).html()},zoomYLabels:function(t,e){return e?this.zoomY([r(e[0],!0),r(e[1],!1)]):[n(t.zoomY[0]),n(t.zoomY[1])];function n(e){if(null==e)return e;for(var n=e,r=0,i=t.completeStructData.length;r<i;r++){if(t.completeStructData[r].lines.length>n)return o(t.completeStructData[r],n);n-=t.completeStructData[r].lines.length}return o(t.completeStructData[t.completeStructData.length-1],t.completeStructData[t.completeStructData.length-1].lines.length-1);function o(t,e){return{group:t.group,label:t.lines[e]}}}function r(e,n){var r=(n=n||!1)?0:1;if(null==e)return e;for(var i=0,o=0,a=t.completeStructData.length;o<a;o++){var s=t.grpCmpFunction(e.group,t.completeStructData[o].group);if(s<0)break;if(0==s&&e.group==t.completeStructData[o].group){for(var c=0,l=t.completeStructData[o].lines.length;c<l;c++){var u=t.labelCmpFunction(e.label,t.completeStructData[o].lines[c]);if(u<0)return i+c-r;if(0==u&&e.label==t.completeStructData[o].lines[c])return i+c}return i+t.completeStructData[o].lines.length-r}i+=t.completeStructData[o].lines.length}return i-r}},sort:function(t,e,n){null==e&&(e=t.labelCmpFunction),null==n&&(n=t.grpCmpFunction),t.labelCmpFunction=e,t.grpCmpFunction=n,t.completeStructData.sort((function(t,e){return n(t.group,e.group)}));for(var r=0,i=t.completeStructData.length;r<i;r++)t.completeStructData[r].lines.sort(e);return t._rerender(),this},sortAlpha:function(t,e){null==e&&(e=!0);var n=function(t,n){return Pi(e?t:n,e?n:t)};return this.sort(n,n)},sortChrono:function(t,e){function n(e){for(var n={},r=function(r,i){var o=e(t.completeFlatData[r]);if(n.hasOwnProperty(o))return"continue";var a=t.completeFlatData.filter((function(t){return o==e(t)}));n[o]=[l(a,(function(t){return t.timeRange[0]})),u(a,(function(t){return t.timeRange[1]}))]},i=0,o=t.completeFlatData.length;i<o;i++)r(i);return n}null==e&&(e=!0);function r(t,e){return function(n,r){return function(t,e){var n=t[1],r=e[1];return n&&r?n[1].getTime()==r[1].getTime()?n[0].getTime()==r[0].getTime()?Pi(t[0],e[0]):n[0]-r[0]:r[1]-n[1]:null}(t(e?n:r),t(e?r:n))}}var i=n((function(t){return t.group})),o=n((function(t){return t.label})),a=r((function(t){return[t,i[t]||null]}),e),s=r((function(t){return[t,o[t]||null]}),e);return this.sort(s,a)},overviewDomain:function(t,e){return t.enableOverview?e?(t.overviewArea.domainRange(e),this):t.overviewArea.domainRange():null},refresh:function(t){return t._rerender(),this}},stateInit:{height:null,overviewHeight:20,minLabelFont:2,groupBkgGradient:["#FAFAFA","#E0E0E0"],yScale:null,grpScale:null,xAxis:null,xGrid:null,yAxis:null,grpAxis:null,dateMarkerLine:null,svg:null,graph:null,overviewAreaElem:null,overviewArea:null,graphW:null,graphH:null,completeStructData:null,structData:null,completeFlatData:null,flatData:null,totalNLines:null,nLines:null,minSegmentDuration:0,transDuration:700,labelCmpFunction:Pi,grpCmpFunction:Pi},init:function(t,e){var n,r=Xt(t).attr("class","timelines-chart");e.svg=r.append("svg"),e.overviewAreaElem=r.append("div"),e.yScale=Object(w.b)(),e.grpScale=Object(x.a)(),e.xAxis=m(),e.xGrid=y(1,n),e.yAxis=function(t){return y(2,t)}(),e.grpAxis=function(t){return y(4,t)}(),function(){e.yScale.invert=n,e.grpScale.invert=n,e.groupGradId=bn().colorScale(Object(O.a)().domain([0,1]).range(e.groupBkgGradient)).angle(-90)(e.svg.node()).id();var t=e.svg.append("g").attr("class","axises");t.append("g").attr("class","x-axis"),t.append("g").attr("class","x-grid"),t.append("g").attr("class","y-axis"),t.append("g").attr("class","grp-axis"),e.yAxis.scale(e.yScale).tickSize(0),e.grpAxis.scale(e.grpScale).tickSize(0),e.colorLegend=En()(e.svg.append("g").attr("class","legendG").node()),e.graph=e.svg.append("g"),e.dateMarkerLine=e.svg.append("line").attr("class","x-axis-date-marker"),e.enableOverview&&(e.overviewArea=Ei().margins({top:1,right:20,bottom:20,left:20}).onChange((function(t,n){e.svg.dispatch("zoom",{detail:{zoomX:[t,n],zoomY:null}})})).domainRange(e.zoomX).currentSelection(e.zoomX)(e.overviewAreaElem.node()),e.svg.on("zoomScent",(function(t){var n=t.detail.zoomX;e.overviewArea&&n&&((n[0]<e.overviewArea.domainRange()[0]||n[1]>e.overviewArea.domainRange()[1])&&e.overviewArea.domainRange([new Date(Math.min(n[0],e.overviewArea.domainRange()[0])),new Date(Math.max(n[1],e.overviewArea.domainRange()[1]))]),e.overviewArea.currentSelection(n))})));function n(t,e){e=e||function(t,e){return t>=e};var n=this.domain(),r=this.range();2===r.length&&2!==n.length&&(r=function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}(r[0],r[1],(r[1]-r[0])/n.length));for(var i=r[0],o=0,a=r.length;o<a;o++)if(e(r[o]+i,t))return n[Math.round(o*n.length/r.length)];return this.domain()[this.domain().length-1]}}(),e.groupTooltip=hn().attr("class","chart-tooltip group-tooltip").direction("w").offset([0,0]).html((function(t,n){var r=n.hasOwnProperty("timeRange")?e.xScale(n.timeRange[0]):0,i=n.hasOwnProperty("label")?e.grpScale(n.group)-e.yScale(n.group+"+&+"+n.label):0;return e.groupTooltip.offset([i,-r]),n.group})),e.svg.call(e.groupTooltip),e.lineTooltip=hn().attr("class","chart-tooltip line-tooltip").direction("e").offset([0,0]).html((function(t,n){var r=n.hasOwnProperty("timeRange")?e.xScale.range()[1]-e.xScale(n.timeRange[1]):0;return e.lineTooltip.offset([0,r]),n.label})),e.svg.call(e.lineTooltip),e.segmentTooltip=hn().attr("class","chart-tooltip segment-tooltip").direction("s").offset([5,0]).html((function(t,n){if(e.segmentTooltipContent)return e.segmentTooltipContent(n);var r=e.zColorScale.domain()[e.zColorScale.domain().length-1]-e.zColorScale.domain()[0],i=(e.useUtc?qt.b:qt.a)("".concat(e.timeFormat).concat(e.useUtc?" (UTC)":""));return"<strong>"+n.labelVal+" </strong>"+e.zDataLabel+(r?" (<strong>"+Math.round((n.val-e.zColorScale.domain()[0])/r*100*100)/100+"%</strong>)":"")+"<br><strong>From: </strong>"+i(n.timeRange[0])+"<br><strong>To: </strong>"+i(n.timeRange[1])})),e.svg.call(e.segmentTooltip),function(){var t=function(t){return Zt(t,e.graph.node())};e.graph.on("mousedown",(function(n){if(null==Xt(window).on("mousemove.zoomRect")){var r=t(n);if(!(r[0]<0||r[0]>e.graphW||r[1]<0||r[1]>e.graphH)){e.disableHover=!0;var i=e.graph.append("rect").attr("class","chart-zoom-selection");Xt(window).on("mousemove.zoomRect",(function(n){n.stopPropagation();var o=t(n),a=[Math.max(0,Math.min(e.graphW,o[0])),Math.max(0,Math.min(e.graphH,o[1]))];i.attr("x",Math.min(r[0],a[0])).attr("y",Math.min(r[1],a[1])).attr("width",Math.abs(a[0]-r[0])).attr("height",Math.abs(a[1]-r[1])),e.svg.dispatch("zoomScent",{detail:{zoomX:[r[0],a[0]].sort(g).map(e.xScale.invert),zoomY:[r[1],a[1]].sort(g).map((function(t){return e.yScale.domain().indexOf(e.yScale.invert(t))+(e.zoomY&&e.zoomY[0]?e.zoomY[0]:0)}))}})})).on("mouseup.zoomRect",(function(n){Xt(window).on("mousemove.zoomRect",null).on("mouseup.zoomRect",null),Xt("body").classed("stat-noselect",!1),i.remove(),e.disableHover=!1;var o=t(n),a=[Math.max(0,Math.min(e.graphW,o[0])),Math.max(0,Math.min(e.graphH,o[1]))];if(r[0]!=a[0]||r[1]!=a[1]){var s=[r[0],a[0]].sort(g).map(e.xScale.invert),c=[r[1],a[1]].sort(g).map((function(t){return e.yScale.domain().indexOf(e.yScale.invert(t))+(e.zoomY&&e.zoomY[0]?e.zoomY[0]:0)})),l=s[1]-s[0]>6e4,u=c[0]!=e.zoomY[0]||c[1]!=e.zoomY[1];(l||u)&&e.svg.dispatch("zoom",{detail:{zoomX:l?s:null,zoomY:u?c:null}})}}),!0),n.stopPropagation()}}})),e.resetBtn=e.svg.append("text").attr("class","reset-zoom-btn").text("Reset Zoom").style("text-anchor","end").on("mouseup",(function(){e.svg.dispatch("resetZoom")})).on("mouseover",(function(){Xt(this).style("opacity",1)})).on("mouseout",(function(){Xt(this).style("opacity",.6)}))}(),e.svg.on("zoom",(function(t){var n=t.detail,r=n.zoomX,i=n.zoomY,o=null==n.redraw||n.redraw;(r||i)&&(r&&(e.zoomX=r),i&&(e.zoomY=i),e.svg.dispatch("zoomScent",{detail:{zoomX:r,zoomY:i}}),o&&(e._rerender(),e.onZoom&&e.onZoom(e.zoomX,e.zoomY)))})),e.svg.on("resetZoom",(function(){var t=e.zoomX,n=e.zoomY||[null,null],r=e.enableOverview?e.overviewArea.domainRange():[l(e.flatData,(function(t){return t.timeRange[0]})),u(e.flatData,(function(t){return t.timeRange[1]}))],i=[null,null];(t[0]<r[0]||t[1]>r[1]||n[0]!=i[0]||n[1]!=r[1])&&(e.zoomX=[new Date(Math.min(t[0],r[0])),new Date(Math.max(t[1],r[1]))],e.zoomY=i,e.svg.dispatch("zoomScent",{detail:{zoomX:e.zoomX,zoomY:e.zoomY}}),e._rerender()),e.onZoom&&e.onZoom(null,null)}))},update:function(t){!function(){if(t.flatData=t.minSegmentDuration>0?t.completeFlatData.filter((function(e){return e.timeRange[1]-e.timeRange[0]>=t.minSegmentDuration})):t.completeFlatData,null==t.zoomY||t.zoomY==[null,null]){t.structData=t.completeStructData,t.nLines=0;for(var e=0,n=t.structData.length;e<n;e++)t.nLines+=t.structData[e].lines.length;return}t.structData=[];var r=[null==t.zoomY[0]?0:t.zoomY[0]];r.push(Math.max(0,(null==t.zoomY[1]?t.totalNLines:t.zoomY[1]+1)-r[0])),t.nLines=r[1];for(var i=function(e,n){var i=t.completeStructData[e].lines;if(t.minSegmentDuration>0){if(!t.flatData.some((function(n){return n.group==t.completeStructData[e].group})))return"continue";i=t.completeStructData[e].lines.filter((function(n){return t.flatData.some((function(r){return r.group==t.completeStructData[e].group&&r.label==n}))}))}if(r[0]>=i.length)return r[0]-=i.length,"continue";var o={group:t.completeStructData[e].group,lines:null};if(i.length-r[0]>=r[1])return o.lines=i.slice(r[0],r[1]+r[0]),t.structData.push(o),r[1]=0,"break";r[0]>0?(o.lines=i.slice(r[0]),r[0]=0):o.lines=i,t.structData.push(o),r[1]-=o.lines.length},o=0,a=t.completeStructData.length;o<a;o++){var s=i(o);if("continue"!==s&&"break"===s)break}t.nLines-=r[1]}(),t.graphW=t.width-t.leftMargin-t.rightMargin,t.graphH=l([t.nLines*t.maxLineHeight,t.maxHeight-t.topMargin-t.bottomMargin]),t.height=t.graphH+t.topMargin+t.bottomMargin,t.svg.transition().duration(t.transDuration).attr("width",t.width).attr("height",t.height),t.graph.attr("transform","translate("+t.leftMargin+","+t.topMargin+")"),t.overviewArea&&t.overviewArea.width(.8*t.width).height(t.overviewHeight+t.overviewArea.margins().top+t.overviewArea.margins().bottom),t.zoomX[0]=t.zoomX[0]||l(t.flatData,(function(t){return t.timeRange[0]})),t.zoomX[1]=t.zoomX[1]||u(t.flatData,(function(t){return t.timeRange[1]})),t.xScale=(t.useUtc?S.a:_.b)().domain(t.zoomX).range([0,t.graphW]).clamp(!0),t.overviewArea&&t.overviewArea.scale(t.xScale.copy()).tickFormat(t.xTickFormat),function(){for(var e=[],n=function(n,r){e=e.concat(t.structData[n].lines.map((function(e){return t.structData[n].group+"+&+"+e})))},r=0,i=t.structData.length;r<i;r++)n(r);t.yScale.domain(e),t.yScale.range([t.graphH/e.length*.5,t.graphH*(1-.5/e.length)])}(),function(){t.grpScale.domain(t.structData.map((function(t){return t.group})));var e=0;t.grpScale.range(t.structData.map((function(n){var r=(e+n.lines.length/2)/t.nLines*t.graphH;return e+=n.lines.length,r})))}(),function(){t.svg.select(".axises").attr("transform","translate("+t.leftMargin+","+t.topMargin+")");var e=Math.max(2,Math.min(12,Math.round(.012*t.graphW)));t.xAxis.scale(t.xScale).ticks(e).tickFormat(t.xTickFormat),t.xGrid.scale(t.xScale).ticks(e).tickFormat(""),t.svg.select("g.x-axis").style("stroke-opacity",0).style("fill-opacity",0).attr("transform","translate(0,"+t.graphH+")").transition().duration(t.transDuration).call(t.xAxis).style("stroke-opacity",1).style("fill-opacity",1),t.xGrid.tickSize(t.graphH),t.svg.select("g.x-grid").attr("transform","translate(0,"+t.graphH+")").transition().duration(t.transDuration).call(t.xGrid),t.dateMarker&&t.dateMarker>=t.xScale.domain()[0]&&t.dateMarker<=t.xScale.domain()[1]?t.dateMarkerLine.style("display","block").transition().duration(t.transDuration).attr("x1",t.xScale(t.dateMarker)+t.leftMargin).attr("x2",t.xScale(t.dateMarker)+t.leftMargin).attr("y1",t.topMargin+1).attr("y2",t.graphH+t.topMargin):t.dateMarkerLine.style("display","none");var n=Math.ceil(t.nLines*t.minLabelFont/Math.sqrt(2)/t.graphH/.6),r=t.yScale.domain().filter((function(t,e){return!(e%n)})),i=Math.min(12,t.graphH/r.length*.6*Math.sqrt(2)),o=Math.ceil(t.rightMargin/(i/Math.sqrt(2)));t.yAxis.tickValues(r),t.yAxis.tickFormat((function(t){return s(t.split("+&+")[1],o)})),t.svg.select("g.y-axis").transition().duration(t.transDuration).attr("transform","translate("+t.graphW+", 0)").style("font-size",i+"px").call(t.yAxis);var a=l(t.grpScale.range(),(function(e,n){return n>0?e-t.grpScale.range()[n-1]:2*e}));i=Math.min(14,.6*a*Math.sqrt(2)),o=Math.floor(t.leftMargin/(i/Math.sqrt(2))),t.grpAxis.tickFormat((function(t){return s(t,o)})),t.svg.select("g.grp-axis").transition().duration(t.transDuration).style("font-size",i+"px").call(t.grpAxis),t.onLabelClick&&t.svg.selectAll("g.y-axis,g.grp-axis").selectAll("text").style("cursor","pointer").on("click",(function(e){var n=e.split("+&+");t.onLabelClick.apply(t,ki(n.reverse()))}));function s(t,e){return t.length<=e?t:t.substring(0,2*e/3)+"..."+t.substring(t.length-e/3,t.length)}}(),function(){var e=t.graph.selectAll("rect.series-group").data(t.structData,(function(t){return t.group}));e.exit().transition().duration(t.transDuration).style("stroke-opacity",0).style("fill-opacity",0).remove();var n=e.enter().append("rect").attr("class","series-group").attr("x",0).attr("y",0).attr("height",0).style("fill","url(#"+t.groupGradId+")").on("mouseover",t.groupTooltip.show).on("mouseout",t.groupTooltip.hide);n.append("title").text("click-drag to zoom in"),(e=e.merge(n)).transition().duration(t.transDuration).attr("width",t.graphW).attr("height",(function(e){return t.graphH*e.lines.length/t.nLines})).attr("y",(function(e){return t.grpScale(e.group)-t.graphH*e.lines.length/t.nLines/2}))}(),function(e){e<0&&(e=null);t.lineHeight=t.graphH/t.nLines*.8;var n=t.graph.selectAll("rect.series-segment").data(t.flatData.filter((function(n,r){return(null==e||r<e)&&t.grpScale.domain().indexOf(n.group)+1&&n.timeRange[1]>=t.xScale.domain()[0]&&n.timeRange[0]<=t.xScale.domain()[1]&&t.yScale.domain().indexOf(n.group+"+&+"+n.label)+1})),(function(t){return t.group+t.label+t.timeRange[0]}));n.exit().transition().duration(t.transDuration).style("fill-opacity",0).remove();var r=n.enter().append("rect").attr("class","series-segment").attr("rx",1).attr("ry",1).attr("x",t.graphW/2).attr("y",t.graphH/2).attr("width",0).attr("height",0).style("fill",(function(e){return t.zColorScale(e.val)})).style("fill-opacity",0).on("mouseover.groupTooltip",t.groupTooltip.show).on("mouseout.groupTooltip",t.groupTooltip.hide).on("mouseover.lineTooltip",t.lineTooltip.show).on("mouseout.lineTooltip",t.lineTooltip.hide).on("mouseover.segmentTooltip",t.segmentTooltip.show).on("mouseout.segmentTooltip",t.segmentTooltip.hide);r.on("mouseover",(function(){if(!("disableHover"in t)||!t.disableHover){mn()(this);var e=.4*t.lineHeight;Xt(this).transition().duration(70).attr("x",(function(n){return t.xScale(n.timeRange[0])-e/2})).attr("width",(function(n){return u([1,t.xScale(n.timeRange[1])-t.xScale(n.timeRange[0])])+e})).attr("y",(function(n){return t.yScale(n.group+"+&+"+n.label)-(t.lineHeight+e)/2})).attr("height",t.lineHeight+e).style("fill-opacity",1)}})).on("mouseout",(function(){Xt(this).transition().duration(250).attr("x",(function(e){return t.xScale(e.timeRange[0])})).attr("width",(function(e){return u([1,t.xScale(e.timeRange[1])-t.xScale(e.timeRange[0])])})).attr("y",(function(e){return t.yScale(e.group+"+&+"+e.label)-t.lineHeight/2})).attr("height",t.lineHeight).style("fill-opacity",.8)})).on("click",(function(e){t.onSegmentClick&&t.onSegmentClick(e)})),(n=n.merge(r)).transition().duration(t.transDuration).attr("x",(function(e){return t.xScale(e.timeRange[0])})).attr("width",(function(e){return u([1,t.xScale(e.timeRange[1])-t.xScale(e.timeRange[0])])})).attr("y",(function(e){return t.yScale(e.group+"+&+"+e.label)-t.lineHeight/2})).attr("height",t.lineHeight).style("fill-opacity",.8)}(),t.svg.select(".legendG").transition().duration(t.transDuration).attr("transform","translate(".concat(t.leftMargin+.05*t.graphW,",2)")),t.colorLegend.width(Math.max(120,t.graphW/3*(t.zQualitative?2:1))).height(.6*t.topMargin).scale(t.zColorScale).label(t.zScaleLabel),t.resetBtn.transition().duration(t.transDuration).attr("x",t.leftMargin+.99*t.graphW).attr("y",.8*t.topMargin),On().bbox({width:.4*t.graphW,height:Math.min(13,.8*t.topMargin)})(t.resetBtn.node())}});e.a=Mi},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(205);var i=n(155);function o(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(i.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(362),i=n(549);function o(t){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){return!e||"object"!==o(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){var e=Object(i.a)();return function(){var n,i=Object(r.a)(t);if(e){var o=Object(r.a)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return a(this,n)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return nt}));var r=n(16),i=n.n(r),o=n(169),a=n.n(o),s=n(14),c=n.n(s),l=n(21),u=n.n(l),g=n(0),f=n.n(g),d=n(19),h=n.n(d),p=n(122),A=n(171),C=n(38),v=n(15);function I(){return(I=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function x(t){var e=t.offset,n=t.layout,r=t.width,i=t.dataKey,o=t.data,a=t.dataPointFormatter,s=t.xAxis,c=t.yAxis,l=b(t,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),u=Object(v.c)(l),g=o.map((function(t,o){var l=a(t,i),g=l.x,d=l.y,h=l.value,p=l.errorVal;if(!p)return null;var A,v,m=[];if(Array.isArray(p)){var b=y(p,2);A=b[0],v=b[1]}else A=v=p;if("vertical"===n){var x=s.scale,w=d+e,O=w+r,S=w-r,_=x(h-A),k=x(h+v);m.push({x1:k,y1:O,x2:k,y2:S}),m.push({x1:_,y1:w,x2:k,y2:w}),m.push({x1:_,y1:O,x2:_,y2:S})}else if("horizontal"===n){var j=c.scale,E=g+e,P=E-r,M=E+r,T=j(h-A),R=j(h+v);m.push({x1:P,y1:R,x2:M,y2:R}),m.push({x1:E,y1:T,x2:E,y2:R}),m.push({x1:P,y1:T,x2:M,y2:T})}return f.a.createElement(C.a,I({className:"recharts-errorBar",key:"bar-".concat(o)},u),m.map((function(t,e){return f.a.createElement("line",I({},t,{key:"line-".concat(e)}))})))}));return f.a.createElement(C.a,{className:"recharts-errorBars"},g)}x.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},x.displayName="ErrorBar";var w=function(t){return null};w.displayName="Cell";var O=n(56),S=n.n(O),_=n(559),k=n.n(_),j=n(91),E=n(25),P=n(12);function M(t){return function(t){if(Array.isArray(t))return T(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function R(){return(R=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function N(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){L(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function F(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var B={valueAccessor:function(t){return u()(t.value)?k()(t.value):t.value}};function z(t){var e=t.data,n=t.valueAccessor,r=t.dataKey,o=t.clockWise,a=t.id,s=t.textBreakAll,c=F(t,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return e&&e.length?f.a.createElement(C.a,{className:"recharts-label-list"},e.map((function(t,e){var l=i()(r)?n(t,e):Object(P.u)(t&&t.payload,r),u=i()(a)?{}:{id:"".concat(a,"-").concat(e)};return f.a.createElement(j.a,R({},Object(v.c)(t,!0),c,u,{parentViewBox:t.parentViewBox,index:e,value:l,textBreakAll:s,viewBox:j.a.parseViewBox(i()(o)?t:N(N({},t),{},{clockWise:o})),key:"label-".concat(e)}))}))):null}function V(t,e){return t?!0===t?f.a.createElement(z,{key:"labelList-implicit",data:e}):f.a.isValidElement(t)||c()(t)?f.a.createElement(z,{key:"labelList-implicit",data:e,content:t}):S()(t)?f.a.createElement(z,R({data:e},t,{key:"labelList-implicit"})):null:null}z.displayName="LabelList",z.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=Object(E.a)(r,z.displayName).map((function(t,n){return Object(g.cloneElement)(t,{data:e,key:"labelList-".concat(n)})}));if(!n)return i;var o=V(t.label,e);return[o].concat(M(i))},z.defaultProps=B;var G=n(8),W=n(100);function Y(t){return(Y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function H(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function U(){return(U=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function X(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Z(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?X(Object(n),!0).forEach((function(e){q(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function J(t,e){return(J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function $(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=et(t);if(e){var i=et(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==Y(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var nt=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J(t,e)}(s,t);var e,n,r,o=$(s);function s(){var t;K(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))).state={isAnimationFinished:!1},t.id=Object(G.j)("recharts-bar-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()},t}return e=s,r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}},{key:"renderRectangle",value:function(t,e){return f.a.isValidElement(t)?f.a.cloneElement(t,e):c()(t)?t(e):f.a.createElement(A.a,e)}}],(n=[{key:"renderRectanglesStatically",value:function(t){var e=this,n=this.props.shape,r=Object(v.c)(this.props);return t&&t.map((function(t,i){var o=Z(Z(Z({},r),t),{},{index:i});return f.a.createElement(C.a,U({className:"recharts-bar-rectangle"},Object(v.b)(e.props,t,i),{key:"rectangle-".concat(i)}),s.renderRectangle(n,o))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,n=e.data,r=e.layout,i=e.isAnimationActive,o=e.animationBegin,a=e.animationDuration,s=e.animationEasing,c=e.animationId,l=this.state.prevData;return f.a.createElement(p.a,{begin:o,duration:a,isActive:i,easing:s,from:{t:0},to:{t:1},key:"bar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var i=e.t,o=n.map((function(t,e){var n=l&&l[e];if(n){var o=Object(G.e)(n.x,t.x),a=Object(G.e)(n.y,t.y),s=Object(G.e)(n.width,t.width),c=Object(G.e)(n.height,t.height);return Z(Z({},t),{},{x:o(i),y:a(i),width:s(i),height:c(i)})}if("horizontal"===r){var u=Object(G.e)(0,t.height)(i);return Z(Z({},t),{},{y:t.y+t.height-u,height:u})}var g=Object(G.e)(0,t.width)(i);return Z(Z({},t),{},{width:g})}));return f.a.createElement(C.a,null,t.renderRectanglesStatically(o))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,n=t.isAnimationActive,r=this.state.prevData;return!(n&&e&&e.length)||r&&a()(r,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props.data,n=Object(v.c)(this.props.background);return e.map((function(e,r){e.value;var i=e.background,o=H(e,["value","background"]);if(!i)return null;var a=Z(Z(Z(Z(Z({},o),{},{fill:"#eee"},i),n),Object(v.b)(t.props,e,r)),{},{index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return s.renderRectangle(t.props.background,a)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.data,n=t.xAxis,r=t.yAxis,i=t.layout,o=t.children,a=Object(E.a)(o,x.displayName);if(!a)return null;var s="vertical"===i?e[0].height/2:e[0].width/2;function c(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Object(P.u)(t,e)}}return a.map((function(t,o){return f.a.cloneElement(t,{key:"error-bar-".concat(o),data:e,xAxis:n,yAxis:r,layout:i,offset:s,dataPointFormatter:c})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,n=t.data,r=t.className,o=t.xAxis,a=t.yAxis,s=t.left,c=t.top,l=t.width,u=t.height,g=t.isAnimationActive,d=t.background,p=t.id;if(e||!n||!n.length)return null;var A=this.state.isAnimationFinished,v=h()("recharts-bar",r),I=o&&o.allowDataOverflow||a&&a.allowDataOverflow,y=i()(p)?this.id:p;return f.a.createElement(C.a,{className:v},I?f.a.createElement("defs",null,f.a.createElement("clipPath",{id:"clipPath-".concat(y)},f.a.createElement("rect",{x:s,y:c,width:l,height:u}))):null,f.a.createElement(C.a,{className:"recharts-bar-rectangles",clipPath:I?"url(#clipPath-".concat(y,")"):null},d?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!g||A)&&z.renderCallByParent(this.props,n))}}])&&Q(e.prototype,n),r&&Q(e,r),s}(g.PureComponent);nt.displayName="Bar",nt.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!W.a.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},nt.getComposedData=function(t){var e=t.props,n=t.item,r=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,s=t.xAxisTicks,c=t.yAxisTicks,l=t.stackedData,g=t.dataStartIndex,f=t.displayedData,d=t.offset,h=Object(P.e)(r,n);if(!h)return null;var p=e.layout,A=n.props,C=A.dataKey,v=A.children,I=A.minPointSize,y="horizontal"===p?a:o,m=l?y.scale.domain():null,b=Object(P.i)({numericAxis:y}),x=Object(E.a)(v,w.displayName),O=f.map((function(t,e){var n,r,f,d,A,v;if(l?n=Object(P.A)(l[g+e],m):(n=Object(P.u)(t,C),u()(n)||(n=[b,n])),"horizontal"===p){if(r=Object(P.j)({axis:o,ticks:s,bandSize:i,offset:h.offset,entry:t,index:e}),f=a.scale(n[1]),d=h.size,A=a.scale(n[0])-a.scale(n[1]),v={x:r,y:a.y,width:d,height:a.height},Math.abs(I)>0&&Math.abs(A)<Math.abs(I)){var y=Object(G.i)(A||I)*(Math.abs(I)-Math.abs(A));f-=y,A+=y}}else r=o.scale(n[0]),f=Object(P.j)({axis:a,ticks:c,bandSize:i,offset:h.offset,entry:t,index:e}),d=o.scale(n[1])-o.scale(n[0]),A=h.size,v={x:o.x,y:f,width:o.width,height:A},Math.abs(I)>0&&Math.abs(d)<Math.abs(I)&&(d+=Object(G.i)(d||I)*(Math.abs(I)-Math.abs(d)));return Z(Z({},t),{},{x:r,y:f,width:d,height:A,value:l?n:n[1],payload:t,background:v},x&&x[e]&&x[e].props)}));return Z({data:O,layout:p},d)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(2),i=n(108);function o(t){return t&&"object"===Object(i.a)(t)&&t.constructor===Object}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?Object(r.a)({},t):t;return o(t)&&o(e)&&Object.keys(e).forEach((function(r){"__proto__"!==r&&(o(e[r])&&r in t?i[r]=a(t[r],e[r],n):i[r]=e[r])})),i}},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(9),l=o.forwardRef((function(t,e){var n=t.children,s=t.classes,l=t.className,u=t.color,g=void 0===u?"inherit":u,f=t.component,d=void 0===f?"svg":f,h=t.fontSize,p=void 0===h?"default":h,A=t.htmlColor,C=t.titleAccess,v=t.viewBox,I=void 0===v?"0 0 24 24":v,y=Object(i.a)(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(d,Object(r.a)({className:Object(a.default)(s.root,l,"inherit"!==g&&s["color".concat(Object(c.a)(g))],"default"!==p&&s["fontSize".concat(Object(c.a)(p))]),focusable:"false",viewBox:I,color:A,"aria-hidden":!C||void 0,role:C?"img":void 0,ref:e},y),n,C?o.createElement("title",null,C):null)}));l.muiName="SvgIcon",e.a=Object(s.a)((function(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(l)},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(367),a=n(0),s=(n(6),n(3)),c=n(79),l=n(102),u=n(7),g=n(9),f=n(18),d=n(980),h=n(140),p="undefined"===typeof window?a.useEffect:a.useLayoutEffect,A=a.forwardRef((function(t,e){var n=t["aria-describedby"],u=t.autoComplete,A=t.autoFocus,C=t.classes,v=t.className,I=(t.color,t.defaultValue),y=t.disabled,m=t.endAdornment,b=(t.error,t.fullWidth),x=void 0!==b&&b,w=t.id,O=t.inputComponent,S=void 0===O?"input":O,_=t.inputProps,k=void 0===_?{}:_,j=t.inputRef,E=(t.margin,t.multiline),P=void 0!==E&&E,M=t.name,T=t.onBlur,R=t.onChange,D=t.onClick,N=t.onFocus,L=t.onKeyDown,F=t.onKeyUp,B=t.placeholder,z=t.readOnly,V=t.renderSuffix,G=t.rows,W=t.rowsMax,Y=t.rowsMin,H=t.startAdornment,U=t.type,X=void 0===U?"text":U,Z=t.value,q=Object(r.a)(t,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","startAdornment","type","value"]),K=null!=k.value?k.value:Z,Q=a.useRef(null!=K).current,J=a.useRef(),$=a.useCallback((function(t){0}),[]),tt=Object(f.a)(k.ref,$),et=Object(f.a)(j,tt),nt=Object(f.a)(J,et),rt=a.useState(!1),it=rt[0],ot=rt[1],at=Object(l.b)();var st=Object(c.a)({props:t,muiFormControl:at,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});st.focused=at?at.focused:it,a.useEffect((function(){!at&&y&&it&&(ot(!1),T&&T())}),[at,y,it,T]);var ct=at&&at.onFilled,lt=at&&at.onEmpty,ut=a.useCallback((function(t){Object(h.b)(t)?ct&&ct():lt&<()}),[ct,lt]);p((function(){Q&&ut({value:K})}),[K,ut,Q]);a.useEffect((function(){ut(J.current)}),[]);var gt=S,ft=Object(i.a)({},k,{ref:nt});"string"!==typeof gt?ft=Object(i.a)({inputRef:nt,type:X},ft,{ref:null}):P?!G||W||Y?(ft=Object(i.a)({rows:G,rowsMax:W},ft),gt=d.a):gt="textarea":ft=Object(i.a)({type:X},ft);return a.useEffect((function(){at&&at.setAdornedStart(Boolean(H))}),[at,H]),a.createElement("div",Object(i.a)({className:Object(s.default)(C.root,C["color".concat(Object(g.a)(st.color||"primary"))],v,st.disabled&&C.disabled,st.error&&C.error,x&&C.fullWidth,st.focused&&C.focused,at&&C.formControl,P&&C.multiline,H&&C.adornedStart,m&&C.adornedEnd,"dense"===st.margin&&C.marginDense),onClick:function(t){J.current&&t.currentTarget===t.target&&J.current.focus(),D&&D(t)},ref:e},q),H,a.createElement(l.a.Provider,{value:null},a.createElement(gt,Object(i.a)({"aria-invalid":st.error,"aria-describedby":n,autoComplete:u,autoFocus:A,defaultValue:I,disabled:st.disabled,id:w,onAnimationStart:function(t){ut("mui-auto-fill-cancel"===t.animationName?J.current:{value:"x"})},name:M,placeholder:B,readOnly:z,required:st.required,rows:G,value:K,onKeyDown:L,onKeyUp:F},ft,{className:Object(s.default)(C.input,k.className,st.disabled&&C.disabled,P&&C.inputMultiline,st.hiddenLabel&&C.inputHiddenLabel,H&&C.inputAdornedStart,m&&C.inputAdornedEnd,"search"===X&&C.inputTypeSearch,"dense"===st.margin&&C.inputMarginDense),onBlur:function(t){T&&T(t),k.onBlur&&k.onBlur(t),at&&at.onBlur?at.onBlur(t):ot(!1)},onChange:function(t){if(!Q){var e=t.target||J.current;if(null==e)throw new Error(Object(o.a)(1));ut({value:e.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];k.onChange&&k.onChange.apply(k,[t].concat(r)),R&&R.apply(void 0,[t].concat(r))},onFocus:function(t){st.disabled?t.stopPropagation():(N&&N(t),k.onFocus&&k.onFocus(t),at&&at.onFocus?at.onFocus(t):ot(!0))}}))),m,V?V(Object(i.a)({},st,{startAdornment:H})):null)}));e.a=Object(u.a)((function(t){var e="light"===t.palette.type,n={color:"currentColor",opacity:e?.42:.5,transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},r={opacity:"0 !important"},o={opacity:e?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Object(i.a)({},t.typography.body1,{color:t.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:t.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(A)},function(t,e,n){"use strict";n.d(e,"a",(function(){return ao}));var r=n(2),i=n(66),o=(n(45),n(37)),a=n(27),s=n(50),c=n(40),l={}.constructor;function u(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(u);if(t.constructor!==l)return t;var e={};for(var n in t)e[n]=u(t[n]);return e}function g(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,i=u(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var f=function(t,e){for(var n="",r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=e),n+=t[r];return n},d=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=", "),n+=f(t[r]," ");else n=f(t,", ");return e||"!important"!==t[t.length-1]||(n+=" !important"),n};function h(t,e){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function p(t,e,n){void 0===n&&(n={});var r="";if(!e)return r;var i=n.indent,o=void 0===i?0:i,a=e.fallbacks;if(t&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var c=a[s];for(var l in c){var u=c[l];null!=u&&(r&&(r+="\n"),r+=""+h(l+": "+d(u)+";",o))}}else for(var g in a){var f=a[g];null!=f&&(r&&(r+="\n"),r+=""+h(g+": "+d(f)+";",o))}for(var p in e){var A=e[p];null!=A&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+h(p+": "+d(A)+";",o))}return(r||n.allowEmpty)&&t?(r&&(r="\n"+r+"\n"),h(t+" {"+r,--o)+h("}",o)):r}var A=/([[\].#*$><+~=|^:(),"'`\s])/g,C="undefined"!==typeof CSS&&CSS.escape,v=function(t){return C?C(t):t.replace(A,"\\$1")},I=function(){function t(t,e,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var c=this.options.sheet;return c&&c.attached,this},t}(),y=function(t){function e(e,n,r){var i;(i=t.call(this,e,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,c=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(Object(s.a)(Object(s.a)(i)),c),i.selectorText="."+v(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=d(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return p(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(I),m={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new y(t,e,n)}},b={indent:1,children:!0},x=/@([\w-]+)/,w=function(){function t(t,e,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t;var i=t.match(x);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new X(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.toString=function(t){if(void 0===t&&(t=b),null==t.indent&&(t.indent=b.indent),null==t.children&&(t.children=b.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),O=/@media|@supports\s+/,S={onCreateRule:function(t,e,n){return O.test(t)?new w(t,e,n):null}},_={indent:1,children:!0},k=/@keyframes\s+([\w-]+)/,j=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var i=t.match(k);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var c in this.id=!1===o?this.name:v(s(this,a)),this.rules=new X(Object(r.a)({},n,{parent:this})),e)this.rules.add(c,e[c],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=_),null==t.indent&&(t.indent=_.indent),null==t.children&&(t.children=_.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),E=/@keyframes\s+/,P=/\$([\w-]+)/g,M=function(t,e){return"string"===typeof t?t.replace(P,(function(t,n){return n in e?e[n]:t})):t},T=function(t,e,n){var r=t[e],i=M(r,n);i!==r&&(t[e]=i)},R={onCreateRule:function(t,e,n){return"string"===typeof t&&E.test(t)?new j(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&T(t,"animation-name",n.keyframes),"animation"in t&&T(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return M(t,r.keyframes);default:return t}}},D=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).renderable=void 0,e}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return p(this.key,this.style,n)},e}(I),N={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new D(t,e,n):null}},L=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var e="",n=0;n<this.style.length;n++)e+=p(this.at,this.style[n]),this.style[n+1]&&(e+="\n");return e}return p(this.at,this.style,t)},t}(),F=/@font-face/,B={onCreateRule:function(t,e,n){return F.test(t)?new L(t,e,n):null}},z=function(){function t(t,e,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){return p(this.key,this.style,t)},t}(),V={onCreateRule:function(t,e,n){return"@viewport"===t||"@-ms-viewport"===t?new z(t,e,n):null}},G=function(){function t(t,e,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.value=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",n=0;n<this.value.length;n++)e+=this.key+" "+this.value[n]+";",this.value[n+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),W={"@charset":!0,"@import":!0,"@namespace":!0},Y=[m,S,R,N,B,V,{onCreateRule:function(t,e,n){return t in W?new G(t,e,n):null}}],H={process:!0},U={force:!0,process:!0},X=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,n){var i=this.options,o=i.parent,a=i.sheet,s=i.jss,c=i.Renderer,l=i.generateId,u=i.scoped,f=Object(r.a)({classes:this.classes,parent:o,sheet:a,jss:s,Renderer:c,generateId:l,scoped:u,name:t,keyframes:this.keyframes,selector:void 0},n),d=t;t in this.raw&&(d=t+"-d"+this.counter++),this.raw[d]=e,d in this.classes&&(f.selector="."+v(this.classes[d]));var h=g(d,e,f);if(!h)return null;this.register(h);var p=void 0===f.index?this.index.length:f.index;return this.index.splice(p,0,h),h},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof y?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof j&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof y?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof j&&delete this.keyframes[t.name]},e.update=function(){var t,e,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.map[t],e,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],e,n)},e.updateOne=function(e,n,r){void 0===r&&(r=H);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(n,r);else{var s=e,c=s.style;if(o.onUpdate(n,e,a,r),r.process&&c&&c!==s.style){for(var l in o.onProcessStyle(s.style,s,a),s.style){var u=s.style[l];u!==c[l]&&s.prop(l,u,U)}for(var g in c){var f=s.style[g],d=c[g];null==f&&f!==d&&s.prop(g,null,U)}}}},e.toString=function(t){for(var e="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(t);(o||r)&&(e&&(e+="\n"),e+=o)}return e},t}(),Z=function(){function t(t,e){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new X(this.options),t)this.rules.add(n,t[n]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(t,e,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var n=[];for(var r in t){var i=this.addRule(r,t[r],e);i&&n.push(i)}return n},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,n){return this.rules.updateOne(t,e,n),this},e.toString=function(t){return this.rules.toString(t)},t}(),q=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=t.prototype;return e.onCreateRule=function(t,e,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](t,e,n);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)e.style=this.registry.onProcessStyle[r](e.style,e,n)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,n,r)},e.onChangeValue=function(t,e,n){for(var r=t,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,e,n);return r},e.use=function(t,e){void 0===e&&(e={queue:"external"});var n=this.plugins[e.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var n in e)n in t&&t[n].push(e[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),K=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,n=t.options.index;if(-1===e.indexOf(t))if(0===e.length||n>=this.index)e.push(t);else for(var r=0;r<e.length;r++)if(e[r].options.index>n)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(c.a)(e,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=n&&a.attached!==n||(i&&(i+="\n"),i+=a.toString(r))}return i},Object(o.a)(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),Q="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),J="2f1acc6c3a606b082e5eef5e54414ffb";null==Q[J]&&(Q[J]=0);var $=Q[J]++,tt=function(t){void 0===t&&(t={});var e=0;return function(n,r){e+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),t.minify?""+(o||"c")+$+i+e:o+n.key+"-"+$+(i?"-"+i:"")+"-"+e}},et=function(t){var e;return function(){return e||(e=t()),e}},nt=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(n){return""}},rt=function(t,e,n){try{var r=n;if(Array.isArray(n)&&(r=d(n,!0),"!important"===n[n.length-1]))return t.style.setProperty(e,r,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,r):t.style.setProperty(e,r)}catch(i){return!1}return!0},it=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},ot=function(t,e){return t.selectorText=e,t.selectorText===e},at=et((function(){return document.querySelector("head")}));function st(t){var e=K.registry;if(e.length>0){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.attached&&r.options.index>e.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=at(),n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===t)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var ct=et((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),lt=function(t,e,n){try{if("insertRule"in t)t.insertRule(e,n);else if("appendRule"in t){t.appendRule(e)}}catch(r){return!1}return t.cssRules[n]},ut=function(t,e){var n=t.cssRules.length;return void 0===e||e>n?n:e},gt=function(){function t(t){this.getPropertyValue=nt,this.setProperty=rt,this.removeProperty=it,this.setSelector=ot,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&K.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=ct();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=st(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else at().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,e)},e.insertRule=function(t,e,n){if(void 0===n&&(n=this.element.sheet),t.rules){var r=t,i=n;if("conditional"===t.type||"keyframes"===t.type){var o=ut(n,e);if(!1===(i=lt(n,r.toString({children:!1}),o)))return!1;this.refCssRule(t,o,i)}return this.insertRules(r.rules,i),i}var a=t.toString();if(!a)return!1;var s=ut(n,e),c=lt(n,a,s);return!1!==c&&(this.hasInsertedRules=!0,this.refCssRule(t,s,c),c)},e.refCssRule=function(t,e,n){t.renderable=n,t.options.parent instanceof Z&&(this.cssRules[e]=n)},e.deleteRule=function(t){var e=this.element.sheet,n=this.indexOf(t);return-1!==n&&(e.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(e,n))},e.getRules=function(){return this.element.sheet.cssRules},t}(),ft=0,dt=function(){function t(t){this.id=ft++,this.version="10.5.1",this.plugins=new q,this.options={id:{minify:!1},createGenerateId:tt,Renderer:i.a?gt:null,plugins:[]},this.generateId=tt({minify:!1});for(var e=0;e<Y.length;e++)this.plugins.use(Y[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(r.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var n=e.index;"number"!==typeof n&&(n=0===K.index?0:K.index+1);var i=new Z(t,Object(r.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(i),i},e.removeStyleSheet=function(t){return t.detach(),K.remove(t),this},e.createRule=function(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof t)return this.createRule(void 0,t,e);var i=Object(r.a)({},n,{name:t,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var o=g(t,e,i);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){t.plugins.use(e)})),this},t}();"object"===typeof CSS&&null!=CSS&&CSS,new dt(ht);var ht,pt=Date.now(),At="fnValues"+pt,Ct="fnStyle"+ ++pt,vt=function(){return{onCreateRule:function(t,e,n){if("function"!==typeof e)return null;var r=g(t,{},n);return r[Ct]=e,r},onProcessStyle:function(t,e){if(At in e||Ct in e)return t;var n={};for(var r in t){var i=t[r];"function"===typeof i&&(delete t[r],n[r]=i)}return e[At]=n,t},onUpdate:function(t,e,n,r){var i=e,o=i[Ct];o&&(i.style=o(t)||{});var a=i[At];if(a)for(var s in a)i.prop(s,a[s](t),r)}}},It={}.constructor;function yt(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(yt);if(t.constructor!==It)return t;var e={};for(var n in t)e[n]=yt(t[n]);return e}function mt(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,i=yt(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var bt=function(t,e){for(var n="",r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=e),n+=t[r];return n},xt=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=", "),n+=bt(t[r]," ");else n=bt(t,", ");return e||"!important"!==t[t.length-1]||(n+=" !important"),n};function wt(t,e){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function Ot(t,e,n){void 0===n&&(n={});var r="";if(!e)return r;var i=n.indent,o=void 0===i?0:i,a=e.fallbacks;if(t&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var c=a[s];for(var l in c){var u=c[l];null!=u&&(r&&(r+="\n"),r+=""+wt(l+": "+xt(u)+";",o))}}else for(var g in a){var f=a[g];null!=f&&(r&&(r+="\n"),r+=""+wt(g+": "+xt(f)+";",o))}for(var d in e){var h=e[d];null!=h&&"fallbacks"!==d&&(r&&(r+="\n"),r+=""+wt(d+": "+xt(h)+";",o))}return(r||n.allowEmpty)&&t?(r&&(r="\n"+r+"\n"),wt(t+" {"+r,--o)+wt("}",o)):r}var St=/([[\].#*$><+~=|^:(),"'`\s])/g,_t="undefined"!==typeof CSS&&CSS.escape,kt=function(t){return _t?_t(t):t.replace(St,"\\$1")},jt=function(){function t(t,e,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var c=this.options.sheet;return c&&c.attached,this},t}(),Et=function(t){function e(e,n,r){var i;(i=t.call(this,e,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,c=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(Object(s.a)(Object(s.a)(i)),c),i.selectorText="."+kt(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=xt(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return Ot(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(jt),Pt={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new Et(t,e,n)}},Mt={indent:1,children:!0},Tt=/@([\w-]+)/,Rt=function(){function t(t,e,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t;var i=t.match(Tt);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new re(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.toString=function(t){if(void 0===t&&(t=Mt),null==t.indent&&(t.indent=Mt.indent),null==t.children&&(t.children=Mt.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),Dt=/@media|@supports\s+/,Nt={onCreateRule:function(t,e,n){return Dt.test(t)?new Rt(t,e,n):null}},Lt={indent:1,children:!0},Ft=/@keyframes\s+([\w-]+)/,Bt=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var i=t.match(Ft);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var c in this.id=!1===o?this.name:kt(s(this,a)),this.rules=new re(Object(r.a)({},n,{parent:this})),e)this.rules.add(c,e[c],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=Lt),null==t.indent&&(t.indent=Lt.indent),null==t.children&&(t.children=Lt.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),zt=/@keyframes\s+/,Vt=/\$([\w-]+)/g,Gt=function(t,e){return"string"===typeof t?t.replace(Vt,(function(t,n){return n in e?e[n]:t})):t},Wt=function(t,e,n){var r=t[e],i=Gt(r,n);i!==r&&(t[e]=i)},Yt={onCreateRule:function(t,e,n){return"string"===typeof t&&zt.test(t)?new Bt(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&Wt(t,"animation-name",n.keyframes),"animation"in t&&Wt(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return Gt(t,r.keyframes);default:return t}}},Ht=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).renderable=void 0,e}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return Ot(this.key,this.style,n)},e}(jt),Ut={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new Ht(t,e,n):null}},Xt=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var e="",n=0;n<this.style.length;n++)e+=Ot(this.at,this.style[n]),this.style[n+1]&&(e+="\n");return e}return Ot(this.at,this.style,t)},t}(),Zt=/@font-face/,qt={onCreateRule:function(t,e,n){return Zt.test(t)?new Xt(t,e,n):null}},Kt=function(){function t(t,e,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){return Ot(this.key,this.style,t)},t}(),Qt={onCreateRule:function(t,e,n){return"@viewport"===t||"@-ms-viewport"===t?new Kt(t,e,n):null}},Jt=function(){function t(t,e,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.value=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",n=0;n<this.value.length;n++)e+=this.key+" "+this.value[n]+";",this.value[n+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),$t={"@charset":!0,"@import":!0,"@namespace":!0},te=[Pt,Nt,Yt,Ut,qt,Qt,{onCreateRule:function(t,e,n){return t in $t?new Jt(t,e,n):null}}],ee={process:!0},ne={force:!0,process:!0},re=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,n){var i=this.options,o=i.parent,a=i.sheet,s=i.jss,c=i.Renderer,l=i.generateId,u=i.scoped,g=Object(r.a)({classes:this.classes,parent:o,sheet:a,jss:s,Renderer:c,generateId:l,scoped:u,name:t,keyframes:this.keyframes,selector:void 0},n),f=t;t in this.raw&&(f=t+"-d"+this.counter++),this.raw[f]=e,f in this.classes&&(g.selector="."+kt(this.classes[f]));var d=mt(f,e,g);if(!d)return null;this.register(d);var h=void 0===g.index?this.index.length:g.index;return this.index.splice(h,0,d),d},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof Et?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof Bt&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof Et?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof Bt&&delete this.keyframes[t.name]},e.update=function(){var t,e,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.map[t],e,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],e,n)},e.updateOne=function(e,n,r){void 0===r&&(r=ee);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(n,r);else{var s=e,c=s.style;if(o.onUpdate(n,e,a,r),r.process&&c&&c!==s.style){for(var l in o.onProcessStyle(s.style,s,a),s.style){var u=s.style[l];u!==c[l]&&s.prop(l,u,ne)}for(var g in c){var f=s.style[g],d=c[g];null==f&&f!==d&&s.prop(g,null,ne)}}}},e.toString=function(t){for(var e="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(t);(o||r)&&(e&&(e+="\n"),e+=o)}return e},t}(),ie=function(){function t(t,e){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new re(this.options),t)this.rules.add(n,t[n]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(t,e,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var n=[];for(var r in t){var i=this.addRule(r,t[r],e);i&&n.push(i)}return n},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,n){return this.rules.updateOne(t,e,n),this},e.toString=function(t){return this.rules.toString(t)},t}(),oe=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=t.prototype;return e.onCreateRule=function(t,e,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](t,e,n);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)e.style=this.registry.onProcessStyle[r](e.style,e,n)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,n,r)},e.onChangeValue=function(t,e,n){for(var r=t,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,e,n);return r},e.use=function(t,e){void 0===e&&(e={queue:"external"});var n=this.plugins[e.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var n in e)n in t&&t[n].push(e[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),ae=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,n=t.options.index;if(-1===e.indexOf(t))if(0===e.length||n>=this.index)e.push(t);else for(var r=0;r<e.length;r++)if(e[r].options.index>n)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(c.a)(e,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=n&&a.attached!==n||(i&&(i+="\n"),i+=a.toString(r))}return i},Object(o.a)(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),se="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),ce="2f1acc6c3a606b082e5eef5e54414ffb";null==se[ce]&&(se[ce]=0);var le=se[ce]++,ue=function(t){void 0===t&&(t={});var e=0;return function(n,r){e+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),t.minify?""+(o||"c")+le+i+e:o+n.key+"-"+le+(i?"-"+i:"")+"-"+e}},ge=function(t){var e;return function(){return e||(e=t()),e}},fe=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(n){return""}},de=function(t,e,n){try{var r=n;if(Array.isArray(n)&&(r=xt(n,!0),"!important"===n[n.length-1]))return t.style.setProperty(e,r,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,r):t.style.setProperty(e,r)}catch(i){return!1}return!0},he=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},pe=function(t,e){return t.selectorText=e,t.selectorText===e},Ae=ge((function(){return document.querySelector("head")}));function Ce(t){var e=ae.registry;if(e.length>0){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.attached&&r.options.index>e.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=Ae(),n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===t)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var ve=ge((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),Ie=function(t,e,n){try{if("insertRule"in t)t.insertRule(e,n);else if("appendRule"in t){t.appendRule(e)}}catch(r){return!1}return t.cssRules[n]},ye=function(t,e){var n=t.cssRules.length;return void 0===e||e>n?n:e},me=function(){function t(t){this.getPropertyValue=fe,this.setProperty=de,this.removeProperty=he,this.setSelector=pe,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&ae.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=ve();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=Ce(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else Ae().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,e)},e.insertRule=function(t,e,n){if(void 0===n&&(n=this.element.sheet),t.rules){var r=t,i=n;if("conditional"===t.type||"keyframes"===t.type){var o=ye(n,e);if(!1===(i=Ie(n,r.toString({children:!1}),o)))return!1;this.refCssRule(t,o,i)}return this.insertRules(r.rules,i),i}var a=t.toString();if(!a)return!1;var s=ye(n,e),c=Ie(n,a,s);return!1!==c&&(this.hasInsertedRules=!0,this.refCssRule(t,s,c),c)},e.refCssRule=function(t,e,n){t.renderable=n,t.options.parent instanceof ie&&(this.cssRules[e]=n)},e.deleteRule=function(t){var e=this.element.sheet,n=this.indexOf(t);return-1!==n&&(e.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(e,n))},e.getRules=function(){return this.element.sheet.cssRules},t}(),be=0,xe=function(){function t(t){this.id=be++,this.version="10.5.1",this.plugins=new oe,this.options={id:{minify:!1},createGenerateId:ue,Renderer:i.a?me:null,plugins:[]},this.generateId=ue({minify:!1});for(var e=0;e<te.length;e++)this.plugins.use(te[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(r.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var n=e.index;"number"!==typeof n&&(n=0===ae.index?0:ae.index+1);var i=new ie(t,Object(r.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(i),i},e.removeStyleSheet=function(t){return t.detach(),ae.remove(t),this},e.createRule=function(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof t)return this.createRule(void 0,t,e);var i=Object(r.a)({},n,{name:t,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var o=mt(t,e,i);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){t.plugins.use(e)})),this},t}();"object"===typeof CSS&&null!=CSS&&CSS,function(t){new xe(t)}();var we="@global",Oe="@global ",Se=function(){function t(t,e,n){for(var i in this.type="global",this.at=we,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=t,this.options=n,this.rules=new re(Object(r.a)({},n,{parent:this})),e)this.rules.add(i,e[i]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(){return this.rules.toString()},t}(),_e=function(){function t(t,e,n){this.type="global",this.at=we,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=t,this.options=n;var i=t.substr(Oe.length);this.rule=n.jss.createRule(i,e,Object(r.a)({},n,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),ke=/\s*,\s*/g;function je(t,e){for(var n=t.split(ke),r="",i=0;i<n.length;i++)r+=e+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}var Ee=function(){return{onCreateRule:function(t,e,n){if(!t)return null;if(t===we)return new Se(t,e,n);if("@"===t[0]&&t.substr(0,Oe.length)===Oe)return new _e(t,e,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=t),null},onProcessRule:function(t,e){"style"===t.type&&e&&(function(t,e){var n=t.options,i=t.style,o=i?i[we]:null;if(o){for(var a in o)e.addRule(a,o[a],Object(r.a)({},n,{selector:je(a,t.selector)}));delete i[we]}}(t,e),function(t,e){var n=t.options,i=t.style;for(var o in i)if("@"===o[0]&&o.substr(0,we.length)===we){var a=je(o.substr(we.length),t.selector);e.addRule(a,i[o],Object(r.a)({},n,{selector:a})),delete i[o]}}(t,e))}}},Pe=/\s*,\s*/g,Me=/&/g,Te=/\$([\w-]+)/g;var Re=function(){function t(t,e){return function(n,r){var i=t.getRule(r)||e&&e.getRule(r);return i?(i=i).selector:r}}function e(t,e){for(var n=e.split(Pe),r=t.split(Pe),i="",o=0;o<n.length;o++)for(var a=n[o],s=0;s<r.length;s++){var c=r[s];i&&(i+=", "),i+=-1!==c.indexOf("&")?c.replace(Me,a):a+" "+c}return i}function n(t,e,n){if(n)return Object(r.a)({},n,{index:n.index+1});var i=t.options.nestingLevel;i=void 0===i?1:i+1;var o=Object(r.a)({},t.options,{nestingLevel:i,index:e.indexOf(t)+1});return delete o.name,o}return{onProcessStyle:function(i,o,a){if("style"!==o.type)return i;var s,c,l=o,u=l.options.parent;for(var g in i){var f=-1!==g.indexOf("&"),d="@"===g[0];if(f||d){if(s=n(l,u,s),f){var h=e(g,l.selector);c||(c=t(u,a)),h=h.replace(Te,c),u.addRule(h,i[g],Object(r.a)({},s,{selector:h}))}else d&&u.addRule(g,{},s).addRule(l.key,i[g],{selector:l.selector});delete i[g]}}return i}}},De=/[A-Z]/g,Ne=/^ms-/,Le={};function Fe(t){return"-"+t.toLowerCase()}var Be=function(t){if(Le.hasOwnProperty(t))return Le[t];var e=t.replace(De,Fe);return Le[t]=Ne.test(e)?"-"+e:e};function ze(t){var e={};for(var n in t){e[0===n.indexOf("--")?n:Be(n)]=t[n]}return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(ze):e.fallbacks=ze(t.fallbacks)),e}var Ve=function(){return{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=ze(t[e]);return t}return ze(t)},onChangeValue:function(t,e,n){if(0===e.indexOf("--"))return t;var r=Be(e);return e===r?t:(n.prop(r,t),null)}}},Ge={}.constructor;function We(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(We);if(t.constructor!==Ge)return t;var e={};for(var n in t)e[n]=We(t[n]);return e}function Ye(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,i=We(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var He=function(t,e){for(var n="",r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=e),n+=t[r];return n},Ue=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=", "),n+=He(t[r]," ");else n=He(t,", ");return e||"!important"!==t[t.length-1]||(n+=" !important"),n};function Xe(t,e){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function Ze(t,e,n){void 0===n&&(n={});var r="";if(!e)return r;var i=n.indent,o=void 0===i?0:i,a=e.fallbacks;if(t&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var c=a[s];for(var l in c){var u=c[l];null!=u&&(r&&(r+="\n"),r+=""+Xe(l+": "+Ue(u)+";",o))}}else for(var g in a){var f=a[g];null!=f&&(r&&(r+="\n"),r+=""+Xe(g+": "+Ue(f)+";",o))}for(var d in e){var h=e[d];null!=h&&"fallbacks"!==d&&(r&&(r+="\n"),r+=""+Xe(d+": "+Ue(h)+";",o))}return(r||n.allowEmpty)&&t?(r&&(r="\n"+r+"\n"),Xe(t+" {"+r,--o)+Xe("}",o)):r}var qe=/([[\].#*$><+~=|^:(),"'`\s])/g,Ke="undefined"!==typeof CSS&&CSS.escape,Qe=function(t){return Ke?Ke(t):t.replace(qe,"\\$1")},Je=function(){function t(t,e,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var c=this.options.sheet;return c&&c.attached,this},t}(),$e=function(t){function e(e,n,r){var i;(i=t.call(this,e,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,c=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(Object(s.a)(Object(s.a)(i)),c),i.selectorText="."+Qe(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=Ue(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return Ze(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(Je),tn={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new $e(t,e,n)}},en={indent:1,children:!0},nn=/@([\w-]+)/,rn=function(){function t(t,e,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t;var i=t.match(nn);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new _n(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.toString=function(t){if(void 0===t&&(t=en),null==t.indent&&(t.indent=en.indent),null==t.children&&(t.children=en.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),on=/@media|@supports\s+/,an={onCreateRule:function(t,e,n){return on.test(t)?new rn(t,e,n):null}},sn={indent:1,children:!0},cn=/@keyframes\s+([\w-]+)/,ln=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var i=t.match(cn);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var c in this.id=!1===o?this.name:Qe(s(this,a)),this.rules=new _n(Object(r.a)({},n,{parent:this})),e)this.rules.add(c,e[c],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=sn),null==t.indent&&(t.indent=sn.indent),null==t.children&&(t.children=sn.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),un=/@keyframes\s+/,gn=/\$([\w-]+)/g,fn=function(t,e){return"string"===typeof t?t.replace(gn,(function(t,n){return n in e?e[n]:t})):t},dn=function(t,e,n){var r=t[e],i=fn(r,n);i!==r&&(t[e]=i)},hn={onCreateRule:function(t,e,n){return"string"===typeof t&&un.test(t)?new ln(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&dn(t,"animation-name",n.keyframes),"animation"in t&&dn(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return fn(t,r.keyframes);default:return t}}},pn=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).renderable=void 0,e}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return Ze(this.key,this.style,n)},e}(Je),An={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new pn(t,e,n):null}},Cn=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var e="",n=0;n<this.style.length;n++)e+=Ze(this.at,this.style[n]),this.style[n+1]&&(e+="\n");return e}return Ze(this.at,this.style,t)},t}(),vn=/@font-face/,In={onCreateRule:function(t,e,n){return vn.test(t)?new Cn(t,e,n):null}},yn=function(){function t(t,e,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){return Ze(this.key,this.style,t)},t}(),mn={onCreateRule:function(t,e,n){return"@viewport"===t||"@-ms-viewport"===t?new yn(t,e,n):null}},bn=function(){function t(t,e,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.value=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",n=0;n<this.value.length;n++)e+=this.key+" "+this.value[n]+";",this.value[n+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),xn={"@charset":!0,"@import":!0,"@namespace":!0},wn=[tn,an,hn,An,In,mn,{onCreateRule:function(t,e,n){return t in xn?new bn(t,e,n):null}}],On={process:!0},Sn={force:!0,process:!0},_n=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,n){var i=this.options,o=i.parent,a=i.sheet,s=i.jss,c=i.Renderer,l=i.generateId,u=i.scoped,g=Object(r.a)({classes:this.classes,parent:o,sheet:a,jss:s,Renderer:c,generateId:l,scoped:u,name:t,keyframes:this.keyframes,selector:void 0},n),f=t;t in this.raw&&(f=t+"-d"+this.counter++),this.raw[f]=e,f in this.classes&&(g.selector="."+Qe(this.classes[f]));var d=Ye(f,e,g);if(!d)return null;this.register(d);var h=void 0===g.index?this.index.length:g.index;return this.index.splice(h,0,d),d},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof $e?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof ln&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof $e?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof ln&&delete this.keyframes[t.name]},e.update=function(){var t,e,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.map[t],e,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],e,n)},e.updateOne=function(e,n,r){void 0===r&&(r=On);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(n,r);else{var s=e,c=s.style;if(o.onUpdate(n,e,a,r),r.process&&c&&c!==s.style){for(var l in o.onProcessStyle(s.style,s,a),s.style){var u=s.style[l];u!==c[l]&&s.prop(l,u,Sn)}for(var g in c){var f=s.style[g],d=c[g];null==f&&f!==d&&s.prop(g,null,Sn)}}}},e.toString=function(t){for(var e="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(t);(o||r)&&(e&&(e+="\n"),e+=o)}return e},t}(),kn=function(){function t(t,e){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new _n(this.options),t)this.rules.add(n,t[n]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(t,e,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var n=[];for(var r in t){var i=this.addRule(r,t[r],e);i&&n.push(i)}return n},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,n){return this.rules.updateOne(t,e,n),this},e.toString=function(t){return this.rules.toString(t)},t}(),jn=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=t.prototype;return e.onCreateRule=function(t,e,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](t,e,n);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)e.style=this.registry.onProcessStyle[r](e.style,e,n)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,n,r)},e.onChangeValue=function(t,e,n){for(var r=t,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,e,n);return r},e.use=function(t,e){void 0===e&&(e={queue:"external"});var n=this.plugins[e.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var n in e)n in t&&t[n].push(e[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),En=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,n=t.options.index;if(-1===e.indexOf(t))if(0===e.length||n>=this.index)e.push(t);else for(var r=0;r<e.length;r++)if(e[r].options.index>n)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(c.a)(e,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=n&&a.attached!==n||(i&&(i+="\n"),i+=a.toString(r))}return i},Object(o.a)(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),Pn="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Mn="2f1acc6c3a606b082e5eef5e54414ffb";null==Pn[Mn]&&(Pn[Mn]=0);var Tn=Pn[Mn]++,Rn=function(t){void 0===t&&(t={});var e=0;return function(n,r){e+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),t.minify?""+(o||"c")+Tn+i+e:o+n.key+"-"+Tn+(i?"-"+i:"")+"-"+e}},Dn=function(t){var e;return function(){return e||(e=t()),e}},Nn=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(n){return""}},Ln=function(t,e,n){try{var r=n;if(Array.isArray(n)&&(r=Ue(n,!0),"!important"===n[n.length-1]))return t.style.setProperty(e,r,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,r):t.style.setProperty(e,r)}catch(i){return!1}return!0},Fn=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},Bn=function(t,e){return t.selectorText=e,t.selectorText===e},zn=Dn((function(){return document.querySelector("head")}));function Vn(t){var e=En.registry;if(e.length>0){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.attached&&r.options.index>e.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=zn(),n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===t)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var Gn=Dn((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),Wn=function(t,e,n){try{if("insertRule"in t)t.insertRule(e,n);else if("appendRule"in t){t.appendRule(e)}}catch(r){return!1}return t.cssRules[n]},Yn=function(t,e){var n=t.cssRules.length;return void 0===e||e>n?n:e},Hn=function(){function t(t){this.getPropertyValue=Nn,this.setProperty=Ln,this.removeProperty=Fn,this.setSelector=Bn,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&En.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=Gn();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=Vn(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else zn().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,e)},e.insertRule=function(t,e,n){if(void 0===n&&(n=this.element.sheet),t.rules){var r=t,i=n;if("conditional"===t.type||"keyframes"===t.type){var o=Yn(n,e);if(!1===(i=Wn(n,r.toString({children:!1}),o)))return!1;this.refCssRule(t,o,i)}return this.insertRules(r.rules,i),i}var a=t.toString();if(!a)return!1;var s=Yn(n,e),c=Wn(n,a,s);return!1!==c&&(this.hasInsertedRules=!0,this.refCssRule(t,s,c),c)},e.refCssRule=function(t,e,n){t.renderable=n,t.options.parent instanceof kn&&(this.cssRules[e]=n)},e.deleteRule=function(t){var e=this.element.sheet,n=this.indexOf(t);return-1!==n&&(e.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(e,n))},e.getRules=function(){return this.element.sheet.cssRules},t}(),Un=0,Xn=function(){function t(t){this.id=Un++,this.version="10.5.1",this.plugins=new jn,this.options={id:{minify:!1},createGenerateId:Rn,Renderer:i.a?Hn:null,plugins:[]},this.generateId=Rn({minify:!1});for(var e=0;e<wn.length;e++)this.plugins.use(wn[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(r.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var n=e.index;"number"!==typeof n&&(n=0===En.index?0:En.index+1);var i=new kn(t,Object(r.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(i),i},e.removeStyleSheet=function(t){return t.detach(),En.remove(t),this},e.createRule=function(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof t)return this.createRule(void 0,t,e);var i=Object(r.a)({},n,{name:t,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var o=Ye(t,e,i);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){t.plugins.use(e)})),this},t}();var Zn="object"===typeof CSS&&null!=CSS&&"number"in CSS,qn=(function(t){new Xn(t)}(),Zn&&CSS?CSS.px:"px"),Kn=Zn&&CSS?CSS.ms:"ms",Qn=Zn&&CSS?CSS.percent:"%";function Jn(t){var e=/(-[a-z])/g,n=function(t){return t[1].toUpperCase()},r={};for(var i in t)r[i]=t[i],r[i.replace(e,n)]=t[i];return r}var $n=Jn({"animation-delay":Kn,"animation-duration":Kn,"background-position":qn,"background-position-x":qn,"background-position-y":qn,"background-size":qn,border:qn,"border-bottom":qn,"border-bottom-left-radius":qn,"border-bottom-right-radius":qn,"border-bottom-width":qn,"border-left":qn,"border-left-width":qn,"border-radius":qn,"border-right":qn,"border-right-width":qn,"border-top":qn,"border-top-left-radius":qn,"border-top-right-radius":qn,"border-top-width":qn,"border-width":qn,"border-block":qn,"border-block-end":qn,"border-block-end-width":qn,"border-block-start":qn,"border-block-start-width":qn,"border-block-width":qn,"border-inline":qn,"border-inline-end":qn,"border-inline-end-width":qn,"border-inline-start":qn,"border-inline-start-width":qn,"border-inline-width":qn,"border-start-start-radius":qn,"border-start-end-radius":qn,"border-end-start-radius":qn,"border-end-end-radius":qn,margin:qn,"margin-bottom":qn,"margin-left":qn,"margin-right":qn,"margin-top":qn,"margin-block":qn,"margin-block-end":qn,"margin-block-start":qn,"margin-inline":qn,"margin-inline-end":qn,"margin-inline-start":qn,padding:qn,"padding-bottom":qn,"padding-left":qn,"padding-right":qn,"padding-top":qn,"padding-block":qn,"padding-block-end":qn,"padding-block-start":qn,"padding-inline":qn,"padding-inline-end":qn,"padding-inline-start":qn,"mask-position-x":qn,"mask-position-y":qn,"mask-size":qn,height:qn,width:qn,"min-height":qn,"max-height":qn,"min-width":qn,"max-width":qn,bottom:qn,left:qn,top:qn,right:qn,inset:qn,"inset-block":qn,"inset-block-end":qn,"inset-block-start":qn,"inset-inline":qn,"inset-inline-end":qn,"inset-inline-start":qn,"box-shadow":qn,"text-shadow":qn,"column-gap":qn,"column-rule":qn,"column-rule-width":qn,"column-width":qn,"font-size":qn,"font-size-delta":qn,"letter-spacing":qn,"text-decoration-thickness":qn,"text-indent":qn,"text-stroke":qn,"text-stroke-width":qn,"word-spacing":qn,motion:qn,"motion-offset":qn,outline:qn,"outline-offset":qn,"outline-width":qn,perspective:qn,"perspective-origin-x":Qn,"perspective-origin-y":Qn,"transform-origin":Qn,"transform-origin-x":Qn,"transform-origin-y":Qn,"transform-origin-z":Qn,"transition-delay":Kn,"transition-duration":Kn,"vertical-align":qn,"flex-basis":qn,"shape-margin":qn,size:qn,gap:qn,grid:qn,"grid-gap":qn,"row-gap":qn,"grid-row-gap":qn,"grid-column-gap":qn,"grid-template-rows":qn,"grid-template-columns":qn,"grid-auto-rows":qn,"grid-auto-columns":qn,"box-shadow-x":qn,"box-shadow-y":qn,"box-shadow-blur":qn,"box-shadow-spread":qn,"font-line-height":qn,"text-shadow-x":qn,"text-shadow-y":qn,"text-shadow-blur":qn});function tr(t,e,n){if(null==e)return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]=tr(t,e[r],n);else if("object"===typeof e)if("fallbacks"===t)for(var i in e)e[i]=tr(i,e[i],n);else for(var o in e)e[o]=tr(t+"-"+o,e[o],n);else if("number"===typeof e&&!Number.isNaN(e)){var a=n[t]||$n[t];return!a||0===e&&a===qn?e.toString():"function"===typeof a?a(e).toString():""+e+a}return e}var er=function(t){void 0===t&&(t={});var e=Jn(t);return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r in t)t[r]=tr(r,t[r],e);return t},onChangeValue:function(t,n){return tr(n,t,e)}}},nr=n(43),rr="",ir="",or="",ar="",sr=i.a&&"ontouchstart"in document.documentElement;if(i.a){var cr={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},lr=document.createElement("p").style;for(var ur in cr)if(ur+"Transform"in lr){rr=ur,ir=cr[ur];break}"Webkit"===rr&&"msHyphens"in lr&&(rr="ms",ir=cr.ms,ar="edge"),"Webkit"===rr&&"-apple-trailing-word"in lr&&(or="apple")}var gr=rr,fr=ir,dr=or,hr=ar,pr=sr;var Ar={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===gr?"-webkit-"+t:fr+t)}},Cr={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===gr?fr+"print-"+t:t)}},vr=/[-\s]+(.)?/g;function Ir(t,e){return e?e.toUpperCase():""}function yr(t){return t.replace(vr,Ir)}function mr(t){return yr("-"+t)}var br,xr={noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===gr){var n="mask-image";if(yr(n)in e)return t;if(gr+mr(n)in e)return fr+t}return t}},wr={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==dr||pr?t:fr+t)}},Or={noPrefill:["transform"],supportedProperty:function(t,e,n){return"transform"===t&&(n.transform?t:fr+t)}},Sr={noPrefill:["transition"],supportedProperty:function(t,e,n){return"transition"===t&&(n.transition?t:fr+t)}},_r={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===gr||"ms"===gr&&"edge"!==hr?fr+t:t)}},kr={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===gr||"ms"===gr||"apple"===dr?fr+t:t)}},jr={supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===gr?"WebkitColumn"+mr(t)in e&&fr+"column-"+t:"Moz"===gr&&("page"+mr(t)in e&&"page-"+t))}},Er={supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===gr)return t;var n=t.replace("-inline","");return gr+mr(n)in e&&fr+n}},Pr={supportedProperty:function(t,e){return yr(t)in e&&t}},Mr={supportedProperty:function(t,e){var n=mr(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:gr+n in e?fr+t:"Webkit"!==gr&&"Webkit"+n in e&&"-webkit-"+t}},Tr={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===gr?""+fr+t:t)}},Rr={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===gr?fr+"scroll-chaining":t)}},Dr={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Nr={supportedProperty:function(t,e){var n=Dr[t];return!!n&&(gr+mr(n)in e&&fr+n)}},Lr={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Fr=Object.keys(Lr),Br=function(t){return fr+t},zr=[Ar,Cr,xr,wr,Or,Sr,_r,kr,jr,Er,Pr,Mr,Tr,Rr,Nr,{supportedProperty:function(t,e,n){var r=n.multiple;if(Fr.indexOf(t)>-1){var i=Lr[t];if(!Array.isArray(i))return gr+mr(i)in e&&fr+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(gr+mr(i[0])in e))return!1;return i.map(Br)}return!1}}],Vr=zr.filter((function(t){return t.supportedProperty})).map((function(t){return t.supportedProperty})),Gr=zr.filter((function(t){return t.noPrefill})).reduce((function(t,e){return t.push.apply(t,Object(nr.a)(e.noPrefill)),t}),[]),Wr={};if(i.a){br=document.createElement("p");var Yr=window.getComputedStyle(document.documentElement,"");for(var Hr in Yr)isNaN(Hr)||(Wr[Yr[Hr]]=Yr[Hr]);Gr.forEach((function(t){return delete Wr[t]}))}function Ur(t,e){if(void 0===e&&(e={}),!br)return t;if(null!=Wr[t])return Wr[t];"transition"!==t&&"transform"!==t||(e[t]=t in br.style);for(var n=0;n<Vr.length&&(Wr[t]=Vr[n](t,br.style,e),!Wr[t]);n++);try{br.style[t]=""}catch(r){return!1}return Wr[t]}var Xr,Zr={},qr={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Kr=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Qr(t,e,n){if("var"===e)return"var";if("all"===e)return"all";if("all"===n)return", all";var r=e?Ur(e):", "+Ur(n);return r||(e||n)}function Jr(t,e){var n=e;if(!Xr||"content"===t)return e;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=t+n;if(null!=Zr[r])return Zr[r];try{Xr.style[t]=n}catch(i){return Zr[r]=!1,!1}if(qr[t])n=n.replace(Kr,Qr);else if(""===Xr.style[t]&&("-ms-flex"===(n=fr+n)&&(Xr.style[t]="-ms-flexbox"),Xr.style[t]=n,""===Xr.style[t]))return Zr[r]=!1,!1;return Xr.style[t]="",Zr[r]=n,Zr[r]}i.a&&(Xr=document.createElement("p"));var $r={}.constructor;function ti(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(ti);if(t.constructor!==$r)return t;var e={};for(var n in t)e[n]=ti(t[n]);return e}function ei(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,i=ti(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var ni=function(t,e){for(var n="",r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=e),n+=t[r];return n},ri=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=", "),n+=ni(t[r]," ");else n=ni(t,", ");return e||"!important"!==t[t.length-1]||(n+=" !important"),n};function ii(t,e){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function oi(t,e,n){void 0===n&&(n={});var r="";if(!e)return r;var i=n.indent,o=void 0===i?0:i,a=e.fallbacks;if(t&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var c=a[s];for(var l in c){var u=c[l];null!=u&&(r&&(r+="\n"),r+=""+ii(l+": "+ri(u)+";",o))}}else for(var g in a){var f=a[g];null!=f&&(r&&(r+="\n"),r+=""+ii(g+": "+ri(f)+";",o))}for(var d in e){var h=e[d];null!=h&&"fallbacks"!==d&&(r&&(r+="\n"),r+=""+ii(d+": "+ri(h)+";",o))}return(r||n.allowEmpty)&&t?(r&&(r="\n"+r+"\n"),ii(t+" {"+r,--o)+ii("}",o)):r}var ai=/([[\].#*$><+~=|^:(),"'`\s])/g,si="undefined"!==typeof CSS&&CSS.escape,ci=function(t){return si?si(t):t.replace(ai,"\\$1")},li=function(){function t(t,e,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var i=e;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var c=this.options.sheet;return c&&c.attached,this},t}(),ui=function(t){function e(e,n,r){var i;(i=t.call(this,e,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,c=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(Object(s.a)(Object(s.a)(i)),c),i.selectorText="."+ci(i.id)),i}Object(a.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=ri(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return oi(this.selectorText,this.style,n)},Object(o.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(li),gi={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new ui(t,e,n)}},fi={indent:1,children:!0},di=/@([\w-]+)/,hi=function(){function t(t,e,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t;var i=t.match(di);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Li(Object(r.a)({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.toString=function(t){if(void 0===t&&(t=fi),null==t.indent&&(t.indent=fi.indent),null==t.children&&(t.children=fi.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),pi=/@media|@supports\s+/,Ai={onCreateRule:function(t,e,n){return pi.test(t)?new hi(t,e,n):null}},Ci={indent:1,children:!0},vi=/@keyframes\s+([\w-]+)/,Ii=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var i=t.match(vi);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var c in this.id=!1===o?this.name:ci(s(this,a)),this.rules=new Li(Object(r.a)({},n,{parent:this})),e)this.rules.add(c,e[c],Object(r.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=Ci),null==t.indent&&(t.indent=Ci.indent),null==t.children&&(t.children=Ci.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),yi=/@keyframes\s+/,mi=/\$([\w-]+)/g,bi=function(t,e){return"string"===typeof t?t.replace(mi,(function(t,n){return n in e?e[n]:t})):t},xi=function(t,e,n){var r=t[e],i=bi(r,n);i!==r&&(t[e]=i)},wi={onCreateRule:function(t,e,n){return"string"===typeof t&&yi.test(t)?new Ii(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&xi(t,"animation-name",n.keyframes),"animation"in t&&xi(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return bi(t,r.keyframes);default:return t}}},Oi=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).renderable=void 0,e}return Object(a.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(r.a)({},t,{allowEmpty:!0}):t;return oi(this.key,this.style,n)},e}(li),Si={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new Oi(t,e,n):null}},_i=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var e="",n=0;n<this.style.length;n++)e+=oi(this.at,this.style[n]),this.style[n+1]&&(e+="\n");return e}return oi(this.at,this.style,t)},t}(),ki=/@font-face/,ji={onCreateRule:function(t,e,n){return ki.test(t)?new _i(t,e,n):null}},Ei=function(){function t(t,e,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){return oi(this.key,this.style,t)},t}(),Pi={onCreateRule:function(t,e,n){return"@viewport"===t||"@-ms-viewport"===t?new Ei(t,e,n):null}},Mi=function(){function t(t,e,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.value=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",n=0;n<this.value.length;n++)e+=this.key+" "+this.value[n]+";",this.value[n+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),Ti={"@charset":!0,"@import":!0,"@namespace":!0},Ri=[gi,Ai,wi,Si,ji,Pi,{onCreateRule:function(t,e,n){return t in Ti?new Mi(t,e,n):null}}],Di={process:!0},Ni={force:!0,process:!0},Li=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,n){var i=this.options,o=i.parent,a=i.sheet,s=i.jss,c=i.Renderer,l=i.generateId,u=i.scoped,g=Object(r.a)({classes:this.classes,parent:o,sheet:a,jss:s,Renderer:c,generateId:l,scoped:u,name:t,keyframes:this.keyframes,selector:void 0},n),f=t;t in this.raw&&(f=t+"-d"+this.counter++),this.raw[f]=e,f in this.classes&&(g.selector="."+ci(this.classes[f]));var d=ei(f,e,g);if(!d)return null;this.register(d);var h=void 0===g.index?this.index.length:g.index;return this.index.splice(h,0,d),d},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof ui?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof Ii&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof ui?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof Ii&&delete this.keyframes[t.name]},e.update=function(){var t,e,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.map[t],e,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],e,n)},e.updateOne=function(e,n,r){void 0===r&&(r=Di);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(n,r);else{var s=e,c=s.style;if(o.onUpdate(n,e,a,r),r.process&&c&&c!==s.style){for(var l in o.onProcessStyle(s.style,s,a),s.style){var u=s.style[l];u!==c[l]&&s.prop(l,u,Ni)}for(var g in c){var f=s.style[g],d=c[g];null==f&&f!==d&&s.prop(g,null,Ni)}}}},e.toString=function(t){for(var e="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(t);(o||r)&&(e&&(e+="\n"),e+=o)}return e},t}(),Fi=function(){function t(t,e){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new Li(this.options),t)this.rules.add(n,t[n]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(t,e,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var n=[];for(var r in t){var i=this.addRule(r,t[r],e);i&&n.push(i)}return n},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,n){return this.rules.updateOne(t,e,n),this},e.toString=function(t){return this.rules.toString(t)},t}(),Bi=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=t.prototype;return e.onCreateRule=function(t,e,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](t,e,n);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)e.style=this.registry.onProcessStyle[r](e.style,e,n)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,n,r)},e.onChangeValue=function(t,e,n){for(var r=t,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,e,n);return r},e.use=function(t,e){void 0===e&&(e={queue:"external"});var n=this.plugins[e.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var n in e)n in t&&t[n].push(e[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),zi=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,n=t.options.index;if(-1===e.indexOf(t))if(0===e.length||n>=this.index)e.push(t);else for(var r=0;r<e.length;r++)if(e[r].options.index>n)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=Object(c.a)(e,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=n&&a.attached!==n||(i&&(i+="\n"),i+=a.toString(r))}return i},Object(o.a)(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),Vi="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Gi="2f1acc6c3a606b082e5eef5e54414ffb";null==Vi[Gi]&&(Vi[Gi]=0);var Wi=Vi[Gi]++,Yi=function(t){void 0===t&&(t={});var e=0;return function(n,r){e+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),t.minify?""+(o||"c")+Wi+i+e:o+n.key+"-"+Wi+(i?"-"+i:"")+"-"+e}},Hi=function(t){var e;return function(){return e||(e=t()),e}},Ui=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(n){return""}},Xi=function(t,e,n){try{var r=n;if(Array.isArray(n)&&(r=ri(n,!0),"!important"===n[n.length-1]))return t.style.setProperty(e,r,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,r):t.style.setProperty(e,r)}catch(i){return!1}return!0},Zi=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},qi=function(t,e){return t.selectorText=e,t.selectorText===e},Ki=Hi((function(){return document.querySelector("head")}));function Qi(t){var e=zi.registry;if(e.length>0){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.attached&&r.options.index>e.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var i=function(t){for(var e=Ki(),n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===t)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var Ji=Hi((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),$i=function(t,e,n){try{if("insertRule"in t)t.insertRule(e,n);else if("appendRule"in t){t.appendRule(e)}}catch(r){return!1}return t.cssRules[n]},to=function(t,e){var n=t.cssRules.length;return void 0===e||e>n?n:e},eo=function(){function t(t){this.getPropertyValue=Ui,this.setProperty=Xi,this.removeProperty=Zi,this.setSelector=qi,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&zi.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=Ji();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=Qi(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else Ki().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,e)},e.insertRule=function(t,e,n){if(void 0===n&&(n=this.element.sheet),t.rules){var r=t,i=n;if("conditional"===t.type||"keyframes"===t.type){var o=to(n,e);if(!1===(i=$i(n,r.toString({children:!1}),o)))return!1;this.refCssRule(t,o,i)}return this.insertRules(r.rules,i),i}var a=t.toString();if(!a)return!1;var s=to(n,e),c=$i(n,a,s);return!1!==c&&(this.hasInsertedRules=!0,this.refCssRule(t,s,c),c)},e.refCssRule=function(t,e,n){t.renderable=n,t.options.parent instanceof Fi&&(this.cssRules[e]=n)},e.deleteRule=function(t){var e=this.element.sheet,n=this.indexOf(t);return-1!==n&&(e.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(e,n))},e.getRules=function(){return this.element.sheet.cssRules},t}(),no=0,ro=function(){function t(t){this.id=no++,this.version="10.5.1",this.plugins=new Bi,this.options={id:{minify:!1},createGenerateId:Yi,Renderer:i.a?eo:null,plugins:[]},this.generateId=Yi({minify:!1});for(var e=0;e<Ri.length;e++)this.plugins.use(Ri[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(r.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var n=e.index;"number"!==typeof n&&(n=0===zi.index?0:zi.index+1);var i=new Fi(t,Object(r.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(i),i},e.removeStyleSheet=function(t){return t.detach(),zi.remove(t),this},e.createRule=function(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof t)return this.createRule(void 0,t,e);var i=Object(r.a)({},n,{name:t,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var o=ei(t,e,i);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){t.plugins.use(e)})),this},t}();"object"===typeof CSS&&null!=CSS&&CSS,function(t){new ro(t)}();var io=function(){function t(e){for(var n in e){var r=e[n];if("fallbacks"===n&&Array.isArray(r))e[n]=r.map(t);else{var i=!1,o=Ur(n);o&&o!==n&&(i=!0);var a=!1,s=Jr(o,ri(r));s&&s!==r&&(a=!0),(i||a)&&(i&&delete e[n],e[o||n]=s||r)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at="-"===(n=e.at)[1]||"ms"===gr?n:"@"+fr+"keyframes"+n.substr(10)}var n},onProcessStyle:function(e,n){return"style"!==n.type?e:t(e)},onChangeValue:function(t,e){return Jr(e,ri(t))||t}}};var oo=function(){var t=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length};return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r={},i=Object.keys(e).sort(t),o=0;o<i.length;o++)r[i[o]]=e[i[o]];return r}}};function ao(){return{plugins:[vt(),Ee(),Re(),Ve(),er(),"undefined"===typeof window?null:io(),oo()]}}},,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n(313);var r=n(0),i=60103;if(e.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),e.Fragment=o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function l(t,e,n){var r,o={},l=null,u=null;for(r in void 0!==n&&(l=""+n),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(u=e.ref),e)s.call(e,r)&&!c.hasOwnProperty(r)&&(o[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===o[r]&&(o[r]=e[r]);return{$$typeof:i,type:t,key:l,ref:u,props:o,_owner:a.current}}e.jsx=l,e.jsxs=l},function(t,e,n){"use strict";var r=n(313),i=60103,o=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var a=60109,s=60110,c=60112;e.Suspense=60113;var l=60115,u=60116;if("function"===typeof Symbol&&Symbol.for){var g=Symbol.for;i=g("react.element"),o=g("react.portal"),e.Fragment=g("react.fragment"),e.StrictMode=g("react.strict_mode"),e.Profiler=g("react.profiler"),a=g("react.provider"),s=g("react.context"),c=g("react.forward_ref"),e.Suspense=g("react.suspense"),l=g("react.memo"),u=g("react.lazy")}var f="function"===typeof Symbol&&Symbol.iterator;function d(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function A(t,e,n){this.props=t,this.context=e,this.refs=p,this.updater=n||h}function C(){}function v(t,e,n){this.props=t,this.context=e,this.refs=p,this.updater=n||h}A.prototype.isReactComponent={},A.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(d(85));this.updater.enqueueSetState(this,t,e,"setState")},A.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},C.prototype=A.prototype;var I=v.prototype=new C;I.constructor=v,r(I,A.prototype),I.isPureReactComponent=!0;var y={current:null},m=Object.prototype.hasOwnProperty,b={key:!0,ref:!0,__self:!0,__source:!0};function x(t,e,n){var r,o={},a=null,s=null;if(null!=e)for(r in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)m.call(e,r)&&!b.hasOwnProperty(r)&&(o[r]=e[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(t&&t.defaultProps)for(r in c=t.defaultProps)void 0===o[r]&&(o[r]=c[r]);return{$$typeof:i,type:t,key:a,ref:s,props:o,_owner:y.current}}function w(t){return"object"===typeof t&&null!==t&&t.$$typeof===i}var O=/\/+/g;function S(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function _(t,e,n,r,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case o:c=!0}}if(c)return a=a(c=t),t=""===r?"."+S(c,0):r,Array.isArray(a)?(n="",null!=t&&(n=t.replace(O,"$&/")+"/"),_(a,e,n,"",(function(t){return t}))):null!=a&&(w(a)&&(a=function(t,e){return{$$typeof:i,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(a,n+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+t)),e.push(a)),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=r+S(s=t[l],l);c+=_(s,e,n,u,a)}else if("function"===typeof(u=function(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=f&&t[f]||t["@@iterator"])?t:null}(t)))for(t=u.call(t),l=0;!(s=t.next()).done;)c+=_(s=s.value,e,n,u=r+S(s,l++),a);else if("object"===s)throw e=""+t,Error(d(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e));return c}function k(t,e,n){if(null==t)return t;var r=[],i=0;return _(t,r,"","",(function(t){return e.call(n,t,i++)})),r}function j(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}if(1===t._status)return t._result;throw t._result}var E={current:null};function P(){var t=E.current;if(null===t)throw Error(d(321));return t}var M={ReactCurrentDispatcher:E,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:y,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:k,forEach:function(t,e,n){k(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return k(t,(function(){e++})),e},toArray:function(t){return k(t,(function(t){return t}))||[]},only:function(t){if(!w(t))throw Error(d(143));return t}},e.Component=A,e.PureComponent=v,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,e.cloneElement=function(t,e,n){if(null===t||void 0===t)throw Error(d(267,t));var o=r({},t.props),a=t.key,s=t.ref,c=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,c=y.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(u in e)m.call(e,u)&&!b.hasOwnProperty(u)&&(o[u]=void 0===e[u]&&void 0!==l?l[u]:e[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){l=Array(u);for(var g=0;g<u;g++)l[g]=arguments[g+2];o.children=l}return{$$typeof:i,type:t.type,key:a,ref:s,props:o,_owner:c}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:s,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:t},t.Consumer=t},e.createElement=x,e.createFactory=function(t){var e=x.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:c,render:t}},e.isValidElement=w,e.lazy=function(t){return{$$typeof:u,_payload:{_status:-1,_result:t},_init:j}},e.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return P().useCallback(t,e)},e.useContext=function(t,e){return P().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return P().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return P().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return P().useLayoutEffect(t,e)},e.useMemo=function(t,e){return P().useMemo(t,e)},e.useReducer=function(t,e,n){return P().useReducer(t,e,n)},e.useRef=function(t){return P().useRef(t)},e.useState=function(t){return P().useState(t)},e.version="17.0.1"},function(t,e,n){"use strict";var r=n(0),i=n(313),o=n(593);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,c={};function l(t,e){u(t,e),u(t+"Capture",e)}function u(t,e){for(c[t]=e,t=0;t<e.length;t++)s.add(e[t])}var g=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d=Object.prototype.hasOwnProperty,h={},p={};function A(t,e,n,r,i,o,a){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){C[t]=new A(t,0,!1,t,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];C[e]=new A(e,1,!1,t[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){C[t]=new A(t,2,!1,t.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){C[t]=new A(t,2,!1,t,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){C[t]=new A(t,3,!1,t.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(t){C[t]=new A(t,3,!0,t,null,!1,!1)})),["capture","download"].forEach((function(t){C[t]=new A(t,4,!1,t,null,!1,!1)})),["cols","rows","size","span"].forEach((function(t){C[t]=new A(t,6,!1,t,null,!1,!1)})),["rowSpan","start"].forEach((function(t){C[t]=new A(t,5,!1,t.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function I(t){return t[1].toUpperCase()}function y(t,e,n,r){var i=C.hasOwnProperty(e)?C[e]:null;(null!==i?0===i.type:!r&&(2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])))||(function(t,e,n,r){if(null===e||"undefined"===typeof e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,n,i,r)&&(n=null),r||null===i?function(t){return!!d.call(p,t)||!d.call(h,t)&&(f.test(t)?p[t]=!0:(h[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&"":n:(e=i.attributeName,r=i.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(v,I);C[e]=new A(e,1,!1,t,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(v,I);C[e]=new A(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(v,I);C[e]=new A(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(t){C[t]=new A(t,1,!1,t.toLowerCase(),null,!1,!1)})),C.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(t){C[t]=new A(t,1,!1,t.toLowerCase(),null,!0,!0)}));var m=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b=60103,x=60106,w=60107,O=60108,S=60114,_=60109,k=60110,j=60112,E=60113,P=60120,M=60115,T=60116,R=60121,D=60128,N=60129,L=60130,F=60131;if("function"===typeof Symbol&&Symbol.for){var B=Symbol.for;b=B("react.element"),x=B("react.portal"),w=B("react.fragment"),O=B("react.strict_mode"),S=B("react.profiler"),_=B("react.provider"),k=B("react.context"),j=B("react.forward_ref"),E=B("react.suspense"),P=B("react.suspense_list"),M=B("react.memo"),T=B("react.lazy"),R=B("react.block"),B("react.scope"),D=B("react.opaque.id"),N=B("react.debug_trace_mode"),L=B("react.offscreen"),F=B("react.legacy_hidden")}var z,V="function"===typeof Symbol&&Symbol.iterator;function G(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=V&&t[V]||t["@@iterator"])?t:null}function W(t){if(void 0===z)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);z=e&&e[1]||""}return"\n"+z+t}var Y=!1;function H(t,e){if(!t||Y)return"";Y=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(e,[])}catch(c){var r=c}Reflect.construct(t,[],e)}else{try{e.call()}catch(c){r=c}t.call(e.prototype)}else{try{throw Error()}catch(c){r=c}t()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var i=c.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{Y=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?W(t):""}function U(t){switch(t.tag){case 5:return W(t.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return t=H(t.type,!1);case 11:return t=H(t.type.render,!1);case 22:return t=H(t.type._render,!1);case 1:return t=H(t.type,!0);default:return""}}function X(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case w:return"Fragment";case x:return"Portal";case S:return"Profiler";case O:return"StrictMode";case E:return"Suspense";case P:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case k:return(t.displayName||"Context")+".Consumer";case _:return(t._context.displayName||"Context")+".Provider";case j:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case M:return X(t.type);case R:return X(t._render);case T:e=t._payload,t=t._init;try{return X(t(e))}catch(n){}}return null}function Z(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function q(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function K(t){t._valueTracker||(t._valueTracker=function(t){var e=q(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=""+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function Q(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=q(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function J(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function $(t,e){var n=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function tt(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=Z(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function et(t,e){null!=(e=e.checked)&&y(t,"checked",e,!1)}function nt(t,e){et(t,e);var n=Z(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?it(t,e.type,n):e.hasOwnProperty("defaultValue")&&it(t,e.type,Z(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function rt(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function it(t,e,n){"number"===e&&J(t.ownerDocument)===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function ot(t,e){return t=i({children:void 0},e),(e=function(t){var e="";return r.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(e.children))&&(t.children=e),t}function at(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+Z(n),e=null,i=0;i<t.length;i++){if(t[i].value===n)return t[i].selected=!0,void(r&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function st(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function ct(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:Z(n)}}function lt(t,e){var n=Z(e.value),r=Z(e.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function ut(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var gt="http://www.w3.org/1999/xhtml",ft="http://www.w3.org/2000/svg";function dt(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ht(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?dt(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var pt,At,Ct=(At=function(t,e){if(t.namespaceURI!==ft||"innerHTML"in t)t.innerHTML=e;else{for((pt=pt||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=pt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,e,n,r){MSApp.execUnsafeLocalFunction((function(){return At(t,e)}))}:At);function vt(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}var It={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},yt=["Webkit","ms","Moz","O"];function mt(t,e,n){return null==e||"boolean"===typeof e||""===e?"":n||"number"!==typeof e||0===e||It.hasOwnProperty(t)&&It[t]?(""+e).trim():e+"px"}function bt(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=mt(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}Object.keys(It).forEach((function(t){yt.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),It[e]=It[t]}))}));var xt=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function wt(t,e){if(e){if(xt[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if("object"!==typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!==typeof e.style)throw Error(a(62))}}function Ot(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function St(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var _t=null,kt=null,jt=null;function Et(t){if(t=ti(t)){if("function"!==typeof _t)throw Error(a(280));var e=t.stateNode;e&&(e=ni(e),_t(t.stateNode,t.type,e))}}function Pt(t){kt?jt?jt.push(t):jt=[t]:kt=t}function Mt(){if(kt){var t=kt,e=jt;if(jt=kt=null,Et(t),e)for(t=0;t<e.length;t++)Et(e[t])}}function Tt(t,e){return t(e)}function Rt(t,e,n,r,i){return t(e,n,r,i)}function Dt(){}var Nt=Tt,Lt=!1,Ft=!1;function Bt(){null===kt&&null===jt||(Dt(),Mt())}function zt(t,e){var n=t.stateNode;if(null===n)return null;var r=ni(n);if(null===r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!==typeof n)throw Error(a(231,e,typeof n));return n}var Vt=!1;if(g)try{var Gt={};Object.defineProperty(Gt,"passive",{get:function(){Vt=!0}}),window.addEventListener("test",Gt,Gt),window.removeEventListener("test",Gt,Gt)}catch(At){Vt=!1}function Wt(t,e,n,r,i,o,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{e.apply(n,l)}catch(u){this.onError(u)}}var Yt=!1,Ht=null,Ut=!1,Xt=null,Zt={onError:function(t){Yt=!0,Ht=t}};function qt(t,e,n,r,i,o,a,s,c){Yt=!1,Ht=null,Wt.apply(Zt,arguments)}function Kt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).flags)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function Qt(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function Jt(t){if(Kt(t)!==t)throw Error(a(188))}function $t(t){if(!(t=function(t){var e=t.alternate;if(!e){if(null===(e=Kt(t)))throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Jt(i),t;if(o===r)return Jt(i),e;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,c=i.child;c;){if(c===n){s=!0,n=i,r=o;break}if(c===r){s=!0,r=i,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,r=i;break}if(c===r){s=!0,r=o,n=i;break}c=c.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function te(t,e){for(var n=t.alternate;null!==e;){if(e===t||e===n)return!0;e=e.return}return!1}var ee,ne,re,ie,oe=!1,ae=[],se=null,ce=null,le=null,ue=new Map,ge=new Map,fe=[],de="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function he(t,e,n,r,i){return{blockedOn:t,domEventName:e,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function pe(t,e){switch(t){case"focusin":case"focusout":se=null;break;case"dragenter":case"dragleave":ce=null;break;case"mouseover":case"mouseout":le=null;break;case"pointerover":case"pointerout":ue.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ge.delete(e.pointerId)}}function Ae(t,e,n,r,i,o){return null===t||t.nativeEvent!==o?(t=he(e,n,r,i,o),null!==e&&(null!==(e=ti(e))&&ne(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,null!==i&&-1===e.indexOf(i)&&e.push(i),t)}function Ce(t){var e=$r(t.target);if(null!==e){var n=Kt(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=Qt(n)))return t.blockedOn=e,void ie(t.lanePriority,(function(){o.unstable_runWithPriority(t.priority,(function(){re(n)}))}))}else if(3===e&&n.stateNode.hydrate)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function ve(t){if(null!==t.blockedOn)return!1;for(var e=t.targetContainers;0<e.length;){var n=$e(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n)return null!==(e=ti(n))&&ne(e),t.blockedOn=n,!1;e.shift()}return!0}function Ie(t,e,n){ve(t)&&n.delete(e)}function ye(){for(oe=!1;0<ae.length;){var t=ae[0];if(null!==t.blockedOn){null!==(t=ti(t.blockedOn))&&ee(t);break}for(var e=t.targetContainers;0<e.length;){var n=$e(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n){t.blockedOn=n;break}e.shift()}null===t.blockedOn&&ae.shift()}null!==se&&ve(se)&&(se=null),null!==ce&&ve(ce)&&(ce=null),null!==le&&ve(le)&&(le=null),ue.forEach(Ie),ge.forEach(Ie)}function me(t,e){t.blockedOn===e&&(t.blockedOn=null,oe||(oe=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,ye)))}function be(t){function e(e){return me(e,t)}if(0<ae.length){me(ae[0],t);for(var n=1;n<ae.length;n++){var r=ae[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==se&&me(se,t),null!==ce&&me(ce,t),null!==le&&me(le,t),ue.forEach(e),ge.forEach(e),n=0;n<fe.length;n++)(r=fe[n]).blockedOn===t&&(r.blockedOn=null);for(;0<fe.length&&null===(n=fe[0]).blockedOn;)Ce(n),null===n.blockedOn&&fe.shift()}function xe(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var we={animationend:xe("Animation","AnimationEnd"),animationiteration:xe("Animation","AnimationIteration"),animationstart:xe("Animation","AnimationStart"),transitionend:xe("Transition","TransitionEnd")},Oe={},Se={};function _e(t){if(Oe[t])return Oe[t];if(!we[t])return t;var e,n=we[t];for(e in n)if(n.hasOwnProperty(e)&&e in Se)return Oe[t]=n[e];return t}g&&(Se=document.createElement("div").style,"AnimationEvent"in window||(delete we.animationend.animation,delete we.animationiteration.animation,delete we.animationstart.animation),"TransitionEvent"in window||delete we.transitionend.transition);var ke=_e("animationend"),je=_e("animationiteration"),Ee=_e("animationstart"),Pe=_e("transitionend"),Me=new Map,Te=new Map,Re=["abort","abort",ke,"animationEnd",je,"animationIteration",Ee,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Pe,"transitionEnd","waiting","waiting"];function De(t,e){for(var n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Te.set(r,e),Me.set(r,i),l(i,[r])}}(0,o.unstable_now)();var Ne=8;function Le(t){if(0!==(1&t))return Ne=15,1;if(0!==(2&t))return Ne=14,2;if(0!==(4&t))return Ne=13,4;var e=24&t;return 0!==e?(Ne=12,e):0!==(32&t)?(Ne=11,32):0!==(e=192&t)?(Ne=10,e):0!==(256&t)?(Ne=9,256):0!==(e=3584&t)?(Ne=8,e):0!==(4096&t)?(Ne=7,4096):0!==(e=4186112&t)?(Ne=6,e):0!==(e=62914560&t)?(Ne=5,e):67108864&t?(Ne=4,67108864):0!==(134217728&t)?(Ne=3,134217728):0!==(e=805306368&t)?(Ne=2,e):0!==(1073741824&t)?(Ne=1,1073741824):(Ne=8,t)}function Fe(t,e){var n=t.pendingLanes;if(0===n)return Ne=0;var r=0,i=0,o=t.expiredLanes,a=t.suspendedLanes,s=t.pingedLanes;if(0!==o)r=o,i=Ne=15;else if(0!==(o=134217727&n)){var c=o&~a;0!==c?(r=Le(c),i=Ne):0!==(s&=o)&&(r=Le(s),i=Ne)}else 0!==(o=n&~a)?(r=Le(o),i=Ne):0!==s&&(r=Le(s),i=Ne);if(0===r)return 0;if(r=n&((0>(r=31-Ye(r))?0:1<<r)<<1)-1,0!==e&&e!==r&&0===(e&a)){if(Le(e),i<=Ne)return e;Ne=i}if(0!==(e=t.entangledLanes))for(t=t.entanglements,e&=r;0<e;)i=1<<(n=31-Ye(e)),r|=t[n],e&=~i;return r}function Be(t){return 0!==(t=-1073741825&t.pendingLanes)?t:1073741824&t?1073741824:0}function ze(t,e){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=Ve(24&~e))?ze(10,e):t;case 10:return 0===(t=Ve(192&~e))?ze(8,e):t;case 8:return 0===(t=Ve(3584&~e))&&(0===(t=Ve(4186112&~e))&&(t=512)),t;case 2:return 0===(e=Ve(805306368&~e))&&(e=268435456),e}throw Error(a(358,t))}function Ve(t){return t&-t}function Ge(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function We(t,e,n){t.pendingLanes|=e;var r=e-1;t.suspendedLanes&=r,t.pingedLanes&=r,(t=t.eventTimes)[e=31-Ye(e)]=n}var Ye=Math.clz32?Math.clz32:function(t){return 0===t?32:31-(He(t)/Ue|0)|0},He=Math.log,Ue=Math.LN2;var Xe=o.unstable_UserBlockingPriority,Ze=o.unstable_runWithPriority,qe=!0;function Ke(t,e,n,r){Lt||Dt();var i=Je,o=Lt;Lt=!0;try{Rt(i,t,e,n,r)}finally{(Lt=o)||Bt()}}function Qe(t,e,n,r){Ze(Xe,Je.bind(null,t,e,n,r))}function Je(t,e,n,r){var i;if(qe)if((i=0===(4&e))&&0<ae.length&&-1<de.indexOf(t))t=he(null,t,e,n,r),ae.push(t);else{var o=$e(t,e,n,r);if(null===o)i&&pe(t,r);else{if(i){if(-1<de.indexOf(t))return t=he(o,t,e,n,r),void ae.push(t);if(function(t,e,n,r,i){switch(e){case"focusin":return se=Ae(se,t,e,n,r,i),!0;case"dragenter":return ce=Ae(ce,t,e,n,r,i),!0;case"mouseover":return le=Ae(le,t,e,n,r,i),!0;case"pointerover":var o=i.pointerId;return ue.set(o,Ae(ue.get(o)||null,t,e,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,ge.set(o,Ae(ge.get(o)||null,t,e,n,r,i)),!0}return!1}(o,t,e,n,r))return;pe(t,r)}Mr(t,e,r,null,n)}}}function $e(t,e,n,r){var i=St(r);if(null!==(i=$r(i))){var o=Kt(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=Qt(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Mr(t,e,r,i,n),null}var tn=null,en=null,nn=null;function rn(){if(nn)return nn;var t,e,n=en,r=n.length,i="value"in tn?tn.value:tn.textContent,o=i.length;for(t=0;t<r&&n[t]===i[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===i[o-e];e++);return nn=i.slice(t,1<e?1-e:void 0)}function on(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}function an(){return!0}function sn(){return!1}function cn(t){function e(e,n,r,i,o){for(var a in this._reactName=e,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,t)t.hasOwnProperty(a)&&(e=t[a],this[a]=e?e(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?an:sn,this.isPropagationStopped=sn,this}return i(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),e}var ln,un,gn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=cn(fn),hn=i({},fn,{view:0,detail:0}),pn=cn(hn),An=i({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==gn&&(gn&&"mousemove"===t.type?(ln=t.screenX-gn.screenX,un=t.screenY-gn.screenY):un=ln=0,gn=t),ln)},movementY:function(t){return"movementY"in t?t.movementY:un}}),Cn=cn(An),vn=cn(i({},An,{dataTransfer:0})),In=cn(i({},hn,{relatedTarget:0})),yn=cn(i({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),mn=cn(i({},fn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}})),bn=cn(i({},fn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},On={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=On[t])&&!!e[t]}function _n(){return Sn}var kn=cn(i({},hn,{key:function(t){if(t.key){var e=xn[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=on(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?wn[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(t){return"keypress"===t.type?on(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?on(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}})),jn=cn(i({},An,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),En=cn(i({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),Pn=cn(i({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mn=cn(i({},An,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0})),Tn=[9,13,27,32],Rn=g&&"CompositionEvent"in window,Dn=null;g&&"documentMode"in document&&(Dn=document.documentMode);var Nn=g&&"TextEvent"in window&&!Dn,Ln=g&&(!Rn||Dn&&8<Dn&&11>=Dn),Fn=String.fromCharCode(32),Bn=!1;function zn(t,e){switch(t){case"keyup":return-1!==Tn.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var Gn=!1;var Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Yn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!Wn[t.type]:"textarea"===e}function Hn(t,e,n,r){Pt(r),0<(e=Rr(e,"onChange")).length&&(n=new dn("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var Un=null,Xn=null;function Zn(t){Sr(t,0)}function qn(t){if(Q(ei(t)))return t}function Kn(t,e){if("change"===t)return e}var Qn=!1;if(g){var Jn;if(g){var $n="oninput"in document;if(!$n){var tr=document.createElement("div");tr.setAttribute("oninput","return;"),$n="function"===typeof tr.oninput}Jn=$n}else Jn=!1;Qn=Jn&&(!document.documentMode||9<document.documentMode)}function er(){Un&&(Un.detachEvent("onpropertychange",nr),Xn=Un=null)}function nr(t){if("value"===t.propertyName&&qn(Xn)){var e=[];if(Hn(e,Xn,t,St(t)),t=Zn,Lt)t(e);else{Lt=!0;try{Tt(t,e)}finally{Lt=!1,Bt()}}}}function rr(t,e,n){"focusin"===t?(er(),Xn=n,(Un=e).attachEvent("onpropertychange",nr)):"focusout"===t&&er()}function ir(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return qn(Xn)}function or(t,e){if("click"===t)return qn(e)}function ar(t,e){if("input"===t||"change"===t)return qn(e)}var sr="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},cr=Object.prototype.hasOwnProperty;function lr(t,e){if(sr(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!cr.call(e,n[r])||!sr(t[n[r]],e[n[r]]))return!1;return!0}function ur(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function gr(t,e){var n,r=ur(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=ur(r)}}function fr(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?fr(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function dr(){for(var t=window,e=J();e instanceof t.HTMLIFrameElement;){try{var n="string"===typeof e.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=J((t=e.contentWindow).document)}return e}function hr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var pr=g&&"documentMode"in document&&11>=document.documentMode,Ar=null,Cr=null,vr=null,Ir=!1;function yr(t,e,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ir||null==Ar||Ar!==J(r)||("selectionStart"in(r=Ar)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Rr(Cr,"onSelect")).length&&(e=new dn("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=Ar)))}De("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),De("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),De(Re,2);for(var mr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),br=0;br<mr.length;br++)Te.set(mr[br],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),wr=new Set("cancel close invalid load scroll toggle".split(" ").concat(xr));function Or(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,function(t,e,n,r,i,o,s,c,l){if(qt.apply(this,arguments),Yt){if(!Yt)throw Error(a(198));var u=Ht;Yt=!1,Ht=null,Ut||(Ut=!0,Xt=u)}}(r,e,void 0,t),t.currentTarget=null}function Sr(t,e){e=0!==(4&e);for(var n=0;n<t.length;n++){var r=t[n],i=r.event;r=r.listeners;t:{var o=void 0;if(e)for(var a=r.length-1;0<=a;a--){var s=r[a],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==o&&i.isPropagationStopped())break t;Or(i,s,l),o=c}else for(a=0;a<r.length;a++){if(c=(s=r[a]).instance,l=s.currentTarget,s=s.listener,c!==o&&i.isPropagationStopped())break t;Or(i,s,l),o=c}}}if(Ut)throw t=Xt,Ut=!1,Xt=null,t}function _r(t,e){var n=ri(e),r=t+"__bubble";n.has(r)||(Pr(e,t,2,!1),n.add(r))}var kr="_reactListening"+Math.random().toString(36).slice(2);function jr(t){t[kr]||(t[kr]=!0,s.forEach((function(e){wr.has(e)||Er(e,!1,t,null),Er(e,!0,t,null)})))}function Er(t,e,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===t&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!e&&wr.has(t)){if("scroll"!==t)return;i|=2,o=r}var a=ri(o),s=t+"__"+(e?"capture":"bubble");a.has(s)||(e&&(i|=4),Pr(o,t,i,e),a.add(s))}function Pr(t,e,n,r){var i=Te.get(e);switch(void 0===i?2:i){case 0:i=Ke;break;case 1:i=Qe;break;default:i=Je}n=i.bind(null,e,n,t),i=void 0,!Vt||"touchstart"!==e&&"touchmove"!==e&&"wheel"!==e||(i=!0),r?void 0!==i?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):void 0!==i?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function Mr(t,e,n,r,i){var o=r;if(0===(1&e)&&0===(2&e)&&null!==r)t:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var c=a.tag;if((3===c||4===c)&&((c=a.stateNode.containerInfo)===i||8===c.nodeType&&c.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=$r(s)))return;if(5===(c=a.tag)||6===c){r=o=a;continue t}s=s.parentNode}}r=r.return}!function(t,e,n){if(Ft)return t(e,n);Ft=!0;try{Nt(t,e,n)}finally{Ft=!1,Bt()}}((function(){var r=o,i=St(n),a=[];t:{var s=Me.get(t);if(void 0!==s){var c=dn,l=t;switch(t){case"keypress":if(0===on(n))break t;case"keydown":case"keyup":c=kn;break;case"focusin":l="focus",c=In;break;case"focusout":l="blur",c=In;break;case"beforeblur":case"afterblur":c=In;break;case"click":if(2===n.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=Cn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=En;break;case ke:case je:case Ee:c=yn;break;case Pe:c=Pn;break;case"scroll":c=pn;break;case"wheel":c=Mn;break;case"copy":case"cut":case"paste":c=mn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=jn}var u=0!==(4&e),g=!u&&"scroll"===t,f=u?null!==s?s+"Capture":null:s;u=[];for(var d,h=r;null!==h;){var p=(d=h).stateNode;if(5===d.tag&&null!==p&&(d=p,null!==f&&(null!=(p=zt(h,f))&&u.push(Tr(h,p,d)))),g)break;h=h.return}0<u.length&&(s=new c(s,l,null,n,i),a.push({event:s,listeners:u}))}}if(0===(7&e)){if(c="mouseout"===t||"pointerout"===t,(!(s="mouseover"===t||"pointerover"===t)||0!==(16&e)||!(l=n.relatedTarget||n.fromElement)||!$r(l)&&!l[Qr])&&(c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=r,null!==(l=(l=n.relatedTarget||n.toElement)?$r(l):null)&&(l!==(g=Kt(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(c=null,l=r),c!==l)){if(u=Cn,p="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==t&&"pointerover"!==t||(u=jn,p="onPointerLeave",f="onPointerEnter",h="pointer"),g=null==c?s:ei(c),d=null==l?s:ei(l),(s=new u(p,h+"leave",c,n,i)).target=g,s.relatedTarget=d,p=null,$r(i)===r&&((u=new u(f,h+"enter",l,n,i)).target=d,u.relatedTarget=g,p=u),g=p,c&&l)t:{for(f=l,h=0,d=u=c;d;d=Dr(d))h++;for(d=0,p=f;p;p=Dr(p))d++;for(;0<h-d;)u=Dr(u),h--;for(;0<d-h;)f=Dr(f),d--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break t;u=Dr(u),f=Dr(f)}u=null}else u=null;null!==c&&Nr(a,s,c,u,!1),null!==l&&null!==g&&Nr(a,g,l,u,!0)}if("select"===(c=(s=r?ei(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var A=Kn;else if(Yn(s))if(Qn)A=ar;else{A=ir;var C=rr}else(c=s.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(A=or);switch(A&&(A=A(t,r))?Hn(a,A,n,i):(C&&C(t,s,r),"focusout"===t&&(C=s._wrapperState)&&C.controlled&&"number"===s.type&&it(s,"number",s.value)),C=r?ei(r):window,t){case"focusin":(Yn(C)||"true"===C.contentEditable)&&(Ar=C,Cr=r,vr=null);break;case"focusout":vr=Cr=Ar=null;break;case"mousedown":Ir=!0;break;case"contextmenu":case"mouseup":case"dragend":Ir=!1,yr(a,n,i);break;case"selectionchange":if(pr)break;case"keydown":case"keyup":yr(a,n,i)}var v;if(Rn)t:{switch(t){case"compositionstart":var I="onCompositionStart";break t;case"compositionend":I="onCompositionEnd";break t;case"compositionupdate":I="onCompositionUpdate";break t}I=void 0}else Gn?zn(t,n)&&(I="onCompositionEnd"):"keydown"===t&&229===n.keyCode&&(I="onCompositionStart");I&&(Ln&&"ko"!==n.locale&&(Gn||"onCompositionStart"!==I?"onCompositionEnd"===I&&Gn&&(v=rn()):(en="value"in(tn=i)?tn.value:tn.textContent,Gn=!0)),0<(C=Rr(r,I)).length&&(I=new bn(I,t,null,n,i),a.push({event:I,listeners:C}),v?I.data=v:null!==(v=Vn(n))&&(I.data=v))),(v=Nn?function(t,e){switch(t){case"compositionend":return Vn(e);case"keypress":return 32!==e.which?null:(Bn=!0,Fn);case"textInput":return(t=e.data)===Fn&&Bn?null:t;default:return null}}(t,n):function(t,e){if(Gn)return"compositionend"===t||!Rn&&zn(t,e)?(t=rn(),nn=en=tn=null,Gn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Ln&&"ko"!==e.locale?null:e.data;default:return null}}(t,n))&&(0<(r=Rr(r,"onBeforeInput")).length&&(i=new bn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v))}Sr(a,e)}))}function Tr(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Rr(t,e){for(var n=e+"Capture",r=[];null!==t;){var i=t,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=zt(t,n))&&r.unshift(Tr(t,o,i)),null!=(o=zt(t,e))&&r.push(Tr(t,o,i))),t=t.return}return r}function Dr(t){if(null===t)return null;do{t=t.return}while(t&&5!==t.tag);return t||null}function Nr(t,e,n,r,i){for(var o=e._reactName,a=[];null!==n&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(null!==c&&c===r)break;5===s.tag&&null!==l&&(s=l,i?null!=(c=zt(n,o))&&a.unshift(Tr(n,c,s)):i||null!=(c=zt(n,o))&&a.push(Tr(n,c,s))),n=n.return}0!==a.length&&t.push({event:e,listeners:a})}function Lr(){}var Fr=null,Br=null;function zr(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function Vr(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var Gr="function"===typeof setTimeout?setTimeout:void 0,Wr="function"===typeof clearTimeout?clearTimeout:void 0;function Yr(t){1===t.nodeType?t.textContent="":9===t.nodeType&&(null!=(t=t.body)&&(t.textContent=""))}function Hr(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function Ur(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||"$!"===n||"$?"===n){if(0===e)return t;e--}else"/$"===n&&e++}t=t.previousSibling}return null}var Xr=0;var Zr=Math.random().toString(36).slice(2),qr="__reactFiber$"+Zr,Kr="__reactProps$"+Zr,Qr="__reactContainer$"+Zr,Jr="__reactEvents$"+Zr;function $r(t){var e=t[qr];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Qr]||n[qr]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=Ur(t);null!==t;){if(n=t[qr])return n;t=Ur(t)}return e}n=(t=n).parentNode}return null}function ti(t){return!(t=t[qr]||t[Qr])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function ei(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function ni(t){return t[Kr]||null}function ri(t){var e=t[Jr];return void 0===e&&(e=t[Jr]=new Set),e}var ii=[],oi=-1;function ai(t){return{current:t}}function si(t){0>oi||(t.current=ii[oi],ii[oi]=null,oi--)}function ci(t,e){oi++,ii[oi]=t.current,t.current=e}var li={},ui=ai(li),gi=ai(!1),fi=li;function di(t,e){var n=t.type.contextTypes;if(!n)return li;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function hi(t){return null!==(t=t.childContextTypes)&&void 0!==t}function pi(){si(gi),si(ui)}function Ai(t,e,n){if(ui.current!==li)throw Error(a(168));ci(ui,e),ci(gi,n)}function Ci(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,X(e)||"Unknown",o));return i({},n,r)}function vi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||li,fi=ui.current,ci(ui,t),ci(gi,gi.current),!0}function Ii(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=Ci(t,e,fi),r.__reactInternalMemoizedMergedChildContext=t,si(gi),si(ui),ci(ui,t)):si(gi),ci(gi,n)}var yi=null,mi=null,bi=o.unstable_runWithPriority,xi=o.unstable_scheduleCallback,wi=o.unstable_cancelCallback,Oi=o.unstable_shouldYield,Si=o.unstable_requestPaint,_i=o.unstable_now,ki=o.unstable_getCurrentPriorityLevel,ji=o.unstable_ImmediatePriority,Ei=o.unstable_UserBlockingPriority,Pi=o.unstable_NormalPriority,Mi=o.unstable_LowPriority,Ti=o.unstable_IdlePriority,Ri={},Di=void 0!==Si?Si:function(){},Ni=null,Li=null,Fi=!1,Bi=_i(),zi=1e4>Bi?_i:function(){return _i()-Bi};function Vi(){switch(ki()){case ji:return 99;case Ei:return 98;case Pi:return 97;case Mi:return 96;case Ti:return 95;default:throw Error(a(332))}}function Gi(t){switch(t){case 99:return ji;case 98:return Ei;case 97:return Pi;case 96:return Mi;case 95:return Ti;default:throw Error(a(332))}}function Wi(t,e){return t=Gi(t),bi(t,e)}function Yi(t,e,n){return t=Gi(t),xi(t,e,n)}function Hi(){if(null!==Li){var t=Li;Li=null,wi(t)}Ui()}function Ui(){if(!Fi&&null!==Ni){Fi=!0;var t=0;try{var e=Ni;Wi(99,(function(){for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}})),Ni=null}catch(n){throw null!==Ni&&(Ni=Ni.slice(t+1)),xi(ji,Hi),n}finally{Fi=!1}}}var Xi=m.ReactCurrentBatchConfig;function Zi(t,e){if(t&&t.defaultProps){for(var n in e=i({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}return e}var qi=ai(null),Ki=null,Qi=null,Ji=null;function $i(){Ji=Qi=Ki=null}function to(t){var e=qi.current;si(qi),t.type._context._currentValue=e}function eo(t,e){for(;null!==t;){var n=t.alternate;if((t.childLanes&e)===e){if(null===n||(n.childLanes&e)===e)break;n.childLanes|=e}else t.childLanes|=e,null!==n&&(n.childLanes|=e);t=t.return}}function no(t,e){Ki=t,Ji=Qi=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(0!==(t.lanes&e)&&(Ra=!0),t.firstContext=null)}function ro(t,e){if(Ji!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(Ji=t,e=1073741823),e={context:t,observedBits:e,next:null},null===Qi){if(null===Ki)throw Error(a(308));Qi=e,Ki.dependencies={lanes:0,firstContext:e,responders:null}}else Qi=Qi.next=e;return t._currentValue}var io=!1;function oo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ao(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function so(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function co(t,e){if(null!==(t=t.updateQueue)){var n=(t=t.shared).pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function lo(t,e){var n=t.updateQueue,r=t.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=e:o=o.next=e}else i=o=e;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(t.updateQueue=n)}null===(t=n.lastBaseUpdate)?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function uo(t,e,n,r){var o=t.updateQueue;io=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,c=o.shared.pending;if(null!==c){o.shared.pending=null;var l=c,u=l.next;l.next=null,null===s?a=u:s.next=u,s=l;var g=t.alternate;if(null!==g){var f=(g=g.updateQueue).lastBaseUpdate;f!==s&&(null===f?g.firstBaseUpdate=u:f.next=u,g.lastBaseUpdate=l)}}if(null!==a){for(f=o.baseState,s=0,g=u=l=null;;){c=a.lane;var d=a.eventTime;if((r&c)===c){null!==g&&(g=g.next={eventTime:d,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});t:{var h=t,p=a;switch(c=e,d=n,p.tag){case 1:if("function"===typeof(h=p.payload)){f=h.call(d,f,c);break t}f=h;break t;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(c="function"===typeof(h=p.payload)?h.call(d,f,c):h)||void 0===c)break t;f=i({},f,c);break t;case 2:io=!0}}null!==a.callback&&(t.flags|=32,null===(c=o.effects)?o.effects=[a]:c.push(a))}else d={eventTime:d,lane:c,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===g?(u=g=d,l=f):g=g.next=d,s|=c;if(null===(a=a.next)){if(null===(c=o.shared.pending))break;a=c.next,c.next=null,o.lastBaseUpdate=c,o.shared.pending=null}}null===g&&(l=f),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=g,Fs|=s,t.lanes=s,t.memoizedState=f}}function go(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(a(191,i));i.call(r)}}}var fo=(new r.Component).refs;function ho(t,e,n,r){n=null===(n=n(r,e=t.memoizedState))||void 0===n?e:i({},e,n),t.memoizedState=n,0===t.lanes&&(t.updateQueue.baseState=n)}var po={isMounted:function(t){return!!(t=t._reactInternals)&&Kt(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=lc(),i=uc(t),o=so(r,i);o.payload=e,void 0!==n&&null!==n&&(o.callback=n),co(t,o),gc(t,i,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=lc(),i=uc(t),o=so(r,i);o.tag=1,o.payload=e,void 0!==n&&null!==n&&(o.callback=n),co(t,o),gc(t,i,r)},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=lc(),r=uc(t),i=so(n,r);i.tag=2,void 0!==e&&null!==e&&(i.callback=e),co(t,i),gc(t,r,n)}};function Ao(t,e,n,r,i,o,a){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!lr(n,r)||!lr(i,o))}function Co(t,e,n){var r=!1,i=li,o=e.contextType;return"object"===typeof o&&null!==o?o=ro(o):(i=hi(e)?fi:ui.current,o=(r=null!==(r=e.contextTypes)&&void 0!==r)?di(t,i):li),e=new e(n,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=po,t.stateNode=e,e._reactInternals=t,r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function vo(t,e,n,r){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&po.enqueueReplaceState(e,e.state,null)}function Io(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=fo,oo(t);var o=e.contextType;"object"===typeof o&&null!==o?i.context=ro(o):(o=hi(e)?fi:ui.current,i.context=di(t,o)),uo(t,n,i,r),i.state=t.memoizedState,"function"===typeof(o=e.getDerivedStateFromProps)&&(ho(t,e,o,n),i.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(e=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&po.enqueueReplaceState(i,i.state,null),uo(t,n,i,r),i.state=t.memoizedState),"function"===typeof i.componentDidMount&&(t.flags|=4)}var yo=Array.isArray;function mo(t,e,n){if(null!==(t=n.ref)&&"function"!==typeof t&&"object"!==typeof t){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,t));var i=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===i?e.ref:((e=function(t){var e=r.refs;e===fo&&(e=r.refs={}),null===t?delete e[i]:e[i]=t})._stringRef=i,e)}if("string"!==typeof t)throw Error(a(284));if(!n._owner)throw Error(a(290,t))}return t}function bo(t,e){if("textarea"!==t.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e))}function xo(t){function e(e,n){if(t){var r=e.lastEffect;null!==r?(r.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=Wc(t,e)).index=0,t.sibling=null,t}function o(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.flags=2,n):r:(e.flags=2,n):n}function s(e){return t&&null===e.alternate&&(e.flags=2),e}function c(t,e,n,r){return null===e||6!==e.tag?((e=Xc(n,t.mode,r)).return=t,e):((e=i(e,n)).return=t,e)}function l(t,e,n,r){return null!==e&&e.elementType===n.type?((r=i(e,n.props)).ref=mo(t,e,n),r.return=t,r):((r=Yc(n.type,n.key,n.props,null,t.mode,r)).ref=mo(t,e,n),r.return=t,r)}function u(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=Zc(n,t.mode,r)).return=t,e):((e=i(e,n.children||[])).return=t,e)}function g(t,e,n,r,o){return null===e||7!==e.tag?((e=Hc(n,t.mode,r,o)).return=t,e):((e=i(e,n)).return=t,e)}function f(t,e,n){if("string"===typeof e||"number"===typeof e)return(e=Xc(""+e,t.mode,n)).return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case b:return(n=Yc(e.type,e.key,e.props,null,t.mode,n)).ref=mo(t,null,e),n.return=t,n;case x:return(e=Zc(e,t.mode,n)).return=t,e}if(yo(e)||G(e))return(e=Hc(e,t.mode,n,null)).return=t,e;bo(t,e)}return null}function d(t,e,n,r){var i=null!==e?e.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:c(t,e,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case b:return n.key===i?n.type===w?g(t,e,n.props.children,r,i):l(t,e,n,r):null;case x:return n.key===i?u(t,e,n,r):null}if(yo(n)||G(n))return null!==i?null:g(t,e,n,r,null);bo(t,n)}return null}function h(t,e,n,r,i){if("string"===typeof r||"number"===typeof r)return c(e,t=t.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case b:return t=t.get(null===r.key?n:r.key)||null,r.type===w?g(e,t,r.props.children,i,r.key):l(e,t,r,i);case x:return u(e,t=t.get(null===r.key?n:r.key)||null,r,i)}if(yo(r)||G(r))return g(e,t=t.get(n)||null,r,i,null);bo(e,r)}return null}function p(i,a,s,c){for(var l=null,u=null,g=a,p=a=0,A=null;null!==g&&p<s.length;p++){g.index>p?(A=g,g=null):A=g.sibling;var C=d(i,g,s[p],c);if(null===C){null===g&&(g=A);break}t&&g&&null===C.alternate&&e(i,g),a=o(C,a,p),null===u?l=C:u.sibling=C,u=C,g=A}if(p===s.length)return n(i,g),l;if(null===g){for(;p<s.length;p++)null!==(g=f(i,s[p],c))&&(a=o(g,a,p),null===u?l=g:u.sibling=g,u=g);return l}for(g=r(i,g);p<s.length;p++)null!==(A=h(g,i,p,s[p],c))&&(t&&null!==A.alternate&&g.delete(null===A.key?p:A.key),a=o(A,a,p),null===u?l=A:u.sibling=A,u=A);return t&&g.forEach((function(t){return e(i,t)})),l}function A(i,s,c,l){var u=G(c);if("function"!==typeof u)throw Error(a(150));if(null==(c=u.call(c)))throw Error(a(151));for(var g=u=null,p=s,A=s=0,C=null,v=c.next();null!==p&&!v.done;A++,v=c.next()){p.index>A?(C=p,p=null):C=p.sibling;var I=d(i,p,v.value,l);if(null===I){null===p&&(p=C);break}t&&p&&null===I.alternate&&e(i,p),s=o(I,s,A),null===g?u=I:g.sibling=I,g=I,p=C}if(v.done)return n(i,p),u;if(null===p){for(;!v.done;A++,v=c.next())null!==(v=f(i,v.value,l))&&(s=o(v,s,A),null===g?u=v:g.sibling=v,g=v);return u}for(p=r(i,p);!v.done;A++,v=c.next())null!==(v=h(p,i,A,v.value,l))&&(t&&null!==v.alternate&&p.delete(null===v.key?A:v.key),s=o(v,s,A),null===g?u=v:g.sibling=v,g=v);return t&&p.forEach((function(t){return e(i,t)})),u}return function(t,r,o,c){var l="object"===typeof o&&null!==o&&o.type===w&&null===o.key;l&&(o=o.props.children);var u="object"===typeof o&&null!==o;if(u)switch(o.$$typeof){case b:t:{for(u=o.key,l=r;null!==l;){if(l.key===u){switch(l.tag){case 7:if(o.type===w){n(t,l.sibling),(r=i(l,o.props.children)).return=t,t=r;break t}break;default:if(l.elementType===o.type){n(t,l.sibling),(r=i(l,o.props)).ref=mo(t,l,o),r.return=t,t=r;break t}}n(t,l);break}e(t,l),l=l.sibling}o.type===w?((r=Hc(o.props.children,t.mode,c,o.key)).return=t,t=r):((c=Yc(o.type,o.key,o.props,null,t.mode,c)).ref=mo(t,r,o),c.return=t,t=c)}return s(t);case x:t:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(t,r.sibling),(r=i(r,o.children||[])).return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}(r=Zc(o,t.mode,c)).return=t,t=r}return s(t)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(t,r.sibling),(r=i(r,o)).return=t,t=r):(n(t,r),(r=Xc(o,t.mode,c)).return=t,t=r),s(t);if(yo(o))return p(t,r,o,c);if(G(o))return A(t,r,o,c);if(u&&bo(t,o),"undefined"===typeof o&&!l)switch(t.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,X(t.type)||"Component"))}return n(t,r)}}var wo=xo(!0),Oo=xo(!1),So={},_o=ai(So),ko=ai(So),jo=ai(So);function Eo(t){if(t===So)throw Error(a(174));return t}function Po(t,e){switch(ci(jo,e),ci(ko,t),ci(_o,So),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:ht(null,"");break;default:e=ht(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}si(_o),ci(_o,e)}function Mo(){si(_o),si(ko),si(jo)}function To(t){Eo(jo.current);var e=Eo(_o.current),n=ht(e,t.type);e!==n&&(ci(ko,t),ci(_o,n))}function Ro(t){ko.current===t&&(si(_o),si(ko))}var Do=ai(0);function No(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.flags))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Lo=null,Fo=null,Bo=!1;function zo(t,e){var n=Vc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.flags=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function Vo(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function Go(t){if(Bo){var e=Fo;if(e){var n=e;if(!Vo(t,e)){if(!(e=Hr(n.nextSibling))||!Vo(t,e))return t.flags=-1025&t.flags|2,Bo=!1,void(Lo=t);zo(Lo,n)}Lo=t,Fo=Hr(e.firstChild)}else t.flags=-1025&t.flags|2,Bo=!1,Lo=t}}function Wo(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;Lo=t}function Yo(t){if(t!==Lo)return!1;if(!Bo)return Wo(t),Bo=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!Vr(e,t.memoizedProps))for(e=Fo;e;)zo(t,e),e=Hr(e.nextSibling);if(Wo(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if("/$"===n){if(0===e){Fo=Hr(t.nextSibling);break t}e--}else"$"!==n&&"$!"!==n&&"$?"!==n||e++}t=t.nextSibling}Fo=null}}else Fo=Lo?Hr(t.stateNode.nextSibling):null;return!0}function Ho(){Fo=Lo=null,Bo=!1}var Uo=[];function Xo(){for(var t=0;t<Uo.length;t++)Uo[t]._workInProgressVersionPrimary=null;Uo.length=0}var Zo=m.ReactCurrentDispatcher,qo=m.ReactCurrentBatchConfig,Ko=0,Qo=null,Jo=null,$o=null,ta=!1,ea=!1;function na(){throw Error(a(321))}function ra(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!sr(t[n],e[n]))return!1;return!0}function ia(t,e,n,r,i,o){if(Ko=o,Qo=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Zo.current=null===t||null===t.memoizedState?Ea:Pa,t=n(r,i),ea){o=0;do{if(ea=!1,!(25>o))throw Error(a(301));o+=1,$o=Jo=null,e.updateQueue=null,Zo.current=Ma,t=n(r,i)}while(ea)}if(Zo.current=ja,e=null!==Jo&&null!==Jo.next,Ko=0,$o=Jo=Qo=null,ta=!1,e)throw Error(a(300));return t}function oa(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===$o?Qo.memoizedState=$o=t:$o=$o.next=t,$o}function aa(){if(null===Jo){var t=Qo.alternate;t=null!==t?t.memoizedState:null}else t=Jo.next;var e=null===$o?Qo.memoizedState:$o.next;if(null!==e)$o=e,Jo=t;else{if(null===t)throw Error(a(310));t={memoizedState:(Jo=t).memoizedState,baseState:Jo.baseState,baseQueue:Jo.baseQueue,queue:Jo.queue,next:null},null===$o?Qo.memoizedState=$o=t:$o=$o.next=t}return $o}function sa(t,e){return"function"===typeof e?e(t):e}function ca(t){var e=aa(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=Jo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var c=s=o=null,l=i;do{var u=l.lane;if((Ko&u)===u)null!==c&&(c=c.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===t?l.eagerState:t(r,l.action);else{var g={lane:u,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===c?(s=c=g,o=r):c=c.next=g,Qo.lanes|=u,Fs|=u}l=l.next}while(null!==l&&l!==i);null===c?o=r:c.next=s,sr(r,e.memoizedState)||(Ra=!0),e.memoizedState=r,e.baseState=o,e.baseQueue=c,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function la(t){var e=aa(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=t(o,s.action),s=s.next}while(s!==i);sr(o,e.memoizedState)||(Ra=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function ua(t,e,n){var r=e._getVersion;r=r(e._source);var i=e._workInProgressVersionPrimary;if(null!==i?t=i===r:(t=t.mutableReadLanes,(t=(Ko&t)===t)&&(e._workInProgressVersionPrimary=r,Uo.push(e))),t)return n(e._source);throw Uo.push(e),Error(a(350))}function ga(t,e,n,r){var i=Es;if(null===i)throw Error(a(349));var o=e._getVersion,s=o(e._source),c=Zo.current,l=c.useState((function(){return ua(i,e,n)})),u=l[1],g=l[0];l=$o;var f=t.memoizedState,d=f.refs,h=d.getSnapshot,p=f.source;f=f.subscribe;var A=Qo;return t.memoizedState={refs:d,source:e,subscribe:r},c.useEffect((function(){d.getSnapshot=n,d.setSnapshot=u;var t=o(e._source);if(!sr(s,t)){t=n(e._source),sr(g,t)||(u(t),t=uc(A),i.mutableReadLanes|=t&i.pendingLanes),t=i.mutableReadLanes,i.entangledLanes|=t;for(var r=i.entanglements,a=t;0<a;){var c=31-Ye(a),l=1<<c;r[c]|=t,a&=~l}}}),[n,e,r]),c.useEffect((function(){return r(e._source,(function(){var t=d.getSnapshot,n=d.setSnapshot;try{n(t(e._source));var r=uc(A);i.mutableReadLanes|=r&i.pendingLanes}catch(o){n((function(){throw o}))}}))}),[e,r]),sr(h,n)&&sr(p,e)&&sr(f,r)||((t={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:g}).dispatch=u=ka.bind(null,Qo,t),l.queue=t,l.baseQueue=null,g=ua(i,e,n),l.memoizedState=l.baseState=g),g}function fa(t,e,n){return ga(aa(),t,e,n)}function da(t){var e=oa();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:t}).dispatch=ka.bind(null,Qo,t),[e.memoizedState,t]}function ha(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=Qo.updateQueue)?(e={lastEffect:null},Qo.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function pa(t){return t={current:t},oa().memoizedState=t}function Aa(){return aa().memoizedState}function Ca(t,e,n,r){var i=oa();Qo.flags|=t,i.memoizedState=ha(1|e,n,void 0,void 0===r?null:r)}function va(t,e,n,r){var i=aa();r=void 0===r?null:r;var o=void 0;if(null!==Jo){var a=Jo.memoizedState;if(o=a.destroy,null!==r&&ra(r,a.deps))return void ha(e,n,o,r)}Qo.flags|=t,i.memoizedState=ha(1|e,n,o,r)}function Ia(t,e){return Ca(516,4,t,e)}function ya(t,e){return va(516,4,t,e)}function ma(t,e){return va(4,2,t,e)}function ba(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function xa(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,va(4,2,ba.bind(null,e,t),n)}function wa(){}function Oa(t,e){var n=aa();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ra(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Sa(t,e){var n=aa();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ra(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function _a(t,e){var n=Vi();Wi(98>n?98:n,(function(){t(!0)})),Wi(97<n?97:n,(function(){var n=qo.transition;qo.transition=1;try{t(!1),e()}finally{qo.transition=n}}))}function ka(t,e,n){var r=lc(),i=uc(t),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=e.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),e.pending=o,a=t.alternate,t===Qo||null!==a&&a===Qo)ea=ta=!0;else{if(0===t.lanes&&(null===a||0===a.lanes)&&null!==(a=e.lastRenderedReducer))try{var s=e.lastRenderedState,c=a(s,n);if(o.eagerReducer=a,o.eagerState=c,sr(c,s))return}catch(l){}gc(t,i,r)}}var ja={readContext:ro,useCallback:na,useContext:na,useEffect:na,useImperativeHandle:na,useLayoutEffect:na,useMemo:na,useReducer:na,useRef:na,useState:na,useDebugValue:na,useDeferredValue:na,useTransition:na,useMutableSource:na,useOpaqueIdentifier:na,unstable_isNewReconciler:!1},Ea={readContext:ro,useCallback:function(t,e){return oa().memoizedState=[t,void 0===e?null:e],t},useContext:ro,useEffect:Ia,useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,Ca(4,2,ba.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Ca(4,2,t,e)},useMemo:function(t,e){var n=oa();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=oa();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=(t=r.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=ka.bind(null,Qo,t),[r.memoizedState,t]},useRef:pa,useState:da,useDebugValue:wa,useDeferredValue:function(t){var e=da(t),n=e[0],r=e[1];return Ia((function(){var e=qo.transition;qo.transition=1;try{r(t)}finally{qo.transition=e}}),[t]),n},useTransition:function(){var t=da(!1),e=t[0];return pa(t=_a.bind(null,t[1])),[t,e]},useMutableSource:function(t,e,n){var r=oa();return r.memoizedState={refs:{getSnapshot:e,setSnapshot:null},source:t,subscribe:n},ga(r,t,e,n)},useOpaqueIdentifier:function(){if(Bo){var t=!1,e=function(t){return{$$typeof:D,toString:t,valueOf:t}}((function(){throw t||(t=!0,n("r:"+(Xr++).toString(36))),Error(a(355))})),n=da(e)[1];return 0===(2&Qo.mode)&&(Qo.flags|=516,ha(5,(function(){n("r:"+(Xr++).toString(36))}),void 0,null)),e}return da(e="r:"+(Xr++).toString(36)),e},unstable_isNewReconciler:!1},Pa={readContext:ro,useCallback:Oa,useContext:ro,useEffect:ya,useImperativeHandle:xa,useLayoutEffect:ma,useMemo:Sa,useReducer:ca,useRef:Aa,useState:function(){return ca(sa)},useDebugValue:wa,useDeferredValue:function(t){var e=ca(sa),n=e[0],r=e[1];return ya((function(){var e=qo.transition;qo.transition=1;try{r(t)}finally{qo.transition=e}}),[t]),n},useTransition:function(){var t=ca(sa)[0];return[Aa().current,t]},useMutableSource:fa,useOpaqueIdentifier:function(){return ca(sa)[0]},unstable_isNewReconciler:!1},Ma={readContext:ro,useCallback:Oa,useContext:ro,useEffect:ya,useImperativeHandle:xa,useLayoutEffect:ma,useMemo:Sa,useReducer:la,useRef:Aa,useState:function(){return la(sa)},useDebugValue:wa,useDeferredValue:function(t){var e=la(sa),n=e[0],r=e[1];return ya((function(){var e=qo.transition;qo.transition=1;try{r(t)}finally{qo.transition=e}}),[t]),n},useTransition:function(){var t=la(sa)[0];return[Aa().current,t]},useMutableSource:fa,useOpaqueIdentifier:function(){return la(sa)[0]},unstable_isNewReconciler:!1},Ta=m.ReactCurrentOwner,Ra=!1;function Da(t,e,n,r){e.child=null===t?Oo(e,null,n,r):wo(e,t.child,n,r)}function Na(t,e,n,r,i){n=n.render;var o=e.ref;return no(e,i),r=ia(t,e,n,r,o,i),null===t||Ra?(e.flags|=1,Da(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-517,t.lanes&=~i,ns(t,e,i))}function La(t,e,n,r,i,o){if(null===t){var a=n.type;return"function"!==typeof a||Gc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=Yc(n.type,null,r,e,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,Fa(t,e,a,r,i,o))}return a=t.child,0===(i&o)&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:lr)(i,r)&&t.ref===e.ref)?ns(t,e,o):(e.flags|=1,(t=Wc(a,r)).ref=e.ref,t.return=e,e.child=t)}function Fa(t,e,n,r,i,o){if(null!==t&&lr(t.memoizedProps,r)&&t.ref===e.ref){if(Ra=!1,0===(o&i))return e.lanes=t.lanes,ns(t,e,o);0!==(16384&t.flags)&&(Ra=!0)}return Va(t,e,n,r,o)}function Ba(t,e,n){var r=e.pendingProps,i=r.children,o=null!==t?t.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&e.mode))e.memoizedState={baseLanes:0},Ic(e,n);else{if(0===(1073741824&n))return t=null!==o?o.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t},Ic(e,t),null;e.memoizedState={baseLanes:0},Ic(e,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,e.memoizedState=null):r=n,Ic(e,r);return Da(t,e,i,n),e.child}function za(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.flags|=128)}function Va(t,e,n,r,i){var o=hi(n)?fi:ui.current;return o=di(e,o),no(e,i),n=ia(t,e,n,r,o,i),null===t||Ra?(e.flags|=1,Da(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-517,t.lanes&=~i,ns(t,e,i))}function Ga(t,e,n,r,i){if(hi(n)){var o=!0;vi(e)}else o=!1;if(no(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),Co(e,n,r),Io(e,n,r,i),r=!0;else if(null===t){var a=e.stateNode,s=e.memoizedProps;a.props=s;var c=a.context,l=n.contextType;"object"===typeof l&&null!==l?l=ro(l):l=di(e,l=hi(n)?fi:ui.current);var u=n.getDerivedStateFromProps,g="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;g||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||c!==l)&&vo(e,a,r,l),io=!1;var f=e.memoizedState;a.state=f,uo(e,r,a,i),c=e.memoizedState,s!==r||f!==c||gi.current||io?("function"===typeof u&&(ho(e,n,u,r),c=e.memoizedState),(s=io||Ao(e,n,s,r,f,c,l))?(g||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(e.flags|=4)):("function"===typeof a.componentDidMount&&(e.flags|=4),e.memoizedProps=r,e.memoizedState=c),a.props=r,a.state=c,a.context=l,r=s):("function"===typeof a.componentDidMount&&(e.flags|=4),r=!1)}else{a=e.stateNode,ao(t,e),s=e.memoizedProps,l=e.type===e.elementType?s:Zi(e.type,s),a.props=l,g=e.pendingProps,f=a.context,"object"===typeof(c=n.contextType)&&null!==c?c=ro(c):c=di(e,c=hi(n)?fi:ui.current);var d=n.getDerivedStateFromProps;(u="function"===typeof d||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==g||f!==c)&&vo(e,a,r,c),io=!1,f=e.memoizedState,a.state=f,uo(e,r,a,i);var h=e.memoizedState;s!==g||f!==h||gi.current||io?("function"===typeof d&&(ho(e,n,d,r),h=e.memoizedState),(l=io||Ao(e,n,l,r,f,h,c))?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,c)),"function"===typeof a.componentDidUpdate&&(e.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(e.flags|=256)):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=256),e.memoizedProps=r,e.memoizedState=h),a.props=r,a.state=h,a.context=c,r=l):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=256),r=!1)}return Wa(t,e,n,r,o,i)}function Wa(t,e,n,r,i,o){za(t,e);var a=0!==(64&e.flags);if(!r&&!a)return i&&Ii(e,n,!1),ns(t,e,o);r=e.stateNode,Ta.current=e;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return e.flags|=1,null!==t&&a?(e.child=wo(e,t.child,null,o),e.child=wo(e,null,s,o)):Da(t,e,s,o),e.memoizedState=r.state,i&&Ii(e,n,!0),e.child}function Ya(t){var e=t.stateNode;e.pendingContext?Ai(0,e.pendingContext,e.pendingContext!==e.context):e.context&&Ai(0,e.context,!1),Po(t,e.containerInfo)}var Ha,Ua,Xa,Za={dehydrated:null,retryLane:0};function qa(t,e,n){var r,i=e.pendingProps,o=Do.current,a=!1;return(r=0!==(64&e.flags))||(r=(null===t||null!==t.memoizedState)&&0!==(2&o)),r?(a=!0,e.flags&=-65):null!==t&&null===t.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),ci(Do,1&o),null===t?(void 0!==i.fallback&&Go(e),t=i.children,o=i.fallback,a?(t=Ka(e,t,o,n),e.child.memoizedState={baseLanes:n},e.memoizedState=Za,t):"number"===typeof i.unstable_expectedLoadTime?(t=Ka(e,t,o,n),e.child.memoizedState={baseLanes:n},e.memoizedState=Za,e.lanes=33554432,t):((n=Uc({mode:"visible",children:t},e.mode,n,null)).return=e,e.child=n)):(t.memoizedState,a?(i=Ja(t,e,i.children,i.fallback,n),a=e.child,o=t.child.memoizedState,a.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=t.childLanes&~n,e.memoizedState=Za,i):(n=Qa(t,e,i.children,n),e.memoizedState=null,n))}function Ka(t,e,n,r){var i=t.mode,o=t.child;return e={mode:"hidden",children:e},0===(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=e):o=Uc(e,i,0,null),n=Hc(n,i,r,null),o.return=t,n.return=t,o.sibling=n,t.child=o,n}function Qa(t,e,n,r){var i=t.child;return t=i.sibling,n=Wc(i,{mode:"visible",children:n}),0===(2&e.mode)&&(n.lanes=r),n.return=e,n.sibling=null,null!==t&&(t.nextEffect=null,t.flags=8,e.firstEffect=e.lastEffect=t),e.child=n}function Ja(t,e,n,r,i){var o=e.mode,a=t.child;t=a.sibling;var s={mode:"hidden",children:n};return 0===(2&o)&&e.child!==a?((n=e.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(e.firstEffect=n.firstEffect,e.lastEffect=a,a.nextEffect=null):e.firstEffect=e.lastEffect=null):n=Wc(a,s),null!==t?r=Wc(t,r):(r=Hc(r,o,i,null)).flags|=2,r.return=e,n.return=e,n.sibling=r,e.child=n,r}function $a(t,e){t.lanes|=e;var n=t.alternate;null!==n&&(n.lanes|=e),eo(t.return,e)}function ts(t,e,n,r,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function es(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(Da(t,e,r.children,n),0!==(2&(r=Do.current)))r=1&r|2,e.flags|=64;else{if(null!==t&&0!==(64&t.flags))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&$a(t,n);else if(19===t.tag)$a(t,n);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(ci(Do,r),0===(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;null!==n;)null!==(t=n.alternate)&&null===No(t)&&(i=n),n=n.sibling;null===(n=i)?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),ts(e,!1,i,n,o,e.lastEffect);break;case"backwards":for(n=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===No(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}ts(e,!0,n,null,o,e.lastEffect);break;case"together":ts(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function ns(t,e,n){if(null!==t&&(e.dependencies=t.dependencies),Fs|=e.lanes,0!==(n&e.childLanes)){if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(n=Wc(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Wc(t,t.pendingProps)).return=e;n.sibling=null}return e.child}return null}function rs(t,e){if(!Bo)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function is(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return hi(e.type)&&pi(),null;case 3:return Mo(),si(gi),si(ui),Xo(),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==t&&null!==t.child||(Yo(e)?e.flags|=4:r.hydrate||(e.flags|=256)),null;case 5:Ro(e);var o=Eo(jo.current);if(n=e.type,null!==t&&null!=e.stateNode)Ua(t,e,n,r),t.ref!==e.ref&&(e.flags|=128);else{if(!r){if(null===e.stateNode)throw Error(a(166));return null}if(t=Eo(_o.current),Yo(e)){r=e.stateNode,n=e.type;var s=e.memoizedProps;switch(r[qr]=e,r[Kr]=s,n){case"dialog":_r("cancel",r),_r("close",r);break;case"iframe":case"object":case"embed":_r("load",r);break;case"video":case"audio":for(t=0;t<xr.length;t++)_r(xr[t],r);break;case"source":_r("error",r);break;case"img":case"image":case"link":_r("error",r),_r("load",r);break;case"details":_r("toggle",r);break;case"input":tt(r,s),_r("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},_r("invalid",r);break;case"textarea":ct(r,s),_r("invalid",r)}for(var l in wt(n,s),t=null,s)s.hasOwnProperty(l)&&(o=s[l],"children"===l?"string"===typeof o?r.textContent!==o&&(t=["children",o]):"number"===typeof o&&r.textContent!==""+o&&(t=["children",""+o]):c.hasOwnProperty(l)&&null!=o&&"onScroll"===l&&_r("scroll",r));switch(n){case"input":K(r),rt(r,s,!0);break;case"textarea":K(r),ut(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=Lr)}r=t,e.updateQueue=r,null!==r&&(e.flags|=4)}else{switch(l=9===o.nodeType?o:o.ownerDocument,t===gt&&(t=dt(n)),t===gt?"script"===n?((t=l.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"===typeof r.is?t=l.createElement(n,{is:r.is}):(t=l.createElement(n),"select"===n&&(l=t,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):t=l.createElementNS(t,n),t[qr]=e,t[Kr]=r,Ha(t,e),e.stateNode=t,l=Ot(n,r),n){case"dialog":_r("cancel",t),_r("close",t),o=r;break;case"iframe":case"object":case"embed":_r("load",t),o=r;break;case"video":case"audio":for(o=0;o<xr.length;o++)_r(xr[o],t);o=r;break;case"source":_r("error",t),o=r;break;case"img":case"image":case"link":_r("error",t),_r("load",t),o=r;break;case"details":_r("toggle",t),o=r;break;case"input":tt(t,r),o=$(t,r),_r("invalid",t);break;case"option":o=ot(t,r);break;case"select":t._wrapperState={wasMultiple:!!r.multiple},o=i({},r,{value:void 0}),_r("invalid",t);break;case"textarea":ct(t,r),o=st(t,r),_r("invalid",t);break;default:o=r}wt(n,o);var u=o;for(s in u)if(u.hasOwnProperty(s)){var g=u[s];"style"===s?bt(t,g):"dangerouslySetInnerHTML"===s?null!=(g=g?g.__html:void 0)&&Ct(t,g):"children"===s?"string"===typeof g?("textarea"!==n||""!==g)&&vt(t,g):"number"===typeof g&&vt(t,""+g):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(c.hasOwnProperty(s)?null!=g&&"onScroll"===s&&_r("scroll",t):null!=g&&y(t,s,g,l))}switch(n){case"input":K(t),rt(t,r,!1);break;case"textarea":K(t),ut(t);break;case"option":null!=r.value&&t.setAttribute("value",""+Z(r.value));break;case"select":t.multiple=!!r.multiple,null!=(s=r.value)?at(t,!!r.multiple,s,!1):null!=r.defaultValue&&at(t,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(t.onclick=Lr)}zr(n,r)&&(e.flags|=4)}null!==e.ref&&(e.flags|=128)}return null;case 6:if(t&&null!=e.stateNode)Xa(0,e,t.memoizedProps,r);else{if("string"!==typeof r&&null===e.stateNode)throw Error(a(166));n=Eo(jo.current),Eo(_o.current),Yo(e)?(r=e.stateNode,n=e.memoizedProps,r[qr]=e,r.nodeValue!==n&&(e.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[qr]=e,e.stateNode=r)}return null;case 13:return si(Do),r=e.memoizedState,0!==(64&e.flags)?(e.lanes=n,e):(r=null!==r,n=!1,null===t?void 0!==e.memoizedProps.fallback&&Yo(e):n=null!==t.memoizedState,r&&!n&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&Do.current)?0===Ds&&(Ds=3):(0!==Ds&&3!==Ds||(Ds=4),null===Es||0===(134217727&Fs)&&0===(134217727&Bs)||pc(Es,Ms))),(r||n)&&(e.flags|=4),null);case 4:return Mo(),null===t&&jr(e.stateNode.containerInfo),null;case 10:return to(e),null;case 17:return hi(e.type)&&pi(),null;case 19:if(si(Do),null===(r=e.memoizedState))return null;if(s=0!==(64&e.flags),null===(l=r.rendering))if(s)rs(r,!1);else{if(0!==Ds||null!==t&&0!==(64&t.flags))for(t=e.child;null!==t;){if(null!==(l=No(t))){for(e.flags|=64,rs(r,!1),null!==(s=l.updateQueue)&&(e.updateQueue=s,e.flags|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,r=n,n=e.child;null!==n;)t=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(l=s.alternate)?(s.childLanes=0,s.lanes=t,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,t=l.dependencies,s.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return ci(Do,1&Do.current|2),e.child}t=t.sibling}null!==r.tail&&zi()>Ws&&(e.flags|=64,s=!0,rs(r,!1),e.lanes=33554432)}else{if(!s)if(null!==(t=No(l))){if(e.flags|=64,s=!0,null!==(n=t.updateQueue)&&(e.updateQueue=n,e.flags|=4),rs(r,!0),null===r.tail&&"hidden"===r.tailMode&&!l.alternate&&!Bo)return null!==(e=e.lastEffect=r.lastEffect)&&(e.nextEffect=null),null}else 2*zi()-r.renderingStartTime>Ws&&1073741824!==n&&(e.flags|=64,s=!0,rs(r,!1),e.lanes=33554432);r.isBackwards?(l.sibling=e.child,e.child=l):(null!==(n=r.last)?n.sibling=l:e.child=l,r.last=l)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=e.lastEffect,r.renderingStartTime=zi(),n.sibling=null,e=Do.current,ci(Do,s?1&e|2:1&e),n):null;case 23:case 24:return yc(),null!==t&&null!==t.memoizedState!==(null!==e.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(e.flags|=4),null}throw Error(a(156,e.tag))}function os(t){switch(t.tag){case 1:hi(t.type)&&pi();var e=t.flags;return 4096&e?(t.flags=-4097&e|64,t):null;case 3:if(Mo(),si(gi),si(ui),Xo(),0!==(64&(e=t.flags)))throw Error(a(285));return t.flags=-4097&e|64,t;case 5:return Ro(t),null;case 13:return si(Do),4096&(e=t.flags)?(t.flags=-4097&e|64,t):null;case 19:return si(Do),null;case 4:return Mo(),null;case 10:return to(t),null;case 23:case 24:return yc(),null;default:return null}}function as(t,e){try{var n="",r=e;do{n+=U(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:t,source:e,stack:i}}function ss(t,e){try{console.error(e.value)}catch(n){setTimeout((function(){throw n}))}}Ha=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ua=function(t,e,n,r){var o=t.memoizedProps;if(o!==r){t=e.stateNode,Eo(_o.current);var a,s=null;switch(n){case"input":o=$(t,o),r=$(t,r),s=[];break;case"option":o=ot(t,o),r=ot(t,r),s=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),s=[];break;case"textarea":o=st(t,o),r=st(t,r),s=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(t.onclick=Lr)}for(g in wt(n,r),n=null,o)if(!r.hasOwnProperty(g)&&o.hasOwnProperty(g)&&null!=o[g])if("style"===g){var l=o[g];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==g&&"children"!==g&&"suppressContentEditableWarning"!==g&&"suppressHydrationWarning"!==g&&"autoFocus"!==g&&(c.hasOwnProperty(g)?s||(s=[]):(s=s||[]).push(g,null));for(g in r){var u=r[g];if(l=null!=o?o[g]:void 0,r.hasOwnProperty(g)&&u!==l&&(null!=u||null!=l))if("style"===g)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(g,n)),n=u;else"dangerouslySetInnerHTML"===g?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(s=s||[]).push(g,u)):"children"===g?"string"!==typeof u&&"number"!==typeof u||(s=s||[]).push(g,""+u):"suppressContentEditableWarning"!==g&&"suppressHydrationWarning"!==g&&(c.hasOwnProperty(g)?(null!=u&&"onScroll"===g&&_r("scroll",t),s||l===u||(s=[])):"object"===typeof u&&null!==u&&u.$$typeof===D?u.toString():(s=s||[]).push(g,u))}n&&(s=s||[]).push("style",n);var g=s;(e.updateQueue=g)&&(e.flags|=4)}},Xa=function(t,e,n,r){n!==r&&(e.flags|=4)};var cs="function"===typeof WeakMap?WeakMap:Map;function ls(t,e,n){(n=so(-1,n)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Xs||(Xs=!0,Zs=r),ss(0,e)},n}function us(t,e,n){(n=so(-1,n)).tag=3;var r=t.type.getDerivedStateFromError;if("function"===typeof r){var i=e.value;n.payload=function(){return ss(0,e),r(i)}}var o=t.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===qs?qs=new Set([this]):qs.add(this),ss(0,e));var t=e.stack;this.componentDidCatch(e.value,{componentStack:null!==t?t:""})}),n}var gs="function"===typeof WeakSet?WeakSet:Set;function fs(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(n){Lc(t,n)}else e.current=null}function ds(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&e.flags&&null!==t){var n=t.memoizedProps,r=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?n:Zi(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:return void(256&e.flags&&Yr(e.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(a(163))}function hs(t,e,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(e=null!==(e=n.updateQueue)?e.lastEffect:null)){t=e=e.next;do{if(3===(3&t.tag)){var r=t.create;t.destroy=r()}t=t.next}while(t!==e)}if(null!==(e=null!==(e=n.updateQueue)?e.lastEffect:null)){t=e=e.next;do{var i=t;r=i.next,0!==(4&(i=i.tag))&&0!==(1&i)&&(Rc(n,t),Tc(n,t)),t=r}while(t!==e)}return;case 1:return t=n.stateNode,4&n.flags&&(null===e?t.componentDidMount():(r=n.elementType===n.type?e.memoizedProps:Zi(n.type,e.memoizedProps),t.componentDidUpdate(r,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate))),void(null!==(e=n.updateQueue)&&go(n,e,t));case 3:if(null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}go(n,e,t)}return;case 5:return t=n.stateNode,void(null===e&&4&n.flags&&zr(n.type,n.memoizedProps)&&t.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&be(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(a(163))}function ps(t,e){for(var n=t;;){if(5===n.tag){var r=n.stateNode;if(e)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,r.style.display=mt("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=e?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===t)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function As(t,e){if(mi&&"function"===typeof mi.onCommitFiberUnmount)try{mi.onCommitFiberUnmount(yi,e)}catch(o){}switch(e.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var n=t=t.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!==(4&r))Rc(e,n);else{r=e;try{i()}catch(o){Lc(r,o)}}n=n.next}while(n!==t)}break;case 1:if(fs(e),"function"===typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(o){Lc(e,o)}break;case 5:fs(e);break;case 4:bs(t,e)}}function Cs(t){t.alternate=null,t.child=null,t.dependencies=null,t.firstEffect=null,t.lastEffect=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.return=null,t.updateQueue=null}function vs(t){return 5===t.tag||3===t.tag||4===t.tag}function Is(t){t:{for(var e=t.return;null!==e;){if(vs(e))break t;e=e.return}throw Error(a(160))}var n=e;switch(e=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:e=e.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(vt(e,""),n.flags&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||vs(n.return)){n=null;break t}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue e;if(null===n.child||4===n.tag)continue e;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break t}}r?ys(t,n,e):ms(t,n,e)}function ys(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?8===n.nodeType?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(8===n.nodeType?(e=n.parentNode).insertBefore(t,n):(e=n).appendChild(t),null!==(n=n._reactRootContainer)&&void 0!==n||null!==e.onclick||(e.onclick=Lr));else if(4!==r&&null!==(t=t.child))for(ys(t,e,n),t=t.sibling;null!==t;)ys(t,e,n),t=t.sibling}function ms(t,e,n){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&null!==(t=t.child))for(ms(t,e,n),t=t.sibling;null!==t;)ms(t,e,n),t=t.sibling}function bs(t,e){for(var n,r,i=e,o=!1;;){if(!o){o=i.return;t:for(;;){if(null===o)throw Error(a(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break t;case 3:case 4:n=n.containerInfo,r=!0;break t}o=o.return}o=!0}if(5===i.tag||6===i.tag){t:for(var s=t,c=i,l=c;;)if(As(s,l),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===c)break t;for(;null===l.sibling;){if(null===l.return||l.return===c)break t;l=l.return}l.sibling.return=l.return,l=l.sibling}r?(s=n,c=i.stateNode,8===s.nodeType?s.parentNode.removeChild(c):s.removeChild(c)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(As(t,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function xs(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:var n=e.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(t=r.destroy,r.destroy=void 0,void 0!==t&&t()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=e.stateNode)){r=e.memoizedProps;var i=null!==t?t.memoizedProps:r;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,null!==o){for(n[Kr]=r,"input"===t&&"radio"===r.type&&null!=r.name&&et(n,r),Ot(t,i),e=Ot(t,r),i=0;i<o.length;i+=2){var s=o[i],c=o[i+1];"style"===s?bt(n,c):"dangerouslySetInnerHTML"===s?Ct(n,c):"children"===s?vt(n,c):y(n,s,c,e)}switch(t){case"input":nt(n,r);break;case"textarea":lt(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?at(n,!!r.multiple,o,!1):t!==!!r.multiple&&(null!=r.defaultValue?at(n,!!r.multiple,r.defaultValue,!0):at(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===e.stateNode)throw Error(a(162));return void(e.stateNode.nodeValue=e.memoizedProps);case 3:return void((n=e.stateNode).hydrate&&(n.hydrate=!1,be(n.containerInfo)));case 12:return;case 13:return null!==e.memoizedState&&(Gs=zi(),ps(e.child,!0)),void ws(e);case 19:return void ws(e);case 17:return;case 23:case 24:return void ps(e,null!==e.memoizedState)}throw Error(a(163))}function ws(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new gs),e.forEach((function(e){var r=Bc.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}}function Os(t,e){return null!==t&&(null===(t=t.memoizedState)||null!==t.dehydrated)&&(null!==(e=e.memoizedState)&&null===e.dehydrated)}var Ss=Math.ceil,_s=m.ReactCurrentDispatcher,ks=m.ReactCurrentOwner,js=0,Es=null,Ps=null,Ms=0,Ts=0,Rs=ai(0),Ds=0,Ns=null,Ls=0,Fs=0,Bs=0,zs=0,Vs=null,Gs=0,Ws=1/0;function Ys(){Ws=zi()+500}var Hs,Us=null,Xs=!1,Zs=null,qs=null,Ks=!1,Qs=null,Js=90,$s=[],tc=[],ec=null,nc=0,rc=null,ic=-1,oc=0,ac=0,sc=null,cc=!1;function lc(){return 0!==(48&js)?zi():-1!==ic?ic:ic=zi()}function uc(t){if(0===(2&(t=t.mode)))return 1;if(0===(4&t))return 99===Vi()?1:2;if(0===oc&&(oc=Ls),0!==Xi.transition){0!==ac&&(ac=null!==Vs?Vs.pendingLanes:0),t=oc;var e=4186112&~ac;return 0===(e&=-e)&&(0===(e=(t=4186112&~t)&-t)&&(e=8192)),e}return t=Vi(),0!==(4&js)&&98===t?t=ze(12,oc):t=ze(t=function(t){switch(t){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(t),oc),t}function gc(t,e,n){if(50<nc)throw nc=0,rc=null,Error(a(185));if(null===(t=fc(t,e)))return null;We(t,e,n),t===Es&&(Bs|=e,4===Ds&&pc(t,Ms));var r=Vi();1===e?0!==(8&js)&&0===(48&js)?Ac(t):(dc(t,n),0===js&&(Ys(),Hi())):(0===(4&js)||98!==r&&99!==r||(null===ec?ec=new Set([t]):ec.add(t)),dc(t,n)),Vs=t}function fc(t,e){t.lanes|=e;var n=t.alternate;for(null!==n&&(n.lanes|=e),n=t,t=t.return;null!==t;)t.childLanes|=e,null!==(n=t.alternate)&&(n.childLanes|=e),n=t,t=t.return;return 3===n.tag?n.stateNode:null}function dc(t,e){for(var n=t.callbackNode,r=t.suspendedLanes,i=t.pingedLanes,o=t.expirationTimes,s=t.pendingLanes;0<s;){var c=31-Ye(s),l=1<<c,u=o[c];if(-1===u){if(0===(l&r)||0!==(l&i)){u=e,Le(l);var g=Ne;o[c]=10<=g?u+250:6<=g?u+5e3:-1}}else u<=e&&(t.expiredLanes|=l);s&=~l}if(r=Fe(t,t===Es?Ms:0),e=Ne,0===r)null!==n&&(n!==Ri&&wi(n),t.callbackNode=null,t.callbackPriority=0);else{if(null!==n){if(t.callbackPriority===e)return;n!==Ri&&wi(n)}15===e?(n=Ac.bind(null,t),null===Ni?(Ni=[n],Li=xi(ji,Ui)):Ni.push(n),n=Ri):14===e?n=Yi(99,Ac.bind(null,t)):n=Yi(n=function(t){switch(t){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,t))}}(e),hc.bind(null,t)),t.callbackPriority=e,t.callbackNode=n}}function hc(t){if(ic=-1,ac=oc=0,0!==(48&js))throw Error(a(327));var e=t.callbackNode;if(Mc()&&t.callbackNode!==e)return null;var n=Fe(t,t===Es?Ms:0);if(0===n)return null;var r=n,i=js;js|=16;var o=xc();for(Es===t&&Ms===r||(Ys(),mc(t,r));;)try{Sc();break}catch(c){bc(t,c)}if($i(),_s.current=o,js=i,null!==Ps?r=0:(Es=null,Ms=0,r=Ds),0!==(Ls&Bs))mc(t,0);else if(0!==r){if(2===r&&(js|=64,t.hydrate&&(t.hydrate=!1,Yr(t.containerInfo)),0!==(n=Be(t))&&(r=wc(t,n))),1===r)throw e=Ns,mc(t,0),pc(t,n),dc(t,zi()),e;switch(t.finishedWork=t.current.alternate,t.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:jc(t);break;case 3:if(pc(t,n),(62914560&n)===n&&10<(r=Gs+500-zi())){if(0!==Fe(t,0))break;if(((i=t.suspendedLanes)&n)!==n){lc(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=Gr(jc.bind(null,t),r);break}jc(t);break;case 4:if(pc(t,n),(4186112&n)===n)break;for(r=t.eventTimes,i=-1;0<n;){var s=31-Ye(n);o=1<<s,(s=r[s])>i&&(i=s),n&=~o}if(n=i,10<(n=(120>(n=zi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ss(n/1960))-n)){t.timeoutHandle=Gr(jc.bind(null,t),n);break}jc(t);break;case 5:jc(t);break;default:throw Error(a(329))}}return dc(t,zi()),t.callbackNode===e?hc.bind(null,t):null}function pc(t,e){for(e&=~zs,e&=~Bs,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-Ye(e),r=1<<n;t[n]=-1,e&=~r}}function Ac(t){if(0!==(48&js))throw Error(a(327));if(Mc(),t===Es&&0!==(t.expiredLanes&Ms)){var e=Ms,n=wc(t,e);0!==(Ls&Bs)&&(n=wc(t,e=Fe(t,e)))}else n=wc(t,e=Fe(t,0));if(0!==t.tag&&2===n&&(js|=64,t.hydrate&&(t.hydrate=!1,Yr(t.containerInfo)),0!==(e=Be(t))&&(n=wc(t,e))),1===n)throw n=Ns,mc(t,0),pc(t,e),dc(t,zi()),n;return t.finishedWork=t.current.alternate,t.finishedLanes=e,jc(t),dc(t,zi()),null}function Cc(t,e){var n=js;js|=1;try{return t(e)}finally{0===(js=n)&&(Ys(),Hi())}}function vc(t,e){var n=js;js&=-2,js|=8;try{return t(e)}finally{0===(js=n)&&(Ys(),Hi())}}function Ic(t,e){ci(Rs,Ts),Ts|=e,Ls|=e}function yc(){Ts=Rs.current,si(Rs)}function mc(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,Wr(n)),null!==Ps)for(n=Ps.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&pi();break;case 3:Mo(),si(gi),si(ui),Xo();break;case 5:Ro(r);break;case 4:Mo();break;case 13:case 19:si(Do);break;case 10:to(r);break;case 23:case 24:yc()}n=n.return}Es=t,Ps=Wc(t.current,null),Ms=Ts=Ls=e,Ds=0,Ns=null,zs=Bs=Fs=0}function bc(t,e){for(;;){var n=Ps;try{if($i(),Zo.current=ja,ta){for(var r=Qo.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ta=!1}if(Ko=0,$o=Jo=Qo=null,ea=!1,ks.current=null,null===n||null===n.return){Ds=1,Ns=e,Ps=null;break}t:{var o=t,a=n.return,s=n,c=e;if(e=Ms,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==c&&"object"===typeof c&&"function"===typeof c.then){var l=c;if(0===(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var g=0!==(1&Do.current),f=a;do{var d;if(d=13===f.tag){var h=f.memoizedState;if(null!==h)d=null!==h.dehydrated;else{var p=f.memoizedProps;d=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!g)}}if(d){var A=f.updateQueue;if(null===A){var C=new Set;C.add(l),f.updateQueue=C}else A.add(l);if(0===(2&f.mode)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var v=so(-1,1);v.tag=2,co(s,v)}s.lanes|=1;break t}c=void 0,s=e;var I=o.pingCache;if(null===I?(I=o.pingCache=new cs,c=new Set,I.set(l,c)):void 0===(c=I.get(l))&&(c=new Set,I.set(l,c)),!c.has(s)){c.add(s);var y=Fc.bind(null,o,l,s);l.then(y,y)}f.flags|=4096,f.lanes=e;break t}f=f.return}while(null!==f);c=Error((X(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ds&&(Ds=2),c=as(c,s),f=a;do{switch(f.tag){case 3:o=c,f.flags|=4096,e&=-e,f.lanes|=e,lo(f,ls(0,o,e));break t;case 1:o=c;var m=f.type,b=f.stateNode;if(0===(64&f.flags)&&("function"===typeof m.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===qs||!qs.has(b)))){f.flags|=4096,e&=-e,f.lanes|=e,lo(f,us(f,o,e));break t}}f=f.return}while(null!==f)}kc(n)}catch(x){e=x,Ps===n&&null!==n&&(Ps=n=n.return);continue}break}}function xc(){var t=_s.current;return _s.current=ja,null===t?ja:t}function wc(t,e){var n=js;js|=16;var r=xc();for(Es===t&&Ms===e||mc(t,e);;)try{Oc();break}catch(i){bc(t,i)}if($i(),js=n,_s.current=r,null!==Ps)throw Error(a(261));return Es=null,Ms=0,Ds}function Oc(){for(;null!==Ps;)_c(Ps)}function Sc(){for(;null!==Ps&&!Oi();)_c(Ps)}function _c(t){var e=Hs(t.alternate,t,Ts);t.memoizedProps=t.pendingProps,null===e?kc(t):Ps=e,ks.current=null}function kc(t){var e=t;do{var n=e.alternate;if(t=e.return,0===(2048&e.flags)){if(null!==(n=is(n,e,Ts)))return void(Ps=n);if(24!==(n=e).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Ts)||0===(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==t&&0===(2048&t.flags)&&(null===t.firstEffect&&(t.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=e.firstEffect),t.lastEffect=e.lastEffect),1<e.flags&&(null!==t.lastEffect?t.lastEffect.nextEffect=e:t.firstEffect=e,t.lastEffect=e))}else{if(null!==(n=os(e)))return n.flags&=2047,void(Ps=n);null!==t&&(t.firstEffect=t.lastEffect=null,t.flags|=2048)}if(null!==(e=e.sibling))return void(Ps=e);Ps=e=t}while(null!==e);0===Ds&&(Ds=5)}function jc(t){var e=Vi();return Wi(99,Ec.bind(null,t,e)),null}function Ec(t,e){do{Mc()}while(null!==Qs);if(0!==(48&js))throw Error(a(327));var n=t.finishedWork;if(null===n)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(a(177));t.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=t.pendingLanes&~i;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=i,t.mutableReadLanes&=i,t.entangledLanes&=i,i=t.entanglements;for(var s=t.eventTimes,c=t.expirationTimes;0<o;){var l=31-Ye(o),u=1<<l;i[l]=0,s[l]=-1,c[l]=-1,o&=~u}if(null!==ec&&0===(24&r)&&ec.has(t)&&ec.delete(t),t===Es&&(Ps=Es=null,Ms=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=js,js|=32,ks.current=null,Fr=qe,hr(s=dr())){if("selectionStart"in s)c={start:s.selectionStart,end:s.selectionEnd};else t:if(c=(c=s.ownerDocument)&&c.defaultView||window,(u=c.getSelection&&c.getSelection())&&0!==u.rangeCount){c=u.anchorNode,o=u.anchorOffset,l=u.focusNode,u=u.focusOffset;try{c.nodeType,l.nodeType}catch(S){c=null;break t}var g=0,f=-1,d=-1,h=0,p=0,A=s,C=null;e:for(;;){for(var v;A!==c||0!==o&&3!==A.nodeType||(f=g+o),A!==l||0!==u&&3!==A.nodeType||(d=g+u),3===A.nodeType&&(g+=A.nodeValue.length),null!==(v=A.firstChild);)C=A,A=v;for(;;){if(A===s)break e;if(C===c&&++h===o&&(f=g),C===l&&++p===u&&(d=g),null!==(v=A.nextSibling))break;C=(A=C).parentNode}A=v}c=-1===f||-1===d?null:{start:f,end:d}}else c=null;c=c||{start:0,end:0}}else c=null;Br={focusedElem:s,selectionRange:c},qe=!1,sc=null,cc=!1,Us=r;do{try{Pc()}catch(S){if(null===Us)throw Error(a(330));Lc(Us,S),Us=Us.nextEffect}}while(null!==Us);sc=null,Us=r;do{try{for(s=t;null!==Us;){var I=Us.flags;if(16&I&&vt(Us.stateNode,""),128&I){var y=Us.alternate;if(null!==y){var m=y.ref;null!==m&&("function"===typeof m?m(null):m.current=null)}}switch(1038&I){case 2:Is(Us),Us.flags&=-3;break;case 6:Is(Us),Us.flags&=-3,xs(Us.alternate,Us);break;case 1024:Us.flags&=-1025;break;case 1028:Us.flags&=-1025,xs(Us.alternate,Us);break;case 4:xs(Us.alternate,Us);break;case 8:bs(s,c=Us);var b=c.alternate;Cs(c),null!==b&&Cs(b)}Us=Us.nextEffect}}catch(S){if(null===Us)throw Error(a(330));Lc(Us,S),Us=Us.nextEffect}}while(null!==Us);if(m=Br,y=dr(),I=m.focusedElem,s=m.selectionRange,y!==I&&I&&I.ownerDocument&&fr(I.ownerDocument.documentElement,I)){null!==s&&hr(I)&&(y=s.start,void 0===(m=s.end)&&(m=y),"selectionStart"in I?(I.selectionStart=y,I.selectionEnd=Math.min(m,I.value.length)):(m=(y=I.ownerDocument||document)&&y.defaultView||window).getSelection&&(m=m.getSelection(),c=I.textContent.length,b=Math.min(s.start,c),s=void 0===s.end?b:Math.min(s.end,c),!m.extend&&b>s&&(c=s,s=b,b=c),c=gr(I,b),o=gr(I,s),c&&o&&(1!==m.rangeCount||m.anchorNode!==c.node||m.anchorOffset!==c.offset||m.focusNode!==o.node||m.focusOffset!==o.offset)&&((y=y.createRange()).setStart(c.node,c.offset),m.removeAllRanges(),b>s?(m.addRange(y),m.extend(o.node,o.offset)):(y.setEnd(o.node,o.offset),m.addRange(y))))),y=[];for(m=I;m=m.parentNode;)1===m.nodeType&&y.push({element:m,left:m.scrollLeft,top:m.scrollTop});for("function"===typeof I.focus&&I.focus(),I=0;I<y.length;I++)(m=y[I]).element.scrollLeft=m.left,m.element.scrollTop=m.top}qe=!!Fr,Br=Fr=null,t.current=n,Us=r;do{try{for(I=t;null!==Us;){var x=Us.flags;if(36&x&&hs(I,Us.alternate,Us),128&x){y=void 0;var w=Us.ref;if(null!==w){var O=Us.stateNode;switch(Us.tag){case 5:y=O;break;default:y=O}"function"===typeof w?w(y):w.current=y}}Us=Us.nextEffect}}catch(S){if(null===Us)throw Error(a(330));Lc(Us,S),Us=Us.nextEffect}}while(null!==Us);Us=null,Di(),js=i}else t.current=n;if(Ks)Ks=!1,Qs=t,Js=e;else for(Us=r;null!==Us;)e=Us.nextEffect,Us.nextEffect=null,8&Us.flags&&((x=Us).sibling=null,x.stateNode=null),Us=e;if(0===(r=t.pendingLanes)&&(qs=null),1===r?t===rc?nc++:(nc=0,rc=t):nc=0,n=n.stateNode,mi&&"function"===typeof mi.onCommitFiberRoot)try{mi.onCommitFiberRoot(yi,n,void 0,64===(64&n.current.flags))}catch(S){}if(dc(t,zi()),Xs)throw Xs=!1,t=Zs,Zs=null,t;return 0!==(8&js)||Hi(),null}function Pc(){for(;null!==Us;){var t=Us.alternate;cc||null===sc||(0!==(8&Us.flags)?te(Us,sc)&&(cc=!0):13===Us.tag&&Os(t,Us)&&te(Us,sc)&&(cc=!0));var e=Us.flags;0!==(256&e)&&ds(t,Us),0===(512&e)||Ks||(Ks=!0,Yi(97,(function(){return Mc(),null}))),Us=Us.nextEffect}}function Mc(){if(90!==Js){var t=97<Js?97:Js;return Js=90,Wi(t,Dc)}return!1}function Tc(t,e){$s.push(e,t),Ks||(Ks=!0,Yi(97,(function(){return Mc(),null})))}function Rc(t,e){tc.push(e,t),Ks||(Ks=!0,Yi(97,(function(){return Mc(),null})))}function Dc(){if(null===Qs)return!1;var t=Qs;if(Qs=null,0!==(48&js))throw Error(a(331));var e=js;js|=32;var n=tc;tc=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],s=i.destroy;if(i.destroy=void 0,"function"===typeof s)try{s()}catch(l){if(null===o)throw Error(a(330));Lc(o,l)}}for(n=$s,$s=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var c=i.create;i.destroy=c()}catch(l){if(null===o)throw Error(a(330));Lc(o,l)}}for(c=t.current.firstEffect;null!==c;)t=c.nextEffect,c.nextEffect=null,8&c.flags&&(c.sibling=null,c.stateNode=null),c=t;return js=e,Hi(),!0}function Nc(t,e,n){co(t,e=ls(0,e=as(n,e),1)),e=lc(),null!==(t=fc(t,1))&&(We(t,1,e),dc(t,e))}function Lc(t,e){if(3===t.tag)Nc(t,t,e);else for(var n=t.return;null!==n;){if(3===n.tag){Nc(n,t,e);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===qs||!qs.has(r))){var i=us(n,t=as(e,t),1);if(co(n,i),i=lc(),null!==(n=fc(n,1)))We(n,1,i),dc(n,i);else if("function"===typeof r.componentDidCatch&&(null===qs||!qs.has(r)))try{r.componentDidCatch(e,t)}catch(o){}break}}n=n.return}}function Fc(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),e=lc(),t.pingedLanes|=t.suspendedLanes&n,Es===t&&(Ms&n)===n&&(4===Ds||3===Ds&&(62914560&Ms)===Ms&&500>zi()-Gs?mc(t,0):zs|=n),dc(t,e)}function Bc(t,e){var n=t.stateNode;null!==n&&n.delete(e),0===(e=0)&&(0===(2&(e=t.mode))?e=1:0===(4&e)?e=99===Vi()?1:2:(0===oc&&(oc=Ls),0===(e=Ve(62914560&~oc))&&(e=4194304))),n=lc(),null!==(t=fc(t,e))&&(We(t,e,n),dc(t,n))}function zc(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Vc(t,e,n,r){return new zc(t,e,n,r)}function Gc(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Wc(t,e){var n=t.alternate;return null===n?((n=Vc(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Yc(t,e,n,r,i,o){var s=2;if(r=t,"function"===typeof t)Gc(t)&&(s=1);else if("string"===typeof t)s=5;else t:switch(t){case w:return Hc(n.children,i,o,e);case N:s=8,i|=16;break;case O:s=8,i|=1;break;case S:return(t=Vc(12,n,e,8|i)).elementType=S,t.type=S,t.lanes=o,t;case E:return(t=Vc(13,n,e,i)).type=E,t.elementType=E,t.lanes=o,t;case P:return(t=Vc(19,n,e,i)).elementType=P,t.lanes=o,t;case L:return Uc(n,i,o,e);case F:return(t=Vc(24,n,e,i)).elementType=F,t.lanes=o,t;default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case _:s=10;break t;case k:s=9;break t;case j:s=11;break t;case M:s=14;break t;case T:s=16,r=null;break t;case R:s=22;break t}throw Error(a(130,null==t?t:typeof t,""))}return(e=Vc(s,n,e,i)).elementType=t,e.type=r,e.lanes=o,e}function Hc(t,e,n,r){return(t=Vc(7,t,r,e)).lanes=n,t}function Uc(t,e,n,r){return(t=Vc(23,t,r,e)).elementType=L,t.lanes=n,t}function Xc(t,e,n){return(t=Vc(6,t,null,e)).lanes=n,t}function Zc(t,e,n){return(e=Vc(4,null!==t.children?t.children:[],t.key,e)).lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function qc(t,e,n){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ge(0),this.expirationTimes=Ge(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ge(0),this.mutableSourceEagerHydrationData=null}function Kc(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}function Qc(t,e,n,r){var i=e.current,o=lc(),s=uc(i);t:if(n){e:{if(Kt(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var c=n;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(hi(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(null!==c);throw Error(a(171))}if(1===n.tag){var l=n.type;if(hi(l)){n=Ci(n,l,c);break t}}n=c}else n=li;return null===e.context?e.context=n:e.pendingContext=n,(e=so(o,s)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),co(i,e),gc(i,s,o),s}function Jc(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function $c(t,e){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var n=t.retryLane;t.retryLane=0!==n&&n<e?n:e}}function tl(t,e){$c(t,e),(t=t.alternate)&&$c(t,e)}function el(t,e,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new qc(t,e,null!=n&&!0===n.hydrate),e=Vc(3,null,null,2===e?7:1===e?3:0),n.current=e,e.stateNode=n,oo(e),t[Qr]=n.current,jr(8===t.nodeType?t.parentNode:t),r)for(t=0;t<r.length;t++){var i=(e=r[t])._getVersion;i=i(e._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[e,i]:n.mutableSourceEagerHydrationData.push(e,i)}this._internalRoot=n}function nl(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function rl(t,e,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var t=Jc(a);s.call(t)}}Qc(e,a,t,i)}else{if(o=n._reactRootContainer=function(t,e){if(e||(e=!(!(e=t?9===t.nodeType?t.documentElement:t.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var n;n=t.lastChild;)t.removeChild(n);return new el(t,0,e?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"===typeof i){var c=i;i=function(){var t=Jc(a);c.call(t)}}vc((function(){Qc(e,a,t,i)}))}return Jc(a)}function il(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nl(e))throw Error(a(200));return Kc(t,e,null,n)}Hs=function(t,e,n){var r=e.lanes;if(null!==t)if(t.memoizedProps!==e.pendingProps||gi.current)Ra=!0;else{if(0===(n&r)){switch(Ra=!1,e.tag){case 3:Ya(e),Ho();break;case 5:To(e);break;case 1:hi(e.type)&&vi(e);break;case 4:Po(e,e.stateNode.containerInfo);break;case 10:r=e.memoizedProps.value;var i=e.type._context;ci(qi,i._currentValue),i._currentValue=r;break;case 13:if(null!==e.memoizedState)return 0!==(n&e.child.childLanes)?qa(t,e,n):(ci(Do,1&Do.current),null!==(e=ns(t,e,n))?e.sibling:null);ci(Do,1&Do.current);break;case 19:if(r=0!==(n&e.childLanes),0!==(64&t.flags)){if(r)return es(t,e,n);e.flags|=64}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ci(Do,Do.current),r)break;return null;case 23:case 24:return e.lanes=0,Ba(t,e,n)}return ns(t,e,n)}Ra=0!==(16384&t.flags)}else Ra=!1;switch(e.lanes=0,e.tag){case 2:if(r=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,i=di(e,ui.current),no(e,n),i=ia(null,e,r,t,i,n),e.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,hi(r)){var o=!0;vi(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(e);var s=r.getDerivedStateFromProps;"function"===typeof s&&ho(e,r,s,t),i.updater=po,e.stateNode=i,i._reactInternals=e,Io(e,r,t,n),e=Wa(null,e,r,!0,o,n)}else e.tag=0,Da(null,e,i,n),e=e.child;return e;case 16:i=e.elementType;t:{switch(null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,i=(o=i._init)(i._payload),e.type=i,o=e.tag=function(t){if("function"===typeof t)return Gc(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===j)return 11;if(t===M)return 14}return 2}(i),t=Zi(i,t),o){case 0:e=Va(null,e,i,t,n);break t;case 1:e=Ga(null,e,i,t,n);break t;case 11:e=Na(null,e,i,t,n);break t;case 14:e=La(null,e,i,Zi(i.type,t),r,n);break t}throw Error(a(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,Va(t,e,r,i=e.elementType===r?i:Zi(r,i),n);case 1:return r=e.type,i=e.pendingProps,Ga(t,e,r,i=e.elementType===r?i:Zi(r,i),n);case 3:if(Ya(e),r=e.updateQueue,null===t||null===r)throw Error(a(282));if(r=e.pendingProps,i=null!==(i=e.memoizedState)?i.element:null,ao(t,e),uo(e,r,null,n),(r=e.memoizedState.element)===i)Ho(),e=ns(t,e,n);else{if((o=(i=e.stateNode).hydrate)&&(Fo=Hr(e.stateNode.containerInfo.firstChild),Lo=e,o=Bo=!0),o){if(null!=(t=i.mutableSourceEagerHydrationData))for(i=0;i<t.length;i+=2)(o=t[i])._workInProgressVersionPrimary=t[i+1],Uo.push(o);for(n=Oo(e,null,r,n),e.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Da(t,e,r,n),Ho();e=e.child}return e;case 5:return To(e),null===t&&Go(e),r=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,s=i.children,Vr(r,i)?s=null:null!==o&&Vr(r,o)&&(e.flags|=16),za(t,e),Da(t,e,s,n),e.child;case 6:return null===t&&Go(e),null;case 13:return qa(t,e,n);case 4:return Po(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=wo(e,null,r,n):Da(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,Na(t,e,r,i=e.elementType===r?i:Zi(r,i),n);case 7:return Da(t,e,e.pendingProps,n),e.child;case 8:case 12:return Da(t,e,e.pendingProps.children,n),e.child;case 10:t:{r=e.type._context,i=e.pendingProps,s=e.memoizedProps,o=i.value;var c=e.type._context;if(ci(qi,c._currentValue),c._currentValue=o,null!==s)if(c=s.value,0===(o=sr(c,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(c,o):1073741823))){if(s.children===i.children&&!gi.current){e=ns(t,e,n);break t}}else for(null!==(c=e.child)&&(c.return=e);null!==c;){var l=c.dependencies;if(null!==l){s=c.child;for(var u=l.firstContext;null!==u;){if(u.context===r&&0!==(u.observedBits&o)){1===c.tag&&((u=so(-1,n&-n)).tag=2,co(c,u)),c.lanes|=n,null!==(u=c.alternate)&&(u.lanes|=n),eo(c.return,n),l.lanes|=n;break}u=u.next}}else s=10===c.tag&&c.type===e.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===e){s=null;break}if(null!==(c=s.sibling)){c.return=s.return,s=c;break}s=s.return}c=s}Da(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=(o=e.pendingProps).children,no(e,n),r=r(i=ro(i,o.unstable_observedBits)),e.flags|=1,Da(t,e,r,n),e.child;case 14:return o=Zi(i=e.type,e.pendingProps),La(t,e,i,o=Zi(i.type,o),r,n);case 15:return Fa(t,e,e.type,e.pendingProps,r,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Zi(r,i),null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),e.tag=1,hi(r)?(t=!0,vi(e)):t=!1,no(e,n),Co(e,r,i),Io(e,r,i,n),Wa(null,e,r,!0,t,n);case 19:return es(t,e,n);case 23:case 24:return Ba(t,e,n)}throw Error(a(156,e.tag))},el.prototype.render=function(t){Qc(t,this._internalRoot,null,null)},el.prototype.unmount=function(){var t=this._internalRoot,e=t.containerInfo;Qc(null,t,null,(function(){e[Qr]=null}))},ee=function(t){13===t.tag&&(gc(t,4,lc()),tl(t,4))},ne=function(t){13===t.tag&&(gc(t,67108864,lc()),tl(t,67108864))},re=function(t){if(13===t.tag){var e=lc(),n=uc(t);gc(t,n,e),tl(t,n)}},ie=function(t,e){return e()},_t=function(t,e,n){switch(e){case"input":if(nt(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=ni(r);if(!i)throw Error(a(90));Q(r),nt(r,i)}}}break;case"textarea":lt(t,n);break;case"select":null!=(e=n.value)&&at(t,!!n.multiple,e,!1)}},Tt=Cc,Rt=function(t,e,n,r,i){var o=js;js|=4;try{return Wi(98,t.bind(null,e,n,r,i))}finally{0===(js=o)&&(Ys(),Hi())}},Dt=function(){0===(49&js)&&(function(){if(null!==ec){var t=ec;ec=null,t.forEach((function(t){t.expiredLanes|=24&t.pendingLanes,dc(t,zi())}))}Hi()}(),Mc())},Nt=function(t,e){var n=js;js|=2;try{return t(e)}finally{0===(js=n)&&(Ys(),Hi())}};var ol={Events:[ti,ei,ni,Pt,Mt,Mc,{current:!1}]},al={findFiberByHostInstance:$r,bundleType:0,version:"17.0.1",rendererPackageName:"react-dom"},sl={bundleType:al.bundleType,version:al.version,rendererPackageName:al.rendererPackageName,rendererConfig:al.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:m.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=$t(t))?null:t.stateNode},findFiberByHostInstance:al.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var cl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cl.isDisabled&&cl.supportsFiber)try{yi=cl.inject(sl),mi=cl}catch(At){}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ol,e.createPortal=il,e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternals;if(void 0===e){if("function"===typeof t.render)throw Error(a(188));throw Error(a(268,Object.keys(t)))}return t=null===(t=$t(e))?null:t.stateNode},e.flushSync=function(t,e){var n=js;if(0!==(48&n))return t(e);js|=1;try{if(t)return Wi(99,t.bind(null,e))}finally{js=n,Hi()}},e.hydrate=function(t,e,n){if(!nl(e))throw Error(a(200));return rl(null,t,e,!0,n)},e.render=function(t,e,n){if(!nl(e))throw Error(a(200));return rl(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!nl(t))throw Error(a(40));return!!t._reactRootContainer&&(vc((function(){rl(null,null,t,!1,(function(){t._reactRootContainer=null,t[Qr]=null}))})),!0)},e.unstable_batchedUpdates=Cc,e.unstable_createPortal=function(t,e){return il(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!nl(n))throw Error(a(200));if(null==t||void 0===t._reactInternals)throw Error(a(38));return rl(t,e,n,!1,r)},e.version="17.0.1"},function(t,e,n){"use strict";t.exports=n(594)},function(t,e,n){"use strict";var r,i,o,a;if("object"===typeof performance&&"function"===typeof performance.now){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,l=c.now();e.unstable_now=function(){return c.now()-l}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,g=null,f=function t(){if(null!==u)try{var n=e.unstable_now();u(!0,n),u=null}catch(r){throw setTimeout(t,0),r}};r=function(t){null!==u?setTimeout(r,0,t):(u=t,setTimeout(f,0))},i=function(t,e){g=setTimeout(t,e)},o=function(){clearTimeout(g)},e.unstable_shouldYield=function(){return!1},a=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,h=window.clearTimeout;if("undefined"!==typeof console){var p=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var A=!1,C=null,v=-1,I=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},a=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<t?Math.floor(1e3/t):5};var m=new MessageChannel,b=m.port2;m.port1.onmessage=function(){if(null!==C){var t=e.unstable_now();y=t+I;try{C(!0,t)?b.postMessage(null):(A=!1,C=null)}catch(n){throw b.postMessage(null),n}}else A=!1},r=function(t){C=t,A||(A=!0,b.postMessage(null))},i=function(t,n){v=d((function(){t(e.unstable_now())}),n)},o=function(){h(v),v=-1}}function x(t,e){var n=t.length;t.push(e);t:for(;;){var r=n-1>>>1,i=t[r];if(!(void 0!==i&&0<S(i,e)))break t;t[r]=e,t[n]=i,n=r}}function w(t){return void 0===(t=t[0])?null:t}function O(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length;r<i;){var o=2*(r+1)-1,a=t[o],s=o+1,c=t[s];if(void 0!==a&&0>S(a,n))void 0!==c&&0>S(c,a)?(t[r]=c,t[s]=n,r=s):(t[r]=a,t[o]=n,r=o);else{if(!(void 0!==c&&0>S(c,n)))break t;t[r]=c,t[s]=n,r=s}}}return e}return null}function S(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var _=[],k=[],j=1,E=null,P=3,M=!1,T=!1,R=!1;function D(t){for(var e=w(k);null!==e;){if(null===e.callback)O(k);else{if(!(e.startTime<=t))break;O(k),e.sortIndex=e.expirationTime,x(_,e)}e=w(k)}}function N(t){if(R=!1,D(t),!T)if(null!==w(_))T=!0,r(L);else{var e=w(k);null!==e&&i(N,e.startTime-t)}}function L(t,n){T=!1,R&&(R=!1,o()),M=!0;var r=P;try{for(D(n),E=w(_);null!==E&&(!(E.expirationTime>n)||t&&!e.unstable_shouldYield());){var a=E.callback;if("function"===typeof a){E.callback=null,P=E.priorityLevel;var s=a(E.expirationTime<=n);n=e.unstable_now(),"function"===typeof s?E.callback=s:E===w(_)&&O(_),D(n)}else O(_);E=w(_)}if(null!==E)var c=!0;else{var l=w(k);null!==l&&i(N,l.startTime-n),c=!1}return c}finally{E=null,P=r,M=!1}}var F=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){T||M||(T=!0,r(L))},e.unstable_getCurrentPriorityLevel=function(){return P},e.unstable_getFirstCallbackNode=function(){return w(_)},e.unstable_next=function(t){switch(P){case 1:case 2:case 3:var e=3;break;default:e=P}var n=P;P=e;try{return t()}finally{P=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=F,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=P;P=t;try{return e()}finally{P=n}},e.unstable_scheduleCallback=function(t,n,a){var s=e.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?s+a:s:a=s,t){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return t={id:j++,callback:n,priorityLevel:t,startTime:a,expirationTime:c=a+c,sortIndex:-1},a>s?(t.sortIndex=a,x(k,t),null===w(_)&&t===w(k)&&(R?o():R=!0,i(N,a-s))):(t.sortIndex=c,x(_,t),T||M||(T=!0,r(L))),t},e.unstable_wrapCallback=function(t){var e=P;return function(){var n=P;P=e;try{return t.apply(this,arguments)}finally{P=n}}}},,,function(t,e,n){"use strict";var r=n(598);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,g=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,A=r?Symbol.for("react.memo"):60115,C=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,I=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,m=r?Symbol.for("react.scope"):60119;function b(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case g:case f:case a:case c:case s:case h:return t;default:switch(t=t&&t.$$typeof){case u:case d:case C:case A:case l:return t;default:return e}}case o:return e}}}function x(t){return b(t)===f}e.AsyncMode=g,e.ConcurrentMode=f,e.ContextConsumer=u,e.ContextProvider=l,e.Element=i,e.ForwardRef=d,e.Fragment=a,e.Lazy=C,e.Memo=A,e.Portal=o,e.Profiler=c,e.StrictMode=s,e.Suspense=h,e.isAsyncMode=function(t){return x(t)||b(t)===g},e.isConcurrentMode=x,e.isContextConsumer=function(t){return b(t)===u},e.isContextProvider=function(t){return b(t)===l},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return b(t)===d},e.isFragment=function(t){return b(t)===a},e.isLazy=function(t){return b(t)===C},e.isMemo=function(t){return b(t)===A},e.isPortal=function(t){return b(t)===o},e.isProfiler=function(t){return b(t)===c},e.isStrictMode=function(t){return b(t)===s},e.isSuspense=function(t){return b(t)===h},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===f||t===c||t===s||t===h||t===p||"object"===typeof t&&null!==t&&(t.$$typeof===C||t.$$typeof===A||t.$$typeof===l||t.$$typeof===u||t.$$typeof===d||t.$$typeof===I||t.$$typeof===y||t.$$typeof===m||t.$$typeof===v)},e.typeOf=b},function(t,e){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},,function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(P){c=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof A?e:A,o=Object.create(i.prototype),a=new k(r||[]);return o._invoke=function(t,e,n){var r=g;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===g)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=u(t,e,n);if("normal"===c.type){if(r=n.done?h:f,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(P){return{type:"throw",arg:P}}}t.wrap=l;var g="suspendedStart",f="suspendedYield",d="executing",h="completed",p={};function A(){}function C(){}function v(){}var I={};I[o]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(j([])));m&&m!==n&&r.call(m,o)&&(I=m);var b=v.prototype=A.prototype=Object.create(I);function x(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(i,o,a,s){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,g=l.value;return g&&"object"===typeof g&&r.call(g,"__await")?e.resolve(g.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(g).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}}function O(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=u(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function j(t){if(t){var n=t[o];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:E}}function E(){return{value:e,done:!0}}return C.prototype=b.constructor=v,v.constructor=C,C.displayName=c(v,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===C||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),w.prototype[a]=function(){return this},t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(l(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),c(b,s,"Generator"),b[o]=function(){return this},b.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=j,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){t.exports=n(604)},function(t,e,n){var r=n(439);t.exports=r},function(t,e,n){var r=n(26),i=n(68);r({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:n(125).f})},function(t,e,n){var r=n(52),i=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==l||n!=c&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},function(t,e,n){t.exports=n(608)},function(t,e,n){var r=n(609);t.exports=r},function(t,e,n){n(610);var r=n(42).Object,i=t.exports=function(t,e){return r.defineProperties(t,e)};r.defineProperties.sham&&(i.sham=!0)},function(t,e,n){var r=n(26),i=n(68);r({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperties:n(442)})},function(t,e,n){t.exports=n(612)},function(t,e,n){var r=n(613);t.exports=r},function(t,e,n){n(614);var r=n(42);t.exports=r.Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(26),i=n(68),o=n(615),a=n(93),s=n(180),c=n(187);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),i=s.f,l=o(r),u={},g=0;l.length>g;)void 0!==(n=i(r,e=l[g++]))&&c(u,e,n);return u}})},function(t,e,n){var r=n(186),i=n(317),o=n(318),a=n(94);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){t.exports=n(617)},function(t,e,n){var r=n(618);t.exports=r},function(t,e,n){n(619);var r=n(42).Object,i=t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)};r.getOwnPropertyDescriptor.sham&&(i.sham=!0)},function(t,e,n){var r=n(26),i=n(52),o=n(93),a=n(180).f,s=n(68),c=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},function(t,e,n){t.exports=n(621)},function(t,e,n){var r=n(445);t.exports=r},function(t,e,n){var r=n(186);t.exports=r("document","documentElement")},function(t,e,n){var r=n(61),i=n(105);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(93),i=n(317).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(e){return a.slice()}}(t):i(r(t))}},function(t,e,n){"use strict";var r=n(324),i=n(190);t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(t,e,n){var r=n(61),i=n(627),o=r.WeakMap;t.exports="function"===typeof o&&/native code/.test(i(o))},function(t,e,n){var r=n(321),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},function(t,e,n){t.exports=n(629)},function(t,e,n){var r=n(449);t.exports=r},function(t,e,n){var r=n(26),i=n(85),o=n(185);r({target:"Object",stat:!0,forced:n(52)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},function(t,e,n){t.exports=n(632)},function(t,e,n){var r=n(633);t.exports=r},function(t,e,n){n(634);var r=n(42);t.exports=r.Reflect.construct},function(t,e,n){var r=n(26),i=n(186),o=n(184),a=n(94),s=n(76),c=n(229),l=n(450),u=n(52),g=i("Reflect","construct"),f=u((function(){function t(){}return!(g((function(){}),[],t)instanceof t)})),d=!u((function(){g((function(){}))})),h=f||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(d&&!f)return g(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(l.apply(t,r))}var i=n.prototype,u=c(s(i)?i:Object.prototype),h=Function.apply.call(t,u,e);return s(h)?h:u}})},function(t,e,n){var r=n(636);function i(){return t.exports=i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}t.exports=i},function(t,e,n){t.exports=n(637)},function(t,e,n){var r=n(451);t.exports=r},function(t,e,n){var r=n(26),i=n(639);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(t,e,n){"use strict";var r=n(68),i=n(52),o=n(185),a=n(318),s=n(224),c=n(85),l=n(225),u=Object.assign,g=Object.defineProperty;t.exports=!u||i((function(){if(r&&1!==u({b:1},u(g({},"a",{enumerable:!0,get:function(){g(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||o(u({},e)).join("")!=i}))?function(t,e){for(var n=c(t),i=arguments.length,u=1,g=a.f,f=s.f;i>u;)for(var d,h=l(arguments[u++]),p=g?o(h).concat(g(h)):o(h),A=p.length,C=0;A>C;)d=p[C++],r&&!f.call(h,d)||(n[d]=h[d]);return n}:u},function(t,e,n){t.exports=n(641)},function(t,e,n){var r=n(642);t.exports=r},function(t,e,n){var r=n(643),i=Array.prototype;t.exports=function(t){var e=t.every;return t===i||t instanceof Array&&e===i.every?r:e}},function(t,e,n){n(644);var r=n(62);t.exports=r("Array").every},function(t,e,n){"use strict";var r=n(26),i=n(126).every,o=n(146),a=n(95),s=o("every"),c=a("every");r({target:"Array",proto:!0,forced:!s||!c},{every:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){t.exports=n(646)},function(t,e,n){var r=n(647);t.exports=r},function(t,e,n){var r=n(648),i=Array.prototype;t.exports=function(t){var e=t.some;return t===i||t instanceof Array&&e===i.some?r:e}},function(t,e,n){n(649);var r=n(62);t.exports=r("Array").some},function(t,e,n){"use strict";var r=n(26),i=n(126).some,o=n(146),a=n(95),s=o("some"),c=a("some");r({target:"Array",proto:!0,forced:!s||!c},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){t.exports=n(651)},function(t,e,n){var r=n(652);t.exports=r},function(t,e,n){var r=n(653),i=Function.prototype;t.exports=function(t){var e=t.bind;return t===i||t instanceof Function&&e===i.bind?r:e}},function(t,e,n){n(654);var r=n(62);t.exports=r("Function").bind},function(t,e,n){n(26)({target:"Function",proto:!0},{bind:n(450)})},function(t,e,n){t.exports=n(656)},function(t,e,n){var r=n(451);t.exports=r},function(t,e,n){t.exports=n(658)},function(t,e,n){var r=n(659);t.exports=r},function(t,e,n){var r=n(660),i=Array.prototype;t.exports=function(t){var e=t.filter;return t===i||t instanceof Array&&e===i.filter?r:e}},function(t,e,n){n(661);var r=n(62);t.exports=r("Array").filter},function(t,e,n){"use strict";var r=n(26),i=n(126).filter,o=n(191),a=n(95),s=o("filter"),c=a("filter");r({target:"Array",proto:!0,forced:!s||!c},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(663),i=n(666),o=n(466),a=n(710);t.exports=function(t){return r(t)||i(t)||o(t)||a()}},function(t,e,n){var r=n(453),i=n(455);t.exports=function(t){if(r(t))return i(t)}},function(t,e,n){var r=n(454);t.exports=r},function(t,e,n){n(26)({target:"Array",stat:!0},{isArray:n(189)})},function(t,e,n){var r=n(456),i=n(462),o=n(329);t.exports=function(t){if("undefined"!==typeof o&&i(Object(t)))return r(t)}},function(t,e,n){var r=n(668);t.exports=r},function(t,e,n){n(232),n(672);var r=n(42);t.exports=r.Array.from},function(t,e,n){var r=n(227),i=n(183),o=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),l=s.length;return c<0||c>=l?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,e,n){"use strict";var r=n(458).IteratorPrototype,i=n(229),o=n(181),a=n(231),s=n(127),c=function(){return this};t.exports=function(t,e,n){var l=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),a(t,l,!1,!0),s[l]=c,t}},function(t,e,n){var r=n(76);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){var r=n(26),i=n(673);r({target:"Array",stat:!0,forced:!n(677)((function(t){Array.from(t)}))},{from:i})},function(t,e,n){"use strict";var r=n(314),i=n(85),o=n(674),a=n(676),s=n(114),c=n(187),l=n(461);t.exports=function(t){var e,n,u,g,f,d,h=i(t),p="function"==typeof this?this:Array,A=arguments.length,C=A>1?arguments[1]:void 0,v=void 0!==C,I=l(h),y=0;if(v&&(C=r(C,A>2?arguments[2]:void 0,2)),void 0==I||p==Array&&a(I))for(n=new p(e=s(h.length));e>y;y++)d=v?C(h[y],y):h[y],c(n,y,d);else for(f=(g=I.call(h)).next,n=new p;!(u=f.call(g)).done;y++)d=v?o(g,C,[u.value,y],!0):u.value,c(n,y,d);return n.length=y,n}},function(t,e,n){var r=n(94),i=n(675);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){throw i(t),a}}},function(t,e,n){var r=n(94);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},function(t,e,n){var r=n(53),i=n(127),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},function(t,e,n){var r=n(53)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(s){}return n}},function(t,e,n){n(233),n(232);var r=n(681);t.exports=r},function(t,e,n){"use strict";var r=n(93),i=n(463),o=n(127),a=n(325),s=n(457),c="Array Iterator",l=a.set,u=a.getterFor(c);t.exports=s(Array,"Array",(function(t,e){l(this,{type:c,target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(190),i=n(53),o=n(127),a=i("iterator");t.exports=function(t){var e=Object(t);return void 0!==e[a]||"@@iterator"in e||o.hasOwnProperty(r(e))}},function(t,e,n){var r=n(683);n(701),n(702),n(703),n(704),n(705),t.exports=r},function(t,e,n){n(464),n(684),n(446),n(685),n(686),n(687),n(688),n(465),n(689),n(690),n(691),n(692),n(693),n(694),n(695),n(696),n(697),n(698),n(699),n(700);var r=n(42);t.exports=r.Symbol},function(t,e){},function(t,e,n){n(47)("asyncIterator")},function(t,e){},function(t,e,n){n(47)("hasInstance")},function(t,e,n){n(47)("isConcatSpreadable")},function(t,e,n){n(47)("match")},function(t,e,n){n(47)("matchAll")},function(t,e,n){n(47)("replace")},function(t,e,n){n(47)("search")},function(t,e,n){n(47)("species")},function(t,e,n){n(47)("split")},function(t,e,n){n(47)("toPrimitive")},function(t,e,n){n(47)("toStringTag")},function(t,e,n){n(47)("unscopables")},function(t,e,n){var r=n(61);n(231)(r.JSON,"JSON",!0)},function(t,e){},function(t,e){},function(t,e,n){n(47)("asyncDispose")},function(t,e,n){n(47)("dispose")},function(t,e,n){n(47)("observable")},function(t,e,n){n(47)("patternMatch")},function(t,e,n){n(47)("replaceAll")},function(t,e,n){t.exports=n(707)},function(t,e,n){var r=n(467);t.exports=r},function(t,e,n){n(709);var r=n(62);t.exports=r("Array").slice},function(t,e,n){"use strict";var r=n(26),i=n(76),o=n(189),a=n(315),s=n(114),c=n(93),l=n(187),u=n(53),g=n(191),f=n(95),d=g("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),p=u("species"),A=[].slice,C=Math.max;r({target:"Array",proto:!0,forced:!d||!h},{slice:function(t,e){var n,r,u,g=c(this),f=s(g.length),d=a(t,f),h=a(void 0===e?f:e,f);if(o(g)&&("function"!=typeof(n=g.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return A.call(g,d,h);for(r=new(void 0===n?Array:n)(C(h-d,0)),u=0;d<h;d++,u++)d in g&&l(r,u,g[d]);return r.length=u,r}})},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){t.exports=n(712)},function(t,e,n){var r=n(713);t.exports=r},function(t,e,n){var r=n(714),i=Array.prototype;t.exports=function(t){var e=t.findIndex;return t===i||t instanceof Array&&e===i.findIndex?r:e}},function(t,e,n){n(715);var r=n(62);t.exports=r("Array").findIndex},function(t,e,n){"use strict";var r=n(26),i=n(126).findIndex,o=n(463),a=n(95),s="findIndex",c=!0,l=a(s);s in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!l},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(s)},function(t,e,n){t.exports=n(717)},function(t,e,n){var r=n(718);t.exports=r},function(t,e,n){var r=n(719),i=Array.prototype;t.exports=function(t){var e=t.concat;return t===i||t instanceof Array&&e===i.concat?r:e}},function(t,e,n){n(464);var r=n(62);t.exports=r("Array").concat},function(t,e,n){var r=n(468),i=n(724),o=n(726);t.exports=function(t,e){if(null==t)return{};var n,a,s=o(t,e);if(i){var c=i(t);for(a=0;a<c.length;a++)n=c[a],r(e).call(e,n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(s[n]=t[n])}return s}},function(t,e,n){var r=n(469);t.exports=r},function(t,e,n){n(723);var r=n(62);t.exports=r("Array").indexOf},function(t,e,n){"use strict";var r=n(26),i=n(444).indexOf,o=n(146),a=n(95),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,l=o("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!l||!u},{indexOf:function(t){return c?s.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){t.exports=n(725)},function(t,e,n){var r=n(445);t.exports=r},function(t,e,n){var r=n(468),i=n(727);t.exports=function(t,e){if(null==t)return{};var n,o,a={},s=i(t);for(o=0;o<s.length;o++)n=s[o],r(e).call(e,n)>=0||(a[n]=t[n]);return a}},function(t,e,n){t.exports=n(728)},function(t,e,n){var r=n(449);t.exports=r},function(t,e,n){t.exports=n(730)},function(t,e,n){var r=n(731);t.exports=r},function(t,e,n){var r=n(732),i=Array.prototype;t.exports=function(t){var e=t.sort;return t===i||t instanceof Array&&e===i.sort?r:e}},function(t,e,n){n(733);var r=n(62);t.exports=r("Array").sort},function(t,e,n){"use strict";var r=n(26),i=n(184),o=n(85),a=n(52),s=n(146),c=[],l=c.sort,u=a((function(){c.sort(void 0)})),g=a((function(){c.sort(null)})),f=s("sort");r({target:"Array",proto:!0,forced:u||!g||!f},{sort:function(t){return void 0===t?l.call(o(this)):l.call(o(this),i(t))}})},function(t,e,n){t.exports=n(735)},function(t,e,n){var r=n(736);t.exports=r},function(t,e,n){var r=n(737),i=Array.prototype;t.exports=function(t){var e=t.splice;return t===i||t instanceof Array&&e===i.splice?r:e}},function(t,e,n){n(738);var r=n(62);t.exports=r("Array").splice},function(t,e,n){"use strict";var r=n(26),i=n(315),o=n(227),a=n(114),s=n(85),c=n(326),l=n(187),u=n(191),g=n(95),f=u("splice"),d=g("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,p=Math.min,A=9007199254740991,C="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!f||!d},{splice:function(t,e){var n,r,u,g,f,d,v=s(this),I=a(v.length),y=i(t,I),m=arguments.length;if(0===m?n=r=0:1===m?(n=0,r=I-y):(n=m-2,r=p(h(o(e),0),I-y)),I+n-r>A)throw TypeError(C);for(u=c(v,r),g=0;g<r;g++)(f=y+g)in v&&l(u,g,v[f]);if(u.length=r,n<r){for(g=y;g<I-r;g++)d=g+n,(f=g+r)in v?v[d]=v[f]:delete v[d];for(g=I;g>I-r+n;g--)delete v[g-1]}else if(n>r)for(g=I-r;g>y;g--)d=g+n-1,(f=g+r-1)in v?v[d]=v[f]:delete v[d];for(g=0;g<n;g++)v[g+y]=arguments[g+2];return v.length=I-r+n,u}})},function(t,e,n){t.exports=n(740)},function(t,e,n){var r=n(741);t.exports=r},function(t,e,n){var r=n(742),i=Array.prototype;t.exports=function(t){var e=t.reduce;return t===i||t instanceof Array&&e===i.reduce?r:e}},function(t,e,n){n(743);var r=n(62);t.exports=r("Array").reduce},function(t,e,n){"use strict";var r=n(26),i=n(744).left,o=n(146),a=n(95),s=n(327),c=n(745),l=o("reduce"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!l||!u||!c&&s>79&&s<83},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(184),i=n(85),o=n(225),a=n(114),s=function(t){return function(e,n,s,c){r(n);var l=i(e),u=o(l),g=a(l.length),f=t?g-1:0,d=t?-1:1;if(s<2)for(;;){if(f in u){c=u[f],f+=d;break}if(f+=d,t?f<0:g<=f)throw TypeError("Reduce of empty array with no initial value")}for(;t?f>=0:g>f;f+=d)f in u&&(c=n(c,u[f],f,l));return c}};t.exports={left:s(!1),right:s(!0)}},function(t,e,n){var r=n(182),i=n(61);t.exports="process"==r(i.process)},function(t,e,n){t.exports=n(747)},function(t,e,n){var r=n(454);t.exports=r},function(t,e,n){t.exports=n(749)},function(t,e,n){var r=n(750);t.exports=r},function(t,e,n){n(465),n(232),n(233);var r=n(323);t.exports=r.f("iterator")},function(t,e,n){t.exports=n(752)},function(t,e,n){n(233);var r=n(753),i=n(190),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};t.exports=function(t){var e=t.forEach;return t===o||t instanceof Array&&e===o.forEach||a.hasOwnProperty(i(t))?r:e}},function(t,e,n){var r=n(754);t.exports=r},function(t,e,n){n(755);var r=n(62);t.exports=r("Array").forEach},function(t,e,n){"use strict";var r=n(26),i=n(756);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(t,e,n){"use strict";var r=n(126).forEach,i=n(146),o=n(95),a=i("forEach"),s=o("forEach");t.exports=a&&s?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){t.exports=n(758)},function(t,e,n){var r=n(759);t.exports=r},function(t,e,n){n(760);var r=n(42);t.exports=r.Object.values},function(t,e,n){var r=n(26),i=n(471).values;r({target:"Object",stat:!0},{values:function(t){return i(t)}})},function(t,e,n){t.exports=n(762)},function(t,e,n){var r=n(763);t.exports=r},function(t,e,n){var r=n(764),i=Array.prototype;t.exports=function(t){var e=t.map;return t===i||t instanceof Array&&e===i.map?r:e}},function(t,e,n){n(765);var r=n(62);t.exports=r("Array").map},function(t,e,n){"use strict";var r=n(26),i=n(126).map,o=n(191),a=n(95),s=o("map"),c=a("map");r({target:"Array",proto:!0,forced:!s||!c},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){t.exports=n(767)},function(t,e,n){var r=n(469);t.exports=r},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){var r=n(472);function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),r(t,i.key,i)}}t.exports=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}},function(t,e,n){var r=n(439);t.exports=r},function(t,e,n){var r=n(772),i=n(776);t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=r(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}},function(t,e,n){t.exports=n(773)},function(t,e,n){var r=n(774);t.exports=r},function(t,e,n){n(775);var r=n(42).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){n(26)({target:"Object",stat:!0,sham:!n(68)},{create:n(229)})},function(t,e,n){var r=n(474);function i(e,n){return t.exports=i=r||function(t,e){return t.__proto__=e,t},i(e,n)}t.exports=i},function(t,e,n){var r=n(778);t.exports=r},function(t,e,n){n(779);var r=n(42);t.exports=r.Object.setPrototypeOf},function(t,e,n){n(26)({target:"Object",stat:!0},{setPrototypeOf:n(460)})},function(t,e,n){var r=n(470),i=n(473);t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!==typeof e?i(t):e}},function(t,e,n){var r=n(782),i=n(474);function o(e){return t.exports=o=i?r:function(t){return t.__proto__||r(t)},o(e)}t.exports=o},function(t,e,n){t.exports=n(783)},function(t,e,n){var r=n(784);t.exports=r},function(t,e,n){n(785);var r=n(42);t.exports=r.Object.getPrototypeOf},function(t,e,n){var r=n(26),i=n(52),o=n(85),a=n(328),s=n(459);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},function(t,e,n){var r=n(472);t.exports=function(t,e,n){return e in t?r(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";var r=60103,i=60106,o=60107,a=60108,s=60114,c=60109,l=60110,u=60112,g=60113,f=60120,d=60115,h=60116,p=60121,A=60122,C=60117,v=60129,I=60131;if("function"===typeof Symbol&&Symbol.for){var y=Symbol.for;r=y("react.element"),i=y("react.portal"),o=y("react.fragment"),a=y("react.strict_mode"),s=y("react.profiler"),c=y("react.provider"),l=y("react.context"),u=y("react.forward_ref"),g=y("react.suspense"),f=y("react.suspense_list"),d=y("react.memo"),h=y("react.lazy"),p=y("react.block"),A=y("react.server.block"),C=y("react.fundamental"),v=y("react.debug_trace_mode"),I=y("react.legacy_hidden")}function m(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case o:case s:case a:case g:case f:return t;default:switch(t=t&&t.$$typeof){case l:case u:case h:case d:case c:return t;default:return e}}case i:return e}}}var b=c,x=r,w=u,O=o,S=h,_=d,k=i,j=s,E=a,P=g;e.ContextConsumer=l,e.ContextProvider=b,e.Element=x,e.ForwardRef=w,e.Fragment=O,e.Lazy=S,e.Memo=_,e.Portal=k,e.Profiler=j,e.StrictMode=E,e.Suspense=P,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return m(t)===l},e.isContextProvider=function(t){return m(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return m(t)===u},e.isFragment=function(t){return m(t)===o},e.isLazy=function(t){return m(t)===h},e.isMemo=function(t){return m(t)===d},e.isPortal=function(t){return m(t)===i},e.isProfiler=function(t){return m(t)===s},e.isStrictMode=function(t){return m(t)===a},e.isSuspense=function(t){return m(t)===g},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===s||t===v||t===a||t===g||t===f||t===I||"object"===typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===d||t.$$typeof===c||t.$$typeof===l||t.$$typeof===u||t.$$typeof===C||t.$$typeof===p||t[0]===A)},e.typeOf=m},function(t,e){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a=/^(?:0|[1-9]\d*)$/;function s(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var c,l,u=Object.prototype,g=u.hasOwnProperty,f=u.toString,d=u.propertyIsEnumerable,h=(c=Object.keys,l=Object,function(t){return c(l(t))}),p=Math.max;function A(t,e){var n=m(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&b(t)}(t)&&g.call(t,"callee")&&(!d.call(t,"callee")||f.call(t)==r)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],i=n.length,o=!!i;for(var a in t)!e&&!g.call(t,a)||o&&("length"==a||I(a,i))||n.push(a);return n}function C(t,e,n){var r=t[e];g.call(t,e)&&y(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function v(t){if(!function(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||u;return t===n}(t))return h(t);var e=[];for(var n in Object(t))g.call(t,n)&&"constructor"!=n&&e.push(n);return e}function I(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||a.test(t))&&t>-1&&t%1==0&&t<e}function y(t,e){return t===e||t!==t&&e!==e}var m=Array.isArray;function b(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}(t.length)&&!function(t){var e=x(t)?f.call(t):"";return e==i||e==o}(t)}function x(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var w,O=(w=function(t,e,n,r){!function(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;C(n,a,void 0===s?t[a]:s)}}(e,function(t){return b(t)?A(t):v(t)}(e),t,r)},function(t,e){return e=p(void 0===e?t.length-1:e,0),function(){for(var n=arguments,r=-1,i=p(n.length-e,0),o=Array(i);++r<i;)o[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=o,s(t,this,a)}}((function(t,e){var n=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=w.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(t,e,n){if(!x(n))return!1;var r=typeof e;return!!("number"==r?b(n)&&I(e,n.length):"string"==r&&e in n)&&y(n[e],t)}(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var a=e[n];a&&w(t,a,n,i)}return t})));t.exports=O},function(t,e,n){(function(t,n){var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Boolean]",s="[object Date]",c="[object Function]",l="[object GeneratorFunction]",u="[object Map]",g="[object Number]",f="[object Object]",d="[object Promise]",h="[object RegExp]",p="[object Set]",A="[object String]",C="[object Symbol]",v="[object WeakMap]",I="[object ArrayBuffer]",y="[object DataView]",m="[object Float32Array]",b="[object Float64Array]",x="[object Int8Array]",w="[object Int16Array]",O="[object Int32Array]",S="[object Uint8Array]",_="[object Uint8ClampedArray]",k="[object Uint16Array]",j="[object Uint32Array]",E=/\w*$/,P=/^\[object .+?Constructor\]$/,M=/^(?:0|[1-9]\d*)$/,T={};T[o]=T["[object Array]"]=T[I]=T[y]=T[a]=T[s]=T[m]=T[b]=T[x]=T[w]=T[O]=T[u]=T[g]=T[f]=T[h]=T[p]=T[A]=T[C]=T[S]=T[_]=T[k]=T[j]=!0,T["[object Error]"]=T[c]=T[v]=!1;var R="object"==typeof t&&t&&t.Object===Object&&t,D="object"==typeof self&&self&&self.Object===Object&&self,N=R||D||Function("return this")(),L=e&&!e.nodeType&&e,F=L&&"object"==typeof n&&n&&!n.nodeType&&n,B=F&&F.exports===L;function z(t,e){return t.set(e[0],e[1]),t}function V(t,e){return t.add(e),t}function G(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function W(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function Y(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function H(t,e){return function(n){return t(e(n))}}function U(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var X=Array.prototype,Z=Function.prototype,q=Object.prototype,K=N["__core-js_shared__"],Q=function(){var t=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),J=Z.toString,$=q.hasOwnProperty,tt=q.toString,et=RegExp("^"+J.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nt=B?N.Buffer:void 0,rt=N.Symbol,it=N.Uint8Array,ot=H(Object.getPrototypeOf,Object),at=Object.create,st=q.propertyIsEnumerable,ct=X.splice,lt=Object.getOwnPropertySymbols,ut=nt?nt.isBuffer:void 0,gt=H(Object.keys,Object),ft=Lt(N,"DataView"),dt=Lt(N,"Map"),ht=Lt(N,"Promise"),pt=Lt(N,"Set"),At=Lt(N,"WeakMap"),Ct=Lt(Object,"create"),vt=Gt(ft),It=Gt(dt),yt=Gt(ht),mt=Gt(pt),bt=Gt(At),xt=rt?rt.prototype:void 0,wt=xt?xt.valueOf:void 0;function Ot(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function St(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function _t(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function kt(t){this.__data__=new St(t)}function jt(t,e){var n=Yt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Ht(t)}(t)&&$.call(t,"callee")&&(!st.call(t,"callee")||tt.call(t)==o)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,i=!!r;for(var a in t)!e&&!$.call(t,a)||i&&("length"==a||zt(a,r))||n.push(a);return n}function Et(t,e,n){var r=t[e];$.call(t,e)&&Wt(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function Pt(t,e){for(var n=t.length;n--;)if(Wt(t[n][0],e))return n;return-1}function Mt(t,e,n,r,i,d,v){var P;if(r&&(P=d?r(t,i,d,v):r(t)),void 0!==P)return P;if(!Zt(t))return t;var M=Yt(t);if(M){if(P=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&$.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!e)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(t,P)}else{var R=Bt(t),D=R==c||R==l;if(Ut(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if(R==f||R==o||D&&!d){if(W(t))return d?t:{};if(P=function(t){return"function"!=typeof t.constructor||Vt(t)?{}:(e=ot(t),Zt(e)?at(e):{});var e}(D?{}:t),!e)return function(t,e){return Dt(t,Ft(t),e)}(t,function(t,e){return t&&Dt(e,qt(e),t)}(P,t))}else{if(!T[R])return d?t:{};P=function(t,e,n,r){var i=t.constructor;switch(e){case I:return Rt(t);case a:case s:return new i(+t);case y:return function(t,e){var n=e?Rt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case m:case b:case x:case w:case O:case S:case _:case k:case j:return function(t,e){var n=e?Rt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,r);case u:return function(t,e,n){return G(e?n(Y(t),!0):Y(t),z,new t.constructor)}(t,r,n);case g:case A:return new i(t);case h:return function(t){var e=new t.constructor(t.source,E.exec(t));return e.lastIndex=t.lastIndex,e}(t);case p:return function(t,e,n){return G(e?n(U(t),!0):U(t),V,new t.constructor)}(t,r,n);case C:return o=t,wt?Object(wt.call(o)):{}}var o}(t,R,Mt,e)}}v||(v=new kt);var N=v.get(t);if(N)return N;if(v.set(t,P),!M)var L=n?function(t){return function(t,e,n){var r=e(t);return Yt(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,qt,Ft)}(t):qt(t);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n,t););}(L||t,(function(i,o){L&&(i=t[o=i]),Et(P,o,Mt(i,e,n,r,o,t,v))})),P}function Tt(t){return!(!Zt(t)||(e=t,Q&&Q in e))&&(Xt(t)||W(t)?et:P).test(Gt(t));var e}function Rt(t){var e=new t.constructor(t.byteLength);return new it(e).set(new it(t)),e}function Dt(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;Et(n,a,void 0===s?t[a]:s)}return n}function Nt(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function Lt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Tt(n)?n:void 0}Ot.prototype.clear=function(){this.__data__=Ct?Ct(null):{}},Ot.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Ot.prototype.get=function(t){var e=this.__data__;if(Ct){var n=e[t];return n===r?void 0:n}return $.call(e,t)?e[t]:void 0},Ot.prototype.has=function(t){var e=this.__data__;return Ct?void 0!==e[t]:$.call(e,t)},Ot.prototype.set=function(t,e){return this.__data__[t]=Ct&&void 0===e?r:e,this},St.prototype.clear=function(){this.__data__=[]},St.prototype.delete=function(t){var e=this.__data__,n=Pt(e,t);return!(n<0)&&(n==e.length-1?e.pop():ct.call(e,n,1),!0)},St.prototype.get=function(t){var e=this.__data__,n=Pt(e,t);return n<0?void 0:e[n][1]},St.prototype.has=function(t){return Pt(this.__data__,t)>-1},St.prototype.set=function(t,e){var n=this.__data__,r=Pt(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},_t.prototype.clear=function(){this.__data__={hash:new Ot,map:new(dt||St),string:new Ot}},_t.prototype.delete=function(t){return Nt(this,t).delete(t)},_t.prototype.get=function(t){return Nt(this,t).get(t)},_t.prototype.has=function(t){return Nt(this,t).has(t)},_t.prototype.set=function(t,e){return Nt(this,t).set(t,e),this},kt.prototype.clear=function(){this.__data__=new St},kt.prototype.delete=function(t){return this.__data__.delete(t)},kt.prototype.get=function(t){return this.__data__.get(t)},kt.prototype.has=function(t){return this.__data__.has(t)},kt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof St){var r=n.__data__;if(!dt||r.length<199)return r.push([t,e]),this;n=this.__data__=new _t(r)}return n.set(t,e),this};var Ft=lt?H(lt,Object):function(){return[]},Bt=function(t){return tt.call(t)};function zt(t,e){return!!(e=null==e?i:e)&&("number"==typeof t||M.test(t))&&t>-1&&t%1==0&&t<e}function Vt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||q)}function Gt(t){if(null!=t){try{return J.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Wt(t,e){return t===e||t!==t&&e!==e}(ft&&Bt(new ft(new ArrayBuffer(1)))!=y||dt&&Bt(new dt)!=u||ht&&Bt(ht.resolve())!=d||pt&&Bt(new pt)!=p||At&&Bt(new At)!=v)&&(Bt=function(t){var e=tt.call(t),n=e==f?t.constructor:void 0,r=n?Gt(n):void 0;if(r)switch(r){case vt:return y;case It:return u;case yt:return d;case mt:return p;case bt:return v}return e});var Yt=Array.isArray;function Ht(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}(t.length)&&!Xt(t)}var Ut=ut||function(){return!1};function Xt(t){var e=Zt(t)?tt.call(t):"";return e==c||e==l}function Zt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function qt(t){return Ht(t)?jt(t):function(t){if(!Vt(t))return gt(t);var e=[];for(var n in Object(t))$.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}n.exports=function(t){return Mt(t,!0,!0)}}).call(this,n(60),n(129)(t))},function(t,e,n){(function(t,n){var r="__lodash_hash_undefined__",i=1/0,o=9007199254740991,a=17976931348623157e292,s=NaN,c="[object Arguments]",l="[object Array]",u="[object Boolean]",g="[object Date]",f="[object Error]",d="[object Function]",h="[object Map]",p="[object Number]",A="[object Object]",C="[object Promise]",v="[object RegExp]",I="[object Set]",y="[object String]",m="[object Symbol]",b="[object WeakMap]",x="[object ArrayBuffer]",w="[object DataView]",O=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,S=/^\w*$/,_=/^\./,k=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,j=/^\s+|\s+$/g,E=/\\(\\)?/g,P=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,T=/^\[object .+?Constructor\]$/,R=/^0o[0-7]+$/i,D=/^(?:0|[1-9]\d*)$/,N={};N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[c]=N[l]=N[x]=N[u]=N[w]=N[g]=N[f]=N[d]=N[h]=N[p]=N[A]=N[v]=N[I]=N[y]=N[b]=!1;var L=parseInt,F="object"==typeof t&&t&&t.Object===Object&&t,B="object"==typeof self&&self&&self.Object===Object&&self,z=F||B||Function("return this")(),V=e&&!e.nodeType&&e,G=V&&"object"==typeof n&&n&&!n.nodeType&&n,W=G&&G.exports===V&&F.process,Y=function(){try{return W&&W.binding("util")}catch(t){}}(),H=Y&&Y.isTypedArray;function U(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(e(t[n],n,t))return!0;return!1}function X(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function Z(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function q(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var K,Q,J=Array.prototype,$=Function.prototype,tt=Object.prototype,et=z["__core-js_shared__"],nt=function(){var t=/[^.]+$/.exec(et&&et.keys&&et.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),rt=$.toString,it=tt.hasOwnProperty,ot=tt.toString,at=RegExp("^"+rt.call(it).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),st=z.Symbol,ct=z.Uint8Array,lt=tt.propertyIsEnumerable,ut=J.splice,gt=(K=Object.keys,Q=Object,function(t){return K(Q(t))}),ft=Math.max,dt=Wt(z,"DataView"),ht=Wt(z,"Map"),pt=Wt(z,"Promise"),At=Wt(z,"Set"),Ct=Wt(z,"WeakMap"),vt=Wt(Object,"create"),It=Qt(dt),yt=Qt(ht),mt=Qt(pt),bt=Qt(At),xt=Qt(Ct),wt=st?st.prototype:void 0,Ot=wt?wt.valueOf:void 0,St=wt?wt.toString:void 0;function _t(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function kt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function jt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Et(t){var e=-1,n=t?t.length:0;for(this.__data__=new jt;++e<n;)this.add(t[e])}function Pt(t){this.__data__=new kt(t)}function Mt(t,e){var n=re(t)||ne(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!it.call(t,o)||i&&("length"==o||Ht(o,r))||n.push(o);return n}function Tt(t,e){for(var n=t.length;n--;)if(ee(t[n][0],e))return n;return-1}function Rt(t,e){for(var n=0,r=(e=Ut(e,t)?[e]:zt(e)).length;null!=t&&n<r;)t=t[Kt(e[n++])];return n&&n==r?t:void 0}function Dt(t,e){return null!=t&&e in Object(t)}function Nt(t,e,n,r,i){return t===e||(null==t||null==e||!se(t)&&!ce(e)?t!==t&&e!==e:function(t,e,n,r,i,o){var a=re(t),s=re(e),d=l,C=l;a||(d=(d=Yt(t))==c?A:d);s||(C=(C=Yt(e))==c?A:C);var b=d==A&&!X(t),O=C==A&&!X(e),S=d==C;if(S&&!b)return o||(o=new Pt),a||ue(t)?Vt(t,e,n,r,i,o):function(t,e,n,r,i,o,a){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!r(new ct(t),new ct(e)));case u:case g:case p:return ee(+t,+e);case f:return t.name==e.name&&t.message==e.message;case v:case y:return t==e+"";case h:var s=Z;case I:var c=2&o;if(s||(s=q),t.size!=e.size&&!c)return!1;var l=a.get(t);if(l)return l==e;o|=1,a.set(t,e);var d=Vt(s(t),s(e),r,i,o,a);return a.delete(t),d;case m:if(Ot)return Ot.call(t)==Ot.call(e)}return!1}(t,e,d,n,r,i,o);if(!(2&i)){var _=b&&it.call(t,"__wrapped__"),k=O&&it.call(e,"__wrapped__");if(_||k){var j=_?t.value():t,E=k?e.value():e;return o||(o=new Pt),n(j,E,r,i,o)}}if(!S)return!1;return o||(o=new Pt),function(t,e,n,r,i,o){var a=2&i,s=ge(t),c=s.length,l=ge(e).length;if(c!=l&&!a)return!1;var u=c;for(;u--;){var g=s[u];if(!(a?g in e:it.call(e,g)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var d=!0;o.set(t,e),o.set(e,t);var h=a;for(;++u<c;){var p=t[g=s[u]],A=e[g];if(r)var C=a?r(A,p,g,e,t,o):r(p,A,g,t,e,o);if(!(void 0===C?p===A||n(p,A,r,i,o):C)){d=!1;break}h||(h="constructor"==g)}if(d&&!h){var v=t.constructor,I=e.constructor;v==I||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof I&&I instanceof I||(d=!1)}return o.delete(t),o.delete(e),d}(t,e,n,r,i,o)}(t,e,Nt,n,r,i))}function Lt(t){return!(!se(t)||function(t){return!!nt&&nt in t}(t))&&(oe(t)||X(t)?at:T).test(Qt(t))}function Ft(t){return"function"==typeof t?t:null==t?fe:"object"==typeof t?re(t)?function(t,e){if(Ut(t)&&Xt(e))return Zt(Kt(t),e);return function(n){var r=function(t,e,n){var r=null==t?void 0:Rt(t,e);return void 0===r?n:r}(n,t);return void 0===r&&r===e?function(t,e){return null!=t&&function(t,e,n){e=Ut(e,t)?[e]:zt(e);var r,i=-1,o=e.length;for(;++i<o;){var a=Kt(e[i]);if(!(r=null!=t&&n(t,a)))break;t=t[a]}if(r)return r;return!!(o=t?t.length:0)&&ae(o)&&Ht(a,o)&&(re(t)||ne(t))}(t,e,Dt)}(n,t):Nt(e,r,void 0,3)}}(t[0],t[1]):function(t){var e=function(t){var e=ge(t),n=e.length;for(;n--;){var r=e[n],i=t[r];e[n]=[r,i,Xt(i)]}return e}(t);if(1==e.length&&e[0][2])return Zt(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=Object(t);i--;){var s=n[i];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<o;){var c=(s=n[i])[0],l=t[c],u=s[1];if(a&&s[2]){if(void 0===l&&!(c in t))return!1}else{var g=new Pt;if(r)var f=r(l,u,c,t,e,g);if(!(void 0===f?Nt(u,l,r,3,g):f))return!1}}return!0}(n,t,e)}}(t):function(t){return Ut(t)?(e=Kt(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return Rt(e,t)}}(t);var e}(t)}function Bt(t){if(!function(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||tt;return t===n}(t))return gt(t);var e=[];for(var n in Object(t))it.call(t,n)&&"constructor"!=n&&e.push(n);return e}function zt(t){return re(t)?t:qt(t)}function Vt(t,e,n,r,i,o){var a=2&i,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var u=-1,g=!0,f=1&i?new Et:void 0;for(o.set(t,e),o.set(e,t);++u<s;){var d=t[u],h=e[u];if(r)var p=a?r(h,d,u,e,t,o):r(d,h,u,t,e,o);if(void 0!==p){if(p)continue;g=!1;break}if(f){if(!U(e,(function(t,e){if(!f.has(e)&&(d===t||n(d,t,r,i,o)))return f.add(e)}))){g=!1;break}}else if(d!==h&&!n(d,h,r,i,o)){g=!1;break}}return o.delete(t),o.delete(e),g}function Gt(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function Wt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Lt(n)?n:void 0}_t.prototype.clear=function(){this.__data__=vt?vt(null):{}},_t.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},_t.prototype.get=function(t){var e=this.__data__;if(vt){var n=e[t];return n===r?void 0:n}return it.call(e,t)?e[t]:void 0},_t.prototype.has=function(t){var e=this.__data__;return vt?void 0!==e[t]:it.call(e,t)},_t.prototype.set=function(t,e){return this.__data__[t]=vt&&void 0===e?r:e,this},kt.prototype.clear=function(){this.__data__=[]},kt.prototype.delete=function(t){var e=this.__data__,n=Tt(e,t);return!(n<0)&&(n==e.length-1?e.pop():ut.call(e,n,1),!0)},kt.prototype.get=function(t){var e=this.__data__,n=Tt(e,t);return n<0?void 0:e[n][1]},kt.prototype.has=function(t){return Tt(this.__data__,t)>-1},kt.prototype.set=function(t,e){var n=this.__data__,r=Tt(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},jt.prototype.clear=function(){this.__data__={hash:new _t,map:new(ht||kt),string:new _t}},jt.prototype.delete=function(t){return Gt(this,t).delete(t)},jt.prototype.get=function(t){return Gt(this,t).get(t)},jt.prototype.has=function(t){return Gt(this,t).has(t)},jt.prototype.set=function(t,e){return Gt(this,t).set(t,e),this},Et.prototype.add=Et.prototype.push=function(t){return this.__data__.set(t,r),this},Et.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.clear=function(){this.__data__=new kt},Pt.prototype.delete=function(t){return this.__data__.delete(t)},Pt.prototype.get=function(t){return this.__data__.get(t)},Pt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof kt){var r=n.__data__;if(!ht||r.length<199)return r.push([t,e]),this;n=this.__data__=new jt(r)}return n.set(t,e),this};var Yt=function(t){return ot.call(t)};function Ht(t,e){return!!(e=null==e?o:e)&&("number"==typeof t||D.test(t))&&t>-1&&t%1==0&&t<e}function Ut(t,e){if(re(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!le(t))||(S.test(t)||!O.test(t)||null!=e&&t in Object(e))}function Xt(t){return t===t&&!se(t)}function Zt(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(dt&&Yt(new dt(new ArrayBuffer(1)))!=w||ht&&Yt(new ht)!=h||pt&&Yt(pt.resolve())!=C||At&&Yt(new At)!=I||Ct&&Yt(new Ct)!=b)&&(Yt=function(t){var e=ot.call(t),n=e==A?t.constructor:void 0,r=n?Qt(n):void 0;if(r)switch(r){case It:return w;case yt:return h;case mt:return C;case bt:return I;case xt:return b}return e});var qt=te((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(le(t))return St?St.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return _.test(t)&&n.push(""),t.replace(k,(function(t,e,r,i){n.push(r?i.replace(E,"$1"):e||t)})),n}));function Kt(t){if("string"==typeof t||le(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Qt(t){if(null!=t){try{return rt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var Jt,$t=(Jt=function(t,e,n){var r=t?t.length:0;if(!r)return-1;var o=null==n?0:function(t){var e=function(t){return t?(t=function(t){if("number"==typeof t)return t;if(le(t))return s;if(se(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=se(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(j,"");var n=M.test(t);return n||R.test(t)?L(t.slice(2),n?2:8):P.test(t)?s:+t}(t))===i||t===-1/0?(t<0?-1:1)*a:t===t?t:0:0===t?t:0}(t),n=e%1;return e===e?n?e-n:e:0}(n);return o<0&&(o=ft(r+o,0)),function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}(t,Ft(e),o)},function(t,e,n){var r=Object(t);if(!ie(t)){var i=Ft(e);t=ge(t),e=function(t){return i(r[t],t,r)}}var o=Jt(t,e,n);return o>-1?r[i?t[o]:o]:void 0});function te(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(te.Cache||jt),n}function ee(t,e){return t===e||t!==t&&e!==e}function ne(t){return function(t){return ce(t)&&ie(t)}(t)&&it.call(t,"callee")&&(!lt.call(t,"callee")||ot.call(t)==c)}te.Cache=jt;var re=Array.isArray;function ie(t){return null!=t&&ae(t.length)&&!oe(t)}function oe(t){var e=se(t)?ot.call(t):"";return e==d||"[object GeneratorFunction]"==e}function ae(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}function se(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ce(t){return!!t&&"object"==typeof t}function le(t){return"symbol"==typeof t||ce(t)&&ot.call(t)==m}var ue=H?function(t){return function(e){return t(e)}}(H):function(t){return ce(t)&&ae(t.length)&&!!N[ot.call(t)]};function ge(t){return ie(t)?Mt(t):Bt(t)}function fe(t){return t}n.exports=$t}).call(this,n(60),n(129)(t))},function(t,e,n){(function(t,n){var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",u="[object Function]",g="[object Map]",f="[object Number]",d="[object Object]",h="[object Promise]",p="[object RegExp]",A="[object Set]",C="[object String]",v="[object Symbol]",I="[object WeakMap]",y="[object ArrayBuffer]",m="[object DataView]",b=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w[o]=w[a]=w[y]=w[s]=w[m]=w[c]=w[l]=w[u]=w[g]=w[f]=w[d]=w[p]=w[A]=w[C]=w[I]=!1;var O="object"==typeof t&&t&&t.Object===Object&&t,S="object"==typeof self&&self&&self.Object===Object&&self,_=O||S||Function("return this")(),k=e&&!e.nodeType&&e,j=k&&"object"==typeof n&&n&&!n.nodeType&&n,E=j&&j.exports===k,P=E&&O.process,M=function(){try{return P&&P.binding&&P.binding("util")}catch(t){}}(),T=M&&M.isTypedArray;function R(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function D(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function N(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var L,F,B=Array.prototype,z=Function.prototype,V=Object.prototype,G=_["__core-js_shared__"],W=z.toString,Y=V.hasOwnProperty,H=function(){var t=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),U=V.toString,X=RegExp("^"+W.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Z=E?_.Buffer:void 0,q=_.Symbol,K=_.Uint8Array,Q=V.propertyIsEnumerable,J=B.splice,$=q?q.toStringTag:void 0,tt=Object.getOwnPropertySymbols,et=Z?Z.isBuffer:void 0,nt=(L=Object.keys,F=Object,function(t){return L(F(t))}),rt=Pt(_,"DataView"),it=Pt(_,"Map"),ot=Pt(_,"Promise"),at=Pt(_,"Set"),st=Pt(_,"WeakMap"),ct=Pt(Object,"create"),lt=Dt(rt),ut=Dt(it),gt=Dt(ot),ft=Dt(at),dt=Dt(st),ht=q?q.prototype:void 0,pt=ht?ht.valueOf:void 0;function At(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ct(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function vt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function It(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new vt;++e<n;)this.add(t[e])}function yt(t){var e=this.__data__=new Ct(t);this.size=e.size}function mt(t,e){var n=Ft(t),r=!n&&Lt(t),i=!n&&!r&&Bt(t),o=!n&&!r&&!i&&Yt(t),a=n||r||i||o,s=a?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],c=s.length;for(var l in t)!e&&!Y.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Rt(l,c))||s.push(l);return s}function bt(t,e){for(var n=t.length;n--;)if(Nt(t[n][0],e))return n;return-1}function xt(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":$&&$ in Object(t)?function(t){var e=Y.call(t,$),n=t[$];try{t[$]=void 0;var r=!0}catch(o){}var i=U.call(t);r&&(e?t[$]=n:delete t[$]);return i}(t):function(t){return U.call(t)}(t)}function wt(t){return Wt(t)&&xt(t)==o}function Ot(t,e,n,r,i){return t===e||(null==t||null==e||!Wt(t)&&!Wt(e)?t!==t&&e!==e:function(t,e,n,r,i,u){var h=Ft(t),I=Ft(e),b=h?a:Tt(t),x=I?a:Tt(e),w=(b=b==o?d:b)==d,O=(x=x==o?d:x)==d,S=b==x;if(S&&Bt(t)){if(!Bt(e))return!1;h=!0,w=!1}if(S&&!w)return u||(u=new yt),h||Yt(t)?kt(t,e,n,r,i,u):function(t,e,n,r,i,o,a){switch(n){case m:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case y:return!(t.byteLength!=e.byteLength||!o(new K(t),new K(e)));case s:case c:case f:return Nt(+t,+e);case l:return t.name==e.name&&t.message==e.message;case p:case C:return t==e+"";case g:var u=D;case A:var d=1&r;if(u||(u=N),t.size!=e.size&&!d)return!1;var h=a.get(t);if(h)return h==e;r|=2,a.set(t,e);var I=kt(u(t),u(e),r,i,o,a);return a.delete(t),I;case v:if(pt)return pt.call(t)==pt.call(e)}return!1}(t,e,b,n,r,i,u);if(!(1&n)){var _=w&&Y.call(t,"__wrapped__"),k=O&&Y.call(e,"__wrapped__");if(_||k){var j=_?t.value():t,E=k?e.value():e;return u||(u=new yt),i(j,E,n,r,u)}}if(!S)return!1;return u||(u=new yt),function(t,e,n,r,i,o){var a=1&n,s=jt(t),c=s.length,l=jt(e).length;if(c!=l&&!a)return!1;var u=c;for(;u--;){var g=s[u];if(!(a?g in e:Y.call(e,g)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var d=!0;o.set(t,e),o.set(e,t);var h=a;for(;++u<c;){var p=t[g=s[u]],A=e[g];if(r)var C=a?r(A,p,g,e,t,o):r(p,A,g,t,e,o);if(!(void 0===C?p===A||i(p,A,n,r,o):C)){d=!1;break}h||(h="constructor"==g)}if(d&&!h){var v=t.constructor,I=e.constructor;v==I||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof I&&I instanceof I||(d=!1)}return o.delete(t),o.delete(e),d}(t,e,n,r,i,u)}(t,e,n,r,Ot,i))}function St(t){return!(!Gt(t)||function(t){return!!H&&H in t}(t))&&(zt(t)?X:b).test(Dt(t))}function _t(t){if(!function(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||V;return t===n}(t))return nt(t);var e=[];for(var n in Object(t))Y.call(t,n)&&"constructor"!=n&&e.push(n);return e}function kt(t,e,n,r,i,o){var a=1&n,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var u=-1,g=!0,f=2&n?new It:void 0;for(o.set(t,e),o.set(e,t);++u<s;){var d=t[u],h=e[u];if(r)var p=a?r(h,d,u,e,t,o):r(d,h,u,t,e,o);if(void 0!==p){if(p)continue;g=!1;break}if(f){if(!R(e,(function(t,e){if(a=e,!f.has(a)&&(d===t||i(d,t,n,r,o)))return f.push(e);var a}))){g=!1;break}}else if(d!==h&&!i(d,h,n,r,o)){g=!1;break}}return o.delete(t),o.delete(e),g}function jt(t){return function(t,e,n){var r=e(t);return Ft(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,Ht,Mt)}function Et(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function Pt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return St(n)?n:void 0}At.prototype.clear=function(){this.__data__=ct?ct(null):{},this.size=0},At.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},At.prototype.get=function(t){var e=this.__data__;if(ct){var n=e[t];return n===r?void 0:n}return Y.call(e,t)?e[t]:void 0},At.prototype.has=function(t){var e=this.__data__;return ct?void 0!==e[t]:Y.call(e,t)},At.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ct&&void 0===e?r:e,this},Ct.prototype.clear=function(){this.__data__=[],this.size=0},Ct.prototype.delete=function(t){var e=this.__data__,n=bt(e,t);return!(n<0)&&(n==e.length-1?e.pop():J.call(e,n,1),--this.size,!0)},Ct.prototype.get=function(t){var e=this.__data__,n=bt(e,t);return n<0?void 0:e[n][1]},Ct.prototype.has=function(t){return bt(this.__data__,t)>-1},Ct.prototype.set=function(t,e){var n=this.__data__,r=bt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},vt.prototype.clear=function(){this.size=0,this.__data__={hash:new At,map:new(it||Ct),string:new At}},vt.prototype.delete=function(t){var e=Et(this,t).delete(t);return this.size-=e?1:0,e},vt.prototype.get=function(t){return Et(this,t).get(t)},vt.prototype.has=function(t){return Et(this,t).has(t)},vt.prototype.set=function(t,e){var n=Et(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},It.prototype.add=It.prototype.push=function(t){return this.__data__.set(t,r),this},It.prototype.has=function(t){return this.__data__.has(t)},yt.prototype.clear=function(){this.__data__=new Ct,this.size=0},yt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},yt.prototype.get=function(t){return this.__data__.get(t)},yt.prototype.has=function(t){return this.__data__.has(t)},yt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ct){var r=n.__data__;if(!it||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new vt(r)}return n.set(t,e),this.size=n.size,this};var Mt=tt?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}(tt(t),(function(e){return Q.call(t,e)})))}:function(){return[]},Tt=xt;function Rt(t,e){return!!(e=null==e?i:e)&&("number"==typeof t||x.test(t))&&t>-1&&t%1==0&&t<e}function Dt(t){if(null!=t){try{return W.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Nt(t,e){return t===e||t!==t&&e!==e}(rt&&Tt(new rt(new ArrayBuffer(1)))!=m||it&&Tt(new it)!=g||ot&&Tt(ot.resolve())!=h||at&&Tt(new at)!=A||st&&Tt(new st)!=I)&&(Tt=function(t){var e=xt(t),n=e==d?t.constructor:void 0,r=n?Dt(n):"";if(r)switch(r){case lt:return m;case ut:return g;case gt:return h;case ft:return A;case dt:return I}return e});var Lt=wt(function(){return arguments}())?wt:function(t){return Wt(t)&&Y.call(t,"callee")&&!Q.call(t,"callee")},Ft=Array.isArray;var Bt=et||function(){return!1};function zt(t){if(!Gt(t))return!1;var e=xt(t);return e==u||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Vt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function Gt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Wt(t){return null!=t&&"object"==typeof t}var Yt=T?function(t){return function(e){return t(e)}}(T):function(t){return Wt(t)&&Vt(t.length)&&!!w[xt(t)]};function Ht(t){return null!=(e=t)&&Vt(e.length)&&!zt(e)?mt(t):_t(t);var e}n.exports=function(t,e){return Ot(t,e)}}).call(this,n(60),n(129)(t))},function(t,e){t.exports=function(t){return void 0===t}},function(t,e,n){(function(t,n){var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Function]",s="[object Object]",c=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[o]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[a]=u["[object Map]"]=u["[object Number]"]=u[s]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var g="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,d=g||f||Function("return this")(),h=e&&!e.nodeType&&e,p=h&&"object"==typeof n&&n&&!n.nodeType&&n,A=p&&p.exports===h,C=A&&g.process,v=function(){try{var t=p&&p.require&&p.require("util").types;return t||C&&C.binding&&C.binding("util")}catch(e){}}(),I=v&&v.isTypedArray;function y(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var m,b,x=Array.prototype,w=Function.prototype,O=Object.prototype,S=d["__core-js_shared__"],_=w.toString,k=O.hasOwnProperty,j=function(){var t=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),E=O.toString,P=_.call(Object),M=RegExp("^"+_.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),T=A?d.Buffer:void 0,R=d.Symbol,D=d.Uint8Array,N=T?T.allocUnsafe:void 0,L=(m=Object.getPrototypeOf,b=Object,function(t){return m(b(t))}),F=Object.create,B=O.propertyIsEnumerable,z=x.splice,V=R?R.toStringTag:void 0,G=function(){try{var t=dt(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),W=T?T.isBuffer:void 0,Y=Math.max,H=Date.now,U=dt(d,"Map"),X=dt(Object,"create"),Z=function(){function t(){}return function(e){if(!Ot(e))return{};if(F)return F(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function q(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function K(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Q(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function J(t){var e=this.__data__=new K(t);this.size=e.size}function $(t,e){var n=yt(t),r=!n&&It(t),i=!n&&!r&&bt(t),o=!n&&!r&&!i&&_t(t),a=n||r||i||o,s=a?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],c=s.length;for(var l in t)!e&&!k.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ht(l,c))||s.push(l);return s}function tt(t,e,n){(void 0!==n&&!vt(t[e],n)||void 0===n&&!(e in t))&&rt(t,e,n)}function et(t,e,n){var r=t[e];k.call(t,e)&&vt(r,n)&&(void 0!==n||e in t)||rt(t,e,n)}function nt(t,e){for(var n=t.length;n--;)if(vt(t[n][0],e))return n;return-1}function rt(t,e,n){"__proto__"==e&&G?G(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}q.prototype.clear=function(){this.__data__=X?X(null):{},this.size=0},q.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},q.prototype.get=function(t){var e=this.__data__;if(X){var n=e[t];return n===r?void 0:n}return k.call(e,t)?e[t]:void 0},q.prototype.has=function(t){var e=this.__data__;return X?void 0!==e[t]:k.call(e,t)},q.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=X&&void 0===e?r:e,this},K.prototype.clear=function(){this.__data__=[],this.size=0},K.prototype.delete=function(t){var e=this.__data__,n=nt(e,t);return!(n<0)&&(n==e.length-1?e.pop():z.call(e,n,1),--this.size,!0)},K.prototype.get=function(t){var e=this.__data__,n=nt(e,t);return n<0?void 0:e[n][1]},K.prototype.has=function(t){return nt(this.__data__,t)>-1},K.prototype.set=function(t,e){var n=this.__data__,r=nt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new q,map:new(U||K),string:new q}},Q.prototype.delete=function(t){var e=ft(this,t).delete(t);return this.size-=e?1:0,e},Q.prototype.get=function(t){return ft(this,t).get(t)},Q.prototype.has=function(t){return ft(this,t).has(t)},Q.prototype.set=function(t,e){var n=ft(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new K,this.size=0},J.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},J.prototype.get=function(t){return this.__data__.get(t)},J.prototype.has=function(t){return this.__data__.has(t)},J.prototype.set=function(t,e){var n=this.__data__;if(n instanceof K){var r=n.__data__;if(!U||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(t,e),this.size=n.size,this};var it,ot=function(t,e,n){for(var r=-1,i=Object(t),o=n(t),a=o.length;a--;){var s=o[it?a:++r];if(!1===e(i[s],s,i))break}return t};function at(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":V&&V in Object(t)?function(t){var e=k.call(t,V),n=t[V];try{t[V]=void 0;var r=!0}catch(o){}var i=E.call(t);r&&(e?t[V]=n:delete t[V]);return i}(t):function(t){return E.call(t)}(t)}function st(t){return St(t)&&at(t)==o}function ct(t){return!(!Ot(t)||function(t){return!!j&&j in t}(t))&&(xt(t)?M:c).test(function(t){if(null!=t){try{return _.call(t)}catch(e){}try{return t+""}catch(e){}}return""}(t))}function lt(t){if(!Ot(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=pt(t),n=[];for(var r in t)("constructor"!=r||!e&&k.call(t,r))&&n.push(r);return n}function ut(t,e,n,r,i){t!==e&&ot(e,(function(o,a){if(i||(i=new J),Ot(o))!function(t,e,n,r,i,o,a){var c=At(t,n),l=At(e,n),u=a.get(l);if(u)return void tt(t,n,u);var g=o?o(c,l,n+"",t,e,a):void 0,f=void 0===g;if(f){var d=yt(l),h=!d&&bt(l),p=!d&&!h&&_t(l);g=l,d||h||p?yt(c)?g=c:St(A=c)&&mt(A)?g=function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(c):h?(f=!1,g=function(t,e){if(e)return t.slice();var n=t.length,r=N?N(n):new t.constructor(n);return t.copy(r),r}(l,!0)):p?(f=!1,g=function(t,e){var n=e?function(t){var e=new t.constructor(t.byteLength);return new D(e).set(new D(t)),e}(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(l,!0)):g=[]:function(t){if(!St(t)||at(t)!=s)return!1;var e=L(t);if(null===e)return!0;var n=k.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&_.call(n)==P}(l)||It(l)?(g=c,It(c)?g=function(t){return function(t,e,n,r){var i=!n;n||(n={});var o=-1,a=e.length;for(;++o<a;){var s=e[o],c=r?r(n[s],t[s],s,n,t):void 0;void 0===c&&(c=t[s]),i?rt(n,s,c):et(n,s,c)}return n}(t,kt(t))}(c):Ot(c)&&!xt(c)||(g=function(t){return"function"!=typeof t.constructor||pt(t)?{}:Z(L(t))}(l))):f=!1}var A;f&&(a.set(l,g),i(g,l,r,o,a),a.delete(l));tt(t,n,g)}(t,e,a,n,ut,r,i);else{var c=r?r(At(t,a),o,a+"",t,e,i):void 0;void 0===c&&(c=o),tt(t,a,c)}}),kt)}function gt(t,e){return Ct(function(t,e,n){return e=Y(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=Y(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),y(t,this,s)}}(t,e,Pt),t+"")}function ft(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function dt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return ct(n)?n:void 0}function ht(t,e){var n=typeof t;return!!(e=null==e?i:e)&&("number"==n||"symbol"!=n&&l.test(t))&&t>-1&&t%1==0&&t<e}function pt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||O)}function At(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Ct=function(t){var e=0,n=0;return function(){var r=H(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(G?function(t,e){return G(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Pt);function vt(t,e){return t===e||t!==t&&e!==e}var It=st(function(){return arguments}())?st:function(t){return St(t)&&k.call(t,"callee")&&!B.call(t,"callee")},yt=Array.isArray;function mt(t){return null!=t&&wt(t.length)&&!xt(t)}var bt=W||function(){return!1};function xt(t){if(!Ot(t))return!1;var e=at(t);return e==a||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function wt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function Ot(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function St(t){return null!=t&&"object"==typeof t}var _t=I?function(t){return function(e){return t(e)}}(I):function(t){return St(t)&&wt(t.length)&&!!u[at(t)]};function kt(t){return mt(t)?$(t,!0):lt(t)}var jt,Et=(jt=function(t,e,n){ut(t,e,n)},gt((function(t,e){var n=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=jt.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(t,e,n){if(!Ot(n))return!1;var r=typeof e;return!!("number"==r?mt(n)&&ht(e,n.length):"string"==r&&e in n)&&vt(n[e],t)}(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var a=e[n];a&&jt(t,a,n,i)}return t})));function Pt(t){return t}n.exports=Et}).call(this,n(60),n(129)(t))},function(t,e,n){t.exports=n(795)},function(t,e,n){var r=n(796);t.exports=r},function(t,e,n){var r=n(797),i=String.prototype;t.exports=function(t){var e=t.startsWith;return"string"===typeof t||t===i||t instanceof String&&e===i.startsWith?r:e}},function(t,e,n){n(798);var r=n(62);t.exports=r("String").startsWith},function(t,e,n){"use strict";var r=n(26),i=n(180).f,o=n(114),a=n(799),s=n(183),c=n(801),l=n(188),u="".startsWith,g=Math.min,f=c("startsWith");r({target:"String",proto:!0,forced:!(!l&&!f&&!!function(){var t=i(String.prototype,"startsWith");return t&&!t.writable}())&&!f},{startsWith:function(t){var e=String(s(this));a(t);var n=o(g(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return u?u.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){var r=n(800);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(76),i=n(182),o=n(53)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(53)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(i){}}return!1}},function(t,e,n){t.exports=n(803)},function(t,e,n){var r=n(467);t.exports=r},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");e.default=a},function(t,e){function n(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M19 13H5v-2h14v2z"}),"Remove");e.default=a},function(t,e,n){t.exports=n(808)},function(t,e,n){var r=n(809);t.exports=r},function(t,e,n){var r=n(810),i=String.prototype;t.exports=function(t){var e=t.trim;return"string"===typeof t||t===i||t instanceof String&&e===i.trim?r:e}},function(t,e,n){n(811);var r=n(62);t.exports=r("String").trim},function(t,e,n){"use strict";var r=n(26),i=n(487).trim;r({target:"String",proto:!0,forced:n(812)("trim")},{trim:function(){return i(this)}})},function(t,e,n){var r=n(52),i=n(331);t.exports=function(t){return r((function(){return!!i[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||i[t].name!==t}))}},function(t,e,n){t.exports=n(814)},function(t,e,n){var r=n(815);t.exports=r},function(t,e,n){n(816);var r=n(42);t.exports=r.parseInt},function(t,e,n){var r=n(26),i=n(817);r({global:!0,forced:parseInt!=i},{parseInt:i})},function(t,e,n){var r=n(61),i=n(487).trim,o=n(331),a=r.parseInt,s=/^[+-]?0[Xx]/,c=8!==a(o+"08")||22!==a(o+"0x16");t.exports=c?function(t,e){var n=i(String(t));return a(n,e>>>0||(s.test(n)?16:10))}:a},function(t,e,n){var r=n(819),i=n(820),o=n(466),a=n(824);t.exports=function(t,e){return r(t)||i(t,e)||o(t,e)||a()}},function(t,e,n){var r=n(453);t.exports=function(t){if(r(t))return t}},function(t,e,n){var r=n(821),i=n(462),o=n(329);t.exports=function(t,e){if("undefined"!==typeof o&&i(Object(t))){var n=[],a=!0,s=!1,c=void 0;try{for(var l,u=r(t);!(a=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);a=!0);}catch(g){s=!0,c=g}finally{try{a||null==u.return||u.return()}finally{if(s)throw c}}return n}}},function(t,e,n){t.exports=n(822)},function(t,e,n){n(233),n(232);var r=n(823);t.exports=r},function(t,e,n){var r=n(94),i=n(461);t.exports=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){t.exports=n(826)},function(t,e,n){n(827);var r=n(42);t.exports=r.setTimeout},function(t,e,n){var r=n(26),i=n(61),o=n(452),a=[].slice,s=function(t){return function(e,n){var r=arguments.length>2,i=r?a.call(arguments,2):void 0;return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(o)},{setTimeout:s(i.setTimeout),setInterval:s(i.setInterval)})},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}),"Help");e.default=a},function(t,e,n){t.exports=n(830)},function(t,e,n){var r=n(831);t.exports=r},function(t,e,n){n(832);var r=n(42);t.exports=r.Object.entries},function(t,e,n){var r=n(26),i=n(471).entries;r({target:"Object",stat:!0},{entries:function(t){return i(t)}})},function(t,e,n){"use strict";n.r(e);var r=n(535);n.d(e,"DndContext",(function(){return r.a})),n.d(e,"createDndContext",(function(){return r.d})),n.d(e,"DndProvider",(function(){return r.b})),n.d(e,"DragPreviewImage",(function(){return r.c}));var i=n(489);for(var o in i)["default","DndContext","createDndContext","DndProvider","DragPreviewImage"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var a=n(529);n.d(e,"useDrag",(function(){return a.a})),n.d(e,"useDrop",(function(){return a.d})),n.d(e,"useDragLayer",(function(){return a.c})),n.d(e,"useDragDropManager",(function(){return a.b}));var s=n(494);for(var o in s)["default","DndContext","createDndContext","DndProvider","DragPreviewImage","useDrag","useDrop","useDragLayer","useDragDropManager"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(o)},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.default=a},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");e.default=a},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");e.default=a},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"}),"CloudDownload");e.default=a},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"}),"Print");e.default=a},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z"}),"ViewColumn");e.default=a},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList");e.default=a},function(t,e,n){var r,i;"undefined"!=typeof self&&self,t.exports=(r=n(0),i=n(20),function(){"use strict";var t={629:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.useReactToPrint=e.PrintContextConsumer=void 0;var r=n(655),i=n(297),o=n(268),a=Object.prototype.hasOwnProperty.call(i,"createContext"),s=Object.prototype.hasOwnProperty.call(i,"useMemo")&&Object.prototype.hasOwnProperty.call(i,"useCallback"),c=a?i.createContext({}):null;e.PrintContextConsumer=c?c.Consumer:function(){return null};var l={copyStyles:!0,pageStyle:"@page { size: auto; margin: 0mm; } @media print { body { -webkit-print-color-adjust: exact; } }",removeAfterPrint:!1,suppressErrors:!1},u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPrint=function(t){var n=e.props,r=n.onAfterPrint,i=n.onPrintError,o=n.print,a=n.suppressErrors,s=n.documentTitle;setTimeout((function(){if(t.contentWindow){if(t.contentWindow.focus(),o)o(t).then(e.handleRemoveIframe).catch((function(t){i?i("print",t):a||console.error("An error was thrown by the specified `print` function",t)}));else if(t.contentWindow.print){var n=document.title;s&&(document.title=s),t.contentWindow.print(),s&&(document.title=n),r&&r()}else a||console.error("Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes.");e.handleRemoveIframe()}else a||console.error("Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-print`. Please file an issue: https://github.com/gregnb/react-to-print/issues/")}),500)},e.triggerPrint=function(t){var n=e.props,r=n.onBeforePrint,i=n.onPrintError;if(r){var o=r();o&&"function"==typeof o.then?o.then((function(){e.startPrint(t)})).catch((function(t){i&&i("onBeforePrint",t)})):e.startPrint(t)}else e.startPrint(t)},e.handleClick=function(){var t=e.props,n=t.onBeforeGetContent,r=t.onPrintError;if(n){var i=n();i&&"function"==typeof i.then?i.then(e.handlePrint).catch((function(t){r&&r("onBeforeGetContent",t)})):e.handlePrint()}else e.handlePrint()},e.handlePrint=function(){var t=e.props,n=t.bodyClass,i=t.content,a=t.copyStyles,s=t.fonts,c=t.pageStyle,l=t.suppressErrors,u=i();if(void 0!==u)if(null!==u){var g=document.createElement("iframe");g.style.position="absolute",g.style.top="-1000px",g.style.left="-1000px",g.id="printWindow",g.title="Print Window";var f=o.findDOMNode(u);if(f){var d=document.querySelectorAll("link[rel='stylesheet']"),h=f.querySelectorAll("img");e.linkTotal=d.length+h.length,e.linksLoaded=[],e.linksErrored=[],e.fontsLoaded=[],e.fontsErrored=[];var p=function(t,n){n?e.linksLoaded.push(t):(l||console.error('"react-to-print" was unable to load a linked node. It may be invalid. "react-to-print" will continue attempting to print the page. The linked node that errored was:',t),e.linksErrored.push(t)),e.linksLoaded.length+e.linksErrored.length+e.fontsLoaded.length+e.fontsErrored.length===e.linkTotal&&e.triggerPrint(g)};g.onload=function(){var t,i,o,u;g.onload=null;var d=g.contentDocument||(null===(i=g.contentWindow)||void 0===i?void 0:i.document),A=f.querySelectorAll("canvas");if(d){d.body.append(f.cloneNode(!0)),s&&((null===(o=g.contentDocument)||void 0===o?void 0:o.fonts)&&(null===(u=g.contentWindow)||void 0===u?void 0:u.FontFace)?s.forEach((function(t){var n=new FontFace(t.family,t.source);g.contentDocument.fonts.add(n),n.loaded.then((function(t){e.fontsLoaded.push(t)})).catch((function(t){e.fontsErrored.push(n),l||console.error('"react-to-print" was unable to load a font. "react-to-print" will continue attempting to print the page. The font that failed to load is:',n,"The error from loading the font is:",t)}))})):l||console.error('"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API'));var C="function"==typeof c?c():c;if("string"!=typeof C)l||console.error('"react-to-print" expected a "string" from `pageStyle` but received "'+typeof C+'". Styles from `pageStyle` will not be applied.');else{var v=d.createElement("style");v.appendChild(d.createTextNode(C)),d.head.appendChild(v)}n&&(t=d.body.classList).add.apply(t,r.__spread(n.split(" ")));for(var I=d.querySelectorAll("canvas"),y=0,m=I.length;y<m;++y){var b=(L=I[y]).getContext("2d");b&&b.drawImage(A[y],0,0)}for(y=0;y<h.length;y++){var x=h[y],w=x.getAttribute("src");if(w){var O=new Image;O.onload=p.bind(null,x,!0),O.onerror=p.bind(null,x,!1),O.src=w}else l||console.warn('"react-to-print" encountered an <img> tag with an empty "src" attribute. It will not attempt to pre-load it. The <img> is:',x)}var S="input",_=f.querySelectorAll(S),k=d.querySelectorAll(S);for(y=0;y<_.length;y++)k[y].value=_[y].value;var j="input[type=checkbox],input[type=radio]",E=f.querySelectorAll(j),P=d.querySelectorAll(j);for(y=0;y<E.length;y++)P[y].checked=E[y].checked;var M="select",T=f.querySelectorAll(M),R=d.querySelectorAll(M);for(y=0;y<T.length;y++)R[y].value=T[y].value;if(a)for(var D=document.querySelectorAll("style, link[rel='stylesheet']"),N=(y=0,D.length);y<N;++y){var L;if("STYLE"===(L=D[y]).tagName){var F=d.createElement(L.tagName),B=L.sheet;if(B){for(var z="",V=0,G=B.cssRules.length;V<G;++V)"string"==typeof B.cssRules[V].cssText&&(z+=B.cssRules[V].cssText+"\r\n");F.setAttribute("id","react-to-print-"+y),F.appendChild(d.createTextNode(z)),d.head.appendChild(F)}}else if(L.getAttribute("href")){F=d.createElement(L.tagName),V=0;for(var W=L.attributes.length;V<W;++V){var Y=L.attributes[V];Y&&F.setAttribute(Y.nodeName,Y.nodeValue||"")}F.onload=p.bind(null,F,!0),F.onerror=p.bind(null,F,!1),d.head.appendChild(F)}else l||console.warn('"react-to-print" encountered a <link> tag with an empty "href" attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the <link> was not loaded. The <link> is:',L),p(L,!0)}}0!==e.linkTotal&&a||e.triggerPrint(g)},e.handleRemoveIframe(!0),document.body.appendChild(g)}else l||console.error('"react-to-print" could not locate the DOM node corresponding with the `content` prop')}else l||console.error('There is nothing to print because the "content" prop returned "null". Please ensure "content" is renderable before allowing "react-to-print" to be called.');else l||console.error('For "react-to-print" to work only Class based components can be printed.')},e.handleRemoveIframe=function(t){var n=e.props.removeAfterPrint;if(t||n){var r=document.getElementById("printWindow");r&&document.body.removeChild(r)}},e}return r.__extends(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=t.suppressErrors,r=t.trigger;if(r)return i.cloneElement(r(),{onClick:this.handleClick});var o={handlePrint:this.handleClick};return c?c?i.createElement(c.Provider,{value:o},e):i.createElement("h2",null,"lorem"):(n||console.error('"react-to-print" requires React ^16.3.0 to be able to use "PrintContext"'),null)},e.defaultProps=l,e}(i.Component);e.default=u,e.useReactToPrint=s?function(t){var e=i.useMemo((function(){return new u(r.__assign(r.__assign({},l),t))}),[t]);return i.useCallback((function(){return e.handleClick()}),[e])}:function(t){t.suppressErrors||console.warn('"react-to-print" requires React ^16.8.0 to be able to use "useReactToPrint"')}},655:function(t,e,n){n.r(e),n.d(e,{__extends:function(){return i},__assign:function(){return o},__rest:function(){return a},__decorate:function(){return s},__param:function(){return c},__metadata:function(){return l},__awaiter:function(){return u},__generator:function(){return g},__exportStar:function(){return f},__values:function(){return d},__read:function(){return h},__spread:function(){return p},__spreadArrays:function(){return A},__await:function(){return C},__asyncGenerator:function(){return v},__asyncDelegator:function(){return I},__asyncValues:function(){return y},__makeTemplateObject:function(){return m},__importStar:function(){return b},__importDefault:function(){return x},__classPrivateFieldGet:function(){return w},__classPrivateFieldSet: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){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){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).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){var i=0;for(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,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function c(t,e){return function(n,r){e(n,r,t)}}function l(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))}function g(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function f(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}function d(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 h(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function p(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function A(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(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 C(t){return this instanceof C?(this.v=t,this):new C(t)}function v(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){i[t]&&(r[t]=function(e){return new Promise((function(n,r){o.push([t,e,n,r])>1||s(t,e)}))})}function s(t,e){try{(n=i[t](e)).value instanceof C?Promise.resolve(n.value.v).then(c,l):u(o[0][2],n)}catch(t){u(o[0][3],t)}var n}function c(t){s("next",t)}function l(t){s("throw",t)}function u(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function I(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:C(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function y(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){!function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)}(r,i,(e=t[n](e)).done,e.value)}))}}}function m(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function b(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function x(t){return t&&t.__esModule?t:{default:t}}function w(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function O(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},297:function(t){t.exports=r},268:function(t){t.exports=i}},e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}return n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n(629)}())},function(t,e,n){"use strict";var r=n(77),i=n(87);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(0)),a=(0,r(n(88)).default)(o.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");e.default=a},,function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}},function(t,e,n){var r=n(245);t.exports=function(t,e){var n=!0;return r(t,(function(t,r,i){return n=!!e(t,r,i)})),n}},function(t,e,n){var r=n(847)();t.exports=r},function(t,e){t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var c=a[t?s:++i];if(!1===n(o[c],c,o))break}return e}}},function(t,e,n){var r=n(849),i=n(332),o=n(21),a=n(499),s=n(333),c=n(500),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),u=!n&&i(t),g=!n&&!u&&a(t),f=!n&&!u&&!g&&c(t),d=n||u||g||f,h=d?r(t.length,String):[],p=h.length;for(var A in t)!e&&!l.call(t,A)||d&&("length"==A||g&&("offset"==A||"parent"==A)||f&&("buffer"==A||"byteLength"==A||"byteOffset"==A)||s(A,p))||h.push(A);return h}},function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},function(t,e,n){var r=n(133),i=n(116);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},function(t,e,n){var r=n(201),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(c){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(133),i=n(334),o=n(116),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},function(t,e,n){(function(t){var r=n(498),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=s}).call(this,n(129)(t))},function(t,e,n){var r=n(857),i=n(858),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var r=n(859)(Object.keys,Object);t.exports=r},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var r=n(149);t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,s=Object(n);(e?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},function(t,e,n){var r=n(862),i=n(904),o=n(509);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},function(t,e,n){var r=n(501),i=n(339);t.exports=function(t,e,n,o){var a=n.length,s=a,c=!o;if(null==t)return!s;for(t=Object(t);a--;){var l=n[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var u=(l=n[a])[0],g=t[u],f=l[1];if(c&&l[2]){if(void 0===g&&!(u in t))return!1}else{var d=new r;if(o)var h=o(g,f,u,t,e,d);if(!(void 0===h?i(f,g,3,o,d):h))return!1}}return!0}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(248),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)}},function(t,e,n){var r=n(248);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var r=n(248);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,e,n){var r=n(248);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},function(t,e,n){var r=n(247);t.exports=function(){this.__data__=new r,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(247),i=n(337),o=n(338);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},function(t,e,n){var r=n(14),i=n(874),o=n(56),a=n(502),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,g=l.hasOwnProperty,f=RegExp("^"+u.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?f:s).test(a(t))}},function(t,e,n){var r=n(875),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!i&&i in t}},function(t,e,n){var r=n(96)["__core-js_shared__"];t.exports=r},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){var r=n(878),i=n(247),o=n(337);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(t,e,n){var r=n(879),i=n(880),o=n(881),a=n(882),s=n(883);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e,n){var r=n(249);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var r=n(249),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},function(t,e,n){var r=n(249),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},function(t,e,n){var r=n(249);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,n){var r=n(250);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var r=n(250);t.exports=function(t){return r(this,t).get(t)}},function(t,e,n){var r=n(250);t.exports=function(t){return r(this,t).has(t)}},function(t,e,n){var r=n(250);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},function(t,e,n){var r=n(501),i=n(503),o=n(892),a=n(895),s=n(900),c=n(21),l=n(499),u=n(500),g="[object Arguments]",f="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,p,A,C){var v=c(t),I=c(e),y=v?f:s(t),m=I?f:s(e),b=(y=y==g?d:y)==d,x=(m=m==g?d:m)==d,w=y==m;if(w&&l(t)){if(!l(e))return!1;v=!0,b=!1}if(w&&!b)return C||(C=new r),v||u(t)?i(t,e,n,p,A,C):o(t,e,y,n,p,A,C);if(!(1&n)){var O=b&&h.call(t,"__wrapped__"),S=x&&h.call(e,"__wrapped__");if(O||S){var _=O?t.value():t,k=S?e.value():e;return C||(C=new r),A(_,k,n,p,C)}}return!!w&&(C||(C=new r),a(t,e,n,p,A,C))}},function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(201),i=n(893),o=n(336),a=n(503),s=n(894),c=n(342),l=r?r.prototype:void 0,u=l?l.valueOf:void 0;t.exports=function(t,e,n,r,l,g,f){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!g(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var h=1&r;if(d||(d=c),t.size!=e.size&&!h)return!1;var p=f.get(t);if(p)return p==e;r|=2,f.set(t,e);var A=a(d(t),d(e),r,l,g,f);return f.delete(t),A;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},function(t,e,n){var r=n(96).Uint8Array;t.exports=r},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},function(t,e,n){var r=n(896),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var c=1&n,l=r(t),u=l.length;if(u!=r(e).length&&!c)return!1;for(var g=u;g--;){var f=l[g];if(!(c?f in e:i.call(e,f)))return!1}var d=s.get(t),h=s.get(e);if(d&&h)return d==e&&h==t;var p=!0;s.set(t,e),s.set(e,t);for(var A=c;++g<u;){var C=t[f=l[g]],v=e[f];if(o)var I=c?o(v,C,f,e,t,s):o(C,v,f,t,e,s);if(!(void 0===I?C===v||a(C,v,n,o,s):I)){p=!1;break}A||(A="constructor"==f)}if(p&&!A){var y=t.constructor,m=e.constructor;y==m||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m||(p=!1)}return s.delete(t),s.delete(e),p}},function(t,e,n){var r=n(897),i=n(898),o=n(246);t.exports=function(t){return r(t,o,i)}},function(t,e,n){var r=n(505),i=n(21);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},function(t,e,n){var r=n(506),i=n(899),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},function(t,e){t.exports=function(){return[]}},function(t,e,n){var r=n(901),i=n(337),o=n(902),a=n(507),s=n(903),c=n(133),l=n(502),u="[object Map]",g="[object Promise]",f="[object Set]",d="[object WeakMap]",h="[object DataView]",p=l(r),A=l(i),C=l(o),v=l(a),I=l(s),y=c;(r&&y(new r(new ArrayBuffer(1)))!=h||i&&y(new i)!=u||o&&y(o.resolve())!=g||a&&y(new a)!=f||s&&y(new s)!=d)&&(y=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?l(n):"";if(r)switch(r){case p:return h;case A:return u;case C:return g;case v:return f;case I:return d}return e}),t.exports=y},function(t,e,n){var r=n(134)(n(96),"DataView");t.exports=r},function(t,e,n){var r=n(134)(n(96),"Promise");t.exports=r},function(t,e,n){var r=n(134)(n(96),"WeakMap");t.exports=r},function(t,e,n){var r=n(508),i=n(246);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},function(t,e,n){var r=n(339),i=n(51),o=n(910),a=n(344),s=n(508),c=n(509),l=n(251);t.exports=function(t,e){return a(t)&&s(e)?c(l(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},function(t,e,n){var r=n(907),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)})),e}));t.exports=a},function(t,e,n){var r=n(908);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},function(t,e,n){var r=n(338);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},function(t,e,n){var r=n(201),i=n(202),o=n(21),a=n(150),s=r?r.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},function(t,e,n){var r=n(911),i=n(912);t.exports=function(t,e){return null!=t&&i(t,e,r)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,n){var r=n(510),i=n(332),o=n(21),a=n(333),s=n(334),c=n(251);t.exports=function(t,e,n){for(var l=-1,u=(e=r(e,t)).length,g=!1;++l<u;){var f=c(e[l]);if(!(g=null!=t&&n(t,f)))break;t=t[f]}return g||++l!=u?g:!!(u=null==t?0:t.length)&&s(u)&&a(f,u)&&(o(t)||i(t))}},function(t,e,n){var r=n(914),i=n(915),o=n(344),a=n(251);t.exports=function(t){return o(t)?r(a(t)):i(t)}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e,n){var r=n(343);t.exports=function(t){return function(e){return r(e,t)}}},function(t,e,n){var r=n(106),i=n(149),o=n(246);t.exports=function(t){return function(e,n,a){var s=Object(e);if(!i(e)){var c=r(n,3);e=o(e),n=function(t){return c(s[t],t,s)}}var l=t(e,n,a);return l>-1?s[c?e[l]:l]:void 0}}},function(t,e,n){var r=n(512),i=n(106),o=n(918),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var c=null==n?0:o(n);return c<0&&(c=a(s+c,0)),r(t,i(e,3),c)}},function(t,e,n){var r=n(513);t.exports=function(t){var e=r(t),n=e%1;return e===e?n?e-n:e:0}},function(t,e,n){var r=n(56),i=n(920),o=n(514),a=Math.max,s=Math.min;t.exports=function(t,e,n){var c,l,u,g,f,d,h=0,p=!1,A=!1,C=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function v(e){var n=c,r=l;return c=l=void 0,h=e,g=t.apply(r,n)}function I(t){return h=t,f=setTimeout(m,e),p?v(t):g}function y(t){var n=t-d;return void 0===d||n>=e||n<0||A&&t-h>=u}function m(){var t=i();if(y(t))return b(t);f=setTimeout(m,function(t){var n=e-(t-d);return A?s(n,u-(t-h)):n}(t))}function b(t){return f=void 0,C&&c?v(t):(c=l=void 0,g)}function x(){var t=i(),n=y(t);if(c=arguments,l=this,d=t,n){if(void 0===f)return I(d);if(A)return clearTimeout(f),f=setTimeout(m,e),v(d)}return void 0===f&&(f=setTimeout(m,e)),g}return e=o(e)||0,r(n)&&(p=!!n.leading,u=(A="maxWait"in n)?a(o(n.maxWait)||0,e):u,C="trailing"in n?!!n.trailing:C),x.cancel=function(){void 0!==f&&clearTimeout(f),h=0,c=d=l=f=void 0},x.flush=function(){return void 0===f?g:b(i())},x}},function(t,e,n){var r=n(96);t.exports=function(){return r.Date.now()}},function(t,e,n){var r=n(201),i=n(332),o=n(21),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},function(t,e,n){var r=n(202),i=n(343),o=n(106),a=n(515),s=n(923),c=n(335),l=n(924),u=n(151),g=n(21);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return g(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[u];var f=-1;e=r(e,c(o));var d=a(t,(function(t,n,i){return{criteria:r(e,(function(e){return e(t)})),index:++f,value:t}}));return s(d,(function(t,e){return l(t,e,n)}))}},function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},function(t,e,n){var r=n(925);t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,c=n.length;++i<s;){var l=r(o[i],a[i]);if(l)return i>=c?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}},function(t,e,n){var r=n(150);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t===t,a=r(t),s=void 0!==e,c=null===e,l=e===e,u=r(e);if(!c&&!u&&!a&&t>e||a&&s&&l&&!c&&!u||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!u&&t<e||u&&n&&o&&!i&&!a||c&&n&&o||!s&&o||!l)return-1}return 0}},function(t,e,n){var r=n(927),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),c=Array(s);++a<s;)c[a]=o[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=o[a];return l[e]=n(c),r(t,this,l)}}},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e,n){var r=n(929),i=n(931)(r);t.exports=i},function(t,e,n){var r=n(930),i=n(517),o=n(151),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=a},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,n){var r=n(933),i=n(252),o=n(513);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e<n?1:-1:o(a),r(e,n,a,t)}}},function(t,e){var n=Math.ceil,r=Math.max;t.exports=function(t,e,i,o){for(var a=-1,s=r(n((e-t)/(i||1)),0),c=Array(s);s--;)c[o?s:++a]=t,t+=i;return c}},function(t,e,n){var r=n(935),i=n(518),o=n(937),a=n(511);t.exports=function(t){return function(e){e=a(e);var n=i(e)?o(e):void 0,s=n?n[0]:e.charAt(0),c=n?r(n,1).join(""):e.slice(1);return s[t]()+c}}},function(t,e,n){var r=n(936);t.exports=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:r(t,e,n)}},function(t,e){t.exports=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}},function(t,e,n){var r=n(938),i=n(518),o=n(939);t.exports=function(t){return i(t)?o(t):r(t)}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+i+")"+"?",l="[\\ufe0e\\ufe0f]?",u=l+c+("(?:\\u200d(?:"+[o,a,s].join("|")+")"+l+c+")*"),g="(?:"+[o+r+"?",r,a,s,n].join("|")+")",f=RegExp(i+"(?="+i+")|"+g+u,"g");t.exports=function(t){return t.match(f)||[]}},function(t,e){t.exports=function(t,e){return t>e}},function(t,e){t.exports=function(t,e){return t<e}},function(t,e,n){var r=n(202),i=n(106),o=n(515),a=n(21);t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTickValuesFixedDomain=e.getTickValues=e.getNiceTickValues=void 0;var r=a(n(520)),i=n(521),o=a(n(944));function a(t){return t&&t.__esModule?t:{default:t}}function s(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function l(t){var e=c(t,2),n=e[0],r=e[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function u(t,e,n){if(t.lte(0))return new r.default(0);var i=o.default.getDigitCount(t.toNumber()),a=new r.default(10).pow(i),s=t.div(a),c=1!==i?.05:.1,l=new r.default(Math.ceil(s.div(c).toNumber())).add(n).mul(c).mul(a);return e?l:new r.default(Math.ceil(l))}function g(t,e,n){var a=1,s=new r.default(t);if(!s.isint()&&n){var c=Math.abs(t);c<1?(a=new r.default(10).pow(o.default.getDigitCount(t)-1),s=new r.default(Math.floor(s.div(a).toNumber())).mul(a)):c>1&&(s=new r.default(Math.floor(t)))}else 0===t?s=new r.default(Math.floor((e-1)/2)):n||(s=new r.default(Math.floor(t)));var l=Math.floor((e-1)/2);return(0,i.compose)((0,i.map)((function(t){return s.add(new r.default(t-l).mul(a)).toNumber()})),i.range)(0,e)}function f(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(n-1)))return{step:new r.default(0),tickMin:new r.default(0),tickMax:new r.default(0)};var a,s=u(new r.default(e).sub(t).div(n-1),i,o);a=t<=0&&e>=0?new r.default(0):(a=new r.default(t).add(e).div(2)).sub(new r.default(a).mod(s));var c=Math.ceil(a.sub(t).div(s).toNumber()),l=Math.ceil(new r.default(e).sub(a).div(s).toNumber()),g=c+l+1;return g>n?f(t,e,n,i,o+1):(g<n&&(l=e>0?l+(n-g):l,c=e>0?c:c+(n-g)),{step:s,tickMin:a.sub(new r.default(c).mul(s)),tickMax:a.add(new r.default(l).mul(s))})}var d=(0,i.memoize)((function(t){var e=c(t,2),n=e[0],a=e[1],u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,d=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],h=Math.max(u,2),p=l([n,a]),A=c(p,2),C=A[0],v=A[1];if(C===-1/0||v===1/0){var I=v===1/0?[C].concat(s((0,i.range)(0,u-1).map((function(){return 1/0})))):s((0,i.range)(0,u-1).map((function(){return-1/0}))).concat([v]);return n>a?(0,i.reverse)(I):I}if(C===v)return g(C,u,d);var y=f(C,v,h,d),m=y.step,b=y.tickMin,x=y.tickMax,w=o.default.rangeStep(b,x.add(new r.default(.1).mul(m)),m);return n>a?(0,i.reverse)(w):w}));e.getNiceTickValues=d;var h=(0,i.memoize)((function(t){var e=c(t,2),n=e[0],o=e[1],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],f=Math.max(a,2),d=l([n,o]),h=c(d,2),p=h[0],A=h[1];if(p===-1/0||A===1/0)return[n,o];if(p===A)return g(p,a,s);var C=u(new r.default(A).sub(p).div(f-1),s,0),v=(0,i.compose)((0,i.map)((function(t){return new r.default(p).add(new r.default(t).mul(C)).toNumber()})),i.range),I=v(0,f).filter((function(t){return t>=p&&t<=A}));return n>o?(0,i.reverse)(I):I}));e.getTickValues=h;var p=(0,i.memoize)((function(t,e){var n=c(t,2),a=n[0],g=n[1],f=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],d=l([a,g]),h=c(d,2),p=h[0],A=h[1];if(p===-1/0||A===1/0)return[a,g];if(p===A)return[p];var C=Math.max(e,2),v=u(new r.default(A).sub(p).div(C-1),f,0),I=s(o.default.rangeStep(new r.default(p),new r.default(A).sub(new r.default(.99).mul(v)),v)).concat([A]);return a>g?(0,i.reverse)(I):I}));e.getTickValuesFixedDomain=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n(520))&&r.__esModule?r:{default:r},o=n(521);var a={rangeStep:function(t,e,n){for(var r=new i.default(t),o=0,a=[];r.lt(e)&&o<1e5;)a.push(r.toNumber()),r=r.add(n),o++;return a},getDigitCount:function(t){return 0===t?1:Math.floor(new i.default(t).abs().log(10).toNumber())+1},interpolateNumber:(0,o.curry)((function(t,e,n){var r=+t;return r+n*(+e-r)})),uninterpolateNumber:(0,o.curry)((function(t,e,n){var r=e-+t;return(n-t)/(r=r||1/0)})),uninterpolateTruncation:(0,o.curry)((function(t,e,n){var r=e-+t;return r=r||1/0,Math.max(0,Math.min(1,(n-t)/r))}))};e.default=a},function(t,e,n){var r=n(340),i=n(522),o=n(523),a=n(341),s=n(949),c=n(342);t.exports=function(t,e,n){var l=-1,u=i,g=t.length,f=!0,d=[],h=d;if(n)f=!1,u=o;else if(g>=200){var p=e?null:s(t);if(p)return c(p);f=!1,u=a,h=new r}else h=e?[]:d;t:for(;++l<g;){var A=t[l],C=e?e(A):A;if(A=n||0!==A?A:0,f&&C===C){for(var v=h.length;v--;)if(h[v]===C)continue t;e&&h.push(C),d.push(A)}else u(h,C,n)||(h!==d&&h.push(C),d.push(A))}return d}},function(t,e,n){var r=n(512),i=n(947),o=n(948);t.exports=function(t,e,n){return e===e?o(t,e,n):r(t,i,n)}},function(t,e){t.exports=function(t){return t!==t}},function(t,e){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}},function(t,e,n){var r=n(507),i=n(950),o=n(342),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(245);t.exports=function(t,e){var n;return r(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}},function(t,e,n){var r=n(517);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(954),i=n(955),o=n(956);function a(t){return this instanceof a?(this.nodes=r(t),this):new a(t)}a.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""},a.prototype.walk=function(t,e){return i(this.nodes,t,e),this},a.unit=n(957),a.walk=i,a.stringify=o,t.exports=a},function(t,e){var n="(".charCodeAt(0),r=")".charCodeAt(0),i="'".charCodeAt(0),o='"'.charCodeAt(0),a="\\".charCodeAt(0),s="/".charCodeAt(0),c=",".charCodeAt(0),l=":".charCodeAt(0),u="*".charCodeAt(0);t.exports=function(t){for(var e,g,f,d,h,p,A,C,v=[],I=t,y=0,m=I.charCodeAt(y),b=I.length,x=[{nodes:v}],w=0,O="",S="",_="";y<b;)if(m<=32){e=y;do{e+=1,m=I.charCodeAt(e)}while(m<=32);d=I.slice(y,e),f=v[v.length-1],m===r&&w?_=d:f&&"div"===f.type?f.after=d:m===c||m===l||m===s&&I.charCodeAt(e+1)!==u?S=d:v.push({type:"space",sourceIndex:y,value:d}),y=e}else if(m===i||m===o){e=y,d={type:"string",sourceIndex:y,quote:g=m===i?"'":'"'};do{if(h=!1,~(e=I.indexOf(g,e+1)))for(p=e;I.charCodeAt(p-1)===a;)p-=1,h=!h;else e=(I+=g).length-1,d.unclosed=!0}while(h);d.value=I.slice(y+1,e),v.push(d),y=e+1,m=I.charCodeAt(y)}else if(m===s&&I.charCodeAt(y+1)===u)d={type:"comment",sourceIndex:y},-1===(e=I.indexOf("*/",y))&&(d.unclosed=!0,e=I.length),d.value=I.slice(y+2,e),v.push(d),y=e+2,m=I.charCodeAt(y);else if(m===s||m===c||m===l)d=I[y],v.push({type:"div",sourceIndex:y-S.length,value:d,before:S,after:""}),S="",y+=1,m=I.charCodeAt(y);else if(n===m){e=y;do{e+=1,m=I.charCodeAt(e)}while(m<=32);if(d={type:"function",sourceIndex:y-O.length,value:O,before:I.slice(y+1,e)},y=e,"url"===O&&m!==i&&m!==o){e-=1;do{if(h=!1,~(e=I.indexOf(")",e+1)))for(p=e;I.charCodeAt(p-1)===a;)p-=1,h=!h;else e=(I+=")").length-1,d.unclosed=!0}while(h);A=e;do{A-=1,m=I.charCodeAt(A)}while(m<=32);d.nodes=y!==A+1?[{type:"word",sourceIndex:y,value:I.slice(y,A+1)}]:[],d.unclosed&&A+1!==e?(d.after="",d.nodes.push({type:"space",sourceIndex:A+1,value:I.slice(A+1,e)})):d.after=I.slice(A+1,e),y=e+1,m=I.charCodeAt(y),v.push(d)}else w+=1,d.after="",v.push(d),x.push(d),v=d.nodes=[],C=d;O=""}else if(r===m&&w)y+=1,m=I.charCodeAt(y),C.after=_,_="",w-=1,x.pop(),v=(C=x[w]).nodes;else{e=y;do{m===a&&(e+=1),e+=1,m=I.charCodeAt(e)}while(e<b&&!(m<=32||m===i||m===o||m===c||m===l||m===s||m===n||m===r&&w));d=I.slice(y,e),n===m?O=d:v.push({type:"word",sourceIndex:y,value:d}),y=e}for(y=x.length-1;y;y-=1)x[y].unclosed=!0;return x[0].nodes}},function(t,e){t.exports=function t(e,n,r){var i,o,a,s;for(i=0,o=e.length;i<o;i+=1)a=e[i],r||(s=n(a,i,e)),!1!==s&&"function"===a.type&&Array.isArray(a.nodes)&&t(a.nodes,n,r),r&&n(a,i,e)}},function(t,e){function n(t,e){var n,i,o=t.type,a=t.value;return e&&void 0!==(i=e(t))?i:"word"===o||"space"===o?a:"string"===o?(n=t.quote||"")+a+(t.unclosed?"":n):"comment"===o?"/*"+a+(t.unclosed?"":"*/"):"div"===o?(t.before||"")+a+(t.after||""):Array.isArray(t.nodes)?(n=r(t.nodes),"function"!==o?n:a+"("+(t.before||"")+n+(t.after||"")+(t.unclosed?"":")")):a}function r(t,e){var r,i;if(Array.isArray(t)){for(r="",i=t.length-1;~i;i-=1)r=n(t[i],e)+r;return r}return n(t,e)}t.exports=r},function(t,e){var n="-".charCodeAt(0),r="+".charCodeAt(0),i=".".charCodeAt(0),o="e".charCodeAt(0),a="E".charCodeAt(0);t.exports=function(t){for(var e,s=0,c=t.length,l=!1,u=-1,g=!1;s<c;){if((e=t.charCodeAt(s))>=48&&e<=57)g=!0;else if(e===o||e===a){if(u>-1)break;u=s}else if(e===i){if(l)break;l=!0}else{if(e!==r&&e!==n)break;if(0!==s)break}s+=1}return u+1===s&&s--,!!g&&{number:t.slice(0,s),unit:t.slice(s)}}},function(t,e,n){var r=function(){function t(t,e){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var r=e.exception;this.message=r.message||t,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(t).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}function e(t,e,n){n=n||0;for(var r=0;r<e;r++)this.push(t),t+=n}function n(t,e){for(e+=t=this.length-t;t<e;t++)this.push(this[t])}function r(t){for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n];"function"===typeof i?(n++,i.apply(e,t[n])):e.push(i)}return e}"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonParserError";var i={trace:function(){},JisonParserError:t,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(t){return'"'+t+'"'},getSymbolName:function(t){if(this.terminals_[t])return this.terminals_[t];var e=this.symbols_;for(var n in e)if(e[n]===t)return n;return null},describeSymbol:function(t){if(t!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[t])return this.terminal_descriptions_[t];if(t===this.EOF)return"end of input";var e=this.getSymbolName(t);return e?this.quoteName(e):null},collect_expected_token_set:function(t,e){var n=this.TERROR,r=[],i={};if(!e&&this.state_descriptions_&&this.state_descriptions_[t])return[this.state_descriptions_[t]];for(var o in this.table[t])if((o=+o)!==n){var a=e?o:this.describeSymbol(o);a&&!i[a]&&(r.push(a),i[a]=!0)}return r},productions_:function(t){for(var e=[],n=t.pop,r=t.rule,i=0,o=n.length;i<o;i++)e.push([n[i],r[i]]);return e}({pop:r([29,e,[30,10],31,31,32,32,e,[33,15]]),rule:r([2,e,[3,5],4,7,e,[1,4],2,4,6,e,[1,14],2])}),performAction:function(t,e,n){var r=this.yy;r.parser,r.lexer;switch(t){case 0:this.$=n[e-1];break;case 1:return this.$=n[e-1],n[e-1];case 2:case 3:case 4:case 5:this.$={type:"MathExpression",operator:n[e-1],left:n[e-2],right:n[e]};break;case 6:this.$=n[e-1];break;case 7:this.$={type:"Calc",value:n[e-1]};break;case 8:this.$={type:"Calc",value:n[e-1],prefix:n[e-5]};break;case 9:case 10:case 11:this.$=n[e];break;case 12:this.$={type:"Value",value:parseFloat(n[e])};break;case 13:this.$={type:"Value",value:-1*parseFloat(n[e])};break;case 14:this.$={type:"CssVariable",value:n[e-1]};break;case 15:this.$={type:"CssVariable",value:n[e-3],fallback:n[e-1]};break;case 16:this.$={type:"LengthValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 17:this.$={type:"AngleValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 18:this.$={type:"TimeValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 19:this.$={type:"FrequencyValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 20:this.$={type:"ResolutionValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 21:this.$={type:"EmValue",value:parseFloat(n[e]),unit:"em"};break;case 22:this.$={type:"ExValue",value:parseFloat(n[e]),unit:"ex"};break;case 23:this.$={type:"ChValue",value:parseFloat(n[e]),unit:"ch"};break;case 24:this.$={type:"RemValue",value:parseFloat(n[e]),unit:"rem"};break;case 25:this.$={type:"VhValue",value:parseFloat(n[e]),unit:"vh"};break;case 26:this.$={type:"VwValue",value:parseFloat(n[e]),unit:"vw"};break;case 27:this.$={type:"VminValue",value:parseFloat(n[e]),unit:"vmin"};break;case 28:this.$={type:"VmaxValue",value:parseFloat(n[e]),unit:"vmax"};break;case 29:this.$={type:"PercentageValue",value:parseFloat(n[e]),unit:"%"};break;case 30:var i=n[e];i.value*=-1,this.$=i}},table:function(t){for(var e=[],n=t.len,r=t.symbol,i=t.type,o=t.state,a=t.mode,s=t.goto,c=0,l=n.length;c<l;c++){for(var u=n[c],g={},f=0;f<u;f++){var d=r.shift();switch(i.shift()){case 2:g[d]=[a.shift(),s.shift()];break;case 0:g[d]=o.shift();break;default:g[d]=[3]}}e.push(g)}return e}({len:r([24,1,5,23,1,18,e,[0,3],1,e,[0,16],e,[23,4],n,[28,3],0,0,16,1,6,6,e,[0,3],5,1,2,n,[37,3],n,[20,3],5,0,0]),symbol:r([4,7,9,11,12,e,[15,19,1],1,1,e,[3,4,1],n,[30,19],n,[29,4],7,4,10,11,n,[22,14],n,[19,3],n,[43,22],n,[23,69],n,[139,4],8,n,[51,24],4,n,[138,15],13,n,[186,5],8,n,[6,6],n,[5,5],9,8,14,n,[159,47],n,[60,10]]),type:r([e,[2,19],e,[0,5],1,e,[2,24],e,[0,4],n,[22,19],n,[43,42],n,[23,70],n,[28,25],n,[45,25],n,[113,54]]),state:r([1,2,8,6,7,30,n,[4,3],33,37,n,[5,3],38,n,[4,3],39,n,[4,3],40,n,[4,3],42,n,[21,4],50,n,[5,3],51,n,[4,3]]),mode:r([e,[1,179],e,[2,3],n,[5,5],n,[6,4],e,[1,57]]),goto:r([5,3,4,24,e,[9,15,1],e,[25,5,1],n,[24,19],31,35,32,34,n,[18,14],36,n,[38,19],n,[19,57],n,[118,4],41,n,[24,19],43,35,n,[16,14],44,e,[2,3],28,29,2,e,[3,3],28,29,3,n,[53,4],e,[45,5,1],n,[100,42],52,n,[5,4],53])}),defaultActions:function(t){for(var e={},n=t.idx,r=t.goto,i=0,o=n.length;i<o;i++){e[n[i]]=r[i]}return e}({idx:r([6,7,8,e,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:r([9,10,11,e,[16,14,1],12,1,30,13,e,[4,4,1],14,15,8])}),parseError:function(t,e,n){if(!e.recoverable)throw"function"===typeof this.trace&&this.trace(t),n||(n=this.JisonParserError),new n(t,e);"function"===typeof this.trace&&this.trace(t),e.destroy()},parse:function(t){var e,n=this,r=new Array(128),i=new Array(128),o=new Array(128),a=this.table,s=0,c=0,l=(this.TERROR,this.EOF),u=(this.options.errorRecoveryTokenDiscardCount,[0,54]);e=this.__lexer__?this.__lexer__:this.__lexer__=Object.create(this.lexer);var g={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0};function f(){var t=e.fastLex();return"number"!==typeof t&&(t=n.symbols_[t]||t),t||l}"function"!==typeof assert||assert,this.yyGetSharedState=function(){return g},function(t,e){for(var n in e)"undefined"===typeof t[n]&&Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}(g,this.yy),g.lexer=e,g.parser=this,"function"===typeof g.parseError?this.parseError=function(t,e,n){return n||(n=this.JisonParserError),g.parseError.call(this,t,e,n)}:this.parseError=this.originalParseError,"function"===typeof g.quoteName?this.quoteName=function(t){return g.quoteName.call(this,t)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(t,n,a){var c,l;n&&((g.post_parse||this.post_parse)&&(l=this.constructParseErrorInfo(null,null,null,!1)),g.post_parse&&"undefined"!==typeof(c=g.post_parse.call(this,g,t,l))&&(t=c),this.post_parse&&"undefined"!==typeof(c=this.post_parse.call(this,g,t,l))&&(t=c),l&&l.destroy&&l.destroy());if(this.__reentrant_call_depth>1)return t;if(e.cleanupAfterLex&&e.cleanupAfterLex(a),g&&(g.lexer=void 0,g.parser=void 0,e.yy===g&&(e.yy=void 0)),g=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,r.length=0,i.length=0,o.length=0,s=0,!a){for(var u=this.__error_infos.length-1;u>=0;u--){var f=this.__error_infos[u];f&&"function"===typeof f.destroy&&f.destroy()}this.__error_infos.length=0}return t},this.constructParseErrorInfo=function(t,n,a,l){var u={errStr:t,exception:n,text:e.match,value:e.yytext,token:this.describeSymbol(c)||c,token_id:c,line:e.yylineno,expected:a,recoverable:l,state:d,action:h,new_state:y,symbol_stack:r,state_stack:i,value_stack:o,stack_pointer:s,yy:g,lexer:e,parser:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"===typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(u),u};var d,h,p,A,C,v,I,y,m=function(){var t=e.lex();return"number"!==typeof t&&(t=n.symbols_[t]||t),t||l},b={$:!0,_$:void 0,yy:g},x=!1;try{if(this.__reentrant_call_depth++,e.setInput(t,g),"function"===typeof e.canIUse)e.canIUse().fastLex&&(m=f);for(o[s]=null,i[s]=0,r[s]=0,++s,this.pre_parse&&this.pre_parse.call(this,g),g.pre_parse&&g.pre_parse.call(this,g),y=i[s-1];;){if(d=y,this.defaultActions[d])h=2,y=this.defaultActions[d];else if(c||(c=m()),A=a[d]&&a[d][c]||u,y=A[1],!(h=A[0])){var w,O=this.describeSymbol(c)||c,S=this.collect_expected_token_set(d);w="number"===typeof e.yylineno?"Parse error on line "+(e.yylineno+1)+": ":"Parse error: ","function"===typeof e.showPosition&&(w+="\n"+e.showPosition(69,10)+"\n"),S.length?w+="Expecting "+S.join(", ")+", got unexpected "+O:w+="Unexpected "+O,C=this.constructParseErrorInfo(w,null,S,!1),"undefined"!==typeof(p=this.parseError(C.errStr,C,this.JisonParserError))&&(x=p);break}switch(h){default:if(h instanceof Array){C=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+d+", token: "+c,null,null,!1),"undefined"!==typeof(p=this.parseError(C.errStr,C,this.JisonParserError))&&(x=p);break}C=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),"undefined"!==typeof(p=this.parseError(C.errStr,C,this.JisonParserError))&&(x=p);break;case 1:r[s]=c,o[s]=e.yytext,i[s]=y,++s,c=0;continue;case 2:if(v=(I=this.productions_[y-1])[1],"undefined"!==typeof(p=this.performAction.call(b,y,s-1,o))){x=p;break}s-=v;var _=I[0];r[s]=_,o[s]=b.$,y=a[i[s-1]][_],i[s]=y,++s;continue;case 3:-2!==s&&(x=!0,s--,"undefined"!==typeof o[s]&&(x=o[s]))}break}}catch(k){if(k instanceof this.JisonParserError)throw k;if(e&&"function"===typeof e.JisonLexerError&&k instanceof e.JisonLexerError)throw k;C=this.constructParseErrorInfo("Parsing aborted due to exception.",k,null,!1),x=!1,"undefined"!==typeof(p=this.parseError(C.errStr,C,this.JisonParserError))&&(x=p)}finally{x=this.cleanupAfterParse(x,!0,!0),this.__reentrant_call_depth--}return x}};i.originalParseError=i.parseError,i.originalQuoteName=i.quoteName;var o=function(){function t(t,e){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var r=e.exception;this.message=r.message||t,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(t).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}return"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonLexerError",{EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(t,e,n){if(t=""+t,void 0==n&&(n=!(t.indexOf("\n")>0&&t.indexOf("^")>0)),this.yylloc&&n)if("function"===typeof this.prettyPrintRange){this.prettyPrintRange(this.yylloc);/\n\s*$/.test(t)||(t+="\n"),t+="\n Erroneous area:\n"+this.prettyPrintRange(this.yylloc)}else if("function"===typeof this.showPosition){var r=this.showPosition();r&&(t.length&&"\n"!==t[t.length-1]&&"\n"!==r[0]?t+="\n"+r:t+=r)}var i={errStr:t,recoverable:!!e,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"===typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(i),i},parseError:function(t,e,n){if(n||(n=this.JisonLexerError),this.yy){if(this.yy.parser&&"function"===typeof this.yy.parser.parseError)return this.yy.parser.parseError.call(this,t,e,n)||this.ERROR;if("function"===typeof this.yy.parseError)return this.yy.parseError.call(this,t,e,n)||this.ERROR}throw new n(t,e)},yyerror:function(t){var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var n=this.constructLexErrorInfo("Lexical error"+e+": "+t,this.options.lexerErrorsAreRecoverable),r=Array.prototype.slice.call(arguments,1);return r.length&&(n.extra_error_attributes=r),this.parseError(n.errStr,n,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(t){if(this.setInput("",{}),!t){for(var e=this.__error_infos.length-1;e>=0;e--){var n=this.__error_infos[e];n&&"function"===typeof n.destroy&&n.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var t=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:t,last_line:this.yylineno+1,last_column:t,range:[this.offset,this.offset]}},setInput:function(t,e){if(this.yy=e||this.yy||{},!this.__decompressed){for(var n=this.rules,r=0,i=n.length;r<i;r++){"number"===typeof(f=n[r])&&(n[r]=n[f])}var o=this.conditions;for(var a in o){var s=o[a],c=s.rules,l=(i=c.length,new Array(i+1)),u=new Array(i+1);for(r=0;r<i;r++){var g=c[r],f=n[g];l[r+1]=f,u[r+1]=g}s.rules=u,s.__rule_regexes=l,s.__rule_count=i}this.__decompressed=!0}return this._input=t||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(t,e){var n=t.call(this,this._input,e);return"string"!==typeof n?n&&(this._input=""+n):this._input=n,this},input:function(){if(!this._input)return null;var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=1,n=!1;if("\n"===t)n=!0;else if("\r"===t){n=!0;var r=this._input[1];"\n"===r&&(e++,t+=r,this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,this.yylloc.range[1]++)}return n?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(e),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);if(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.yyleng=this.yytext.length,this.offset-=e,this.match=this.match.substr(0,this.match.length-e),this.matched=this.matched.substr(0,this.matched.length-e),n.length>1){this.yylineno-=n.length-1,this.yylloc.last_line=this.yylineno+1;var r=this.match,i=r.split(/(?:\r\n?|\n)/g);1===i.length&&(i=(r=this.matched).split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=i[i.length-1].length}else this.yylloc.last_column-=e;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var t="";this.yylloc&&(t=" on line "+(this.yylineno+1));var e=this.constructLexErrorInfo("Lexical error"+t+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(e.errStr,e,this.JisonLexerError)||this.ERROR}return this},less:function(t){return this.unput(this.match.slice(t))},pastInput:function(t,e){var n=this.matched.substring(0,this.matched.length-this.match.length);t<0?t=n.length:t||(t=20),e<0?e=n.length:e||(e=1);var r=(n=n.substr(2*-t-2)).replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(-e)).join("\n")).length>t&&(n="..."+n.substr(-t)),n},upcomingInput:function(t,e){var n=this.match;t<0?t=n.length+this._input.length:t||(t=20),e<0?e=t:e||(e=1),n.length<2*t+2&&(n+=this._input.substring(0,2*t+2));var r=n.replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(0,e)).join("\n")).length>t&&(n=n.substring(0,t)+"..."),n},showPosition:function(t,e){var n=this.pastInput(t).replace(/\s/g," "),r=new Array(n.length+1).join("-");return n+this.upcomingInput(e).replace(/\s/g," ")+"\n"+r+"^"},deriveLocationInfo:function(t,e,n,r){var i={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return t&&(i.first_line=0|t.first_line,i.last_line=0|t.last_line,i.first_column=0|t.first_column,i.last_column=0|t.last_column,t.range&&(i.range[0]=0|t.range[0],i.range[1]=0|t.range[1])),(i.first_line<=0||i.last_line<i.first_line)&&(i.first_line<=0&&e&&(i.first_line=0|e.last_line,i.first_column=0|e.last_column,e.range&&(i.range[0]=0|t.range[1])),(i.last_line<=0||i.last_line<i.first_line)&&n&&(i.last_line=0|n.first_line,i.last_column=0|n.first_column,n.range&&(i.range[1]=0|t.range[0])),i.first_line<=0&&r&&(i.last_line<=0||r.last_line<=i.last_line)&&(i.first_line=0|r.first_line,i.first_column=0|r.first_column,r.range&&(i.range[0]=0|r.range[0])),i.last_line<=0&&r&&(i.first_line<=0||r.first_line>=i.first_line)&&(i.last_line=0|r.last_line,i.last_column=0|r.last_column,r.range&&(i.range[1]=0|r.range[1]))),i.last_line<=0&&(i.first_line<=0?(i.first_line=this.yylloc.first_line,i.last_line=this.yylloc.last_line,i.first_column=this.yylloc.first_column,i.last_column=this.yylloc.last_column,i.range[0]=this.yylloc.range[0],i.range[1]=this.yylloc.range[1]):(i.last_line=this.yylloc.last_line,i.last_column=this.yylloc.last_column,i.range[1]=this.yylloc.range[1])),i.first_line<=0&&(i.first_line=i.last_line,i.first_column=0,i.range[1]=i.range[0]),i.first_column<0&&(i.first_column=0),i.last_column<0&&(i.last_column=i.first_column>0?i.first_column:80),i},prettyPrintRange:function(t,e,n){t=this.deriveLocationInfo(t,e,n);var r=(this.matched+this._input).split("\n"),i=Math.max(1,e?e.first_line:t.first_line-3),o=Math.max(1,n?n.last_line:t.last_line+1),a=1+Math.log10(1|o)|0,s=new Array(a).join(" "),c=[],l=r.slice(i-1,o+1).map((function(e,n){var r=n+i,o=(s+r).substr(-a)+": "+e,l=new Array(a+1).join("^"),u=3,g=0;(r===t.first_line?(u+=t.first_column,g=Math.max(2,(r===t.last_line?t.last_column:e.length)-t.first_column+1)):r===t.last_line?g=Math.max(2,t.last_column+1):r>t.first_line&&r<t.last_line&&(g=Math.max(2,e.length+1)),g)&&(o+="\n"+l+new Array(u).join(".")+new Array(g).join("^"),e.trim().length>0&&c.push(n));return o=o.replace(/\t/g," ")}));if(c.length>4){var u=c[1]+1,g=c[c.length-2]-1,f=new Array(a+1).join(" ")+" (...continued...)";f+="\n"+new Array(a+1).join("-")+" (---------------)",l.splice(u,g-u+1,f)}return l.join("\n")},describeYYLLOC:function(t,e){var n,r=t.first_line,i=t.last_line,o=t.first_column,a=t.last_column;if(0===i-r?(n="line "+r+", ",n+=a-o<=1?"column "+o:"columns "+o+" .. "+a):n="lines "+r+"(column "+o+") .. "+i+"(column "+a+")",t.range&&e){var s=t.range[0],c=t.range[1]-1;n+=c<=s?" {String Offset: "+s+"}":" {String Offset range: "+s+" .. "+c+"}"}return n},test_match:function(t,e){var n,r,i,o,a;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done}),a=(o=t[0]).length,(r=o.split(/(?:\r\n?|\n)/g)).length>1?(this.yylineno+=r.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=r[r.length-1].length):this.yylloc.last_column+=a,this.yytext+=o,this.match+=o,this.matched+=o,this.matches=t,this.yyleng=this.yytext.length,this.yylloc.range[1]+=a,this.offset+=a,this._more=!1,this._backtrack=!1,this._input=this._input.slice(a),n=this.performAction.call(this,this.yy,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in i)this[s]=i[s];return this.__currentRuleSet__=null,!1}return!!this._signaled_error_token&&(n=this._signaled_error_token,this._signaled_error_token=!1,n)},next:function(){if(this.done)return this.clear(),this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||this.clear();var i=this.__currentRuleSet__;if(!i&&(!(i=this.__currentRuleSet__=this._currentRules())||!i.rules)){var o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Internal lexer engine error"+o+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR}for(var s=i.rules,c=i.__rule_regexes,l=i.__rule_count,u=1;u<=l;u++)if((n=this._input.match(c[u]))&&(!e||n[0].length>e[0].length)){if(e=n,r=u,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[u])))return t;if(this._backtrack){e=void 0;continue}return!1}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,s[r]))&&t;if(this._input){o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));a=this.constructLexErrorInfo("Lexical error"+o+": Unrecognized text.",this.options.lexerErrorsAreRecoverable);var g=this._input,f=this.topState(),d=this.conditionStack.length;return(t=this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR)===this.ERROR&&(this.matches||g!==this._input||f!==this.topState()||d!==this.conditionStack.length||this.input()),t}return this.done=!0,this.clear(),this.EOF},lex:function(){var t;for("function"===typeof this.pre_lex&&(t=this.pre_lex.call(this,0)),"function"===typeof this.options.pre_lex&&(t=this.options.pre_lex.call(this,t)||t),this.yy&&"function"===typeof this.yy.pre_lex&&(t=this.yy.pre_lex.call(this,t)||t);!t;)t=this.next();return this.yy&&"function"===typeof this.yy.post_lex&&(t=this.yy.post_lex.call(this,t)||t),"function"===typeof this.options.post_lex&&(t=this.options.post_lex.call(this,t)||t),"function"===typeof this.post_lex&&(t=this.post_lex.call(this,t)||t),t},fastLex:function(){for(var t;!t;)t=this.next();return t},canIUse:function(){return{fastLex:!("function"===typeof this.pre_lex||"function"===typeof this.options.pre_lex||this.yy&&"function"===typeof this.yy.pre_lex||this.yy&&"function"===typeof this.yy.post_lex||"function"===typeof this.options.post_lex||"function"===typeof this.post_lex)&&"function"===typeof this.fastLex}},begin:function(t){return this.pushState(t)},pushState:function(t){return this.conditionStack.push(t),this.__currentRuleSet__=null,this},popState:function(){return this.conditionStack.length-1>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:t,performAction:function(t,e,n){switch(e){case 1:break;default:return this.simpleCaseActionClusters[e]}},simpleCaseActionClusters:{0:13,2:5,3:6,4:3,5:4,6:15,7:15,8:15,9:15,10:15,11:15,12:16,13:16,14:16,15:16,16:17,17:17,18:18,19:18,20:19,21:19,22:19,23:20,24:21,25:22,26:23,27:25,28:24,29:26,30:27,31:28,32:11,33:9,34:12,35:10,36:7,37:8,38:14,39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}}}();function a(){this.yy={}}return i.lexer=o,a.prototype=i,i.Parser=a,new a}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(960),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(t,e,n){switch(t.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":return function(t,e,n){e.type===t.type&&(e={type:t.type,value:(0,o.default)(e.value,e.unit,t.unit,n),unit:t.unit});return{left:t,right:e}}(t,e,n);default:return{left:t,right:e}}},t.exports=e.default},function(t,e){var n={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};t.exports=function(t,e,r,i){if(!n.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!n[r].hasOwnProperty(e))throw new Error("Cannot convert from "+e+" to "+r);var o=n[r][e]*t;return!1!==i?(i=Math.pow(10,parseInt(i)||5),Math.round(o*i)/i):o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r=a(e,n);return"MathExpression"===e.type&&(r=t+"("+r+")"),r};var r=n(524),i={"*":0,"/":0,"+":1,"-":1};function o(t,e){if(!1!==e){var n=Math.pow(10,e);return Math.round(t*n)/n}return t}function a(t,e){switch(t.type){case"MathExpression":var n=t.left,s=t.right,c=t.operator,l="";return"MathExpression"===n.type&&i[c]<i[n.operator]?l+="("+a(n,e)+")":l+=a(n,e),l+=" "+t.operator+" ","MathExpression"===s.type&&i[c]<i[s.operator]?l+="("+a(s,e)+")":"MathExpression"===s.type&&"-"===c&&["+","-"].includes(s.operator)?(s.operator=(0,r.flip)(s.operator),l+=a(s,e)):l+=a(s,e),l;case"Value":return o(t.value,e);case"CssVariable":return t.fallback?"var("+t.value+", "+a(t.fallback,e)+")":"var("+t.value+")";case"Calc":return t.prefix?"-"+t.prefix+"-calc("+a(t.value,e)+")":"calc("+a(t.value,e)+")";default:return o(t.value,e)+t.unit}}t.exports=e.default},function(t,e,n){(function(e){(function(){var n,r,i,o,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!==typeof e&&null!==e&&e.hrtime?(t.exports=function(){return(n()-a)/1e6},r=e.hrtime,o=(n=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*e.uptime(),a=o-s):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,n(963))},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,l=[],u=!1,g=-1;function f(){u&&c&&(u=!1,c.length?l=c.concat(l):g=-1,l.length&&d())}function d(){if(!u){var t=s(f);u=!0;for(var e=l.length;e;){for(c=l,l=[];++g<e;)c&&c[g].run();g=-1,e=l.length}c=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function p(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new h(t,e)),1!==l.length||u||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){var r=n(340),i=n(522),o=n(523),a=n(202),s=n(335),c=n(341),l=Math.min;t.exports=function(t,e,n){for(var u=n?o:i,g=t[0].length,f=t.length,d=f,h=Array(f),p=1/0,A=[];d--;){var C=t[d];d&&e&&(C=a(C,s(e))),p=l(C.length,p),h[d]=!n&&(e||g>=120&&C.length>=120)?new r(d&&C):void 0}C=t[0];var v=-1,I=h[0];t:for(;++v<g&&A.length<p;){var y=C[v],m=e?e(y):y;if(y=n||0!==y?y:0,!(I?c(I,m):u(A,m,n))){for(d=f;--d;){var b=h[d];if(!(b?c(b,m):u(t[d],m,n)))continue t}I&&I.push(m),A.push(y)}}return A}},function(t,e,n){var r=n(966);t.exports=function(t){return r(t)?t:[]}},function(t,e,n){var r=n(149),i=n(116);t.exports=function(t){return i(t)&&r(t)}},function(t,e,n){var r=n(245);t.exports=function(t,e){var n=[];return r(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;!function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}e.default=t}(n(6));var r=s(n(969)),i=s(n(971)),o=s(n(0)),a=s(n(525));n(527);function s(t){return t&&t.__esModule?t:{default:t}}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var l=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,r.default)(t,e)}))},u=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,i.default)(t,e)}))},g=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).onEnter=function(t,n){var r=e.getClassNames(n?"appear":"enter").className;e.removeClasses(t,"exit"),l(t,r),e.props.onEnter&&e.props.onEnter(t,n)},e.onEntering=function(t,n){var r=e.getClassNames(n?"appear":"enter").activeClassName;e.reflowAndAddClass(t,r),e.props.onEntering&&e.props.onEntering(t,n)},e.onEntered=function(t,n){var r=e.getClassNames("appear").doneClassName,i=e.getClassNames("enter").doneClassName,o=n?r+" "+i:i;e.removeClasses(t,n?"appear":"enter"),l(t,o),e.props.onEntered&&e.props.onEntered(t,n)},e.onExit=function(t){var n=e.getClassNames("exit").className;e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),l(t,n),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var n=e.getClassNames("exit").activeClassName;e.reflowAndAddClass(t,n),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var n=e.getClassNames("exit").doneClassName;e.removeClasses(t,"exit"),l(t,n),e.props.onExited&&e.props.onExited(t)},e.getClassNames=function(t){var n=e.props.classNames,r="string"===typeof n,i=r?(r&&n?n+"-":"")+t:n[t];return{className:i,activeClassName:r?i+"-active":n[t+"Active"],doneClassName:r?i+"-done":n[t+"Done"]}},e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.removeClasses=function(t,e){var n=this.getClassNames(e),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&u(t,r),i&&u(t,i),o&&u(t,o)},i.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,l(t,e))},i.render=function(){var t=c({},this.props);return delete t.classNames,o.default.createElement(a.default,c({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(o.default.Component);g.defaultProps={classNames:""},g.propTypes={};var f=g;e.default=f,t.exports=e.default},function(t,e,n){"use strict";var r=n(77);e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("string"===typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var i=r(n(970));t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},t.exports=e.default},function(t,e,n){"use strict";function r(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}t.exports=function(t,e){t.classList?t.classList.remove(e):"string"===typeof t.className?t.className=r(t.className,e):t.setAttribute("class",r(t.className&&t.className.baseVal||"",e))}},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;a(n(6));var r=a(n(0)),i=n(20),o=a(n(528));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){var e,n;function a(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).handleEnter=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEnter",0,n)},e.handleEntering=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntering",0,n)},e.handleEntered=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntered",0,n)},e.handleExit=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExit",1,n)},e.handleExiting=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExiting",1,n)},e.handleExited=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExited",1,n)},e}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=a.prototype;return s.handleLifecycle=function(t,e,n){var o,a=this.props.children,s=r.default.Children.toArray(a)[e];s.props[t]&&(o=s.props)[t].apply(o,n),this.props[t]&&this.props[t]((0,i.findDOMNode)(this))},s.render=function(){var t=this.props,e=t.children,n=t.in,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,["children","in"]),a=r.default.Children.toArray(e),s=a[0],c=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,r.default.createElement(o.default,i,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(c,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);s.propTypes={};var c=s;e.default=c,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.getChildMapping=i,e.mergeChildMappings=o,e.getInitialChildMapping=function(t,e){return i(t.children,(function(n){return(0,r.cloneElement)(n,{onExited:e.bind(null,n),in:!0,appear:a(n,"appear",t),enter:a(n,"enter",t),exit:a(n,"exit",t)})}))},e.getNextChildMapping=function(t,e,n){var s=i(t.children),c=o(e,s);return Object.keys(c).forEach((function(i){var o=c[i];if((0,r.isValidElement)(o)){var l=i in e,u=i in s,g=e[i],f=(0,r.isValidElement)(g)&&!g.props.in;!u||l&&!f?u||!l||f?u&&l&&(0,r.isValidElement)(g)&&(c[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:g.props.in,exit:a(o,"exit",t),enter:a(o,"enter",t)})):c[i]=(0,r.cloneElement)(o,{in:!1}):c[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:a(o,"exit",t),enter:a(o,"enter",t)})}})),c};var r=n(0);function i(t,e){var n=Object.create(null);return t&&r.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&(0,r.isValidElement)(t)?e(t):t}(t)})),n}function o(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var c in e){if(i[c])for(r=0;r<i[c].length;r++){var l=i[c][r];s[i[c][r]]=n(l)}s[c]=n(c)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}function a(t,e,n){return null!=n[e]?n[e]:t.props[e]}},function(t,e,n){"use strict";n.r(e),n.d(e,"colors",(function(){return r})),n.d(e,"hexToRgb",(function(){return w.hexToRgb})),n.d(e,"rgbToHex",(function(){return w.rgbToHex})),n.d(e,"hslToRgb",(function(){return w.hslToRgb})),n.d(e,"decomposeColor",(function(){return w.decomposeColor})),n.d(e,"recomposeColor",(function(){return w.recomposeColor})),n.d(e,"getContrastRatio",(function(){return w.getContrastRatio})),n.d(e,"getLuminance",(function(){return w.getLuminance})),n.d(e,"emphasize",(function(){return w.emphasize})),n.d(e,"fade",(function(){return w.fade})),n.d(e,"darken",(function(){return w.darken})),n.d(e,"lighten",(function(){return w.lighten})),n.d(e,"createMuiTheme",(function(){return w.createMuiTheme})),n.d(e,"unstable_createMuiStrictModeTheme",(function(){return w.unstable_createMuiStrictModeTheme})),n.d(e,"createStyles",(function(){return w.createStyles})),n.d(e,"makeStyles",(function(){return w.makeStyles})),n.d(e,"responsiveFontSizes",(function(){return w.responsiveFontSizes})),n.d(e,"styled",(function(){return w.styled})),n.d(e,"easing",(function(){return w.easing})),n.d(e,"duration",(function(){return w.duration})),n.d(e,"useTheme",(function(){return w.useTheme})),n.d(e,"withStyles",(function(){return w.withStyles})),n.d(e,"withTheme",(function(){return w.withTheme})),n.d(e,"createGenerateClassName",(function(){return w.createGenerateClassName})),n.d(e,"jssPreset",(function(){return w.jssPreset})),n.d(e,"ServerStyleSheets",(function(){return w.ServerStyleSheets})),n.d(e,"StylesProvider",(function(){return w.StylesProvider})),n.d(e,"MuiThemeProvider",(function(){return w.MuiThemeProvider})),n.d(e,"ThemeProvider",(function(){return w.ThemeProvider})),n.d(e,"capitalize",(function(){return O.capitalize})),n.d(e,"createChainedFunction",(function(){return O.createChainedFunction})),n.d(e,"createSvgIcon",(function(){return O.createSvgIcon})),n.d(e,"debounce",(function(){return O.debounce})),n.d(e,"deprecatedPropType",(function(){return O.deprecatedPropType})),n.d(e,"isMuiElement",(function(){return O.isMuiElement})),n.d(e,"ownerDocument",(function(){return O.ownerDocument})),n.d(e,"ownerWindow",(function(){return O.ownerWindow})),n.d(e,"requirePropFactory",(function(){return O.requirePropFactory})),n.d(e,"setRef",(function(){return O.setRef})),n.d(e,"unsupportedProp",(function(){return O.unsupportedProp})),n.d(e,"useControlled",(function(){return O.useControlled})),n.d(e,"useEventCallback",(function(){return O.useEventCallback})),n.d(e,"useForkRef",(function(){return O.useForkRef})),n.d(e,"unstable_useId",(function(){return O.unstable_useId})),n.d(e,"useIsFocusVisible",(function(){return O.useIsFocusVisible})),n.d(e,"Accordion",(function(){return K})),n.d(e,"AccordionActions",(function(){return J})),n.d(e,"AccordionDetails",(function(){return tt})),n.d(e,"AccordionSummary",(function(){return it})),n.d(e,"AppBar",(function(){return st})),n.d(e,"Avatar",(function(){return gt})),n.d(e,"Backdrop",(function(){return At})),n.d(e,"Badge",(function(){return vt})),n.d(e,"BottomNavigation",(function(){return yt})),n.d(e,"BottomNavigationAction",(function(){return bt})),n.d(e,"Box",(function(){return Qt})),n.d(e,"styleFunction",(function(){return Kt})),n.d(e,"Breadcrumbs",(function(){return re})),n.d(e,"Button",(function(){return ie.a})),n.d(e,"ButtonBase",(function(){return et.a})),n.d(e,"ButtonGroup",(function(){return ae})),n.d(e,"Card",(function(){return se.a})),n.d(e,"CardActionArea",(function(){return le})),n.d(e,"CardActions",(function(){return ue.a})),n.d(e,"CardContent",(function(){return ge.a})),n.d(e,"CardHeader",(function(){return de})),n.d(e,"CardMedia",(function(){return Ae})),n.d(e,"Checkbox",(function(){return Ce.a})),n.d(e,"Chip",(function(){return ve.a})),n.d(e,"CircularProgress",(function(){return me})),n.d(e,"ClickAwayListener",(function(){return Se})),n.d(e,"Collapse",(function(){return H})),n.d(e,"Container",(function(){return ke})),n.d(e,"CssBaseline",(function(){return Pe})),n.d(e,"Dialog",(function(){return De})),n.d(e,"DialogActions",(function(){return Le})),n.d(e,"DialogContent",(function(){return Be})),n.d(e,"DialogContentText",(function(){return Ve})),n.d(e,"DialogTitle",(function(){return We})),n.d(e,"Divider",(function(){return He})),n.d(e,"Drawer",(function(){return en})),n.d(e,"ExpansionPanel",(function(){return on})),n.d(e,"ExpansionPanelActions",(function(){return sn})),n.d(e,"ExpansionPanelDetails",(function(){return ln})),n.d(e,"ExpansionPanelSummary",(function(){return gn})),n.d(e,"Fab",(function(){return dn})),n.d(e,"Fade",(function(){return ht})),n.d(e,"FilledInput",(function(){return hn.a})),n.d(e,"FormControl",(function(){return pn.a})),n.d(e,"useFormControl",(function(){return An.useFormControl})),n.d(e,"FormControlLabel",(function(){return Cn.a})),n.d(e,"FormGroup",(function(){return vn.a})),n.d(e,"FormHelperText",(function(){return In.a})),n.d(e,"FormLabel",(function(){return yn.a})),n.d(e,"Grid",(function(){return On})),n.d(e,"GridList",(function(){return _n})),n.d(e,"GridListTile",(function(){return Pn})),n.d(e,"GridListTileBar",(function(){return Tn})),n.d(e,"Grow",(function(){return Rn.a})),n.d(e,"Hidden",(function(){return Zn})),n.d(e,"Icon",(function(){return Kn})),n.d(e,"IconButton",(function(){return nt.a})),n.d(e,"Input",(function(){return Qn.a})),n.d(e,"InputAdornment",(function(){return tr})),n.d(e,"InputBase",(function(){return er.a})),n.d(e,"InputLabel",(function(){return nr.a})),n.d(e,"LinearProgress",(function(){return ir})),n.d(e,"Link",(function(){return sr})),n.d(e,"List",(function(){return cr.a})),n.d(e,"ListItem",(function(){return lr.a})),n.d(e,"ListItemAvatar",(function(){return fr})),n.d(e,"ListItemIcon",(function(){return hr})),n.d(e,"ListItemSecondaryAction",(function(){return Ar})),n.d(e,"ListItemText",(function(){return Cr.a})),n.d(e,"ListSubheader",(function(){return Ir})),n.d(e,"Menu",(function(){return yr.a})),n.d(e,"MenuItem",(function(){return mr.a})),n.d(e,"MenuList",(function(){return br.a})),n.d(e,"MobileStepper",(function(){return wr})),n.d(e,"Modal",(function(){return Me.a})),n.d(e,"ModalManager",(function(){return Or.a})),n.d(e,"NativeSelect",(function(){return Sr.a})),n.d(e,"NoSsr",(function(){return kr})),n.d(e,"OutlinedInput",(function(){return jr.a})),n.d(e,"Paper",(function(){return U.a})),n.d(e,"Popover",(function(){return Er.a})),n.d(e,"Popper",(function(){return Pr.a})),n.d(e,"Portal",(function(){return Mr.a})),n.d(e,"Radio",(function(){return Tr.a})),n.d(e,"RadioGroup",(function(){return Rr.a})),n.d(e,"useRadioGroup",(function(){return Dr.a})),n.d(e,"RootRef",(function(){return Hr})),n.d(e,"Select",(function(){return Ur.a})),n.d(e,"Slide",(function(){return qe})),n.d(e,"Slider",(function(){return oi})),n.d(e,"Snackbar",(function(){return ui})),n.d(e,"SnackbarContent",(function(){return ci})),n.d(e,"Step",(function(){return fi})),n.d(e,"StepButton",(function(){return bi})),n.d(e,"StepConnector",(function(){return wi})),n.d(e,"StepContent",(function(){return Si})),n.d(e,"StepIcon",(function(){return vi})),n.d(e,"StepLabel",(function(){return yi})),n.d(e,"Stepper",(function(){return ji})),n.d(e,"SvgIcon",(function(){return pi.a})),n.d(e,"SwipeableDrawer",(function(){return Vi})),n.d(e,"Switch",(function(){return Yi})),n.d(e,"Tab",(function(){return Ui})),n.d(e,"Table",(function(){return Xi.a})),n.d(e,"TableBody",(function(){return Zi.a})),n.d(e,"TableCell",(function(){return qi.a})),n.d(e,"TableContainer",(function(){return Qi})),n.d(e,"TableFooter",(function(){return Ji.a})),n.d(e,"TableHead",(function(){return ro})),n.d(e,"TablePagination",(function(){return io.a})),n.d(e,"TableRow",(function(){return oo.a})),n.d(e,"TableSortLabel",(function(){return ao.a})),n.d(e,"Tabs",(function(){return xo})),n.d(e,"TabScrollButton",(function(){return mo})),n.d(e,"TextField",(function(){return wo.a})),n.d(e,"TextareaAutosize",(function(){return Oo.a})),n.d(e,"Toolbar",(function(){return So.a})),n.d(e,"Tooltip",(function(){return _o.a})),n.d(e,"Typography",(function(){return Jt.a})),n.d(e,"Unstable_TrapFocus",(function(){return ko.a})),n.d(e,"useMediaQuery",(function(){return zn})),n.d(e,"useScrollTrigger",(function(){return Po})),n.d(e,"withMobileDialog",(function(){return Mo})),n.d(e,"withWidth",(function(){return Yn})),n.d(e,"isWidthUp",(function(){return Vn})),n.d(e,"isWidthDown",(function(){return Gn})),n.d(e,"Zoom",(function(){return Do}));var r={};n.r(r),n.d(r,"common",(function(){return i.a})),n.d(r,"red",(function(){return o.a})),n.d(r,"pink",(function(){return a.a})),n.d(r,"purple",(function(){return s})),n.d(r,"deepPurple",(function(){return c})),n.d(r,"indigo",(function(){return l.a})),n.d(r,"blue",(function(){return u.a})),n.d(r,"lightBlue",(function(){return g})),n.d(r,"cyan",(function(){return f})),n.d(r,"teal",(function(){return d})),n.d(r,"green",(function(){return h.a})),n.d(r,"lightGreen",(function(){return p})),n.d(r,"lime",(function(){return A})),n.d(r,"yellow",(function(){return C})),n.d(r,"amber",(function(){return v})),n.d(r,"orange",(function(){return I.a})),n.d(r,"deepOrange",(function(){return y})),n.d(r,"brown",(function(){return m})),n.d(r,"grey",(function(){return b.a})),n.d(r,"blueGrey",(function(){return x}));var i=n(139),o=n(160),a=n(159),s={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},c={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},l=n(158),u=n(162),g={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},f={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},d={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},h=n(163),p={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},A={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},C={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},v={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},I=n(161),y={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},m={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},b=n(157),x={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},w=n(135),O=n(253),S=n(2),_=n(262),k=n(260),j=n(156),E=n(263);function P(t){return Object(_.a)(t)||Object(k.a)(t)||Object(j.a)(t)||Object(E.a)()}var M=n(39),T=n(4),R=n(0),D=(n(86),n(6)),N=n.n(D),L=n(3),F=n(991),B=n(7),z=n(36),V=n(46),G=n(22),W=n(18),Y=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.collapsedHeight,a=void 0===o?"0px":o,s=t.component,c=void 0===s?"div":s,l=t.disableStrictModeCompat,u=void 0!==l&&l,g=t.in,f=t.onEnter,d=t.onEntered,h=t.onEntering,p=t.onExit,A=t.onExited,C=t.onExiting,v=t.style,I=t.timeout,y=void 0===I?z.b.standard:I,m=t.TransitionComponent,b=void 0===m?F.a:m,x=Object(T.a)(t,["children","classes","className","collapsedHeight","component","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),w=Object(G.a)(),O=R.useRef(),_=R.useRef(null),k=R.useRef(),j="number"===typeof a?"".concat(a,"px"):a;R.useEffect((function(){return function(){clearTimeout(O.current)}}),[]);var E=w.unstable_strictMode&&!u,P=R.useRef(null),D=Object(W.a)(e,E?P:void 0),N=function(t){return function(e,n){if(t){var r=E?[P.current,e]:[e,n],i=Object(M.a)(r,2),o=i[0],a=i[1];void 0===a?t(o):t(o,a)}}},B=N((function(t,e){t.style.height=j,f&&f(t,e)})),Y=N((function(t,e){var n=_.current?_.current.clientHeight:0,r=Object(V.a)({style:v,timeout:y},{mode:"enter"}).duration;if("auto"===y){var i=w.transitions.getAutoHeightDuration(n);t.style.transitionDuration="".concat(i,"ms"),k.current=i}else t.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");t.style.height="".concat(n,"px"),h&&h(t,e)})),H=N((function(t,e){t.style.height="auto",d&&d(t,e)})),U=N((function(t){var e=_.current?_.current.clientHeight:0;t.style.height="".concat(e,"px"),p&&p(t)})),X=N(A),Z=N((function(t){var e=_.current?_.current.clientHeight:0,n=Object(V.a)({style:v,timeout:y},{mode:"exit"}).duration;if("auto"===y){var r=w.transitions.getAutoHeightDuration(e);t.style.transitionDuration="".concat(r,"ms"),k.current=r}else t.style.transitionDuration="string"===typeof n?n:"".concat(n,"ms");t.style.height=j,C&&C(t)}));return R.createElement(b,Object(S.a)({in:g,onEnter:B,onEntered:H,onEntering:Y,onExit:U,onExited:X,onExiting:Z,addEndListener:function(t,e){var n=E?t:e;"auto"===y&&(O.current=setTimeout(n,k.current||0))},nodeRef:E?P:void 0,timeout:"auto"===y?null:y},x),(function(t,e){return R.createElement(c,Object(S.a)({className:Object(L.default)(r.container,i,{entered:r.entered,exited:!g&&"0px"===j&&r.hidden}[t]),style:Object(S.a)({minHeight:j},v),ref:D},e),R.createElement("div",{className:r.wrapper,ref:_},R.createElement("div",{className:r.wrapperInner},n)))}))}));Y.muiSupportAuto=!0;var H=Object(B.a)((function(t){return{container:{height:0,overflow:"hidden",transition:t.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(Y),U=n(266);var X=R.createContext({}),Z=n(57),q=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.defaultExpanded,a=void 0!==o&&o,s=t.disabled,c=void 0!==s&&s,l=t.expanded,u=t.onChange,g=t.square,f=void 0!==g&&g,d=t.TransitionComponent,h=void 0===d?H:d,p=t.TransitionProps,A=Object(T.a)(t,["children","classes","className","defaultExpanded","disabled","expanded","onChange","square","TransitionComponent","TransitionProps"]),C=Object(Z.a)({controlled:l,default:a,name:"Accordion",state:"expanded"}),v=Object(M.a)(C,2),I=v[0],y=v[1],m=R.useCallback((function(t){y(!I),u&&u(t,!I)}),[I,u,y]),b=P(R.Children.toArray(n)),x=b[0],w=b.slice(1),O=R.useMemo((function(){return{expanded:I,disabled:c,toggle:m}}),[I,c,m]);return R.createElement(U.a,Object(S.a)({className:Object(L.default)(r.root,i,I&&r.expanded,c&&r.disabled,!f&&r.rounded),ref:e,square:f},A),R.createElement(X.Provider,{value:O},x),R.createElement(h,Object(S.a)({in:I,timeout:"auto"},p),R.createElement("div",{"aria-labelledby":x.props.id,id:x.props["aria-controls"],role:"region"},w)))})),K=Object(B.a)((function(t){var e={duration:t.transitions.duration.shortest};return{root:{position:"relative",transition:t.transitions.create(["margin"],e),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:t.palette.divider,transition:t.transitions.create(["opacity","background-color"],e)},"&:first-child":{"&:before":{display:"none"}},"&$expanded":{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},"&$expanded + &":{"&:before":{display:"none"}},"&$disabled":{backgroundColor:t.palette.action.disabledBackground}},rounded:{borderRadius:0,"&:first-child":{borderTopLeftRadius:t.shape.borderRadius,borderTopRightRadius:t.shape.borderRadius},"&:last-child":{borderBottomLeftRadius:t.shape.borderRadius,borderBottomRightRadius:t.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},expanded:{},disabled:{}}}),{name:"MuiAccordion"})(q),Q=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.disableSpacing,o=void 0!==i&&i,a=Object(T.a)(t,["classes","className","disableSpacing"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,r,!o&&n.spacing),ref:e},a))})),J=Object(B.a)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiAccordionActions"})(Q),$=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=Object(T.a)(t,["classes","className"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,r),ref:e},i))})),tt=Object(B.a)((function(t){return{root:{display:"flex",padding:t.spacing(1,2,2)}}}),{name:"MuiAccordionDetails"})($),et=n(368),nt=n(347),rt=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.expandIcon,a=t.IconButtonProps,s=t.onBlur,c=t.onClick,l=t.onFocusVisible,u=Object(T.a)(t,["children","classes","className","expandIcon","IconButtonProps","onBlur","onClick","onFocusVisible"]),g=R.useState(!1),f=g[0],d=g[1],h=R.useContext(X),p=h.disabled,A=void 0!==p&&p,C=h.expanded,v=h.toggle;return R.createElement(et.a,Object(S.a)({focusRipple:!1,disableRipple:!0,disabled:A,component:"div","aria-expanded":C,className:Object(L.default)(r.root,i,A&&r.disabled,C&&r.expanded,f&&r.focused),onFocusVisible:function(t){d(!0),l&&l(t)},onBlur:function(t){d(!1),s&&s(t)},onClick:function(t){v&&v(t),c&&c(t)},ref:e},u),R.createElement("div",{className:Object(L.default)(r.content,C&&r.expanded)},n),o&&R.createElement(nt.a,Object(S.a)({className:Object(L.default)(r.expandIcon,C&&r.expanded),edge:"end",component:"div",tabIndex:null,role:null,"aria-hidden":!0},a),o))})),it=Object(B.a)((function(t){var e={duration:t.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:t.transitions.create(["min-height","background-color"],e),padding:t.spacing(0,2),"&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused":{backgroundColor:t.palette.action.focus},"&$disabled":{opacity:t.palette.action.disabledOpacity}},expanded:{},focused:{},disabled:{},content:{display:"flex",flexGrow:1,transition:t.transitions.create(["margin"],e),margin:"12px 0","&$expanded":{margin:"20px 0"}},expandIcon:{transform:"rotate(0deg)",transition:t.transitions.create("transform",e),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"rotate(180deg)"}}}}),{name:"MuiAccordionSummary"})(rt),ot=n(9),at=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.color,o=void 0===i?"primary":i,a=t.position,s=void 0===a?"fixed":a,c=Object(T.a)(t,["classes","className","color","position"]);return R.createElement(U.a,Object(S.a)({square:!0,component:"header",elevation:4,className:Object(L.default)(n.root,n["position".concat(Object(ot.a)(s))],n["color".concat(Object(ot.a)(o))],r,"fixed"===s&&"mui-fixed"),ref:e},c))})),st=Object(B.a)((function(t){var e="light"===t.palette.type?t.palette.grey[100]:t.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:t.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0,"@media print":{position:"absolute"}},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:e,color:t.palette.getContrastText(e)},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},colorInherit:{color:"inherit"},colorTransparent:{backgroundColor:"transparent",color:"inherit"}}}),{name:"MuiAppBar"})(at),ct=n(30),lt=Object(ct.a)(R.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var ut=R.forwardRef((function(t,e){var n=t.alt,r=t.children,i=t.classes,o=t.className,a=t.component,s=void 0===a?"div":a,c=t.imgProps,l=t.sizes,u=t.src,g=t.srcSet,f=t.variant,d=void 0===f?"circle":f,h=Object(T.a)(t,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),p=null,A=function(t){var e=t.src,n=t.srcSet,r=R.useState(!1),i=r[0],o=r[1];return R.useEffect((function(){if(e||n){o(!1);var t=!0,r=new Image;return r.src=e,r.srcSet=n,r.onload=function(){t&&o("loaded")},r.onerror=function(){t&&o("error")},function(){t=!1}}}),[e,n]),i}({src:u,srcSet:g}),C=u||g,v=C&&"error"!==A;return p=v?R.createElement("img",Object(S.a)({alt:n,src:u,srcSet:g,sizes:l,className:i.img},c)):null!=r?r:C&&n?n[0]:R.createElement(lt,{className:i.fallback}),R.createElement(s,Object(S.a)({className:Object(L.default)(i.root,i.system,i[d],o,!v&&i.colorDefault),ref:e},h),p)})),gt=Object(B.a)((function(t){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:t.palette.background.default,backgroundColor:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:t.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(ut),ft={entering:{opacity:1},entered:{opacity:1}},dt={enter:z.b.enteringScreen,exit:z.b.leavingScreen},ht=R.forwardRef((function(t,e){var n=t.children,r=t.disableStrictModeCompat,i=void 0!==r&&r,o=t.in,a=t.onEnter,s=t.onEntered,c=t.onEntering,l=t.onExit,u=t.onExited,g=t.onExiting,f=t.style,d=t.TransitionComponent,h=void 0===d?F.a:d,p=t.timeout,A=void 0===p?dt:p,C=Object(T.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),v=Object(G.a)(),I=v.unstable_strictMode&&!i,y=R.useRef(null),m=Object(W.a)(n.ref,e),b=Object(W.a)(I?y:void 0,m),x=function(t){return function(e,n){if(t){var r=I?[y.current,e]:[e,n],i=Object(M.a)(r,2),o=i[0],a=i[1];void 0===a?t(o):t(o,a)}}},w=x(c),O=x((function(t,e){Object(V.b)(t);var n=Object(V.a)({style:f,timeout:A},{mode:"enter"});t.style.webkitTransition=v.transitions.create("opacity",n),t.style.transition=v.transitions.create("opacity",n),a&&a(t,e)})),_=x(s),k=x(g),j=x((function(t){var e=Object(V.a)({style:f,timeout:A},{mode:"exit"});t.style.webkitTransition=v.transitions.create("opacity",e),t.style.transition=v.transitions.create("opacity",e),l&&l(t)})),E=x(u);return R.createElement(h,Object(S.a)({appear:!0,in:o,nodeRef:I?y:void 0,onEnter:O,onEntered:_,onEntering:w,onExit:j,onExited:E,onExiting:k,timeout:A},C),(function(t,e){return R.cloneElement(n,Object(S.a)({style:Object(S.a)({opacity:0,visibility:"exited"!==t||o?void 0:"hidden"},ft[t],f,n.props.style),ref:b},e))}))})),pt=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.invisible,a=void 0!==o&&o,s=t.open,c=t.transitionDuration,l=t.TransitionComponent,u=void 0===l?ht:l,g=Object(T.a)(t,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return R.createElement(u,Object(S.a)({in:s,timeout:c},g),R.createElement("div",{className:Object(L.default)(r.root,i,a&&r.invisible),"aria-hidden":!0,ref:e},n))})),At=Object(B.a)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(pt),Ct=R.forwardRef((function(t,e){var n=t.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,i=t.badgeContent,o=t.children,a=t.classes,s=t.className,c=t.color,l=void 0===c?"default":c,u=t.component,g=void 0===u?"span":u,f=t.invisible,d=t.max,h=void 0===d?99:d,p=t.overlap,A=void 0===p?"rectangle":p,C=t.showZero,v=void 0!==C&&C,I=t.variant,y=void 0===I?"standard":I,m=Object(T.a)(t,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),b=f;null==f&&(0===i&&!v||null==i&&"dot"!==y)&&(b=!0);var x="";return"dot"!==y&&(x=i>h?"".concat(h,"+"):i),R.createElement(g,Object(S.a)({className:Object(L.default)(a.root,s),ref:e},m),o,R.createElement("span",{className:Object(L.default)(a.badge,a["".concat(r.horizontal).concat(Object(ot.a)(r.vertical),"}")],a["anchorOrigin".concat(Object(ot.a)(r.vertical)).concat(Object(ot.a)(r.horizontal)).concat(Object(ot.a)(A))],"default"!==l&&a["color".concat(Object(ot.a)(l))],b&&a.invisible,"dot"===y&&a.dot)},x))})),vt=Object(B.a)((function(t){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},colorError:{backgroundColor:t.palette.error.main,color:t.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(Ct),It=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.component,a=void 0===o?"div":o,s=t.onChange,c=t.showLabels,l=void 0!==c&&c,u=t.value,g=Object(T.a)(t,["children","classes","className","component","onChange","showLabels","value"]);return R.createElement(a,Object(S.a)({className:Object(L.default)(r.root,i),ref:e},g),R.Children.map(n,(function(t,e){if(!R.isValidElement(t))return null;var n=void 0===t.props.value?e:t.props.value;return R.cloneElement(t,{selected:n===u,showLabel:void 0!==t.props.showLabel?t.props.showLabel:l,value:n,onChange:s})})))})),yt=Object(B.a)((function(t){return{root:{display:"flex",justifyContent:"center",height:56,backgroundColor:t.palette.background.paper}}}),{name:"MuiBottomNavigation"})(It),mt=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.icon,o=t.label,a=t.onChange,s=t.onClick,c=t.selected,l=t.showLabel,u=t.value,g=Object(T.a)(t,["classes","className","icon","label","onChange","onClick","selected","showLabel","value"]);return R.createElement(et.a,Object(S.a)({ref:e,className:Object(L.default)(n.root,r,c?n.selected:!l&&n.iconOnly),focusRipple:!0,onClick:function(t){a&&a(t,u),s&&s(t)}},g),R.createElement("span",{className:n.wrapper},i,R.createElement("span",{className:Object(L.default)(n.label,c?n.selected:!l&&n.iconOnly)},o)))})),bt=Object(B.a)((function(t){return{root:{transition:t.transitions.create(["color","padding-top"],{duration:t.transitions.duration.short}),padding:"6px 12px 8px",minWidth:80,maxWidth:168,color:t.palette.text.secondary,flex:"1","&$iconOnly":{paddingTop:16},"&$selected":{paddingTop:6,color:t.palette.primary.main}},selected:{},iconOnly:{},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},label:{fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s","&$iconOnly":{opacity:0,transitionDelay:"0s"},"&$selected":{fontSize:t.typography.pxToRem(14)}}}}),{name:"MuiBottomNavigationAction"})(mt),xt=n(43),wt=n(118);var Ot=function(t){var e=function(e){var n=t(e);return e.css?Object(S.a)({},Object(wt.a)(n,t(Object(S.a)({theme:e.theme},e.css))),function(t,e){var n={};return Object.keys(t).forEach((function(r){-1===e.indexOf(r)&&(n[r]=t[r])})),n}(e.css,[t.filterProps])):n};return e.propTypes={},e.filterProps=["css"].concat(Object(xt.a)(t.filterProps)),e};var St=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=function(t){return e.reduce((function(e,n){var r=n(t);return r?Object(wt.a)(e,r):e}),{})};return r.propTypes={},r.filterProps=e.reduce((function(t,e){return t.concat(e.filterProps)}),[]),r},_t=n(13),kt=n(264);function jt(t,e){return e&&"string"===typeof e?e.split(".").reduce((function(t,e){return t&&t[e]?t[e]:null}),t):null}var Et=function(t){var e=t.prop,n=t.cssProperty,r=void 0===n?t.prop:n,i=t.themeKey,o=t.transform,a=function(t){if(null==t[e])return null;var n=t[e],a=jt(t.theme,i)||{};return Object(kt.a)(t,n,(function(t){var e;return"function"===typeof a?e=a(t):Array.isArray(a)?e=a[t]||t:(e=jt(a,t)||t,o&&(e=o(e))),!1===r?e:Object(_t.a)({},r,e)}))};return a.propTypes={},a.filterProps=[e],a};function Pt(t){return"number"!==typeof t?t:"".concat(t,"px solid")}var Mt=St(Et({prop:"border",themeKey:"borders",transform:Pt}),Et({prop:"borderTop",themeKey:"borders",transform:Pt}),Et({prop:"borderRight",themeKey:"borders",transform:Pt}),Et({prop:"borderBottom",themeKey:"borders",transform:Pt}),Et({prop:"borderLeft",themeKey:"borders",transform:Pt}),Et({prop:"borderColor",themeKey:"palette"}),Et({prop:"borderRadius",themeKey:"shape"})),Tt=St(Et({prop:"displayPrint",cssProperty:!1,transform:function(t){return{"@media print":{display:t}}}}),Et({prop:"display"}),Et({prop:"overflow"}),Et({prop:"textOverflow"}),Et({prop:"visibility"}),Et({prop:"whiteSpace"})),Rt=St(Et({prop:"flexBasis"}),Et({prop:"flexDirection"}),Et({prop:"flexWrap"}),Et({prop:"justifyContent"}),Et({prop:"alignItems"}),Et({prop:"alignContent"}),Et({prop:"order"}),Et({prop:"flex"}),Et({prop:"flexGrow"}),Et({prop:"flexShrink"}),Et({prop:"alignSelf"}),Et({prop:"justifyItems"}),Et({prop:"justifySelf"})),Dt=St(Et({prop:"gridGap"}),Et({prop:"gridColumnGap"}),Et({prop:"gridRowGap"}),Et({prop:"gridColumn"}),Et({prop:"gridRow"}),Et({prop:"gridAutoFlow"}),Et({prop:"gridAutoColumns"}),Et({prop:"gridAutoRows"}),Et({prop:"gridTemplateColumns"}),Et({prop:"gridTemplateRows"}),Et({prop:"gridTemplateAreas"}),Et({prop:"gridArea"})),Nt=St(Et({prop:"position"}),Et({prop:"zIndex",themeKey:"zIndex"}),Et({prop:"top"}),Et({prop:"right"}),Et({prop:"bottom"}),Et({prop:"left"})),Lt=St(Et({prop:"color",themeKey:"palette"}),Et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),Ft=Et({prop:"boxShadow",themeKey:"shadows"});function Bt(t){return t<=1?"".concat(100*t,"%"):t}var zt=Et({prop:"width",transform:Bt}),Vt=Et({prop:"maxWidth",transform:Bt}),Gt=Et({prop:"minWidth",transform:Bt}),Wt=Et({prop:"height",transform:Bt}),Yt=Et({prop:"maxHeight",transform:Bt}),Ht=Et({prop:"minHeight",transform:Bt}),Ut=(Et({prop:"size",cssProperty:"width",transform:Bt}),Et({prop:"size",cssProperty:"height",transform:Bt}),St(zt,Vt,Gt,Wt,Yt,Ht,Et({prop:"boxSizing"}))),Xt=n(1037),Zt=St(Et({prop:"fontFamily",themeKey:"typography"}),Et({prop:"fontSize",themeKey:"typography"}),Et({prop:"fontStyle",themeKey:"typography"}),Et({prop:"fontWeight",themeKey:"typography"}),Et({prop:"letterSpacing"}),Et({prop:"lineHeight"}),Et({prop:"textAlign"})),qt=n(257),Kt=Ot(St(Mt,Tt,Rt,Dt,Nt,Lt,Ft,Ut,Xt.b,Zt)),Qt=Object(qt.a)("div")(Kt,{name:"MuiBox"}),Jt=n(144),$t=n(11),te=Object(ct.a)(R.createElement("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var ee=Object(B.a)((function(t){return{root:{display:"flex",marginLeft:t.spacing(.5),marginRight:t.spacing(.5),backgroundColor:t.palette.grey[100],color:t.palette.grey[700],borderRadius:2,cursor:"pointer","&:hover, &:focus":{backgroundColor:t.palette.grey[200]},"&:active":{boxShadow:t.shadows[0],backgroundColor:Object($t.c)(t.palette.grey[200],.12)}},icon:{width:24,height:16}}}),{name:"PrivateBreadcrumbCollapsed"})((function(t){var e=t.classes,n=Object(T.a)(t,["classes"]);return R.createElement(et.a,Object(S.a)({component:"li",className:e.root,focusRipple:!0},n),R.createElement(te,{className:e.icon}))}));var ne=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.component,a=void 0===o?"nav":o,s=t.expandText,c=void 0===s?"Show path":s,l=t.itemsAfterCollapse,u=void 0===l?1:l,g=t.itemsBeforeCollapse,f=void 0===g?1:g,d=t.maxItems,h=void 0===d?8:d,p=t.separator,A=void 0===p?"/":p,C=Object(T.a)(t,["children","classes","className","component","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"]),v=R.useState(!1),I=v[0],y=v[1],m=R.Children.toArray(n).filter((function(t){return R.isValidElement(t)})).map((function(t,e){return R.createElement("li",{className:r.li,key:"child-".concat(e)},t)}));return R.createElement(Jt.a,Object(S.a)({ref:e,component:a,color:"textSecondary",className:Object(L.default)(r.root,i)},C),R.createElement("ol",{className:r.ol},function(t,e,n){return t.reduce((function(r,i,o){return o<t.length-1?r=r.concat(i,R.createElement("li",{"aria-hidden":!0,key:"separator-".concat(o),className:e},n)):r.push(i),r}),[])}(I||h&&m.length<=h?m:function(t){return f+u>=t.length?t:[].concat(Object(xt.a)(t.slice(0,f)),[R.createElement(ee,{"aria-label":c,key:"ellipsis",onClick:function(t){y(!0);var e=t.currentTarget.parentNode.querySelector("a[href],button,[tabindex]");e&&e.focus()}})],Object(xt.a)(t.slice(t.length-u,t.length)))}(m),r.separator,A)))})),re=Object(B.a)({root:{},ol:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"},li:{},separator:{display:"flex",userSelect:"none",marginLeft:8,marginRight:8}},{name:"MuiBreadcrumbs"})(ne),ie=n(438);ie.a.styles;var oe=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.color,a=void 0===o?"default":o,s=t.component,c=void 0===s?"div":s,l=t.disabled,u=void 0!==l&&l,g=t.disableElevation,f=void 0!==g&&g,d=t.disableFocusRipple,h=void 0!==d&&d,p=t.disableRipple,A=void 0!==p&&p,C=t.fullWidth,v=void 0!==C&&C,I=t.orientation,y=void 0===I?"horizontal":I,m=t.size,b=void 0===m?"medium":m,x=t.variant,w=void 0===x?"outlined":x,O=Object(T.a)(t,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"]),_=Object(L.default)(r.grouped,r["grouped".concat(Object(ot.a)(y))],r["grouped".concat(Object(ot.a)(w))],r["grouped".concat(Object(ot.a)(w)).concat(Object(ot.a)(y))],r["grouped".concat(Object(ot.a)(w)).concat("default"!==a?Object(ot.a)(a):"")],u&&r.disabled);return R.createElement(c,Object(S.a)({role:"group",className:Object(L.default)(r.root,i,v&&r.fullWidth,f&&r.disableElevation,"contained"===w&&r.contained,"vertical"===y&&r.vertical),ref:e},O),R.Children.map(n,(function(t){return R.isValidElement(t)?R.cloneElement(t,{className:Object(L.default)(_,t.props.className),color:t.props.color||a,disabled:t.props.disabled||u,disableElevation:t.props.disableElevation||f,disableFocusRipple:h,disableRipple:A,fullWidth:v,size:t.props.size||b,variant:t.props.variant||w}):null})))})),ae=Object(B.a)((function(t){return{root:{display:"inline-flex",borderRadius:t.shape.borderRadius},contained:{boxShadow:t.shadows[2]},disableElevation:{boxShadow:"none"},disabled:{},fullWidth:{width:"100%"},vertical:{flexDirection:"column"},grouped:{minWidth:40},groupedHorizontal:{"&:not(:first-child)":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child)":{borderTopRightRadius:0,borderBottomRightRadius:0}},groupedVertical:{"&:not(:first-child)":{borderTopRightRadius:0,borderTopLeftRadius:0},"&:not(:last-child)":{borderBottomRightRadius:0,borderBottomLeftRadius:0}},groupedText:{},groupedTextHorizontal:{"&:not(:last-child)":{borderRight:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")}},groupedTextVertical:{"&:not(:last-child)":{borderBottom:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")}},groupedTextPrimary:{"&:not(:last-child)":{borderColor:Object($t.d)(t.palette.primary.main,.5)}},groupedTextSecondary:{"&:not(:last-child)":{borderColor:Object($t.d)(t.palette.secondary.main,.5)}},groupedOutlined:{},groupedOutlinedHorizontal:{"&:not(:first-child)":{marginLeft:-1},"&:not(:last-child)":{borderRightColor:"transparent"}},groupedOutlinedVertical:{"&:not(:first-child)":{marginTop:-1},"&:not(:last-child)":{borderBottomColor:"transparent"}},groupedOutlinedPrimary:{"&:hover":{borderColor:t.palette.primary.main}},groupedOutlinedSecondary:{"&:hover":{borderColor:t.palette.secondary.main}},groupedContained:{boxShadow:"none"},groupedContainedHorizontal:{"&:not(:last-child)":{borderRight:"1px solid ".concat(t.palette.grey[400]),"&$disabled":{borderRight:"1px solid ".concat(t.palette.action.disabled)}}},groupedContainedVertical:{"&:not(:last-child)":{borderBottom:"1px solid ".concat(t.palette.grey[400]),"&$disabled":{borderBottom:"1px solid ".concat(t.palette.action.disabled)}}},groupedContainedPrimary:{"&:not(:last-child)":{borderColor:t.palette.primary.dark}},groupedContainedSecondary:{"&:not(:last-child)":{borderColor:t.palette.secondary.dark}}}}),{name:"MuiButtonGroup"})(oe),se=n(1017),ce=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.focusVisibleClassName,a=Object(T.a)(t,["children","classes","className","focusVisibleClassName"]);return R.createElement(et.a,Object(S.a)({className:Object(L.default)(r.root,i),focusVisibleClassName:Object(L.default)(o,r.focusVisible),ref:e},a),n,R.createElement("span",{className:r.focusHighlight}))})),le=Object(B.a)((function(t){return{root:{display:"block",textAlign:"inherit",width:"100%","&:hover $focusHighlight":{opacity:t.palette.action.hoverOpacity},"&$focusVisible $focusHighlight":{opacity:.12}},focusVisible:{},focusHighlight:{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:t.transitions.create("opacity",{duration:t.transitions.duration.short})}}}),{name:"MuiCardActionArea"})(ce),ue=n(1020),ge=n(1019),fe=R.forwardRef((function(t,e){var n=t.action,r=t.avatar,i=t.classes,o=t.className,a=t.component,s=void 0===a?"div":a,c=t.disableTypography,l=void 0!==c&&c,u=t.subheader,g=t.subheaderTypographyProps,f=t.title,d=t.titleTypographyProps,h=Object(T.a)(t,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),p=f;null==p||p.type===Jt.a||l||(p=R.createElement(Jt.a,Object(S.a)({variant:r?"body2":"h5",className:i.title,component:"span",display:"block"},d),p));var A=u;return null==A||A.type===Jt.a||l||(A=R.createElement(Jt.a,Object(S.a)({variant:r?"body2":"body1",className:i.subheader,color:"textSecondary",component:"span",display:"block"},g),A)),R.createElement(s,Object(S.a)({className:Object(L.default)(i.root,o),ref:e},h),r&&R.createElement("div",{className:i.avatar},r),R.createElement("div",{className:i.content},p,A),n&&R.createElement("div",{className:i.action},n))})),de=Object(B.a)({root:{display:"flex",alignItems:"center",padding:16},avatar:{flex:"0 0 auto",marginRight:16},action:{flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-8},content:{flex:"1 1 auto"},title:{},subheader:{}},{name:"MuiCardHeader"})(fe),he=["video","audio","picture","iframe","img"],pe=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.component,a=void 0===o?"div":o,s=t.image,c=t.src,l=t.style,u=Object(T.a)(t,["children","classes","className","component","image","src","style"]),g=-1!==he.indexOf(a),f=!g&&s?Object(S.a)({backgroundImage:'url("'.concat(s,'")')},l):l;return R.createElement(a,Object(S.a)({className:Object(L.default)(r.root,i,g&&r.media,-1!=="picture img".indexOf(a)&&r.img),ref:e,style:f,src:g?s||c:void 0},u),n)})),Ae=Object(B.a)({root:{display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},media:{width:"100%"},img:{objectFit:"cover"}},{name:"MuiCardMedia"})(pe),Ce=n(531),ve=n(532),Ie=44,ye=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.color,o=void 0===i?"primary":i,a=t.disableShrink,s=void 0!==a&&a,c=t.size,l=void 0===c?40:c,u=t.style,g=t.thickness,f=void 0===g?3.6:g,d=t.value,h=void 0===d?0:d,p=t.variant,A=void 0===p?"indeterminate":p,C=Object(T.a)(t,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),v={},I={},y={};if("determinate"===A||"static"===A){var m=2*Math.PI*((Ie-f)/2);v.strokeDasharray=m.toFixed(3),y["aria-valuenow"]=Math.round(h),v.strokeDashoffset="".concat(((100-h)/100*m).toFixed(3),"px"),I.transform="rotate(-90deg)"}return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,r,"inherit"!==o&&n["color".concat(Object(ot.a)(o))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[A]),style:Object(S.a)({width:l,height:l},I,u),ref:e,role:"progressbar"},y,C),R.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(Ie," ").concat(Ie)},R.createElement("circle",{className:Object(L.default)(n.circle,s&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[A]),style:v,cx:Ie,cy:Ie,r:(Ie-f)/2,fill:"none",strokeWidth:f})))})),me=Object(B.a)((function(t){return{root:{display:"inline-block"},static:{transition:t.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:t.transitions.create("transform")},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:t.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:t.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(ye),be=n(20),xe=n(32),we=n(24);function Oe(t){return t.substring(2).toLowerCase()}var Se=function(t){var e=t.children,n=t.disableReactTree,r=void 0!==n&&n,i=t.mouseEvent,o=void 0===i?"onClick":i,a=t.onClickAway,s=t.touchEvent,c=void 0===s?"onTouchEnd":s,l=R.useRef(!1),u=R.useRef(null),g=R.useRef(!1),f=R.useRef(!1);R.useEffect((function(){return setTimeout((function(){g.current=!0}),0),function(){g.current=!1}}),[]);var d=R.useCallback((function(t){u.current=be.findDOMNode(t)}),[]),h=Object(W.a)(e.ref,d),p=Object(we.a)((function(t){var e=f.current;if(f.current=!1,g.current&&u.current&&!function(t){return document.documentElement.clientWidth<t.clientX||document.documentElement.clientHeight<t.clientY}(t))if(l.current)l.current=!1;else{var n;if(t.composedPath)n=t.composedPath().indexOf(u.current)>-1;else n=!Object(xe.a)(u.current).documentElement.contains(t.target)||u.current.contains(t.target);n||!r&&e||a(t)}})),A=function(t){return function(n){f.current=!0;var r=e.props[t];r&&r(n)}},C={ref:h};return!1!==c&&(C[c]=A(c)),R.useEffect((function(){if(!1!==c){var t=Oe(c),e=Object(xe.a)(u.current),n=function(){l.current=!0};return e.addEventListener(t,p),e.addEventListener("touchmove",n),function(){e.removeEventListener(t,p),e.removeEventListener("touchmove",n)}}}),[p,c]),!1!==o&&(C[o]=A(o)),R.useEffect((function(){if(!1!==o){var t=Oe(o),e=Object(xe.a)(u.current);return e.addEventListener(t,p),function(){e.removeEventListener(t,p)}}}),[p,o]),R.createElement(R.Fragment,null,R.cloneElement(e,C))},_e=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.component,o=void 0===i?"div":i,a=t.disableGutters,s=void 0!==a&&a,c=t.fixed,l=void 0!==c&&c,u=t.maxWidth,g=void 0===u?"lg":u,f=Object(T.a)(t,["classes","className","component","disableGutters","fixed","maxWidth"]);return R.createElement(o,Object(S.a)({className:Object(L.default)(n.root,r,l&&n.fixed,s&&n.disableGutters,!1!==g&&n["maxWidth".concat(Object(ot.a)(String(g)))]),ref:e},f))})),ke=Object(B.a)((function(t){return{root:Object(_t.a)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",paddingLeft:t.spacing(2),paddingRight:t.spacing(2),display:"block"},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),disableGutters:{paddingLeft:0,paddingRight:0},fixed:Object.keys(t.breakpoints.values).reduce((function(e,n){var r=t.breakpoints.values[n];return 0!==r&&(e[t.breakpoints.up(n)]={maxWidth:r}),e}),{}),maxWidthXs:Object(_t.a)({},t.breakpoints.up("xs"),{maxWidth:Math.max(t.breakpoints.values.xs,444)}),maxWidthSm:Object(_t.a)({},t.breakpoints.up("sm"),{maxWidth:t.breakpoints.values.sm}),maxWidthMd:Object(_t.a)({},t.breakpoints.up("md"),{maxWidth:t.breakpoints.values.md}),maxWidthLg:Object(_t.a)({},t.breakpoints.up("lg"),{maxWidth:t.breakpoints.values.lg}),maxWidthXl:Object(_t.a)({},t.breakpoints.up("xl"),{maxWidth:t.breakpoints.values.xl})}}),{name:"MuiContainer"})(_e),je={WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},Ee=function(t){return Object(S.a)({color:t.palette.text.primary},t.typography.body2,{backgroundColor:t.palette.background.default,"@media print":{backgroundColor:t.palette.common.white}})};var Pe=Object(B.a)((function(t){return{"@global":{html:je,"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:Object(S.a)({margin:0},Ee(t),{"&::backdrop":{backgroundColor:t.palette.background.default}})}}}),{name:"MuiCssBaseline"})((function(t){var e=t.children,n=void 0===e?null:e;return t.classes,R.createElement(R.Fragment,null,n)})),Me=n(353),Te={enter:z.b.enteringScreen,exit:z.b.leavingScreen},Re=R.forwardRef((function(t,e){var n=t.BackdropProps,r=t.children,i=t.classes,o=t.className,a=t.disableBackdropClick,s=void 0!==a&&a,c=t.disableEscapeKeyDown,l=void 0!==c&&c,u=t.fullScreen,g=void 0!==u&&u,f=t.fullWidth,d=void 0!==f&&f,h=t.maxWidth,p=void 0===h?"sm":h,A=t.onBackdropClick,C=t.onClose,v=t.onEnter,I=t.onEntered,y=t.onEntering,m=t.onEscapeKeyDown,b=t.onExit,x=t.onExited,w=t.onExiting,O=t.open,_=t.PaperComponent,k=void 0===_?U.a:_,j=t.PaperProps,E=void 0===j?{}:j,P=t.scroll,M=void 0===P?"paper":P,D=t.TransitionComponent,N=void 0===D?ht:D,F=t.transitionDuration,B=void 0===F?Te:F,z=t.TransitionProps,V=t["aria-describedby"],G=t["aria-labelledby"],W=Object(T.a)(t,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),Y=R.useRef();return R.createElement(Me.a,Object(S.a)({className:Object(L.default)(i.root,o),BackdropComponent:At,BackdropProps:Object(S.a)({transitionDuration:B},n),closeAfterTransition:!0,disableBackdropClick:s,disableEscapeKeyDown:l,onEscapeKeyDown:m,onClose:C,open:O,ref:e},W),R.createElement(N,Object(S.a)({appear:!0,in:O,timeout:B,onEnter:v,onEntering:y,onEntered:I,onExit:b,onExiting:w,onExited:x,role:"none presentation"},z),R.createElement("div",{className:Object(L.default)(i.container,i["scroll".concat(Object(ot.a)(M))]),onMouseUp:function(t){t.target===t.currentTarget&&t.target===Y.current&&(Y.current=null,A&&A(t),!s&&C&&C(t,"backdropClick"))},onMouseDown:function(t){Y.current=t.target}},R.createElement(k,Object(S.a)({elevation:24,role:"dialog","aria-describedby":V,"aria-labelledby":G},E,{className:Object(L.default)(i.paper,i["paperScroll".concat(Object(ot.a)(M))],i["paperWidth".concat(Object(ot.a)(String(p)))],E.className,g&&i.paperFullScreen,d&&i.paperFullWidth)}),r))))})),De=Object(B.a)((function(t){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(t.breakpoints.values.xs,444),"&$paperScrollBody":Object(_t.a)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:t.breakpoints.values.sm,"&$paperScrollBody":Object(_t.a)({},t.breakpoints.down(t.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:t.breakpoints.values.md,"&$paperScrollBody":Object(_t.a)({},t.breakpoints.down(t.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:t.breakpoints.values.lg,"&$paperScrollBody":Object(_t.a)({},t.breakpoints.down(t.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:t.breakpoints.values.xl,"&$paperScrollBody":Object(_t.a)({},t.breakpoints.down(t.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(Re),Ne=R.forwardRef((function(t,e){var n=t.disableSpacing,r=void 0!==n&&n,i=t.classes,o=t.className,a=Object(T.a)(t,["disableSpacing","classes","className"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(i.root,o,!r&&i.spacing),ref:e},a))})),Le=Object(B.a)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(Ne),Fe=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.dividers,o=void 0!==i&&i,a=Object(T.a)(t,["classes","className","dividers"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,r,o&&n.dividers),ref:e},a))})),Be=Object(B.a)((function(t){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(t.palette.divider),borderBottom:"1px solid ".concat(t.palette.divider)}}}),{name:"MuiDialogContent"})(Fe),ze=R.forwardRef((function(t,e){return R.createElement(Jt.a,Object(S.a)({component:"p",variant:"body1",color:"textSecondary",ref:e},t))})),Ve=Object(B.a)({root:{marginBottom:12}},{name:"MuiDialogContentText"})(ze),Ge=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.disableTypography,a=void 0!==o&&o,s=Object(T.a)(t,["children","classes","className","disableTypography"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(r.root,i),ref:e},s),a?n:R.createElement(Jt.a,{component:"h2",variant:"h6"},n))})),We=Object(B.a)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(Ge),Ye=R.forwardRef((function(t,e){var n=t.absolute,r=void 0!==n&&n,i=t.classes,o=t.className,a=t.component,s=void 0===a?"hr":a,c=t.flexItem,l=void 0!==c&&c,u=t.light,g=void 0!==u&&u,f=t.orientation,d=void 0===f?"horizontal":f,h=t.role,p=void 0===h?"hr"!==s?"separator":void 0:h,A=t.variant,C=void 0===A?"fullWidth":A,v=Object(T.a)(t,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return R.createElement(s,Object(S.a)({className:Object(L.default)(i.root,o,"fullWidth"!==C&&i[C],r&&i.absolute,l&&i.flexItem,g&&i.light,"vertical"===d&&i.vertical),role:p,ref:e},v))})),He=Object(B.a)((function(t){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:t.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Object($t.d)(t.palette.divider,.08)},middle:{marginLeft:t.spacing(2),marginRight:t.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(Ye),Ue=n(63);function Xe(t,e){var n=function(t,e){var n,r=e.getBoundingClientRect();if(e.fakeTransform)n=e.fakeTransform;else{var i=window.getComputedStyle(e);n=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var o=0,a=0;if(n&&"none"!==n&&"string"===typeof n){var s=n.split("(")[1].split(")")[0].split(",");o=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===t?"translateX(".concat(window.innerWidth,"px) translateX(").concat(o-r.left,"px)"):"right"===t?"translateX(-".concat(r.left+r.width-o,"px)"):"up"===t?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(t,e);n&&(e.style.webkitTransform=n,e.style.transform=n)}var Ze={enter:z.b.enteringScreen,exit:z.b.leavingScreen},qe=R.forwardRef((function(t,e){var n=t.children,r=t.direction,i=void 0===r?"down":r,o=t.in,a=t.onEnter,s=t.onEntered,c=t.onEntering,l=t.onExit,u=t.onExited,g=t.onExiting,f=t.style,d=t.timeout,h=void 0===d?Ze:d,p=t.TransitionComponent,A=void 0===p?F.a:p,C=Object(T.a)(t,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=Object(G.a)(),I=R.useRef(null),y=R.useCallback((function(t){I.current=be.findDOMNode(t)}),[]),m=Object(W.a)(n.ref,y),b=Object(W.a)(m,e),x=function(t){return function(e){t&&(void 0===e?t(I.current):t(I.current,e))}},w=x((function(t,e){Xe(i,t),Object(V.b)(t),a&&a(t,e)})),O=x((function(t,e){var n=Object(V.a)({timeout:h,style:f},{mode:"enter"});t.style.webkitTransition=v.transitions.create("-webkit-transform",Object(S.a)({},n,{easing:v.transitions.easing.easeOut})),t.style.transition=v.transitions.create("transform",Object(S.a)({},n,{easing:v.transitions.easing.easeOut})),t.style.webkitTransform="none",t.style.transform="none",c&&c(t,e)})),_=x(s),k=x(g),j=x((function(t){var e=Object(V.a)({timeout:h,style:f},{mode:"exit"});t.style.webkitTransition=v.transitions.create("-webkit-transform",Object(S.a)({},e,{easing:v.transitions.easing.sharp})),t.style.transition=v.transitions.create("transform",Object(S.a)({},e,{easing:v.transitions.easing.sharp})),Xe(i,t),l&&l(t)})),E=x((function(t){t.style.webkitTransition="",t.style.transition="",u&&u(t)})),P=R.useCallback((function(){I.current&&Xe(i,I.current)}),[i]);return R.useEffect((function(){if(!o&&"down"!==i&&"right"!==i){var t=Object(Ue.a)((function(){I.current&&Xe(i,I.current)}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[i,o]),R.useEffect((function(){o||P()}),[o,P]),R.createElement(A,Object(S.a)({nodeRef:I,onEnter:w,onEntered:_,onEntering:O,onExit:j,onExited:E,onExiting:k,appear:!0,in:o,timeout:h},C),(function(t,e){return R.cloneElement(n,Object(S.a)({ref:b,style:Object(S.a)({visibility:"exited"!==t||o?void 0:"hidden"},f,n.props.style)},e))}))})),Ke={left:"right",right:"left",top:"down",bottom:"up"};function Qe(t){return-1!==["left","right"].indexOf(t)}function Je(t,e){return"rtl"===t.direction&&Qe(e)?Ke[e]:e}var $e={enter:z.b.enteringScreen,exit:z.b.leavingScreen},tn=R.forwardRef((function(t,e){var n=t.anchor,r=void 0===n?"left":n,i=t.BackdropProps,o=t.children,a=t.classes,s=t.className,c=t.elevation,l=void 0===c?16:c,u=t.ModalProps,g=(u=void 0===u?{}:u).BackdropProps,f=Object(T.a)(u,["BackdropProps"]),d=t.onClose,h=t.open,p=void 0!==h&&h,A=t.PaperProps,C=void 0===A?{}:A,v=t.SlideProps,I=t.TransitionComponent,y=void 0===I?qe:I,m=t.transitionDuration,b=void 0===m?$e:m,x=t.variant,w=void 0===x?"temporary":x,O=Object(T.a)(t,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),_=Object(G.a)(),k=R.useRef(!1);R.useEffect((function(){k.current=!0}),[]);var j=Je(_,r),E=R.createElement(U.a,Object(S.a)({elevation:"temporary"===w?l:0,square:!0},C,{className:Object(L.default)(a.paper,a["paperAnchor".concat(Object(ot.a)(j))],C.className,"temporary"!==w&&a["paperAnchorDocked".concat(Object(ot.a)(j))])}),o);if("permanent"===w)return R.createElement("div",Object(S.a)({className:Object(L.default)(a.root,a.docked,s),ref:e},O),E);var P=R.createElement(y,Object(S.a)({in:p,direction:Ke[j],timeout:b,appear:k.current},v),E);return"persistent"===w?R.createElement("div",Object(S.a)({className:Object(L.default)(a.root,a.docked,s),ref:e},O),P):R.createElement(Me.a,Object(S.a)({BackdropProps:Object(S.a)({},i,g,{transitionDuration:b}),BackdropComponent:At,className:Object(L.default)(a.root,a.modal,s),open:p,onClose:d,ref:e},O,f),P)})),en=Object(B.a)((function(t){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:t.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(t.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(t.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(t.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(t.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(tn);var nn=R.createContext({}),rn=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.defaultExpanded,a=void 0!==o&&o,s=t.disabled,c=void 0!==s&&s,l=t.expanded,u=t.onChange,g=t.square,f=void 0!==g&&g,d=t.TransitionComponent,h=void 0===d?H:d,p=t.TransitionProps,A=Object(T.a)(t,["children","classes","className","defaultExpanded","disabled","expanded","onChange","square","TransitionComponent","TransitionProps"]),C=Object(Z.a)({controlled:l,default:a,name:"ExpansionPanel",state:"expanded"}),v=Object(M.a)(C,2),I=v[0],y=v[1],m=R.useCallback((function(t){y(!I),u&&u(t,!I)}),[I,u,y]),b=P(R.Children.toArray(n)),x=b[0],w=b.slice(1),O=R.useMemo((function(){return{expanded:I,disabled:c,toggle:m}}),[I,c,m]);return R.createElement(U.a,Object(S.a)({className:Object(L.default)(r.root,i,I&&r.expanded,c&&r.disabled,!f&&r.rounded),ref:e,square:f},A),R.createElement(nn.Provider,{value:O},x),R.createElement(h,Object(S.a)({in:I,timeout:"auto"},p),R.createElement("div",{"aria-labelledby":x.props.id,id:x.props["aria-controls"],role:"region"},w)))})),on=Object(B.a)((function(t){var e={duration:t.transitions.duration.shortest};return{root:{position:"relative",transition:t.transitions.create(["margin"],e),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:t.palette.divider,transition:t.transitions.create(["opacity","background-color"],e)},"&:first-child":{"&:before":{display:"none"}},"&$expanded":{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},"&$expanded + &":{"&:before":{display:"none"}},"&$disabled":{backgroundColor:t.palette.action.disabledBackground}},rounded:{borderRadius:0,"&:first-child":{borderTopLeftRadius:t.shape.borderRadius,borderTopRightRadius:t.shape.borderRadius},"&:last-child":{borderBottomLeftRadius:t.shape.borderRadius,borderBottomRightRadius:t.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},expanded:{},disabled:{}}}),{name:"MuiExpansionPanel"})(rn),an=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.disableSpacing,o=void 0!==i&&i,a=Object(T.a)(t,["classes","className","disableSpacing"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,r,!o&&n.spacing),ref:e},a))})),sn=Object(B.a)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiExpansionPanelActions"})(an),cn=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=Object(T.a)(t,["classes","className"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,r),ref:e},i))})),ln=Object(B.a)((function(t){return{root:{display:"flex",padding:t.spacing(1,2,2)}}}),{name:"MuiExpansionPanelDetails"})(cn),un=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.expandIcon,a=t.IconButtonProps,s=t.onBlur,c=t.onClick,l=t.onFocusVisible,u=Object(T.a)(t,["children","classes","className","expandIcon","IconButtonProps","onBlur","onClick","onFocusVisible"]),g=R.useState(!1),f=g[0],d=g[1],h=R.useContext(nn),p=h.disabled,A=void 0!==p&&p,C=h.expanded,v=h.toggle;return R.createElement(et.a,Object(S.a)({focusRipple:!1,disableRipple:!0,disabled:A,component:"div","aria-expanded":C,className:Object(L.default)(r.root,i,A&&r.disabled,C&&r.expanded,f&&r.focused),onFocusVisible:function(t){d(!0),l&&l(t)},onBlur:function(t){d(!1),s&&s(t)},onClick:function(t){v&&v(t),c&&c(t)},ref:e},u),R.createElement("div",{className:Object(L.default)(r.content,C&&r.expanded)},n),o&&R.createElement(nt.a,Object(S.a)({className:Object(L.default)(r.expandIcon,C&&r.expanded),edge:"end",component:"div",tabIndex:null,role:null,"aria-hidden":!0},a),o))})),gn=Object(B.a)((function(t){var e={duration:t.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:t.transitions.create(["min-height","background-color"],e),padding:t.spacing(0,2),"&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused":{backgroundColor:t.palette.action.focus},"&$disabled":{opacity:t.palette.action.disabledOpacity}},expanded:{},focused:{},disabled:{},content:{display:"flex",flexGrow:1,transition:t.transitions.create(["margin"],e),margin:"12px 0","&$expanded":{margin:"20px 0"}},expandIcon:{transform:"rotate(0deg)",transition:t.transitions.create("transform",e),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"rotate(180deg)"}}}}),{name:"MuiExpansionPanelSummary"})(un),fn=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.color,a=void 0===o?"default":o,s=t.component,c=void 0===s?"button":s,l=t.disabled,u=void 0!==l&&l,g=t.disableFocusRipple,f=void 0!==g&&g,d=t.focusVisibleClassName,h=t.size,p=void 0===h?"large":h,A=t.variant,C=void 0===A?"round":A,v=Object(T.a)(t,["children","classes","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"]);return R.createElement(et.a,Object(S.a)({className:Object(L.default)(r.root,i,"round"!==C&&r.extended,"large"!==p&&r["size".concat(Object(ot.a)(p))],u&&r.disabled,{primary:r.primary,secondary:r.secondary,inherit:r.colorInherit}[a]),component:c,disabled:u,focusRipple:!f,focusVisibleClassName:Object(L.default)(r.focusVisible,d),ref:e},v),R.createElement("span",{className:r.label},n))})),dn=Object(B.a)((function(t){return{root:Object(S.a)({},t.typography.button,{boxSizing:"border-box",minHeight:36,transition:t.transitions.create(["background-color","box-shadow","border"],{duration:t.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:t.shadows[6],"&:active":{boxShadow:t.shadows[12]},color:t.palette.getContrastText(t.palette.grey[300]),backgroundColor:t.palette.grey[300],"&:hover":{backgroundColor:t.palette.grey.A100,"@media (hover: none)":{backgroundColor:t.palette.grey[300]},"&$disabled":{backgroundColor:t.palette.action.disabledBackground},textDecoration:"none"},"&$focusVisible":{boxShadow:t.shadows[6]},"&$disabled":{color:t.palette.action.disabled,boxShadow:t.shadows[0],backgroundColor:t.palette.action.disabledBackground}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},primary:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:hover":{backgroundColor:t.palette.primary.dark,"@media (hover: none)":{backgroundColor:t.palette.primary.main}}},secondary:{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.main,"&:hover":{backgroundColor:t.palette.secondary.dark,"@media (hover: none)":{backgroundColor:t.palette.secondary.main}}},extended:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48,"&$sizeSmall":{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"&$sizeMedium":{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},sizeSmall:{width:40,height:40},sizeMedium:{width:48,height:48}}}),{name:"MuiFab"})(fn),hn=n(979),pn=n(348),An=n(128),Cn=n(475),vn=n(349),In=n(981),yn=n(982),mn=[0,1,2,3,4,5,6,7,8,9,10],bn=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function xn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(t);return"".concat(n/e).concat(String(t).replace(String(n),"")||"px")}var wn=R.forwardRef((function(t,e){var n=t.alignContent,r=void 0===n?"stretch":n,i=t.alignItems,o=void 0===i?"stretch":i,a=t.classes,s=t.className,c=t.component,l=void 0===c?"div":c,u=t.container,g=void 0!==u&&u,f=t.direction,d=void 0===f?"row":f,h=t.item,p=void 0!==h&&h,A=t.justify,C=void 0===A?"flex-start":A,v=t.lg,I=void 0!==v&&v,y=t.md,m=void 0!==y&&y,b=t.sm,x=void 0!==b&&b,w=t.spacing,O=void 0===w?0:w,_=t.wrap,k=void 0===_?"wrap":_,j=t.xl,E=void 0!==j&&j,P=t.xs,M=void 0!==P&&P,D=t.zeroMinWidth,N=void 0!==D&&D,F=Object(T.a)(t,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),B=Object(L.default)(a.root,s,g&&[a.container,0!==O&&a["spacing-xs-".concat(String(O))]],p&&a.item,N&&a.zeroMinWidth,"row"!==d&&a["direction-xs-".concat(String(d))],"wrap"!==k&&a["wrap-xs-".concat(String(k))],"stretch"!==o&&a["align-items-xs-".concat(String(o))],"stretch"!==r&&a["align-content-xs-".concat(String(r))],"flex-start"!==C&&a["justify-xs-".concat(String(C))],!1!==M&&a["grid-xs-".concat(String(M))],!1!==x&&a["grid-sm-".concat(String(x))],!1!==m&&a["grid-md-".concat(String(m))],!1!==I&&a["grid-lg-".concat(String(I))],!1!==E&&a["grid-xl-".concat(String(E))]);return R.createElement(l,Object(S.a)({className:B,ref:e},F))})),On=Object(B.a)((function(t){return Object(S.a)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},function(t,e){var n={};return mn.forEach((function(r){var i=t.spacing(r);0!==i&&(n["spacing-".concat(e,"-").concat(r)]={margin:"-".concat(xn(i,2)),width:"calc(100% + ".concat(xn(i),")"),"& > $item":{padding:xn(i,2)}})})),n}(t,"xs"),t.breakpoints.keys.reduce((function(e,n){return function(t,e,n){var r={};bn.forEach((function(t){var e="grid-".concat(n,"-").concat(t);if(!0!==t)if("auto"!==t){var i="".concat(Math.round(t/12*1e8)/1e6,"%");r[e]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[e]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[e]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Object(S.a)(t,r):t[e.breakpoints.up(n)]=r}(e,t,n),e}),{}))}),{name:"MuiGrid"})(wn),Sn=R.forwardRef((function(t,e){var n=t.cellHeight,r=void 0===n?180:n,i=t.children,o=t.classes,a=t.className,s=t.cols,c=void 0===s?2:s,l=t.component,u=void 0===l?"ul":l,g=t.spacing,f=void 0===g?4:g,d=t.style,h=Object(T.a)(t,["cellHeight","children","classes","className","cols","component","spacing","style"]);return R.createElement(u,Object(S.a)({className:Object(L.default)(o.root,a),ref:e,style:Object(S.a)({margin:-f/2},d)},h),R.Children.map(i,(function(t){if(!R.isValidElement(t))return null;var e=t.props.cols||1,n=t.props.rows||1;return R.cloneElement(t,{style:Object(S.a)({width:"".concat(100/c*e,"%"),height:"auto"===r?"auto":r*n+f,padding:f/2},t.props.style)})})))})),_n=Object(B.a)({root:{display:"flex",flexWrap:"wrap",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"}},{name:"MuiGridList"})(Sn),kn=n(78),jn=function(t,e){var n,r,i,o;t&&t.complete&&(t.width/t.height>t.parentElement.offsetWidth/t.parentElement.offsetHeight?((n=t.classList).remove.apply(n,Object(xt.a)(e.imgFullWidth.split(" "))),(r=t.classList).add.apply(r,Object(xt.a)(e.imgFullHeight.split(" ")))):((i=t.classList).remove.apply(i,Object(xt.a)(e.imgFullHeight.split(" "))),(o=t.classList).add.apply(o,Object(xt.a)(e.imgFullWidth.split(" ")))))};var En=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=(t.cols,t.component),a=void 0===o?"li":o,s=(t.rows,Object(T.a)(t,["children","classes","className","cols","component","rows"])),c=R.useRef(null);return R.useEffect((function(){!function(t,e){t&&(t.complete?jn(t,e):t.addEventListener("load",(function(){jn(t,e)})))}(c.current,r)})),R.useEffect((function(){var t=Object(Ue.a)((function(){jn(c.current,r)}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}),[r]),R.createElement(a,Object(S.a)({className:Object(L.default)(r.root,i),ref:e},s),R.createElement("div",{className:r.tile},R.Children.map(n,(function(t){return R.isValidElement(t)?"img"===t.type||Object(kn.a)(t,["Image"])?R.cloneElement(t,{ref:c}):t:null}))))})),Pn=Object(B.a)({root:{boxSizing:"border-box",flexShrink:0},tile:{position:"relative",display:"block",height:"100%",overflow:"hidden"},imgFullHeight:{height:"100%",transform:"translateX(-50%)",position:"relative",left:"50%"},imgFullWidth:{width:"100%",position:"relative",transform:"translateY(-50%)",top:"50%"}},{name:"MuiGridListTile"})(En),Mn=R.forwardRef((function(t,e){var n=t.actionIcon,r=t.actionPosition,i=void 0===r?"right":r,o=t.classes,a=t.className,s=t.subtitle,c=t.title,l=t.titlePosition,u=void 0===l?"bottom":l,g=Object(T.a)(t,["actionIcon","actionPosition","classes","className","subtitle","title","titlePosition"]),f=n&&i;return R.createElement("div",Object(S.a)({className:Object(L.default)(o.root,a,"top"===u?o.titlePositionTop:o.titlePositionBottom,s&&o.rootSubtitle),ref:e},g),R.createElement("div",{className:Object(L.default)(o.titleWrap,{left:o.titleWrapActionPosLeft,right:o.titleWrapActionPosRight}[f])},R.createElement("div",{className:o.title},c),s?R.createElement("div",{className:o.subtitle},s):null),n?R.createElement("div",{className:Object(L.default)(o.actionIcon,"left"===f&&o.actionIconActionPosLeft)},n):null)})),Tn=Object(B.a)((function(t){return{root:{position:"absolute",left:0,right:0,height:48,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:t.typography.fontFamily},titlePositionBottom:{bottom:0},titlePositionTop:{top:0},rootSubtitle:{height:68},titleWrap:{flexGrow:1,marginLeft:16,marginRight:16,color:t.palette.common.white,overflow:"hidden"},titleWrapActionPosLeft:{marginLeft:0},titleWrapActionPosRight:{marginRight:0},title:{fontSize:t.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},subtitle:{fontSize:t.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},actionIcon:{},actionIconActionPosLeft:{order:-1}}}),{name:"MuiGridListTileBar"})(Mn),Rn=n(269),Dn=n(1018),Nn=n(70),Ln=n.n(Nn),Fn=n(92),Bn=n(366);function zn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(Bn.a)(),r=Object(Dn.a)({theme:n,name:"MuiUseMediaQuery",props:{}});var i="function"===typeof t?t(n):t;i=i.replace(/^@media( ?)/m,"");var o="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,a=Object(S.a)({},r,e),s=a.defaultMatches,c=void 0!==s&&s,l=a.matchMedia,u=void 0===l?o?window.matchMedia:null:l,g=a.noSsr,f=void 0!==g&&g,d=a.ssrMatchMedia,h=void 0===d?null:d,p=R.useState((function(){return f&&o?u(i).matches:h?h(i).matches:c})),A=p[0],C=p[1];return R.useEffect((function(){var t=!0;if(o){var e=u(i),n=function(){t&&C(e.matches)};return n(),e.addListener(n),function(){t=!1,e.removeListener(n)}}}),[i,u,o]),A}var Vn=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?Fn.b.indexOf(t)<=Fn.b.indexOf(e):Fn.b.indexOf(t)<Fn.b.indexOf(e)},Gn=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?Fn.b.indexOf(e)<=Fn.b.indexOf(t):Fn.b.indexOf(e)<Fn.b.indexOf(t)},Wn="undefined"===typeof window?R.useEffect:R.useLayoutEffect,Yn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){var n=t.withTheme,r=void 0!==n&&n,i=t.noSSR,o=void 0!==i&&i,a=t.initialWidth;function s(t){var n=Object(G.a)(),i=t.theme||n,s=Object(Dn.a)({theme:i,name:"MuiWithWidth",props:Object(S.a)({},t)}),c=s.initialWidth,l=s.width,u=Object(T.a)(s,["initialWidth","width"]),g=R.useState(!1),f=g[0],d=g[1];Wn((function(){d(!0)}),[]);var h=i.breakpoints.keys.slice().reverse().reduce((function(t,e){var n=zn(i.breakpoints.up(e));return!t&&n?e:t}),null),p=Object(S.a)({width:l||(f||o?h:void 0)||c||a},r?{theme:i}:{},u);return void 0===p.width?null:R.createElement(e,p)}return Ln()(s,e),s}};function Hn(t){var e=t.children,n=t.only,r=t.width,i=Object(G.a)(),o=!0;if(n)if(Array.isArray(n))for(var a=0;a<n.length;a+=1){if(r===n[a]){o=!1;break}}else n&&r===n&&(o=!1);if(o)for(var s=0;s<i.breakpoints.keys.length;s+=1){var c=i.breakpoints.keys[s],l=t["".concat(c,"Up")],u=t["".concat(c,"Down")];if(l&&Vn(c,r)||u&&Gn(c,r)){o=!1;break}}return o?e:null}Hn.propTypes={children:N.a.node,className:N.a.string,implementation:N.a.oneOf(["js","css"]),initialWidth:N.a.oneOf(["xs","sm","md","lg","xl"]),lgDown:N.a.bool,lgUp:N.a.bool,mdDown:N.a.bool,mdUp:N.a.bool,only:N.a.oneOfType([N.a.oneOf(["xs","sm","md","lg","xl"]),N.a.arrayOf(N.a.oneOf(["xs","sm","md","lg","xl"]))]),smDown:N.a.bool,smUp:N.a.bool,width:N.a.string.isRequired,xlDown:N.a.bool,xlUp:N.a.bool,xsDown:N.a.bool,xsUp:N.a.bool};var Un=Yn()(Hn);var Xn=Object(B.a)((function(t){var e={display:"none"};return t.breakpoints.keys.reduce((function(n,r){return n["only".concat(Object(ot.a)(r))]=Object(_t.a)({},t.breakpoints.only(r),e),n["".concat(r,"Up")]=Object(_t.a)({},t.breakpoints.up(r),e),n["".concat(r,"Down")]=Object(_t.a)({},t.breakpoints.down(r),e),n}),{})}),{name:"PrivateHiddenCss"})((function(t){var e=t.children,n=t.classes,r=t.className,i=t.only,o=(Object(T.a)(t,["children","classes","className","only"]),Object(G.a)()),a=[];r&&a.push(r);for(var s=0;s<o.breakpoints.keys.length;s+=1){var c=o.breakpoints.keys[s],l=t["".concat(c,"Up")],u=t["".concat(c,"Down")];l&&a.push(n["".concat(c,"Up")]),u&&a.push(n["".concat(c,"Down")])}return i&&(Array.isArray(i)?i:[i]).forEach((function(t){a.push(n["only".concat(Object(ot.a)(t))])})),R.createElement("div",{className:a.join(" ")},e)}));var Zn=function(t){var e=t.implementation,n=void 0===e?"js":e,r=t.lgDown,i=void 0!==r&&r,o=t.lgUp,a=void 0!==o&&o,s=t.mdDown,c=void 0!==s&&s,l=t.mdUp,u=void 0!==l&&l,g=t.smDown,f=void 0!==g&&g,d=t.smUp,h=void 0!==d&&d,p=t.xlDown,A=void 0!==p&&p,C=t.xlUp,v=void 0!==C&&C,I=t.xsDown,y=void 0!==I&&I,m=t.xsUp,b=void 0!==m&&m,x=Object(T.a)(t,["implementation","lgDown","lgUp","mdDown","mdUp","smDown","smUp","xlDown","xlUp","xsDown","xsUp"]);return"js"===n?R.createElement(Un,Object(S.a)({lgDown:i,lgUp:a,mdDown:c,mdUp:u,smDown:f,smUp:h,xlDown:A,xlUp:v,xsDown:y,xsUp:b},x)):R.createElement(Xn,Object(S.a)({lgDown:i,lgUp:a,mdDown:c,mdUp:u,smDown:f,smUp:h,xlDown:A,xlUp:v,xsDown:y,xsUp:b},x))},qn=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.color,o=void 0===i?"inherit":i,a=t.component,s=void 0===a?"span":a,c=t.fontSize,l=void 0===c?"default":c,u=Object(T.a)(t,["classes","className","color","component","fontSize"]);return R.createElement(s,Object(S.a)({className:Object(L.default)("material-icons",n.root,r,"inherit"!==o&&n["color".concat(Object(ot.a)(o))],"default"!==l&&n["fontSize".concat(Object(ot.a)(l))]),"aria-hidden":!0,ref:e},u))}));qn.muiName="Icon";var Kn=Object(B.a)((function(t){return{root:{userSelect:"none",fontSize:t.typography.pxToRem(24),width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(36)}}}),{name:"MuiIcon"})(qn),Qn=n(270),Jn=n(102),$n=R.forwardRef((function(t,e){var n=t.children,r=t.classes,i=t.className,o=t.component,a=void 0===o?"div":o,s=t.disablePointerEvents,c=void 0!==s&&s,l=t.disableTypography,u=void 0!==l&&l,g=t.position,f=t.variant,d=Object(T.a)(t,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),h=Object(Jn.b)()||{},p=f;return f&&h.variant,h&&!p&&(p=h.variant),R.createElement(Jn.a.Provider,{value:null},R.createElement(a,Object(S.a)({className:Object(L.default)(r.root,i,c&&r.disablePointerEvents,h.hiddenLabel&&r.hiddenLabel,"filled"===p&&r.filled,{start:r.positionStart,end:r.positionEnd}[g],"dense"===h.margin&&r.marginDense),ref:e},d),"string"!==typeof n||u?n:R.createElement(Jt.a,{color:"textSecondary"},n)))})),tr=Object(B.a)({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})($n),er=n(569),nr=n(350),rr=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.color,o=void 0===i?"primary":i,a=t.value,s=t.valueBuffer,c=t.variant,l=void 0===c?"indeterminate":c,u=Object(T.a)(t,["classes","className","color","value","valueBuffer","variant"]),g=Object(G.a)(),f={},d={bar1:{},bar2:{}};if("determinate"===l||"buffer"===l)if(void 0!==a){f["aria-valuenow"]=Math.round(a),f["aria-valuemin"]=0,f["aria-valuemax"]=100;var h=a-100;"rtl"===g.direction&&(h=-h),d.bar1.transform="translateX(".concat(h,"%)")}else 0;if("buffer"===l)if(void 0!==s){var p=(s||0)-100;"rtl"===g.direction&&(p=-p),d.bar2.transform="translateX(".concat(p,"%)")}else 0;return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,n["color".concat(Object(ot.a)(o))],r,{determinate:n.determinate,indeterminate:n.indeterminate,buffer:n.buffer,query:n.query}[l]),role:"progressbar"},f,{ref:e},u),"buffer"===l?R.createElement("div",{className:Object(L.default)(n.dashed,n["dashedColor".concat(Object(ot.a)(o))])}):null,R.createElement("div",{className:Object(L.default)(n.bar,n["barColor".concat(Object(ot.a)(o))],("indeterminate"===l||"query"===l)&&n.bar1Indeterminate,{determinate:n.bar1Determinate,buffer:n.bar1Buffer}[l]),style:d.bar1}),"determinate"===l?null:R.createElement("div",{className:Object(L.default)(n.bar,("indeterminate"===l||"query"===l)&&n.bar2Indeterminate,"buffer"===l?[n["color".concat(Object(ot.a)(o))],n.bar2Buffer]:n["barColor".concat(Object(ot.a)(o))]),style:d.bar2}))})),ir=Object(B.a)((function(t){var e=function(e){return"light"===t.palette.type?Object($t.i)(e,.62):Object($t.a)(e,.5)},n=e(t.palette.primary.main),r=e(t.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:n},colorSecondary:{backgroundColor:r},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:t.palette.primary.main},barColorSecondary:{backgroundColor:t.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(rr),or=n(97),ar=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.color,o=void 0===i?"primary":i,a=t.component,s=void 0===a?"a":a,c=t.onBlur,l=t.onFocus,u=t.TypographyClasses,g=t.underline,f=void 0===g?"hover":g,d=t.variant,h=void 0===d?"inherit":d,p=Object(T.a)(t,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),A=Object(or.a)(),C=A.isFocusVisible,v=A.onBlurVisible,I=A.ref,y=R.useState(!1),m=y[0],b=y[1],x=Object(W.a)(e,I);return R.createElement(Jt.a,Object(S.a)({className:Object(L.default)(n.root,n["underline".concat(Object(ot.a)(f))],r,m&&n.focusVisible,"button"===s&&n.button),classes:u,color:o,component:s,onBlur:function(t){m&&(v(),b(!1)),c&&c(t)},onFocus:function(t){C(t)&&b(!0),l&&l(t)},ref:x,variant:h},p))})),sr=Object(B.a)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(ar),cr=n(983),lr=n(984),ur=n(80),gr=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=Object(T.a)(t,["classes","className"]),o=R.useContext(ur.a);return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,r,"flex-start"===o.alignItems&&n.alignItemsFlexStart),ref:e},i))})),fr=Object(B.a)({root:{minWidth:56,flexShrink:0},alignItemsFlexStart:{marginTop:8}},{name:"MuiListItemAvatar"})(gr),dr=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=Object(T.a)(t,["classes","className"]),o=R.useContext(ur.a);return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,r,"flex-start"===o.alignItems&&n.alignItemsFlexStart),ref:e},i))})),hr=Object(B.a)((function(t){return{root:{minWidth:56,color:t.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(dr),pr=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=Object(T.a)(t,["classes","className"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(n.root,r),ref:e},i))}));pr.muiName="ListItemSecondaryAction";var Ar=Object(B.a)({root:{position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"}},{name:"MuiListItemSecondaryAction"})(pr),Cr=n(476),vr=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.color,o=void 0===i?"default":i,a=t.component,s=void 0===a?"li":a,c=t.disableGutters,l=void 0!==c&&c,u=t.disableSticky,g=void 0!==u&&u,f=t.inset,d=void 0!==f&&f,h=Object(T.a)(t,["classes","className","color","component","disableGutters","disableSticky","inset"]);return R.createElement(s,Object(S.a)({className:Object(L.default)(n.root,r,"default"!==o&&n["color".concat(Object(ot.a)(o))],d&&n.inset,!g&&n.sticky,!l&&n.gutters),ref:e},h))})),Ir=Object(B.a)((function(t){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:t.palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},colorPrimary:{color:t.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(vr),yr=n(539),mr=n(477),br=n(985),xr=R.forwardRef((function(t,e){var n=t.activeStep,r=void 0===n?0:n,i=t.backButton,o=t.classes,a=t.className,s=t.LinearProgressProps,c=t.nextButton,l=t.position,u=void 0===l?"bottom":l,g=t.steps,f=t.variant,d=void 0===f?"dots":f,h=Object(T.a)(t,["activeStep","backButton","classes","className","LinearProgressProps","nextButton","position","steps","variant"]);return R.createElement(U.a,Object(S.a)({square:!0,elevation:0,className:Object(L.default)(o.root,o["position".concat(Object(ot.a)(u))],a),ref:e},h),i,"text"===d&&R.createElement(R.Fragment,null,r+1," / ",g),"dots"===d&&R.createElement("div",{className:o.dots},Object(xt.a)(new Array(g)).map((function(t,e){return R.createElement("div",{key:e,className:Object(L.default)(o.dot,e===r&&o.dotActive)})}))),"progress"===d&&R.createElement(ir,Object(S.a)({className:o.progress,variant:"determinate",value:Math.ceil(r/(g-1)*100)},s)),c)})),wr=Object(B.a)((function(t){return{root:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:t.palette.background.default,padding:8},positionBottom:{position:"fixed",bottom:0,left:0,right:0,zIndex:t.zIndex.mobileStepper},positionTop:{position:"fixed",top:0,left:0,right:0,zIndex:t.zIndex.mobileStepper},positionStatic:{},dots:{display:"flex",flexDirection:"row"},dot:{backgroundColor:t.palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},dotActive:{backgroundColor:t.palette.primary.main},progress:{width:"50%"}}}),{name:"MuiMobileStepper"})(xr),Or=n(147),Sr=n(540),_r="undefined"!==typeof window?R.useLayoutEffect:R.useEffect;var kr=function(t){var e=t.children,n=t.defer,r=void 0!==n&&n,i=t.fallback,o=void 0===i?null:i,a=R.useState(!1),s=a[0],c=a[1];return _r((function(){r||c(!0)}),[r]),R.useEffect((function(){r&&c(!0)}),[r]),R.createElement(R.Fragment,null,s?e:o)},jr=n(990),Er=n(351),Pr=n(986),Mr=n(978),Tr=n(1035),Rr=n(478),Dr=n(234),Nr=n(164),Lr=n(37);function Fr(t,e){return(Fr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Br=n(108),zr=n(50);function Vr(t,e){return!e||"object"!==Object(Br.a)(e)&&"function"!==typeof e?Object(zr.a)(t):e}function Gr(t){return(Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Wr=n(49);function Yr(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Gr(t);if(e){var i=Gr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Vr(this,n)}}var Hr=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fr(t,e)}(n,t);var e=Yr(n);function n(){return Object(Nr.a)(this,n),e.apply(this,arguments)}return Object(Lr.a)(n,[{key:"componentDidMount",value:function(){this.ref=be.findDOMNode(this),Object(Wr.a)(this.props.rootRef,this.ref)}},{key:"componentDidUpdate",value:function(t){var e=be.findDOMNode(this);t.rootRef===this.props.rootRef&&this.ref===e||(t.rootRef!==this.props.rootRef&&Object(Wr.a)(t.rootRef,null),this.ref=e,Object(Wr.a)(this.props.rootRef,this.ref))}},{key:"componentWillUnmount",value:function(){this.ref=null,Object(Wr.a)(this.props.rootRef,null)}},{key:"render",value:function(){return this.props.children}}]),n}(R.Component),Ur=n(352);var Xr=Object(B.a)((function(t){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:Object(S.a)({zIndex:1},t.typography.body2,{fontSize:t.typography.pxToRem(12),lineHeight:1.2,transition:t.transitions.create(["transform"],{duration:t.transitions.duration.shortest}),top:-34,transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:t.palette.primary.contrastText,transform:"rotate(45deg)"}}}),{name:"PrivateValueLabel"})((function(t){var e=t.children,n=t.classes,r=t.className,i=t.open,o=t.value,a=t.valueLabelDisplay;return"off"===a?e:R.cloneElement(e,{className:Object(L.default)(e.props.className,(i||"on"===a)&&n.open,n.thumb)},R.createElement("span",{className:Object(L.default)(n.offset,r)},R.createElement("span",{className:n.circle},R.createElement("span",{className:n.label},o))))}));function Zr(t,e){return t-e}function qr(t,e,n){return Math.min(Math.max(e,t),n)}function Kr(t,e){return t.reduce((function(t,n,r){var i=Math.abs(e-n);return null===t||i<t.distance||i===t.distance?{distance:i,index:r}:t}),null).index}function Qr(t,e){if(void 0!==e.current&&t.changedTouches){for(var n=0;n<t.changedTouches.length;n+=1){var r=t.changedTouches[n];if(r.identifier===e.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:t.clientX,y:t.clientY}}function Jr(t,e,n){return 100*(t-e)/(n-e)}function $r(t,e,n){var r=Math.round((t-n)/e)*e+n;return Number(r.toFixed(function(t){if(Math.abs(t)<1){var e=t.toExponential().split("e-"),n=e[0].split(".")[1];return(n?n.length:0)+parseInt(e[1],10)}var r=t.toString().split(".")[1];return r?r.length:0}(e)))}function ti(t){var e=t.values,n=t.source,r=t.newValue,i=t.index;if(e[i]===r)return n;var o=e.slice();return o[i]=r,o}function ei(t){var e=t.sliderRef,n=t.activeIndex,r=t.setActive;e.current.contains(document.activeElement)&&Number(document.activeElement.getAttribute("data-index"))===n||e.current.querySelector('[role="slider"][data-index="'.concat(n,'"]')).focus(),r&&r(n)}var ni={horizontal:{offset:function(t){return{left:"".concat(t,"%")}},leap:function(t){return{width:"".concat(t,"%")}}},"horizontal-reverse":{offset:function(t){return{right:"".concat(t,"%")}},leap:function(t){return{width:"".concat(t,"%")}}},vertical:{offset:function(t){return{bottom:"".concat(t,"%")}},leap:function(t){return{height:"".concat(t,"%")}}}},ri=function(t){return t},ii=R.forwardRef((function(t,e){var n=t["aria-label"],r=t["aria-labelledby"],i=t["aria-valuetext"],o=t.classes,a=t.className,s=t.color,c=void 0===s?"primary":s,l=t.component,u=void 0===l?"span":l,g=t.defaultValue,f=t.disabled,d=void 0!==f&&f,h=t.getAriaLabel,p=t.getAriaValueText,A=t.marks,C=void 0!==A&&A,v=t.max,I=void 0===v?100:v,y=t.min,m=void 0===y?0:y,b=t.name,x=t.onChange,w=t.onChangeCommitted,O=t.onMouseDown,_=t.orientation,k=void 0===_?"horizontal":_,j=t.scale,E=void 0===j?ri:j,P=t.step,D=void 0===P?1:P,N=t.ThumbComponent,F=void 0===N?"span":N,B=t.track,z=void 0===B?"normal":B,V=t.value,Y=t.ValueLabelComponent,H=void 0===Y?Xr:Y,U=t.valueLabelDisplay,X=void 0===U?"off":U,q=t.valueLabelFormat,K=void 0===q?ri:q,Q=Object(T.a)(t,["aria-label","aria-labelledby","aria-valuetext","classes","className","color","component","defaultValue","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","ThumbComponent","track","value","ValueLabelComponent","valueLabelDisplay","valueLabelFormat"]),J=Object(G.a)(),$=R.useRef(),tt=R.useState(-1),et=tt[0],nt=tt[1],rt=R.useState(-1),it=rt[0],at=rt[1],st=Object(Z.a)({controlled:V,default:g,name:"Slider"}),ct=Object(M.a)(st,2),lt=ct[0],ut=ct[1],gt=Array.isArray(lt),ft=gt?lt.slice().sort(Zr):[lt];ft=ft.map((function(t){return qr(t,m,I)}));var dt=!0===C&&null!==D?Object(xt.a)(Array(Math.floor((I-m)/D)+1)).map((function(t,e){return{value:m+D*e}})):C||[],ht=Object(or.a)(),pt=ht.isFocusVisible,At=ht.onBlurVisible,Ct=ht.ref,vt=R.useState(-1),It=vt[0],yt=vt[1],mt=R.useRef(),bt=Object(W.a)(Ct,mt),wt=Object(W.a)(e,bt),Ot=Object(we.a)((function(t){var e=Number(t.currentTarget.getAttribute("data-index"));pt(t)&&yt(e),at(e)})),St=Object(we.a)((function(){-1!==It&&(yt(-1),At()),at(-1)})),_t=Object(we.a)((function(t){var e=Number(t.currentTarget.getAttribute("data-index"));at(e)})),kt=Object(we.a)((function(){at(-1)})),jt="rtl"===J.direction,Et=Object(we.a)((function(t){var e,n=Number(t.currentTarget.getAttribute("data-index")),r=ft[n],i=(I-m)/10,o=dt.map((function(t){return t.value})),a=o.indexOf(r),s=jt?"ArrowLeft":"ArrowRight",c=jt?"ArrowRight":"ArrowLeft";switch(t.key){case"Home":e=m;break;case"End":e=I;break;case"PageUp":D&&(e=r+i);break;case"PageDown":D&&(e=r-i);break;case s:case"ArrowUp":e=D?r+D:o[a+1]||o[o.length-1];break;case c:case"ArrowDown":e=D?r-D:o[a-1]||o[0];break;default:return}if(t.preventDefault(),D&&(e=$r(e,D,m)),e=qr(e,m,I),gt){var l=e;e=ti({values:ft,source:lt,newValue:e,index:n}).sort(Zr),ei({sliderRef:mt,activeIndex:e.indexOf(l)})}ut(e),yt(n),x&&x(t,e),w&&w(t,e)})),Pt=R.useRef(),Mt=k;jt&&"vertical"!==k&&(Mt+="-reverse");var Tt=function(t){var e,n,r=t.finger,i=t.move,o=void 0!==i&&i,a=t.values,s=t.source,c=mt.current.getBoundingClientRect(),l=c.width,u=c.height,g=c.bottom,f=c.left;if(e=0===Mt.indexOf("vertical")?(g-r.y)/u:(r.x-f)/l,-1!==Mt.indexOf("-reverse")&&(e=1-e),n=function(t,e,n){return(n-e)*t+e}(e,m,I),D)n=$r(n,D,m);else{var d=dt.map((function(t){return t.value}));n=d[Kr(d,n)]}n=qr(n,m,I);var h=0;if(gt){var p=n;h=(n=ti({values:a,source:s,newValue:n,index:h=o?Pt.current:Kr(a,n)}).sort(Zr)).indexOf(p),Pt.current=h}return{newValue:n,activeIndex:h}},Rt=Object(we.a)((function(t){var e=Qr(t,$);if(e){var n=Tt({finger:e,move:!0,values:ft,source:lt}),r=n.newValue,i=n.activeIndex;ei({sliderRef:mt,activeIndex:i,setActive:nt}),ut(r),x&&x(t,r)}})),Dt=Object(we.a)((function(t){var e=Qr(t,$);if(e){var n=Tt({finger:e,values:ft,source:lt}).newValue;nt(-1),"touchend"===t.type&&at(-1),w&&w(t,n),$.current=void 0;var r=Object(xe.a)(mt.current);r.removeEventListener("mousemove",Rt),r.removeEventListener("mouseup",Dt),r.removeEventListener("touchmove",Rt),r.removeEventListener("touchend",Dt)}})),Nt=Object(we.a)((function(t){t.preventDefault();var e=t.changedTouches[0];null!=e&&($.current=e.identifier);var n=Qr(t,$),r=Tt({finger:n,values:ft,source:lt}),i=r.newValue,o=r.activeIndex;ei({sliderRef:mt,activeIndex:o,setActive:nt}),ut(i),x&&x(t,i);var a=Object(xe.a)(mt.current);a.addEventListener("touchmove",Rt),a.addEventListener("touchend",Dt)}));R.useEffect((function(){var t=mt.current;t.addEventListener("touchstart",Nt);var e=Object(xe.a)(t);return function(){t.removeEventListener("touchstart",Nt),e.removeEventListener("mousemove",Rt),e.removeEventListener("mouseup",Dt),e.removeEventListener("touchmove",Rt),e.removeEventListener("touchend",Dt)}}),[Dt,Rt,Nt]);var Lt=Object(we.a)((function(t){O&&O(t),t.preventDefault();var e=Qr(t,$),n=Tt({finger:e,values:ft,source:lt}),r=n.newValue,i=n.activeIndex;ei({sliderRef:mt,activeIndex:i,setActive:nt}),ut(r),x&&x(t,r);var o=Object(xe.a)(mt.current);o.addEventListener("mousemove",Rt),o.addEventListener("mouseup",Dt)})),Ft=Jr(gt?ft[0]:m,m,I),Bt=Jr(ft[ft.length-1],m,I)-Ft,zt=Object(S.a)({},ni[Mt].offset(Ft),ni[Mt].leap(Bt));return R.createElement(u,Object(S.a)({ref:wt,className:Object(L.default)(o.root,o["color".concat(Object(ot.a)(c))],a,d&&o.disabled,dt.length>0&&dt.some((function(t){return t.label}))&&o.marked,!1===z&&o.trackFalse,"vertical"===k&&o.vertical,"inverted"===z&&o.trackInverted),onMouseDown:Lt},Q),R.createElement("span",{className:o.rail}),R.createElement("span",{className:o.track,style:zt}),R.createElement("input",{value:ft.join(","),name:b,type:"hidden"}),dt.map((function(t,e){var n,r=Jr(t.value,m,I),i=ni[Mt].offset(r);return n=!1===z?-1!==ft.indexOf(t.value):"normal"===z&&(gt?t.value>=ft[0]&&t.value<=ft[ft.length-1]:t.value<=ft[0])||"inverted"===z&&(gt?t.value<=ft[0]||t.value>=ft[ft.length-1]:t.value>=ft[0]),R.createElement(R.Fragment,{key:t.value},R.createElement("span",{style:i,"data-index":e,className:Object(L.default)(o.mark,n&&o.markActive)}),null!=t.label?R.createElement("span",{"aria-hidden":!0,"data-index":e,style:i,className:Object(L.default)(o.markLabel,n&&o.markLabelActive)},t.label):null)})),ft.map((function(t,e){var a=Jr(t,m,I),s=ni[Mt].offset(a);return R.createElement(H,{key:e,valueLabelFormat:K,valueLabelDisplay:X,className:o.valueLabel,value:"function"===typeof K?K(E(t),e):K,index:e,open:it===e||et===e||"on"===X,disabled:d},R.createElement(F,{className:Object(L.default)(o.thumb,o["thumbColor".concat(Object(ot.a)(c))],et===e&&o.active,d&&o.disabled,It===e&&o.focusVisible),tabIndex:d?null:0,role:"slider",style:s,"data-index":e,"aria-label":h?h(e):n,"aria-labelledby":r,"aria-orientation":k,"aria-valuemax":E(I),"aria-valuemin":E(m),"aria-valuenow":E(t),"aria-valuetext":p?p(E(t),e):i,onKeyDown:Et,onFocus:Ot,onBlur:St,onMouseOver:_t,onMouseLeave:kt}))})))})),oi=Object(B.a)((function(t){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"13px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:t.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:t.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 13px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}},"@media print":{colorAdjust:"exact"}},colorPrimary:{},colorSecondary:{color:t.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===t.palette.type?Object($t.i)(t.palette.primary.main,.62):Object($t.a)(t.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:t.transitions.create(["box-shadow"],{duration:t.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",left:-15,top:-15,right:-15,bottom:-15},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(Object($t.d)(t.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(Object($t.d)(t.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(Object($t.d)(t.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(Object($t.d)(t.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{left:"calc(-50% - 4px)"},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:t.palette.background.paper,opacity:.8},markLabel:Object(S.a)({},t.typography.body2,{color:t.palette.text.secondary,position:"absolute",top:26,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:26,transform:"translateY(50%)"},"@media (pointer: coarse)":{top:40,"$vertical &":{left:31}}}),markLabelActive:{color:t.palette.text.primary}}}),{name:"MuiSlider"})(ii),ai=n(65),si=R.forwardRef((function(t,e){var n=t.action,r=t.classes,i=t.className,o=t.message,a=t.role,s=void 0===a?"alert":a,c=Object(T.a)(t,["action","classes","className","message","role"]);return R.createElement(U.a,Object(S.a)({role:s,square:!0,elevation:6,className:Object(L.default)(r.root,i),ref:e},c),R.createElement("div",{className:r.message},o),n?R.createElement("div",{className:r.action},n):null)})),ci=Object(B.a)((function(t){var e="light"===t.palette.type?.8:.98,n=Object($t.c)(t.palette.background.default,e);return{root:Object(S.a)({},t.typography.body2,Object(_t.a)({color:t.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:t.shape.borderRadius,flexGrow:1},t.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(si),li=R.forwardRef((function(t,e){var n=t.action,r=t.anchorOrigin,i=(r=void 0===r?{vertical:"bottom",horizontal:"center"}:r).vertical,o=r.horizontal,a=t.autoHideDuration,s=void 0===a?null:a,c=t.children,l=t.classes,u=t.className,g=t.ClickAwayListenerProps,f=t.ContentProps,d=t.disableWindowBlurListener,h=void 0!==d&&d,p=t.message,A=t.onClose,C=t.onEnter,v=t.onEntered,I=t.onEntering,y=t.onExit,m=t.onExited,b=t.onExiting,x=t.onMouseEnter,w=t.onMouseLeave,O=t.open,_=t.resumeHideDuration,k=t.TransitionComponent,j=void 0===k?Rn.a:k,E=t.transitionDuration,P=void 0===E?{enter:z.b.enteringScreen,exit:z.b.leavingScreen}:E,M=t.TransitionProps,D=Object(T.a)(t,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),N=R.useRef(),F=R.useState(!0),B=F[0],V=F[1],G=Object(we.a)((function(){A&&A.apply(void 0,arguments)})),W=Object(we.a)((function(t){A&&null!=t&&(clearTimeout(N.current),N.current=setTimeout((function(){G(null,"timeout")}),t))}));R.useEffect((function(){return O&&W(s),function(){clearTimeout(N.current)}}),[O,s,W]);var Y=function(){clearTimeout(N.current)},H=R.useCallback((function(){null!=s&&W(null!=_?_:.5*s)}),[s,_,W]);return R.useEffect((function(){if(!h&&O)return window.addEventListener("focus",H),window.addEventListener("blur",Y),function(){window.removeEventListener("focus",H),window.removeEventListener("blur",Y)}}),[h,H,O]),!O&&B?null:R.createElement(Se,Object(S.a)({onClickAway:function(t){A&&A(t,"clickaway")}},g),R.createElement("div",Object(S.a)({className:Object(L.default)(l.root,l["anchorOrigin".concat(Object(ot.a)(i)).concat(Object(ot.a)(o))],u),onMouseEnter:function(t){x&&x(t),Y()},onMouseLeave:function(t){w&&w(t),H()},ref:e},D),R.createElement(j,Object(S.a)({appear:!0,in:O,onEnter:Object(ai.a)((function(){V(!1)}),C),onEntered:v,onEntering:I,onExit:y,onExited:Object(ai.a)((function(){V(!0)}),m),onExiting:b,timeout:P,direction:"top"===i?"down":"up"},M),c||R.createElement(ci,Object(S.a)({message:p,action:n},f)))))})),ui=Object(B.a)((function(t){var e={top:8},n={bottom:8},r={justifyContent:"flex-end"},i={justifyContent:"flex-start"},o={top:24},a={bottom:24},s={right:24},c={left:24},l={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:t.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:Object(S.a)({},e,Object(_t.a)({},t.breakpoints.up("sm"),Object(S.a)({},o,l))),anchorOriginBottomCenter:Object(S.a)({},n,Object(_t.a)({},t.breakpoints.up("sm"),Object(S.a)({},a,l))),anchorOriginTopRight:Object(S.a)({},e,r,Object(_t.a)({},t.breakpoints.up("sm"),Object(S.a)({left:"auto"},o,s))),anchorOriginBottomRight:Object(S.a)({},n,r,Object(_t.a)({},t.breakpoints.up("sm"),Object(S.a)({left:"auto"},a,s))),anchorOriginTopLeft:Object(S.a)({},e,i,Object(_t.a)({},t.breakpoints.up("sm"),Object(S.a)({right:"auto"},o,c))),anchorOriginBottomLeft:Object(S.a)({},n,i,Object(_t.a)({},t.breakpoints.up("sm"),Object(S.a)({right:"auto"},a,c)))}}),{flip:!1,name:"MuiSnackbar"})(li),gi=R.forwardRef((function(t,e){var n=t.active,r=void 0!==n&&n,i=t.alternativeLabel,o=t.children,a=t.classes,s=t.className,c=t.completed,l=void 0!==c&&c,u=t.connector,g=t.disabled,f=void 0!==g&&g,d=t.expanded,h=void 0!==d&&d,p=t.index,A=t.last,C=t.orientation,v=Object(T.a)(t,["active","alternativeLabel","children","classes","className","completed","connector","disabled","expanded","index","last","orientation"]),I=u?R.cloneElement(u,{orientation:C,alternativeLabel:i,index:p,active:r,completed:l,disabled:f}):null,y=R.createElement("div",Object(S.a)({className:Object(L.default)(a.root,a[C],s,i&&a.alternativeLabel,l&&a.completed),ref:e},v),I&&i&&0!==p?I:null,R.Children.map(o,(function(t){return R.isValidElement(t)?R.cloneElement(t,Object(S.a)({active:r,alternativeLabel:i,completed:l,disabled:f,expanded:h,last:A,icon:p+1,orientation:C},t.props)):null})));return I&&!i&&0!==p?R.createElement(R.Fragment,null,I,y):y})),fi=Object(B.a)({root:{},horizontal:{paddingLeft:8,paddingRight:8},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}},{name:"MuiStep"})(gi),di=Object(ct.a)(R.createElement("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),hi=Object(ct.a)(R.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning"),pi=n(568),Ai=R.createElement("circle",{cx:"12",cy:"12",r:"12"}),Ci=R.forwardRef((function(t,e){var n=t.completed,r=void 0!==n&&n,i=t.icon,o=t.active,a=void 0!==o&&o,s=t.error,c=void 0!==s&&s,l=t.classes;if("number"===typeof i||"string"===typeof i){var u=Object(L.default)(l.root,a&&l.active,c&&l.error,r&&l.completed);return c?R.createElement(hi,{className:u,ref:e}):r?R.createElement(di,{className:u,ref:e}):R.createElement(pi.a,{className:u,ref:e},Ai,R.createElement("text",{className:l.text,x:"12",y:"16",textAnchor:"middle"},i))}return i})),vi=Object(B.a)((function(t){return{root:{display:"block",color:t.palette.text.disabled,"&$completed":{color:t.palette.primary.main},"&$active":{color:t.palette.primary.main},"&$error":{color:t.palette.error.main}},text:{fill:t.palette.primary.contrastText,fontSize:t.typography.caption.fontSize,fontFamily:t.typography.fontFamily},active:{},completed:{},error:{}}}),{name:"MuiStepIcon"})(Ci),Ii=R.forwardRef((function(t,e){var n=t.active,r=void 0!==n&&n,i=t.alternativeLabel,o=void 0!==i&&i,a=t.children,s=t.classes,c=t.className,l=t.completed,u=void 0!==l&&l,g=t.disabled,f=void 0!==g&&g,d=t.error,h=void 0!==d&&d,p=(t.expanded,t.icon),A=(t.last,t.optional),C=t.orientation,v=void 0===C?"horizontal":C,I=t.StepIconComponent,y=t.StepIconProps,m=Object(T.a)(t,["active","alternativeLabel","children","classes","className","completed","disabled","error","expanded","icon","last","optional","orientation","StepIconComponent","StepIconProps"]),b=I;return p&&!b&&(b=vi),R.createElement("span",Object(S.a)({className:Object(L.default)(s.root,s[v],c,f&&s.disabled,o&&s.alternativeLabel,h&&s.error),ref:e},m),p||b?R.createElement("span",{className:Object(L.default)(s.iconContainer,o&&s.alternativeLabel)},R.createElement(b,Object(S.a)({completed:u,active:r,error:h,icon:p},y))):null,R.createElement("span",{className:s.labelContainer},a?R.createElement(Jt.a,{variant:"body2",component:"span",display:"block",className:Object(L.default)(s.label,o&&s.alternativeLabel,u&&s.completed,r&&s.active,h&&s.error)},a):null,A))}));Ii.muiName="StepLabel";var yi=Object(B.a)((function(t){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:t.palette.text.secondary,"&$active":{color:t.palette.text.primary,fontWeight:500},"&$completed":{color:t.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:t.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{flexShrink:0,display:"flex",paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}}),{name:"MuiStepLabel"})(Ii),mi=R.forwardRef((function(t,e){var n=t.active,r=t.alternativeLabel,i=t.children,o=t.classes,a=t.className,s=t.completed,c=t.disabled,l=(t.expanded,t.icon),u=(t.last,t.optional),g=t.orientation,f=Object(T.a)(t,["active","alternativeLabel","children","classes","className","completed","disabled","expanded","icon","last","optional","orientation"]),d={active:n,alternativeLabel:r,completed:s,disabled:c,icon:l,optional:u,orientation:g},h=Object(kn.a)(i,["StepLabel"])?R.cloneElement(i,d):R.createElement(yi,d,i);return R.createElement(et.a,Object(S.a)({focusRipple:!0,disabled:c,TouchRippleProps:{className:o.touchRipple},className:Object(L.default)(o.root,o[g],a),ref:e},f),h)})),bi=Object(B.a)({root:{width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},horizontal:{},vertical:{justifyContent:"flex-start",padding:"8px",margin:"-8px"},touchRipple:{color:"rgba(0, 0, 0, 0.3)"}},{name:"MuiStepButton"})(mi),xi=R.forwardRef((function(t,e){var n=t.active,r=t.alternativeLabel,i=void 0!==r&&r,o=t.classes,a=t.className,s=t.completed,c=t.disabled,l=(t.index,t.orientation),u=void 0===l?"horizontal":l,g=Object(T.a)(t,["active","alternativeLabel","classes","className","completed","disabled","index","orientation"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(o.root,o[u],a,i&&o.alternativeLabel,n&&o.active,s&&o.completed,c&&o.disabled),ref:e},g),R.createElement("span",{className:Object(L.default)(o.line,{horizontal:o.lineHorizontal,vertical:o.lineVertical}[u])}))})),wi=Object(B.a)((function(t){return{root:{flex:"1 1 auto"},horizontal:{},vertical:{marginLeft:12,padding:"0 0 8px"},alternativeLabel:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"},active:{},completed:{},disabled:{},line:{display:"block",borderColor:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[600]},lineHorizontal:{borderTopStyle:"solid",borderTopWidth:1},lineVertical:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}}),{name:"MuiStepConnector"})(xi),Oi=R.forwardRef((function(t,e){var n=t.active,r=(t.alternativeLabel,t.children),i=t.classes,o=t.className,a=(t.completed,t.expanded),s=t.last,c=(t.optional,t.orientation,t.TransitionComponent),l=void 0===c?H:c,u=t.transitionDuration,g=void 0===u?"auto":u,f=t.TransitionProps,d=Object(T.a)(t,["active","alternativeLabel","children","classes","className","completed","expanded","last","optional","orientation","TransitionComponent","transitionDuration","TransitionProps"]);var h=g;return"auto"!==g||l.muiSupportAuto||(h=void 0),R.createElement("div",Object(S.a)({className:Object(L.default)(i.root,o,s&&i.last),ref:e},d),R.createElement(l,Object(S.a)({in:n||a,className:i.transition,timeout:h,unmountOnExit:!0},f),r))})),Si=Object(B.a)((function(t){return{root:{marginTop:8,marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:"1px solid ".concat("light"===t.palette.type?t.palette.grey[400]:t.palette.grey[600])},last:{borderLeft:"none"},transition:{}}}),{name:"MuiStepContent"})(Oi),_i=R.createElement(wi,null),ki=R.forwardRef((function(t,e){var n=t.activeStep,r=void 0===n?0:n,i=t.alternativeLabel,o=void 0!==i&&i,a=t.children,s=t.classes,c=t.className,l=t.connector,u=void 0===l?_i:l,g=t.nonLinear,f=void 0!==g&&g,d=t.orientation,h=void 0===d?"horizontal":d,p=Object(T.a)(t,["activeStep","alternativeLabel","children","classes","className","connector","nonLinear","orientation"]),A=R.isValidElement(u)?R.cloneElement(u,{orientation:h}):null,C=R.Children.toArray(a),v=C.map((function(t,e){var n={index:e,active:!1,completed:!1,disabled:!1};return r===e?n.active=!0:!f&&r>e?n.completed=!0:!f&&r<e&&(n.disabled=!0),R.cloneElement(t,Object(S.a)({alternativeLabel:o,connector:A,last:e+1===C.length,orientation:h},n,t.props))}));return R.createElement(U.a,Object(S.a)({square:!0,elevation:0,className:Object(L.default)(s.root,s[h],c,o&&s.alternativeLabel),ref:e},p),v)})),ji=Object(B.a)({root:{display:"flex",padding:24},horizontal:{flexDirection:"row",alignItems:"center"},vertical:{flexDirection:"column"},alternativeLabel:{alignItems:"flex-start"}},{name:"MuiStepper"})(ki),Ei=R.forwardRef((function(t,e){var n=t.anchor,r=t.classes,i=t.className,o=t.width,a=Object(T.a)(t,["anchor","classes","className","width"]);return R.createElement("div",Object(S.a)({className:Object(L.default)(r.root,r["anchor".concat(Object(ot.a)(n))],i),ref:e,style:Object(_t.a)({},Qe(n)?"width":"height",o)},a))})),Pi=Object(B.a)((function(t){return{root:{position:"fixed",top:0,left:0,bottom:0,zIndex:t.zIndex.drawer-1},anchorLeft:{right:"auto"},anchorRight:{left:"auto",right:0},anchorTop:{bottom:"auto",right:0},anchorBottom:{top:"auto",bottom:0,right:0}}}),{name:"PrivateSwipeArea"})(Ei),Mi=null;function Ti(t,e){return"right"===t?document.body.offsetWidth-e[0].pageX:e[0].pageX}function Ri(t,e){return"bottom"===t?window.innerHeight-e[0].clientY:e[0].clientY}function Di(t,e){return t?e.clientWidth:e.clientHeight}function Ni(t,e,n,r){return Math.min(Math.max(n?e-t:r+e-t,0),r)}var Li,Fi="undefined"!==typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),Bi={enter:z.b.enteringScreen,exit:z.b.leavingScreen},zi="undefined"!==typeof window?R.useLayoutEffect:R.useEffect,Vi=R.forwardRef((function(t,e){var n=Object(G.a)(),r=Object(Dn.a)({name:"MuiSwipeableDrawer",props:Object(S.a)({},t),theme:n}),i=r.anchor,o=void 0===i?"left":i,a=r.disableBackdropTransition,s=void 0!==a&&a,c=r.disableDiscovery,l=void 0!==c&&c,u=r.disableSwipeToOpen,g=void 0===u?Fi:u,f=r.hideBackdrop,d=r.hysteresis,h=void 0===d?.52:d,p=r.minFlingVelocity,A=void 0===p?450:p,C=r.ModalProps,v=(C=void 0===C?{}:C).BackdropProps,I=Object(T.a)(C,["BackdropProps"]),y=r.onClose,m=r.onOpen,b=r.open,x=r.PaperProps,w=void 0===x?{}:x,O=r.SwipeAreaProps,_=r.swipeAreaWidth,k=void 0===_?20:_,j=r.transitionDuration,E=void 0===j?Bi:j,P=r.variant,M=void 0===P?"temporary":P,D=Object(T.a)(r,["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"]),N=R.useState(!1),L=N[0],F=N[1],B=R.useRef({isSwiping:null}),z=R.useRef(),W=R.useRef(),Y=R.useRef(),H=R.useRef(!1),U=R.useRef();zi((function(){U.current=null}),[b]);var X=R.useCallback((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.mode,i=void 0===r?null:r,a=e.changeTransition,c=void 0===a||a,l=Je(n,o),u=-1!==["right","bottom"].indexOf(l)?1:-1,g=Qe(o),d=g?"translate(".concat(u*t,"px, 0)"):"translate(0, ".concat(u*t,"px)"),h=Y.current.style;h.webkitTransform=d,h.transform=d;var p="";if(i&&(p=n.transitions.create("all",Object(V.a)({timeout:E},{mode:i}))),c&&(h.webkitTransition=p,h.transition=p),!s&&!f){var A=W.current.style;A.opacity=1-t/Di(g,Y.current),c&&(A.webkitTransition=p,A.transition=p)}}),[o,s,f,n,E]),Z=Object(we.a)((function(t){if(H.current)if(Mi=null,H.current=!1,F(!1),B.current.isSwiping){B.current.isSwiping=null;var e,r=Je(n,o),i=Qe(o);e=i?Ti(r,t.changedTouches):Ri(r,t.changedTouches);var a=i?B.current.startX:B.current.startY,s=Di(i,Y.current),c=Ni(e,a,b,s),l=c/s;Math.abs(B.current.velocity)>A&&(U.current=1e3*Math.abs((s-c)/B.current.velocity)),b?B.current.velocity>A||l>h?y():X(0,{mode:"exit"}):B.current.velocity<-A||1-l>h?m():X(Di(i,Y.current),{mode:"enter"})}else B.current.isSwiping=null})),q=Object(we.a)((function(t){if(Y.current&&H.current&&(null==Mi||Mi===B.current)){var e=Je(n,o),r=Qe(o),i=Ti(e,t.touches),a=Ri(e,t.touches);if(b&&Y.current.contains(t.target)&&null==Mi){var s=function(t){var e=t.domTreeShapes,n=t.start,r=t.current,i=t.anchor,o={x:"scrollLeft",y:"scrollTop"},a={x:"scrollWidth",y:"scrollHeight"},s={x:"clientWidth",y:"clientHeight"};return e.some((function(t){var e=r>=n;"top"!==i&&"left"!==i||(e=!e);var c="left"===i||"right"===i?"x":"y",l=t[o[c]],u=l>0,g=l+t[s[c]]<t[a[c]];return e&&g||!e&&u?t:null}))}({domTreeShapes:function(t,e){for(var n=[];t&&t!==e;){var r=window.getComputedStyle(t);"absolute"===r.getPropertyValue("position")||"hidden"===r.getPropertyValue("overflow-x")?n=[]:(t.clientWidth>0&&t.scrollWidth>t.clientWidth||t.clientHeight>0&&t.scrollHeight>t.clientHeight)&&n.push(t),t=t.parentElement}return n}(t.target,Y.current),start:r?B.current.startX:B.current.startY,current:r?i:a,anchor:o});if(s)return void(Mi=s);Mi=B.current}if(null==B.current.isSwiping){var c=Math.abs(i-B.current.startX),u=Math.abs(a-B.current.startY);c>u&&t.cancelable&&t.preventDefault();var g=r?c>u&&c>3:u>c&&u>3;if(!0===g||(r?u>3:c>3)){if(B.current.isSwiping=g,!g)return void Z(t);B.current.startX=i,B.current.startY=a,l||b||(r?B.current.startX-=k:B.current.startY-=k)}}if(B.current.isSwiping){var f=Di(r,Y.current),d=r?B.current.startX:B.current.startY;b&&!B.current.paperHit&&(d=Math.min(d,f));var h=Ni(r?i:a,d,b,f);if(b)if(B.current.paperHit)0===h&&(B.current.startX=i,B.current.startY=a);else{if(!(r?i<f:a<f))return;B.current.paperHit=!0,B.current.startX=i,B.current.startY=a}null===B.current.lastTranslate&&(B.current.lastTranslate=h,B.current.lastTime=performance.now()+1);var p=(h-B.current.lastTranslate)/(performance.now()-B.current.lastTime)*1e3;B.current.velocity=.4*B.current.velocity+.6*p,B.current.lastTranslate=h,B.current.lastTime=performance.now(),t.cancelable&&t.preventDefault(),X(h)}}})),K=Object(we.a)((function(t){if(!t.defaultPrevented&&!t.muiHandled&&(!b||W.current.contains(t.target)||Y.current.contains(t.target))){var e=Je(n,o),r=Qe(o),i=Ti(e,t.touches),a=Ri(e,t.touches);if(!b){if(g||t.target!==z.current)return;if(r){if(i>k)return}else if(a>k)return}t.muiHandled=!0,Mi=null,B.current.startX=i,B.current.startY=a,F(!0),!b&&Y.current&&X(Di(r,Y.current)+(l?20:-k),{changeTransition:!1}),B.current.velocity=0,B.current.lastTime=null,B.current.lastTranslate=null,B.current.paperHit=!1,H.current=!0}}));R.useEffect((function(){if("temporary"===M){var t=Object(xe.a)(Y.current);return t.addEventListener("touchstart",K),t.addEventListener("touchmove",q,{passive:!1}),t.addEventListener("touchend",Z),function(){t.removeEventListener("touchstart",K),t.removeEventListener("touchmove",q,{passive:!1}),t.removeEventListener("touchend",Z)}}}),[M,K,q,Z]),R.useEffect((function(){return function(){Mi===B.current&&(Mi=null)}}),[]),R.useEffect((function(){b||F(!1)}),[b]);var Q=R.useCallback((function(t){W.current=be.findDOMNode(t)}),[]);return R.createElement(R.Fragment,null,R.createElement(en,Object(S.a)({open:!("temporary"!==M||!L)||b,variant:M,ModalProps:Object(S.a)({BackdropProps:Object(S.a)({},v,{ref:Q})},I),PaperProps:Object(S.a)({},w,{style:Object(S.a)({pointerEvents:"temporary"!==M||b?"":"none"},w.style),ref:Y}),anchor:o,transitionDuration:U.current||E,onClose:y,ref:e},D)),!g&&"temporary"===M&&R.createElement(kr,null,R.createElement(Pi,Object(S.a)({anchor:o,ref:z,width:k},O))))})),Gi=n(165),Wi=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.color,o=void 0===i?"secondary":i,a=t.edge,s=void 0!==a&&a,c=t.size,l=void 0===c?"medium":c,u=Object(T.a)(t,["classes","className","color","edge","size"]),g=R.createElement("span",{className:n.thumb});return R.createElement("span",{className:Object(L.default)(n.root,r,{start:n.edgeStart,end:n.edgeEnd}[s],"small"===l&&n["size".concat(Object(ot.a)(l))])},R.createElement(Gi.a,Object(S.a)({type:"checkbox",icon:g,checkedIcon:g,classes:{root:Object(L.default)(n.switchBase,n["color".concat(Object(ot.a)(o))]),input:n.input,checked:n.checked,disabled:n.disabled},ref:e},u)),R.createElement("span",{className:n.track}))})),Yi=Object(B.a)((function(t){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===t.palette.type?t.palette.grey[50]:t.palette.grey[400],transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),"&$checked":{transform:"translateX(20px)"},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===t.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object($t.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object($t.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4,"&$checked":{transform:"translateX(16px)"}}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:t.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white,opacity:"light"===t.palette.type?.38:.3}}}),{name:"MuiSwitch"})(Wi),Hi=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.disabled,o=void 0!==i&&i,a=t.disableFocusRipple,s=void 0!==a&&a,c=t.fullWidth,l=t.icon,u=t.indicator,g=t.label,f=t.onChange,d=t.onClick,h=t.onFocus,p=t.selected,A=t.selectionFollowsFocus,C=t.textColor,v=void 0===C?"inherit":C,I=t.value,y=t.wrapped,m=void 0!==y&&y,b=Object(T.a)(t,["classes","className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"]);return R.createElement(et.a,Object(S.a)({focusRipple:!s,className:Object(L.default)(n.root,n["textColor".concat(Object(ot.a)(v))],r,o&&n.disabled,p&&n.selected,g&&l&&n.labelIcon,c&&n.fullWidth,m&&n.wrapped),ref:e,role:"tab","aria-selected":p,disabled:o,onClick:function(t){f&&f(t,I),d&&d(t)},onFocus:function(t){A&&!p&&f&&f(t,I),h&&h(t)},tabIndex:p?0:-1},b),R.createElement("span",{className:n.wrapper},l,g),u)})),Ui=Object(B.a)((function(t){var e;return{root:Object(S.a)({},t.typography.button,(e={maxWidth:264,minWidth:72,position:"relative",boxSizing:"border-box",minHeight:48,flexShrink:0,padding:"6px 12px"},Object(_t.a)(e,t.breakpoints.up("sm"),{padding:"6px 24px"}),Object(_t.a)(e,"overflow","hidden"),Object(_t.a)(e,"whiteSpace","normal"),Object(_t.a)(e,"textAlign","center"),Object(_t.a)(e,t.breakpoints.up("sm"),{minWidth:160}),e)),labelIcon:{minHeight:72,paddingTop:9,"& $wrapper > *:first-child":{marginBottom:6}},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.5}},textColorPrimary:{color:t.palette.text.secondary,"&$selected":{color:t.palette.primary.main},"&$disabled":{color:t.palette.text.disabled}},textColorSecondary:{color:t.palette.text.secondary,"&$selected":{color:t.palette.secondary.main},"&$disabled":{color:t.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},wrapped:{fontSize:t.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"}}}),{name:"MuiTab"})(Hi),Xi=n(479),Zi=n(480),qi=n(481),Ki=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.component,o=void 0===i?"div":i,a=Object(T.a)(t,["classes","className","component"]);return R.createElement(o,Object(S.a)({ref:e,className:Object(L.default)(n.root,r)},a))})),Qi=Object(B.a)({root:{width:"100%",overflowX:"auto"}},{name:"MuiTableContainer"})(Ki),Ji=n(482),$i=n(99),to={variant:"head"},eo="thead",no=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.component,o=void 0===i?eo:i,a=Object(T.a)(t,["classes","className","component"]);return R.createElement($i.a.Provider,{value:to},R.createElement(o,Object(S.a)({className:Object(L.default)(n.root,r),ref:e,role:o===eo?null:"rowgroup"},a)))})),ro=Object(B.a)({root:{display:"table-header-group"}},{name:"MuiTableHead"})(no),io=n(533),oo=n(484),ao=n(534),so=n(117);function co(){if(Li)return Li;var t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),Li="reverse",t.scrollLeft>0?Li="default":(t.scrollLeft=1,0===t.scrollLeft&&(Li="negative")),document.body.removeChild(t),Li}function lo(t,e){var n=t.scrollLeft;if("rtl"!==e)return n;switch(co()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function uo(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}var go={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function fo(t){var e=t.onChange,n=Object(T.a)(t,["onChange"]),r=R.useRef(),i=R.useRef(null),o=function(){r.current=i.current.offsetHeight-i.current.clientHeight};return R.useEffect((function(){var t=Object(Ue.a)((function(){var t=r.current;o(),t!==r.current&&e(r.current)}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}),[e]),R.useEffect((function(){o(),e(r.current)}),[e]),R.createElement("div",Object(S.a)({style:go,ref:i},n))}var ho=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.color,o=t.orientation,a=Object(T.a)(t,["classes","className","color","orientation"]);return R.createElement("span",Object(S.a)({className:Object(L.default)(n.root,n["color".concat(Object(ot.a)(i))],r,"vertical"===o&&n.vertical),ref:e},a))})),po=Object(B.a)((function(t){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},colorPrimary:{backgroundColor:t.palette.primary.main},colorSecondary:{backgroundColor:t.palette.secondary.main},vertical:{height:"100%",width:2,right:0}}}),{name:"PrivateTabIndicator"})(ho),Ao=n(209),Co=n(208),vo=R.createElement(Ao.a,{fontSize:"small"}),Io=R.createElement(Co.a,{fontSize:"small"}),yo=R.forwardRef((function(t,e){var n=t.classes,r=t.className,i=t.direction,o=t.orientation,a=t.disabled,s=Object(T.a)(t,["classes","className","direction","orientation","disabled"]);return R.createElement(et.a,Object(S.a)({component:"div",className:Object(L.default)(n.root,r,a&&n.disabled,"vertical"===o&&n.vertical),ref:e,role:null,tabIndex:null},s),"left"===i?vo:Io)})),mo=Object(B.a)({root:{width:40,flexShrink:0,opacity:.8,"&$disabled":{opacity:0}},vertical:{width:"100%",height:40,"& svg":{transform:"rotate(90deg)"}},disabled:{}},{name:"MuiTabScrollButton"})(yo),bo=R.forwardRef((function(t,e){var n=t["aria-label"],r=t["aria-labelledby"],i=t.action,o=t.centered,a=void 0!==o&&o,s=t.children,c=t.classes,l=t.className,u=t.component,g=void 0===u?"div":u,f=t.indicatorColor,d=void 0===f?"secondary":f,h=t.onChange,p=t.orientation,A=void 0===p?"horizontal":p,C=t.ScrollButtonComponent,v=void 0===C?mo:C,I=t.scrollButtons,y=void 0===I?"auto":I,m=t.selectionFollowsFocus,b=t.TabIndicatorProps,x=void 0===b?{}:b,w=t.TabScrollButtonProps,O=t.textColor,_=void 0===O?"inherit":O,k=t.value,j=t.variant,E=void 0===j?"standard":j,P=Object(T.a)(t,["aria-label","aria-labelledby","action","centered","children","classes","className","component","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant"]),M=Object(G.a)(),D="scrollable"===E,N="rtl"===M.direction,F="vertical"===A,B=F?"scrollTop":"scrollLeft",z=F?"top":"left",V=F?"bottom":"right",W=F?"clientHeight":"clientWidth",Y=F?"height":"width";var H=R.useState(!1),U=H[0],X=H[1],Z=R.useState({}),q=Z[0],K=Z[1],Q=R.useState({start:!1,end:!1}),J=Q[0],$=Q[1],tt=R.useState({overflow:"hidden",marginBottom:null}),et=tt[0],nt=tt[1],rt=new Map,it=R.useRef(null),ot=R.useRef(null),at=function(){var t,e,n=it.current;if(n){var r=n.getBoundingClientRect();t={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:lo(n,M.direction),scrollWidth:n.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(n&&!1!==k){var i=ot.current.children;if(i.length>0){var o=i[rt.get(k)];0,e=o?o.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:e}},st=Object(we.a)((function(){var t,e=at(),n=e.tabsMeta,r=e.tabMeta,i=0;if(r&&n)if(F)i=r.top-n.top+n.scrollTop;else{var o=N?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;i=r.left-n.left+o}var a=(t={},Object(_t.a)(t,z,i),Object(_t.a)(t,Y,r?r[Y]:0),t);if(isNaN(q[z])||isNaN(q[Y]))K(a);else{var s=Math.abs(q[z]-a[z]),c=Math.abs(q[Y]-a[Y]);(s>=1||c>=1)&&K(a)}})),ct=function(t){!function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},o=r.ease,a=void 0===o?uo:o,s=r.duration,c=void 0===s?300:s,l=null,u=e[t],g=!1,f=function(){g=!0},d=function r(o){if(g)i(new Error("Animation cancelled"));else{null===l&&(l=o);var s=Math.min(1,(o-l)/c);e[t]=a(s)*(n-u)+u,s>=1?requestAnimationFrame((function(){i(null)})):requestAnimationFrame(r)}};u===n?i(new Error("Element already at target position")):requestAnimationFrame(d)}(B,it.current,t)},lt=function(t){var e=it.current[B];F?e+=t:(e+=t*(N?-1:1),e*=N&&"reverse"===co()?-1:1),ct(e)},ut=function(){lt(-it.current[W])},gt=function(){lt(it.current[W])},ft=R.useCallback((function(t){nt({overflow:null,marginBottom:-t})}),[]),dt=Object(we.a)((function(){var t=at(),e=t.tabsMeta,n=t.tabMeta;if(n&&e)if(n[z]<e[z]){var r=e[B]+(n[z]-e[z]);ct(r)}else if(n[V]>e[V]){var i=e[B]+(n[V]-e[V]);ct(i)}})),ht=Object(we.a)((function(){if(D&&"off"!==y){var t,e,n=it.current,r=n.scrollTop,i=n.scrollHeight,o=n.clientHeight,a=n.scrollWidth,s=n.clientWidth;if(F)t=r>1,e=r<i-o-1;else{var c=lo(it.current,M.direction);t=N?c<a-s-1:c>1,e=N?c>1:c<a-s-1}t===J.start&&e===J.end||$({start:t,end:e})}}));R.useEffect((function(){var t=Object(Ue.a)((function(){st(),ht()})),e=Object(so.a)(it.current);return e.addEventListener("resize",t),function(){t.clear(),e.removeEventListener("resize",t)}}),[st,ht]);var pt=R.useCallback(Object(Ue.a)((function(){ht()})));R.useEffect((function(){return function(){pt.clear()}}),[pt]),R.useEffect((function(){X(!0)}),[]),R.useEffect((function(){st(),ht()})),R.useEffect((function(){dt()}),[dt,q]),R.useImperativeHandle(i,(function(){return{updateIndicator:st,updateScrollButtons:ht}}),[st,ht]);var At=R.createElement(po,Object(S.a)({className:c.indicator,orientation:A,color:d},x,{style:Object(S.a)({},q,x.style)})),Ct=0,vt=R.Children.map(s,(function(t){if(!R.isValidElement(t))return null;var e=void 0===t.props.value?Ct:t.props.value;rt.set(e,Ct);var n=e===k;return Ct+=1,R.cloneElement(t,{fullWidth:"fullWidth"===E,indicator:n&&!U&&At,selected:n,selectionFollowsFocus:m,onChange:h,textColor:_,value:e})})),It=function(){var t={};t.scrollbarSizeListener=D?R.createElement(fo,{className:c.scrollable,onChange:ft}):null;var e=J.start||J.end,n=D&&("auto"===y&&e||"desktop"===y||"on"===y);return t.scrollButtonStart=n?R.createElement(v,Object(S.a)({orientation:A,direction:N?"right":"left",onClick:ut,disabled:!J.start,className:Object(L.default)(c.scrollButtons,"on"!==y&&c.scrollButtonsDesktop)},w)):null,t.scrollButtonEnd=n?R.createElement(v,Object(S.a)({orientation:A,direction:N?"left":"right",onClick:gt,disabled:!J.end,className:Object(L.default)(c.scrollButtons,"on"!==y&&c.scrollButtonsDesktop)},w)):null,t}();return R.createElement(g,Object(S.a)({className:Object(L.default)(c.root,l,F&&c.vertical),ref:e},P),It.scrollButtonStart,It.scrollbarSizeListener,R.createElement("div",{className:Object(L.default)(c.scroller,D?c.scrollable:c.fixed),style:et,ref:it,onScroll:pt},R.createElement("div",{"aria-label":n,"aria-labelledby":r,className:Object(L.default)(c.flexContainer,F&&c.flexContainerVertical,a&&!D&&c.centered),onKeyDown:function(t){var e=t.target;if("tab"===e.getAttribute("role")){var n=null,r="vertical"!==A?"ArrowLeft":"ArrowUp",i="vertical"!==A?"ArrowRight":"ArrowDown";switch("vertical"!==A&&"rtl"===M.direction&&(r="ArrowRight",i="ArrowLeft"),t.key){case r:n=e.previousElementSibling||ot.current.lastChild;break;case i:n=e.nextElementSibling||ot.current.firstChild;break;case"Home":n=ot.current.firstChild;break;case"End":n=ot.current.lastChild}null!==n&&(n.focus(),t.preventDefault())}},ref:ot,role:"tablist"},vt),U&&At),It.scrollButtonEnd)})),xo=Object(B.a)((function(t){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},vertical:{flexDirection:"column"},flexContainer:{display:"flex"},flexContainerVertical:{flexDirection:"column"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},scrollButtons:{},scrollButtonsDesktop:Object(_t.a)({},t.breakpoints.down("xs"),{display:"none"}),indicator:{}}}),{name:"MuiTabs"})(bo),wo=n(485),Oo=n(980),So=n(483),_o=n(486),ko=n(1021);function jo(t,e){var n=e.disableHysteresis,r=void 0!==n&&n,i=e.threshold,o=void 0===i?100:i,a=e.target,s=t.current;return a&&(t.current=void 0!==a.pageYOffset?a.pageYOffset:a.scrollTop),!(!r&&void 0!==s&&t.current<s)&&t.current>o}var Eo="undefined"!==typeof window?window:null;function Po(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.getTrigger,n=void 0===e?jo:e,r=t.target,i=void 0===r?Eo:r,o=Object(T.a)(t,["getTrigger","target"]),a=R.useRef(),s=R.useState((function(){return n(a,o)})),c=s[0],l=s[1];return R.useEffect((function(){var t=function(){l(n(a,Object(S.a)({target:i},o)))};return t(),i.addEventListener("scroll",t),function(){i.removeEventListener("scroll",t)}}),[i,n,JSON.stringify(o)]),c}var Mo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){var n=t.breakpoint,r=void 0===n?"sm":n;return Yn()((function(t){return R.createElement(e,Object(S.a)({fullScreen:Gn(r,t.width)},t))}))}},To={entering:{transform:"none"},entered:{transform:"none"}},Ro={enter:z.b.enteringScreen,exit:z.b.leavingScreen},Do=R.forwardRef((function(t,e){var n=t.children,r=t.disableStrictModeCompat,i=void 0!==r&&r,o=t.in,a=t.onEnter,s=t.onEntered,c=t.onEntering,l=t.onExit,u=t.onExited,g=t.onExiting,f=t.style,d=t.timeout,h=void 0===d?Ro:d,p=t.TransitionComponent,A=void 0===p?F.a:p,C=Object(T.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=Object(G.a)(),I=v.unstable_strictMode&&!i,y=R.useRef(null),m=Object(W.a)(n.ref,e),b=Object(W.a)(I?y:void 0,m),x=function(t){return function(e,n){if(t){var r=I?[y.current,e]:[e,n],i=Object(M.a)(r,2),o=i[0],a=i[1];void 0===a?t(o):t(o,a)}}},w=x(c),O=x((function(t,e){Object(V.b)(t);var n=Object(V.a)({style:f,timeout:h},{mode:"enter"});t.style.webkitTransition=v.transitions.create("transform",n),t.style.transition=v.transitions.create("transform",n),a&&a(t,e)})),_=x(s),k=x(g),j=x((function(t){var e=Object(V.a)({style:f,timeout:h},{mode:"exit"});t.style.webkitTransition=v.transitions.create("transform",e),t.style.transition=v.transitions.create("transform",e),l&&l(t)})),E=x(u);return R.createElement(A,Object(S.a)({appear:!0,in:o,nodeRef:I?y:void 0,onEnter:O,onEntered:_,onEntering:w,onExit:j,onExited:E,onExiting:k,timeout:h},C),(function(t,e){return R.cloneElement(n,Object(S.a)({style:Object(S.a)({transform:"scale(0)",visibility:"exited"!==t||o?void 0:"hidden"},To[t],f,n.props.style),ref:b},e))}))}))},,function(t,e,n){"use strict";n.r(e),n.d(e,"getEmptyImage",(function(){return M})),n.d(e,"NativeTypes",(function(){return r})),n.d(e,"HTML5Backend",(function(){return T}));var r={};function i(t){var e=null;return function(){return null==e&&(e=t()),e}}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n.r(r),n.d(r,"FILE",(function(){return p})),n.d(r,"URL",(function(){return A})),n.d(r,"TEXT",(function(){return C}));var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.entered=[],this.isNodeInDocument=e}var e,n,r;return e=t,(n=[{key:"enter",value:function(t){var e=this,n=this.entered.length;return this.entered=function(t,e){var n=new Set,r=function(t){return n.add(t)};t.forEach(r),e.forEach(r);var i=[];return n.forEach((function(t){return i.push(t)})),i}(this.entered.filter((function(n){return e.isNodeInDocument(n)&&(!n.contains||n.contains(t))})),[t]),0===n&&this.entered.length>0}},{key:"leave",value:function(t){var e,n,r=this.entered.length;return this.entered=(e=this.entered.filter(this.isNodeInDocument),n=t,e.filter((function(t){return t!==n}))),r>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}])&&o(e.prototype,n),r&&o(e,r),t}(),s=i((function(){return/firefox/i.test(navigator.userAgent)})),c=i((function(){return Boolean(window.safari)}));function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var u=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=e.length,i=[],o=0;o<r;o++)i.push(o);i.sort((function(t,n){return e[t]<e[n]?-1:1}));for(var a,s,c=[],l=[],u=[],g=0;g<r-1;g++)a=e[g+1]-e[g],s=n[g+1]-n[g],l.push(a),c.push(s),u.push(s/a);for(var f=[u[0]],d=0;d<l.length-1;d++){var h=u[d],p=u[d+1];if(h*p<=0)f.push(0);else{a=l[d];var A=l[d+1],C=a+A;f.push(3*C/((C+A)/h+(C+a)/p))}}f.push(u[u.length-1]);for(var v,I=[],y=[],m=0;m<f.length-1;m++){v=u[m];var b=f[m],x=1/l[m],w=b+f[m+1]-v-v;I.push((v-b-w)*x),y.push(w*x*x)}this.xs=e,this.ys=n,this.c1s=f,this.c2s=I,this.c3s=y}var e,n,r;return e=t,(n=[{key:"interpolate",value:function(t){var e=this.xs,n=this.ys,r=this.c1s,i=this.c2s,o=this.c3s,a=e.length-1;if(t===e[a])return n[a];for(var s,c=0,l=o.length-1;c<=l;){var u=e[s=Math.floor(.5*(c+l))];if(u<t)c=s+1;else{if(!(u>t))return n[s];l=s-1}}var g=t-e[a=Math.max(0,l)],f=g*g;return n[a]+r[a]*g+i[a]*f+o[a]*g*f}}])&&l(e.prototype,n),r&&l(e,r),t}();function g(t){var e=1===t.nodeType?t:t.parentElement;if(!e)return null;var n=e.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}function f(t){return{x:t.clientX,y:t.clientY}}function d(t,e,n,r,i){var o=function(t){var e;return"IMG"===t.nodeName&&(s()||!(null===(e=document.documentElement)||void 0===e?void 0:e.contains(t)))}(e),a=g(o?t:e),l={x:n.x-a.x,y:n.y-a.y},f=t.offsetWidth,d=t.offsetHeight,h=r.anchorX,p=r.anchorY,A=function(t,e,n,r){var i=t?e.width:n,o=t?e.height:r;return c()&&t&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}(o,e,f,d),C=A.dragPreviewWidth,v=A.dragPreviewHeight,I=i.offsetX,y=i.offsetY,m=0===y||y;return{x:0===I||I?I:new u([0,.5,1],[l.x,l.x/f*C,l.x+C-f]).interpolate(h),y:m?y:function(){var t=new u([0,.5,1],[l.y,l.y/d*v,l.y+v-d]).interpolate(p);return c()&&o&&(t+=(window.devicePixelRatio-1)*v),t}()}}var h,p="__NATIVE_FILE__",A="__NATIVE_URL__",C="__NATIVE_TEXT__";function v(t,e,n){var r=e.reduce((function(e,n){return e||t.getData(n)}),"");return null!=r?r:n}function I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y=(I(h={},p,{exposeProperties:{files:function(t){return Array.prototype.slice.call(t.files)},items:function(t){return t.items}},matchesTypes:["Files"]}),I(h,A,{exposeProperties:{urls:function(t,e){return v(t,e,"").split("\n")}},matchesTypes:["Url","text/uri-list"]}),I(h,C,{exposeProperties:{text:function(t,e){return v(t,e,"")}},matchesTypes:["Text","text/plain"]}),h);function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var b=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.config=e,this.item={},this.initializeExposedProperties()}var e,n,r;return e=t,(n=[{key:"initializeExposedProperties",value:function(){var t=this;Object.keys(this.config.exposeProperties).forEach((function(e){Object.defineProperty(t.item,e,{configurable:!0,enumerable:!0,get:function(){return console.warn("Browser doesn't allow reading \"".concat(e,'" until the drop event.')),null}})}))}},{key:"loadDataTransfer",value:function(t){var e=this;if(t){var n={};Object.keys(this.config.exposeProperties).forEach((function(r){n[r]={value:e.config.exposeProperties[r](t,e.config.matchesTypes),configurable:!0,enumerable:!0}})),Object.defineProperties(this.item,n)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(t,e){return e===t.getSourceId()}},{key:"endDrag",value:function(){}}])&&m(e.prototype,n),r&&m(e,r),t}();function x(t){if(!t)return null;var e=Array.prototype.slice.call(t.types||[]);return Object.keys(y).filter((function(t){return y[t].matchesTypes.some((function(t){return e.indexOf(t)>-1}))}))[0]||null}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var O=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.globalContext=e}var e,n,r;return e=t,(n=[{key:"window",get:function(){return this.globalContext?this.globalContext:"undefined"!==typeof window?window:void 0}},{key:"document",get:function(){if(this.window)return this.window.document}}])&&w(e.prototype,n),r&&w(e,r),t}();function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach((function(e){k(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var E,P=function(){function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.getSourceClientOffset=function(t){var e=r.sourceNodes.get(t);return e&&g(e)||null},this.endDragNativeItem=function(){r.isDraggingNativeItem()&&(r.actions.endDrag(),r.currentNativeHandle&&r.registry.removeSource(r.currentNativeHandle),r.currentNativeHandle=null,r.currentNativeSource=null)},this.isNodeInDocument=function(t){return Boolean(t&&r.document&&r.document.body&&document.body.contains(t))},this.endDragIfSourceWasRemovedFromDOM=function(){var t=r.currentDragSourceNode;r.isNodeInDocument(t)||r.clearCurrentDragSourceNode()&&r.actions.endDrag()},this.handleTopDragStartCapture=function(){r.clearCurrentDragSourceNode(),r.dragStartSourceIds=[]},this.handleTopDragStart=function(t){if(!t.defaultPrevented){var e=r.dragStartSourceIds;r.dragStartSourceIds=null;var n=f(t);r.monitor.isDragging()&&r.actions.endDrag(),r.actions.beginDrag(e||[],{publishSource:!1,getSourceClientOffset:r.getSourceClientOffset,clientOffset:n});var i=t.dataTransfer,o=x(i);if(r.monitor.isDragging()){if(i&&"function"===typeof i.setDragImage){var a=r.monitor.getSourceId(),s=r.sourceNodes.get(a),c=r.sourcePreviewNodes.get(a)||s;if(c){var l=r.getCurrentSourcePreviewNodeOptions(),u=d(s,c,n,{anchorX:l.anchorX,anchorY:l.anchorY},{offsetX:l.offsetX,offsetY:l.offsetY});i.setDragImage(c,u.x,u.y)}}try{null===i||void 0===i||i.setData("application/json",{})}catch(g){}r.setCurrentDragSourceNode(t.target),r.getCurrentSourcePreviewNodeOptions().captureDraggingState?r.actions.publishDragSource():setTimeout((function(){return r.actions.publishDragSource()}),0)}else if(o)r.beginDragNativeItem(o);else{if(i&&!i.types&&(t.target&&!t.target.hasAttribute||!t.target.hasAttribute("draggable")))return;t.preventDefault()}}},this.handleTopDragEndCapture=function(){r.clearCurrentDragSourceNode()&&r.actions.endDrag()},this.handleTopDragEnterCapture=function(t){if(r.dragEnterTargetIds=[],r.enterLeaveCounter.enter(t.target)&&!r.monitor.isDragging()){var e=t.dataTransfer,n=x(e);n&&r.beginDragNativeItem(n,e)}},this.handleTopDragEnter=function(t){var e=r.dragEnterTargetIds;(r.dragEnterTargetIds=[],r.monitor.isDragging())&&(r.altKeyPressed=t.altKey,s()||r.actions.hover(e,{clientOffset:f(t)}),e.some((function(t){return r.monitor.canDropOnTarget(t)}))&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect=r.getCurrentDropEffect())))},this.handleTopDragOverCapture=function(){r.dragOverTargetIds=[]},this.handleTopDragOver=function(t){var e=r.dragOverTargetIds;if(r.dragOverTargetIds=[],!r.monitor.isDragging())return t.preventDefault(),void(t.dataTransfer&&(t.dataTransfer.dropEffect="none"));r.altKeyPressed=t.altKey,r.actions.hover(e||[],{clientOffset:f(t)}),(e||[]).some((function(t){return r.monitor.canDropOnTarget(t)}))?(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect=r.getCurrentDropEffect())):r.isDraggingNativeItem()?t.preventDefault():(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=function(t){r.isDraggingNativeItem()&&t.preventDefault(),r.enterLeaveCounter.leave(t.target)&&r.isDraggingNativeItem()&&r.endDragNativeItem()},this.handleTopDropCapture=function(t){var e;(r.dropTargetIds=[],t.preventDefault(),r.isDraggingNativeItem())&&(null===(e=r.currentNativeSource)||void 0===e||e.loadDataTransfer(t.dataTransfer));r.enterLeaveCounter.reset()},this.handleTopDrop=function(t){var e=r.dropTargetIds;r.dropTargetIds=[],r.actions.hover(e,{clientOffset:f(t)}),r.actions.drop({dropEffect:r.getCurrentDropEffect()}),r.isDraggingNativeItem()?r.endDragNativeItem():r.endDragIfSourceWasRemovedFromDOM()},this.handleSelectStart=function(t){var e=t.target;"function"===typeof e.dragDrop&&("INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable||(t.preventDefault(),e.dragDrop()))},this.options=new O(n),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new a(this.isNodeInDocument)}var e,n,i;return e=t,(n=[{key:"profile",value:function(){var t,e;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(t=this.dragStartSourceIds)||void 0===t?void 0:t.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(e=this.dragOverTargetIds)||void 0===e?void 0:e.length)||0}}},{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"connectDragPreview",value:function(t,e,n){var r=this;return this.sourcePreviewNodeOptions.set(t,n),this.sourcePreviewNodes.set(t,e),function(){r.sourcePreviewNodes.delete(t),r.sourcePreviewNodeOptions.delete(t)}}},{key:"connectDragSource",value:function(t,e,n){var r=this;this.sourceNodes.set(t,e),this.sourceNodeOptions.set(t,n);var i=function(e){return r.handleDragStart(e,t)},o=function(t){return r.handleSelectStart(t)};return e.setAttribute("draggable","true"),e.addEventListener("dragstart",i),e.addEventListener("selectstart",o),function(){r.sourceNodes.delete(t),r.sourceNodeOptions.delete(t),e.removeEventListener("dragstart",i),e.removeEventListener("selectstart",o),e.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(t,e){var n=this,r=function(e){return n.handleDragEnter(e,t)},i=function(e){return n.handleDragOver(e,t)},o=function(e){return n.handleDrop(e,t)};return e.addEventListener("dragenter",r),e.addEventListener("dragover",i),e.addEventListener("drop",o),function(){e.removeEventListener("dragenter",r),e.removeEventListener("dragover",i),e.removeEventListener("drop",o)}}},{key:"addEventListeners",value:function(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var t=this.monitor.getSourceId(),e=this.sourceNodeOptions.get(t);return _({dropEffect:this.altKeyPressed?"copy":"move"},e||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var t=this.monitor.getSourceId();return _({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(t)||{})}},{key:"isDraggingNativeItem",value:function(){var t=this.monitor.getItemType();return Object.keys(r).some((function(e){return r[e]===t}))}},{key:"beginDragNativeItem",value:function(t,e){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(t,e){var n=new b(y[t]);return n.loadDataTransfer(e),n}(t,e),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(t){var e=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t,this.mouseMoveTimeoutTimer=setTimeout((function(){return e.window&&e.window.addEventListener("mousemove",e.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.window&&(this.window.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}},{key:"handleDragStart",value:function(t,e){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(e))}},{key:"handleDragEnter",value:function(t,e){this.dragEnterTargetIds.unshift(e)}},{key:"handleDragOver",value:function(t,e){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(e)}},{key:"handleDrop",value:function(t,e){this.dropTargetIds.unshift(e)}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}}])&&j(e.prototype,n),i&&j(e,i),t}();function M(){return E||((E=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),E}var T=function(t,e){return new P(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(261),i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.disableGlobal,n=void 0!==e&&e,o=t.productionPrefix,a=void 0===o?"jss":o,s=t.seed,c=void 0===s?"":s,l=""===c?"":"".concat(c,"-"),u=0,g=function(){return u+=1};return function(t,e){var o=e.options.name;if(o&&0===o.indexOf("Mui")&&!e.options.link&&!n){if(-1!==i.indexOf(t.key))return"Mui-".concat(t.key);var s="".concat(l).concat(o,"-").concat(t.key);return e.options.theme[r.a]&&""===c?"".concat(s,"-").concat(g()):s}return"".concat(l).concat(a).concat(g())}}},function(t,e,n){"use strict";var r=n(0),i=n(20),o=(n(6),n(49)),a=n(18);var s="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,c=r.forwardRef((function(t,e){var n=t.children,c=t.container,l=t.disablePortal,u=void 0!==l&&l,g=t.onRendered,f=r.useState(null),d=f[0],h=f[1],p=Object(a.a)(r.isValidElement(n)?n.ref:null,e);return s((function(){u||h(function(t){return t="function"===typeof t?t():t,i.findDOMNode(t)}(c)||document.body)}),[c,u]),s((function(){if(d&&!u)return Object(o.a)(e,d),function(){Object(o.a)(e,null)}}),[e,d,u]),s((function(){g&&(d||u)&&g()}),[g,d,u]),u?r.isValidElement(n)?r.cloneElement(n,{ref:p}):n:d?i.createPortal(n,d):d}));e.a=c},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(569),c=n(7),l=o.forwardRef((function(t,e){var n=t.disableUnderline,c=t.classes,l=t.fullWidth,u=void 0!==l&&l,g=t.inputComponent,f=void 0===g?"input":g,d=t.multiline,h=void 0!==d&&d,p=t.type,A=void 0===p?"text":p,C=Object(i.a)(t,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(s.a,Object(r.a)({classes:Object(r.a)({},c,{root:Object(a.default)(c.root,!n&&c.underline),underline:null}),fullWidth:u,inputComponent:f,multiline:h,ref:e,type:A},C))}));l.muiName="Input",e.a=Object(c.a)((function(t){var e="light"===t.palette.type,n=e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:t.shape.borderRadius,borderTopRightRadius:t.shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:e?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:t.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(t.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:t.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(t.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.type?null:"#fff",caretColor:"light"===t.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(l)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(63)),s=n(18);function c(t,e){return parseInt(t[e],10)||0}var l="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,u={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},g=o.forwardRef((function(t,e){var n=t.onChange,g=t.rows,f=t.rowsMax,d=t.rowsMin,h=void 0===d?1:d,p=t.style,A=t.value,C=Object(i.a)(t,["onChange","rows","rowsMax","rowsMin","style","value"]),v=g||h,I=o.useRef(null!=A).current,y=o.useRef(null),m=Object(s.a)(e,y),b=o.useRef(null),x=o.useRef(0),w=o.useState({}),O=w[0],S=w[1],_=o.useCallback((function(){var e=y.current,n=window.getComputedStyle(e),r=b.current;r.style.width=n.width,r.value=e.value||t.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],o=c(n,"padding-bottom")+c(n,"padding-top"),a=c(n,"border-bottom-width")+c(n,"border-top-width"),s=r.scrollHeight-o;r.value="x";var l=r.scrollHeight-o,u=s;v&&(u=Math.max(Number(v)*l,u)),f&&(u=Math.min(Number(f)*l,u));var g=(u=Math.max(u,l))+("border-box"===i?o+a:0),d=Math.abs(u-s)<=1;S((function(t){return x.current<20&&(g>0&&Math.abs((t.outerHeightStyle||0)-g)>1||t.overflow!==d)?(x.current+=1,{overflow:d,outerHeightStyle:g}):t}))}),[f,v,t.placeholder]);o.useEffect((function(){var t=Object(a.a)((function(){x.current=0,_()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}),[_]),l((function(){_()})),o.useEffect((function(){x.current=0}),[A]);return o.createElement(o.Fragment,null,o.createElement("textarea",Object(r.a)({value:A,onChange:function(t){x.current=0,I||_(),n&&n(t)},ref:m,rows:v,style:Object(r.a)({height:O.outerHeightStyle,overflow:O.overflow?"hidden":null},p)},C)),o.createElement("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:b,tabIndex:-1,style:Object(r.a)({},u,p)}))}));e.a=g},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(6),n(3)),s=n(79),c=n(64),l=n(7),u=o.forwardRef((function(t,e){var n=t.children,l=t.classes,u=t.className,g=t.component,f=void 0===g?"p":g,d=(t.disabled,t.error,t.filled,t.focused,t.margin,t.required,t.variant,Object(r.a)(t,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),h=Object(c.a)(),p=Object(s.a)({props:t,muiFormControl:h,states:["variant","margin","disabled","error","filled","focused","required"]});return o.createElement(f,Object(i.a)({className:Object(a.default)(l.root,("filled"===p.variant||"outlined"===p.variant)&&l.contained,u,p.disabled&&l.disabled,p.error&&l.error,p.filled&&l.filled,p.focused&&l.focused,p.required&&l.required,"dense"===p.margin&&l.marginDense),ref:e},d)," "===n?o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):n)}));e.a=Object(l.a)((function(t){return{root:Object(i.a)({color:t.palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(u)},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(0),a=(n(6),n(3)),s=n(79),c=n(64),l=n(9),u=n(7),g=o.forwardRef((function(t,e){var n=t.children,u=t.classes,g=t.className,f=(t.color,t.component),d=void 0===f?"label":f,h=(t.disabled,t.error,t.filled,t.focused,t.required,Object(r.a)(t,["children","classes","className","color","component","disabled","error","filled","focused","required"])),p=Object(c.a)(),A=Object(s.a)({props:t,muiFormControl:p,states:["color","required","focused","disabled","error","filled"]});return o.createElement(d,Object(i.a)({className:Object(a.default)(u.root,u["color".concat(Object(l.a)(A.color||"primary"))],g,A.disabled&&u.disabled,A.error&&u.error,A.filled&&u.filled,A.focused&&u.focused,A.required&&u.required),ref:e},h),n,A.required&&o.createElement("span",{"aria-hidden":!0,className:Object(a.default)(u.asterisk,A.error&&u.error)},"\u2009","*"))}));e.a=Object(u.a)((function(t){return{root:Object(i.a)({color:t.palette.text.secondary},t.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:t.palette.primary.main},"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),colorSecondary:{"&$focused":{color:t.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:t.palette.error.main}}}}),{name:"MuiFormLabel"})(g)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(80),l=o.forwardRef((function(t,e){var n=t.children,s=t.classes,l=t.className,u=t.component,g=void 0===u?"ul":u,f=t.dense,d=void 0!==f&&f,h=t.disablePadding,p=void 0!==h&&h,A=t.subheader,C=Object(i.a)(t,["children","classes","className","component","dense","disablePadding","subheader"]),v=o.useMemo((function(){return{dense:d}}),[d]);return o.createElement(c.a.Provider,{value:v},o.createElement(g,Object(r.a)({className:Object(a.default)(s.root,l,d&&s.dense,!p&&s.padding,A&&s.subheader),ref:e},C),A,n))}));e.a=Object(s.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(l)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=n(368),l=n(78),u=n(18),g=n(80),f=n(20),d="undefined"===typeof window?o.useEffect:o.useLayoutEffect,h=o.forwardRef((function(t,e){var n=t.alignItems,s=void 0===n?"center":n,h=t.autoFocus,p=void 0!==h&&h,A=t.button,C=void 0!==A&&A,v=t.children,I=t.classes,y=t.className,m=t.component,b=t.ContainerComponent,x=void 0===b?"li":b,w=t.ContainerProps,O=(w=void 0===w?{}:w).className,S=Object(i.a)(w,["className"]),_=t.dense,k=void 0!==_&&_,j=t.disabled,E=void 0!==j&&j,P=t.disableGutters,M=void 0!==P&&P,T=t.divider,R=void 0!==T&&T,D=t.focusVisibleClassName,N=t.selected,L=void 0!==N&&N,F=Object(i.a)(t,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),B=o.useContext(g.a),z={dense:k||B.dense||!1,alignItems:s},V=o.useRef(null);d((function(){p&&V.current&&V.current.focus()}),[p]);var G=o.Children.toArray(v),W=G.length&&Object(l.a)(G[G.length-1],["ListItemSecondaryAction"]),Y=o.useCallback((function(t){V.current=f.findDOMNode(t)}),[]),H=Object(u.a)(Y,e),U=Object(r.a)({className:Object(a.default)(I.root,y,z.dense&&I.dense,!M&&I.gutters,R&&I.divider,E&&I.disabled,C&&I.button,"center"!==s&&I.alignItemsFlexStart,W&&I.secondaryAction,L&&I.selected),disabled:E},F),X=m||"li";return C&&(U.component=m||"div",U.focusVisibleClassName=Object(a.default)(I.focusVisible,D),X=c.a),W?(X=U.component||m?X:"div","li"===x&&("li"===X?X="div":"li"===U.component&&(U.component="div")),o.createElement(g.a.Provider,{value:z},o.createElement(x,Object(r.a)({className:Object(a.default)(I.container,O),ref:H},S),o.createElement(X,U,G),G.pop()))):o.createElement(g.a.Provider,{value:z},o.createElement(X,Object(r.a)({ref:H},U),G))}));e.a=Object(s.a)((function(t){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:t.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:t.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(t.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:t.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(h)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(86),n(6),n(20)),s=n(32),c=n(983),l=n(268),u=n(18);function g(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function f(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function d(t,e){if(void 0===e)return!0;var n=t.innerText;return void 0===n&&(n=t.textContent),0!==(n=n.trim().toLowerCase()).length&&(e.repeating?n[0]===e.keys[0]:0===n.indexOf(e.keys.join("")))}function h(t,e,n,r,i,o){for(var a=!1,s=i(t,e,!!e&&n);s;){if(s===t.firstChild){if(a)return;a=!0}var c=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&d(s,o)&&!c)return void s.focus();s=i(t,s,n)}}var p="undefined"===typeof window?o.useEffect:o.useLayoutEffect,A=o.forwardRef((function(t,e){var n=t.actions,A=t.autoFocus,C=void 0!==A&&A,v=t.autoFocusItem,I=void 0!==v&&v,y=t.children,m=t.className,b=t.disabledItemsFocusable,x=void 0!==b&&b,w=t.disableListWrap,O=void 0!==w&&w,S=t.onKeyDown,_=t.variant,k=void 0===_?"selectedMenu":_,j=Object(i.a)(t,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),E=o.useRef(null),P=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});p((function(){C&&E.current.focus()}),[C]),o.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(t,e){var n=!E.current.style.width;if(t.clientHeight<E.current.clientHeight&&n){var r="".concat(Object(l.a)(!0),"px");E.current.style["rtl"===e.direction?"paddingLeft":"paddingRight"]=r,E.current.style.width="calc(100% + ".concat(r,")")}return E.current}}}),[]);var M=o.useCallback((function(t){E.current=a.findDOMNode(t)}),[]),T=Object(u.a)(M,e),R=-1;o.Children.forEach(y,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===k&&t.props.selected||-1===R)&&(R=e))}));var D=o.Children.map(y,(function(t,e){if(e===R){var n={};return I&&(n.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===k&&(n.tabIndex=0),o.cloneElement(t,n)}return t}));return o.createElement(c.a,Object(r.a)({role:"menu",ref:T,className:m,onKeyDown:function(t){var e=E.current,n=t.key,r=Object(s.a)(e).activeElement;if("ArrowDown"===n)t.preventDefault(),h(e,r,O,x,g);else if("ArrowUp"===n)t.preventDefault(),h(e,r,O,x,f);else if("Home"===n)t.preventDefault(),h(e,null,O,x,g);else if("End"===n)t.preventDefault(),h(e,null,O,x,f);else if(1===n.length){var i=P.current,o=n.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var c=r&&!i.repeating&&d(r,i);i.previousKeyMatched&&(c||h(e,r,!1,x,g,i))?t.preventDefault():i.previousKeyMatched=!1}S&&S(t)},tabIndex:C?0:-1},j),D)}));e.a=A},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(541)),s=n(366),c=n(978),l=n(65),u=n(49),g=n(18);function f(t){return"function"===typeof t?t():t}var d="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,h={},p=o.forwardRef((function(t,e){var n=t.anchorEl,p=t.children,A=t.container,C=t.disablePortal,v=void 0!==C&&C,I=t.keepMounted,y=void 0!==I&&I,m=t.modifiers,b=t.open,x=t.placement,w=void 0===x?"bottom":x,O=t.popperOptions,S=void 0===O?h:O,_=t.popperRef,k=t.style,j=t.transition,E=void 0!==j&&j,P=Object(i.a)(t,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),M=o.useRef(null),T=Object(g.a)(M,e),R=o.useRef(null),D=Object(g.a)(R,_),N=o.useRef(D);d((function(){N.current=D}),[D]),o.useImperativeHandle(_,(function(){return R.current}),[]);var L=o.useState(!0),F=L[0],B=L[1],z=function(t,e){if("ltr"===(e&&e.direction||"ltr"))return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(w,Object(s.a)()),V=o.useState(z),G=V[0],W=V[1];o.useEffect((function(){R.current&&R.current.update()}));var Y=o.useCallback((function(){if(M.current&&n&&b){R.current&&(R.current.destroy(),N.current(null));var t=function(t){W(t.placement)},e=(f(n),new a.a(f(n),M.current,Object(r.a)({placement:z},S,{modifiers:Object(r.a)({},v?{}:{preventOverflow:{boundariesElement:"window"}},m,S.modifiers),onCreate:Object(l.a)(t,S.onCreate),onUpdate:Object(l.a)(t,S.onUpdate)})));N.current(e)}}),[n,v,m,b,z,S]),H=o.useCallback((function(t){Object(u.a)(T,t),Y()}),[T,Y]),U=function(){R.current&&(R.current.destroy(),N.current(null))};if(o.useEffect((function(){return function(){U()}}),[]),o.useEffect((function(){b||E||U()}),[b,E]),!y&&!b&&(!E||F))return null;var X={placement:G};return E&&(X.TransitionProps={in:b,onEnter:function(){B(!1)},onExited:function(){B(!0),U()}}),o.createElement(c.a,{disablePortal:v,container:A},o.createElement("div",Object(r.a)({ref:H,role:"tooltip"},P,{style:Object(r.a)({position:"fixed",top:0,left:0,display:b||!y||E?null:"none"},k)}),"function"===typeof p?p(X):p))}));e.a=p},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r,i,o,a,s=n(103),c=n(360),l=n(111),u=function(t,e){var n=Object(l.b)(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},g={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:l.a,e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return u(100*t,e)},r:u,s:function(t,e){var n=Object(l.b)(t,e);if(!n)return t+"";var i=n[0],o=n[1],a=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=i.length;return a===s?i:a>s?i+new Array(a-s+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+Object(l.b)(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},f=function(t){return t},d=Array.prototype.map,h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];i=function(t){var e,n,i=void 0===t.grouping||void 0===t.thousands?f:(e=d.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(t.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",l=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?f:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(d.call(t.numerals,String)),p=void 0===t.percent?"%":t.percent+"",A=void 0===t.minus?"\u2212":t.minus+"",C=void 0===t.nan?"NaN":t.nan+"";function v(t){var e=(t=Object(c.a)(t)).fill,n=t.align,s=t.sign,f=t.symbol,d=t.zero,v=t.width,I=t.comma,y=t.precision,m=t.trim,b=t.type;"n"===b?(I=!0,b="g"):g[b]||(void 0===y&&(y=12),m=!0,b="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var x="$"===f?o:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",w="$"===f?a:/[%p]/.test(b)?p:"",O=g[b],S=/[defgprs%]/.test(b);function _(t){var o,a,c,g=x,f=w;if("c"===b)f=O(t)+f,t="";else{var p=(t=+t)<0||1/t<0;if(t=isNaN(t)?C:O(Math.abs(t),y),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),p&&0===+t&&"+"!==s&&(p=!1),g=(p?"("===s?s:A:"-"===s||"("===s?"":s)+g,f=("s"===b?h[8+r/3]:"")+f+(p&&"("===s?")":""),S)for(o=-1,a=t.length;++o<a;)if(48>(c=t.charCodeAt(o))||c>57){f=(46===c?l+t.slice(o+1):t.slice(o))+f,t=t.slice(0,o);break}}I&&!d&&(t=i(t,1/0));var _=g.length+t.length+f.length,k=_<v?new Array(v-_+1).join(e):"";switch(I&&d&&(t=i(k+t,k.length?v-f.length:1/0),k=""),n){case"<":t=g+t+f+k;break;case"=":t=g+k+t+f;break;case"^":t=k.slice(0,_=k.length>>1)+g+t+f+k.slice(_);break;default:t=k+g+t+f}return u(t)}return y=void 0===y?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),_.toString=function(){return t+""},_}return{format:v,formatPrefix:function(t,e){var n=v(((t=Object(c.a)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Object(s.a)(e)/3))),i=Math.pow(10,-r),o=h[8+r/3];return function(t){return n(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),o=i.format,a=i.formatPrefix},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(4),i=n(2),o=n(0),a=n.n(o),s=n(138),c=n(1014),l={set:function(t,e,n,r){var i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(n,r)},get:function(t,e,n){var r=t.get(e);return r?r.get(n):void 0},delete:function(t,e,n){t.get(e).delete(n)}},u=n(366),g=n(1015),f=-1e9;function d(){return f+=1}n(108);var h=n(567);function p(t){var e="function"===typeof t;return{create:function(n,r){var o;try{o=e?t(n):t}catch(c){throw c}if(!r||!n.overrides||!n.overrides[r])return o;var a=n.overrides[r],s=Object(i.a)({},o);return Object.keys(a).forEach((function(t){s[t]=Object(h.a)(s[t],a[t])})),s},options:{}}}var A={};function C(t,e,n){var r=t.state;if(t.stylesOptions.disableGeneration)return e||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),e!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=e,i=!0),i&&(r.cacheClasses.value=Object(c.a)({baseClasses:r.cacheClasses.lastJSS,newClasses:e,Component:n})),r.cacheClasses.value}function v(t,e){var n=t.state,r=t.theme,o=t.stylesOptions,a=t.stylesCreator,u=t.name;if(!o.disableGeneration){var g=l.get(o.sheetsManager,a,r);g||(g={refs:0,staticSheet:null,dynamicStyles:null},l.set(o.sheetsManager,a,r,g));var f=Object(i.a)({},a.options,o,{theme:r,flip:"boolean"===typeof o.flip?o.flip:"rtl"===r.direction});f.generateId=f.serverGenerateClassName||f.generateClassName;var d=o.sheetsRegistry;if(0===g.refs){var h;o.sheetsCache&&(h=l.get(o.sheetsCache,a,r));var p=a.create(r,u);h||((h=o.jss.createStyleSheet(p,Object(i.a)({link:!1},f))).attach(),o.sheetsCache&&l.set(o.sheetsCache,a,r,h)),d&&d.add(h),g.staticSheet=h,g.dynamicStyles=Object(s.c)(p)}if(g.dynamicStyles){var A=o.jss.createStyleSheet(g.dynamicStyles,Object(i.a)({link:!0},f));A.update(e),A.attach(),n.dynamicSheet=A,n.classes=Object(c.a)({baseClasses:g.staticSheet.classes,newClasses:A.classes}),d&&d.add(A)}else n.classes=g.staticSheet.classes;g.refs+=1}}function I(t,e){var n=t.state;n.dynamicSheet&&n.dynamicSheet.update(e)}function y(t){var e=t.state,n=t.theme,r=t.stylesOptions,i=t.stylesCreator;if(!r.disableGeneration){var o=l.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(l.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),a&&a.remove(e.dynamicSheet))}}function m(t,e){var n,r=a.a.useRef([]),i=a.a.useMemo((function(){return{}}),e);r.current!==i&&(r.current=i,n=t()),a.a.useEffect((function(){return function(){n&&n()}}),[i])}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.name,o=e.classNamePrefix,s=e.Component,c=e.defaultTheme,l=void 0===c?A:c,f=Object(r.a)(e,["name","classNamePrefix","Component","defaultTheme"]),h=p(t),b=n||o||"makeStyles";h.options={index:d(),name:n,meta:b,classNamePrefix:b};var x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(u.a)()||l,r=Object(i.a)({},a.a.useContext(g.a),f),o=a.a.useRef(),c=a.a.useRef();m((function(){var i={name:n,state:{},stylesCreator:h,stylesOptions:r,theme:e};return v(i,t),c.current=!1,o.current=i,function(){y(i)}}),[e,h]),a.a.useEffect((function(){c.current&&I(o.current,t),c.current=!0}));var d=C(o.current,t.classes,s);return d};return x}},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(569),c=n(13),l=n(7),u=n(22),g=n(9),f=o.forwardRef((function(t,e){t.children;var n=t.classes,s=t.className,l=t.label,f=t.labelWidth,d=t.notched,h=t.style,p=Object(i.a)(t,["children","classes","className","label","labelWidth","notched","style"]),A="rtl"===Object(u.a)().direction?"right":"left";if(void 0!==l)return o.createElement("fieldset",Object(r.a)({"aria-hidden":!0,className:Object(a.default)(n.root,s),ref:e,style:h},p),o.createElement("legend",{className:Object(a.default)(n.legendLabelled,d&&n.legendNotched)},l?o.createElement("span",null,l):o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var C=f>0?.75*f+8:.01;return o.createElement("fieldset",Object(r.a)({"aria-hidden":!0,style:Object(r.a)(Object(c.a)({},"padding".concat(Object(g.a)(A)),8),h),className:Object(a.default)(n.root,s),ref:e},p),o.createElement("legend",{className:n.legend,style:{width:d?C:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),d=Object(l.a)((function(t){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(f),h=o.forwardRef((function(t,e){var n=t.classes,c=t.fullWidth,l=void 0!==c&&c,u=t.inputComponent,g=void 0===u?"input":u,f=t.label,h=t.labelWidth,p=void 0===h?0:h,A=t.multiline,C=void 0!==A&&A,v=t.notched,I=t.type,y=void 0===I?"text":I,m=Object(i.a)(t,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return o.createElement(s.a,Object(r.a)({renderSuffix:function(t){return o.createElement(d,{className:n.notchedOutline,label:f,labelWidth:p,notched:"undefined"!==typeof v?v:Boolean(t.startAdornment||t.filled||t.focused)})},classes:Object(r.a)({},n,{root:Object(a.default)(n.root,n.underline),notchedOutline:null}),fullWidth:l,inputComponent:g,multiline:C,ref:e,type:y},m))}));h.muiName="Input";e.a=Object(l.a)((function(t){var e="light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:t.shape.borderRadius,"&:hover $notchedOutline":{borderColor:t.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:e}},"&$focused $notchedOutline":{borderColor:t.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:t.palette.error.main},"&$disabled $notchedOutline":{borderColor:t.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:t.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:e},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.type?null:"#fff",caretColor:"light"===t.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(h)},function(t,e,n){"use strict";var r=n(40),i=n(27),o=(n(6),n(0)),a=n.n(o),s=n(20),c=n.n(s),l=!1,u=n(172),g="unmounted",f="exited",d="entering",h="entered",p="exiting",A=function(t){function e(e,n){var r;r=t.call(this,e,n)||this;var i,o=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?o?(i=f,r.appearStatus=d):i=h:i=e.unmountOnExit||e.mountOnEnter?g:f,r.state={status:i},r.nextCallback=null,r}Object(i.a)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===g?{status:f}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==d&&n!==h&&(e=d):n!==d&&n!==h||(e=p)}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!==typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},n.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),e===d?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===f&&this.setState({status:g})},n.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,i=this.props.nodeRef?[r]:[c.a.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!t&&!n||l?this.safeSetState({status:h},(function(){e.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:d},(function(){e.props.onEntering(o,a),e.onTransitionEnd(u,(function(){e.safeSetState({status:h},(function(){e.props.onEntered(o,a)}))}))})))},n.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:c.a.findDOMNode(this);e&&!l?(this.props.onExit(r),this.safeSetState({status:p},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:f},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:f},(function(){t.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:c.a.findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if(t===g)return null;var e=this.props,n=e.children,i=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,Object(r.a)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(u.a.Provider,{value:null},"function"===typeof n?n(t,i):a.a.cloneElement(a.a.Children.only(n),i))},e}(a.a.Component);function C(){}A.contextType=u.a,A.propTypes={},A.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:C,onEntering:C,onEntered:C,onExit:C,onExiting:C,onExited:C},A.UNMOUNTED=g,A.EXITED=f,A.ENTERING=d,A.ENTERED=h,A.EXITING=p;e.a=A},,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(2);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.baseClasses,n=t.newClasses;t.Component;if(!n)return e;var i=Object(r.a)({},e);return Object.keys(n).forEach((function(t){n[t]&&(i[t]="".concat(e[t]," ").concat(n[t]))})),i}},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h}));var r,i=n(2),o=n(4),a=n(0),s=n.n(a),c=(n(6),n(977)),l=n(138),u=n(570),g=Object(l.b)(Object(u.a)()),f={disableGeneration:!1,generateClassName:Object(c.a)(),jss:g,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},d=s.a.createContext(f);function h(t){var e=t.children,n=t.injectFirst,a=void 0!==n&&n,c=t.disableGeneration,g=void 0!==c&&c,f=Object(o.a)(t,["children","injectFirst","disableGeneration"]),h=s.a.useContext(d),p=Object(i.a)({},h,{disableGeneration:g},f);if(!p.jss.options.insertionPoint&&a&&"undefined"!==typeof window){if(!r){var A=document.head;r=document.createComment("mui-inject-first"),A.insertBefore(r,A.firstChild)}p.jss=Object(l.b)({plugins:Object(u.a)().plugins,insertionPoint:r})}return s.a.createElement(d.Provider,{value:p},e)}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n.n(i),a=(n(6),n(259)),s=n(366),c=n(261);e.a=function(t){var e=t.children,n=t.theme,i=Object(s.a)(),l=o.a.useMemo((function(){var t=null===i?n:function(t,e){return"function"===typeof e?e(t):Object(r.a)({},t,e)}(i,n);return null!=t&&(t[c.a]=null!==i),t}),[n,i]);return o.a.createElement(a.a.Provider,{value:l},e)}},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(266),c=n(7),l=o.forwardRef((function(t,e){var n=t.classes,c=t.className,l=t.raised,u=void 0!==l&&l,g=Object(i.a)(t,["classes","className","raised"]);return o.createElement(s.a,Object(r.a)({className:Object(a.default)(n.root,c),elevation:u?8:1,ref:e},g))}));e.a=Object(c.a)({root:{overflow:"hidden"}},{name:"MuiCard"})(l)},function(t,e,n){"use strict";function r(t){var e=t.theme,n=t.name,r=t.props;if(!e||!e.props||!e.props[n])return r;var i,o=e.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=o.forwardRef((function(t,e){var n=t.classes,s=t.className,c=t.component,l=void 0===c?"div":c,u=Object(i.a)(t,["classes","className","component"]);return o.createElement(l,Object(r.a)({className:Object(a.default)(n.root,s),ref:e},u))}));e.a=Object(s.a)({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(c)},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(7),c=o.forwardRef((function(t,e){var n=t.disableSpacing,s=void 0!==n&&n,c=t.classes,l=t.className,u=Object(i.a)(t,["disableSpacing","classes","className"]);return o.createElement("div",Object(r.a)({className:Object(a.default)(c.root,l,!s&&c.spacing),ref:e},u))}));e.a=Object(s.a)({root:{display:"flex",alignItems:"center",padding:8},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiCardActions"})(c)},function(t,e,n){"use strict";var r=n(0),i=n(20),o=(n(6),n(32)),a=n(18);e.a=function(t){var e=t.children,n=t.disableAutoFocus,s=void 0!==n&&n,c=t.disableEnforceFocus,l=void 0!==c&&c,u=t.disableRestoreFocus,g=void 0!==u&&u,f=t.getDoc,d=t.isEnabled,h=t.open,p=r.useRef(),A=r.useRef(null),C=r.useRef(null),v=r.useRef(),I=r.useRef(null),y=r.useCallback((function(t){I.current=i.findDOMNode(t)}),[]),m=Object(a.a)(e.ref,y),b=r.useRef();return r.useEffect((function(){b.current=h}),[h]),!b.current&&h&&"undefined"!==typeof window&&(v.current=f().activeElement),r.useEffect((function(){if(h){var t=Object(o.a)(I.current);s||!I.current||I.current.contains(t.activeElement)||(I.current.hasAttribute("tabIndex")||I.current.setAttribute("tabIndex",-1),I.current.focus());var e=function(){null!==I.current&&(t.hasFocus()&&!l&&d()&&!p.current?I.current&&!I.current.contains(t.activeElement)&&I.current.focus():p.current=!1)},n=function(e){!l&&d()&&9===e.keyCode&&t.activeElement===I.current&&(p.current=!0,e.shiftKey?C.current.focus():A.current.focus())};t.addEventListener("focus",e,!0),t.addEventListener("keydown",n,!0);var r=setInterval((function(){e()}),50);return function(){clearInterval(r),t.removeEventListener("focus",e,!0),t.removeEventListener("keydown",n,!0),g||(v.current&&v.current.focus&&v.current.focus(),v.current=null)}}}),[s,l,g,d,h]),r.createElement(r.Fragment,null,r.createElement("div",{tabIndex:0,ref:A,"data-test":"sentinelStart"}),r.cloneElement(e,{ref:m}),r.createElement("div",{tabIndex:0,ref:C,"data-test":"sentinelEnd"}))}},function(t,e,n){"use strict";var r=n(166),i=n(361),o=n(211),a=Object(i.a)(r.a),s=a.right;a.left,Object(i.a)(o.a).center;e.a=s},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return u}));var r=n(28),i=n(34);function o(t){return Object(r.a)((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/i.e}))}var a=o(0),s=o(1),c=o(2),l=o(3),u=o(4),g=o(5),f=o(6);a.range,s.range,c.range,l.range,u.range,g.range,f.range},function(t,e,n){"use strict";var r=n(28),i=n(34),o=Object(r.a)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/i.a}),(function(t){return t.getUTCDate()-1}));e.a=o;o.range},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return u}));var r=n(28),i=n(34);function o(t){return Object(r.a)((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.e}))}var a=o(0),s=o(1),c=o(2),l=o(3),u=o(4),g=o(5),f=o(6);a.range,s.range,c.range,l.range,u.range,g.range,f.range},function(t,e,n){"use strict";var r=n(28),i=n(34),o=Object(r.a)((function(t){return t.setHours(0,0,0,0)}),(function(t,e){return t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a}),(function(t){return t.getDate()-1}));e.a=o;o.range},function(t,e,n){"use strict";var r=n(28),i=Object(r.a)((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null},e.a=i;i.range},function(t,e,n){"use strict";var r=n(28),i=Object(r.a)((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null},e.a=i;i.range},function(t,e,n){"use strict";var r=n(28),i=n(34),o=Object(r.a)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*i.d)}),(function(t,e){return(e-t)/i.d}),(function(t){return t.getUTCSeconds()}));e.a=o;o.range},function(t,e,n){"use strict";var r=n(28),i=Object(r.a)((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):i:null},e.a=i;i.range},function(t,e,n){"use strict";var r=Math.PI,i=2*r,o=1e-6,a=i-o;function s(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new s}s.prototype=c.prototype={constructor:s,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,i,a){t=+t,e=+e,n=+n,i=+i,a=+a;var s=this._x1,c=this._y1,l=n-t,u=i-e,g=s-t,f=c-e,d=g*g+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(d>o)if(Math.abs(f*l-u*g)>o&&a){var h=n-s,p=i-c,A=l*l+u*u,C=h*h+p*p,v=Math.sqrt(A),I=Math.sqrt(d),y=a*Math.tan((r-Math.acos((A+d-C)/(2*v*I)))/2),m=y/I,b=y/v;Math.abs(m-1)>o&&(this._+="L"+(t+m*g)+","+(e+m*f)),this._+="A"+a+","+a+",0,0,"+ +(f*h>g*p)+","+(this._x1=t+b*l)+","+(this._y1=e+b*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,s,c,l){t=+t,e=+e,l=!!l;var u=(n=+n)*Math.cos(s),g=n*Math.sin(s),f=t+u,d=e+g,h=1^l,p=l?s-c:c-s;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>o||Math.abs(this._y1-d)>o)&&(this._+="L"+f+","+d),n&&(p<0&&(p=p%i+i),p>a?this._+="A"+n+","+n+",0,1,"+h+","+(t-u)+","+(e-g)+"A"+n+","+n+",0,1,"+h+","+(this._x1=f)+","+(this._y1=d):p>o&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+h+","+(this._x1=t+n*Math.cos(c))+","+(this._y1=e+n*Math.sin(c))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.a=c},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(14),i=n.n(r),o=n(0),a=n.n(o),s=n(8),c=n(15);function l(t){return(l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function g(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return I(this,n)}}function I(t,e){return!e||"object"!==l(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(l,t);var e,n,r,o=v(l);function l(){return p(this,l),o.apply(this,arguments)}return e=l,r=[{key:"renderLineItem",value:function(t,e){var n;if(a.a.isValidElement(t))n=a.a.cloneElement(t,e);else if(i()(t))n=t(e);else{var r=e.x1,o=e.y1,s=e.x2,l=e.y2,f=e.key,d=g(e,["x1","y1","x2","y2","key"]);n=a.a.createElement("line",u({},Object(c.c)(d),{x1:r,y1:o,x2:s,y2:l,fill:"none",key:f}))}return n}}],(n=[{key:"renderHorizontal",value:function(t){var e=this,n=this.props,r=n.x,i=n.width,o=n.horizontal;if(!t||!t.length)return null;var s=t.map((function(t,n){var a=d(d({},e.props),{},{x1:r,y1:t,x2:r+i,y2:t,key:"line-".concat(n),index:n});return l.renderLineItem(o,a)}));return a.a.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}},{key:"renderVertical",value:function(t){var e=this,n=this.props,r=n.y,i=n.height,o=n.vertical;if(!t||!t.length)return null;var s=t.map((function(t,n){var a=d(d({},e.props),{},{x1:t,y1:r,x2:t,y2:r+i,key:"line-".concat(n),index:n});return l.renderLineItem(o,a)}));return a.a.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}},{key:"renderVerticalStripes",value:function(t){var e=this.props.verticalFill;if(!e||!e.length)return null;var n=this.props,r=n.fillOpacity,i=n.x,o=n.y,s=n.width,c=n.height,l=t.slice().sort((function(t,e){return t-e}));i!==l[0]&&l.unshift(0);var u=l.map((function(t,n){var u=l[n+1]?l[n+1]-t:i+s-t;if(u<=0)return null;var g=n%e.length;return a.a.createElement("rect",{key:"react-".concat(n),x:Math.round(t+i-i),y:o,width:u,height:c,stroke:"none",fill:e[g],fillOpacity:r,className:"recharts-cartesian-grid-bg"})}));return a.a.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},u)}},{key:"renderHorizontalStripes",value:function(t){var e=this.props.horizontalFill;if(!e||!e.length)return null;var n=this.props,r=n.fillOpacity,i=n.x,o=n.y,s=n.width,c=n.height,l=t.slice().sort((function(t,e){return t-e}));o!==l[0]&&l.unshift(0);var u=l.map((function(t,n){var u=l[n+1]?l[n+1]-t:o+c-t;if(u<=0)return null;var g=n%e.length;return a.a.createElement("rect",{key:"react-".concat(n),y:Math.round(t+o-o),x:i,height:u,width:s,stroke:"none",fill:e[g],fillOpacity:r,className:"recharts-cartesian-grid-bg"})}));return a.a.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},u)}},{key:"renderBackground",value:function(){var t=this.props.fill;if(!t||"none"===t)return null;var e=this.props,n=e.fillOpacity,r=e.x,i=e.y,o=e.width,s=e.height;return a.a.createElement("rect",{x:r,y:i,width:o,height:s,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,o=t.height,c=t.horizontal,l=t.vertical,u=t.horizontalCoordinatesGenerator,g=t.verticalCoordinatesGenerator,f=t.xAxis,d=t.yAxis,h=t.offset,p=t.chartWidth,A=t.chartHeight;if(!Object(s.g)(r)||r<=0||!Object(s.g)(o)||o<=0||!Object(s.g)(e)||e!==+e||!Object(s.g)(n)||n!==+n)return null;var C=this.props,v=C.horizontalPoints,I=C.verticalPoints;return v&&v.length||!i()(u)||(v=u({yAxis:d,width:p,height:A,offset:h})),I&&I.length||!i()(g)||(I=g({xAxis:f,width:p,height:A,offset:h})),a.a.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),c&&this.renderHorizontal(v),l&&this.renderVertical(I),c&&this.renderHorizontalStripes(v),l&&this.renderVerticalStripes(I))}}])&&A(e.prototype,n),r&&A(e,r),l}(o.PureComponent);m.displayName="CartesianGrid",m.defaultProps={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]}},function(t,e,n){"use strict";var r={};function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e)}n.r(r),n.d(r,"someByType",(function(){return ir})),n.d(r,"findByType",(function(){return or})),n.d(r,"isNil",(function(){return ar}));var s=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var c=function(){this.__data__=[],this.size=0};var l=function(t,e){return t===e||t!==t&&e!==e};var u=function(t,e){for(var n=t.length;n--;)if(l(t[n][0],e))return n;return-1},g=Array.prototype.splice;var f=function(t){var e=this.__data__,n=u(e,t);return!(n<0)&&(n==e.length-1?e.pop():g.call(e,n,1),--this.size,!0)};var d=function(t){var e=this.__data__,n=u(e,t);return n<0?void 0:e[n][1]};var h=function(t){return u(this.__data__,t)>-1};var p=function(t,e){var n=this.__data__,r=u(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function A(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}A.prototype.clear=c,A.prototype.delete=f,A.prototype.get=d,A.prototype.has=h,A.prototype.set=p;var C=A;var v=function(){this.__data__=new C,this.size=0};var I=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var y=function(t){return this.__data__.get(t)};var m=function(t){return this.__data__.has(t)},b=n(54),x=b.a.Symbol,w=Object.prototype,O=w.hasOwnProperty,S=w.toString,_=x?x.toStringTag:void 0;var k=function(t){var e=O.call(t,_),n=t[_];try{t[_]=void 0;var r=!0}catch(o){}var i=S.call(t);return r&&(e?t[_]=n:delete t[_]),i},j=Object.prototype.toString;var E=function(t){return j.call(t)},P=x?x.toStringTag:void 0;var M=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":P&&P in Object(t)?k(t):E(t)};var T=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var R=function(t){if(!T(t))return!1;var e=M(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},D=b.a["__core-js_shared__"],N=function(){var t=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var L=function(t){return!!N&&N in t},F=Function.prototype.toString;var B=function(t){if(null!=t){try{return F.call(t)}catch(e){}try{return t+""}catch(e){}}return""},z=/^\[object .+?Constructor\]$/,V=Function.prototype,G=Object.prototype,W=V.toString,Y=G.hasOwnProperty,H=RegExp("^"+W.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var U=function(t){return!(!T(t)||L(t))&&(R(t)?H:z).test(B(t))};var X=function(t,e){return null==t?void 0:t[e]};var Z=function(t,e){var n=X(t,e);return U(n)?n:void 0},q=Z(b.a,"Map"),K=Z(Object,"create");var Q=function(){this.__data__=K?K(null):{},this.size=0};var J=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},$=Object.prototype.hasOwnProperty;var tt=function(t){var e=this.__data__;if(K){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return $.call(e,t)?e[t]:void 0},et=Object.prototype.hasOwnProperty;var nt=function(t){var e=this.__data__;return K?void 0!==e[t]:et.call(e,t)};var rt=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=K&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}it.prototype.clear=Q,it.prototype.delete=J,it.prototype.get=tt,it.prototype.has=nt,it.prototype.set=rt;var ot=it;var at=function(){this.size=0,this.__data__={hash:new ot,map:new(q||C),string:new ot}};var st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var ct=function(t,e){var n=t.__data__;return st(e)?n["string"==typeof e?"string":"hash"]:n.map};var lt=function(t){var e=ct(this,t).delete(t);return this.size-=e?1:0,e};var ut=function(t){return ct(this,t).get(t)};var gt=function(t){return ct(this,t).has(t)};var ft=function(t,e){var n=ct(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function dt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}dt.prototype.clear=at,dt.prototype.delete=lt,dt.prototype.get=ut,dt.prototype.has=gt,dt.prototype.set=ft;var ht=dt;var pt=function(t,e){var n=this.__data__;if(n instanceof C){var r=n.__data__;if(!q||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new ht(r)}return n.set(t,e),this.size=n.size,this};function At(t){var e=this.__data__=new C(t);this.size=e.size}At.prototype.clear=v,At.prototype.delete=I,At.prototype.get=y,At.prototype.has=m,At.prototype.set=pt;var Ct=At;var vt=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};var It=function(t){return this.__data__.has(t)};function yt(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ht;++e<n;)this.add(t[e])}yt.prototype.add=yt.prototype.push=vt,yt.prototype.has=It;var mt=yt;var bt=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};var xt=function(t,e){return t.has(e)};var wt=function(t,e,n,r,i,o){var a=1&n,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(t),u=o.get(e);if(l&&u)return l==e&&u==t;var g=-1,f=!0,d=2&n?new mt:void 0;for(o.set(t,e),o.set(e,t);++g<s;){var h=t[g],p=e[g];if(r)var A=a?r(p,h,g,e,t,o):r(h,p,g,t,e,o);if(void 0!==A){if(A)continue;f=!1;break}if(d){if(!bt(e,(function(t,e){if(!xt(d,e)&&(h===t||i(h,t,n,r,o)))return d.push(e)}))){f=!1;break}}else if(h!==p&&!i(h,p,n,r,o)){f=!1;break}}return o.delete(t),o.delete(e),f},Ot=b.a.Uint8Array;var St=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n};var _t=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n},kt=x?x.prototype:void 0,jt=kt?kt.valueOf:void 0;var Et=function(t,e,n,r,i,o,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new Ot(t),new Ot(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return l(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=St;case"[object Set]":var c=1&r;if(s||(s=_t),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;r|=2,a.set(t,e);var g=wt(s(t),s(e),r,i,o,a);return a.delete(t),g;case"[object Symbol]":if(jt)return jt.call(t)==jt.call(e)}return!1};var Pt=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t},Mt=Array.isArray;var Tt=function(t,e,n){var r=e(t);return Mt(t)?r:Pt(r,n(t))};var Rt=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o};var Dt=function(){return[]},Nt=Object.prototype.propertyIsEnumerable,Lt=Object.getOwnPropertySymbols,Ft=Lt?function(t){return null==t?[]:(t=Object(t),Rt(Lt(t),(function(e){return Nt.call(t,e)})))}:Dt;var Bt=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};var zt=function(t){return null!=t&&"object"==typeof t};var Vt=function(t){return zt(t)&&"[object Arguments]"==M(t)},Gt=Object.prototype,Wt=Gt.hasOwnProperty,Yt=Gt.propertyIsEnumerable,Ht=Vt(function(){return arguments}())?Vt:function(t){return zt(t)&&Wt.call(t,"callee")&&!Yt.call(t,"callee")},Ut=n(206),Xt=/^(?:0|[1-9]\d*)$/;var Zt=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Xt.test(t))&&t>-1&&t%1==0&&t<e};var qt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Kt={};Kt["[object Float32Array]"]=Kt["[object Float64Array]"]=Kt["[object Int8Array]"]=Kt["[object Int16Array]"]=Kt["[object Int32Array]"]=Kt["[object Uint8Array]"]=Kt["[object Uint8ClampedArray]"]=Kt["[object Uint16Array]"]=Kt["[object Uint32Array]"]=!0,Kt["[object Arguments]"]=Kt["[object Array]"]=Kt["[object ArrayBuffer]"]=Kt["[object Boolean]"]=Kt["[object DataView]"]=Kt["[object Date]"]=Kt["[object Error]"]=Kt["[object Function]"]=Kt["[object Map]"]=Kt["[object Number]"]=Kt["[object Object]"]=Kt["[object RegExp]"]=Kt["[object Set]"]=Kt["[object String]"]=Kt["[object WeakMap]"]=!1;var Qt=function(t){return zt(t)&&qt(t.length)&&!!Kt[M(t)]};var Jt=function(t){return function(e){return t(e)}},$t=n(354),te=$t.a&&$t.a.isTypedArray,ee=te?Jt(te):Qt,ne=Object.prototype.hasOwnProperty;var re=function(t,e){var n=Mt(t),r=!n&&Ht(t),i=!n&&!r&&Object(Ut.a)(t),o=!n&&!r&&!i&&ee(t),a=n||r||i||o,s=a?Bt(t.length,String):[],c=s.length;for(var l in t)!e&&!ne.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Zt(l,c))||s.push(l);return s},ie=Object.prototype;var oe=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ie)};var ae=function(t,e){return function(n){return t(e(n))}},se=ae(Object.keys,Object),ce=Object.prototype.hasOwnProperty;var le=function(t){if(!oe(t))return se(t);var e=[];for(var n in Object(t))ce.call(t,n)&&"constructor"!=n&&e.push(n);return e};var ue=function(t){return null!=t&&qt(t.length)&&!R(t)};var ge=function(t){return ue(t)?re(t):le(t)};var fe=function(t){return Tt(t,ge,Ft)},de=Object.prototype.hasOwnProperty;var he=function(t,e,n,r,i,o){var a=1&n,s=fe(t),c=s.length;if(c!=fe(e).length&&!a)return!1;for(var l=c;l--;){var u=s[l];if(!(a?u in e:de.call(e,u)))return!1}var g=o.get(t),f=o.get(e);if(g&&f)return g==e&&f==t;var d=!0;o.set(t,e),o.set(e,t);for(var h=a;++l<c;){var p=t[u=s[l]],A=e[u];if(r)var C=a?r(A,p,u,e,t,o):r(p,A,u,t,e,o);if(!(void 0===C?p===A||i(p,A,n,r,o):C)){d=!1;break}h||(h="constructor"==u)}if(d&&!h){var v=t.constructor,I=e.constructor;v==I||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof I&&I instanceof I||(d=!1)}return o.delete(t),o.delete(e),d},pe=Z(b.a,"DataView"),Ae=Z(b.a,"Promise"),Ce=Z(b.a,"Set"),ve=Z(b.a,"WeakMap"),Ie="[object Map]",ye="[object Promise]",me="[object Set]",be="[object WeakMap]",xe="[object DataView]",we=B(pe),Oe=B(q),Se=B(Ae),_e=B(Ce),ke=B(ve),je=M;(pe&&je(new pe(new ArrayBuffer(1)))!=xe||q&&je(new q)!=Ie||Ae&&je(Ae.resolve())!=ye||Ce&&je(new Ce)!=me||ve&&je(new ve)!=be)&&(je=function(t){var e=M(t),n="[object Object]"==e?t.constructor:void 0,r=n?B(n):"";if(r)switch(r){case we:return xe;case Oe:return Ie;case Se:return ye;case _e:return me;case ke:return be}return e});var Ee=je,Pe="[object Arguments]",Me="[object Array]",Te="[object Object]",Re=Object.prototype.hasOwnProperty;var De=function(t,e,n,r,i,o){var a=Mt(t),s=Mt(e),c=a?Me:Ee(t),l=s?Me:Ee(e),u=(c=c==Pe?Te:c)==Te,g=(l=l==Pe?Te:l)==Te,f=c==l;if(f&&Object(Ut.a)(t)){if(!Object(Ut.a)(e))return!1;a=!0,u=!1}if(f&&!u)return o||(o=new Ct),a||ee(t)?wt(t,e,n,r,i,o):Et(t,e,c,n,r,i,o);if(!(1&n)){var d=u&&Re.call(t,"__wrapped__"),h=g&&Re.call(e,"__wrapped__");if(d||h){var p=d?t.value():t,A=h?e.value():e;return o||(o=new Ct),i(p,A,n,r,o)}}return!!f&&(o||(o=new Ct),he(t,e,n,r,i,o))};var Ne=function t(e,n,r,i,o){return e===n||(null==e||null==n||!zt(e)&&!zt(n)?e!==e&&n!==n:De(e,n,r,i,t,o))};var Le=function(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=Object(t);i--;){var s=n[i];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<o;){var c=(s=n[i])[0],l=t[c],u=s[1];if(a&&s[2]){if(void 0===l&&!(c in t))return!1}else{var g=new Ct;if(r)var f=r(l,u,c,t,e,g);if(!(void 0===f?Ne(u,l,3,r,g):f))return!1}}return!0};var Fe=function(t){return t===t&&!T(t)};var Be=function(t){for(var e=ge(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Fe(i)]}return e};var ze=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}};var Ve=function(t){var e=Be(t);return 1==e.length&&e[0][2]?ze(e[0][0],e[0][1]):function(n){return n===t||Le(n,t,e)}};var Ge=function(t){return"symbol"==typeof t||zt(t)&&"[object Symbol]"==M(t)},We=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ye=/^\w*$/;var He=function(t,e){if(Mt(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ge(t))||(Ye.test(t)||!We.test(t)||null!=e&&t in Object(e))};function Ue(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ue.Cache||ht),n}Ue.Cache=ht;var Xe=Ue;var Ze=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qe=/\\(\\)?/g,Ke=function(t){var e=Xe(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ze,(function(t,n,r,i){e.push(r?i.replace(qe,"$1"):n||t)})),e})),Qe=x?x.prototype:void 0,Je=Qe?Qe.toString:void 0;var $e=function t(e){if("string"==typeof e)return e;if(Mt(e))return s(e,t)+"";if(Ge(e))return Je?Je.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};var tn=function(t){return null==t?"":$e(t)};var en=function(t,e){return Mt(t)?t:He(t,e)?[t]:Ke(tn(t))};var nn=function(t){if("string"==typeof t||Ge(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var rn=function(t,e){for(var n=0,r=(e=en(e,t)).length;null!=t&&n<r;)t=t[nn(e[n++])];return n&&n==r?t:void 0};var on=function(t,e,n){var r=null==t?void 0:rn(t,e);return void 0===r?n:r};var an=function(t,e){return null!=t&&e in Object(t)};var sn=function(t,e,n){for(var r=-1,i=(e=en(e,t)).length,o=!1;++r<i;){var a=nn(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&qt(i)&&Zt(a,i)&&(Mt(t)||Ht(t))};var cn=function(t,e){return null!=t&&sn(t,e,an)};var ln=function(t,e){return He(t)&&Fe(e)?ze(nn(t),e):function(n){var r=on(n,t);return void 0===r&&r===e?cn(n,t):Ne(e,r,3)}};var un=function(t){return t};var gn=function(t){return function(e){return null==e?void 0:e[t]}};var fn=function(t){return function(e){return rn(e,t)}};var dn=function(t){return He(t)?gn(nn(t)):fn(t)};var hn=function(t){return"function"==typeof t?t:null==t?un:"object"==typeof t?Mt(t)?ln(t[0],t[1]):Ve(t):dn(t)};var pn=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var c=a[t?s:++i];if(!1===n(o[c],c,o))break}return e}}();var An=function(t,e){return function(n,r){if(null==n)return n;if(!ue(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=Object(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}((function(t,e){return t&&pn(t,e,ge)}));var Cn=function(t,e){var n=-1,r=ue(t)?Array(t.length):[];return An(t,(function(t,i,o){r[++n]=e(t,i,o)})),r};var vn=function(t,e){return(Mt(t)?s:Cn)(t,hn(e,3))};var In=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var yn=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};var mn=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o};var bn=function(t,e){return e.length<2?t:rn(t,mn(e,0,-1))};var xn=function(t,e,n){e=en(e,t);var r=null==(t=bn(t,e))?t:t[nn(yn(e))];return null==r?void 0:In(r,t,n)},wn=Math.max;var On=function(t,e,n){return e=wn(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=wn(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),In(t,this,s)}};var Sn=function(t){return function(){return t}},_n=function(){try{var t=Z(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),kn=_n?function(t,e){return _n(t,"toString",{configurable:!0,enumerable:!1,value:Sn(e),writable:!0})}:un,jn=Date.now;var En=function(t){var e=0,n=0;return function(){var r=jn(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(kn);var Pn=function(t,e){return En(On(t,e,un),t+"")}(xn),Mn=n(3),Tn=(n(6),n(0)),Rn=n.n(Tn),Dn={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen"};function Nn(t){var e=typeof t;return"string"===e||"number"===e?Dn[t]||t:""}var Ln=function(t,e){return t&&e},Fn=function(t,e){return t&&!0!==t&&t+" "+e},Bn=function(t,e){return t&&(!0===t?e:t+" "+e)},zn=function(t,e){var n=t.handledProps,r=void 0===n?[]:n;return Object.keys(e).reduce((function(t,n){return"childKey"===n||-1===r.indexOf(n)&&(t[n]=e[n]),t}),{})};var Vn=function(t,e,n){var r=t.defaultProps,i=void 0===r?{}:r;if(e.as&&e.as!==i.as)return e.as;if(n){var o=n();if(o)return o}return e.href?"a":i.as||"div"};var Gn=function(t){return function(e,n,r){var i=Object(e);if(!ue(e)){var o=hn(n,3);e=ge(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:void 0}};var Wn=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1},Yn=/^\s+|\s+$/g,Hn=/^[-+]0x[0-9a-f]+$/i,Un=/^0b[01]+$/i,Xn=/^0o[0-7]+$/i,Zn=parseInt;var qn=function(t){if("number"==typeof t)return t;if(Ge(t))return NaN;if(T(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=T(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Yn,"");var n=Un.test(t);return n||Xn.test(t)?Zn(t.slice(2),n?2:8):Hn.test(t)?NaN:+t},Kn=1/0;var Qn=function(t){return t?(t=qn(t))===Kn||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0};var Jn=function(t){var e=Qn(t),n=e%1;return e===e?n?e-n:e:0},$n=Math.max;var tr=Gn((function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Jn(n);return i<0&&(i=$n(r+i,0)),Wn(t,hn(e,3),i)}));var er=function(t,e){var n;return An(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n};var nr=function(t,e,n){if(!T(n))return!1;var r=typeof e;return!!("number"==r?ue(n)&&Zt(e,n.length):"string"==r&&e in n)&&l(n[e],t)};var rr=function(t,e,n){var r=Mt(t)?bt:er;return n&&nr(t,e,n)&&(e=void 0),r(t,hn(e,3))},ir=function(t,e){return rr(Tn.Children.toArray(t),{type:e})},or=function(t,e){return tr(Tn.Children.toArray(t),{type:e})},ar=function(t){return null===t||void 0===t||Array.isArray(t)&&0===t.length};function sr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var cr=function(t){return void 0===t},lr=function(t,e,n,r){void 0===r&&(r=!1);var i,o=e[t];if(void 0!==o)return o;if(r){var a=e[(i=t,"default"+(i[0].toUpperCase()+i.slice(1)))];if(void 0!==a)return a;if(n){var s=n[t];if(void 0!==s)return s}}return"checked"!==t&&("value"===t?e.multiple?[]:"":void 0)},ur=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=(e=t.call.apply(t,[this].concat(r))||this).constructor,s=a.autoControlledProps,c=a.getAutoControlledStateFromProps,l=Pn(sr(e),"getInitialAutoControlledState",e.props)||{},u=s.reduce((function(t,n){return t[n]=lr(n,e.props,l,!0),t}),{});return e.state=i({},l,u,{autoControlledProps:s,getAutoControlledStateFromProps:c}),e}return a(e,t),e.getDerivedStateFromProps=function(t,e){var n=e.autoControlledProps,r=e.getAutoControlledStateFromProps,o=n.reduce((function(e,n){return!cr(t[n])&&(e[n]=t[n]),e}),{});if(r){var a=r(t,i({},e,o),e);return i({},o,a)}return o},e.getAutoControlledStateFromProps=function(){return null},e}(Rn.a.Component);var gr=function(t){return t!==t};var fr=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1};var dr=function(t,e,n){return e===e?fr(t,e,n):Wn(t,gr,n)};var hr=function(t,e){return!!(null==t?0:t.length)&&dr(t,e,0)>-1};var pr=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1};var Ar=function(){},Cr=Ce&&1/_t(new Ce([,-0]))[1]==1/0?function(t){return new Ce(t)}:Ar;var vr=function(t,e,n){var r=-1,i=hr,o=t.length,a=!0,s=[],c=s;if(n)a=!1,i=pr;else if(o>=200){var l=e?null:Cr(t);if(l)return _t(l);a=!1,i=xt,c=new mt}else c=e?[]:s;t:for(;++r<o;){var u=t[r],g=e?e(u):u;if(u=n||0!==u?u:0,a&&g===g){for(var f=c.length;f--;)if(c[f]===g)continue t;e&&c.push(g),s.push(u)}else i(c,g,n)||(c!==s&&c.push(g),s.push(u))}return s};var Ir=function(t){return t&&t.length?vr(t):[]},yr=ae(Object.getPrototypeOf,Object),mr=Function.prototype,br=Object.prototype,xr=mr.toString,wr=br.hasOwnProperty,Or=xr.call(Object);var Sr=function(t){if(!zt(t)||"[object Object]"!=M(t))return!1;var e=yr(t);if(null===e)return!0;var n=wr.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&xr.call(n)==Or};var _r=function(t){return"number"==typeof t||zt(t)&&"[object Number]"==M(t)};var kr=function(t){return"string"==typeof t||!Mt(t)&&zt(t)&&"[object String]"==M(t)};var jr=function(t){return!0===t||!1===t||zt(t)&&"[object Boolean]"==M(t)};var Er=function(t){return null==t};function Pr(t,e){if("function"!==typeof t&&"string"!==typeof t)throw new Error("createShorthandFactory() Component must be a string or function.");return function(n,r){return function(t,e,n,r){if(void 0===r&&(r={}),"function"!==typeof t&&"string"!==typeof t)throw new Error("createShorthand() Component must be a string or function.");if(Er(n)||jr(n))return null;var o=kr(n),a=_r(n),s=R(n),c=Tn.isValidElement(n),l=Sr(n),u=o||a||Mt(n);if(!s&&!c&&!l&&!u)return null;var g=r.defaultProps,f=void 0===g?{}:g,d=c&&n.props||l&&n||u&&e(n),h=r.overrideProps,p=void 0===h?{}:h;p=R(p)?p(i({},f,d)):p;var A=i({},f,d,p);if(f.className||p.className||d.className){var C=Object(Mn.default)(f.className,p.className,d.className);A.className=Ir(C.split(" ")).join(" ")}if((f.style||p.style||d.style)&&(A.style=i({},f.style,d.style,p.style)),Er(A.key)){var v=A.childKey,I=r.autoGenerateKey,y=void 0===I||I;Er(v)?y&&(o||a)&&(A.key=n):(A.key="function"===typeof v?v(A):v,delete A.childKey)}return c?Tn.cloneElement(n,A):"function"===typeof A.children?A.children(t,i({},A,{children:void 0})):u||l?Tn.createElement(t,A):s?n(t,A,A.children):void 0}(t,e,n,r)}}function Mr(t){var e=t.children,n=t.className,o=t.content,a=Object(Mn.default)("header",n),s=zn(Mr,t),c=Vn(Mr,t);return Rn.a.createElement(c,i({},s,{className:a}),r.isNil(e)?o:e)}Mr.handledProps=["as","children","className","content"],Mr.propTypes={};var Tr=Mr;var Rr=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n};var Dr=function(t){return function(e){return null==t?void 0:t[e]}}({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Nr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Lr=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Fr=function(t){return(t=tn(t))&&t.replace(Nr,Dr).replace(Lr,"")},Br=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var zr=function(t){return t.match(Br)||[]},Vr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Gr=function(t){return Vr.test(t)},Wr="\\u2700-\\u27bf",Yr="a-z\\xdf-\\xf6\\xf8-\\xff",Hr="A-Z\\xc0-\\xd6\\xd8-\\xde",Ur="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xr="["+Ur+"]",Zr="\\d+",qr="[\\u2700-\\u27bf]",Kr="["+Yr+"]",Qr="[^\\ud800-\\udfff"+Ur+Zr+Wr+Yr+Hr+"]",Jr="(?:\\ud83c[\\udde6-\\uddff]){2}",$r="[\\ud800-\\udbff][\\udc00-\\udfff]",ti="["+Hr+"]",ei="(?:"+Kr+"|"+Qr+")",ni="(?:"+ti+"|"+Qr+")",ri="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ii="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",oi="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ai="[\\ufe0e\\ufe0f]?",si=ai+oi+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Jr,$r].join("|")+")"+ai+oi+")*"),ci="(?:"+[qr,Jr,$r].join("|")+")"+si,li=RegExp([ti+"?"+Kr+"+"+ri+"(?="+[Xr,ti,"$"].join("|")+")",ni+"+"+ii+"(?="+[Xr,ti+ei,"$"].join("|")+")",ti+"?"+ei+"+"+ri,ti+"+"+ii,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zr,ci].join("|"),"g");var ui=function(t){return t.match(li)||[]};var gi=function(t,e,n){return t=tn(t),void 0===(e=n?void 0:e)?Gr(t)?ui(t):zr(t):t.match(e)||[]},fi=RegExp("['\u2019]","g");var di=function(t){return function(e){return Rr(gi(Fr(e).replace(fi,"")),t,"")}};var hi=function(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:mn(t,e,n)},pi=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Ai=function(t){return pi.test(t)};var Ci=function(t){return t.split("")},vi="[\\ud800-\\udfff]",Ii="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",yi="[^\\ud800-\\udfff]",mi="(?:\\ud83c[\\udde6-\\uddff]){2}",bi="[\\ud800-\\udbff][\\udc00-\\udfff]",xi="(?:"+Ii+"|"+"\\ud83c[\\udffb-\\udfff])"+"?",wi="[\\ufe0e\\ufe0f]?",Oi=wi+xi+("(?:\\u200d(?:"+[yi,mi,bi].join("|")+")"+wi+xi+")*"),Si="(?:"+[yi+Ii+"?",Ii,mi,bi,vi].join("|")+")",_i=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+Si+Oi,"g");var ki=function(t){return t.match(_i)||[]};var ji=function(t){return Ai(t)?ki(t):Ci(t)};var Ei=function(t){return function(e){e=tn(e);var n=Ai(e)?ji(e):void 0,r=n?n[0]:e.charAt(0),i=n?hi(n,1).join(""):e.slice(1);return r[t]()+i}}("toUpperCase"),Pi=di((function(t,e,n){return t+(n?" ":"")+Ei(e)}));function Mi(t){var e=t.children,n=t.className,o=t.content,a=t.size,s=Object(Mn.default)(a,"icons",n),c=zn(Mi,t),l=Vn(Mi,t);return Rn.a.createElement(l,i({},c,{className:s}),r.isNil(e)?o:e)}Mi.handledProps=["as","children","className","content","size"],Mi.propTypes={},Mi.defaultProps={as:"i"};var Ti=Mi,Ri=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).handleClick=function(t){e.props.disabled?t.preventDefault():Pn(e.props,"onClick",t,e.props)},e}a(e,t);var n=e.prototype;return n.getIconAriaOptions=function(){var t={},e=this.props,n=e["aria-label"],r=e["aria-hidden"];return Er(n)?t["aria-hidden"]="true":t["aria-label"]=n,Er(r)||(t["aria-hidden"]=r),t},n.render=function(){var t=this.props,n=t.bordered,r=t.circular,o=t.className,a=t.color,s=t.corner,c=t.disabled,l=t.fitted,u=t.flipped,g=t.inverted,f=t.link,d=t.loading,h=t.name,p=t.rotated,A=t.size,C=Object(Mn.default)(a,h,A,Ln(n,"bordered"),Ln(r,"circular"),Ln(c,"disabled"),Ln(l,"fitted"),Ln(g,"inverted"),Ln(f,"link"),Ln(d,"loading"),Bn(s,"corner"),Fn(u,"flipped"),Fn(p,"rotated"),"icon",o),v=zn(e,this.props),I=Vn(e,this.props),y=this.getIconAriaOptions();return Rn.a.createElement(I,i({},v,y,{className:C,onClick:this.handleClick}))},e}(Tn.PureComponent);Ri.handledProps=["aria-hidden","aria-label","as","bordered","circular","className","color","corner","disabled","fitted","flipped","inverted","link","loading","name","rotated","size"],Ri.propTypes={},Ri.defaultProps={as:"i"},Ri.Group=Ti,Ri.create=Pr(Ri,(function(t){return{name:t}}));var Di=Ri,Ni=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).handleClick=function(t){e.props.disabled||Pn(e.props,"onClick",t,e.props)},e}return a(e,t),e.prototype.render=function(){var t=this.props,n=t.active,o=t.children,a=t.className,s=t.color,c=t.content,l=t.disabled,u=t.fitted,g=t.header,f=t.icon,d=t.link,h=t.name,p=t.onClick,A=t.position,C=Object(Mn.default)(s,A,Ln(n,"active"),Ln(l,"disabled"),Ln(!0===f||f&&!(h||c),"icon"),Ln(g,"header"),Ln(d,"link"),Bn(u,"fitted"),"item",a),v=Vn(e,this.props,(function(){if(p)return"a"})),I=zn(e,this.props);return r.isNil(o)?Rn.a.createElement(v,i({},I,{className:C,onClick:this.handleClick}),Di.create(f,{autoGenerateKey:!1}),r.isNil(c)?Pi(h):c):Rn.a.createElement(v,i({},I,{className:C,onClick:this.handleClick}),o)},e}(Tn.Component);function Li(t){var e=t.children,n=t.className,o=t.content,a=t.position,s=Object(Mn.default)(a,"menu",n),c=zn(Li,t),l=Vn(Li,t);return Rn.a.createElement(l,i({},c,{className:s}),r.isNil(e)?o:e)}Ni.handledProps=["active","as","children","className","color","content","disabled","fitted","header","icon","index","link","name","onClick","position"],Ni.propTypes={},Ni.create=Pr(Ni,(function(t){return{content:t,name:t}})),Li.handledProps=["as","children","className","content","position"],Li.propTypes={};var Fi=Li,Bi=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).handleItemOverrides=function(t){return{onClick:function(n,r){var i=r.index;e.setState({activeIndex:i}),Pn(t,"onClick",n,r),Pn(e.props,"onItemClick",n,r)}}},e}a(e,t);var n=e.prototype;return n.renderItems=function(){var t=this,e=this.props.items,n=this.state.activeIndex;return vn(e,(function(e,r){return Ni.create(e,{defaultProps:{active:parseInt(n,10)===r,index:r},overrideProps:t.handleItemOverrides})}))},n.render=function(){var t=this.props,n=t.attached,o=t.borderless,a=t.children,s=t.className,c=t.color,l=t.compact,u=t.fixed,g=t.floated,f=t.fluid,d=t.icon,h=t.inverted,p=t.pagination,A=t.pointing,C=t.secondary,v=t.size,I=t.stackable,y=t.tabular,m=t.text,b=t.vertical,x=t.widths,w=Object(Mn.default)("ui",c,v,Ln(o,"borderless"),Ln(l,"compact"),Ln(f,"fluid"),Ln(h,"inverted"),Ln(p,"pagination"),Ln(A,"pointing"),Ln(C,"secondary"),Ln(I,"stackable"),Ln(m,"text"),Ln(b,"vertical"),Bn(n,"attached"),Bn(g,"floated"),Bn(d,"icon"),Bn(y,"tabular"),Fn(u,"fixed"),function(t,e,n){if(void 0===e&&(e=""),void 0===n&&(n=!1),n&&"equal"===t)return"equal width";var r=typeof t;return"string"!==r&&"number"!==r||!e?Nn(t):Nn(t)+" "+e}(x,"item"),s,"menu"),O=zn(e,this.props),S=Vn(e,this.props);return Rn.a.createElement(S,i({},O,{className:w}),r.isNil(a)?this.renderItems():a)},e}(ur);Bi.handledProps=["activeIndex","as","attached","borderless","children","className","color","compact","defaultActiveIndex","fixed","floated","fluid","icon","inverted","items","onItemClick","pagination","pointing","secondary","size","stackable","tabular","text","vertical","widths"],Bi.propTypes={},Bi.autoControlledProps=["activeIndex"],Bi.Header=Tr,Bi.Item=Ni,Bi.Menu=Fi,Bi.create=Pr(Bi,(function(t){return{items:t}}));e.a=Bi},function(t,e,n){"use strict";n.d(e,"a",(function(){return Wn}));var r=n(281),i=n.n(r),o=n(550),a=n.n(o),s=n(14),c=n.n(s),l=n(551),u=n.n(l),g=n(167),f=n.n(g),d=n(51),h=n.n(d),p=n(16),A=n.n(p),C=n(174),v=n.n(C),I=n(0),y=n.n(I),m=n(19),b=n.n(m),x=n(212),w=n(38),O=n(288),S=n(213),_=n(21),k=n.n(_),j=n(142),E=n.n(j),P=function(){};function M(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function T(t){this._context=t}T.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:M(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:M(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function R(t){this._context=t}R.prototype={areaStart:P,areaEnd:P,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:M(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function D(t){this._context=t}D.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:M(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function N(t){this._context=t}N.prototype={areaStart:P,areaEnd:P,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function L(t){this._context=t}L.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var F=function(t){return new L(t)};function B(t){return t<0?-1:1}function z(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(B(o)+B(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function V(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function G(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function W(t){this._context=t}function Y(t){this._context=new H(t)}function H(t){this._context=t}function U(t){this._context=t}function X(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}W.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:G(this,this._t0,V(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,G(this,V(this,n=z(this,t,e)),n);break;default:G(this,this._t0,n=z(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Y.prototype=Object.create(W.prototype)).point=function(t,e){W.prototype.point.call(this,e,t)},H.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},U.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=X(t),i=X(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function Z(t,e){this._context=t,this._t=e}Z.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var q=n(1031),K=n(170),Q=n(31);function J(t){return t[0]}function $(t){return t[1]}var tt=function(t,e){var n=Object(Q.a)(!0),r=null,i=F,o=null;function a(a){var s,c,l,u=(a=Object(K.a)(a)).length,g=!1;for(null==r&&(o=i(l=Object(q.a)())),s=0;s<=u;++s)!(s<u&&n(c=a[s],s,a))===g&&((g=!g)?o.lineStart():o.lineEnd()),g&&o.point(+t(c,s,a),+e(c,s,a));if(l)return o=null,l+""||null}return t="function"===typeof t?t:void 0===t?J:Object(Q.a)(t),e="function"===typeof e?e:void 0===e?$:Object(Q.a)(e),a.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(Q.a)(+e),a):t},a.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(Q.a)(+t),a):e},a.defined=function(t){return arguments.length?(n="function"===typeof t?t:Object(Q.a)(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a},et=function(t,e,n){var r=null,i=Object(Q.a)(!0),o=null,a=F,s=null;function c(c){var l,u,g,f,d,h=(c=Object(K.a)(c)).length,p=!1,A=new Array(h),C=new Array(h);for(null==o&&(s=a(d=Object(q.a)())),l=0;l<=h;++l){if(!(l<h&&i(f=c[l],l,c))===p)if(p=!p)u=l,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),g=l-1;g>=u;--g)s.point(A[g],C[g]);s.lineEnd(),s.areaEnd()}p&&(A[l]=+t(f,l,c),C[l]=+e(f,l,c),s.point(r?+r(f,l,c):A[l],n?+n(f,l,c):C[l]))}if(d)return s=null,d+""||null}function l(){return tt().defined(i).curve(a).context(o)}return t="function"===typeof t?t:void 0===t?J:Object(Q.a)(+t),e="function"===typeof e?e:void 0===e?Object(Q.a)(0):Object(Q.a)(+e),n="function"===typeof n?n:void 0===n?$:Object(Q.a)(+n),c.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(Q.a)(+e),r=null,c):t},c.x0=function(e){return arguments.length?(t="function"===typeof e?e:Object(Q.a)(+e),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:Object(Q.a)(+t),c):r},c.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(Q.a)(+t),n=null,c):e},c.y0=function(t){return arguments.length?(e="function"===typeof t?t:Object(Q.a)(+t),c):e},c.y1=function(t){return arguments.length?(n=null==t?null:"function"===typeof t?t:Object(Q.a)(+t),c):n},c.lineX0=c.lineY0=function(){return l().x(t).y(e)},c.lineY1=function(){return l().x(t).y(n)},c.lineX1=function(){return l().x(r).y(e)},c.defined=function(t){return arguments.length?(i="function"===typeof t?t:Object(Q.a)(!!t),c):i},c.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),c):a},c.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),c):o},c},nt=n(15),rt=n(8);function it(t){return(it="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ot(){return(ot=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function at(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function st(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?at(Object(n),!0).forEach((function(e){ct(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function gt(t,e){return(gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ft(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ht(t);if(e){var i=ht(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return dt(this,n)}}function dt(t,e){return!e||"object"!==it(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ht(t){return(ht=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var pt={curveBasisClosed:function(t){return new R(t)},curveBasisOpen:function(t){return new D(t)},curveBasis:function(t){return new T(t)},curveLinearClosed:function(t){return new N(t)},curveLinear:F,curveMonotoneX:function(t){return new W(t)},curveMonotoneY:function(t){return new Y(t)},curveNatural:function(t){return new U(t)},curveStep:function(t){return new Z(t,.5)},curveStepAfter:function(t){return new Z(t,1)},curveStepBefore:function(t){return new Z(t,0)}},At=function(t){return t.x===+t.x&&t.y===+t.y},Ct=function(t){return t.x},vt=function(t){return t.y},It=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&>(t,e)}(o,t);var e,n,r,i=ft(o);function o(){return lt(this,o),i.apply(this,arguments)}return e=o,(n=[{key:"getPath",value:function(){var t,e=this.props,n=e.type,r=e.points,i=e.baseLine,o=e.layout,a=e.connectNulls,s=function(t,e){if(c()(t))return t;var n="curve".concat(E()(t));return"curveMonotone"===n&&e?pt["".concat(n).concat("vertical"===e?"Y":"X")]:pt[n]||F}(n,o),l=a?r.filter((function(t){return At(t)})):r;if(k()(i)){var u=a?i.filter((function(t){return At(t)})):i,g=l.map((function(t,e){return st(st({},t),{},{base:u[e]})}));return(t="vertical"===o?et().y(vt).x1(Ct).x0((function(t){return t.base.x})):et().x(Ct).y1(vt).y0((function(t){return t.base.y}))).defined(At).curve(s),t(g)}return(t="vertical"===o&&Object(rt.g)(i)?et().y(vt).x1(Ct).x0(i):Object(rt.g)(i)?et().x(Ct).y1(vt).y0(i):tt().x(Ct).y(vt)).defined(At).curve(s),t(l)}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.points,r=t.path,i=t.pathRef;if((!n||!n.length)&&!r)return null;var o=n&&n.length?this.getPath():r;return y.a.createElement("path",ot({},Object(nt.c)(this.props),Object(nt.a)(this.props),{className:b()("recharts-curve",e),d:o,ref:i}))}}])&&ut(e.prototype,n),r&&ut(e,r),o}(I.PureComponent);function yt(t){return(yt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function mt(){return(mt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function bt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function wt(t,e){return(wt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ot(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_t(t);if(e){var i=_t(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return St(this,n)}}function St(t,e){return!e||"object"!==yt(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}It.defaultProps={type:"linear",points:[],connectNulls:!1};var kt=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wt(t,e)}(o,t);var e,n,r,i=Ot(o);function o(){return bt(this,o),i.apply(this,arguments)}return e=o,r=[{key:"getPath",value:function(t,e,n,r,i,o){return"M".concat(t,",").concat(i,"v").concat(r,"M").concat(o,",").concat(e,"h").concat(n)}}],(n=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.top,s=t.left,c=t.className;return Object(rt.g)(e)&&Object(rt.g)(n)&&Object(rt.g)(r)&&Object(rt.g)(i)&&Object(rt.g)(a)&&Object(rt.g)(s)?y.a.createElement("path",mt({},Object(nt.c)(this.props,!0),{className:b()("recharts-cross",c),d:o.getPath(e,n,r,i,a,s)})):null}}])&&xt(e.prototype,n),r&&xt(e,r),o}(I.PureComponent);kt.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var jt=n(41);function Et(t){return(Et="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pt(){return(Pt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Rt(t,e){return(Rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Dt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Lt(t);if(e){var i=Lt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Nt(this,n)}}function Nt(t,e){return!e||"object"!==Et(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Lt(t){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ft=function(t){var e=t.cx,n=t.cy,r=t.radius,i=t.angle,o=t.sign,a=t.isExternal,s=t.cornerRadius,c=t.cornerIsExternal,l=s*(a?1:-1)+r,u=Math.asin(s/l)/jt.a,g=c?i:i+o*u,f=c?i-o*u:i;return{center:Object(jt.c)(e,n,l,g),circleTangency:Object(jt.c)(e,n,r,g),lineTangency:Object(jt.c)(e,n,l*Math.cos(u*jt.a),f),theta:u}},Bt=function(t){var e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return Object(rt.i)(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),s=o+a,c=Object(jt.c)(e,n,i,o),l=Object(jt.c)(e,n,i,s),u="M ".concat(c.x,",").concat(c.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>s),",\n ").concat(l.x,",").concat(l.y,"\n ");if(r>0){var g=Object(jt.c)(e,n,r,o),f=Object(jt.c)(e,n,r,s);u+="L ".concat(f.x,",").concat(f.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=s),",\n ").concat(g.x,",").concat(g.y," Z")}else u+="L ".concat(e,",").concat(n," Z");return u},zt=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rt(t,e)}(o,t);var e,n,r,i=Dt(o);function o(){return Mt(this,o),i.apply(this,arguments)}return e=o,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,s=t.cornerIsExternal,c=t.startAngle,l=t.endAngle,u=t.className;if(i<r||c===l)return null;var g,f=b()("recharts-sector",u),d=i-r,h=Object(rt.c)(o,d,0,!0);return g=h>0&&Math.abs(c-l)<360?function(t){var e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,s=t.cornerIsExternal,c=t.startAngle,l=t.endAngle,u=Object(rt.i)(l-c),g=Ft({cx:e,cy:n,radius:i,angle:c,sign:u,cornerRadius:o,cornerIsExternal:s}),f=g.circleTangency,d=g.lineTangency,h=g.theta,p=Ft({cx:e,cy:n,radius:i,angle:l,sign:-u,cornerRadius:o,cornerIsExternal:s}),A=p.circleTangency,C=p.lineTangency,v=p.theta,I=s?Math.abs(c-l):Math.abs(c-l)-h-v;if(I<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):Bt({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l});var y="M ".concat(d.x,",").concat(d.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(f.x,",").concat(f.y,"\n A").concat(i,",").concat(i,",0,").concat(+(I>180),",").concat(+(u<0),",").concat(A.x,",").concat(A.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(C.x,",").concat(C.y,"\n ");if(r>0){var m=Ft({cx:e,cy:n,radius:r,angle:c,sign:u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),b=m.circleTangency,x=m.lineTangency,w=m.theta,O=Ft({cx:e,cy:n,radius:r,angle:l,sign:-u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),S=O.circleTangency,_=O.lineTangency,k=O.theta,j=s?Math.abs(c-l):Math.abs(c-l)-w-k;if(j<0&&0===o)return"".concat(y,"L").concat(e,",").concat(n,"Z");y+="L".concat(_.x,",").concat(_.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(S.x,",").concat(S.y,"\n A").concat(r,",").concat(r,",0,").concat(+(j>180),",").concat(+(u>0),",").concat(b.x,",").concat(b.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(x.x,",").concat(x.y,"Z")}else y+="L".concat(e,",").concat(n,"Z");return y}({cx:e,cy:n,innerRadius:r,outerRadius:i,cornerRadius:Math.min(h,d/2),forceCornerRadius:a,cornerIsExternal:s,startAngle:c,endAngle:l}):Bt({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l}),y.a.createElement("path",Pt({},Object(nt.c)(this.props,!0),{className:f,d:g}))}}])&&Tt(e.prototype,n),r&&Tt(e,r),o}(I.PureComponent);function Vt(t){return(Vt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gt(){return(Gt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Wt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ht(t,e){return(Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ut(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Zt(t);if(e){var i=Zt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Xt(this,n)}}function Xt(t,e){return!e||"object"!==Vt(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Zt(t){return(Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}zt.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var qt=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}(o,t);var e,n,r,i=Ut(o);function o(){return Wt(this,o),i.apply(this,arguments)}return e=o,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.r,i=t.className,o=b()("recharts-dot",i);return e===+e&&n===+n&&r===+r?y.a.createElement("circle",Gt({},Object(nt.c)(this.props),Object(nt.a)(this.props),{className:o,cx:e,cy:n,r:r})):null}}])&&Yt(e.prototype,n),r&&Yt(e,r),o}(I.PureComponent),Kt=n(171),Qt=n(25),Jt=n(121),$t=n(82),te=n(143),ee=n(91),ne=n(100);function re(t){return(re="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ie(){return(ie=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function oe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ae(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?oe(Object(n),!0).forEach((function(e){se(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ce(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function le(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ge(t,e){return(ge=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function fe(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=he(t);if(e){var i=he(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return de(this,n)}}function de(t,e){return!e||"object"!==re(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function he(t){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var pe=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ge(t,e)}(o,t);var e,n,r,i=fe(o);function o(){return le(this,o),i.apply(this,arguments)}return e=o,r=[{key:"getTicks",value:function(t){var e=t.tick,n=t.ticks,r=t.viewBox,i=t.minTickGap,a=t.orientation,s=t.interval,c=t.tickFormatter,l=t.unit;return n&&n.length&&e?Object(rt.g)(s)||ne.a.isSsr?o.getNumberIntervalTicks(n,"number"===typeof s&&Object(rt.g)(s)?s:0):"preserveStartEnd"===s?o.getTicksStart({ticks:n,tickFormatter:c,viewBox:r,orientation:a,minTickGap:i,unit:l},!0):"preserveStart"===s?o.getTicksStart({ticks:n,tickFormatter:c,viewBox:r,orientation:a,minTickGap:i,unit:l}):o.getTicksEnd({ticks:n,tickFormatter:c,viewBox:r,orientation:a,minTickGap:i,unit:l}):[]}},{key:"getNumberIntervalTicks",value:function(t,e){return t.filter((function(t,n){return n%(e+1)===0}))}},{key:"getTicksStart",value:function(t,e){var n,r,i=t.ticks,o=t.tickFormatter,a=t.viewBox,s=t.orientation,l=t.minTickGap,u=t.unit,g=a.x,f=a.y,d=a.width,h=a.height,p="top"===s||"bottom"===s?"width":"height",A=(i||[]).slice(),C=u&&"width"===p?Object($t.c)(u)[p]:0,v=A.length,I=v>=2?Object(rt.i)(A[1].coordinate-A[0].coordinate):1;if(1===I?(n="width"===p?g:f,r="width"===p?g+d:f+h):(n="width"===p?g+d:f+h,r="width"===p?g:f),e){var y=i[v-1],m=c()(o)?o(y.value,v-1):y.value,b=Object($t.c)(m)[p]+C,x=I*(y.coordinate+I*b/2-r);A[v-1]=y=ae(ae({},y),{},{tickCoord:x>0?y.coordinate-x*I:y.coordinate}),I*(y.tickCoord-I*b/2-n)>=0&&I*(y.tickCoord+I*b/2-r)<=0&&(r=y.tickCoord-I*(b/2+l),A[v-1]=ae(ae({},y),{},{isShow:!0}))}for(var w=e?v-1:v,O=0;O<w;O++){var S=A[O],_=c()(o)?o(S.value,O):S.value,k=Object($t.c)(_)[p]+C;if(0===O){var j=I*(S.coordinate-I*k/2-n);A[O]=S=ae(ae({},S),{},{tickCoord:j<0?S.coordinate-j*I:S.coordinate})}else A[O]=S=ae(ae({},S),{},{tickCoord:S.coordinate});I*(S.tickCoord-I*k/2-n)>=0&&I*(S.tickCoord+I*k/2-r)<=0&&(n=S.tickCoord+I*(k/2+l),A[O]=ae(ae({},S),{},{isShow:!0}))}return A.filter((function(t){return t.isShow}))}},{key:"getTicksEnd",value:function(t){var e,n,r=t.ticks,i=t.tickFormatter,o=t.viewBox,a=t.orientation,s=t.minTickGap,l=t.unit,u=o.x,g=o.y,f=o.width,d=o.height,h="top"===a||"bottom"===a?"width":"height",p=l&&"width"===h?Object($t.c)(l)[h]:0,A=(r||[]).slice(),C=A.length,v=C>=2?Object(rt.i)(A[1].coordinate-A[0].coordinate):1;1===v?(e="width"===h?u:g,n="width"===h?u+f:g+d):(e="width"===h?u+f:g+d,n="width"===h?u:g);for(var I=C-1;I>=0;I--){var y=A[I],m=c()(i)?i(y.value,C-I-1):y.value,b=Object($t.c)(m)[h]+p;if(I===C-1){var x=v*(y.coordinate+v*b/2-n);A[I]=y=ae(ae({},y),{},{tickCoord:x>0?y.coordinate-x*v:y.coordinate})}else A[I]=y=ae(ae({},y),{},{tickCoord:y.coordinate});v*(y.tickCoord-v*b/2-e)>=0&&v*(y.tickCoord+v*b/2-n)<=0&&(n=y.tickCoord-v*(b/2+s),A[I]=ae(ae({},y),{},{isShow:!0}))}return A.filter((function(t){return t.isShow}))}},{key:"renderTickItem",value:function(t,e,n){return y.a.isValidElement(t)?y.a.cloneElement(t,e):c()(t)?t(e):y.a.createElement(te.a,ie({},e,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(n=[{key:"shouldComponentUpdate",value:function(t){var e=t.viewBox,n=ce(t,["viewBox"]),r=this.props,i=r.viewBox,o=ce(r,["viewBox"]);return!Object(Jt.a)(e,i)||!Object(Jt.a)(n,o)}},{key:"getTickLineCoord",value:function(t){var e,n,r,i,o,a,s=this.props,c=s.x,l=s.y,u=s.width,g=s.height,f=s.orientation,d=s.tickSize,h=s.mirror,p=s.tickMargin,A=h?-1:1,C=t.tickSize||d,v=Object(rt.g)(t.tickCoord)?t.tickCoord:t.coordinate;switch(f){case"top":e=n=t.coordinate,a=(r=(i=l+ +!h*g)-A*C)-A*p,o=v;break;case"left":r=i=t.coordinate,o=(e=(n=c+ +!h*u)-A*C)-A*p,a=v;break;case"right":r=i=t.coordinate,o=(e=(n=c+ +h*u)+A*C)+A*p,a=v;break;default:e=n=t.coordinate,a=(r=(i=l+ +h*g)+A*C)+A*p,o=v}return{line:{x1:e,y1:r,x2:n,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,n=e.orientation,r=e.mirror;switch(n){case"left":t=r?"start":"end";break;case"right":t=r?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,n=t.mirror,r="end";switch(e){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,o=t.orientation,a=t.mirror,s=t.axisLine,c=ae(ae(ae({},Object(nt.c)(this.props)),Object(nt.c)(s)),{},{fill:"none"});if("top"===o||"bottom"===o){var l=+("top"===o&&!a||"bottom"===o&&a);c=ae(ae({},c),{},{x1:e,y1:n+l*i,x2:e+r,y2:n+l*i})}else{var u=+("left"===o&&!a||"right"===o&&a);c=ae(ae({},c),{},{x1:e+u*r,y1:n,x2:e+u*r,y2:n+i})}return y.a.createElement("line",ie({},c,{className:b()("recharts-cartesian-axis-line",h()(s,"className"))}))}},{key:"renderTicks",value:function(t){var e=this,n=this.props,r=n.tickLine,i=n.stroke,a=n.tick,s=n.tickFormatter,l=n.unit,u=o.getTicks(ae(ae({},this.props),{},{ticks:t})),g=this.getTickTextAnchor(),f=this.getTickVerticalAnchor(),d=Object(nt.c)(this.props),p=Object(nt.c)(a),A=ae(ae({},d),{},{fill:"none"},Object(nt.c)(r)),C=u.map((function(t,n){var C=e.getTickLineCoord(t),v=C.line,I=C.tick,m=ae(ae(ae(ae({textAnchor:g,verticalAnchor:f},d),{},{stroke:"none",fill:i},p),I),{},{index:n,payload:t,visibleTicksCount:u.length,tickFormatter:s});return y.a.createElement(w.a,ie({className:"recharts-cartesian-axis-tick",key:"tick-".concat(n)},Object(nt.b)(e.props,t,n)),r&&y.a.createElement("line",ie({},A,v,{className:b()("recharts-cartesian-axis-tick-line",h()(r,"className"))})),a&&o.renderTickItem(a,m,"".concat(c()(s)?s(t.value,n):t.value).concat(l||"")))}));return y.a.createElement("g",{className:"recharts-cartesian-axis-ticks"},C)}},{key:"render",value:function(){var t=this.props,e=t.axisLine,n=t.width,r=t.height,i=t.ticksGenerator,o=t.className;if(t.hide)return null;var a=this.props,s=a.ticks,l=ce(a,["ticks"]),u=s;return c()(i)&&(u=s&&s.length>0?i(this.props):i(l)),n<=0||r<=0||!u||!u.length?null:y.a.createElement(w.a,{className:b()("recharts-cartesian-axis",o)},e&&this.renderAxisLine(),this.renderTicks(u),ee.a.renderCallByParent(this.props))}}])&&ue(e.prototype,n),r&&ue(e,r),o}(I.Component);pe.displayName="CartesianAxis",pe.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};var Ae=n(346),Ce=n(12);function ve(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ve(Object(n),!0).forEach((function(e){ye(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var me=["Webkit","Moz","O","ms"];function be(t){return(be="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xe(){return(xe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function we(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Oe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?we(Object(n),!0).forEach((function(e){Se(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ke(t,e){return(ke=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function je(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Me(t);if(e){var i=Me(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ee(this,n)}}function Ee(t,e){return!e||"object"!==be(e)&&"function"!==typeof e?Pe(t):e}function Pe(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Me(t){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Te=function(t){return t.changedTouches&&!!t.changedTouches.length},Re=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ke(t,e)}(o,t);var e,n,r,i=je(o);function o(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(e=i.call(this,t)).leaveTimer=void 0,e.travellerDragStartHandlers=void 0,e.handleDrag=function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])},e.handleDragEnd=function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1}),e.detachDragEndListener()},e.handleLeaveWrapper=function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))},e.handleEnterSlideOrTraveller=function(){e.setState({isTextActive:!0})},e.handleLeaveSlideOrTraveller=function(){e.setState({isTextActive:!1})},e.handleSlideDragStart=function(t){var n=Te(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),e.attachDragEndListener()},e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(Pe(e),"startX"),endX:e.handleTravellerDragStart.bind(Pe(e),"endX")},e.state={},e}return e=o,r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.stroke,a=Math.floor(n+i/2)-1;return y.a.createElement(y.a.Fragment,null,y.a.createElement("rect",{x:e,y:n,width:r,height:i,fill:o,stroke:"none"}),y.a.createElement("line",{x1:e+1,y1:a,x2:e+r-1,y2:a,fill:"none",stroke:"#fff"}),y.a.createElement("line",{x1:e+1,y1:a+2,x2:e+r-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return y.a.isValidElement(t)?y.a.cloneElement(t,e):c()(t)?t(e):o.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var n=t.data,r=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,s=t.startIndex,c=t.endIndex;if(n!==e.prevData||a!==e.prevUpdateId)return Oe({prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r},n&&n.length?function(t){var e=t.data,n=t.startIndex,r=t.endIndex,i=t.x,o=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var s=e.length,c=Object(Ae.b)().domain(v()(0,s)).range([i,i+o-a]),l=c.domain().map((function(t){return c(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:c(n),endX:c(r),scale:c,scaleValues:l}}({data:n,width:r,x:i,travellerWidth:o,startIndex:s,endIndex:c}):{scale:null,scaleValues:null});if(e.scale&&(r!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+r-o]);var l=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var n=0,r=t.length-1;r-n>1;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i}return e>=t[r]?r:n}}],(n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,n=t.endX,r=this.state.scaleValues,i=this.props,a=i.gap,s=i.data.length-1,c=Math.min(e,n),l=Math.max(e,n),u=o.getIndexInRange(r,c),g=o.getIndexInRange(r,l);return{startIndex:u-u%a,endIndex:g===s?s:g-g%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,n=e.data,r=e.tickFormatter,i=e.dataKey,o=Object(Ce.u)(n[t],i,t);return c()(r)?r(o,t):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,n=e.slideMoveStartX,r=e.startX,i=e.endX,o=this.props,a=o.x,s=o.width,c=o.travellerWidth,l=o.startIndex,u=o.endIndex,g=o.onChange,f=t.pageX-n;f>0?f=Math.min(f,a+s-c-i,a+s-c-r):f<0&&(f=Math.max(f,a-r,a-i));var d=this.getIndex({startX:r+f,endX:i+f});d.startIndex===l&&d.endIndex===u||!g||g(d),this.setState({startX:r+f,endX:i+f,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var n=Te(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e,n=this.state,r=n.brushMoveStartX,i=n.movingTravellerId,o=n.endX,a=n.startX,s=this.state[i],c=this.props,l=c.x,u=c.width,g=c.travellerWidth,f=c.onChange,d=c.gap,h=c.data,p={startX:this.state.startX,endX:this.state.endX},A=t.pageX-r;A>0?A=Math.min(A,l+u-g-s):A<0&&(A=Math.max(A,l-s)),p[i]=s+A;var C=this.getIndex(p),v=C.startIndex,I=C.endIndex;this.setState((Se(e={},i,s+A),Se(e,"brushMoveStartX",t.pageX),e),(function(){f&&function(){var t=h.length-1;return"startX"===i&&(o>a?v%d===0:I%d===0)||o<a&&I===t||"endX"===i&&(o>a?I%d===0:v%d===0)||o>a&&I===t}()&&f(C)}))}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,o=t.fill,a=t.stroke;return y.a.createElement("rect",{stroke:a,fill:o,x:e,y:n,width:r,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,o=t.data,a=t.children,s=t.padding,c=I.Children.only(a);return c?y.a.cloneElement(c,{x:e,y:n,width:r,height:i,margin:s,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(t,e){var n=this.props,r=n.y,i=n.travellerWidth,a=n.height,s=n.traveller,c=Math.max(t,this.props.x),l=Oe(Oe({},Object(nt.c)(this.props)),{},{x:c,y:r,width:i,height:a});return y.a.createElement(w.a,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],style:{cursor:"col-resize"}},o.renderTraveller(s,l))}},{key:"renderSlide",value:function(t,e){var n=this.props,r=n.y,i=n.height,o=n.stroke,a=n.travellerWidth,s=Math.min(t,e)+a,c=Math.max(Math.abs(e-t)-a,0);return y.a.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:s,y:r,width:c,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,n=t.endIndex,r=t.y,i=t.height,o=t.travellerWidth,a=t.stroke,s=this.state,c=s.startX,l=s.endX,u={pointerEvents:"none",fill:a};return y.a.createElement(w.a,{className:"recharts-brush-texts"},y.a.createElement(te.a,xe({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,l)-5,y:r+i/2},u),this.getTextOfTick(e)),y.a.createElement(te.a,xe({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,l)+o+5,y:r+i/2},u),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,e=t.data,n=t.className,r=t.children,i=t.x,o=t.y,a=t.width,s=t.height,c=t.alwaysShowText,l=this.state,u=l.startX,g=l.endX,f=l.isTextActive,d=l.isSlideMoving,h=l.isTravellerMoving;if(!e||!e.length||!Object(rt.g)(i)||!Object(rt.g)(o)||!Object(rt.g)(a)||!Object(rt.g)(s)||a<=0||s<=0)return null;var p=b()("recharts-brush",n),A=1===y.a.Children.count(r),C=function(t,e){if(!t)return null;var n=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),r=me.reduce((function(t,r){return Ie(Ie({},t),{},ye({},r+n,e))}),{});return r[t]=e,r}("userSelect","none");return y.a.createElement(w.a,{className:p,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:C},this.renderBackground(),A&&this.renderPanorama(),this.renderSlide(u,g),this.renderTravellerLayer(u,"startX"),this.renderTravellerLayer(g,"endX"),(f||d||h||c)&&this.renderText())}}])&&_e(e.prototype,n),r&&_e(e,r),o}(I.PureComponent);Re.displayName="Brush",Re.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1};var De=function(t,e){var n=t.alwaysShow,r=t.ifOverflow;return n&&(r="extendDomain"),r===e},Ne=n(555),Le=n.n(Ne);function Fe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Be(t,e,n){return e&&Fe(t.prototype,e),n&&Fe(t,n),t}function ze(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ve(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ze(Object(n),!0).forEach((function(e){Ge(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var We=function(t,e){var n=t.x,r=t.y,i=e.x,o=e.y;return{x:Math.min(n,i),y:Math.min(r,o),width:Math.abs(i-n),height:Math.abs(o-r)}},Ye=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=void 0,this.scale=e}return Be(t,null,[{key:"create",value:function(e){return new t(e)}}]),Be(t,[{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bandAware,r=e.position;if(void 0!==t){if(r)switch(r){case"start":return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o;default:return this.scale(t)}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),n=e[0],r=e[e.length-1];return n<=r?t>=n&&t<=r:t>=r&&t<=n}},{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}}]),t}();Ye.EPS=1e-4;var He=function(t){var e=Object.keys(t).reduce((function(e,n){return Ve(Ve({},e),{},Ge({},n,Ye.create(t[n])))}),{});return Ve(Ve({},e),{},{apply:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware;return Le()(t,(function(t,n){return e[n].apply(t,{bandAware:r})}))},isInRange:function(t){return i()(t,(function(t,n){return e[n].isInRange(t)}))}})},Ue=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i]};function Xe(){return(Xe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Ze(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ze(Object(n),!0).forEach((function(e){Ke(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qe(t){var e=t.x,n=t.y,r=t.r,i=t.alwaysShow,o=t.clipPathId,a=Object(rt.f)(e),s=Object(rt.f)(n);if(Ue(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!a||!s)return null;var c=function(t){var e=t.x,n=t.y,r=t.xAxis,i=t.yAxis,o=He({x:r.scale,y:i.scale}),a=o.apply({x:e,y:n},{bandAware:!0});return De(t,"discard")&&!o.isInRange(a)?null:a}(t);if(!c)return null;var l=c.x,u=c.y,g=t.shape,f=t.className,d=qe(qe({clipPath:De(t,"hidden")?"url(#".concat(o,")"):void 0},Object(nt.c)(t,!0)),{},{cx:l,cy:u});return y.a.createElement(w.a,{className:b()("recharts-reference-dot",f)},Qe.renderDot(g,d),ee.a.renderCallByParent(t,{x:l-r,y:u-r,width:2*r,height:2*r}))}Qe.displayName="ReferenceDot",Qe.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Qe.renderDot=function(t,e){return y.a.isValidElement(t)?y.a.cloneElement(t,e):c()(t)?t(e):y.a.createElement(qt,Xe({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var Je=n(554),$e=n.n(Je);function tn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function en(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tn(Object(n),!0).forEach((function(e){nn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return on(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return on(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function on(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function an(){return(an=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function sn(t){var e=t.x,n=t.y,r=t.segment,i=t.xAxis,o=t.yAxis,a=t.shape,s=t.className,l=t.alwaysShow,u=t.clipPathId;Ue(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var g=function(t,e,n,r,i){var o=i.viewBox,a=o.x,s=o.y,c=o.width,l=o.height,u=i.position;if(n){var g=i.y,f=i.yAxis.orientation,d=t.y.apply(g,{position:u});if(De(i,"discard")&&!t.y.isInRange(d))return null;var h=[{x:a+c,y:d},{x:a,y:d}];return"left"===f?h.reverse():h}if(e){var p=i.x,A=i.xAxis.orientation,C=t.x.apply(p,{position:u});if(De(i,"discard")&&!t.x.isInRange(C))return null;var v=[{x:C,y:s+l},{x:C,y:s}];return"top"===A?v.reverse():v}if(r){var I=i.segment.map((function(e){return t.apply(e,{position:u})}));return De(i,"discard")&&$e()(I,(function(e){return!t.isInRange(e)}))?null:I}return null}(He({x:i.scale,y:o.scale}),Object(rt.f)(e),Object(rt.f)(n),r&&2===r.length,t);if(!g)return null;var f=rn(g,2),d=f[0],h=d.x,p=d.y,A=f[1],C=A.x,v=A.y,I=en(en({clipPath:De(t,"hidden")?"url(#".concat(u,")"):void 0},Object(nt.c)(t,!0)),{},{x1:h,y1:p,x2:C,y2:v});return y.a.createElement(w.a,{className:b()("recharts-reference-line",s)},function(t,e){return y.a.isValidElement(t)?y.a.cloneElement(t,e):c()(t)?t(e):y.a.createElement("line",an({},e,{className:"recharts-reference-line-line"}))}(a,I),ee.a.renderCallByParent(t,function(t){var e=t.x1,n=t.y1,r=t.x2,i=t.y2;return We({x:e,y:n},{x:r,y:i})}({x1:h,y1:p,x2:C,y2:v})))}function cn(){return(cn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ln(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function un(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ln(Object(n),!0).forEach((function(e){gn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function gn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}sn.displayName="ReferenceLine",sn.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function fn(t){var e=t.x1,n=t.x2,r=t.y1,i=t.y2,o=t.className,a=t.alwaysShow,s=t.clipPathId;Ue(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=Object(rt.f)(e),l=Object(rt.f)(n),u=Object(rt.f)(r),g=Object(rt.f)(i),f=t.shape;if(!c&&!l&&!u&&!g&&!f)return null;var d=function(t,e,n,r,i){var o=i.x1,a=i.x2,s=i.y1,c=i.y2,l=i.xAxis,u=i.yAxis,g=He({x:l.scale,y:u.scale}),f={x:t?g.x.apply(o,{position:"start"}):g.x.rangeMin,y:n?g.y.apply(s,{position:"start"}):g.y.rangeMin},d={x:e?g.x.apply(a,{position:"end"}):g.x.rangeMax,y:r?g.y.apply(c,{position:"end"}):g.y.rangeMax};return!De(i,"discard")||g.isInRange(f)&&g.isInRange(d)?We(f,d):null}(c,l,u,g,t);if(!d&&!f)return null;var h=De(t,"hidden")?"url(#".concat(s,")"):void 0;return y.a.createElement(w.a,{className:b()("recharts-reference-area",o)},fn.renderRect(f,un(un({clipPath:h},Object(nt.c)(t,!0)),d)),ee.a.renderCallByParent(t,d))}fn.displayName="ReferenceArea",fn.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},fn.renderRect=function(t,e){return y.a.isValidElement(t)?y.a.cloneElement(t,e):c()(t)?t(e):y.a.createElement(Kt.a,cn({},e,{className:"recharts-reference-area-rect"}))};var dn=function(t,e,n,r,i){var o=Object(Qt.a)(t,sn.displayName),a=Object(Qt.a)(t,Qe.displayName),s=o.concat(a),c=Object(Qt.a)(t,fn.displayName),l="".concat(r,"Id"),u=r[0],g=e;if(s.length&&(g=s.reduce((function(t,e){if(e.props[l]===n&&De(e.props,"extendDomain")&&Object(rt.g)(e.props[u])){var r=e.props[u];return[Math.min(t[0],r),Math.max(t[1],r)]}return t}),g)),c.length){var f="".concat(u,"1"),d="".concat(u,"2");g=c.reduce((function(t,e){if(e.props[l]===n&&De(e.props,"extendDomain")&&Object(rt.g)(e.props[f])&&Object(rt.g)(e.props[d])){var r=e.props[f],i=e.props[d];return[Math.min(t[0],r,i),Math.max(t[1],r,i)]}return t}),g)}return i&&i.length&&(g=i.reduce((function(t,e){return Object(rt.g)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),g)),g},hn=n(558),pn=new(n.n(hn).a);pn.setMaxListeners&&pn.setMaxListeners(10);var An="recharts.syncMouseEvents";function Cn(t){return(Cn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vn(){return(vn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function In(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function yn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mn(t,e){return(mn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function bn(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=On(t);if(e){var i=On(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xn(this,n)}}function xn(t,e){return!e||"object"!==Cn(e)&&"function"!==typeof e?wn(t):e}function wn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function On(t){return(On=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Sn(t){return function(t){if(Array.isArray(t))return _n(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return _n(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function kn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function jn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?kn(Object(n),!0).forEach((function(e){En(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):kn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function En(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pn={xAxis:["bottom","top"],yAxis:["left","right"]},Mn={x:0,y:0},Tn=Number.isFinite?Number.isFinite:isFinite,Rn=function(t,e,n){var r=e.graphicalItems,i=e.dataStartIndex,o=e.dataEndIndex,a=(r||[]).reduce((function(t,e){var n=e.props.data;return n&&n.length?[].concat(Sn(t),Sn(n)):t}),[]);return a&&a.length>0?a:n&&n.props&&n.props.data&&n.props.data.length>0?n.props.data:t&&t.length&&Object(rt.g)(i)&&Object(rt.g)(o)?t.slice(i,o+1):[]},Dn=function(t,e,n,r){var i=t.graphicalItems,o=t.tooltipAxis,a=Rn(e,t);return n<0||!i||!i.length||n>=a.length?null:i.reduce((function(t,e){if(e.props.hide)return t;var i,s=e.props,c=s.dataKey,l=s.name,u=s.unit,g=s.formatter,f=s.data,d=s.tooltipType;if(o.dataKey&&!o.allowDuplicatedCategory){var h=void 0===f?a:f;i=Object(rt.a)(h,o.dataKey,r)}else i=f&&f[n]||a[n];return i?[].concat(Sn(t),[jn(jn({},Object(nt.c)(e)),{},{dataKey:c,unit:u,formatter:g,name:l||c,color:Object(Ce.p)(e),value:Object(Ce.u)(i,c),type:d,payload:i})]):t}),[])},Nn=function(t,e,n,r){var i=r||{x:t.chartX,y:t.chartY},o=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(i,n),a=t.orderedTooltipTicks,s=t.tooltipAxis,c=t.tooltipTicks,l=Object(Ce.b)(o,a,c,s);if(l>=0&&c){var u=c[l]&&c[l].value;return{activeTooltipIndex:l,activeLabel:u,activePayload:Dn(t,e,l,u),activeCoordinate:function(t,e,n,r){var i=e.find((function(t){return t&&t.index===n}));if(i){if("horizontal"===t)return{x:i.coordinate,y:r.y};if("vertical"===t)return{x:r.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=r.radius;return jn(jn(jn({},r),Object(jt.c)(r.cx,r.cy,a,o)),{},{angle:o,radius:a})}var s=i.coordinate,c=r.angle;return jn(jn(jn({},r),Object(jt.c)(r.cx,r.cy,s,c)),{},{angle:c,radius:s})}return Mn}(n,a,l,i)}}return null},Ln=function(t,e){var n=e.axisType,r=void 0===n?"xAxis":n,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,s=e.dataStartIndex,c=e.dataEndIndex,l=t.children,u="".concat(r,"Id"),g=Object(Qt.a)(l,i),f={};return g&&g.length?f=function(t,e){var n=e.axes,r=e.graphicalItems,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,c=e.dataEndIndex,l=t.layout,u=t.children,g=t.stackOffset,f=Object(Ce.v)(l,i);return n.reduce((function(e,n){var d=n.props,h=d.type,p=d.dataKey,C=d.allowDataOverflow,I=d.allowDuplicatedCategory,y=d.scale,m=d.ticks,b=n.props[o],x=Rn(t.data,{graphicalItems:r.filter((function(t){return t.props[o]===b})),dataStartIndex:s,dataEndIndex:c}),w=x.length;if(!e[b]){var O,S,_;if(p){if(O=Object(Ce.l)(x,p,h),"category"===h&&f){var k=Object(rt.d)(O);I&&k?(S=O,O=v()(0,w)):I||(O=Object(Ce.w)(n.props.domain,O,n).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(Sn(t),[e])}),[]))}else if("category"===h)O=I?O.filter((function(t){return""!==t&&!A()(t)})):Object(Ce.w)(n.props.domain,O,n).reduce((function(t,e){return t.indexOf(e)>=0||""===e||A()(e)?t:[].concat(Sn(t),[e])}),[]);else if("number"===h){var j=Object(Ce.x)(x,r.filter((function(t){return t.props[o]===b&&!t.props.hide})),p,i);j&&(O=j)}!f||"number"!==h&&"auto"===y||(_=Object(Ce.l)(x,p,"category"))}else O=f?v()(0,w):a&&a[b]&&a[b].hasStack&&"number"===h?"expand"===g?[0,1]:Object(Ce.n)(a[b].stackGroups,s,c):Object(Ce.m)(x,r.filter((function(t){return t.props[o]===b&&!t.props.hide})),h,!0);if("number"===h)O=dn(u,O,b,i,m),n.props.domain&&(O=Object(Ce.z)(n.props.domain,O,C));else if("category"===h&&n.props.domain){var E=n.props.domain;O.every((function(t){return E.indexOf(t)>=0}))&&(O=E)}return jn(jn({},e),{},En({},b,jn(jn({},n.props),{},{axisType:i,domain:O,categoricalDomain:_,duplicateDomain:S,originalDomain:n.props.domain,isCategorical:f,layout:l})))}return e}),{})}(t,{axes:g,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:c}):o&&o.length&&(f=function(t,e){var n=e.graphicalItems,r=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,c=e.dataEndIndex,l=t.layout,u=t.children,g=Rn(t.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:c}),f=g.length,d=Object(Ce.v)(l,i),p=-1;return n.reduce((function(t,e){var A,C=e.props[o];return t[C]?t:(p++,d?A=v()(0,f):a&&a[C]&&a[C].hasStack?(A=Object(Ce.n)(a[C].stackGroups,s,c),A=dn(u,A,C,i)):(A=Object(Ce.z)(r.defaultProps.domain,Object(Ce.m)(g,n.filter((function(t){return t.props[o]===C&&!t.props.hide})),"number"),r.defaultProps.allowDataOverflow),A=dn(u,A,C,i)),jn(jn({},t),{},En({},C,jn(jn({axisType:i},r.defaultProps),{},{hide:!0,orientation:h()(Pn,"".concat(i,".").concat(p%2),null),domain:A,originalDomain:r.defaultProps.domain,isCategorical:d,layout:l}))))}),{})}(t,{Axis:i,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:c})),f},Fn=function(t){var e=t.children,n=t.defaultShowTooltip,r=Object(Qt.b)(e,Re.displayName);return{chartX:0,chartY:0,dataStartIndex:r&&r.props&&r.props.startIndex||0,dataEndIndex:r&&r.props&&r.props.endIndex||t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!A()(n)&&n}},Bn=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},zn=n(566),Vn=n(560),Gn=n(561),Wn=function(t){var e,n,r=t.chartName,o=t.GraphicalChild,s=t.eventType,l=void 0===s?"axis":s,g=t.axisComponents,d=t.legendContent,p=t.formatAxisMap,C=t.defaultProps,v=function(t,e){var n=e.graphicalItems,r=e.stackGroups,i=e.offset,o=e.updateId,a=e.dataStartIndex,s=e.dataEndIndex,c=t.barSize,l=t.layout,u=t.barGap,f=t.barCategoryGap,d=t.maxBarSize,h=Bn(l),p=h.numericAxisName,C=h.cateAxisName,v=function(t){return!(!t||!t.length)&&t.some((function(t){var e=Object(Qt.c)(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(n)&&Object(Ce.h)({barSize:c,stackGroups:r}),I=[];return n.forEach((function(n,c){var h=Rn(t.data,{dataStartIndex:a,dataEndIndex:s},n),y=n.props,m=y.dataKey,b=y.maxBarSize,x=n.props["".concat(p,"Id")],w=n.props["".concat(C,"Id")],O=g.reduce((function(t,r){var i,o=e["".concat(r.axisType,"Map")],a=n.props["".concat(r.axisType,"Id")],s=o&&o[a];return jn(jn({},t),{},(En(i={},r.axisType,s),En(i,"".concat(r.axisType,"Ticks"),Object(Ce.s)(s)),i))}),{}),S=O[C],_=O["".concat(C,"Ticks")],k=r&&r[x]&&r[x].hasStack&&Object(Ce.r)(n,r[x].stackGroups),j=Object(Qt.c)(n.type).indexOf("Bar")>=0,E=Object(Ce.f)(S,_),P=[];if(j){var M=Object(Ce.f)(S,_,!0),T=A()(b)?d:b;P=Object(Ce.g)({barGap:u,barCategoryGap:f,bandSize:M!==E?M:E,sizeList:v[w],maxBarSize:T}),M!==E&&(P=P.map((function(t){return jn(jn({},t),{},{position:jn(jn({},t.position),{},{offset:t.position.offset-M/2})})})))}var R,D=n&&n.type&&n.type.getComposedData;D&&I.push({props:jn(jn({},D(jn(jn({},O),{},{displayedData:h,props:t,dataKey:m,item:n,bandSize:E,barPosition:P,offset:i,stackedData:k,layout:l,dataStartIndex:a,dataEndIndex:s}))),{},(R={key:n.key||"item-".concat(c)},En(R,p,O[p]),En(R,C,O[C]),En(R,"animationId",o),R)),childIndex:Object(Qt.f)(n,t.children),item:n})})),I},m=function(t,e){var n=t.props,i=t.dataStartIndex,a=t.dataEndIndex,s=t.updateId;if(!Object(Qt.h)({props:n}))return null;var c=n.children,l=n.layout,u=n.stackOffset,d=n.data,A=n.reverseStackOrder,C=Bn(l),I=C.numericAxisName,y=C.cateAxisName,m=Object(Qt.a)(c,o),b=Object(Ce.q)(d,m,"".concat(I,"Id"),"".concat(y,"Id"),u,A),x=g.reduce((function(t,e){var r="".concat(e.axisType,"Map");return jn(jn({},t),{},En({},r,Ln(n,jn(jn({},e),{},{graphicalItems:m,stackGroups:e.axisType===I&&b,dataStartIndex:i,dataEndIndex:a}))))}),{}),w=function(t,e){var n=t.props,r=t.graphicalItems,i=t.xAxisMap,o=void 0===i?{}:i,a=t.yAxisMap,s=void 0===a?{}:a,c=n.width,l=n.height,u=n.children,g=n.margin||{},f=Object(Qt.b)(u,Re.displayName),d=Object(Qt.b)(u,S.a.displayName),p=Object.keys(s).reduce((function(t,e){var n=s[e],r=n.orientation;return n.mirror||n.hide?t:jn(jn({},t),{},En({},r,t[r]+n.width))}),{left:g.left||0,right:g.right||0}),A=Object.keys(o).reduce((function(t,e){var n=o[e],r=n.orientation;return n.mirror||n.hide?t:jn(jn({},t),{},En({},r,h()(t,"".concat(r))+n.height))}),{top:g.top||0,bottom:g.bottom||0}),C=jn(jn({},A),p),v=C.bottom;return f&&(C.bottom+=f.props.height||Re.defaultProps.height),d&&e&&(C=Object(Ce.a)(C,r,n,e)),jn(jn({brushBottom:v},C),{},{width:c-C.left-C.right,height:l-C.top-C.bottom})}(jn(jn({},x),{},{props:n,graphicalItems:m}),null===e||void 0===e?void 0:e.legendBBox);Object.keys(x).forEach((function(t){x[t]=p(n,x[t],w,t.replace("Map",""),r)}));var O=function(t){var e=Object(rt.b)(t),n=Object(Ce.s)(e,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:f()(n,(function(t){return t.coordinate})),tooltipAxis:e,tooltipAxisBandSize:Object(Ce.f)(e)}}(x["".concat(y,"Map")]),_=v(n,jn(jn({},x),{},{dataStartIndex:i,dataEndIndex:a,updateId:s,graphicalItems:m,stackGroups:b,offset:w}));return jn(jn({formatedGraphicalItems:_,graphicalItems:m,offset:w,stackGroups:b},O),x)};return n=e=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mn(t,e)}(g,t);var e,n,o,s=bn(g);function g(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,g),(e=s.call(this,t)).uniqueChartId=void 0,e.clipPathId=void 0,e.legendInstance=void 0,e.container=void 0,e.handleLegendBBoxUpdate=function(t){if(t&&e.legendInstance){var n=e.state,r=n.dataStartIndex,i=n.dataEndIndex,o=n.updateId;e.setState(jn({legendBBox:t},m({props:e.props,dataStartIndex:r,dataEndIndex:i,updateId:o},jn(jn({},e.state),{},{legendBBox:t}))))}},e.handleReceiveSyncEvent=function(t,n,r){var i=e.props,o=i.syncId,a=i.layout,s=e.state.updateId;if(o===t&&n!==e.uniqueChartId){var c=r.dataStartIndex,l=r.dataEndIndex;if(A()(r.dataStartIndex)&&A()(r.dataEndIndex))if(A()(r.activeTooltipIndex))e.setState(r);else{var u=r.chartX,g=r.chartY,f=r.activeTooltipIndex,d=e.state,h=d.offset,p=d.tooltipTicks;if(!h)return;var C=jn(jn({},h),{},{x:h.left,y:h.top}),v=Math.min(u,C.x+C.width),I=Math.min(g,C.y+C.height),y=p[f]&&p[f].value,b=Dn(e.state,e.props.data,f),x=p[f]?{x:"horizontal"===a?p[f].coordinate:v,y:"horizontal"===a?I:p[f].coordinate}:Mn;e.setState(jn(jn({},r),{},{activeLabel:y,activeCoordinate:x,activePayload:b}))}else e.setState(jn({dataStartIndex:c,dataEndIndex:l},m({props:e.props,dataStartIndex:c,dataEndIndex:l,updateId:s},e.state)))}},e.handleBrushChange=function(t){var n=t.startIndex,r=t.endIndex;if(n!==e.state.dataStartIndex||r!==e.state.dataEndIndex){var i=e.state.updateId;e.setState((function(){return jn({dataStartIndex:n,dataEndIndex:r},m({props:e.props,dataStartIndex:n,dataEndIndex:r,updateId:i},e.state))})),e.triggerSyncEvent({dataStartIndex:n,dataEndIndex:r})}},e.handleMouseEnter=function(t){var n=e.props.onMouseEnter,r=e.getMouseInfo(t);if(r){var i=jn(jn({},r),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),c()(n)&&n(i,t)}},e.triggeredAfterMouseMove=function(t){var n=e.props.onMouseMove,r=e.getMouseInfo(t),i=r?jn(jn({},r),{},{isTooltipActive:!0}):{isTooltipActive:!1};e.setState(i),e.triggerSyncEvent(i),c()(n)&&n(i,t)},e.handleItemMouseEnter=function(t){e.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))},e.handleItemMouseLeave=function(){e.setState((function(){return{isTooltipActive:!1}}))},e.handleMouseMove=function(t){t&&c()(t.persist)&&t.persist(),e.triggeredAfterMouseMove(t)},e.handleMouseLeave=function(t){var n=e.props.onMouseLeave,r={isTooltipActive:!1};e.setState(r),e.triggerSyncEvent(r),c()(n)&&n(r,t),e.cancelThrottledTriggerAfterMouseMove()},e.handleOuterEvent=function(t){var n=Object(Qt.d)(t),r=h()(e.props,"".concat(n));n&&c()(r)&&r(/.*touch.*/i.test(n)?e.getMouseInfo(t.changedTouches[0]):e.getMouseInfo(t),t)},e.handleClick=function(t){var n=e.props.onClick,r=e.getMouseInfo(t);if(r){var i=jn(jn({},r),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),c()(n)&&n(i,t)}},e.handleMouseDown=function(t){var n=e.props.onMouseDown;c()(n)&&n(e.getMouseInfo(t),t)},e.handleMouseUp=function(t){var n=e.props.onMouseUp;c()(n)&&n(e.getMouseInfo(t),t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseMove(t.changedTouches[0])},e.handleTouchStart=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseDown(t.changedTouches[0])},e.handleTouchEnd=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseUp(t.changedTouches[0])},e.verticalCoordinatesGenerator=function(t){var e=t.xAxis,n=t.width,r=t.height,i=t.offset;return Object(Ce.k)(pe.getTicks(jn(jn(jn({},pe.defaultProps),e),{},{ticks:Object(Ce.s)(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.left,i.left+i.width)},e.horizontalCoordinatesGenerator=function(t){var e=t.yAxis,n=t.width,r=t.height,i=t.offset;return Object(Ce.k)(pe.getTicks(jn(jn(jn({},pe.defaultProps),e),{},{ticks:Object(Ce.s)(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.top,i.top+i.height)},e.axesTicksGenerator=function(t){return Object(Ce.s)(t,!0)},e.renderCursor=function(t){var n=e.state,i=n.isTooltipActive,o=n.activeCoordinate,a=n.activePayload,s=n.offset,c=n.activeTooltipIndex;if(!t||!t.props.cursor||!i||!o)return null;var l,u=e.props.layout,g=It;if("ScatterChart"===r)l=o,g=kt;else if("BarChart"===r)l=e.getCursorRectangle(),g=Kt.a;else if("radial"===u){var f=e.getCursorPoints(),d=f.cx,h=f.cy,p=f.radius;l={cx:d,cy:h,startAngle:f.startAngle,endAngle:f.endAngle,innerRadius:p,outerRadius:p},g=zt}else l={points:e.getCursorPoints()},g=It;var A=t.key||"_recharts-cursor",C=jn(jn(jn(jn({stroke:"#ccc",pointerEvents:"none"},s),l),Object(nt.c)(t.props.cursor)),{},{payload:a,payloadIndex:c,key:A,className:"recharts-tooltip-cursor"});return Object(I.isValidElement)(t.props.cursor)?Object(I.cloneElement)(t.props.cursor,C):Object(I.createElement)(g,C)},e.renderPolarAxis=function(t,n,r){var i=h()(t,"type.axisType"),o=h()(e.state,"".concat(i,"Map"))[t.props["".concat(i,"Id")]];return Object(I.cloneElement)(t,jn(jn({},o),{},{className:i,key:t.key||"".concat(n,"-").concat(r),ticks:Object(Ce.s)(o,!0)}))},e.renderXAxis=function(t,n,r){var i=e.state.xAxisMap[t.props.xAxisId];return e.renderAxis(i,t,n,r)},e.renderYAxis=function(t,n,r){var i=e.state.yAxisMap[t.props.yAxisId];return e.renderAxis(i,t,n,r)},e.renderGrid=function(t){var n=e.state,r=n.xAxisMap,o=n.yAxisMap,s=n.offset,c=e.props,l=c.width,u=c.height,g=Object(rt.b)(r),f=a()(o,(function(t){return i()(t.domain,Tn)}))||Object(rt.b)(o),d=t.props||{};return Object(I.cloneElement)(t,{key:t.key||"grid",x:Object(rt.g)(d.x)?d.x:s.left,y:Object(rt.g)(d.y)?d.y:s.top,width:Object(rt.g)(d.width)?d.width:s.width,height:Object(rt.g)(d.height)?d.height:s.height,xAxis:g,yAxis:f,offset:s,chartWidth:l,chartHeight:u,verticalCoordinatesGenerator:d.verticalCoordinatesGenerator||e.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:d.horizontalCoordinatesGenerator||e.horizontalCoordinatesGenerator})},e.renderPolarGrid=function(t){var n=t.props.radialLines,r=e.state,i=r.radiusAxisMap,o=r.angleAxisMap,a=Object(rt.b)(i),s=Object(rt.b)(o),c=s.cx,l=s.cy,u=s.innerRadius,g=s.outerRadius;return Object(I.cloneElement)(t,{polarAngles:Object(Ce.s)(s,!0).map((function(t){return t.coordinate})),polarRadius:Object(Ce.s)(a,!0).map((function(t){return t.coordinate})),cx:c,cy:l,innerRadius:u,outerRadius:g,key:t.key||"polar-grid",radialLines:n})},e.renderLegend=function(){var t=e.state.formatedGraphicalItems,n=e.props,r=n.children,i=n.width,o=n.height,a=e.props.margin||{},s=i-(a.left||0)-(a.right||0),c=Object(Ce.o)({children:r,formatedGraphicalItems:t,legendWidth:s,legendContent:d});if(!c)return null;var l=c.item,u=In(c,["item"]);return Object(I.cloneElement)(l,jn(jn({},u),{},{chartWidth:i,chartHeight:o,margin:a,ref:function(t){e.legendInstance=t},onBBoxUpdate:e.handleLegendBBoxUpdate}))},e.renderTooltip=function(){var t=e.props.children,n=Object(Qt.b)(t,O.a.displayName);if(!n)return null;var r=e.state,i=r.isTooltipActive,o=r.activeCoordinate,a=r.activePayload,s=r.activeLabel,c=r.offset;return Object(I.cloneElement)(n,{viewBox:jn(jn({},c),{},{x:c.left,y:c.top}),active:i,label:s,payload:i?a:[],coordinate:o})},e.renderBrush=function(t){var n=e.props,r=n.margin,i=n.data,o=e.state,a=o.offset,s=o.dataStartIndex,c=o.dataEndIndex,l=o.updateId;return Object(I.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:Object(Ce.d)(e.handleBrushChange,null,t.props.onChange),data:i,x:Object(rt.g)(t.props.x)?t.props.x:a.left,y:Object(rt.g)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:Object(rt.g)(t.props.width)?t.props.width:a.width,startIndex:s,endIndex:c,updateId:"brush-".concat(l)})},e.renderReferenceElement=function(t,n,r){if(!t)return null;var i=wn(e).clipPathId,o=e.state,a=o.xAxisMap,s=o.yAxisMap,c=o.offset,l=t.props,u=l.xAxisId,g=l.yAxisId;return Object(I.cloneElement)(t,{key:t.key||"".concat(n,"-").concat(r),xAxis:a[u],yAxis:s[g],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:i})},e.renderActivePoints=function(t){var e=t.item,n=t.activePoint,r=t.basePoint,i=t.childIndex,o=t.isRange,a=[],s=e.props.key,c=e.item.props,l=c.activeDot,u=jn(jn({index:i,dataKey:c.dataKey,cx:n.x,cy:n.y,r:4,fill:Object(Ce.p)(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(s,"-activePoint-").concat(i)},Object(nt.c)(l)),Object(nt.a)(l));return a.push(g.renderActiveDot(l,u)),r?a.push(g.renderActiveDot(l,jn(jn({},u),{},{cx:r.x,cy:r.y,key:"".concat(s,"-basePoint-").concat(i)}))):o&&a.push(null),a},e.renderGraphicChild=function(t,n,r){var i=e.filterFormatItem(t,n,r);if(!i)return null;var o=e.state,a=o.isTooltipActive,s=o.tooltipAxis,c=o.activeTooltipIndex,l=o.activeLabel,u=e.props.children,g=Object(Qt.b)(u,O.a.displayName),f=i.props,d=f.points,h=f.isRange,p=f.baseLine,C=i.item.props,v=C.activeDot,y=!C.hide&&a&&g&&v&&c>=0,m=g&&"click"===g.props.trigger?{onClick:Object(Ce.d)(e.handleItemMouseEnter,null,i.props.onCLick)}:{onMouseLeave:Object(Ce.d)(e.handleItemMouseLeave,null,i.props.onMouseLeave),onMouseEnter:Object(Ce.d)(e.handleItemMouseEnter,null,i.props.onMouseEnter)},b=Object(I.cloneElement)(t,jn(jn({},i.props),m));if(y){var x,w;if(s.dataKey&&!s.allowDuplicatedCategory){var S="function"===typeof s.dataKey?function(t){return"function"===typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());x=Object(rt.a)(d,S,l),w=h&&p&&Object(rt.a)(p,S,l)}else x=d[c],w=h&&p&&p[c];if(!A()(x))return[b].concat(Sn(e.renderActivePoints({item:i,activePoint:x,basePoint:w,childIndex:c,isRange:h})))}return h?[b,null,null]:[b,null]},e.renderCustomized=function(t){return Object(I.cloneElement)(t,jn(jn({},e.props),e.state))},e.uniqueChartId=A()(t.id)?Object(rt.j)("recharts"):t.id,e.clipPathId="".concat(e.uniqueChartId,"-clip"),t.throttleDelay&&(e.triggeredAfterMouseMove=u()(e.triggeredAfterMouseMove,t.throttleDelay)),e.state={},e}return e=g,(n=[{key:"componentDidMount",value:function(){A()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(t){A()(t.syncId)&&!A()(this.props.syncId)&&this.addListener(),!A()(this.props.syncId)&&A()(t.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){A()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"===typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=Object($t.b)(this.container),n=Object($t.a)(t,e),r=this.inRange(n.chartX,n.chartY);if(!r)return null;var i=this.state,o=i.xAxisMap,a=i.yAxisMap;if("axis"!==l&&o&&a){var s=Object(rt.b)(o).scale,c=Object(rt.b)(a).scale,u=s&&s.invert?s.invert(n.chartX):null,g=c&&c.invert?c.invert(n.chartY):null;return jn(jn({},n),{},{xValue:u,yValue:g})}var f=Nn(this.state,this.props.data,this.props.layout,r);return f?jn(jn({},n),f):null}},{key:"getCursorRectangle",value:function(){var t=this.props.layout,e=this.state,n=e.activeCoordinate,r=e.offset,i=e.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?n.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:n.y-o,width:"horizontal"===t?i:r.width-1,height:"horizontal"===t?r.height-1:i}}},{key:"getCursorPoints",value:function(){var t,e,n,r,i=this.props.layout,o=this.state,a=o.activeCoordinate,s=o.offset;if("horizontal"===i)n=t=a.x,e=s.top,r=s.top+s.height;else if("vertical"===i)r=e=a.y,t=s.left,n=s.left+s.width;else if(!A()(a.cx)||!A()(a.cy)){if("centric"!==i){var c=a.cx,l=a.cy,u=a.radius,g=a.startAngle,f=a.endAngle;return{points:[Object(jt.c)(c,l,u,g),Object(jt.c)(c,l,u,f)],cx:c,cy:l,radius:u,startAngle:g,endAngle:f}}var d=a.cx,h=a.cy,p=a.innerRadius,C=a.outerRadius,v=a.angle,I=Object(jt.c)(d,h,p,v),y=Object(jt.c)(d,h,C,v);t=I.x,e=I.y,n=y.x,r=y.y}return[{x:t,y:e},{x:n,y:r}]}},{key:"inRange",value:function(t,e){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return t>=r.left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height?{x:t,y:e}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var s=Object(rt.b)(o);return Object(jt.b)({x:t,y:e},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=Object(Qt.b)(t,O.a.displayName),n={};return e&&"axis"===l&&(n="click"===e.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),jn(jn({},Object(nt.a)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){pn.on(An,this.handleReceiveSyncEvent),pn.setMaxListeners&&pn._maxListeners&&pn.setMaxListeners(pn._maxListeners+1)}},{key:"removeListener",value:function(){pn.removeListener(An,this.handleReceiveSyncEvent),pn.setMaxListeners&&pn._maxListeners&&pn.setMaxListeners(pn._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;A()(e)||pn.emit(An,e,this.uniqueChartId,t)}},{key:"filterFormatItem",value:function(t,e,n){for(var r=this.state.formatedGraphicalItems,i=0,o=r.length;i<o;i++){var a=r[i];if(a.item===t||a.props.key===t.key||e===Object(Qt.c)(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,n,r){var i=this.props,o=i.width,a=i.height;return y.a.createElement(pe,vn({},t,{className:"recharts-".concat(t.axisType," ").concat(t.axisType),key:e.key||"".concat(n,"-").concat(r),viewBox:{x:0,y:0,width:o,height:a},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,n=e.left,r=e.top,i=e.height,o=e.width;return y.a.createElement("defs",null,y.a.createElement("clipPath",{id:t},y.a.createElement("rect",{x:n,y:r,height:i,width:o})))}},{key:"render",value:function(){var t=this;if(!Object(Qt.h)(this))return null;var e=this.props,n=e.children,r=e.className,i=e.width,o=e.height,a=e.style,s=e.compact,c=In(e,["children","className","width","height","style","compact"]),l=Object(nt.c)(c),u={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(s)return y.a.createElement(x.a,vn({},l,{width:i,height:o}),this.renderClipPath(),Object(Qt.g)(n,u));var g=this.parseEventsOfWrapper();return y.a.createElement("div",vn({className:b()("recharts-wrapper",r),style:jn({position:"relative",cursor:"default",width:i,height:o},a)},g,{ref:function(e){t.container=e}}),y.a.createElement(x.a,vn({},l,{width:i,height:o}),this.renderClipPath(),Object(Qt.g)(n,u)),this.renderLegend(),this.renderTooltip())}}])&&yn(e.prototype,n),o&&yn(e,o),g}(I.Component),e.displayName=r,e.defaultProps=jn({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1},C),e.getDerivedStateFromProps=function(t,e){var n=t.data,r=t.children,i=t.width,o=t.height,a=t.layout,s=t.stackOffset,c=t.margin;if(A()(e.updateId)){var l=Fn(t);return jn(jn(jn({},l),{},{updateId:0},m(jn(jn({props:t},l),{},{updateId:0}),e)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:s,prevMargin:c,prevChildren:r})}if(n!==e.prevData||i!==e.prevWidth||o!==e.prevHeight||a!==e.prevLayout||s!==e.prevStackOffset||!Object(Jt.a)(c,e.prevMargin)){var u=Fn(t),g={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},f=jn(jn({},Nn(e,n,a)),{},{updateId:e.updateId+1}),d=jn(jn(jn({},u),g),f);return jn(jn(jn({},d),m(jn({props:t},d),e)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:s,prevMargin:c,prevChildren:r})}if(!Object(Qt.e)(r,e.prevChildren)){var h=!A()(n)?e.updateId:e.updateId+1;return jn(jn({updateId:h},m(jn(jn({props:t},e),{},{updateId:h}),e)),{},{prevChildren:r})}return null},e.renderActiveDot=function(t,e){var n;return n=Object(I.isValidElement)(t)?Object(I.cloneElement)(t,e):c()(t)?t(e):y.a.createElement(qt,e),y.a.createElement(w.a,{className:"recharts-active-dot",key:e.key},n)},n}({chartName:"BarChart",GraphicalChild:zn.a,axisComponents:[{axisType:"xAxis",AxisComp:Vn.a},{axisType:"yAxis",AxisComp:Gn.a}],formatAxisMap:function(t,e,n,r,i){var o=t.width,a=t.height,s=t.layout,c=Object.keys(e),l={left:n.left,leftMirror:n.left,right:o-n.right,rightMirror:o-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom};return c.reduce((function(t,o){var a,c,u,g,f=e[o],d=f.orientation,h=f.domain,p=f.padding,A=void 0===p?{}:p,C=f.mirror,v=f.reversed,I="".concat(d).concat(C?"Mirror":"");a="xAxis"===r?[n.left+(A.left||0),n.left+n.width-(A.right||0)]:"yAxis"===r?"horizontal"===s?[n.top+n.height-(A.bottom||0),n.top+(A.top||0)]:[n.top+(A.top||0),n.top+n.height-(A.bottom||0)]:f.range,v&&(a=[a[1],a[0]]);var y=Object(Ce.y)(f,i),m=y.scale,b=y.realScaleType;m.domain(h).range(a),Object(Ce.c)(m);var x=Object(Ce.t)(m,Ve(Ve({},f),{},{realScaleType:b}));"xAxis"===r?(g="top"===d&&!C||"bottom"===d&&C,c=n.left,u=l[I]-g*f.height):"yAxis"===r&&(g="left"===d&&!C||"right"===d&&C,c=l[I]-g*f.width,u=n.top);var w=Ve(Ve(Ve({},f),x),{},{realScaleType:b,x:c,y:u,scale:m,width:"xAxis"===r?n.width:f.width,height:"yAxis"===r?n.height:f.height});return w.bandSize=Object(Ce.f)(w,x),f.hide||"xAxis"!==r?f.hide||(l[I]+=(g?-1:1)*w.width):l[I]+=(g?-1:1)*w.height,Ve(Ve({},t),{},Ge({},o,w))}),{})}})},function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(0),a=(n(6),n(3)),s=n(165),c=n(30),l=Object(c.a)(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),u=Object(c.a)(o.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),g=n(7);var f=Object(g.a)((function(t){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(t){var e=t.checked,n=t.classes,r=t.fontSize;return o.createElement("div",{className:Object(a.default)(n.root,e&&n.checked)},o.createElement(l,{fontSize:r}),o.createElement(u,{fontSize:r,className:n.layer}))})),d=n(11),h=n(9),p=n(65),A=n(254),C=o.createElement(f,{checked:!0}),v=o.createElement(f,null),I=o.forwardRef((function(t,e){var n=t.checked,c=t.classes,l=t.color,u=void 0===l?"secondary":l,g=t.name,f=t.onChange,d=t.size,I=void 0===d?"medium":d,y=Object(i.a)(t,["checked","classes","color","name","onChange","size"]),m=Object(A.a)(),b=n,x=Object(p.a)(f,m&&m.onChange),w=g;return m&&("undefined"===typeof b&&(b=m.value===t.value),"undefined"===typeof w&&(w=m.name)),o.createElement(s.a,Object(r.a)({color:u,type:"radio",icon:o.cloneElement(v,{fontSize:"small"===I?"small":"default"}),checkedIcon:o.cloneElement(C,{fontSize:"small"===I?"small":"default"}),classes:{root:Object(a.default)(c.root,c["color".concat(Object(h.a)(u))]),checked:c.checked,disabled:c.disabled},name:w,checked:b,onChange:x,ref:e},y))}));e.a=Object(g.a)((function(t){return{root:{color:t.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(d.d)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(d.d)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}}}}),{name:"MuiRadio"})(I)},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h}));var r=n(1023),i=n(1024),o=n(1025),a=n(1026),s=n(1027),c=n(1028);function l(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function u(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function g(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var f,d,h,p={"-":"",_:" ",0:"0"},A=/^\s*\d+/,C=/^%/,v=/[\\^$*+?|[\]().{}]/g;function I(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function y(t){return t.replace(v,"\\$&")}function m(t){return new RegExp("^(?:"+t.map(y).join("|")+")","i")}function b(t){return new Map(t.map((function(t,e){return[t.toLowerCase(),e]})))}function x(t,e,n){var r=A.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function w(t,e,n){var r=A.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function O(t,e,n){var r=A.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function S(t,e,n){var r=A.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function _(t,e,n){var r=A.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function k(t,e,n){var r=A.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function j(t,e,n){var r=A.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function E(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function P(t,e,n){var r=A.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function M(t,e,n){var r=A.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function T(t,e,n){var r=A.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function R(t,e,n){var r=A.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function D(t,e,n){var r=A.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function N(t,e,n){var r=A.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function L(t,e,n){var r=A.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function F(t,e,n){var r=A.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function B(t,e,n){var r=A.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function z(t,e,n){var r=C.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function V(t,e,n){var r=A.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function G(t,e,n){var r=A.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function W(t,e){return I(t.getDate(),e,2)}function Y(t,e){return I(t.getHours(),e,2)}function H(t,e){return I(t.getHours()%12||12,e,2)}function U(t,e){return I(1+a.a.count(Object(s.a)(t),t),e,3)}function X(t,e){return I(t.getMilliseconds(),e,3)}function Z(t,e){return X(t,e)+"000"}function q(t,e){return I(t.getMonth()+1,e,2)}function K(t,e){return I(t.getMinutes(),e,2)}function Q(t,e){return I(t.getSeconds(),e,2)}function J(t){var e=t.getDay();return 0===e?7:e}function $(t,e){return I(o.b.count(Object(s.a)(t)-1,t),e,2)}function tt(t){var e=t.getDay();return e>=4||0===e?Object(o.c)(t):o.c.ceil(t)}function et(t,e){return t=tt(t),I(o.c.count(Object(s.a)(t),t)+(4===Object(s.a)(t).getDay()),e,2)}function nt(t){return t.getDay()}function rt(t,e){return I(o.a.count(Object(s.a)(t)-1,t),e,2)}function it(t,e){return I(t.getFullYear()%100,e,2)}function ot(t,e){return I((t=tt(t)).getFullYear()%100,e,2)}function at(t,e){return I(t.getFullYear()%1e4,e,4)}function st(t,e){var n=t.getDay();return I((t=n>=4||0===n?Object(o.c)(t):o.c.ceil(t)).getFullYear()%1e4,e,4)}function ct(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+I(e/60|0,"0",2)+I(e%60,"0",2)}function lt(t,e){return I(t.getUTCDate(),e,2)}function ut(t,e){return I(t.getUTCHours(),e,2)}function gt(t,e){return I(t.getUTCHours()%12||12,e,2)}function ft(t,e){return I(1+i.a.count(Object(c.a)(t),t),e,3)}function dt(t,e){return I(t.getUTCMilliseconds(),e,3)}function ht(t,e){return dt(t,e)+"000"}function pt(t,e){return I(t.getUTCMonth()+1,e,2)}function At(t,e){return I(t.getUTCMinutes(),e,2)}function Ct(t,e){return I(t.getUTCSeconds(),e,2)}function vt(t){var e=t.getUTCDay();return 0===e?7:e}function It(t,e){return I(r.b.count(Object(c.a)(t)-1,t),e,2)}function yt(t){var e=t.getUTCDay();return e>=4||0===e?Object(r.c)(t):r.c.ceil(t)}function mt(t,e){return t=yt(t),I(r.c.count(Object(c.a)(t),t)+(4===Object(c.a)(t).getUTCDay()),e,2)}function bt(t){return t.getUTCDay()}function xt(t,e){return I(r.a.count(Object(c.a)(t)-1,t),e,2)}function wt(t,e){return I(t.getUTCFullYear()%100,e,2)}function Ot(t,e){return I((t=yt(t)).getUTCFullYear()%100,e,2)}function St(t,e){return I(t.getUTCFullYear()%1e4,e,4)}function _t(t,e){var n=t.getUTCDay();return I((t=n>=4||0===n?Object(r.c)(t):r.c.ceil(t)).getUTCFullYear()%1e4,e,4)}function kt(){return"+0000"}function jt(){return"%"}function Et(t){return+t}function Pt(t){return Math.floor(+t/1e3)}f=function(t){var e=t.dateTime,n=t.date,s=t.time,c=t.periods,f=t.days,d=t.shortDays,h=t.months,A=t.shortMonths,C=m(c),v=b(c),I=m(f),y=b(f),tt=m(d),yt=b(d),Mt=m(h),Tt=b(h),Rt=m(A),Dt=b(A),Nt={a:function(t){return d[t.getDay()]},A:function(t){return f[t.getDay()]},b:function(t){return A[t.getMonth()]},B:function(t){return h[t.getMonth()]},c:null,d:W,e:W,f:Z,g:ot,G:st,H:Y,I:H,j:U,L:X,m:q,M:K,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Et,s:Pt,S:Q,u:J,U:$,V:et,w:nt,W:rt,x:null,X:null,y:it,Y:at,Z:ct,"%":jt},Lt={a:function(t){return d[t.getUTCDay()]},A:function(t){return f[t.getUTCDay()]},b:function(t){return A[t.getUTCMonth()]},B:function(t){return h[t.getUTCMonth()]},c:null,d:lt,e:lt,f:ht,g:Ot,G:_t,H:ut,I:gt,j:ft,L:dt,m:pt,M:At,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Et,s:Pt,S:Ct,u:vt,U:It,V:mt,w:bt,W:xt,x:null,X:null,y:wt,Y:St,Z:kt,"%":jt},Ft={a:function(t,e,n){var r=tt.exec(e.slice(n));return r?(t.w=yt.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=I.exec(e.slice(n));return r?(t.w=y.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=Rt.exec(e.slice(n));return r?(t.m=Dt.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=Mt.exec(e.slice(n));return r?(t.m=Tt.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return Vt(t,e,n,r)},d:T,e:T,f:B,g:j,G:k,H:D,I:D,j:R,L:F,m:M,M:N,p:function(t,e,n){var r=C.exec(e.slice(n));return r?(t.p=v.get(r[0].toLowerCase()),n+r[0].length):-1},q:P,Q:V,s:G,S:L,u:w,U:O,V:S,w:x,W:_,x:function(t,e,r){return Vt(t,n,e,r)},X:function(t,e,n){return Vt(t,s,e,n)},y:j,Y:k,Z:E,"%":z};function Bt(t,e){return function(n){var r,i,o,a=[],s=-1,c=0,l=t.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===t.charCodeAt(s)&&(a.push(t.slice(c,s)),null!=(i=p[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(t.slice(c,s)),a.join("")}}function zt(t,e){return function(n){var s,c,f=g(1900,void 0,1);if(Vt(f,t,n+="",0)!=n.length)return null;if("Q"in f)return new Date(f.Q);if("s"in f)return new Date(1e3*f.s+("L"in f?f.L:0));if(e&&!("Z"in f)&&(f.Z=0),"p"in f&&(f.H=f.H%12+12*f.p),void 0===f.m&&(f.m="q"in f?f.q:0),"V"in f){if(f.V<1||f.V>53)return null;"w"in f||(f.w=1),"Z"in f?(c=(s=u(g(f.y,0,1))).getUTCDay(),s=c>4||0===c?r.a.ceil(s):Object(r.a)(s),s=i.a.offset(s,7*(f.V-1)),f.y=s.getUTCFullYear(),f.m=s.getUTCMonth(),f.d=s.getUTCDate()+(f.w+6)%7):(c=(s=l(g(f.y,0,1))).getDay(),s=c>4||0===c?o.a.ceil(s):Object(o.a)(s),s=a.a.offset(s,7*(f.V-1)),f.y=s.getFullYear(),f.m=s.getMonth(),f.d=s.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),c="Z"in f?u(g(f.y,0,1)).getUTCDay():l(g(f.y,0,1)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+7*f.W-(c+5)%7:f.w+7*f.U-(c+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,u(f)):l(f)}}function Vt(t,e,n,r){for(var i,o,a=0,s=e.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=Ft[i in p?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return Nt.x=Bt(n,Nt),Nt.X=Bt(s,Nt),Nt.c=Bt(e,Nt),Lt.x=Bt(n,Lt),Lt.X=Bt(s,Lt),Lt.c=Bt(e,Lt),{format:function(t){var e=Bt(t+="",Nt);return e.toString=function(){return t},e},parse:function(t){var e=zt(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=Bt(t+="",Lt);return e.toString=function(){return t},e},utcParse:function(t){var e=zt(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),d=f.format,f.parse,h=f.utcFormat,f.utcParse},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(39),i=n(264),o=n(118);var a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){if(t.length>2){if(!c[t])return[t];t=c[t]}var e=t.split(""),n=Object(r.a)(e,2),i=n[0],o=n[1],l=a[i],u=s[o]||"";return Array.isArray(u)?u.map((function(t){return l+t})):[l+u]})),u=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function g(t){var e=t.spacing||8;return"number"===typeof e?function(t){return e*t}:Array.isArray(e)?function(t){return e[t]}:"function"===typeof e?e:function(){}}function f(t,e){return function(n){return t.reduce((function(t,r){return t[r]=function(t,e){if("string"===typeof e||null==e)return e;var n=t(Math.abs(e));return e>=0?n:"number"===typeof n?-n:"-".concat(n)}(e,n),t}),{})}}function d(t){var e=g(t.theme);return Object.keys(t).map((function(n){if(-1===u.indexOf(n))return null;var r=f(l(n),e),o=t[n];return Object(i.a)(t,o,r)})).reduce(o.a,{})}d.propTypes={},d.filterProps=u;e.b=d},function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return O}));var r=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function o(){}var a=.7,s=1/a,c="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",g=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),d=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgba\\("+[c,c,c,l]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,l]+"\\)$"),A=new RegExp("^hsl\\("+[l,u,u]+"\\)$"),C=new RegExp("^hsla\\("+[l,u,u,l]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function I(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function m(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=g.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?b(e):3===n?new S(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?x(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?x(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new S(e[1],e[2],e[3],1):(e=d.exec(t))?new S(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=h.exec(t))?x(e[1],e[2],e[3],e[4]):(e=p.exec(t))?x(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=A.exec(t))?E(e[1],e[2]/100,e[3]/100,1):(e=C.exec(t))?E(e[1],e[2]/100,e[3]/100,e[4]):v.hasOwnProperty(t)?b(v[t]):"transparent"===t?new S(NaN,NaN,NaN,0):null}function b(t){return new S(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new S(t,e,n,r)}function w(t){return t instanceof o||(t=m(t)),t?new S((t=t.rgb()).r,t.g,t.b,t.opacity):new S}function O(t,e,n,r){return 1===arguments.length?w(t):new S(t,e,n,null==r?1:r)}function S(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function _(){return"#"+j(this.r)+j(this.g)+j(this.b)}function k(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function j(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function E(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new M(t,e,n,r)}function P(t){if(t instanceof M)return new M(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=m(t)),!t)return new M;if(t instanceof M)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,c=a-i,l=(a+i)/2;return c?(s=e===a?(n-r)/c+6*(n<r):n===a?(r-e)/c+2:(e-n)/c+4,c/=l<.5?a+i:2-a-i,s*=60):c=l>0&&l<1?0:s,new M(s,c,l,t.opacity)}function M(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function T(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}r(o,m,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:I,formatHex:I,formatHsl:function(){return P(this).formatHsl()},formatRgb:y,toString:y}),r(S,O,i(o,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_,formatHex:_,formatRgb:k,toString:k})),r(M,(function(t,e,n,r){return 1===arguments.length?P(t):new M(t,e,n,null==r?1:r)}),i(o,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new M(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new M(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new S(T(t>=240?t-240:t+120,i,r),T(t,i,r),T(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))}]]);
\ No newline at end of file