victory-brush-container
Advanced tools
Comparing version 35.11.3 to 35.11.4
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.VictoryBrushContainer=t(require("react")):e.VictoryBrushContainer=t(e.React)}(self,(function(e){return(()=>{var t={1124:(e,t,n)=>{var r=n(7236);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},4281:(e,t,n)=>{var r=n(7168),o=n(6582),i=n(3867),a=n(9557),u=n(2726);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},4690:(e,t,n)=>{var r=n(441).Symbol;e.exports=r},5198:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},6460:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},3848:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},4793:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},7596:(e,t,n)=>{var r=n(999),o=n(6530),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},3833:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},999:(e,t,n)=>{var r=n(9346);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},528:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},314:(e,t,n)=>{var r=n(3848),o=n(1754);e.exports=function e(t,n,i,a,u){var c=-1,l=t.length;for(i||(i=o),u||(u=[]);++c<l;){var s=t[c];n>0&&i(s)?n>1?e(s,n-1,i,a,u):r(u,s):a||(u[u.length]=s)}return u}},641:(e,t,n)=>{var r=n(2630)();e.exports=r},5897:(e,t,n)=>{var r=n(641),o=n(2635);e.exports=function(e,t){return e&&r(e,t,o)}},166:(e,t,n)=>{var r=n(8422),o=n(8780);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},4318:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7650:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},1071:(e,t,n)=>{var r=n(7229),o=n(3387);e.exports=function e(t,n,i,a,u){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,u))}},7229:(e,t,n)=>{var r=n(4281),o=n(2503),i=n(6001),a=n(8784),u=n(6686),c=n(7236),l=n(8752),s=n(4812),f="[object Arguments]",p="[object Array]",h="[object Object]",v=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,y,b,d){var m=c(e),x=c(t),g=m?p:u(e),w=x?p:u(t),O=(g=g==f?h:g)==h,j=(w=w==f?h:w)==h,M=g==w;if(M&&l(e)){if(!l(t))return!1;m=!0,O=!1}if(M&&!O)return d||(d=new r),m||s(e)?o(e,t,n,y,b,d):i(e,t,g,n,y,b,d);if(!(1&n)){var _=O&&v.call(e,"__wrapped__"),D=j&&v.call(t,"__wrapped__");if(_||D){var E=_?e.value():e,P=D?t.value():t;return d||(d=new r),b(E,P,n,y,d)}}return!!M&&(d||(d=new r),a(e,t,n,y,b,d))}},9157:(e,t,n)=>{var r=n(4281),o=n(1071);e.exports=function(e,t,n,i){var a=n.length,u=a,c=!i;if(null==e)return!u;for(e=Object(e);a--;){var l=n[a];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<u;){var s=(l=n[a])[0],f=e[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in e))return!1}else{var h=new r;if(i)var v=i(f,p,s,e,t,h);if(!(void 0===v?o(p,f,3,i,h):v))return!1}}return!0}},1131:(e,t,n)=>{var r=n(4318),o=n(3387);e.exports=function(e){return o(e)&&"[object RegExp]"==r(e)}},8904:(e,t,n)=>{var r=n(8418),o=n(4555),i=n(5362),a=n(7236),u=n(1651);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):u(e)}},8418:(e,t,n)=>{var r=n(9157),o=n(9182),i=n(7375);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4555:(e,t,n)=>{var r=n(1071),o=n(3795),i=n(3646),a=n(3266),u=n(1457),c=n(7375),l=n(8780);e.exports=function(e,t){return a(e)&&u(t)?c(l(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},7410:(e,t,n)=>{var r=n(6621),o=n(3646);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},6621:(e,t,n)=>{var r=n(166),o=n(8116),i=n(8422);e.exports=function(e,t,n){for(var a=-1,u=t.length,c={};++a<u;){var l=t[a],s=r(e,l);n(s,l)&&o(c,i(l,e),s)}return c}},1712:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4815:(e,t,n)=>{var r=n(166);e.exports=function(e){return function(t){return r(t,e)}}},4569:(e,t,n)=>{var r=n(5362),o=n(4468),i=n(8756);e.exports=function(e,t){return i(o(e,t,r),e+"")}},8116:(e,t,n)=>{var r=n(7596),o=n(8422),i=n(4363),a=n(5973),u=n(8780);e.exports=function(e,t,n,c){if(!a(e))return e;for(var l=-1,s=(t=o(t,e)).length,f=s-1,p=e;null!=p&&++l<s;){var h=u(t[l]),v=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=f){var y=p[h];void 0===(v=c?c(y,h,p):void 0)&&(v=a(y)?y:i(t[l+1])?[]:{})}r(p,h,v),p=p[h]}return e}},454:(e,t,n)=>{var r=n(4690),o=n(6460),i=n(7236),a=n(2945),u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},6535:e=>{e.exports=function(e){return function(t){return e(t)}}},555:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},8422:(e,t,n)=>{var r=n(7236),o=n(3266),i=n(3879),a=n(1119);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},6051:(e,t,n)=>{var r=n(7596),o=n(999);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],s=i?i(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),a?o(n,l,s):r(n,l,s)}return n}},2544:(e,t,n)=>{var r=n(4569),o=n(3108);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}},2630:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var c=a[e?u:++o];if(!1===n(i[c],c,i))break}return t}}},3086:(e,t,n)=>{var r=n(8904),o=n(1580),i=n(2635);e.exports=function(e){return function(t,n,a){var u=Object(t);if(!o(t)){var c=r(n,3);t=i(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,a);return l>-1?u[c?t[l]:l]:void 0}}},9346:(e,t,n)=>{var r=n(4457),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},2503:(e,t,n)=>{var r=n(1124),o=n(4793),i=n(555);e.exports=function(e,t,n,a,u,c){var l=1&n,s=e.length,f=t.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var v=-1,y=!0,b=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++v<s;){var d=e[v],m=t[v];if(a)var x=l?a(m,d,v,t,e,c):a(d,m,v,e,t,c);if(void 0!==x){if(x)continue;y=!1;break}if(b){if(!o(t,(function(e,t){if(!i(b,t)&&(d===e||u(d,e,n,a,c)))return b.push(t)}))){y=!1;break}}else if(d!==m&&!u(d,m,n,a,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},6001:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},8784:(e,t,n)=>{var r=n(6094),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,u){var c=1&n,l=r(e),s=l.length;if(s!=r(t).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in t:o.call(t,p)))return!1}var h=u.get(e),v=u.get(t);if(h&&v)return h==t&&v==e;var y=!0;u.set(e,t),u.set(t,e);for(var b=c;++f<s;){var d=e[p=l[f]],m=t[p];if(i)var x=c?i(m,d,p,t,e,u):i(d,m,p,e,t,u);if(!(void 0===x?d===m||a(d,m,n,i,u):x)){y=!1;break}b||(b="constructor"==p)}if(y&&!b){var g=e.constructor,w=t.constructor;g==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(e),u.delete(t),y}},3368:(e,t,n)=>{var r=n(5453),o=n(4468),i=n(8756);e.exports=function(e){return i(o(e,void 0,r),e+"")}},4414:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6094:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},9182:(e,t,n)=>{var r=n(1457),o=n(2635);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},4457:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},6686:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7383:(e,t,n)=>{var r=n(8422),o=n(6981),i=n(7236),a=n(4363),u=n(9216),c=n(8780);e.exports=function(e,t,n){for(var l=-1,s=(t=r(t,e)).length,f=!1;++l<s;){var p=c(t[l]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++l!=s?f:!!(s=null==e?0:e.length)&&u(s)&&a(p,s)&&(i(e)||o(e))}},1754:(e,t,n)=>{var r=n(4690),o=n(6981),i=n(7236),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},4363:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3108:e=>{e.exports=function(){return!1}},3266:(e,t,n)=>{var r=n(7236),o=n(2945),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},5003:e=>{e.exports=function(){return!1}},1457:(e,t,n)=>{var r=n(5973);e.exports=function(e){return e==e&&!r(e)}},7168:e=>{e.exports=function(){this.__data__=[],this.size=0}},6582:(e,t,n)=>{var r=n(3833),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},3867:(e,t,n)=>{var r=n(3833);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},9557:(e,t,n)=>{var r=n(3833);e.exports=function(e){return r(this.__data__,e)>-1}},2726:(e,t,n)=>{var r=n(3833);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},7375:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},7085:e=>{e.exports=function(e){return e}},1782:(e,t,n)=>{e=n.nmd(e);var r=n(4414),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=u},3717:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},4468:(e,t,n)=>{var r=n(5198),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),c=Array(u);++a<u;)c[a]=i[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=i[a];return l[t]=n(c),r(e,this,l)}}},441:(e,t,n)=>{var r=n(4414),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},8756:e=>{e.exports=function(e){return e}},3879:(e,t,n)=>{var r=n(7085),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},8780:e=>{e.exports=function(e){return e}},6782:(e,t,n)=>{var r=n(7596),o=n(6051),i=n(2544),a=n(1580),u=n(5003),c=n(2635),l=Object.prototype.hasOwnProperty,s=i((function(e,t){if(u(t)||a(t))o(t,c(t),e);else for(var n in t)l.call(t,n)&&r(e,n,t[n])}));e.exports=s},5750:(e,t,n)=>{var r=n(5973),o=n(8148),i=n(8746),a=Math.max,u=Math.min;e.exports=function(e,t,n){var c,l,s,f,p,h,v=0,y=!1,b=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=c,r=l;return c=l=void 0,v=t,f=e.apply(r,n)}function x(e){return v=e,p=setTimeout(w,t),y?m(e):f}function g(e){var n=e-h;return void 0===h||n>=t||n<0||b&&e-v>=s}function w(){var e=o();if(g(e))return O(e);p=setTimeout(w,function(e){var n=t-(e-h);return b?u(n,s-(e-v)):n}(e))}function O(e){return p=void 0,d&&c?m(e):(c=l=void 0,f)}function j(){var e=o(),n=g(e);if(c=arguments,l=this,h=e,n){if(void 0===p)return x(h);if(b)return clearTimeout(p),p=setTimeout(w,t),m(h)}return void 0===p&&(p=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(y=!!n.leading,s=(b="maxWait"in n)?a(i(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d),j.cancel=function(){void 0!==p&&clearTimeout(p),v=0,c=h=l=p=void 0},j.flush=function(){return void 0===p?f:O(o())},j}},7901:(e,t,n)=>{var r=n(4569),o=n(6530),i=n(3108),a=n(5850),u=Object.prototype,c=u.hasOwnProperty,l=r((function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&i(t[0],t[1],l)&&(r=1);++n<r;)for(var s=t[n],f=a(s),p=-1,h=f.length;++p<h;){var v=f[p],y=e[v];(void 0===y||o(y,u[v])&&!c.call(e,v))&&(e[v]=s[v])}return e}));e.exports=l},6530:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6786:(e,t,n)=>{var r=n(3086)(n(8611));e.exports=r},8611:(e,t,n)=>{var r=n(528),o=n(8904),i=n(5225),a=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:i(n);return c<0&&(c=a(u+c,0)),r(e,o(t,3),c)}},5453:(e,t,n)=>{var r=n(314);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},3795:(e,t,n)=>{var r=n(166);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},3646:(e,t,n)=>{var r=n(7),o=n(7383);e.exports=function(e,t){return null!=e&&o(e,t,r)}},5362:e=>{e.exports=function(e){return e}},6981:e=>{e.exports=function(){return!1}},7236:e=>{var t=Array.isArray;e.exports=t},1580:(e,t,n)=>{var r=n(3839),o=n(9216);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},8752:e=>{e.exports=function(){return!1}},3839:(e,t,n)=>{var r=n(4318),o=n(5973);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},9216:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5973:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3387:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},2654:(e,t,n)=>{var r=n(1131),o=n(6535),i=n(1782),a=i&&i.isRegExp,u=a?o(a):r;e.exports=u},2945:e=>{e.exports=function(){return!1}},4812:e=>{e.exports=function(){return!1}},2635:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5850:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},3792:(e,t,n)=>{var r=n(999),o=n(5897),i=n(8904);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},8148:(e,t,n)=>{var r=n(441);e.exports=function(){return r.Date.now()}},8423:(e,t,n)=>{var r=n(7410),o=n(3368)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},1651:(e,t,n)=>{var r=n(1712),o=n(4815),i=n(3266),a=n(8780);e.exports=function(e){return i(e)?r(a(e)):o(e)}},3259:(e,t,n)=>{var r=n(5750),o=n(5973);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},992:(e,t,n)=>{var r=n(8746);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},5225:(e,t,n)=>{var r=n(992);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},8746:e=>{e.exports=function(e){return e}},1119:(e,t,n)=>{var r=n(454);e.exports=function(e){return null==e?"":r(e)}},556:(e,t,n)=>{var r=n(1119),o=0;e.exports=function(e){var t=++o;return r(e)+t}},459:(e,t,n)=>{"use strict";var r=n(5704);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},216:(e,t,n)=>{e.exports=n(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var u,c,l,s=t(e),f=t(a);if(s&&f){if((c=e.length)!=a.length)return!1;for(u=c;0!=u--;)if(!i(e[u],a[u]))return!1;return!0}if(s!=f)return!1;var p=e instanceof Date,h=a instanceof Date;if(p!=h)return!1;if(p&&h)return e.getTime()==a.getTime();var v=e instanceof RegExp,y=a instanceof RegExp;if(v!=y)return!1;if(v&&y)return e.toString()==a.toString();var b=n(e);if((c=b.length)!==n(a).length)return!1;for(u=c;0!=u--;)if(!r.call(a,b[u]))return!1;if(o&&e instanceof Element&&a instanceof Element)return e===a;for(u=c;0!=u--;)if(!("_owner"===(l=b[u])&&e.$$typeof||i(e[l],a[l])))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},4698:t=>{"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e](i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};return(()=>{"use strict";r.r(o),r.d(o,{BrushHelpers:()=>Pe,VictoryBrushContainer:()=>Ie,brushContainerMixin:()=>Ce});var e=r(7901),t=r.n(e),n=r(6782),i=r.n(n),a=r(216),u=r.n(a),c=r(4698),l=r.n(c);function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function f(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return f(o)?new Date(Math.max.apply(Math,s(o))):Math.max.apply(Math,s(o))}function h(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return f(o)?new Date(Math.min.apply(Math,s(o))):Math.min.apply(Math,s(o))}function v(e,t,n){var r=t.a,o=t.d,i=t.e,a=t.f;return"y"===n?o*e+a:r*e+i}function y(e){if(!e.nativeEvent||void 0===e.nativeEvent.identifier){var t=function(e){return"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e};return t(e.target)}}function b(e,t){if(e.nativeEvent&&void 0!==e.nativeEvent.identifier)return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};e=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;var n=function(e){return e.getScreenCTM().inverse()}(t=t||y(e));return{x:v(e.clientX,n,"x"),y:v(e.clientY,n,"y")}}function d(e,t){var n=e.scale,r=e.horizontal;return t=t||{x:n.x.domain(),y:n.y.domain()},{x:r?[n.y(t.y[0]),n.y(t.y[1])]:[n.x(t.x[0]),n.x(t.x[1])],y:r?[n.x(t.x[0]),n.x(t.x[1])]:[n.y(t.y[0]),n.y(t.y[1])]}}function m(e,t,n,r){var o=e.polar,i=e.horizontal;if(o){var a=e.origin||{x:0,y:0},u=n-a.x,c=r-a.y,l=Math.abs(u*Math.sqrt(1+Math.pow(-c/u,2))),s=(-Math.atan2(c,u)+2*Math.PI)%(2*Math.PI);return{x:t.x.invert(s),y:t.y.invert(l)}}return{x:i?t.x.invert(r):t.x.invert(n),y:i?t.y.invert(n):t.y.invert(r)}}function x(e){var t=e.x1,n=e.x2,r=e.y1,o=e.y2,i=e.scale,a=m(e,i,t,r),u=m(e,i,n,o),c=function(e,t){return[h([e,t]),p([e,t])]};return{x:c(a.x,u.x),y:c(a.y,u.y)}}var g=r(3839),w=r.n(g),O=r(5973),j=r.n(O),M=r(556),_=r.n(M),D=r(2654),E=r.n(D),P=r(6786),A=r.n(P),S=function(e){var t=function(t,n,r,o){var i=n[r];if(null==i)return t?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,u=new Array(a>4?a-4:0),c=4;c<a;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,o].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},T=function(){return null},B=function(){},R=function(e){return void 0===e?B:null===e?T:e.constructor},k=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)},C=S((function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),I=S((function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),G=(S((function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),S((function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))})),S((function(e,t,n){var r;if(r=e[t],!(w()(r)?w()(r.copy)&&w()(r.domain)&&w()(r.range):"string"==typeof r&&-1!==["linear","time","log","sqrt"].indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),S((function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var o=R(r[0]),i=A()(r,(function(e){return o!==R(e)}));if(i){var a=k(r[0]),u=k(i);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}}})),S((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})),S((function(e,t,n){if(e[t]&&!E()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))})),r(2635)),z=r.n(G);function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var W=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?U(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(U(n)),n.portalRegister=n.portalRegister.bind(U(n)),n.portalDeregister=n.portalDeregister.bind(U(n)),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return z()(this.map).map((function(t){var n=e.map[t];return n?l().cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return l().createElement("svg",this.props,this.getChildren())}}])&&N(n.prototype,r),t}(l().Component);Object.defineProperty(W,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(W,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:u().string,height:C,style:u().object,viewBox:u().string,width:C}});var F=l().createContext({});F.displayName="PortalContext";const V=F;var H,q,X=0,Y=0,$=0,L=0,Z=0,J=0,K="object"==typeof performance&&performance.now?performance:Date,Q="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function ee(){return Z||(Q(te),Z=K.now()+J)}function te(){Z=0}function ne(){this._call=this._time=this._next=null}function re(e,t,n){var r=new ne;return r.restart(e,t,n),r}function oe(){Z=(L=K.now())+J,X=Y=0;try{!function(){ee(),++X;for(var e,t=H;t;)(e=Z-t._time)>=0&&t._call.call(null,e),t=t._next;--X}()}finally{X=0,function(){for(var e,t,n=H,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:H=t);q=e,ae(r)}(),Z=0}}function ie(){var e=K.now(),t=e-L;t>1e3&&(J-=t,L=e)}function ae(e){X||(Y&&(Y=clearTimeout(Y)),e-Z>24?(e<1/0&&(Y=setTimeout(oe,e-K.now()-J)),$&&($=clearInterval($))):($||(L=K.now(),$=setInterval(ie,1e3)),X=1,Q(oe)))}function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}ne.prototype=re.prototype={constructor:ne,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?ee():+n)+(null==t?0:+t),this._next||q===this||(q?q._next=this:H=this,q=this),this._call=e,this._time=n,ae()},stop:function(){this._call&&(this._call=null,this._time=1/0,ae())}};var ce=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var t,n;return t=e,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(ee()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=re(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(e,t){t=this.shouldAnimate?t:0;var n=this.subscribers.push({startTime:ee(),callback:e,duration:t});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&ue(t.prototype,n),e}(),le=l().createContext({transitionTimer:new ce,animationTimer:new ce});le.displayName="TimerContext";const se=le;function fe(){return(fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){he(e,t,n[t])}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}r(8423),r(1651);var ye=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))).containerId=j()(e)&&void 0!==e.containerId?e.containerId:_()("victory-container-"),t.savePortalRef=function(e){return t.portalRef=e,e},t.portalUpdate=function(e,n){return t.portalRef.portalUpdate(e,n)},t.portalRegister=function(){return t.portalRef.portalRegister()},t.portalDeregister=function(e){return t.portalRef.portalDeregister(e)},t.saveContainerRef=e&&w()(e.containerRef)?e.containerRef:function(e){return t.containerRef=e,e},t.shouldHandleWheel=e&&e.events&&e.events.onWheel,t.shouldHandleWheel&&(t.handleWheel=function(e){return e.preventDefault()}),t}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),r=n,(o=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"getOUIAProps",value:function(e){var t=e.ouiaId,n=e.ouiaSafe,r=e.ouiaType;return pe({},t&&{"data-ouia-component-id":t},r&&{"data-ouia-component-type":r},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,n,r){var o=e.title,a=e.desc,u=e.portalComponent,c=e.className,s=e.width,f=e.height,p=e.portalZIndex,h=e.responsive,v=this.getChildren(e),y=h?{width:"100%",height:"100%"}:{width:s,height:f},b=i()({pointerEvents:"none",touchAction:"none",position:"relative"},y),d=i()({zIndex:p,position:"absolute",top:0,left:0},y),m=i()({pointerEvents:"all"},y),x=i()({overflow:"visible"},y),g={width:s,height:f,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:x};return l().createElement(V.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},l().createElement("div",fe({style:t()({},r,b),className:c,ref:this.saveContainerRef},this.getOUIAProps(e)),l().createElement("svg",fe({},n,{style:m}),o?l().createElement("title",{id:this.getIdForElement("title")},o):null,a?l().createElement("desc",{id:this.getIdForElement("desc")},a):null,v),l().createElement("div",{style:d},l().cloneElement(u,pe({},g,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,o=e.events,a=e.title,u=e.desc,c=e.tabIndex,l=e.preserveAspectRatio,s=e.role,f=r?this.props.style:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props.style,["height","width"]),p=i()({width:t,height:n,tabIndex:c,role:s,"aria-labelledby":[a&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[u&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?l:void 0},o);return this.renderContainer(this.props,p,f)}}])&&ve(r.prototype,o),n}(l().Component);function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Object.defineProperty(ye,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(ye,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(ye,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":u().string,"aria-labelledby":u().string,children:u().oneOfType([u().arrayOf(u().node),u().node]),className:u().string,containerId:u().oneOfType([u().number,u().string]),containerRef:u().func,desc:u().string,events:u().object,height:C,name:u().string,origin:u().shape({x:C,y:C}),ouiaId:u().oneOfType([u().number,u().string]),ouiaSafe:u().bool,ouiaType:u().string,polar:u().bool,portalComponent:u().element,portalZIndex:I,preserveAspectRatio:u().string,responsive:u().bool,role:u().string,style:u().object,tabIndex:u().number,theme:u().object,title:u().string,width:C}}),Object.defineProperty(ye,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:l().createElement(W,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(ye,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:se});const de=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?l().createElement("rect",be({vectorEffect:"non-scaling-stroke"},n),l().createElement("desc",null,t)):l().createElement("rect",be({vectorEffect:"non-scaling-stroke"},n))};var me=r(3792),xe=r.n(me),ge=r(3259),we=r.n(ge),Oe=r(8266),je=r.n(Oe);function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_e(e,t,n[t])}))}return e}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function De(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ee={getDimension:function(e){var t=e.horizontal,n=e.brushDimension;return t&&n?"x"===n?"y":"x":n},withinBounds:function(e,t,n){var r=xe()(t,Number),o=r.x1,i=r.x2,a=r.y1,u=r.y2,c=xe()(e,Number),l=c.x,s=c.y;return l+(n=n?n/2:0)>=Math.min(o,i)&&l-n<=Math.max(o,i)&&s+n>=Math.min(a,u)&&s-n<=Math.max(a,u)},getDomainBox:function(e,n,r){var o=this.getDimension(e);n=t()({},n,e.domain),r=t()({},r,n);var i=d(e,n),a=d(e,r);return{x1:"y"!==o?Math.min.apply(Math,De(a.x)):Math.min.apply(Math,De(i.x)),x2:"y"!==o?Math.max.apply(Math,De(a.x)):Math.max.apply(Math,De(i.x)),y1:"x"!==o?Math.min.apply(Math,De(a.y)):Math.min.apply(Math,De(i.y)),y2:"x"!==o?Math.max.apply(Math,De(a.y)):Math.max.apply(Math,De(i.y))}},getHandles:function(e,t){var n=this.getDimension(e),r=t.x1,o=t.x2,i=t.y1,a=t.y2,u=Math.min(r,o),c=Math.max(r,o),l=Math.min(i,a),s=Math.max(i,a),f=e.handleWidth/2;return{left:"y"!==n&&{x1:u-f,x2:u+f,y1:i,y2:a},right:"y"!==n&&{x1:c-f,x2:c+f,y1:i,y2:a},top:"x"!==n&&{x1:r,x2:o,y1:l-f,y2:l+f},bottom:"x"!==n&&{x1:r,x2:o,y1:s-f,y2:s+f}}},getActiveHandles:function(e,t,n){var r=this,o=this.getHandles(t,n),i=["top","bottom","left","right"].reduce((function(t,n){return o[n]&&r.withinBounds(e,o[n])?t.concat(n):t}),[]);return i.length&&i},getResizeMutation:function(e,t){var n=e.x1,r=e.y1,o=e.x2,a=e.y2,u={left:{x1:Math.max(n,o),x2:Math.min(n,o),y1:r,y2:a},right:{x1:Math.min(n,o),x2:Math.max(n,o),y1:r,y2:a},top:{y1:Math.max(r,a),y2:Math.min(r,a),x1:n,x2:o},bottom:{y1:Math.min(r,a),y2:Math.max(r,a),x1:n,x2:o}};return t.reduce((function(e,t){return i()(e,u[t])}),{})},getMinimumDomain:function(){return{x:[0,1/Number.MAX_SAFE_INTEGER],y:[0,1/Number.MAX_SAFE_INTEGER]}},getDefaultBrushArea:function(e,t,n){var r=e.domain,o=e.fullDomain,i=e.scale,a=e.horizontal,u=e.allowResize||e.defaultBrushArea?e.defaultBrushArea:"move";if("none"===u)return this.getMinimumDomain();if("disable"===u)return t;if("move"===u){var c=this.getDomainBox(e,o,t),l=e.parentSVG||y(n),s=this.panBox(Me({},e,c,{brushDomain:t,startX:(c.x1+c.x2)/2,startY:(c.y1+c.y2)/2}),b(n,l)),f=e.fullDomainBox||this.getDomainBox(e,o);return x(Me({},this.constrainBox(s,f),{scale:i,horizontal:a}))}return r},getSelectionMutation:function(e,t,n){var r=e.x,o=e.y,i=t.x1,a=t.x2,u=t.y1,c=t.y2;return{x1:"y"!==n?r:i,y1:"x"!==n?o:u,x2:"y"!==n?r:a,y2:"x"!==n?o:c}},panBox:function(e,n){var r=e.domain,o=e.startX,i=e.startY,a=this.getDimension(e),u=t()({},e.brushDomain,r),c=t()({},e.fullDomain,r),l=e.x1?e:this.getDomainBox(e,c,u),s=l.x1,f=l.x2,p=l.y1,h=l.y2,v=n.x,y=n.y,b=o?o-v:0,d=i?i-y:0;return{x1:"y"!==a?Math.min(s,f)-b:Math.min(s,f),x2:"y"!==a?Math.max(s,f)-b:Math.max(s,f),y1:"x"!==a?Math.min(p,h)-d:Math.min(p,h),y2:"x"!==a?Math.max(p,h)-d:Math.max(p,h)}},constrainBox:function(e,t){var n=xe()(t,Number),r=n.x1,o=n.y1,i=n.x2,a=n.y2;return{x1:e.x2>i?i-Math.abs(e.x2-e.x1):Math.max(e.x1,r),y1:e.y2>a?a-Math.abs(e.y2-e.y1):Math.max(e.y1,o),x2:e.x1<r?r+Math.abs(e.x2-e.x1):Math.min(e.x2,i),y2:e.y1<o?o+Math.abs(e.y2-e.y1):Math.min(e.y2,a)}},constrainPoint:function(e,t){var n=xe()(t,Number),r=n.x1,o=n.y1,i=n.x2,a=n.y2;return{x:Math.min(Math.max(e.x,r),i),y:Math.min(Math.max(e.y,o),a)}},hasMoved:function(e){var t=e.x1,n=e.x2,r=e.y1,o=e.y2,i=e.mouseMoveThreshold,a=this.getDimension(e),u=Math.abs(t-n)>=i,c=Math.abs(r-o)>=i;switch(a){case"x":return u;case"y":return c;default:return u||c}},onMouseDown:function(e,n){var r=this;e.preventDefault();var o=n.handleWidth,i=n.cachedBrushDomain,a=n.domain,u=n.allowResize,c=n.allowDrag,l=n.allowDraw,s=this.getDimension(n),f=u||n.defaultBrushArea?n.defaultBrushArea:"move";if(!u&&!c)return{};var p=n.fullDomainBox||this.getDomainBox(n,a),h=n.parentSVG||y(e),v=b(e,h),d=v.x,m=v.y;if(!this.withinBounds({x:d,y:m},p,o))return{};var x=t()({},n.brushDomain,a),g=je()(x,i)?n.currentDomain||x||a:x||a,w=this.getDomainBox(n,a,g),O=u&&this.getActiveHandles({x:d,y:m},n,w);return O?[{target:"parent",mutation:function(){return Me({isSelecting:!0,domainBox:w,fullDomainBox:p,cachedBrushDomain:x,currentDomain:g,parentSVG:h},r.getResizeMutation(w,O))}}]:this.withinBounds({x:d,y:m},w)&&!je()(a,g)?[{target:"parent",mutation:function(){return Me({isPanning:c,startX:d,startY:m,domainBox:w,fullDomainBox:p,currentDomain:g,cachedBrushDomain:x,parentSVG:h},w)}}]:l?[{target:"parent",mutation:function(){return Me({isSelecting:u||"move"===f,domainBox:w,fullDomainBox:p,parentSVG:h,cachedBrushDomain:x,cachedCurrentDomain:g,currentDomain:r.getMinimumDomain()},r.getSelectionMutation({x:d,y:m},w,s))}}]:{}},onGlobalMouseMove:function(e,n){var r=n.scale,o=n.isPanning,i=n.isSelecting,a=n.fullDomainBox,u=n.onBrushDomainChange,c=n.allowResize,l=n.allowDrag,s=n.horizontal,f=n.mouseMoveThreshold,p=n.parentSVG,h=this.getDimension(n),v=b(e,p),y=v.x,d=v.y;if(!c&&!l||f>0&&!this.hasMoved(Me({},n,{x2:y,y2:d})))return{};if(l&&o){var m=n.startX,g=n.startY,O=this.panBox(n,{x:y,y:d}),j=this.constrainBox(O,a),M=x(Me({},j,{scale:r,horizontal:s})),_=Me({currentDomain:M,parentSVG:p,startX:O.x2>=a.x2||O.x1<=a.x1?m:y,startY:O.y2>=a.y2||O.y1<=a.y1?g:d},j);return w()(u)&&u(M,t()({},_,n)),[{target:"parent",mutation:function(){return _}}]}if(c&&i){var D=this.constrainPoint({x:"y"!==h?y:n.x2,y:"x"!==h?d:n.y2},a),E=D.x,P=D.y,A=x({x2:E,y2:P,x1:n.x1,y1:n.y1,scale:r,horizontal:s}),S={x2:E,y2:P,currentDomain:A,parentSVG:p};return w()(u)&&u(A,t()({},S,n)),[{target:"parent",mutation:function(){return S}}]}return{}},onGlobalMouseUp:function(e,n){if(!n.isPanning&&!n.isSelecting)return{};var r=n.x1,o=n.y1,i=n.x2,a=n.y2,u=n.isPanning,c=n.isSelecting,l=n.onBrushDomainChange,s=n.onBrushDomainChangeEnd,f=n.onBrushCleared,p=n.currentDomain,h=n.allowResize,v=n.allowDrag,y=h||n.defaultBrushArea?n.defaultBrushArea:"move",b={isPanning:!1,isSelecting:!1};if(!h&&(void 0===y||"none"===y)||r!==i&&o!==a)(v&&u||h&&c)&&w()(s)&&s(p,t()({},b,n));else{var d=n.cachedCurrentDomain||p,m=this.getDefaultBrushArea(n,d,e);b.currentDomain=m,w()(l)&&l(m,t()({},b,n)),w()(s)&&s(m,t()({},b,n)),w()(f)&&f(m,t()({},b,n))}return[{target:"parent",mutation:function(){return b}}]}};const Pe=Me({},Ee,{onMouseDown:Ee.onMouseDown.bind(Ee),onGlobalMouseUp:Ee.onGlobalMouseUp.bind(Ee),onGlobalMouseMove:we()(Ee.onGlobalMouseMove.bind(Ee),16,{leading:!0,trailing:!1})});function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Se(e,t,n[t])}))}return e}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Ce=function(e){var n,r;return r=n=function(e){function n(){return Be(this,n),ke(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),r=n,(o=[{key:"getSelectBox",value:function(e,n){var r=n.x,o=n.y,i=e.brushStyle,a=e.brushComponent,u=e.name,c=a.props&&a.props.style,s=e.allowDrag||e.allowResize?"move":"auto";return r[0]!==r[1]&&o[0]!==o[1]?l().cloneElement(a,{key:"".concat(u,"-brush"),width:Math.abs(r[1]-r[0])||1,height:Math.abs(o[1]-o[0])||1,x:Math.min(r[0],r[1]),y:Math.min(o[0],o[1]),cursor:s,style:t()({},c,i)}):null}},{key:"getCursorPointers",value:function(e){var t={yProps:"ns-resize",xProps:"ew-resize"};return!e.allowResize&&e.allowDrag?(t.xProps="move",t.yProps="move"):e.allowResize||e.allowDrag||(t.xProps="auto",t.yProps="auto"),t}},{key:"getHandles",value:function(e,n){var r=e.handleWidth,o=e.handleStyle,a=e.handleComponent,u=e.name,c=Pe.getDomainBox(e,n),s=c.x1,f=c.x2,p=c.y1,h=c.y2,v=Pe.getHandles(e,c),y=v.top,b=v.bottom,d=v.left,m=v.right,x=Math.abs(f-s)||1,g=Math.abs(h-p)||1,w=a.props&&a.props.style||{},O=t()({},w,o),j=this.getCursorPointers(e),M={style:O,width:x,height:r,cursor:j.yProps},_={style:O,width:r,height:g,cursor:j.xProps},D={top:y&&i()({x:y.x1,y:y.y1},M),bottom:b&&i()({x:b.x1,y:b.y1},M),left:d&&i()({y:d.y1,x:d.x1},_),right:m&&i()({y:m.y1,x:m.x1},_)},E=["top","bottom","left","right"].reduce((function(e,t){return D[t]?e.concat(l().cloneElement(a,i()({key:"".concat(u,"-handle-").concat(t)},D[t]))):e}),[]);return E.length?E:null}},{key:"getRect",value:function(e){var n=e.currentDomain,r=e.cachedBrushDomain,o=t()({},e.brushDomain,e.domain),i=je()(o,r)?t()({},n,o):o,a=d(e,i),u=this.getSelectBox(e,a);return u?[u,this.getHandles(e,i)]:[]}},{key:"getChildren",value:function(e){return Te(l().Children.toArray(e.children)).concat(Te(this.getRect(e)))}}])&&Re(r.prototype,o),n}(e),Object.defineProperty(n,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBrushContainer"}),Object.defineProperty(n,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:Ae({},ye.propTypes,{allowDrag:u().bool,allowDraw:u().bool,allowResize:u().bool,brushComponent:u().element,brushDimension:u().oneOf(["x","y"]),brushDomain:u().shape({x:u().array,y:u().array}),brushStyle:u().object,defaultBrushArea:u().oneOf(["all","disable","none","move"]),disable:u().bool,handleComponent:u().element,handleStyle:u().object,handleWidth:u().number,onBrushCleared:u().func,onBrushDomainChange:u().func,onBrushDomainChangeEnd:u().func})}),Object.defineProperty(n,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:Ae({},ye.defaultProps,{allowDrag:!0,allowDraw:!0,allowResize:!0,brushComponent:l().createElement(de,null),brushStyle:{stroke:"transparent",fill:"black",fillOpacity:.1},handleComponent:l().createElement(de,null),handleStyle:{stroke:"transparent",fill:"transparent"},handleWidth:8,mouseMoveThreshold:0})}),Object.defineProperty(n,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:Pe.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:Pe.onMouseDown(t,n)},onGlobalMouseMove:function(t,n){return e.disable||!n.isPanning&&!n.isSelecting?{}:Pe.onGlobalMouseMove(t,n)},onGlobalTouchMove:function(t,n){return e.disable||!n.isPanning&&!n.isSelecting?{}:Pe.onGlobalMouseMove(t,n)},onGlobalMouseUp:function(t,n){return e.disable?{}:Pe.onGlobalMouseUp(t,n)},onGlobalTouchEnd:function(t,n){return e.disable?{}:Pe.onGlobalMouseUp(t,n)},onGlobalTouchCancel:function(t,n){return e.disable?{}:Pe.onGlobalMouseUp(t,n)}}}]}}),r};const Ie=Ce(ye)})(),o})()})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.VictoryBrushContainer=t(require("react")):e.VictoryBrushContainer=t(e.React)}(self,(function(e){return(()=>{var t={1124:(e,t,n)=>{var r=n(7236);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},4281:(e,t,n)=>{var r=n(7168),o=n(6582),a=n(3867),i=n(9557),u=n(2726);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=u,e.exports=c},4690:(e,t,n)=>{var r=n(441).Symbol;e.exports=r},5198:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},3848:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},4793:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},7596:(e,t,n)=>{var r=n(999),o=n(6530),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];a.call(e,t)&&o(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},3833:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},999:(e,t,n)=>{var r=n(9346);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},528:e=>{e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},314:(e,t,n)=>{var r=n(3848),o=n(1754);e.exports=function e(t,n,a,i,u){var c=-1,l=t.length;for(a||(a=o),u||(u=[]);++c<l;){var s=t[c];n>0&&a(s)?n>1?e(s,n-1,a,i,u):r(u,s):i||(u[u.length]=s)}return u}},641:(e,t,n)=>{var r=n(2630)();e.exports=r},5897:(e,t,n)=>{var r=n(641),o=n(2635);e.exports=function(e,t){return e&&r(e,t,o)}},166:(e,t,n)=>{var r=n(8422),o=n(8780);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},4318:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7650:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},1071:(e,t,n)=>{var r=n(7229),o=n(3387);e.exports=function e(t,n,a,i,u){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,u))}},7229:(e,t,n)=>{var r=n(4281),o=n(2503),a=n(6001),i=n(8784),u=n(6686),c=n(7236),l=n(8752),s=n(4812),f="[object Arguments]",p="[object Array]",h="[object Object]",v=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,y,b,d){var m=c(e),x=c(t),g=m?p:u(e),w=x?p:u(t),O=(g=g==f?h:g)==h,j=(w=w==f?h:w)==h,M=g==w;if(M&&l(e)){if(!l(t))return!1;m=!0,O=!1}if(M&&!O)return d||(d=new r),m||s(e)?o(e,t,n,y,b,d):a(e,t,g,n,y,b,d);if(!(1&n)){var _=O&&v.call(e,"__wrapped__"),D=j&&v.call(t,"__wrapped__");if(_||D){var E=_?e.value():e,P=D?t.value():t;return d||(d=new r),b(E,P,n,y,d)}}return!!M&&(d||(d=new r),i(e,t,n,y,b,d))}},9157:(e,t,n)=>{var r=n(4281),o=n(1071);e.exports=function(e,t,n,a){var i=n.length,u=i,c=!a;if(null==e)return!u;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<u;){var s=(l=n[i])[0],f=e[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in e))return!1}else{var h=new r;if(a)var v=a(f,p,s,e,t,h);if(!(void 0===v?o(p,f,3,a,h):v))return!1}}return!0}},1131:(e,t,n)=>{var r=n(4318),o=n(3387);e.exports=function(e){return o(e)&&"[object RegExp]"==r(e)}},8904:(e,t,n)=>{var r=n(8418),o=n(4555),a=n(5362),i=n(7236),u=n(1651);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):u(e)}},8418:(e,t,n)=>{var r=n(9157),o=n(9182),a=n(7375);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4555:(e,t,n)=>{var r=n(1071),o=n(3795),a=n(3646),i=n(3266),u=n(1457),c=n(7375),l=n(8780);e.exports=function(e,t){return i(e)&&u(t)?c(l(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},7410:(e,t,n)=>{var r=n(6621),o=n(3646);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},6621:(e,t,n)=>{var r=n(166),o=n(8116),a=n(8422);e.exports=function(e,t,n){for(var i=-1,u=t.length,c={};++i<u;){var l=t[i],s=r(e,l);n(s,l)&&o(c,a(l,e),s)}return c}},1712:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4815:(e,t,n)=>{var r=n(166);e.exports=function(e){return function(t){return r(t,e)}}},4569:(e,t,n)=>{var r=n(5362),o=n(4468),a=n(8756);e.exports=function(e,t){return a(o(e,t,r),e+"")}},8116:(e,t,n)=>{var r=n(7596),o=n(8422),a=n(4363),i=n(5973),u=n(8780);e.exports=function(e,t,n,c){if(!i(e))return e;for(var l=-1,s=(t=o(t,e)).length,f=s-1,p=e;null!=p&&++l<s;){var h=u(t[l]),v=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=f){var y=p[h];void 0===(v=c?c(y,h,p):void 0)&&(v=i(y)?y:a(t[l+1])?[]:{})}r(p,h,v),p=p[h]}return e}},6535:e=>{e.exports=function(e){return function(t){return e(t)}}},555:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},8422:(e,t,n)=>{var r=n(7236),o=n(3266),a=n(3879),i=n(1119);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},6051:(e,t,n)=>{var r=n(7596),o=n(999);e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],s=a?a(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),i?o(n,l,s):r(n,l,s)}return n}},2544:(e,t,n)=>{var r=n(4569),o=n(3108);e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,u=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,u&&o(n[0],n[1],u)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t}))}},2630:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),u=i.length;u--;){var c=i[e?u:++o];if(!1===n(a[c],c,a))break}return t}}},3086:(e,t,n)=>{var r=n(8904),o=n(1580),a=n(2635);e.exports=function(e){return function(t,n,i){var u=Object(t);if(!o(t)){var c=r(n,3);t=a(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,i);return l>-1?u[c?t[l]:l]:void 0}}},9346:(e,t,n)=>{var r=n(4457),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},2503:(e,t,n)=>{var r=n(1124),o=n(4793),a=n(555);e.exports=function(e,t,n,i,u,c){var l=1&n,s=e.length,f=t.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var v=-1,y=!0,b=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++v<s;){var d=e[v],m=t[v];if(i)var x=l?i(m,d,v,t,e,c):i(d,m,v,e,t,c);if(void 0!==x){if(x)continue;y=!1;break}if(b){if(!o(t,(function(e,t){if(!a(b,t)&&(d===e||u(d,e,n,i,c)))return b.push(t)}))){y=!1;break}}else if(d!==m&&!u(d,m,n,i,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},6001:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},8784:(e,t,n)=>{var r=n(6094),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,u){var c=1&n,l=r(e),s=l.length;if(s!=r(t).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in t:o.call(t,p)))return!1}var h=u.get(e),v=u.get(t);if(h&&v)return h==t&&v==e;var y=!0;u.set(e,t),u.set(t,e);for(var b=c;++f<s;){var d=e[p=l[f]],m=t[p];if(a)var x=c?a(m,d,p,t,e,u):a(d,m,p,e,t,u);if(!(void 0===x?d===m||i(d,m,n,a,u):x)){y=!1;break}b||(b="constructor"==p)}if(y&&!b){var g=e.constructor,w=t.constructor;g==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(e),u.delete(t),y}},3368:(e,t,n)=>{var r=n(5453),o=n(4468),a=n(8756);e.exports=function(e){return a(o(e,void 0,r),e+"")}},4414:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6094:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},9182:(e,t,n)=>{var r=n(1457),o=n(2635);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},4457:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},6686:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7383:(e,t,n)=>{var r=n(8422),o=n(6981),a=n(7236),i=n(4363),u=n(9216),c=n(8780);e.exports=function(e,t,n){for(var l=-1,s=(t=r(t,e)).length,f=!1;++l<s;){var p=c(t[l]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++l!=s?f:!!(s=null==e?0:e.length)&&u(s)&&i(p,s)&&(a(e)||o(e))}},1754:(e,t,n)=>{var r=n(4690),o=n(6981),a=n(7236),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},4363:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3108:e=>{e.exports=function(){return!1}},3266:(e,t,n)=>{var r=n(7236),o=n(2945),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||i.test(e)||!a.test(e)||null!=t&&e in Object(t)}},5003:e=>{e.exports=function(){return!1}},1457:(e,t,n)=>{var r=n(5973);e.exports=function(e){return e==e&&!r(e)}},7168:e=>{e.exports=function(){this.__data__=[],this.size=0}},6582:(e,t,n)=>{var r=n(3833),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},3867:(e,t,n)=>{var r=n(3833);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},9557:(e,t,n)=>{var r=n(3833);e.exports=function(e){return r(this.__data__,e)>-1}},2726:(e,t,n)=>{var r=n(3833);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},7375:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},7085:e=>{e.exports=function(e){return e}},1782:(e,t,n)=>{e=n.nmd(e);var r=n(4414),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,u=function(){try{return a&&a.require&&a.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=u},3717:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},4468:(e,t,n)=>{var r=n(5198),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,u=o(a.length-t,0),c=Array(u);++i<u;)c[i]=a[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=a[i];return l[t]=n(c),r(e,this,l)}}},441:(e,t,n)=>{var r=n(4414),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},8756:e=>{e.exports=function(e){return e}},3879:(e,t,n)=>{var r=n(7085),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)})),t}));e.exports=i},8780:e=>{e.exports=function(e){return e}},6782:(e,t,n)=>{var r=n(7596),o=n(6051),a=n(2544),i=n(1580),u=n(5003),c=n(2635),l=Object.prototype.hasOwnProperty,s=a((function(e,t){if(u(t)||i(t))o(t,c(t),e);else for(var n in t)l.call(t,n)&&r(e,n,t[n])}));e.exports=s},5750:(e,t,n)=>{var r=n(5973),o=n(8148),a=n(8746),i=Math.max,u=Math.min;e.exports=function(e,t,n){var c,l,s,f,p,h,v=0,y=!1,b=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=c,r=l;return c=l=void 0,v=t,f=e.apply(r,n)}function x(e){return v=e,p=setTimeout(w,t),y?m(e):f}function g(e){var n=e-h;return void 0===h||n>=t||n<0||b&&e-v>=s}function w(){var e=o();if(g(e))return O(e);p=setTimeout(w,function(e){var n=t-(e-h);return b?u(n,s-(e-v)):n}(e))}function O(e){return p=void 0,d&&c?m(e):(c=l=void 0,f)}function j(){var e=o(),n=g(e);if(c=arguments,l=this,h=e,n){if(void 0===p)return x(h);if(b)return clearTimeout(p),p=setTimeout(w,t),m(h)}return void 0===p&&(p=setTimeout(w,t)),f}return t=a(t)||0,r(n)&&(y=!!n.leading,s=(b="maxWait"in n)?i(a(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d),j.cancel=function(){void 0!==p&&clearTimeout(p),v=0,c=h=l=p=void 0},j.flush=function(){return void 0===p?f:O(o())},j}},7901:(e,t,n)=>{var r=n(4569),o=n(6530),a=n(3108),i=n(5850),u=Object.prototype,c=u.hasOwnProperty,l=r((function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&a(t[0],t[1],l)&&(r=1);++n<r;)for(var s=t[n],f=i(s),p=-1,h=f.length;++p<h;){var v=f[p],y=e[v];(void 0===y||o(y,u[v])&&!c.call(e,v))&&(e[v]=s[v])}return e}));e.exports=l},6530:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6786:(e,t,n)=>{var r=n(3086)(n(8611));e.exports=r},8611:(e,t,n)=>{var r=n(528),o=n(8904),a=n(5225),i=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:a(n);return c<0&&(c=i(u+c,0)),r(e,o(t,3),c)}},5453:(e,t,n)=>{var r=n(314);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},3795:(e,t,n)=>{var r=n(166);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},3646:(e,t,n)=>{var r=n(7),o=n(7383);e.exports=function(e,t){return null!=e&&o(e,t,r)}},5362:e=>{e.exports=function(e){return e}},6981:e=>{e.exports=function(){return!1}},7236:e=>{var t=Array.isArray;e.exports=t},1580:(e,t,n)=>{var r=n(3839),o=n(9216);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},8752:e=>{e.exports=function(){return!1}},3839:(e,t,n)=>{var r=n(4318),o=n(5973);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},9216:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5973:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3387:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},2654:(e,t,n)=>{var r=n(1131),o=n(6535),a=n(1782),i=a&&a.isRegExp,u=i?o(i):r;e.exports=u},2945:e=>{e.exports=function(){return!1}},4812:e=>{e.exports=function(){return!1}},2635:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5850:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},3792:(e,t,n)=>{var r=n(999),o=n(5897),a=n(8904);e.exports=function(e,t){var n={};return t=a(t,3),o(e,(function(e,o,a){r(n,o,t(e,o,a))})),n}},8148:(e,t,n)=>{var r=n(441);e.exports=function(){return r.Date.now()}},8423:(e,t,n)=>{var r=n(7410),o=n(3368)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},1651:(e,t,n)=>{var r=n(1712),o=n(4815),a=n(3266),i=n(8780);e.exports=function(e){return a(e)?r(i(e)):o(e)}},3259:(e,t,n)=>{var r=n(5750),o=n(5973);e.exports=function(e,t,n){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,i="trailing"in n?!!n.trailing:i),r(e,t,{leading:a,maxWait:t,trailing:i})}},992:(e,t,n)=>{var r=n(8746);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},5225:(e,t,n)=>{var r=n(992);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},8746:e=>{e.exports=function(e){return e}},1119:e=>{e.exports=function(e){return e}},556:(e,t,n)=>{var r=n(1119),o=0;e.exports=function(e){var t=++o;return r(e)+t}},459:(e,t,n)=>{"use strict";var r=n(5704);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},216:(e,t,n)=>{e.exports=n(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){var u,c,l,s=t(e),f=t(i);if(s&&f){if((c=e.length)!=i.length)return!1;for(u=c;0!=u--;)if(!a(e[u],i[u]))return!1;return!0}if(s!=f)return!1;var p=e instanceof Date,h=i instanceof Date;if(p!=h)return!1;if(p&&h)return e.getTime()==i.getTime();var v=e instanceof RegExp,y=i instanceof RegExp;if(v!=y)return!1;if(v&&y)return e.toString()==i.toString();var b=n(e);if((c=b.length)!==n(i).length)return!1;for(u=c;0!=u--;)if(!r.call(i,b[u]))return!1;if(o&&e instanceof Element&&i instanceof Element)return e===i;for(u=c;0!=u--;)if(!("_owner"===(l=b[u])&&e.$$typeof||a(e[l],i[l])))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},4698:t=>{"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e](a,a.exports,r),a.loaded=!0,a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};return(()=>{"use strict";r.r(o),r.d(o,{BrushHelpers:()=>Pe,VictoryBrushContainer:()=>Ie,brushContainerMixin:()=>Ce});var e=r(7901),t=r.n(e),n=r(6782),a=r.n(n),i=r(216),u=r.n(i),c=r(4698),l=r.n(c);function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function f(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return f(o)?new Date(Math.max.apply(Math,s(o))):Math.max.apply(Math,s(o))}function h(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return f(o)?new Date(Math.min.apply(Math,s(o))):Math.min.apply(Math,s(o))}function v(e,t,n){var r=t.a,o=t.d,a=t.e,i=t.f;return"y"===n?o*e+i:r*e+a}function y(e){if(!e.nativeEvent||void 0===e.nativeEvent.identifier){var t=function(e){return"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e};return t(e.target)}}function b(e,t){if(e.nativeEvent&&void 0!==e.nativeEvent.identifier)return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};e=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;var n=function(e){return e.getScreenCTM().inverse()}(t=t||y(e));return{x:v(e.clientX,n,"x"),y:v(e.clientY,n,"y")}}function d(e,t){var n=e.scale,r=e.horizontal;return t=t||{x:n.x.domain(),y:n.y.domain()},{x:r?[n.y(t.y[0]),n.y(t.y[1])]:[n.x(t.x[0]),n.x(t.x[1])],y:r?[n.x(t.x[0]),n.x(t.x[1])]:[n.y(t.y[0]),n.y(t.y[1])]}}function m(e,t,n,r){var o=e.polar,a=e.horizontal;if(o){var i=e.origin||{x:0,y:0},u=n-i.x,c=r-i.y,l=Math.abs(u*Math.sqrt(1+Math.pow(-c/u,2))),s=(-Math.atan2(c,u)+2*Math.PI)%(2*Math.PI);return{x:t.x.invert(s),y:t.y.invert(l)}}return{x:a?t.x.invert(r):t.x.invert(n),y:a?t.y.invert(n):t.y.invert(r)}}function x(e){var t=e.x1,n=e.x2,r=e.y1,o=e.y2,a=e.scale,i=m(e,a,t,r),u=m(e,a,n,o),c=function(e,t){return[h([e,t]),p([e,t])]};return{x:c(i.x,u.x),y:c(i.y,u.y)}}var g=r(3839),w=r.n(g),O=r(5973),j=r.n(O),M=r(556),_=r.n(M),D=r(2654),E=r.n(D),P=r(6786),A=r.n(P),S=function(e){var t=function(t,n,r,o){var a=n[r];if(null==a)return t?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var i=arguments.length,u=new Array(i>4?i-4:0),c=4;c<i;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,o].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},T=function(){return null},B=function(){},R=function(e){return void 0===e?B:null===e?T:e.constructor},k=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)},C=S((function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),I=S((function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),G=(S((function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),S((function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))})),S((function(e,t,n){var r;if(r=e[t],!(w()(r)?w()(r.copy)&&w()(r.domain)&&w()(r.range):"string"==typeof r&&-1!==["linear","time","log","sqrt"].indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),S((function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var o=R(r[0]),a=A()(r,(function(e){return o!==R(e)}));if(a){var i=k(r[0]),u=k(a);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(i,"` and ")+"`".concat(u,"`."))}}})),S((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})),S((function(e,t,n){if(e[t]&&!E()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))})),r(2635)),z=r.n(G);function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var W=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?U(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(U(n)),n.portalRegister=n.portalRegister.bind(U(n)),n.portalDeregister=n.portalDeregister.bind(U(n)),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return z()(this.map).map((function(t){var n=e.map[t];return n?l().cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return l().createElement("svg",this.props,this.getChildren())}}])&&N(n.prototype,r),t}(l().Component);Object.defineProperty(W,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(W,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:u().string,height:C,style:u().object,viewBox:u().string,width:C}});var F=l().createContext({});F.displayName="PortalContext";const V=F;var H,q,X=0,Y=0,$=0,L=0,Z=0,J=0,K="object"==typeof performance&&performance.now?performance:Date,Q="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function ee(){return Z||(Q(te),Z=K.now()+J)}function te(){Z=0}function ne(){this._call=this._time=this._next=null}function re(e,t,n){var r=new ne;return r.restart(e,t,n),r}function oe(){Z=(L=K.now())+J,X=Y=0;try{!function(){ee(),++X;for(var e,t=H;t;)(e=Z-t._time)>=0&&t._call.call(null,e),t=t._next;--X}()}finally{X=0,function(){for(var e,t,n=H,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:H=t);q=e,ie(r)}(),Z=0}}function ae(){var e=K.now(),t=e-L;t>1e3&&(J-=t,L=e)}function ie(e){X||(Y&&(Y=clearTimeout(Y)),e-Z>24?(e<1/0&&(Y=setTimeout(oe,e-K.now()-J)),$&&($=clearInterval($))):($||(L=K.now(),$=setInterval(ae,1e3)),X=1,Q(oe)))}function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}ne.prototype=re.prototype={constructor:ne,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?ee():+n)+(null==t?0:+t),this._next||q===this||(q?q._next=this:H=this,q=this),this._call=e,this._time=n,ie()},stop:function(){this._call&&(this._call=null,this._time=1/0,ie())}};var ce=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var t,n;return t=e,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(ee()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=re(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(e,t){t=this.shouldAnimate?t:0;var n=this.subscribers.push({startTime:ee(),callback:e,duration:t});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&ue(t.prototype,n),e}(),le=l().createContext({transitionTimer:new ce,animationTimer:new ce});le.displayName="TimerContext";const se=le;function fe(){return(fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){he(e,t,n[t])}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}r(8423),r(1651);var ye=function(e){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))).containerId=j()(e)&&void 0!==e.containerId?e.containerId:_()("victory-container-"),t.savePortalRef=function(e){return t.portalRef=e,e},t.portalUpdate=function(e,n){return t.portalRef.portalUpdate(e,n)},t.portalRegister=function(){return t.portalRef.portalRegister()},t.portalDeregister=function(e){return t.portalRef.portalDeregister(e)},t.saveContainerRef=e&&w()(e.containerRef)?e.containerRef:function(e){return t.containerRef=e,e},t.shouldHandleWheel=e&&e.events&&e.events.onWheel,t.shouldHandleWheel&&(t.handleWheel=function(e){return e.preventDefault()}),t}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),r=n,(o=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"getOUIAProps",value:function(e){var t=e.ouiaId,n=e.ouiaSafe,r=e.ouiaType;return pe({},t&&{"data-ouia-component-id":t},r&&{"data-ouia-component-type":r},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,n,r){var o=e.title,i=e.desc,u=e.portalComponent,c=e.className,s=e.width,f=e.height,p=e.portalZIndex,h=e.responsive,v=this.getChildren(e),y=h?{width:"100%",height:"100%"}:{width:s,height:f},b=a()({pointerEvents:"none",touchAction:"none",position:"relative"},y),d=a()({zIndex:p,position:"absolute",top:0,left:0},y),m=a()({pointerEvents:"all"},y),x=a()({overflow:"visible"},y),g={width:s,height:f,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:x};return l().createElement(V.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},l().createElement("div",fe({style:t()({},r,b),className:c,ref:this.saveContainerRef},this.getOUIAProps(e)),l().createElement("svg",fe({},n,{style:m}),o?l().createElement("title",{id:this.getIdForElement("title")},o):null,i?l().createElement("desc",{id:this.getIdForElement("desc")},i):null,v),l().createElement("div",{style:d},l().cloneElement(u,pe({},g,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,o=e.events,i=e.title,u=e.desc,c=e.tabIndex,l=e.preserveAspectRatio,s=e.role,f=r?this.props.style:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props.style,["height","width"]),p=a()({width:t,height:n,tabIndex:c,role:s,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[u&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?l:void 0},o);return this.renderContainer(this.props,p,f)}}])&&ve(r.prototype,o),n}(l().Component);function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Object.defineProperty(ye,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(ye,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(ye,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":u().string,"aria-labelledby":u().string,children:u().oneOfType([u().arrayOf(u().node),u().node]),className:u().string,containerId:u().oneOfType([u().number,u().string]),containerRef:u().func,desc:u().string,events:u().object,height:C,name:u().string,origin:u().shape({x:C,y:C}),ouiaId:u().oneOfType([u().number,u().string]),ouiaSafe:u().bool,ouiaType:u().string,polar:u().bool,portalComponent:u().element,portalZIndex:I,preserveAspectRatio:u().string,responsive:u().bool,role:u().string,style:u().object,tabIndex:u().number,theme:u().object,title:u().string,width:C}}),Object.defineProperty(ye,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:l().createElement(W,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(ye,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:se});const de=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?l().createElement("rect",be({vectorEffect:"non-scaling-stroke"},n),l().createElement("desc",null,t)):l().createElement("rect",be({vectorEffect:"non-scaling-stroke"},n))};var me=r(3792),xe=r.n(me),ge=r(3259),we=r.n(ge),Oe=r(8266),je=r.n(Oe);function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_e(e,t,n[t])}))}return e}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function De(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ee={getDimension:function(e){var t=e.horizontal,n=e.brushDimension;return t&&n?"x"===n?"y":"x":n},withinBounds:function(e,t,n){var r=xe()(t,Number),o=r.x1,a=r.x2,i=r.y1,u=r.y2,c=xe()(e,Number),l=c.x,s=c.y;return l+(n=n?n/2:0)>=Math.min(o,a)&&l-n<=Math.max(o,a)&&s+n>=Math.min(i,u)&&s-n<=Math.max(i,u)},getDomainBox:function(e,n,r){var o=this.getDimension(e);n=t()({},n,e.domain),r=t()({},r,n);var a=d(e,n),i=d(e,r);return{x1:"y"!==o?Math.min.apply(Math,De(i.x)):Math.min.apply(Math,De(a.x)),x2:"y"!==o?Math.max.apply(Math,De(i.x)):Math.max.apply(Math,De(a.x)),y1:"x"!==o?Math.min.apply(Math,De(i.y)):Math.min.apply(Math,De(a.y)),y2:"x"!==o?Math.max.apply(Math,De(i.y)):Math.max.apply(Math,De(a.y))}},getHandles:function(e,t){var n=this.getDimension(e),r=t.x1,o=t.x2,a=t.y1,i=t.y2,u=Math.min(r,o),c=Math.max(r,o),l=Math.min(a,i),s=Math.max(a,i),f=e.handleWidth/2;return{left:"y"!==n&&{x1:u-f,x2:u+f,y1:a,y2:i},right:"y"!==n&&{x1:c-f,x2:c+f,y1:a,y2:i},top:"x"!==n&&{x1:r,x2:o,y1:l-f,y2:l+f},bottom:"x"!==n&&{x1:r,x2:o,y1:s-f,y2:s+f}}},getActiveHandles:function(e,t,n){var r=this,o=this.getHandles(t,n),a=["top","bottom","left","right"].reduce((function(t,n){return o[n]&&r.withinBounds(e,o[n])?t.concat(n):t}),[]);return a.length&&a},getResizeMutation:function(e,t){var n=e.x1,r=e.y1,o=e.x2,i=e.y2,u={left:{x1:Math.max(n,o),x2:Math.min(n,o),y1:r,y2:i},right:{x1:Math.min(n,o),x2:Math.max(n,o),y1:r,y2:i},top:{y1:Math.max(r,i),y2:Math.min(r,i),x1:n,x2:o},bottom:{y1:Math.min(r,i),y2:Math.max(r,i),x1:n,x2:o}};return t.reduce((function(e,t){return a()(e,u[t])}),{})},getMinimumDomain:function(){return{x:[0,1/Number.MAX_SAFE_INTEGER],y:[0,1/Number.MAX_SAFE_INTEGER]}},getDefaultBrushArea:function(e,t,n){var r=e.domain,o=e.fullDomain,a=e.scale,i=e.horizontal,u=e.allowResize||e.defaultBrushArea?e.defaultBrushArea:"move";if("none"===u)return this.getMinimumDomain();if("disable"===u)return t;if("move"===u){var c=this.getDomainBox(e,o,t),l=e.parentSVG||y(n),s=this.panBox(Me({},e,c,{brushDomain:t,startX:(c.x1+c.x2)/2,startY:(c.y1+c.y2)/2}),b(n,l)),f=e.fullDomainBox||this.getDomainBox(e,o);return x(Me({},this.constrainBox(s,f),{scale:a,horizontal:i}))}return r},getSelectionMutation:function(e,t,n){var r=e.x,o=e.y,a=t.x1,i=t.x2,u=t.y1,c=t.y2;return{x1:"y"!==n?r:a,y1:"x"!==n?o:u,x2:"y"!==n?r:i,y2:"x"!==n?o:c}},panBox:function(e,n){var r=e.domain,o=e.startX,a=e.startY,i=this.getDimension(e),u=t()({},e.brushDomain,r),c=t()({},e.fullDomain,r),l=e.x1?e:this.getDomainBox(e,c,u),s=l.x1,f=l.x2,p=l.y1,h=l.y2,v=n.x,y=n.y,b=o?o-v:0,d=a?a-y:0;return{x1:"y"!==i?Math.min(s,f)-b:Math.min(s,f),x2:"y"!==i?Math.max(s,f)-b:Math.max(s,f),y1:"x"!==i?Math.min(p,h)-d:Math.min(p,h),y2:"x"!==i?Math.max(p,h)-d:Math.max(p,h)}},constrainBox:function(e,t){var n=xe()(t,Number),r=n.x1,o=n.y1,a=n.x2,i=n.y2;return{x1:e.x2>a?a-Math.abs(e.x2-e.x1):Math.max(e.x1,r),y1:e.y2>i?i-Math.abs(e.y2-e.y1):Math.max(e.y1,o),x2:e.x1<r?r+Math.abs(e.x2-e.x1):Math.min(e.x2,a),y2:e.y1<o?o+Math.abs(e.y2-e.y1):Math.min(e.y2,i)}},constrainPoint:function(e,t){var n=xe()(t,Number),r=n.x1,o=n.y1,a=n.x2,i=n.y2;return{x:Math.min(Math.max(e.x,r),a),y:Math.min(Math.max(e.y,o),i)}},hasMoved:function(e){var t=e.x1,n=e.x2,r=e.y1,o=e.y2,a=e.mouseMoveThreshold,i=this.getDimension(e),u=Math.abs(t-n)>=a,c=Math.abs(r-o)>=a;switch(i){case"x":return u;case"y":return c;default:return u||c}},onMouseDown:function(e,n){var r=this;e.preventDefault();var o=n.handleWidth,a=n.cachedBrushDomain,i=n.domain,u=n.allowResize,c=n.allowDrag,l=n.allowDraw,s=this.getDimension(n),f=u||n.defaultBrushArea?n.defaultBrushArea:"move";if(!u&&!c)return{};var p=n.fullDomainBox||this.getDomainBox(n,i),h=n.parentSVG||y(e),v=b(e,h),d=v.x,m=v.y;if(!this.withinBounds({x:d,y:m},p,o))return{};var x=t()({},n.brushDomain,i),g=je()(x,a)?n.currentDomain||x||i:x||i,w=this.getDomainBox(n,i,g),O=u&&this.getActiveHandles({x:d,y:m},n,w);return O?[{target:"parent",mutation:function(){return Me({isSelecting:!0,domainBox:w,fullDomainBox:p,cachedBrushDomain:x,currentDomain:g,parentSVG:h},r.getResizeMutation(w,O))}}]:this.withinBounds({x:d,y:m},w)&&!je()(i,g)?[{target:"parent",mutation:function(){return Me({isPanning:c,startX:d,startY:m,domainBox:w,fullDomainBox:p,currentDomain:g,cachedBrushDomain:x,parentSVG:h},w)}}]:l?[{target:"parent",mutation:function(){return Me({isSelecting:u||"move"===f,domainBox:w,fullDomainBox:p,parentSVG:h,cachedBrushDomain:x,cachedCurrentDomain:g,currentDomain:r.getMinimumDomain()},r.getSelectionMutation({x:d,y:m},w,s))}}]:{}},onGlobalMouseMove:function(e,n){var r=n.scale,o=n.isPanning,a=n.isSelecting,i=n.fullDomainBox,u=n.onBrushDomainChange,c=n.allowResize,l=n.allowDrag,s=n.horizontal,f=n.mouseMoveThreshold,p=n.parentSVG,h=this.getDimension(n),v=b(e,p),y=v.x,d=v.y;if(!c&&!l||f>0&&!this.hasMoved(Me({},n,{x2:y,y2:d})))return{};if(l&&o){var m=n.startX,g=n.startY,O=this.panBox(n,{x:y,y:d}),j=this.constrainBox(O,i),M=x(Me({},j,{scale:r,horizontal:s})),_=Me({currentDomain:M,parentSVG:p,startX:O.x2>=i.x2||O.x1<=i.x1?m:y,startY:O.y2>=i.y2||O.y1<=i.y1?g:d},j);return w()(u)&&u(M,t()({},_,n)),[{target:"parent",mutation:function(){return _}}]}if(c&&a){var D=this.constrainPoint({x:"y"!==h?y:n.x2,y:"x"!==h?d:n.y2},i),E=D.x,P=D.y,A=x({x2:E,y2:P,x1:n.x1,y1:n.y1,scale:r,horizontal:s}),S={x2:E,y2:P,currentDomain:A,parentSVG:p};return w()(u)&&u(A,t()({},S,n)),[{target:"parent",mutation:function(){return S}}]}return{}},onGlobalMouseUp:function(e,n){if(!n.isPanning&&!n.isSelecting)return{};var r=n.x1,o=n.y1,a=n.x2,i=n.y2,u=n.isPanning,c=n.isSelecting,l=n.onBrushDomainChange,s=n.onBrushDomainChangeEnd,f=n.onBrushCleared,p=n.currentDomain,h=n.allowResize,v=n.allowDrag,y=h||n.defaultBrushArea?n.defaultBrushArea:"move",b={isPanning:!1,isSelecting:!1};if(!h&&(void 0===y||"none"===y)||r!==a&&o!==i)(v&&u||h&&c)&&w()(s)&&s(p,t()({},b,n));else{var d=n.cachedCurrentDomain||p,m=this.getDefaultBrushArea(n,d,e);b.currentDomain=m,w()(l)&&l(m,t()({},b,n)),w()(s)&&s(m,t()({},b,n)),w()(f)&&f(m,t()({},b,n))}return[{target:"parent",mutation:function(){return b}}]}};const Pe=Me({},Ee,{onMouseDown:Ee.onMouseDown.bind(Ee),onGlobalMouseUp:Ee.onGlobalMouseUp.bind(Ee),onGlobalMouseMove:we()(Ee.onGlobalMouseMove.bind(Ee),16,{leading:!0,trailing:!1})});function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Se(e,t,n[t])}))}return e}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Ce=function(e){var n,r;return r=n=function(e){function n(){return Be(this,n),ke(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),r=n,(o=[{key:"getSelectBox",value:function(e,n){var r=n.x,o=n.y,a=e.brushStyle,i=e.brushComponent,u=e.name,c=i.props&&i.props.style,s=e.allowDrag||e.allowResize?"move":"auto";return r[0]!==r[1]&&o[0]!==o[1]?l().cloneElement(i,{key:"".concat(u,"-brush"),width:Math.abs(r[1]-r[0])||1,height:Math.abs(o[1]-o[0])||1,x:Math.min(r[0],r[1]),y:Math.min(o[0],o[1]),cursor:s,style:t()({},c,a)}):null}},{key:"getCursorPointers",value:function(e){var t={yProps:"ns-resize",xProps:"ew-resize"};return!e.allowResize&&e.allowDrag?(t.xProps="move",t.yProps="move"):e.allowResize||e.allowDrag||(t.xProps="auto",t.yProps="auto"),t}},{key:"getHandles",value:function(e,n){var r=e.handleWidth,o=e.handleStyle,i=e.handleComponent,u=e.name,c=Pe.getDomainBox(e,n),s=c.x1,f=c.x2,p=c.y1,h=c.y2,v=Pe.getHandles(e,c),y=v.top,b=v.bottom,d=v.left,m=v.right,x=Math.abs(f-s)||1,g=Math.abs(h-p)||1,w=i.props&&i.props.style||{},O=t()({},w,o),j=this.getCursorPointers(e),M={style:O,width:x,height:r,cursor:j.yProps},_={style:O,width:r,height:g,cursor:j.xProps},D={top:y&&a()({x:y.x1,y:y.y1},M),bottom:b&&a()({x:b.x1,y:b.y1},M),left:d&&a()({y:d.y1,x:d.x1},_),right:m&&a()({y:m.y1,x:m.x1},_)},E=["top","bottom","left","right"].reduce((function(e,t){return D[t]?e.concat(l().cloneElement(i,a()({key:"".concat(u,"-handle-").concat(t)},D[t]))):e}),[]);return E.length?E:null}},{key:"getRect",value:function(e){var n=e.currentDomain,r=e.cachedBrushDomain,o=t()({},e.brushDomain,e.domain),a=je()(o,r)?t()({},n,o):o,i=d(e,a),u=this.getSelectBox(e,i);return u?[u,this.getHandles(e,a)]:[]}},{key:"getChildren",value:function(e){return Te(l().Children.toArray(e.children)).concat(Te(this.getRect(e)))}}])&&Re(r.prototype,o),n}(e),Object.defineProperty(n,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBrushContainer"}),Object.defineProperty(n,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:Ae({},ye.propTypes,{allowDrag:u().bool,allowDraw:u().bool,allowResize:u().bool,brushComponent:u().element,brushDimension:u().oneOf(["x","y"]),brushDomain:u().shape({x:u().array,y:u().array}),brushStyle:u().object,defaultBrushArea:u().oneOf(["all","disable","none","move"]),disable:u().bool,handleComponent:u().element,handleStyle:u().object,handleWidth:u().number,onBrushCleared:u().func,onBrushDomainChange:u().func,onBrushDomainChangeEnd:u().func})}),Object.defineProperty(n,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:Ae({},ye.defaultProps,{allowDrag:!0,allowDraw:!0,allowResize:!0,brushComponent:l().createElement(de,null),brushStyle:{stroke:"transparent",fill:"black",fillOpacity:.1},handleComponent:l().createElement(de,null),handleStyle:{stroke:"transparent",fill:"transparent"},handleWidth:8,mouseMoveThreshold:0})}),Object.defineProperty(n,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:Pe.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:Pe.onMouseDown(t,n)},onGlobalMouseMove:function(t,n){return e.disable||!n.isPanning&&!n.isSelecting?{}:Pe.onGlobalMouseMove(t,n)},onGlobalTouchMove:function(t,n){return e.disable||!n.isPanning&&!n.isSelecting?{}:Pe.onGlobalMouseMove(t,n)},onGlobalMouseUp:function(t,n){return e.disable?{}:Pe.onGlobalMouseUp(t,n)},onGlobalTouchEnd:function(t,n){return e.disable?{}:Pe.onGlobalMouseUp(t,n)},onGlobalTouchCancel:function(t,n){return e.disable?{}:Pe.onGlobalMouseUp(t,n)}}}]}}),r};const Ie=Ce(ye)})(),o})()})); | ||
//# sourceMappingURL=victory-brush-container.min.js.map |
{ | ||
"name": "victory-brush-container", | ||
"version": "35.11.3", | ||
"version": "35.11.4", | ||
"description": "Interactive Brush Component for Victory", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"react-fast-compare": "^2.0.0", | ||
"victory-core": "^35.11.3" | ||
"victory-core": "^35.11.4" | ||
}, | ||
@@ -35,3 +35,3 @@ "peerDependencies": { | ||
"sideEffects": false, | ||
"gitHead": "a66afca796bc341b06f028531355044cef7c5157" | ||
"gitHead": "59ec44a7be4b1aea88df1a6769ed16f0a60689df" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
412120
9096
Updatedvictory-core@^35.11.4