UNPKG

victory-core

Version:
1 lines 224 kB
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.VictoryCore=n(require("react")):t.VictoryCore=n(t.React)}(self,(function(t){return function(){var n={503:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),s=e(8541);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},3273:function(t,n,e){var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),s=e(8541);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},2596:function(t,n,e){var r=e(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},6649:function(t){t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];n(r,a,e(a),t)}return r}},5510:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:function(t){t.exports=function(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},9559:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}},1634:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:function(t,n,e){var r=e(8347),i=e(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];o.call(t,n)&&i(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},4508:function(t){t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];n(r,a,e(a),t)}return r}},8347:function(t,n,e){var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},6457:function(t,n,e){var r=e(9559),i=e(3608);t.exports=function t(n,e,o,a,s){var u=-1,c=n.length;for(o||(o=i),s||(s=[]);++u<c;){var l=n[u];e>0&&o(l)?e>1?t(l,e-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},4432:function(t,n,e){var r=e(9026),i=e(3110);t.exports=function(t,n){for(var e=0,o=(n=r(n,t)).length;null!=t&&e<o;)t=t[i(n[e++])];return e&&e==o?t:void 0}},563:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:function(t){t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:function(t){t.exports=function(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}},7537:function(t,n,e){var r=e(563),i=e(3474);t.exports=function(t){return i(t)&&"[object Date]"==r(t)}},9070:function(t,n,e){var r=e(7028),i=e(3474);t.exports=function t(n,e,o,a,s){return n===e||(null==n||null==e||!i(n)&&!i(e)?n!=n&&e!=e:r(n,e,o,a,t,s))}},7028:function(t,n,e){var r=e(8708),i=e(8705),o=e(2813),a=e(6682),s=e(9667),u=e(163),c=e(4801),l=e(4289),f="[object Arguments]",h="[object Array]",p="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,y,m){var v=u(t),x=u(n),_=v?h:s(t),b=x?h:s(n),w=(_=_==f?p:_)==p,M=(b=b==f?p:b)==p,A=_==b;if(A&&c(t)){if(!c(n))return!1;v=!0,w=!1}if(A&&!w)return m||(m=new r),v||l(t)?i(t,n,e,g,y,m):o(t,n,_,e,g,y,m);if(!(1&e)){var k=w&&d.call(t,"__wrapped__"),E=M&&d.call(n,"__wrapped__");if(k||E){var C=k?t.value():t,S=E?n.value():n;return m||(m=new r),y(C,S,e,g,m)}}return!!A&&(m||(m=new r),a(t,n,e,g,y,m))}},9548:function(t,n,e){var r=e(8708),i=e(9070);t.exports=function(t,n,e,o){var a=e.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var c=e[a];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<s;){var l=(c=e[a])[0],f=t[l],h=c[1];if(u&&c[2]){if(void 0===f&&!(l in t))return!1}else{var p=new r;if(o)var d=o(f,h,l,t,n,p);if(!(void 0===d?i(h,f,3,o,p):d))return!1}}return!0}},3472:function(t,n,e){var r=e(758),i=e(5223),o=e(5346),a=e(163),s=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):s(t)}},7190:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},758:function(t,n,e){var r=e(9548),i=e(597),o=e(6878);t.exports=function(t){var n=i(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:function(t,n,e){var r=e(9070),i=e(9201),o=e(5066),a=e(726),s=e(5385),u=e(6878),c=e(3110);t.exports=function(t,n){return a(t)&&s(n)?u(c(t),n):function(e){var a=i(e,t);return void 0===a&&a===n?o(e,t):r(n,a,3)}}},8245:function(t,n,e){var r=e(8644),i=e(4432),o=e(3472),a=e(383),s=e(9521),u=e(9110),c=e(9409),l=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return i(n,1===t.length?t[0]:t)}:t})):[l];var h=-1;n=r(n,u(o));var p=a(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++h,value:t}}));return s(p,(function(t,n){return c(t,n,e)}))}},5436:function(t,n,e){var r=e(6371),i=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return i(t,e)}))}},6371:function(t,n,e){var r=e(4432),i=e(6539),o=e(9026);t.exports=function(t,n,e){for(var a=-1,s=n.length,u={};++a<s;){var c=n[a],l=r(t,c);e(l,c)&&i(u,o(c,t),l)}return u}},1600:function(t){t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:function(t,n,e){var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:function(t,n,e){var r=e(5346),i=e(4280),o=e(201);t.exports=function(t,n){return o(i(t,n,r),t+"")}},6539:function(t,n,e){var r=e(4132),i=e(9026),o=e(9099),a=e(7709),s=e(3110);t.exports=function(t,n,e,u){if(!a(t))return t;for(var c=-1,l=(n=i(n,t)).length,f=l-1,h=t;null!=h&&++c<l;){var p=s(n[c]),d=e;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(c!=f){var g=h[p];void 0===(d=u?u(g,p,h):void 0)&&(d=a(g)?g:o(n[c+1])?[]:{})}r(h,p,d),h=h[p]}return t}},9521:function(t){t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=-1,i=t.length,o=0,a=[];++e<i;){var s=t[e],u=n?n(s):s;if(!e||!r(u,c)){var c=u;a[o++]=0===s?0:s}}return a}},6316:function(t,n,e){var r=e(2596),i=e(8644),o=e(163),a=e(1995),s=r?r.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(o(n))return i(n,t)+"";if(a(n))return u?u.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},9110:function(t){t.exports=function(t){return function(n){return t(n)}}},946:function(t,n,e){var r=e(3273),i=e(5510),o=e(9955),a=e(9914),s=e(6602),u=e(6226);t.exports=function(t,n,e){var c=-1,l=i,f=t.length,h=!0,p=[],d=p;if(e)h=!1,l=o;else if(f>=200){var g=n?null:s(t);if(g)return u(g);h=!1,l=a,d=new r}else d=n?[]:p;t:for(;++c<f;){var y=t[c],m=n?n(y):y;if(y=e||0!==y?y:0,h&&m==m){for(var v=d.length;v--;)if(d[v]===m)continue t;n&&d.push(m),p.push(y)}else l(d,m,e)||(d!==p&&d.push(m),p.push(y))}return p}},9914:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:function(t,n,e){var r=e(163),i=e(726),o=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:i(t,n)?[t]:o(a(t))}},522:function(t,n,e){var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==n,u=null===n,c=n==n,l=r(n);if(!u&&!l&&!a&&t>n||a&&s&&c&&!u&&!l||i&&s&&c||!e&&c||!o)return 1;if(!i&&!a&&!l&&t<n||l&&e&&o&&!i&&!a||u&&e&&o||!s&&o||!c)return-1}return 0}},9409:function(t,n,e){var r=e(522);t.exports=function(t,n,e){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,u=e.length;++i<s;){var c=r(o[i],a[i]);if(c)return i>=u?c:c*("desc"==e[i]?-1:1)}return t.index-n.index}},5659:function(t,n,e){var r=e(6649),i=e(4508),o=e(3472),a=e(163);t.exports=function(t,n){return function(e,s){var u=a(e)?r:i,c=n?n():{};return u(e,t,o(s,2),c)}}},6602:function(t){t.exports=function(){}},5525:function(t,n,e){var r=e(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,n,e){var r=e(3273),i=e(1634),o=e(9914);t.exports=function(t,n,e,a,s,u){var c=1&e,l=t.length,f=n.length;if(l!=f&&!(c&&f>l))return!1;var h=u.get(t),p=u.get(n);if(h&&p)return h==n&&p==t;var d=-1,g=!0,y=2&e?new r:void 0;for(u.set(t,n),u.set(n,t);++d<l;){var m=t[d],v=n[d];if(a)var x=c?a(v,m,d,n,t,u):a(m,v,d,t,n,u);if(void 0!==x){if(x)continue;g=!1;break}if(y){if(!i(n,(function(t,n){if(!o(y,n)&&(m===t||s(m,t,e,a,u)))return y.push(n)}))){g=!1;break}}else if(m!==v&&!s(m,v,e,a,u)){g=!1;break}}return u.delete(t),u.delete(n),g}},2813:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:function(t,n,e){var r=e(8143),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,o,a,s){var u=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!u)return!1;for(var f=l;f--;){var h=c[f];if(!(u?h in n:i.call(n,h)))return!1}var p=s.get(t),d=s.get(n);if(p&&d)return p==n&&d==t;var g=!0;s.set(t,n),s.set(n,t);for(var y=u;++f<l;){var m=t[h=c[f]],v=n[h];if(o)var x=u?o(v,m,h,n,t,s):o(m,v,h,t,n,s);if(!(void 0===x?m===v||a(m,v,e,o,s):x)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(g=!1)}return s.delete(t),s.delete(n),g}},5557:function(t,n,e){var r=e(2645),i=e(4280),o=e(201);t.exports=function(t){return o(i(t,void 0,r),t+"")}},2117:function(t,n,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:function(t,n,e){var r=e(5385),i=e(7747);t.exports=function(t){for(var n=i(t),e=n.length;e--;){var o=n[e],a=t[o];n[e]=[o,a,r(a)]}return n}},3743:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},9817:function(t,n,e){var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:function(t,n,e){var r=e(9026),i=e(5075),o=e(163),a=e(9099),s=e(8454),u=e(3110);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,f=!1;++c<l;){var h=u(n[c]);if(!(f=null!=t&&e(t,h)))break;t=t[h]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&s(l)&&a(h,l)&&(o(t)||i(t))}},3608:function(t,n,e){var r=e(2596),i=e(5075),o=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},9099:function(t){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:function(t){t.exports=function(){return!1}},726:function(t,n,e){var r=e(163),i=e(1995),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=n&&t in Object(n)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,n,e){var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,n,e){var r=e(3162),i=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():i.call(n,e,1),--this.size,0))}},4859:function(t,n,e){var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:function(t,n,e){var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,n,e){var r=e(3162);t.exports=function(t,n){var e=this.__data__,i=r(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}},6878:function(t){t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:function(t){t.exports=function(t){return t}},2348:function(t,n,e){t=e.nmd(t);var r=e(2117),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},5125:function(t){t.exports=function(t,n){return function(e){return t(n(e))}}},4280:function(t,n,e){var r=e(6082),i=Math.max;t.exports=function(t,n,e){return n=i(void 0===n?t.length-1:n,0),function(){for(var o=arguments,a=-1,s=i(o.length-n,0),u=Array(s);++a<s;)u[a]=o[n+a];a=-1;for(var c=Array(n+1);++a<n;)c[a]=o[a];return c[n]=e(u),r(t,this,c)}}},2373:function(t,n,e){var r=e(2117),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,n,e){var r=e(2453),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(i,(function(t,e,r,i){n.push(r?i.replace(o,"$1"):e||t)})),n}));t.exports=a},3110:function(t,n,e){var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1893:function(t,n,e){var r=e(6317),i=e(788),o=e(8286),a=e(8855),s=Object.prototype,u=s.hasOwnProperty,c=r((function(t,n){t=Object(t);var e=-1,r=n.length,c=r>2?n[2]:void 0;for(c&&o(n[0],n[1],c)&&(r=1);++e<r;)for(var l=n[e],f=a(l),h=-1,p=f.length;++h<p;){var d=f[h],g=t[d];(void 0===g||i(g,s[d])&&!u.call(t,d))&&(t[d]=l[d])}return t}));t.exports=c},788:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:function(t,n,e){var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,n,e){var r=e(4432);t.exports=function(t,n,e){var i=null==t?void 0:r(t,n);return void 0===i?e:i}},9056:function(t,n,e){var r=e(8347),i=e(5659),o=Object.prototype.hasOwnProperty,a=i((function(t,n,e){o.call(t,e)?t[e].push(n):r(t,e,[n])}));t.exports=a},5066:function(t,n,e){var r=e(6776),i=e(3096);t.exports=function(t,n){return null!=t&&i(t,n,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var n=Array.isArray;t.exports=n},981:function(t,n,e){var r=e(9642),i=e(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4295:function(t,n,e){var r=e(7537),i=e(9110),o=e(2348),a=o&&o.isDate,s=a?i(a):r;t.exports=s},4155:function(t,n,e){var r=e(7190),i=e(9667),o=e(5075),a=e(163),s=e(981),u=e(4801),c=e(5782),l=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||l(t)||o(t)))return!t.length;var n=i(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:function(t,n,e){var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:function(t,n,e){var r=e(563),i=e(7709);t.exports=function(t){if(!i(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,n,e){var r=e(563),i=e(9817),o=e(3474),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var n=i(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&u.call(e)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},8999:function(t){t.exports=function(t){return void 0===t}},7747:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:function(t,n,e){var r=e(503);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:function(t,n,e){var r=e(3472),i=e(6051),o=e(4912);t.exports=function(t,n){return o(t,i(r(n)))}},4143:function(t,n,e){var r=e(8245),i=e(163);t.exports=function(t,n,e,o){return null==t?[]:(i(n)||(n=null==n?[]:[n]),i(e=o?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:function(t,n,e){var r=e(5436),i=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},4912:function(t,n,e){var r=e(8644),i=e(3472),o=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=i(n),o(t,e,(function(t,e){return n(t,e[0])}))}},8532:function(t,n,e){var r=e(1600),i=e(3301),o=e(726),a=e(3110);t.exports=function(t){return o(t)?r(a(t)):i(t)}},2829:function(t,n,e){var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:function(t,n,e){var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,n,e){var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},8961:function(t,n,e){var r=e(3472),i=e(946);t.exports=function(t,n){return t&&t.length?i(t,r(n,2)):[]}},660:function(t,n,e){var r=e(7010),i=0;t.exports=function(t){var n=++i;return r(t)+n}},7491:function(t){var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,u,c,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(!o(t[u],a[u]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;for(l=t.entries();!(u=l.next()).done;)if(!o(u.value[1],a.get(u.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(t[u]!==a[u])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,c[u]))return!1;if(n&&t instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!t.$$typeof)&&!o(t[c[u]],a[c[u]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return o(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(n){"use strict";n.exports=t}},e={};function r(t){var i=e[t];if(void 0!==i)return i.exports;var o=e[t]={id:t,loaded:!1,exports:{}};return n[t](o,o.exports,r),o.loaded=!0,o.exports}r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,{a:n}),n},r.d=function(t,n){for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var i={};return function(){"use strict";r.r(i),r.d(i,{Arc:function(){return Zi},Axis:function(){return v},Background:function(){return Ji},Border:function(){return no},Box:function(){return no},Circle:function(){return qi},ClipPath:function(){return Ui},Collection:function(){return c},Data:function(){return y},DefaultTransitions:function(){return x},Domain:function(){return m},Events:function(){return h},Helpers:function(){return n},Hooks:function(){return _},Immutable:function(){return g},LabelHelpers:function(){return a},Line:function(){return ro},LineHelpers:function(){return w},LineSegment:function(){return oo},Log:function(){return o},Path:function(){return Gi},Point:function(){return vo},PointPathHelpers:function(){return f},Portal:function(){return Ln},PortalContext:function(){return xe},PortalOutlet:function(){return we},PortalProvider:function(){return be},Rect:function(){return Pe},Scale:function(){return d},Selection:function(){return M},Style:function(){return s},TSpan:function(){return Fe},Text:function(){return Ne},TextSize:function(){return u},Timer:function(){return On},TimerContext:function(){return jn},Transitions:function(){return l},UserProps:function(){return e},VictoryAccessibleGroup:function(){return C},VictoryAnimation:function(){return Pn},VictoryClipContainer:function(){return Vi},VictoryContainer:function(){return Ee},VictoryLabel:function(){return _i},VictoryPortal:function(){return je},VictoryTheme:function(){return qr},VictoryTransition:function(){return Ri},Whisker:function(){return _o},Wrapper:function(){return A},addEvents:function(){return Ro},mergeRefs:function(){return ve},usePortalContext:function(){return _e},useVictoryContainer:function(){return ke}});var t={};r.r(t),r.d(t,{easeBack:function(){return rt},easeBackIn:function(){return nt},easeBackInOut:function(){return rt},easeBackOut:function(){return et},easeBounce:function(){return Q},easeBounceIn:function(){return Z},easeBounceInOut:function(){return J},easeBounceOut:function(){return Q},easeCircle:function(){return K},easeCircleIn:function(){return Y},easeCircleInOut:function(){return K},easeCircleOut:function(){return G},easeCubic:function(){return N},easeCubicIn:function(){return D},easeCubicInOut:function(){return N},easeCubicOut:function(){return P},easeElastic:function(){return at},easeElasticIn:function(){return ot},easeElasticInOut:function(){return st},easeElasticOut:function(){return at},easeExp:function(){return V},easeExpIn:function(){return H},easeExpInOut:function(){return V},easeExpOut:function(){return q},easeLinear:function(){return S},easePoly:function(){return L},easePolyIn:function(){return F},easePolyInOut:function(){return L},easePolyOut:function(){return $},easeQuad:function(){return j},easeQuadIn:function(){return O},easeQuadInOut:function(){return j},easeQuadOut:function(){return T},easeSin:function(){return R},easeSinIn:function(){return W},easeSinInOut:function(){return R},easeSinOut:function(){return B}});var n={};r.r(n),r.d(n,{createAccessor:function(){return se},degreesToRadians:function(){return te},evaluateProp:function(){return Qn},evaluateStyle:function(){return Jn},getCurrentAxis:function(){return ce},getDefaultStyles:function(){return Xn},getPadding:function(){return Gn},getPoint:function(){return Vn},getPolarOrigin:function(){return re},getRadius:function(){return ee},getRange:function(){return ie},getStyles:function(){return Zn},invert:function(){return Hn},isFunction:function(){return ae},isHorizontal:function(){return pe},isNil:function(){return oe},isTooltip:function(){return Kn},mapValues:function(){return le},modifyProps:function(){return ue},omit:function(){return qn},radiansToDegrees:function(){return ne},range:function(){return fe},reduceChildren:function(){return he},scalePoint:function(){return Yn}});var e={};r.r(e),r.d(e,{assert:function(){return ge},getSafeUserProps:function(){return ye},withSafeUserProps:function(){return me}});var o={};r.r(o),r.d(o,{warn:function(){return Oe}});var a={};r.r(a),r.d(a,{getDegrees:function(){return Be},getPolarAngle:function(){return We},getPolarTextAnchor:function(){return Ie},getPolarVerticalAnchor:function(){return ze},getProps:function(){return Re},getText:function(){return Le}});var s={};r.r(s),r.d(s,{getColorScale:function(){return Yr},toTransformString:function(){return Vr}});var u={};r.r(u),r.d(u,{_approximateTextSizeInternal:function(){return ui},approximateTextSize:function(){return ci},convertLengthToPixels:function(){return ei}});var c={};r.r(c),r.d(c,{containsDates:function(){return ki},containsNumbers:function(){return Ei},containsOnlyStrings:function(){return Ci},containsStrings:function(){return Ai},difference:function(){return Si},getMaxValue:function(){return ji},getMinValue:function(){return Di},isArrayOfArrays:function(){return Oi},removeUndefined:function(){return Ti}});var l={};r.r(l),r.d(l,{getInitialTransitionState:function(){return zi},getTransitionPropsFactory:function(){return Wi}});var f={};r.r(f),r.d(f,{circle:function(){return ao},cross:function(){return ho},diamond:function(){return uo},minus:function(){return po},plus:function(){return fo},square:function(){return so},star:function(){return go},triangleDown:function(){return co},triangleUp:function(){return lo}});var h={};r.r(h),r.d(h,{emulateReactEvent:function(){return zo},getComponentEvents:function(){return Fo},getEventState:function(){return jo},getEvents:function(){return So},getExternalMutation:function(){return No},getExternalMutations:function(){return Po},getExternalMutationsWithChildren:function(){return Do},getGlobalEventNameFromKey:function(){return $o},getGlobalEvents:function(){return Lo},getPartialEvents:function(){return To},getScopedEvents:function(){return Oo},omitGlobalEvents:function(){return Io}});var p={};r.r(p),r.d(p,{scaleBand:function(){return sa},scaleDiverging:function(){return dl},scaleDivergingLog:function(){return gl},scaleDivergingPow:function(){return ml},scaleDivergingSqrt:function(){return vl},scaleDivergingSymlog:function(){return yl},scaleIdentity:function(){return Za},scaleImplicit:function(){return oa},scaleLinear:function(){return Xa},scaleLog:function(){return as},scaleOrdinal:function(){return aa},scalePoint:function(){return ca},scalePow:function(){return gs},scaleQuantile:function(){return Cs},scaleQuantize:function(){return Ss},scaleRadial:function(){return xs},scaleSequential:function(){return al},scaleSequentialLog:function(){return sl},scaleSequentialPow:function(){return cl},scaleSequentialQuantile:function(){return fl},scaleSequentialSqrt:function(){return ll},scaleSequentialSymlog:function(){return ul},scaleSqrt:function(){return ys},scaleSymlog:function(){return ls},scaleThreshold:function(){return Os},scaleTime:function(){return el},scaleUtc:function(){return rl},tickFormat:function(){return Ga}});var d={};r.r(d),r.d(d,{getBaseScale:function(){return Al},getDefaultScale:function(){return kl},getScaleFromName:function(){return Ml},getScaleFromProps:function(){return El},getScaleType:function(){return Cl},getType:function(){return Ol},validScale:function(){return _l}});var g={};r.r(g),r.d(g,{IMMUTABLE_ITERABLE:function(){return Tl},IMMUTABLE_LIST:function(){return Dl},IMMUTABLE_MAP:function(){return Pl},IMMUTABLE_RECORD:function(){return jl},isImmutable:function(){return $l},isIterable:function(){return Nl},isList:function(){return Ll},isMap:function(){return Il},isRecord:function(){return Fl},shallowToJS:function(){return zl}});var y={};r.r(y),r.d(y,{createStringMap:function(){return ql},downsample:function(){return Vl},formatData:function(){return Yl},formatDataFromDomain:function(){return Hl},generateData:function(){return Gl},getCategories:function(){return Kl},getData:function(){return Xl},getStringsFromAxes:function(){return Zl},getStringsFromCategories:function(){return Ql},getStringsFromData:function(){return Jl},isDataComponent:function(){return tf}});var m={};r.r(m),r.d(m,{createDomainFunction:function(){return ef},formatDomain:function(){return rf},getDomain:function(){return of},getDomainFromCategories:function(){return af},getDomainFromData:function(){return sf},getDomainFromMinMax:function(){return uf},getDomainFromProps:function(){return cf},getDomainWithZero:function(){return lf},getMaxFromProps:function(){return ff},getMinFromProps:function(){return hf},getSymmetricDomain:function(){return pf},isDomainComponent:function(){return df}});var v={};r.r(v),r.d(v,{findAxisComponents:function(){return mf},getAxis:function(){return yf},getAxisComponent:function(){return vf},getAxisComponentsWithParent:function(){return xf},getAxisValue:function(){return Tf},getDomain:function(){return Of},getOrigin:function(){return _f},getOriginSign:function(){return bf},getTickFormat:function(){return kf},getTicks:function(){return Cf},isVertical:function(){return wf},modifyProps:function(){return jf},stringTicks:function(){return Mf}});var x={};r.r(x),r.d(x,{continuousPolarTransitions:function(){return Pf},continuousTransitions:function(){return Df},discreteTransitions:function(){return Nf}});var _={};r.r(_),r.d(_,{useAnimationState:function(){return Lf},usePreviousProps:function(){return Ff}});var b={};r.r(b),r.d(b,{arc:function(){return hh},area:function(){return _h},areaRadial:function(){return Oh},curveBasis:function(){return xp},curveBasisClosed:function(){return bp},curveBasisOpen:function(){return Mp},curveBumpX:function(){return Ph},curveBumpY:function(){return Nh},curveBundle:function(){return kp},curveCardinal:function(){return Sp},curveCardinalClosed:function(){return Tp},curveCardinalOpen:function(){return Dp},curveCatmullRom:function(){return Fp},curveCatmullRomClosed:function(){return Lp},curveCatmullRomOpen:function(){return zp},curveLinear:function(){return yh},curveLinearClosed:function(){return Bp},curveMonotoneX:function(){return Kp},curveMonotoneY:function(){return Xp},curveNatural:function(){return Jp},curveStep:function(){return nd},curveStepAfter:function(){return rd},curveStepBefore:function(){return ed},line:function(){return xh},lineRadial:function(){return Sh},link:function(){return Ih},linkHorizontal:function(){return zh},linkRadial:function(){return Bh},linkVertical:function(){return Wh},pie:function(){return Mh},pointRadial:function(){return Th},radialArea:function(){return Oh},radialLine:function(){return Sh},stack:function(){return ud},stackOffsetDiverging:function(){return ld},stackOffsetExpand:function(){return cd},stackOffsetNone:function(){return id},stackOffsetSilhouette:function(){return fd},stackOffsetWiggle:function(){return hd},stackOrderAppearance:function(){return pd},stackOrderAscending:function(){return gd},stackOrderDescending:function(){return md},stackOrderInsideOut:function(){return vd},stackOrderNone:function(){return od},stackOrderReverse:function(){return xd},symbol:function(){return gp},symbolAsterisk:function(){return Uh},symbolCircle:function(){return Hh},symbolCross:function(){return qh},symbolDiamond:function(){return Gh},symbolDiamond2:function(){return Kh},symbolPlus:function(){return Xh},symbolSquare:function(){return Zh},symbolSquare2:function(){return Qh},symbolStar:function(){return ep},symbolTriangle:function(){return ip},symbolTriangle2:function(){return ap},symbolWye:function(){return fp},symbolX:function(){return hp},symbols:function(){return pp},symbolsFill:function(){return pp},symbolsStroke:function(){return dp}});var w={};r.r(w),r.d(w,{getInterpolationFunction:function(){return Ad},getLineFunction:function(){return kd}});var M={};r.r(M),r.d(M,{getBounds:function(){return Dd},getDataCoordinates:function(){return jd},getDomainCoordinates:function(){return Td},getParentSVG:function(){return Sd},getSVGEventCoordinates:function(){return Od}});var A={};r.r(A),r.d(A,{addBinsToParentPropsIfHistogram:function(){return Ld},getAllEvents:function(){return qd},getCategories:function(){return Jd},getCategoryAndAxisStringsFromChildren:function(){return Zd},getChildStyle:function(){return Gd},getColor:function(){return Vd},getData:function(){return zd},getDataFromChildren:function(){return Id},getDefaultDomainPadding:function(){return Bd},getDomain:function(){return Ud},getDomainFromChildren:function(){return Rd},getScale:function(){return Hd},getStringsFromChildren:function(){return Qd},getStringsFromChildrenCategories:function(){return Kd},getStringsFromData:function(){return Xd},getStyle:function(){return Yd},getWidth:function(){return Wd}});var k=r(9787),E=r.n(k);const C=t=>{let{desc:n,children:e,tabIndex:r,className:i="VictoryAccessibleGroup",...o}=t;const a=n&&(o["aria-describedby"]||n.split(" ").join("-"));return n?E().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":a,className:i,tabIndex:r},E().createElement("desc",{id:a},n),e):E().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":o["aria-describedby"],className:i,tabIndex:r},e)},S=t=>+t;function O(t){return t*t}function T(t){return t*(2-t)}function j(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function D(t){return t*t*t}function P(t){return--t*t*t+1}function N(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var F=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),$=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),L=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),I=Math.PI,z=I/2;function W(t){return 1==+t?1:1-Math.cos(t*z)}function B(t){return Math.sin(t*z)}function R(t){return(1-Math.cos(I*t))/2}function U(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function H(t){return U(1-+t)}function q(t){return 1-U(t)}function V(t){return((t*=2)<=1?U(1-t):2-U(t-1))/2}function Y(t){return 1-Math.sqrt(1-t*t)}function G(t){return Math.sqrt(1- --t*t)}function K(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var X=7.5625;function Z(t){return 1-Q(1-t)}function Q(t){return(t=+t)<.36363636363636365?X*t*t:t<.7272727272727273?X*(t-=.5454545454545454)*t+.75:t<.9090909090909091?X*(t-=.8181818181818182)*t+.9375:X*(t-=.9545454545454546)*t+.984375}function J(t){return((t*=2)<=1?1-Q(1-t):Q(t-1)+1)/2}var tt=1.70158,nt=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(tt),et=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(tt),rt=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(tt),it=2*Math.PI,ot=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=it);function i(t){return n*U(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*it)},i.period=function(e){return t(n,e)},i}(1,.3),at=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=it);function i(t){return 1-n*U(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*it)},i.period=function(e){return t(n,e)},i}(1,.3),st=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=it);function i(t){return((t=2*t-1)<0?n*U(-t)*Math.sin((r-t)/e):2-n*U(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*it)},i.period=function(e){return t(n,e)},i}(1,.3),ut=r(3849),ct=r.n(ut),lt=r(4143),ft=r.n(lt);function ht(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function pt(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function dt(){}var gt=.7,yt=1/gt,mt="\\s*([+-]?\\d+)\\s*",vt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",_t=/^#([0-9a-f]{3,8})$/,bt=new RegExp(`^rgb\\(${mt},${mt},${mt}\\)$`),wt=new RegExp(`^rgb\\(${xt},${xt},${xt}\\)$`),Mt=new RegExp(`^rgba\\(${mt},${mt},${mt},${vt}\\)$`),At=new RegExp(`^rgba\\(${xt},${xt},${xt},${vt}\\)$`),kt=new RegExp(`^hsl\\(${vt},${xt},${xt}\\)$`),Et=new RegExp(`^hsla\\(${vt},${xt},${xt},${vt}\\)$`),Ct={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function St(){return this.rgb().formatHex()}function Ot(){return this.rgb().formatRgb()}function Tt(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=_t.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?jt(n):3===e?new Ft(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Dt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Dt(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=bt.exec(t))?new Ft(n[1],n[2],n[3],1):(n=wt.exec(t))?new Ft(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Mt.exec(t))?Dt(n[1],n[2],n[3],n[4]):(n=At.exec(t))?Dt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=kt.exec(t))?Bt(n[1],n[2]/100,n[3]/100,1):(n=Et.exec(t))?Bt(n[1],n[2]/100,n[3]/100,n[4]):Ct.hasOwnProperty(t)?jt(Ct[t]):"transparent"===t?new Ft(NaN,NaN,NaN,0):null}function jt(t){return new Ft(t>>16&255,t>>8&255,255&t,1)}function Dt(t,n,e,r){return r<=0&&(t=n=e=NaN),new Ft(t,n,e,r)}function Pt(t){return t instanceof dt||(t=Tt(t)),t?new Ft((t=t.rgb()).r,t.g,t.b,t.opacity):new Ft}function Nt(t,n,e,r){return 1===arguments.length?Pt(t):new Ft(t,n,e,null==r?1:r)}function Ft(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function $t(){return`#${Wt(this.r)}${Wt(this.g)}${Wt(this.b)}`}function Lt(){const t=It(this.opacity);return`${1===t?"rgb(":"rgba("}${zt(this.r)}, ${zt(this.g)}, ${zt(this.b)}${1===t?")":`, ${t})`}`}function It(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function zt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Wt(t){return((t=zt(t))<16?"0":"")+t.toString(16)}function Bt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Ut(t,n,e,r)}function Rt(t){if(t instanceof Ut)return new Ut(t.h,t.s,t.l,t.opacity);if(t instanceof dt||(t=Tt(t)),!t)return new Ut;if(t instanceof Ut)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=n===o?(e-r)/s+6*(e<r):e===o?(r-n)/s+2:(n-e)/s+4,s/=u<.5?o+i:2-o-i,a*=60):s=u>0&&u<1?0:a,new Ut(a,s,u,t.opacity)}function Ut(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ht(t){return(t=(t||0)%360)<0?t+360:t}function qt(t){return Math.max(0,Math.min(1,t||0))}function Vt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Yt(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}ht(dt,Tt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:St,formatHex:St,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Rt(this).formatHsl()},formatRgb:Ot,toString:Ot}),ht(Ft,Nt,pt(dt,{brighter(t){return t=null==t?yt:Math.pow(yt,t),new Ft(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?gt:Math.pow(gt,t),new Ft(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ft(zt(this.r),zt(this.g),zt(this.b),It(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$t,formatHex:$t,formatHex8:function(){return`#${Wt(this.r)}${Wt(this.g)}${Wt(this.b)}${Wt(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Lt,toString:Lt})),ht(Ut,(function(t,n,e,r){return 1===arguments.length?Rt(t):new Ut(t,n,e,null==r?1:r)}),pt(dt,{brighter(t){return t=null==t?yt:Math.pow(yt,t),new Ut(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?gt:Math.pow(gt,t),new Ut(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new Ft(Vt(t>=240?t-240:t+120,i,r),Vt(t,i,r),Vt(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Ut(Ht(this.h),qt(this.s),qt(this.l),It(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=It(this.opacity);return`${1===t?"hsl(":"hsla("}${Ht(this.h)}, ${100*qt(this.s)}%, ${100*qt(this.l)}%${1===t?")":`, ${t})`}`}}));var Gt=t=>()=>t;function Kt(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Gt(isNaN(t)?n:t)}var Xt=function t(n){var e=function(t){return 1==(t=+t)?Kt:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Gt(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Nt(t)).r,(n=Nt(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Kt(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Zt(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),s=new Array(i);for(e=0;e<i;++e)r=Nt(n[e]),o[e]=r.r||0,a[e]=r.g||0,s[e]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}function Qt(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(e=0;e<i;++e)o[e]=sn(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<i;++e)a[e]=o[e](t);return a}}function Jt(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function tn(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function nn(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=sn(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}Zt((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<n-1?t[r+2]:2*o-i;return Yt((e-r/n)*n,a,i,o,s)}})),Zt((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],s=t[(r+2)%n];return Yt((e-r/n)*n,i,o,a,s)}}));var en=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,rn=new RegExp(en.source,"g");function on(t,n){var e,r,i,o=en.lastIndex=rn.lastIndex=0,a=-1,s=[],u=[];for(t+="",n+="";(e=en.exec(t))&&(r=rn.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(e=e[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:tn(e,r)})),o=rn.lastIndex;return o<n.length&&(i=n.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?u[0]?function(t){return function(n){return t(n)+""}}(u[0].x):function(t){return function(){return t}}(n):(n=u.length,function(t){for(var e,r=0;r<n;++r)s[(e=u[r]).i]=e.x(t);return s.join("")})}function an(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}function sn(t,n){var e,r=typeof n;return null==n||"boolean"===r?Gt(n):("number"===r?tn:"string"===r?(e=Tt(n))?(n=e,Xt):on:n instanceof Tt?Xt:n instanceof Date?Jt:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(n)?an:Array.isArray(n)?Qt:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?nn:tn)(t,n)}const un=function(t){if(null!==t)switch(typeof t){case"undefined":case"boolean":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return t instanceof Date||Array.isArray(t)||ct()(t)}return!1},cn=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},ln=function(t,n){return function(e){return e>=1?n:function(){const r="function"==typeof t?t.apply(this,arguments):t,i="function"==typeof n?n.apply(this,arguments):n;return sn(r,i)(e)}}},fn=function(t,n){const e=(t,n)=>t!==n&&un(t)&&un(n)?"function"==typeof t||"function"==typeof n?ln(t,n):"object"==typeof t&&ct()(t)||"object"==typeof n&&ct()(n)?fn(t,n):sn(t,n):cn(t,n),r=t=>Array.isArray(t)?ft()(t,"key"):t,i={},o={};let a,s=t,u=n;for(a in null!==s&&"object"==typeof s||(s={}),null!==u&&"object"==typeof u||(u={}),u)a in s?i[a]=e(r(s[a]),r(u[a])):o[a]=u[a];return function(t){for(a in i)o[a]=i[a](t);return o}};var hn,pn,dn=0,gn=0,yn=0,mn=0,vn=0,xn=0,_n="object"==typeof performance&&performance.now?performance:Date,bn="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function wn(){return vn||(bn(Mn),vn=_n.now()+xn)}function Mn(){vn=0}function An(){this._call=this._time=this._next=null}function kn(t,n,e){var r=new An;return r.restart(t,n,e),r}function En(){vn=(mn=_n.now())+xn,dn=gn=0;try{!function(){wn(),++dn;for(var t,n=hn;n;)(t=vn-n._time)>=0&&n._call.call(void 0,t),n=n._next;--dn}()}finally{dn=0,function(){for(var t,n,e=hn,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:hn=n);pn=t,Sn(r)}(),vn=0}}function Cn(){var t=_n.now(),n=t-mn;n>1e3&&(xn-=n,mn=t)}function Sn(t){dn||(gn&&(gn=clearTimeout(gn)),t-vn>24?(t<1/0&&(gn=setTimeout(En,t-_n.now()-xn)),yn&&(yn=clearInterval(yn))):(yn||(mn=_n.now(),yn=setInterval(Cn,1e3)),dn=1,bn(En)))}An.prototype=kn.prototype={constructor:An,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?wn():+e)+(null==n?0:+n),this._next||pn===this||(pn?pn._next=this:hn=this,pn=this),this._call=t,this._time=e,Sn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Sn())}};class On{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(wn()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=kn(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:wn(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const Tn=E().createContext({transitionTimer:new On,animationTimer:new On});Tn.displayName="TimerContext";var jn=Tn;const Dn=1e3,Pn=n=>{let{duration:e=Dn,easing:r="quadInOut",delay:i=0,data:o,children:a,onEnd:s}=n;const[u,c]=E().useState({data:Array.isArray(o)?o[0]:o,animationInfo:{progress:0,animating:!1}}),l=E().useContext(jn).animationTimer,f=E().useRef(Array.isArray(o)?o.slice(1):[]),h=E().useRef(null),p=E().useRef(void 0),d=t[(g=r,`ease${g.charAt(0).toUpperCase()+g.slice(1)}`)];var g;E().useEffect((()=>(f.current.length&&y(),()=>{p.current?l.unsubscribe(p.current):l.stop()})),[]),E().useEffect((()=>{h.current&&u.animationInfo&&u.animationInfo.progress<1?c({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(l.unsubscribe(p.cur