mage-ai 0.8.36__py3-none-any.whl → 0.8.38__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mage-ai might be problematic. Click here for more details.
- mage_ai/api/logging.py +2 -2
- mage_ai/api/resources/PipelineRunResource.py +6 -3
- mage_ai/data_integrations/sources/constants.py +1 -0
- mage_ai/data_preparation/models/block/dbt/__init__.py +20 -0
- mage_ai/data_preparation/models/block/dbt/utils/__init__.py +4 -1
- mage_ai/data_preparation/models/block/sql/utils/shared.py +4 -4
- mage_ai/data_preparation/models/block/utils.py +2 -1
- mage_ai/data_preparation/models/pipeline.py +18 -3
- mage_ai/orchestration/pipeline_scheduler.py +37 -27
- mage_ai/server/active_kernel.py +6 -3
- mage_ai/server/api/clusters.py +4 -1
- mage_ai/server/api/integration_sources.py +5 -2
- mage_ai/server/client/mage.py +2 -2
- mage_ai/server/constants.py +1 -1
- mage_ai/server/data/base.py +2 -2
- mage_ai/server/data/models.py +2 -2
- mage_ai/server/execution_manager.py +4 -1
- mage_ai/server/frontend_dist/404.html +2 -2
- mage_ai/server/frontend_dist/404.html.html +2 -2
- mage_ai/server/frontend_dist/_next/static/{Jr2a8psREhSP9ee5P4ILJ → R_cV5sAcMT3qDXIKAGGPe}/_buildManifest.js +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{2626-905774aafeb2c600.js → 2626-e7fa4f83f8214c97.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/4178-9103014b7dae3c49.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{4538-8a3c3e47be976ede.js → 4538-347283088b83c6bf.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{5477-793cd2120261d023.js → 5477-b439f211b6146a11.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{5872-103815a4a043489b.js → 5872-1767c45ee6690ae5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{5896-f84e336fb8877027.js → 5896-10a676bcc86978cc.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{7400-365cb7888b6db7d9.js → 7400-f4db9b5d41f67f75.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{9386-fb899ca8ecc2a350.js → 9386-d4cc11bab74eec8d.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{9832-c8b8970bb522f302.js → 9832-f97919376d52e3bf.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{manage-9e5f315db570ac77.js → manage-3046bc53d24917c7.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{pipeline-runs-79e10a783afec3df.js → pipeline-runs-e64ba4e8b2bfe73c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-6d04570af5494767.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{syncs-1767a2f57f887ef7.js → syncs-e1271453ed0c8d6e.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{pipelines-52c3ee3817e5554b.js → pipelines-7446a70bdd8381a5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{preferences-a23b61bab04a16f3.js → preferences-997acba85f777259.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{sync-data-de28e502102defde.js → sync-data-8c903140c99e487c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{terminal-9c21edae8f1b6737.js → terminal-4c9ad80f8f9d1074.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{triggers-8a2169d30b643ae7.js → triggers-783b9526167f1249.js} +1 -1
- mage_ai/server/frontend_dist/index.html +2 -2
- mage_ai/server/frontend_dist/manage.html +4 -4
- mage_ai/server/frontend_dist/pipeline-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist/pipelines.html +5 -5
- mage_ai/server/frontend_dist/settings/account/profile.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/preferences.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/sync-data.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/users.html +5 -5
- mage_ai/server/frontend_dist/settings.html +2 -2
- mage_ai/server/frontend_dist/sign-in.html +10 -10
- mage_ai/server/frontend_dist/terminal.html +5 -5
- mage_ai/server/frontend_dist/test.html +3 -3
- mage_ai/server/frontend_dist/triggers.html +5 -5
- mage_ai/server/logger.py +16 -0
- mage_ai/server/scheduler_manager.py +8 -4
- mage_ai/server/server.py +5 -0
- mage_ai/server/subscriber.py +6 -3
- mage_ai/server/utils/frontend_renderer.py +3 -2
- mage_ai/server/utils/output_display.py +1 -1
- mage_ai/server/websocket_server.py +4 -1
- mage_ai/settings/__init__.py +2 -0
- mage_ai/shared/logger.py +4 -0
- {mage_ai-0.8.36.dist-info → mage_ai-0.8.38.dist-info}/METADATA +1 -1
- {mage_ai-0.8.36.dist-info → mage_ai-0.8.38.dist-info}/RECORD +81 -80
- mage_ai/server/frontend_dist/_next/static/chunks/4178-e17f37d21253b832.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-6a52671f1853e1a5.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{Jr2a8psREhSP9ee5P4ILJ → R_cV5sAcMT3qDXIKAGGPe}/_middlewareManifest.js +0 -0
- /mage_ai/server/frontend_dist/_next/static/{Jr2a8psREhSP9ee5P4ILJ → R_cV5sAcMT3qDXIKAGGPe}/_ssgManifest.js +0 -0
- {mage_ai-0.8.36.dist-info → mage_ai-0.8.38.dist-info}/LICENSE +0 -0
- {mage_ai-0.8.36.dist-info → mage_ai-0.8.38.dist-info}/WHEEL +0 -0
- {mage_ai-0.8.36.dist-info → mage_ai-0.8.38.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.8.36.dist-info → mage_ai-0.8.38.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5872],{92469:function(t,e,n){n.d(e,{He:function(){return u},Ld:function(){return b},eC:function(){return h},f3:function(){return a},iG:function(){return l},rS:function(){return d},sb:function(){return y},ys:function(){return o}});var i=n(88489),r=n(82684);const s=Symbol.for("Animated:node"),o=t=>t&&t[s],a=(t,e)=>(0,i.dE)(t,s,e),u=t=>t&&t[s]&&t[s].getPayload();class c{constructor(){this.payload=void 0,a(this,this)}getPayload(){return this.payload||[]}}class l extends c{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,i.is.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new l(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,e){return i.is.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,i.is.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}class h extends l{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=(0,i.mD)({output:[t,t]})}static create(t){return new h(t)}getValue(){let t=this._string;return null==t?this._string=this._toString(this._value):t}setValue(t){if(i.is.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!super.setValue(t))return!1;this._string=null}return!0}reset(t){t&&(this._toString=(0,i.mD)({output:[this.getValue(),t]})),this._value=0,super.reset()}}const f={dependencies:null};class d extends c{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const e={};return(0,i.rU)(this.source,((n,r)=>{var o;(o=n)&&o[s]===o?e[r]=n.getValue(t):(0,i.j$)(n)?e[r]=(0,i.je)(n):t||(e[r]=n)})),e}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&(0,i.S6)(this.payload,(t=>t.reset()))}_makePayload(t){if(t){const e=new Set;return(0,i.rU)(t,this._addToPayload,e),Array.from(e)}}_addToPayload(t){f.dependencies&&(0,i.j$)(t)&&f.dependencies.add(t);const e=u(t);e&&(0,i.S6)(e,(t=>this.add(t)))}}class _ extends d{constructor(t){super(t)}static create(t){return new _(t)}getValue(){return this.source.map((t=>t.getValue()))}setValue(t){const e=this.getPayload();return t.length==e.length?e.map(((e,n)=>e.setValue(t[n]))).some(Boolean):(super.setValue(t.map(p)),!0)}}function p(t){return((0,i.Df)(t)?h:l).create(t)}function y(t){const e=o(t);return e?e.constructor:i.is.arr(t)?_:(0,i.Df)(t)?h:l}function g(){return g=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},g.apply(this,arguments)}const v=(t,e)=>{const n=!i.is.fun(t)||t.prototype&&t.prototype.isReactComponent;return(0,r.forwardRef)(((s,o)=>{const a=(0,r.useRef)(null),u=n&&(0,r.useCallback)((t=>{a.current=function(t,e){t&&(i.is.fun(t)?t(e):t.current=e);return e}(o,t)}),[o]),[c,l]=function(t,e){const n=new Set;f.dependencies=n,t.style&&(t=g({},t,{style:e.createAnimatedStyle(t.style)}));return t=new d(t),f.dependencies=null,[t,n]}(s,e),h=(0,i.NW)(),_=()=>{const t=a.current;if(n&&!t)return;!1===(!!t&&e.applyAnimatedValues(t,c.getValue(!0)))&&h()},p=new m(_,l),y=(0,r.useRef)();(0,i.LI)((()=>(y.current=p,(0,i.S6)(l,(t=>(0,i.UI)(t,p))),()=>{y.current&&((0,i.S6)(y.current.deps,(t=>(0,i.iL)(t,y.current))),i.Wn.cancel(y.current.update))}))),(0,r.useEffect)(_,[]),(0,i.tf)((()=>()=>{const t=y.current;(0,i.S6)(t.deps,(e=>(0,i.iL)(e,t)))}));const v=e.getComponentProps(c.getValue());return r.createElement(t,g({},v,{ref:u}))}))};class m{constructor(t,e){this.update=t,this.deps=e}eventObserved(t){"change"==t.type&&i.Wn.write(this.update)}}const x=Symbol.for("AnimatedComponent"),b=(t,{applyAnimatedValues:e=(()=>!1),createAnimatedStyle:n=(t=>new d(t)),getComponentProps:r=(t=>t)}={})=>{const s={applyAnimatedValues:e,createAnimatedStyle:n,getComponentProps:r},o=t=>{const e=w(t)||"Anonymous";return(t=i.is.str(t)?o[t]||(o[t]=v(t,s)):t[x]||(t[x]=v(t,s))).displayName=`Animated(${e})`,t};return(0,i.rU)(t,((e,n)=>{i.is.arr(t)&&(n=w(e)),o[n]=o(e)})),{animated:o}},w=t=>i.is.str(t)?t:t&&i.is.str(t.displayName)?t.displayName:i.is.fun(t)&&t.name||null},79950:function(t,e,n){n.d(e,{Globals:function(){return i.OH},to:function(){return St},useTransition:function(){return yt}});var i=n(88489),r=n(82684),s=n(92469);function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},o.apply(this,arguments)}function a(t,...e){return i.is.fun(t)?t(...e):t}const u=(t,e)=>!0===t||!!(e&&t&&(i.is.fun(t)?t(e):(0,i.qo)(t).includes(e))),c=(t,e)=>i.is.obj(t)?e&&t[e]:t,l=(t,e)=>!0===t.default?t[e]:t.default?t.default[e]:void 0,h=t=>t,f=(t,e=h)=>{let n=d;t.default&&!0!==t.default&&(t=t.default,n=Object.keys(t));const r={};for(const s of n){const n=e(t[s],s);i.is.und(n)||(r[s]=n)}return r},d=["config","onProps","onStart","onChange","onPause","onResume","onRest"],_={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function p(t){const e=function(t){const e={};let n=0;if((0,i.rU)(t,((t,i)=>{_[i]||(e[i]=t,n++)})),n)return e}(t);if(e){const n={to:e};return(0,i.rU)(t,((t,i)=>i in e||(n[i]=t))),n}return o({},t)}function y(t){return t=(0,i.je)(t),i.is.arr(t)?t.map(y):(0,i.Df)(t)?i.OH.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function g(t){for(const e in t)return!0;return!1}function v(t){return i.is.fun(t)||i.is.arr(t)&&i.is.obj(t[0])}function m(t,e){var n;null==(n=t.ref)||n.delete(t),null==e||e.delete(t)}function x(t,e){var n;e&&t.ref!==e&&(null==(n=t.ref)||n.delete(t),e.add(t),t.ref=e)}const b=o({},{tension:170,friction:26},{mass:1,damping:1,easing:i.Z5.linear,clamp:!1});class w{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,b)}}function S(t,e){if(i.is.und(e.decay)){const n=!i.is.und(e.tension)||!i.is.und(e.friction);!n&&i.is.und(e.frequency)&&i.is.und(e.damping)&&i.is.und(e.mass)||(t.duration=void 0,t.decay=void 0),n&&(t.frequency=void 0)}else t.duration=void 0}const M=[];class T{constructor(){this.changed=!1,this.values=M,this.toValues=null,this.fromValues=M,this.to=void 0,this.from=void 0,this.config=new w,this.immediate=!1}}function k(t,{key:e,props:n,defaultProps:r,state:s,actions:c}){return new Promise(((l,h)=>{var f;let d,_,p=u(null!=(f=n.cancel)?f:null==r?void 0:r.cancel,e);if(p)v();else{i.is.und(n.pause)||(s.paused=u(n.pause,e));let t=null==r?void 0:r.pause;!0!==t&&(t=s.paused||u(t,e)),d=a(n.delay||0,e),t?(s.resumeQueue.add(g),c.pause()):(c.resume(),g())}function y(){s.resumeQueue.add(g),s.timeouts.delete(_),_.cancel(),d=_.time-i.Wn.now()}function g(){d>0&&!i.OH.skipAnimation?(s.delayed=!0,_=i.Wn.setTimeout(v,d),s.pauseQueue.add(y),s.timeouts.add(_)):v()}function v(){s.delayed&&(s.delayed=!1),s.pauseQueue.delete(y),s.timeouts.delete(_),t<=(s.cancelId||0)&&(p=!0);try{c.start(o({},n,{callId:t,cancel:p}),l)}catch(e){h(e)}}}))}const Z=(t,e)=>1==e.length?e[0]:e.some((t=>t.cancelled))?C(t.get()):e.every((t=>t.noop))?O(t.get()):A(t.get(),e.every((t=>t.finished))),O=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),A=(t,e,n=!1)=>({value:t,finished:e,cancelled:n}),C=t=>({value:t,cancelled:!0,finished:!1});function E(t,e,n,r){const{callId:s,parentId:a,onRest:u}=e,{asyncTo:c,promise:l}=n;return a||t!==c||e.reset?n.promise=(async()=>{n.asyncId=s,n.asyncTo=t;const h=f(e,((t,e)=>"onRest"===e?void 0:t));let d,_;const p=new Promise(((t,e)=>(d=t,_=e))),y=t=>{const e=s<=(n.cancelId||0)&&C(r)||s!==n.asyncId&&A(r,!1);if(e)throw t.result=e,_(t),t},g=(t,e)=>{const a=new R,u=new j;return(async()=>{if(i.OH.skipAnimation)throw P(n),u.result=A(r,!1),_(u),u;y(a);const c=i.is.obj(t)?o({},t):o({},e,{to:t});c.parentId=s,(0,i.rU)(h,((t,e)=>{i.is.und(c[e])&&(c[e]=t)}));const l=await r.start(c);return y(a),n.paused&&await new Promise((t=>{n.resumeQueue.add(t)})),l})()};let v;if(i.OH.skipAnimation)return P(n),A(r,!1);try{let e;e=i.is.arr(t)?(async t=>{for(const e of t)await g(e)})(t):Promise.resolve(t(g,r.stop.bind(r))),await Promise.all([e.then(d),p]),v=A(r.get(),!0,!1)}catch(m){if(m instanceof R)v=m.result;else{if(!(m instanceof j))throw m;v=m.result}}finally{s==n.asyncId&&(n.asyncId=a,n.asyncTo=a?c:void 0,n.promise=a?l:void 0)}return i.is.fun(u)&&i.Wn.batchedUpdates((()=>{u(v,r,r.item)})),v})():l}function P(t,e){(0,i.yl)(t.timeouts,(t=>t.cancel())),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}class R extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class j extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const I=t=>t instanceof U;let N=1;class U extends i.B0{constructor(...t){super(...t),this.id=N++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=(0,s.ys)(this);return t&&t.getValue()}to(...t){return i.OH.to(this,t)}interpolate(...t){return(0,i.LW)(),i.OH.to(this,t)}toJSON(){return this.get()}observerAdded(t){1==t&&this._attach()}observerRemoved(t){0==t&&this._detach()}_attach(){}_detach(){}_onChange(t,e=!1){(0,i.k0)(this,{type:"change",parent:this,value:t,idle:e})}_onPriorityChange(t){this.idle||i.fT.sort(this),(0,i.k0)(this,{type:"priority",parent:this,priority:t})}}const D=Symbol.for("SpringPhase"),q=t=>(1&t[D])>0,V=t=>(2&t[D])>0,L=t=>(4&t[D])>0,F=(t,e)=>e?t[D]|=3:t[D]&=-3,z=(t,e)=>e?t[D]|=4:t[D]&=-5;class $ extends U{constructor(t,e){if(super(),this.key=void 0,this.animation=new T,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!i.is.und(t)||!i.is.und(e)){const n=i.is.obj(t)?o({},t):o({},e,{from:t});i.is.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(V(this)||this._state.asyncTo)||L(this)}get goal(){return(0,i.je)(this.animation.to)}get velocity(){const t=(0,s.ys)(this);return t instanceof s.iG?t.lastVelocity||0:t.getPayload().map((t=>t.lastVelocity||0))}get hasAnimated(){return q(this)}get isAnimating(){return V(this)}get isPaused(){return L(this)}get isDelayed(){return this._state.delayed}advance(t){let e=!0,n=!1;const r=this.animation;let{config:o,toValues:a}=r;const u=(0,s.He)(r.to);!u&&(0,i.j$)(r.to)&&(a=(0,i.qo)((0,i.je)(r.to))),r.values.forEach(((c,l)=>{if(c.done)return;const h=c.constructor==s.eC?1:u?u[l].lastPosition:a[l];let f=r.immediate,d=h;if(!f){if(d=c.lastPosition,o.tension<=0)return void(c.done=!0);let e=c.elapsedTime+=t;const n=r.fromValues[l],s=null!=c.v0?c.v0:c.v0=i.is.arr(o.velocity)?o.velocity[l]:o.velocity;let a;const u=o.precision||(n==h?.005:Math.min(1,.001*Math.abs(h-n)));if(i.is.und(o.duration))if(o.decay){const t=!0===o.decay?.998:o.decay,i=Math.exp(-(1-t)*e);d=n+s/(1-t)*(1-i),f=Math.abs(c.lastPosition-d)<=u,a=s*i}else{a=null==c.lastVelocity?s:c.lastVelocity;const e=o.restVelocity||u/10,r=o.clamp?0:o.bounce,l=!i.is.und(r),_=n==h?c.v0>0:n<h;let p,y=!1;const g=1,v=Math.ceil(t/g);for(let t=0;t<v&&(p=Math.abs(a)>e,p||(f=Math.abs(h-d)<=u,!f));++t){l&&(y=d==h||d>h==_,y&&(a=-a*r,d=h));a+=(1e-6*-o.tension*(d-h)+.001*-o.friction*a)/o.mass*g,d+=a*g}}else{let i=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,c.durationProgress>0&&(c.elapsedTime=o.duration*c.durationProgress,e=c.elapsedTime+=t)),i=(o.progress||0)+e/this._memoizedDuration,i=i>1?1:i<0?0:i,c.durationProgress=i),d=n+o.easing(i)*(h-n),a=(d-c.lastPosition)/t,f=1==i}c.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),f=!0)}u&&!u[l].done&&(f=!1),f?c.done=!0:e=!1,c.setValue(d,o.round)&&(n=!0)}));const c=(0,s.ys)(this),l=c.getValue();if(e){const t=(0,i.je)(r.to);l===t&&!n||o.decay?n&&o.decay&&this._onChange(l):(c.setValue(t),this._onChange(t)),this._stop()}else n&&this._onChange(l)}set(t){return i.Wn.batchedUpdates((()=>{this._stop(),this._focus(t),this._set(t)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(V(this)){const{to:t,config:e}=this.animation;i.Wn.batchedUpdates((()=>{this._onStart(),e.decay||this._set(t,!1),this._stop()}))}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,e){let n;return i.is.und(t)?(n=this.queue||[],this.queue=[]):n=[i.is.obj(t)?t:o({},e,{to:t})],Promise.all(n.map((t=>this._update(t)))).then((t=>Z(this,t)))}stop(t){const{to:e}=this.animation;return this._focus(this.get()),P(this._state,t&&this._lastCallId),i.Wn.batchedUpdates((()=>this._stop(e,t))),this}reset(){this._update({reset:!0})}eventObserved(t){"change"==t.type?this._start():"priority"==t.type&&(this.priority=t.priority+1)}_prepareNode(t){const e=this.key||"";let{to:n,from:r}=t;n=i.is.obj(n)?n[e]:n,(null==n||v(n))&&(n=void 0),r=i.is.obj(r)?r[e]:r,null==r&&(r=void 0);const o={to:n,from:r};return q(this)||(t.reverse&&([n,r]=[r,n]),r=(0,i.je)(r),i.is.und(r)?(0,s.ys)(this)||this._set(n):this._set(r)),o}_update(t,e){let n=o({},t);const{key:r,defaultProps:s}=this;n.default&&Object.assign(s,f(n,((t,e)=>/^on/.test(e)?c(t,r):t))),X(this,n,"onProps"),G(this,"onProps",n,this);const a=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const u=this._state;return k(++this._lastCallId,{key:r,props:n,defaultProps:s,state:u,actions:{pause:()=>{L(this)||(z(this,!0),(0,i.bl)(u.pauseQueue),G(this,"onPause",A(this,W(this,this.animation.to)),this))},resume:()=>{L(this)&&(z(this,!1),V(this)&&this._resume(),(0,i.bl)(u.resumeQueue),G(this,"onResume",A(this,W(this,this.animation.to)),this))},start:this._merge.bind(this,a)}}).then((t=>{if(n.loop&&t.finished&&(!e||!t.noop)){const t=H(n);if(t)return this._update(t,!0)}return t}))}_merge(t,e,n){if(e.cancel)return this.stop(!0),n(C(this));const r=!i.is.und(t.to),c=!i.is.und(t.from);if(r||c){if(!(e.callId>this._lastToId))return n(C(this));this._lastToId=e.callId}const{key:l,defaultProps:h,animation:f}=this,{to:d,from:_}=f;let{to:p=d,from:g=_}=t;!c||r||e.default&&!i.is.und(p)||(p=g),e.reverse&&([p,g]=[g,p]);const m=!(0,i.Xy)(g,_);m&&(f.from=g),g=(0,i.je)(g);const x=!(0,i.Xy)(p,d);x&&this._focus(p);const w=v(e.to),{config:M}=f,{decay:T,velocity:k}=M;(r||c)&&(M.velocity=0),e.config&&!w&&function(t,e,n){n&&(S(n=o({},n),e),e=o({},n,e)),S(t,e),Object.assign(t,e);for(const i in b)null==t[i]&&(t[i]=b[i]);let{mass:r,frequency:s,damping:a}=t;i.is.und(s)||(s<.01&&(s=.01),a<0&&(a=0),t.tension=Math.pow(2*Math.PI/s,2)*r,t.friction=4*Math.PI*a*r/s)}(M,a(e.config,l),e.config!==h.config?a(h.config,l):void 0);let Z=(0,s.ys)(this);if(!Z||i.is.und(p))return n(A(this,!0));const P=i.is.und(e.reset)?c&&!e.default:!i.is.und(g)&&u(e.reset,l),R=P?g:this.get(),j=y(p),I=i.is.num(j)||i.is.arr(j)||(0,i.Df)(j),N=!w&&(!I||u(h.immediate||e.immediate,l));if(x){const t=(0,s.sb)(p);if(t!==Z.constructor){if(!N)throw Error(`Cannot animate between ${Z.constructor.name} and ${t.name}, as the "to" prop suggests`);Z=this._set(j)}}const U=Z.constructor;let D=(0,i.j$)(p),L=!1;if(!D){const t=P||!q(this)&&m;(x||t)&&(L=(0,i.Xy)(y(R),j),D=!L),((0,i.Xy)(f.immediate,N)||N)&&(0,i.Xy)(M.decay,T)&&(0,i.Xy)(M.velocity,k)||(D=!0)}if(L&&V(this)&&(f.changed&&!P?D=!0:D||this._stop(d)),!w&&((D||(0,i.j$)(d))&&(f.values=Z.getPayload(),f.toValues=(0,i.j$)(p)?null:U==s.eC?[1]:(0,i.qo)(j)),f.immediate!=N&&(f.immediate=N,N||P||this._set(d)),D)){const{onRest:t}=f;(0,i.S6)(Q,(t=>X(this,e,t)));const r=A(this,W(this,d));(0,i.bl)(this._pendingCalls,r),this._pendingCalls.add(n),f.changed&&i.Wn.batchedUpdates((()=>{f.changed=!P,null==t||t(r,this),P?a(h.onRest,r):null==f.onStart||f.onStart(r,this)}))}P&&this._set(R),w?n(E(e.to,e,this._state,this)):D?this._start():V(this)&&!x?this._pendingCalls.add(n):n(O(R))}_focus(t){const e=this.animation;t!==e.to&&((0,i.Ll)(this)&&this._detach(),e.to=t,(0,i.Ll)(this)&&this._attach())}_attach(){let t=0;const{to:e}=this.animation;(0,i.j$)(e)&&((0,i.UI)(e,this),I(e)&&(t=e.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;(0,i.j$)(t)&&(0,i.iL)(t,this)}_set(t,e=!0){const n=(0,i.je)(t);if(!i.is.und(n)){const t=(0,s.ys)(this);if(!t||!(0,i.Xy)(n,t.getValue())){const r=(0,s.sb)(n);t&&t.constructor==r?t.setValue(n):(0,s.f3)(this,r.create(n)),t&&i.Wn.batchedUpdates((()=>{this._onChange(n,e)}))}}return(0,s.ys)(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,G(this,"onStart",A(this,W(this,t.to)),this))}_onChange(t,e){e||(this._onStart(),a(this.animation.onChange,t,this)),a(this.defaultProps.onChange,t,this),super._onChange(t,e)}_start(){const t=this.animation;(0,s.ys)(this).reset((0,i.je)(t.to)),t.immediate||(t.fromValues=t.values.map((t=>t.lastPosition))),V(this)||(F(this,!0),L(this)||this._resume())}_resume(){i.OH.skipAnimation?this.finish():i.fT.start(this)}_stop(t,e){if(V(this)){F(this,!1);const n=this.animation;(0,i.S6)(n.values,(t=>{t.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),(0,i.k0)(this,{type:"idle",parent:this});const r=e?C(this.get()):A(this.get(),W(this,null!=t?t:n.to));(0,i.bl)(this._pendingCalls,r),n.changed&&(n.changed=!1,G(this,"onRest",r,this))}}}function W(t,e){const n=y(e),r=y(t.get());return(0,i.Xy)(r,n)}function H(t,e=t.loop,n=t.to){let i=a(e);if(i){const r=!0!==i&&p(i),s=(r||t).reverse,a=!r||r.reset;return B(o({},t,{loop:e,default:!1,pause:void 0,to:!s||v(n)?n:void 0,from:a?t.from:void 0,reset:a},r))}}function B(t){const{to:e,from:n}=t=p(t),r=new Set;return i.is.obj(e)&&Y(e,r),i.is.obj(n)&&Y(n,r),t.keys=r.size?Array.from(r):null,t}function Y(t,e){(0,i.rU)(t,((t,n)=>null!=t&&e.add(n)))}const Q=["onStart","onRest","onChange","onPause","onResume"];function X(t,e,n){t.animation[n]=e[n]!==l(e,n)?c(e[n],t.key):void 0}function G(t,e,...n){var i,r,s,o;null==(i=(r=t.animation)[e])||i.call(r,...n),null==(s=(o=t.defaultProps)[e])||s.call(o,...n)}const J=["onStart","onChange","onRest"];let K=1;class tt{constructor(t,e){this.id=K++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),t&&this.start(o({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((t=>t.idle&&!t.isDelayed&&!t.isPaused))}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each(((e,n)=>t[n]=e.get())),t}set(t){for(const e in t){const n=t[e];i.is.und(n)||this.springs[e].set(n)}}update(t){return t&&this.queue.push(B(t)),this}start(t){let{queue:e}=this;return t?e=(0,i.qo)(t).map(B):this.queue=[],this._flush?this._flush(this,e):(at(this,e),et(this,e))}stop(t,e){if(t!==!!t&&(e=t),e){const n=this.springs;(0,i.S6)((0,i.qo)(e),(e=>n[e].stop(!!t)))}else P(this._state,this._lastAsyncId),this.each((e=>e.stop(!!t)));return this}pause(t){if(i.is.und(t))this.start({pause:!0});else{const e=this.springs;(0,i.S6)((0,i.qo)(t),(t=>e[t].pause()))}return this}resume(t){if(i.is.und(t))this.start({pause:!1});else{const e=this.springs;(0,i.S6)((0,i.qo)(t),(t=>e[t].resume()))}return this}each(t){(0,i.rU)(this.springs,t)}_onFrame(){const{onStart:t,onChange:e,onRest:n}=this._events,r=this._active.size>0,s=this._changed.size>0;(r&&!this._started||s&&!this._started)&&(this._started=!0,(0,i.yl)(t,(([t,e])=>{e.value=this.get(),t(e,this,this._item)})));const o=!r&&this._started,a=s||o&&n.size?this.get():null;s&&e.size&&(0,i.yl)(e,(([t,e])=>{e.value=a,t(e,this,this._item)})),o&&(this._started=!1,(0,i.yl)(n,(([t,e])=>{e.value=a,t(e,this,this._item)})))}eventObserved(t){if("change"==t.type)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else{if("idle"!=t.type)return;this._active.delete(t.parent)}i.Wn.onFrame(this._onFrame)}}function et(t,e){return Promise.all(e.map((e=>nt(t,e)))).then((e=>Z(t,e)))}async function nt(t,e,n){const{keys:r,to:s,from:o,loop:a,onRest:u,onResolve:c}=e,h=i.is.obj(e.default)&&e.default;a&&(e.loop=!1),!1===s&&(e.to=null),!1===o&&(e.from=null);const f=i.is.arr(s)||i.is.fun(s)?s:void 0;f?(e.to=void 0,e.onRest=void 0,h&&(h.onRest=void 0)):(0,i.S6)(J,(n=>{const r=e[n];if(i.is.fun(r)){const i=t._events[n];e[n]=({finished:t,cancelled:e})=>{const n=i.get(r);n?(t||(n.finished=!1),e&&(n.cancelled=!0)):i.set(r,{value:null,finished:t||!1,cancelled:e||!1})},h&&(h[n]=e[n])}}));const d=t._state;e.pause===!d.paused?(d.paused=e.pause,(0,i.bl)(e.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(e.pause=!0);const _=(r||Object.keys(t.springs)).map((n=>t.springs[n].start(e))),p=!0===e.cancel||!0===l(e,"cancel");(f||p&&d.asyncId)&&_.push(k(++t._lastAsyncId,{props:e,state:d,actions:{pause:i.ZT,resume:i.ZT,start(e,n){p?(P(d,t._lastAsyncId),n(C(t))):(e.onRest=u,n(E(f,e,d,t)))}}})),d.paused&&await new Promise((t=>{d.resumeQueue.add(t)}));const y=Z(t,await Promise.all(_));if(a&&y.finished&&(!n||!y.noop)){const n=H(e,a,s);if(n)return at(t,[n]),nt(t,n,!0)}return c&&i.Wn.batchedUpdates((()=>c(y,t,t.item))),y}function it(t,e){const n=o({},t.springs);return e&&(0,i.S6)((0,i.qo)(e),(t=>{i.is.und(t.keys)&&(t=B(t)),i.is.obj(t.to)||(t=o({},t,{to:void 0})),ot(n,t,(t=>st(t)))})),rt(t,n),n}function rt(t,e){(0,i.rU)(e,((e,n)=>{t.springs[n]||(t.springs[n]=e,(0,i.UI)(e,t))}))}function st(t,e){const n=new $;return n.key=t,e&&(0,i.UI)(n,e),n}function ot(t,e,n){e.keys&&(0,i.S6)(e.keys,(i=>{(t[i]||(t[i]=n(i)))._prepareNode(e)}))}function at(t,e){(0,i.S6)(e,(e=>{ot(t.springs,e,(e=>st(e,t)))}))}function ut(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}const ct=["children"],lt=t=>{let{children:e}=t,n=ut(t,ct);const s=(0,r.useContext)(ht),o=n.pause||!!s.pause,a=n.immediate||!!s.immediate;n=(0,i.Pr)((()=>({pause:o,immediate:a})),[o,a]);const{Provider:u}=ht;return r.createElement(u,{value:n},e)},ht=(ft=lt,dt={},Object.assign(ft,r.createContext(dt)),ft.Provider._context=ft,ft.Consumer._context=ft,ft);var ft,dt;lt.Provider=ht.Provider,lt.Consumer=ht.Consumer;const _t=()=>{const t=[],e=function(e){(0,i.ZR)();const r=[];return(0,i.S6)(t,((t,s)=>{if(i.is.und(e))r.push(t.start());else{const i=n(e,t,s);i&&r.push(t.start(i))}})),r};e.current=t,e.add=function(e){t.includes(e)||t.push(e)},e.delete=function(e){const n=t.indexOf(e);~n&&t.splice(n,1)},e.pause=function(){return(0,i.S6)(t,(t=>t.pause(...arguments))),this},e.resume=function(){return(0,i.S6)(t,(t=>t.resume(...arguments))),this},e.set=function(e){(0,i.S6)(t,(t=>t.set(e)))},e.start=function(e){const n=[];return(0,i.S6)(t,((t,r)=>{if(i.is.und(e))n.push(t.start());else{const i=this._getProps(e,t,r);i&&n.push(t.start(i))}})),n},e.stop=function(){return(0,i.S6)(t,(t=>t.stop(...arguments))),this},e.update=function(e){return(0,i.S6)(t,((t,n)=>t.update(this._getProps(e,t,n)))),this};const n=function(t,e,n){return i.is.fun(t)?t(n,e):t};return e._getProps=n,e};let pt;function yt(t,e,n){const s=i.is.fun(e)&&e,{reset:u,sort:c,trail:l=0,expires:h=!0,exitBeforeEnter:d=!1,onDestroyed:_,ref:y,config:v}=s?s():e,b=(0,r.useMemo)((()=>s||3==arguments.length?_t():void 0),[]),w=(0,i.qo)(t),S=[],M=(0,r.useRef)(null),T=u?null:M.current;(0,i.LI)((()=>{M.current=S})),(0,i.tf)((()=>((0,i.S6)(S,(t=>{null==b||b.add(t.ctrl),t.ctrl.ref=b})),()=>{(0,i.S6)(M.current,(t=>{t.expired&&clearTimeout(t.expirationId),m(t.ctrl,b),t.ctrl.stop(!0)}))})));const k=vt(w,s?s():e,T),Z=u&&M.current||[];(0,i.LI)((()=>(0,i.S6)(Z,(({ctrl:t,item:e,key:n})=>{m(t,b),a(_,e,n)}))));const O=[];if(T&&(0,i.S6)(T,((t,e)=>{t.expired?(clearTimeout(t.expirationId),Z.push(t)):~(e=O[e]=k.indexOf(t.key))&&(S[e]=t)})),(0,i.S6)(w,((t,e)=>{S[e]||(S[e]={key:k[e],item:t,phase:pt.MOUNT,ctrl:new tt},S[e].ctrl.item=t)})),O.length){let t=-1;const{leave:n}=s?s():e;(0,i.S6)(O,((e,i)=>{const r=T[i];~e?(t=S.indexOf(r),S[t]=o({},r,{item:w[e]})):n&&S.splice(++t,0,r)}))}i.is.fun(c)&&S.sort(((t,e)=>c(t.item,e.item)));let A=-l;const C=(0,i.NW)(),E=f(e),P=new Map,R=(0,r.useRef)(new Map),j=(0,r.useRef)(!1);(0,i.S6)(S,((t,n)=>{const r=t.key,u=t.phase,c=s?s():e;let f,_,g=a(c.delay||0,r);if(u==pt.MOUNT)f=c.enter,_=pt.ENTER;else{const t=k.indexOf(r)<0;if(u!=pt.LEAVE)if(t)f=c.leave,_=pt.LEAVE;else{if(!(f=c.update))return;_=pt.UPDATE}else{if(t)return;f=c.enter,_=pt.ENTER}}if(f=a(f,t.item,n),f=i.is.obj(f)?p(f):{to:f},!f.config){const e=v||E.config;f.config=a(e,t.item,n,_)}A+=l;const m=o({},E,{delay:g+A,ref:y,immediate:c.immediate,reset:!1},f);if(_==pt.ENTER&&i.is.und(m.from)){const r=s?s():e,o=i.is.und(r.initial)||T?r.from:r.initial;m.from=a(o,t.item,n)}const{onResolve:x}=m;m.onResolve=t=>{a(x,t);const e=M.current,n=e.find((t=>t.key===r));if(n&&(!t.cancelled||n.phase==pt.UPDATE)&&n.ctrl.idle){const t=e.every((t=>t.ctrl.idle));if(n.phase==pt.LEAVE){const e=a(h,n.item);if(!1!==e){const i=!0===e?0:e;if(n.expired=!0,!t&&i>0)return void(i<=2147483647&&(n.expirationId=setTimeout(C,i)))}}t&&e.some((t=>t.expired))&&(R.current.delete(n),d&&(j.current=!0),C())}};const b=it(t.ctrl,m);_===pt.LEAVE&&d?R.current.set(t,{phase:_,springs:b,payload:m}):P.set(t,{phase:_,springs:b,payload:m})}));const I=(0,r.useContext)(lt),N=(0,i.zH)(I),U=I!==N&&g(I);(0,i.LI)((()=>{U&&(0,i.S6)(S,(t=>{t.ctrl.start({default:I})}))}),[I]),(0,i.S6)(P,((t,e)=>{if(R.current.size){const t=S.findIndex((t=>t.key===e.key));S.splice(t,1)}})),(0,i.LI)((()=>{(0,i.S6)(R.current.size?R.current:P,(({phase:t,payload:e},n)=>{const{ctrl:i}=n;n.phase=t,null==b||b.add(i),U&&t==pt.ENTER&&i.start({default:I}),e&&(x(i,e.ref),!i.ref&&!b||j.current?(i.start(e),j.current&&(j.current=!1)):i.update(e))}))}),u?void 0:n);const D=t=>r.createElement(r.Fragment,null,S.map(((e,n)=>{const{springs:s}=P.get(e)||e.ctrl,a=t(o({},s),e.item,e,n);return a&&a.type?r.createElement(a.type,o({},a.props,{key:i.is.str(e.key)||i.is.num(e.key)?e.key:e.ctrl.id,ref:a.ref})):a})));return b?[D,b]:D}!function(t){t.MOUNT="mount",t.ENTER="enter",t.UPDATE="update",t.LEAVE="leave"}(pt||(pt={}));let gt=1;function vt(t,{key:e,keys:n=e},r){if(null===n){const e=new Set;return t.map((t=>{const n=r&&r.find((n=>n.item===t&&n.phase!==pt.LEAVE&&!e.has(n)));return n?(e.add(n),n.key):gt++}))}return i.is.und(n)?t:i.is.fun(n)?t.map(n):(0,i.qo)(n)}class mt extends U{constructor(t,e){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=(0,i.mD)(...e);const n=this._get(),r=(0,s.sb)(n);(0,s.f3)(this,r.create(n))}advance(t){const e=this._get(),n=this.get();(0,i.Xy)(e,n)||((0,s.ys)(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&bt(this._active)&&wt(this)}_get(){const t=i.is.arr(this.source)?this.source.map(i.je):(0,i.qo)((0,i.je)(this.source));return this.calc(...t)}_start(){this.idle&&!bt(this._active)&&(this.idle=!1,(0,i.S6)((0,s.He)(this),(t=>{t.done=!1})),i.OH.skipAnimation?(i.Wn.batchedUpdates((()=>this.advance())),wt(this)):i.fT.start(this))}_attach(){let t=1;(0,i.S6)((0,i.qo)(this.source),(e=>{(0,i.j$)(e)&&(0,i.UI)(e,this),I(e)&&(e.idle||this._active.add(e),t=Math.max(t,e.priority+1))})),this.priority=t,this._start()}_detach(){(0,i.S6)((0,i.qo)(this.source),(t=>{(0,i.j$)(t)&&(0,i.iL)(t,this)})),this._active.clear(),wt(this)}eventObserved(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=(0,i.qo)(this.source).reduce(((t,e)=>Math.max(t,(I(e)?e.priority:0)+1)),0))}}function xt(t){return!1!==t.idle}function bt(t){return!t.size||Array.from(t).every(xt)}function wt(t){t.idle||(t.idle=!0,(0,i.S6)((0,s.He)(t),(t=>{t.done=!0})),(0,i.k0)(t,{type:"idle",parent:t}))}const St=(t,...e)=>new mt(t,e);i.OH.assign({createStringInterpolator:i.qS,to:(t,e)=>new mt(t,e)});i.fT.advance},88489:function(t,e,n){n.d(e,{B0:function(){return Ot},OH:function(){return D},UI:function(){return Ct},k0:function(){return Zt},O9:function(){return Y},mD:function(){return dt},qS:function(){return Ft},dE:function(){return S},ZR:function(){return Yt},LW:function(){return Ht},S6:function(){return k},rU:function(){return Z},Z5:function(){return xt},yl:function(){return A},bl:function(){return C},fT:function(){return z},Ll:function(){return kt},je:function(){return Tt},j$:function(){return Mt},is:function(){return M},Df:function(){return Qt},Xy:function(){return T},ZT:function(){return w},Wn:function(){return r},iL:function(){return Et},qo:function(){return O},NW:function(){return Gt},LI:function(){return Xt},Pr:function(){return Jt},tf:function(){return Kt},zH:function(){return ee}});let i=m();const r=t=>p(t,i);let s=m();r.write=t=>p(t,s);let o=m();r.onStart=t=>p(t,o);let a=m();r.onFrame=t=>p(t,a);let u=m();r.onFinish=t=>p(t,u);let c=[];r.setTimeout=(t,e)=>{let n=r.now()+e,i=()=>{let t=c.findIndex((t=>t.cancel==i));~t&&c.splice(t,1),d-=~t?1:0},s={time:n,handler:t,cancel:i};return c.splice(l(n),0,s),d+=1,y(),s};let l=t=>~(~c.findIndex((e=>e.time>t))||~c.length);r.cancel=t=>{o.delete(t),a.delete(t),u.delete(t),i.delete(t),s.delete(t)},r.sync=t=>{_=!0,r.batchedUpdates(t),_=!1},r.throttle=t=>{let e;function n(){try{t(...e)}finally{e=null}}function i(...t){e=t,r.onStart(n)}return i.handler=t,i.cancel=()=>{o.delete(n),e=null},i};let h="undefined"!=typeof window?window.requestAnimationFrame:()=>{};r.use=t=>h=t,r.now="undefined"!=typeof performance?()=>performance.now():Date.now,r.batchedUpdates=t=>t(),r.catch=console.error,r.frameLoop="always",r.advance=()=>{"demand"!==r.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):v()};let f=-1,d=0,_=!1;function p(t,e){_?(e.delete(t),t(0)):(e.add(t),y())}function y(){f<0&&(f=0,"demand"!==r.frameLoop&&h(g))}function g(){~f&&(h(g),r.batchedUpdates(v))}function v(){let t=f;f=r.now();let e=l(f);e&&(x(c.splice(0,e),(t=>t.handler())),d-=e),d?(o.flush(),i.flush(t?Math.min(64,f-t):16.667),a.flush(),s.flush(),u.flush()):f=-1}function m(){let t=new Set,e=t;return{add(n){d+=e!=t||t.has(n)?0:1,t.add(n)},delete:n=>(d-=e==t&&t.has(n)?1:0,t.delete(n)),flush(n){e.size&&(t=new Set,d-=e.size,x(e,(e=>e(n)&&t.add(e))),d+=t.size,e=t)}}}function x(t,e){t.forEach((t=>{try{e(t)}catch(n){r.catch(n)}}))}var b=n(82684);function w(){}const S=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0}),M={arr:Array.isArray,obj:t=>!!t&&"Object"===t.constructor.name,fun:t=>"function"===typeof t,str:t=>"string"===typeof t,num:t=>"number"===typeof t,und:t=>void 0===t};function T(t,e){if(M.arr(t)){if(!M.arr(e)||t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}return t===e}const k=(t,e)=>t.forEach(e);function Z(t,e,n){if(M.arr(t))for(let i=0;i<t.length;i++)e.call(n,t[i],`${i}`);else for(const i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i)}const O=t=>M.und(t)?[]:M.arr(t)?t:[t];function A(t,e){if(t.size){const n=Array.from(t);t.clear(),k(n,e)}}const C=(t,...e)=>A(t,(t=>t(...e))),E=()=>"undefined"===typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let P,R,j=null,I=!1,N=w;const U=t=>{t.to&&(R=t.to),t.now&&(r.now=t.now),void 0!==t.colors&&(j=t.colors),null!=t.skipAnimation&&(I=t.skipAnimation),t.createStringInterpolator&&(P=t.createStringInterpolator),t.requestAnimationFrame&&r.use(t.requestAnimationFrame),t.batchedUpdates&&(r.batchedUpdates=t.batchedUpdates),t.willAdvance&&(N=t.willAdvance),t.frameLoop&&(r.frameLoop=t.frameLoop)};var D=Object.freeze({__proto__:null,get createStringInterpolator(){return P},get to(){return R},get colors(){return j},get skipAnimation(){return I},get willAdvance(){return N},assign:U});const q=new Set;let V=[],L=[],F=0;const z={get idle(){return!q.size&&!V.length},start(t){F>t.priority?(q.add(t),r.onStart($)):(W(t),r(B))},advance:B,sort(t){if(F)r.onFrame((()=>z.sort(t)));else{const e=V.indexOf(t);~e&&(V.splice(e,1),H(t))}},clear(){V=[],q.clear()}};function $(){q.forEach(W),q.clear(),r(B)}function W(t){V.includes(t)||H(t)}function H(t){V.splice(function(t,e){const n=t.findIndex(e);return n<0?t.length:n}(V,(e=>e.priority>t.priority)),0,t)}function B(t){const e=L;for(let n=0;n<V.length;n++){const i=V[n];F=i.priority,i.idle||(N(i),i.advance(t),i.idle||e.push(i))}return F=0,L=V,L.length=0,V=e,V.length>0}const Y={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Q="[-+]?\\d*\\.?\\d+",X=Q+"%";function G(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const J=new RegExp("rgb"+G(Q,Q,Q)),K=new RegExp("rgba"+G(Q,Q,Q,Q)),tt=new RegExp("hsl"+G(Q,X,X)),et=new RegExp("hsla"+G(Q,X,X,Q)),nt=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,it=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rt=/^#([0-9a-fA-F]{6})$/,st=/^#([0-9a-fA-F]{8})$/;function ot(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function at(t,e,n){const i=n<.5?n*(1+e):n+e-n*e,r=2*n-i,s=ot(r,i,t+1/3),o=ot(r,i,t),a=ot(r,i,t-1/3);return Math.round(255*s)<<24|Math.round(255*o)<<16|Math.round(255*a)<<8}function ut(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function ct(t){return(parseFloat(t)%360+360)%360/360}function lt(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(255*e)}function ht(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function ft(t){let e=function(t){let e;return"number"===typeof t?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=rt.exec(t))?parseInt(e[1]+"ff",16)>>>0:j&&void 0!==j[t]?j[t]:(e=J.exec(t))?(ut(e[1])<<24|ut(e[2])<<16|ut(e[3])<<8|255)>>>0:(e=K.exec(t))?(ut(e[1])<<24|ut(e[2])<<16|ut(e[3])<<8|lt(e[4]))>>>0:(e=nt.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=st.exec(t))?parseInt(e[1],16)>>>0:(e=it.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=tt.exec(t))?(255|at(ct(e[1]),ht(e[2]),ht(e[3])))>>>0:(e=et.exec(t))?(at(ct(e[1]),ht(e[2]),ht(e[3]))|lt(e[4]))>>>0:null}(t);return null===e?t:(e=e||0,`rgba(${(4278190080&e)>>>24}, ${(16711680&e)>>>16}, ${(65280&e)>>>8}, ${(255&e)/255})`)}const dt=(t,e,n)=>{if(M.fun(t))return t;if(M.arr(t))return dt({range:t,output:e,extrapolate:n});if(M.str(t.output[0]))return P(t);const i=t,r=i.output,s=i.range||[0,1],o=i.extrapolateLeft||i.extrapolate||"extend",a=i.extrapolateRight||i.extrapolate||"extend",u=i.easing||(t=>t);return t=>{const e=function(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}(t,s);return function(t,e,n,i,r,s,o,a,u){let c=u?u(t):t;if(c<e){if("identity"===o)return c;"clamp"===o&&(c=e)}if(c>n){if("identity"===a)return c;"clamp"===a&&(c=n)}if(i===r)return i;if(e===n)return t<=e?i:r;e===-1/0?c=-c:n===1/0?c-=e:c=(c-e)/(n-e);c=s(c),i===-1/0?c=-c:r===1/0?c+=i:c=c*(r-i)+i;return c}(t,s[e],s[e+1],r[e],r[e+1],u,o,a,i.map)}};const _t=1.70158,pt=1.525*_t,yt=_t+1,gt=2*Math.PI/3,vt=2*Math.PI/4.5,mt=t=>{const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},xt={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>1-(1-t)*(1-t),easeInOutQuad:t=>t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2,easeInCubic:t=>t*t*t,easeOutCubic:t=>1-Math.pow(1-t,3),easeInOutCubic:t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,easeInQuart:t=>t*t*t*t,easeOutQuart:t=>1-Math.pow(1-t,4),easeInOutQuart:t=>t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2,easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>1-Math.pow(1-t,5),easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2,easeInSine:t=>1-Math.cos(t*Math.PI/2),easeOutSine:t=>Math.sin(t*Math.PI/2),easeInOutSine:t=>-(Math.cos(Math.PI*t)-1)/2,easeInExpo:t=>0===t?0:Math.pow(2,10*t-10),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>0===t?0:1===t?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2,easeInCirc:t=>1-Math.sqrt(1-Math.pow(t,2)),easeOutCirc:t=>Math.sqrt(1-Math.pow(t-1,2)),easeInOutCirc:t=>t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2,easeInBack:t=>yt*t*t*t-_t*t*t,easeOutBack:t=>1+yt*Math.pow(t-1,3)+_t*Math.pow(t-1,2),easeInOutBack:t=>t<.5?Math.pow(2*t,2)*(7.189819*t-pt)/2:(Math.pow(2*t-2,2)*((pt+1)*(2*t-2)+pt)+2)/2,easeInElastic:t=>0===t?0:1===t?1:-Math.pow(2,10*t-10)*Math.sin((10*t-10.75)*gt),easeOutElastic:t=>0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin((10*t-.75)*gt)+1,easeInOutElastic:t=>0===t?0:1===t?1:t<.5?-Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*vt)/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*vt)/2+1,easeInBounce:t=>1-mt(1-t),easeOutBounce:mt,easeInOutBounce:t=>t<.5?(1-mt(1-2*t))/2:(1+mt(2*t-1))/2,steps:(t,e="end")=>n=>{const i=(n="end"===e?Math.min(n,.999):Math.max(n,.001))*t,r="end"===e?Math.floor(i):Math.ceil(i);return s=0,o=1,a=r/t,Math.min(Math.max(a,s),o);var s,o,a}};function bt(){return bt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},bt.apply(this,arguments)}const wt=Symbol.for("FluidValue.get"),St=Symbol.for("FluidValue.observers"),Mt=t=>Boolean(t&&t[wt]),Tt=t=>t&&t[wt]?t[wt]():t,kt=t=>t[St]||null;function Zt(t,e){let n=t[St];n&&n.forEach((t=>{!function(t,e){t.eventObserved?t.eventObserved(e):t(e)}(t,e)}))}class Ot{constructor(t){if(this[wt]=void 0,this[St]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");At(this,t)}}const At=(t,e)=>Pt(t,wt,e);function Ct(t,e){if(t[wt]){let n=t[St];n||Pt(t,St,n=new Set),n.has(e)||(n.add(e),t.observerAdded&&t.observerAdded(n.size,e))}return e}function Et(t,e){let n=t[St];if(n&&n.has(e)){const i=n.size-1;i?n.delete(e):t[St]=null,t.observerRemoved&&t.observerRemoved(i,e)}}const Pt=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0}),Rt=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,jt=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,It=new RegExp(`(${Rt.source})(%|[a-z]+)`,"i"),Nt=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ut=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Dt=t=>{const[e,n]=qt(t);if(!e||E())return t;const i=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(i)return i.trim();if(n&&n.startsWith("--")){const e=window.getComputedStyle(document.documentElement).getPropertyValue(n);return e||t}return n&&Ut.test(n)?Dt(n):n||t},qt=t=>{const e=Ut.exec(t);if(!e)return[,];const[,n,i]=e;return[n,i]};let Vt;const Lt=(t,e,n,i,r)=>`rgba(${Math.round(e)}, ${Math.round(n)}, ${Math.round(i)}, ${r})`,Ft=t=>{Vt||(Vt=j?new RegExp(`(${Object.keys(j).join("|")})(?!\\w)`,"g"):/^\b$/);const e=t.output.map((t=>Tt(t).replace(Ut,Dt).replace(jt,ft).replace(Vt,ft))),n=e.map((t=>t.match(Rt).map(Number))),i=n[0].map(((t,e)=>n.map((t=>{if(!(e in t))throw Error('The arity of each "output" value must be equal');return t[e]})))).map((e=>dt(bt({},t,{output:e}))));return t=>{var n;const r=!It.test(e[0])&&(null==(n=e.find((t=>It.test(t))))?void 0:n.replace(Rt,""));let s=0;return e[0].replace(Rt,(()=>`${i[s++](t)}${r||""}`)).replace(Nt,Lt)}},zt="react-spring: ",$t=t=>{const e=t;let n=!1;if("function"!=typeof e)throw new TypeError(`${zt}once requires a function parameter`);return(...t)=>{n||(e(...t),n=!0)}},Wt=$t(console.warn);function Ht(){Wt(`${zt}The "interpolate" function is deprecated in v9 (use "to" instead)`)}const Bt=$t(console.warn);function Yt(){Bt(`${zt}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Qt(t){return M.str(t)&&("#"==t[0]||/\d/.test(t)||!E()&&Ut.test(t)||t in(j||{}))}new WeakMap;new Set;new WeakMap,new WeakMap,new WeakMap;const Xt=E()?b.useEffect:b.useLayoutEffect;function Gt(){const t=(0,b.useState)()[1],e=(()=>{const t=(0,b.useRef)(!1);return Xt((()=>(t.current=!0,()=>{t.current=!1})),[]),t})();return()=>{e.current&&t(Math.random())}}function Jt(t,e){const[n]=(0,b.useState)((()=>({inputs:e,result:t()}))),i=(0,b.useRef)(),r=i.current;let s=r;if(s){Boolean(e&&s.inputs&&function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,s.inputs))||(s={inputs:e,result:t()})}else s=n;return(0,b.useEffect)((()=>{i.current=s,r==n&&(n.inputs=n.result=void 0)}),[s]),s.result}const Kt=t=>(0,b.useEffect)(t,te),te=[];function ee(t){const e=(0,b.useRef)();return(0,b.useEffect)((()=>{e.current=t})),e.current}},84877:function(t,e,n){n.d(e,{animated:function(){return S},to:function(){return i.to},useTransition:function(){return i.useTransition}});var i=n(79950),r=n(85202),s=n(88489),o=n(92469);function a(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}const u=["style","children","scrollTop","scrollLeft","viewBox"],c=/^--/;function l(t,e){return null==e||"boolean"===typeof e||""===e?"":"number"!==typeof e||0===e||c.test(t)||f.hasOwnProperty(t)&&f[t]?(""+e).trim():e+"px"}const h={};let f={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const d=["Webkit","Ms","Moz","O"];f=Object.keys(f).reduce(((t,e)=>(d.forEach((n=>t[((t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1))(n,e)]=t[e])),t)),f);const _=["x","y","z"],p=/^(matrix|translate|scale|rotate|skew)/,y=/^(translate)/,g=/^(rotate|skew)/,v=(t,e)=>s.is.num(t)&&0!==t?t+e:t,m=(t,e)=>s.is.arr(t)?t.every((t=>m(t,e))):s.is.num(t)?t===e:parseFloat(t)===e;class x extends o.rS{constructor(t){let{x:e,y:n,z:i}=t,r=a(t,_);const o=[],u=[];(e||n||i)&&(o.push([e||0,n||0,i||0]),u.push((t=>[`translate3d(${t.map((t=>v(t,"px"))).join(",")})`,m(t,0)]))),(0,s.rU)(r,((t,e)=>{if("transform"===e)o.push([t||""]),u.push((t=>[t,""===t]));else if(p.test(e)){if(delete r[e],s.is.und(t))return;const n=y.test(e)?"px":g.test(e)?"deg":"";o.push((0,s.qo)(t)),u.push("rotate3d"===e?([t,e,i,r])=>[`rotate3d(${t},${e},${i},${v(r,n)})`,m(r,0)]:t=>[`${e}(${t.map((t=>v(t,n))).join(",")})`,m(t,e.startsWith("scale")?1:0)])}})),o.length&&(r.transform=new b(o,u)),super(r)}}class b extends s.B0{constructor(t,e){super(),this._value=null,this.inputs=t,this.transforms=e}get(){return this._value||(this._value=this._get())}_get(){let t="",e=!0;return(0,s.S6)(this.inputs,((n,i)=>{const r=(0,s.je)(n[0]),[o,a]=this.transforms[i](s.is.arr(r)?r:n.map(s.je));t+=" "+o,e=e&&a})),e?"none":t}observerAdded(t){1==t&&(0,s.S6)(this.inputs,(t=>(0,s.S6)(t,(t=>(0,s.j$)(t)&&(0,s.UI)(t,this)))))}observerRemoved(t){0==t&&(0,s.S6)(this.inputs,(t=>(0,s.S6)(t,(t=>(0,s.j$)(t)&&(0,s.iL)(t,this)))))}eventObserved(t){"change"==t.type&&(this._value=null),(0,s.k0)(this,t)}}const w=["scrollTop","scrollLeft"];i.Globals.assign({batchedUpdates:r.unstable_batchedUpdates,createStringInterpolator:s.qS,colors:s.O9});const S=(0,o.Ld)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(t,e){if(!t.nodeType||!t.setAttribute)return!1;const n="filter"===t.nodeName||t.parentNode&&"filter"===t.parentNode.nodeName,i=e,{style:r,children:s,scrollTop:o,scrollLeft:f,viewBox:d}=i,_=a(i,u),p=Object.values(_),y=Object.keys(_).map((e=>n||t.hasAttribute(e)?e:h[e]||(h[e]=e.replace(/([A-Z])/g,(t=>"-"+t.toLowerCase())))));void 0!==s&&(t.textContent=s);for(let a in r)if(r.hasOwnProperty(a)){const e=l(a,r[a]);c.test(a)?t.style.setProperty(a,e):t.style[a]=e}y.forEach(((e,n)=>{t.setAttribute(e,p[n])})),void 0!==o&&(t.scrollTop=o),void 0!==f&&(t.scrollLeft=f),void 0!==d&&t.setAttribute("viewBox",d)},createAnimatedStyle:t=>new x(t),getComponentProps:t=>a(t,w)}).animated},62339:function(t,e,n){n.r(e),n.d(e,{Group:function(){return i.Z}});var i=n(29989)},98677:function(t,e,n){function i(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;for(var i=-1,r=0|Math.max(0,Math.ceil((e-t)/n)),s=new Array(r);++i<r;)s[i]=t+i*n;return s}n.d(e,{Z:function(){return u}});var r=n(8208),s=n(8162);function o(){var t,e,n=(0,s.Z)().unknown(void 0),a=n.domain,u=n.range,c=0,l=1,h=!1,f=0,d=0,_=.5;function p(){var n=a().length,r=l<c,s=r?l:c,o=r?c:l;t=(o-s)/Math.max(1,n-f+2*d),h&&(t=Math.floor(t)),s+=(o-s-t*(n-f))*_,e=t*(1-f),h&&(s=Math.round(s),e=Math.round(e));var p=i(n).map((function(e){return s+t*e}));return u(r?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(a(t),p()):a()},n.range=function(t){return arguments.length?([c,l]=t,c=+c,l=+l,p()):[c,l]},n.rangeRound=function(t){return[c,l]=t,c=+c,l=+l,h=!0,p()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(h=!!t,p()):h},n.padding=function(t){return arguments.length?(f=Math.min(1,d=+t),p()):f},n.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),p()):f},n.paddingOuter=function(t){return arguments.length?(d=+t,p()):d},n.align=function(t){return arguments.length?(_=Math.max(0,Math.min(1,t)),p()):_},n.copy=function(){return o(a(),[c,l]).round(h).paddingInner(f).paddingOuter(d).align(_)},r.o.apply(p(),arguments)}var a=(0,n(93342).Z)("domain","range","reverse","align","padding","round");function u(t){return a(o(),t)}},6568:function(t,e,n){n.d(e,{Z:function(){return ee}});var i=n(38355),r=n(2073),s=n(43521),o=n(47237),a=(0,o.Z)((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,o.Z)((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):a:null};var u=a,c=(a.range,n(29483)),l=n(66403),h=n(61851),f=n(82194),d=n(31124),_=n(38249),p=n(4760),y=n(8717),g=n(13143),v=n(43694),m=n(37884),x=n(3983),b=n(35101);function w(t,e,n,o,a,l){const h=[[c.Z,1,s.Ym],[c.Z,5,5*s.Ym],[c.Z,15,15*s.Ym],[c.Z,30,30*s.Ym],[l,1,s.yB],[l,5,5*s.yB],[l,15,15*s.yB],[l,30,30*s.yB],[a,1,s.Y2],[a,3,3*s.Y2],[a,6,6*s.Y2],[a,12,12*s.Y2],[o,1,s.UD],[o,2,2*s.UD],[n,1,s.iM],[e,1,s.jz],[e,3,3*s.jz],[t,1,s.qz]];function f(e,n,o){const a=Math.abs(n-e)/o,c=(0,i.Z)((([,,t])=>t)).right(h,a);if(c===h.length)return t.every((0,r.ly)(e/s.qz,n/s.qz,o));if(0===c)return u.every(Math.max((0,r.ly)(e,n,o),1));const[l,f]=h[a/h[c-1][2]<h[c][2]/a?c-1:c];return l.every(f)}return[function(t,e,n){const i=e<t;i&&([t,e]=[e,t]);const r=n&&"function"===typeof n.range?n:f(t,e,n),s=r?r.range(t,+e+1):[];return i?s.reverse():s},f]}const[S,M]=w(b.Z,x.Z,m.Ox,v.Z,g.Z,y.Z),[T,k]=w(p.Z,_.Z,d.OM,f.Z,h.Z,l.Z);function Z(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function O(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function A(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var C,E,P={"-":"",_:" ",0:"0"},R=/^\s*\d+/,j=/^%/,I=/[\\^$*+?|[\]().{}]/g;function N(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",s=r.length;return i+(s<n?new Array(n-s+1).join(e)+r:r)}function U(t){return t.replace(I,"\\$&")}function D(t){return new RegExp("^(?:"+t.map(U).join("|")+")","i")}function q(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function V(t,e,n){var i=R.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function L(t,e,n){var i=R.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function F(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function z(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function $(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function W(t,e,n){var i=R.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function H(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function B(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function Y(t,e,n){var i=R.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function Q(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function X(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function G(t,e,n){var i=R.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function J(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function K(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function tt(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function et(t,e,n){var i=R.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function nt(t,e,n){var i=R.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function it(t,e,n){var i=j.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function rt(t,e,n){var i=R.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function st(t,e,n){var i=R.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function ot(t,e){return N(t.getDate(),e,2)}function at(t,e){return N(t.getHours(),e,2)}function ut(t,e){return N(t.getHours()%12||12,e,2)}function ct(t,e){return N(1+f.Z.count((0,p.Z)(t),t),e,3)}function lt(t,e){return N(t.getMilliseconds(),e,3)}function ht(t,e){return lt(t,e)+"000"}function ft(t,e){return N(t.getMonth()+1,e,2)}function dt(t,e){return N(t.getMinutes(),e,2)}function _t(t,e){return N(t.getSeconds(),e,2)}function pt(t){var e=t.getDay();return 0===e?7:e}function yt(t,e){return N(d.OM.count((0,p.Z)(t)-1,t),e,2)}function gt(t){var e=t.getDay();return e>=4||0===e?(0,d.bL)(t):d.bL.ceil(t)}function vt(t,e){return t=gt(t),N(d.bL.count((0,p.Z)(t),t)+(4===(0,p.Z)(t).getDay()),e,2)}function mt(t){return t.getDay()}function xt(t,e){return N(d.wA.count((0,p.Z)(t)-1,t),e,2)}function bt(t,e){return N(t.getFullYear()%100,e,2)}function wt(t,e){return N((t=gt(t)).getFullYear()%100,e,2)}function St(t,e){return N(t.getFullYear()%1e4,e,4)}function Mt(t,e){var n=t.getDay();return N((t=n>=4||0===n?(0,d.bL)(t):d.bL.ceil(t)).getFullYear()%1e4,e,4)}function Tt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+N(e/60|0,"0",2)+N(e%60,"0",2)}function kt(t,e){return N(t.getUTCDate(),e,2)}function Zt(t,e){return N(t.getUTCHours(),e,2)}function Ot(t,e){return N(t.getUTCHours()%12||12,e,2)}function At(t,e){return N(1+v.Z.count((0,b.Z)(t),t),e,3)}function Ct(t,e){return N(t.getUTCMilliseconds(),e,3)}function Et(t,e){return Ct(t,e)+"000"}function Pt(t,e){return N(t.getUTCMonth()+1,e,2)}function Rt(t,e){return N(t.getUTCMinutes(),e,2)}function jt(t,e){return N(t.getUTCSeconds(),e,2)}function It(t){var e=t.getUTCDay();return 0===e?7:e}function Nt(t,e){return N(m.Ox.count((0,b.Z)(t)-1,t),e,2)}function Ut(t){var e=t.getUTCDay();return e>=4||0===e?(0,m.hB)(t):m.hB.ceil(t)}function Dt(t,e){return t=Ut(t),N(m.hB.count((0,b.Z)(t),t)+(4===(0,b.Z)(t).getUTCDay()),e,2)}function qt(t){return t.getUTCDay()}function Vt(t,e){return N(m.l6.count((0,b.Z)(t)-1,t),e,2)}function Lt(t,e){return N(t.getUTCFullYear()%100,e,2)}function Ft(t,e){return N((t=Ut(t)).getUTCFullYear()%100,e,2)}function zt(t,e){return N(t.getUTCFullYear()%1e4,e,4)}function $t(t,e){var n=t.getUTCDay();return N((t=n>=4||0===n?(0,m.hB)(t):m.hB.ceil(t)).getUTCFullYear()%1e4,e,4)}function Wt(){return"+0000"}function Ht(){return"%"}function Bt(t){return+t}function Yt(t){return Math.floor(+t/1e3)}C=function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,s=t.days,o=t.shortDays,a=t.months,u=t.shortMonths,c=D(r),l=q(r),h=D(s),_=q(s),p=D(o),y=q(o),g=D(a),x=q(a),b=D(u),w=q(u),S={a:function(t){return o[t.getDay()]},A:function(t){return s[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:ot,e:ot,f:ht,g:wt,G:Mt,H:at,I:ut,j:ct,L:lt,m:ft,M:dt,p:function(t){return r[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Bt,s:Yt,S:_t,u:pt,U:yt,V:vt,w:mt,W:xt,x:null,X:null,y:bt,Y:St,Z:Tt,"%":Ht},M={a:function(t){return o[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:kt,e:kt,f:Et,g:Ft,G:$t,H:Zt,I:Ot,j:At,L:Ct,m:Pt,M:Rt,p:function(t){return r[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Bt,s:Yt,S:jt,u:It,U:Nt,V:Dt,w:qt,W:Vt,x:null,X:null,y:Lt,Y:zt,Z:Wt,"%":Ht},T={a:function(t,e,n){var i=p.exec(e.slice(n));return i?(t.w=y.get(i[0].toLowerCase()),n+i[0].length):-1},A:function(t,e,n){var i=h.exec(e.slice(n));return i?(t.w=_.get(i[0].toLowerCase()),n+i[0].length):-1},b:function(t,e,n){var i=b.exec(e.slice(n));return i?(t.m=w.get(i[0].toLowerCase()),n+i[0].length):-1},B:function(t,e,n){var i=g.exec(e.slice(n));return i?(t.m=x.get(i[0].toLowerCase()),n+i[0].length):-1},c:function(t,n,i){return E(t,e,n,i)},d:X,e:X,f:nt,g:H,G:W,H:J,I:J,j:G,L:et,m:Q,M:K,p:function(t,e,n){var i=c.exec(e.slice(n));return i?(t.p=l.get(i[0].toLowerCase()),n+i[0].length):-1},q:Y,Q:rt,s:st,S:tt,u:L,U:F,V:z,w:V,W:$,x:function(t,e,i){return E(t,n,e,i)},X:function(t,e,n){return E(t,i,e,n)},y:H,Y:W,Z:B,"%":it};function k(t,e){return function(n){var i,r,s,o=[],a=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++a<c;)37===t.charCodeAt(a)&&(o.push(t.slice(u,a)),null!=(r=P[i=t.charAt(++a)])?i=t.charAt(++a):r="e"===i?" ":"0",(s=e[i])&&(i=s(n,r)),o.push(i),u=a+1);return o.push(t.slice(u,a)),o.join("")}}function C(t,e){return function(n){var i,r,s=A(1900,void 0,1);if(E(s,t,n+="",0)!=n.length)return null;if("Q"in s)return new Date(s.Q);if("s"in s)return new Date(1e3*s.s+("L"in s?s.L:0));if(e&&!("Z"in s)&&(s.Z=0),"p"in s&&(s.H=s.H%12+12*s.p),void 0===s.m&&(s.m="q"in s?s.q:0),"V"in s){if(s.V<1||s.V>53)return null;"w"in s||(s.w=1),"Z"in s?(r=(i=O(A(s.y,0,1))).getUTCDay(),i=r>4||0===r?m.l6.ceil(i):(0,m.l6)(i),i=v.Z.offset(i,7*(s.V-1)),s.y=i.getUTCFullYear(),s.m=i.getUTCMonth(),s.d=i.getUTCDate()+(s.w+6)%7):(r=(i=Z(A(s.y,0,1))).getDay(),i=r>4||0===r?d.wA.ceil(i):(0,d.wA)(i),i=f.Z.offset(i,7*(s.V-1)),s.y=i.getFullYear(),s.m=i.getMonth(),s.d=i.getDate()+(s.w+6)%7)}else("W"in s||"U"in s)&&("w"in s||(s.w="u"in s?s.u%7:"W"in s?1:0),r="Z"in s?O(A(s.y,0,1)).getUTCDay():Z(A(s.y,0,1)).getDay(),s.m=0,s.d="W"in s?(s.w+6)%7+7*s.W-(r+5)%7:s.w+7*s.U-(r+6)%7);return"Z"in s?(s.H+=s.Z/100|0,s.M+=s.Z%100,O(s)):Z(s)}}function E(t,e,n,i){for(var r,s,o=0,a=e.length,u=n.length;o<a;){if(i>=u)return-1;if(37===(r=e.charCodeAt(o++))){if(r=e.charAt(o++),!(s=T[r in P?e.charAt(o++):r])||(i=s(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return S.x=k(n,S),S.X=k(i,S),S.c=k(e,S),M.x=k(n,M),M.X=k(i,M),M.c=k(e,M),{format:function(t){var e=k(t+="",S);return e.toString=function(){return t},e},parse:function(t){var e=C(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",M);return e.toString=function(){return t},e},utcParse:function(t){var e=C(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),C.format,C.parse,E=C.utcFormat,C.utcParse;var Qt=n(32130);function Xt(t){return new Date(t)}function Gt(t){return t instanceof Date?+t:+new Date(+t)}function Jt(t,e,n,i,r,s,o,a,u,c){var l=(0,Qt.ZP)(),h=l.invert,f=l.domain,d=c(".%L"),_=c(":%S"),p=c("%I:%M"),y=c("%I %p"),g=c("%a %d"),v=c("%b %d"),m=c("%B"),x=c("%Y");function b(t){return(u(t)<t?d:a(t)<t?_:o(t)<t?p:s(t)<t?y:i(t)<t?r(t)<t?g:v:n(t)<t?m:x)(t)}return l.invert=function(t){return new Date(h(t))},l.domain=function(t){return arguments.length?f(Array.from(t,Gt)):f().map(Xt)},l.ticks=function(e){var n=f();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?b:c(e)},l.nice=function(t){var n=f();return t&&"function"===typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?f(function(t,e){var n,i=0,r=(t=t.slice()).length-1,s=t[i],o=t[r];return o<s&&(n=i,i=r,r=n,n=s,s=o,o=n),t[i]=e.floor(s),t[r]=e.ceil(o),t}(n,t)):l},l.copy=function(){return(0,Qt.JG)(l,Jt(t,e,n,i,r,s,o,a,u,c))},l}var Kt=n(8208);var te=(0,n(93342).Z)("domain","range","reverse","clamp","interpolate","nice","round");function ee(t){return te(function(){return Kt.o.apply(Jt(S,M,b.Z,x.Z,m.Ox,v.Z,g.Z,y.Z,c.Z,E).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}(),t)}},28108:function(t,e,n){n.d(e,{Z:function(){return y}});var i=n(82684),r=n(63588),s=n.n(r),o=n(75823),a=n(29989),u=n(62072),c=n(53989),l=n(49894),h=n(18246),f=n(59309),d=n(65743),_=["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"];function p(){return p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},p.apply(this,arguments)}function y(t){var e=t.data,n=t.className,r=t.top,y=t.left,g=t.y,v=t.x0,m=void 0===v?u.l8:v,x=t.x1,b=void 0===x?u.xf:x,w=t.xScale,S=t.yScale,M=t.color,T=t.keys,k=t.value,Z=t.order,O=t.offset,A=t.children,C=function(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,_),E=(0,o.Z)();T&&E.keys(T),k&&(0,l.Z)(E.value,k),Z&&E.order((0,h.ZP)(Z)),O&&E.offset((0,f.ZP)(O));var P=E(e),R=(0,c.Z)(S),j=P.map((function(t,e){var n=t.key;return{index:e,key:n,bars:t.map((function(e,i){var r=(w(b(e))||0)-(w(m(e))||0),s=w(m(e)),o="bandwidth"in S?S(g(e.data)):Math.max((S(g(e.data))||0)-r/2);return{bar:e,key:n,index:i,height:R,width:r,x:s||0,y:o||0,color:M(t.key,i)}}))}}));return A?i.createElement(i.Fragment,null,A(j)):i.createElement(a.Z,{className:s()("visx-bar-stack-horizontal",n),top:r,left:y},j.map((function(t){return t.bars.map((function(e){return i.createElement(d.Z,p({key:"bar-stack-"+t.index+"-"+e.index,x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},C))}))})))}},62072:function(t,e,n){function i(t){return null==t?void 0:t[0]}function r(t){return null==t?void 0:t[1]}n.d(e,{l8:function(){return i},xf:function(){return r}})},53989:function(t,e,n){function i(t){if("bandwidth"in t)return t.bandwidth();var e=t.range(),n=t.domain();return Math.abs(e[e.length-1]-e[0])/n.length}n.d(e,{Z:function(){return i}})},59309:function(t,e,n){n.d(e,{ZP:function(){return c}});var i=n(12759),r=n(27500),s=n(82610),o=n(34812),a=n(77944),u={expand:i.Z,diverging:r.Z,none:s.Z,silhouette:o.Z,wiggle:a.Z};Object.keys(u);function c(t){return t&&u[t]||u.none}},18246:function(t,e,n){n.d(e,{ZP:function(){return c}});var i=n(39586),r=n(25516),s=n(54164),o=n(8512),a=n(2010),u={ascending:i.Z,descending:r.Z,insideout:s.Z,none:o.Z,reverse:a.Z};Object.keys(u);function c(t){return t&&u[t]||u.none}},28940:function(t,e,n){e.Z=function(t){var e=t.className,n=t.top,u=t.left,l=t.data,h=void 0===l?[]:l,f=t.centroid,d=t.innerRadius,_=void 0===d?0:d,p=t.outerRadius,y=t.cornerRadius,g=t.startAngle,v=t.endAngle,m=t.padAngle,x=t.padRadius,b=t.pieSort,w=t.pieSortValues,S=t.pieValue,M=t.children,T=t.fill,k=void 0===T?"":T,Z=function(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,a),O=(0,o.arc)({innerRadius:_,outerRadius:p,cornerRadius:y,padRadius:x}),A=(0,o.pie)({startAngle:g,endAngle:v,padAngle:m,value:S,sort:b,sortValues:w}),C=A(h);return M?i.default.createElement(i.default.Fragment,null,M({arcs:C,path:O,pie:A})):i.default.createElement(s.Group,{className:"visx-pie-arcs-group",top:n,left:u},C.map((function(t,n){return i.default.createElement("g",{key:"pie-arc-"+n},i.default.createElement("path",c({className:(0,r.default)("visx-pie-arc",e),d:O(t)||"",fill:null==k||"string"===typeof k?k:k(t)},Z)),null==f?void 0:f(O.centroid(t),t))})))};var i=u(n(82684)),r=u(n(63588)),s=n(62339),o=n(3517),a=["className","top","left","data","centroid","innerRadius","outerRadius","cornerRadius","startAngle","endAngle","padAngle","padRadius","pieSort","pieSortValues","pieValue","children","fill"];function u(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},c.apply(this,arguments)}},3517:function(t,e,n){e.__esModule=!0,e.arc=function(t){var e=void 0===t?{}:t,n=e.innerRadius,s=e.outerRadius,o=e.cornerRadius,a=e.startAngle,u=e.endAngle,c=e.padAngle,l=e.padRadius,h=(0,i.arc)();null!=n&&(0,r.default)(h.innerRadius,n);null!=s&&(0,r.default)(h.outerRadius,s);null!=o&&(0,r.default)(h.cornerRadius,o);null!=a&&(0,r.default)(h.startAngle,a);null!=u&&(0,r.default)(h.endAngle,u);null!=c&&(0,r.default)(h.padAngle,c);null!=l&&(0,r.default)(h.padRadius,l);return h},e.area=function(t){var e=void 0===t?{}:t,n=e.x,s=e.x0,o=e.x1,a=e.y,u=e.y0,c=e.y1,l=e.defined,h=e.curve,f=(0,i.area)();n&&(0,r.default)(f.x,n);s&&(0,r.default)(f.x0,s);o&&(0,r.default)(f.x1,o);a&&(0,r.default)(f.y,a);u&&(0,r.default)(f.y0,u);c&&(0,r.default)(f.y1,c);l&&f.defined(l);h&&f.curve(h);return f},e.line=function(t){var e=void 0===t?{}:t,n=e.x,s=e.y,o=e.defined,a=e.curve,u=(0,i.line)();n&&(0,r.default)(u.x,n);s&&(0,r.default)(u.y,s);o&&u.defined(o);a&&u.curve(a);return u},e.pie=function(t){var e=void 0===t?{}:t,n=e.startAngle,s=e.endAngle,o=e.padAngle,a=e.value,u=e.sort,c=e.sortValues,l=(0,i.pie)();(null===u||null!=u)&&l.sort(u);(null===c||null!=c)&&l.sortValues(c);null!=a&&l.value(a);null!=o&&(0,r.default)(l.padAngle,o);null!=n&&(0,r.default)(l.startAngle,n);null!=s&&(0,r.default)(l.endAngle,s);return l},e.radialLine=function(t){var e=void 0===t?{}:t,n=e.angle,s=e.radius,o=e.defined,a=e.curve,u=(0,i.radialLine)();n&&(0,r.default)(u.angle,n);s&&(0,r.default)(u.radius,s);o&&u.defined(o);a&&u.curve(a);return u},e.stack=function(t){var e=t.keys,n=t.value,a=t.order,u=t.offset,c=(0,i.stack)();e&&c.keys(e);n&&(0,r.default)(c.value,n);a&&c.order((0,s.default)(a));u&&c.offset((0,o.default)(u));return c};var i=n(29491),r=a(n(9908)),s=a(n(58450)),o=a(n(61585));function a(t){return t&&t.__esModule?t:{default:t}}},9908:function(t,e){e.__esModule=!0,e.default=function(t,e){t(e)}},61585:function(t,e,n){e.__esModule=!0,e.default=function(t){return t&&r[t]||r.none},e.STACK_OFFSET_NAMES=e.STACK_OFFSETS=void 0;var i=n(29491),r={expand:i.stackOffsetExpand,diverging:i.stackOffsetDiverging,none:i.stackOffsetNone,silhouette:i.stackOffsetSilhouette,wiggle:i.stackOffsetWiggle};e.STACK_OFFSETS=r;var s=Object.keys(r);e.STACK_OFFSET_NAMES=s},58450:function(t,e,n){e.__esModule=!0,e.default=function(t){return t&&r[t]||r.none},e.STACK_ORDER_NAMES=e.STACK_ORDERS=void 0;var i=n(29491),r={ascending:i.stackOrderAscending,descending:i.stackOrderDescending,insideout:i.stackOrderInsideOut,none:i.stackOrderNone,reverse:i.stackOrderReverse};e.STACK_ORDERS=r;var s=Object.keys(r);e.STACK_ORDER_NAMES=s},61655:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(82684),r=n(29179);function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},s.apply(this,arguments)}function o(t,e,n){void 0===e&&(e={style:{position:"relative",width:"inherit",height:"inherit"}}),void 0===n&&(n=function(t,e){return i.createElement("div",e,t)});return function(o){var a=(0,r.Z)();return n(i.createElement(t,s({},a,o)),e)}}},16853:function(t,e,n){n.d(e,{Z:function(){return v}});var i=n(47329),r=n.n(i),s=n(82684),o=n(85202);function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},a.apply(this,arguments)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e){return c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},c(t,e)}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h={top:0,right:0,bottom:0,left:0,width:0,height:0};var f=n(65376),d=(0,s.createContext)({isFlippedVertically:!1,isFlippedHorizontally:!1}),_=d.Provider,p=(d.Consumer,["children","getRects","left","offsetLeft","offsetTop","parentRect","rect","style","top","unstyled","nodeRef"]);function y(){return y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},y.apply(this,arguments)}function g(t){var e,n=t.children,i=(t.getRects,t.left),r=void 0===i?0:i,o=t.offsetLeft,a=void 0===o?10:o,u=t.offsetTop,c=void 0===u?10:u,l=t.parentRect,h=t.rect,d=t.style,g=void 0===d?f.j:d,v=t.top,m=void 0===v?0:v,x=t.unstyled,b=void 0!==x&&x,w=t.nodeRef,S=function(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,p),M=!1,T=!1;if(h&&l){var k=r,Z=m;if(l.width){var O=k+a+h.width-l.width,A=h.width-k-a;M=O>0&&O>A}else{var C=k+a+h.width-window.innerWidth,E=h.width-k-a;M=C>0&&C>E}if(l.height){var P=Z+c+h.height-l.height,R=h.height-Z-c;T=P>0&&P>R}else T=Z+c+h.height>window.innerHeight;k=M?k-h.width-a:k+a,Z=T?Z-h.height-c:Z+c,e="translate("+(k=Math.round(k))+"px, "+(Z=Math.round(Z))+"px)"}return s.createElement(f.Z,y({ref:w,style:y({left:0,top:0,transform:e},!b&&g)},S),s.createElement(_,{value:{isFlippedVertically:!T,isFlippedHorizontally:!M}},n))}g.propTypes={nodeRef:r().oneOfType([r().string,r().func,r().object])};var v=function(t){var e,n;return n=e=function(e){var n,i;function r(t){var n;return l(u(n=e.call(this,t)||this),"node",void 0),l(u(n),"nodeRef",void 0),n.state={rect:void 0,parentRect:void 0},n.nodeRef=s.createRef(),n.getRects=n.getRects.bind(u(n)),n}i=e,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,c(n,i);var f=r.prototype;return f.componentDidMount=function(){var t,e=this;this.node=null!=(t=this.nodeRef)&&t.current?this.nodeRef.current:o.findDOMNode(this),this.setState((function(){return e.getRects()}))},f.getRects=function(){if(!this.node)return this.state;var t=this.node,e=t.parentNode;return{rect:t.getBoundingClientRect?t.getBoundingClientRect():h,parentRect:null!=e&&e.getBoundingClientRect?e.getBoundingClientRect():h}},f.render=function(){return s.createElement(t,a({nodeRef:this.nodeRef,getRects:this.getRects},this.state,this.props))},r}(s.PureComponent),l(e,"displayName","withBoundingRects("+(t.displayName||"")+")"),n}(g)},35681:function(t,e){var n=Math.PI,i=2*n,r=1e-6,s=i-r;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new o}o.prototype=a.prototype={constructor:o,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,r,s){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+s)},arcTo:function(t,e,i,s,o){t=+t,e=+e,i=+i,s=+s,o=+o;var a=this._x1,u=this._y1,c=i-t,l=s-e,h=a-t,f=u-e,d=h*h+f*f;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(d>r)if(Math.abs(f*c-l*h)>r&&o){var _=i-a,p=s-u,y=c*c+l*l,g=_*_+p*p,v=Math.sqrt(y),m=Math.sqrt(d),x=o*Math.tan((n-Math.acos((y+d-g)/(2*v*m)))/2),b=x/m,w=x/v;Math.abs(b-1)>r&&(this._+="L"+(t+b*h)+","+(e+b*f)),this._+="A"+o+","+o+",0,0,"+ +(f*_>h*p)+","+(this._x1=t+w*c)+","+(this._y1=e+w*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,o,a,u,c){t=+t,e=+e,c=!!c;var l=(o=+o)*Math.cos(a),h=o*Math.sin(a),f=t+l,d=e+h,_=1^c,p=c?a-u:u-a;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>r||Math.abs(this._y1-d)>r)&&(this._+="L"+f+","+d),o&&(p<0&&(p=p%i+i),p>s?this._+="A"+o+","+o+",0,1,"+_+","+(t-l)+","+(e-h)+"A"+o+","+o+",0,1,"+_+","+(this._x1=f)+","+(this._y1=d):p>r&&(this._+="A"+o+","+o+",0,"+ +(p>=n)+","+_+","+(this._x1=t+o*Math.cos(u))+","+(this._y1=e+o*Math.sin(u))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}},e.Z=a},48167:function(t,e,n){n.d(e,{Z:function(){return u}});var i=n(35681),r=n(90875),s=n(23622),o=n(92201),a=n(98930);function u(){var t=a.x,e=null,n=(0,r.Z)(0),u=a.y,c=(0,r.Z)(!0),l=null,h=s.Z,f=null;function d(r){var s,o,a,d,_,p=r.length,y=!1,g=new Array(p),v=new Array(p);for(null==l&&(f=h(_=(0,i.Z)())),s=0;s<=p;++s){if(!(s<p&&c(d=r[s],s,r))===y)if(y=!y)o=s,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),a=s-1;a>=o;--a)f.point(g[a],v[a]);f.lineEnd(),f.areaEnd()}y&&(g[s]=+t(d,s,r),v[s]=+n(d,s,r),f.point(e?+e(d,s,r):g[s],u?+u(d,s,r):v[s]))}if(_)return f=null,_+""||null}function _(){return(0,o.Z)().defined(c).curve(h).context(l)}return d.x=function(n){return arguments.length?(t="function"===typeof n?n:(0,r.Z)(+n),e=null,d):t},d.x0=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),d):t},d.x1=function(t){return arguments.length?(e=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),d):e},d.y=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(+t),u=null,d):n},d.y0=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(+t),d):n},d.y1=function(t){return arguments.length?(u=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),d):u},d.lineX0=d.lineY0=function(){return _().x(t).y(n)},d.lineY1=function(){return _().x(t).y(u)},d.lineX1=function(){return _().x(e).y(n)},d.defined=function(t){return arguments.length?(c="function"===typeof t?t:(0,r.Z)(!!t),d):c},d.curve=function(t){return arguments.length?(h=t,null!=l&&(f=h(l)),d):h},d.context=function(t){return arguments.length?(null==t?l=f=null:f=h(l=t),d):l},d}},13946:function(t,e,n){n.d(e,{t:function(){return i}});var i=Array.prototype.slice},97745:function(t,e,n){function i(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function r(t){this._context=t}function s(t){return new r(t)}n.d(e,{ZP:function(){return s},fE:function(){return r},xm:function(){return i}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:i(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}},23622:function(t,e,n){function i(t){this._context=t}function r(t){return new i(t)}n.d(e,{Z:function(){return r}}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}}},29491:function(t,e,n){n.r(e),n.d(e,{arc:function(){return T},area:function(){return k.Z},areaRadial:function(){return U},curveBasis:function(){return yt.ZP},curveBasisClosed:function(){return vt},curveBasisOpen:function(){return xt},curveBundle:function(){return wt},curveCardinal:function(){return Tt},curveCardinalClosed:function(){return Zt},curveCardinalOpen:function(){return At},curveCatmullRom:function(){return Pt},curveCatmullRomClosed:function(){return jt},curveCatmullRomOpen:function(){return Nt},curveLinear:function(){return E.Z},curveLinearClosed:function(){return Dt},curveMonotoneX:function(){return Ht},curveMonotoneY:function(){return Bt},curveNatural:function(){return Xt},curveStep:function(){return Jt},curveStepAfter:function(){return te},curveStepBefore:function(){return Kt},line:function(){return Z.Z},lineRadial:function(){return N},linkHorizontal:function(){return B},linkRadial:function(){return Q},linkVertical:function(){return Y},pie:function(){return C},pointRadial:function(){return D},radialArea:function(){return U},radialLine:function(){return N},stack:function(){return ee.Z},stackOffsetDiverging:function(){return ie.Z},stackOffsetExpand:function(){return ne.Z},stackOffsetNone:function(){return re.Z},stackOffsetSilhouette:function(){return se.Z},stackOffsetWiggle:function(){return oe.Z},stackOrderAppearance:function(){return ae.Z},stackOrderAscending:function(){return ue.Z},stackOrderDescending:function(){return ce.Z},stackOrderInsideOut:function(){return le.Z},stackOrderNone:function(){return he.Z},stackOrderReverse:function(){return fe.Z},symbol:function(){return _t},symbolCircle:function(){return X},symbolCross:function(){return G},symbolDiamond:function(){return tt},symbolSquare:function(){return st},symbolStar:function(){return rt},symbolTriangle:function(){return at},symbolWye:function(){return ft},symbols:function(){return dt}});var i=n(35681),r=n(90875),s=Math.abs,o=Math.atan2,a=Math.cos,u=Math.max,c=Math.min,l=Math.sin,h=Math.sqrt,f=1e-12,d=Math.PI,_=d/2,p=2*d;function y(t){return t>1?0:t<-1?d:Math.acos(t)}function g(t){return t>=1?_:t<=-1?-_:Math.asin(t)}function v(t){return t.innerRadius}function m(t){return t.outerRadius}function x(t){return t.startAngle}function b(t){return t.endAngle}function w(t){return t&&t.padAngle}function S(t,e,n,i,r,s,o,a){var u=n-t,c=i-e,l=o-r,h=a-s,d=h*u-l*c;if(!(d*d<f))return[t+(d=(l*(e-s)-h*(t-r))/d)*u,e+d*c]}function M(t,e,n,i,r,s,o){var a=t-n,c=e-i,l=(o?s:-s)/h(a*a+c*c),f=l*c,d=-l*a,_=t+f,p=e+d,y=n+f,g=i+d,v=(_+y)/2,m=(p+g)/2,x=y-_,b=g-p,w=x*x+b*b,S=r-s,M=_*g-y*p,T=(b<0?-1:1)*h(u(0,S*S*w-M*M)),k=(M*b-x*T)/w,Z=(-M*x-b*T)/w,O=(M*b+x*T)/w,A=(-M*x+b*T)/w,C=k-v,E=Z-m,P=O-v,R=A-m;return C*C+E*E>P*P+R*R&&(k=O,Z=A),{cx:k,cy:Z,x01:-f,y01:-d,x11:k*(r/S-1),y11:Z*(r/S-1)}}function T(){var t=v,e=m,n=(0,r.Z)(0),u=null,T=x,k=b,Z=w,O=null;function A(){var r,v,m=+t.apply(this,arguments),x=+e.apply(this,arguments),b=T.apply(this,arguments)-_,w=k.apply(this,arguments)-_,A=s(w-b),C=w>b;if(O||(O=r=(0,i.Z)()),x<m&&(v=x,x=m,m=v),x>f)if(A>p-f)O.moveTo(x*a(b),x*l(b)),O.arc(0,0,x,b,w,!C),m>f&&(O.moveTo(m*a(w),m*l(w)),O.arc(0,0,m,w,b,C));else{var E,P,R=b,j=w,I=b,N=w,U=A,D=A,q=Z.apply(this,arguments)/2,V=q>f&&(u?+u.apply(this,arguments):h(m*m+x*x)),L=c(s(x-m)/2,+n.apply(this,arguments)),F=L,z=L;if(V>f){var $=g(V/m*l(q)),W=g(V/x*l(q));(U-=2*$)>f?(I+=$*=C?1:-1,N-=$):(U=0,I=N=(b+w)/2),(D-=2*W)>f?(R+=W*=C?1:-1,j-=W):(D=0,R=j=(b+w)/2)}var H=x*a(R),B=x*l(R),Y=m*a(N),Q=m*l(N);if(L>f){var X,G=x*a(j),J=x*l(j),K=m*a(I),tt=m*l(I);if(A<d&&(X=S(H,B,K,tt,G,J,Y,Q))){var et=H-X[0],nt=B-X[1],it=G-X[0],rt=J-X[1],st=1/l(y((et*it+nt*rt)/(h(et*et+nt*nt)*h(it*it+rt*rt)))/2),ot=h(X[0]*X[0]+X[1]*X[1]);F=c(L,(m-ot)/(st-1)),z=c(L,(x-ot)/(st+1))}}D>f?z>f?(E=M(K,tt,H,B,x,z,C),P=M(G,J,Y,Q,x,z,C),O.moveTo(E.cx+E.x01,E.cy+E.y01),z<L?O.arc(E.cx,E.cy,z,o(E.y01,E.x01),o(P.y01,P.x01),!C):(O.arc(E.cx,E.cy,z,o(E.y01,E.x01),o(E.y11,E.x11),!C),O.arc(0,0,x,o(E.cy+E.y11,E.cx+E.x11),o(P.cy+P.y11,P.cx+P.x11),!C),O.arc(P.cx,P.cy,z,o(P.y11,P.x11),o(P.y01,P.x01),!C))):(O.moveTo(H,B),O.arc(0,0,x,R,j,!C)):O.moveTo(H,B),m>f&&U>f?F>f?(E=M(Y,Q,G,J,m,-F,C),P=M(H,B,K,tt,m,-F,C),O.lineTo(E.cx+E.x01,E.cy+E.y01),F<L?O.arc(E.cx,E.cy,F,o(E.y01,E.x01),o(P.y01,P.x01),!C):(O.arc(E.cx,E.cy,F,o(E.y01,E.x01),o(E.y11,E.x11),!C),O.arc(0,0,m,o(E.cy+E.y11,E.cx+E.x11),o(P.cy+P.y11,P.cx+P.x11),C),O.arc(P.cx,P.cy,F,o(P.y11,P.x11),o(P.y01,P.x01),!C))):O.arc(0,0,m,N,I,C):O.lineTo(Y,Q)}else O.moveTo(0,0);if(O.closePath(),r)return O=null,r+""||null}return A.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+T.apply(this,arguments)+ +k.apply(this,arguments))/2-d/2;return[a(i)*n,l(i)*n]},A.innerRadius=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),A):t},A.outerRadius=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),A):e},A.cornerRadius=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(+t),A):n},A.padRadius=function(t){return arguments.length?(u=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),A):u},A.startAngle=function(t){return arguments.length?(T="function"===typeof t?t:(0,r.Z)(+t),A):T},A.endAngle=function(t){return arguments.length?(k="function"===typeof t?t:(0,r.Z)(+t),A):k},A.padAngle=function(t){return arguments.length?(Z="function"===typeof t?t:(0,r.Z)(+t),A):Z},A.context=function(t){return arguments.length?(O=null==t?null:t,A):O},A}var k=n(48167),Z=n(92201);function O(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function A(t){return t}function C(){var t=A,e=O,n=null,i=(0,r.Z)(0),s=(0,r.Z)(p),o=(0,r.Z)(0);function a(r){var a,u,c,l,h,f=r.length,d=0,_=new Array(f),y=new Array(f),g=+i.apply(this,arguments),v=Math.min(p,Math.max(-p,s.apply(this,arguments)-g)),m=Math.min(Math.abs(v)/f,o.apply(this,arguments)),x=m*(v<0?-1:1);for(a=0;a<f;++a)(h=y[_[a]=a]=+t(r[a],a,r))>0&&(d+=h);for(null!=e?_.sort((function(t,n){return e(y[t],y[n])})):null!=n&&_.sort((function(t,e){return n(r[t],r[e])})),a=0,c=d?(v-f*x)/d:0;a<f;++a,g=l)u=_[a],l=g+((h=y[u])>0?h*c:0)+x,y[u]={data:r[u],index:a,value:h,startAngle:g,endAngle:l,padAngle:m};return y}return a.value=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(i="function"===typeof t?t:(0,r.Z)(+t),a):i},a.endAngle=function(t){return arguments.length?(s="function"===typeof t?t:(0,r.Z)(+t),a):s},a.padAngle=function(t){return arguments.length?(o="function"===typeof t?t:(0,r.Z)(+t),a):o},a}var E=n(23622),P=j(E.Z);function R(t){this._curve=t}function j(t){function e(e){return new R(t(e))}return e._curve=t,e}function I(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(j(t)):e()._curve},t}function N(){return I((0,Z.Z)().curve(P))}function U(){var t=(0,k.Z)().curve(P),e=t.curve,n=t.lineX0,i=t.lineX1,r=t.lineY0,s=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return I(n())},delete t.lineX0,t.lineEndAngle=function(){return I(i())},delete t.lineX1,t.lineInnerRadius=function(){return I(r())},delete t.lineY0,t.lineOuterRadius=function(){return I(s())},delete t.lineY1,t.curve=function(t){return arguments.length?e(j(t)):e()._curve},t}function D(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}R.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var q=n(13946),V=n(98930);function L(t){return t.source}function F(t){return t.target}function z(t){var e=L,n=F,s=V.x,o=V.y,a=null;function u(){var r,u=q.t.call(arguments),c=e.apply(this,u),l=n.apply(this,u);if(a||(a=r=(0,i.Z)()),t(a,+s.apply(this,(u[0]=c,u)),+o.apply(this,u),+s.apply(this,(u[0]=l,u)),+o.apply(this,u)),r)return a=null,r+""||null}return u.source=function(t){return arguments.length?(e=t,u):e},u.target=function(t){return arguments.length?(n=t,u):n},u.x=function(t){return arguments.length?(s="function"===typeof t?t:(0,r.Z)(+t),u):s},u.y=function(t){return arguments.length?(o="function"===typeof t?t:(0,r.Z)(+t),u):o},u.context=function(t){return arguments.length?(a=null==t?null:t,u):a},u}function $(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e=(e+i)/2,n,e,r,i,r)}function W(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+r)/2,i,n,i,r)}function H(t,e,n,i,r){var s=D(e,n),o=D(e,n=(n+r)/2),a=D(i,n),u=D(i,r);t.moveTo(s[0],s[1]),t.bezierCurveTo(o[0],o[1],a[0],a[1],u[0],u[1])}function B(){return z($)}function Y(){return z(W)}function Q(){var t=z(H);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var X={draw:function(t,e){var n=Math.sqrt(e/d);t.moveTo(n,0),t.arc(0,0,n,0,p)}},G={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},J=Math.sqrt(1/3),K=2*J,tt={draw:function(t,e){var n=Math.sqrt(e/K),i=n*J;t.moveTo(0,-n),t.lineTo(i,0),t.lineTo(0,n),t.lineTo(-i,0),t.closePath()}},et=Math.sin(d/10)/Math.sin(7*d/10),nt=Math.sin(p/10)*et,it=-Math.cos(p/10)*et,rt={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),i=nt*n,r=it*n;t.moveTo(0,-n),t.lineTo(i,r);for(var s=1;s<5;++s){var o=p*s/5,a=Math.cos(o),u=Math.sin(o);t.lineTo(u*n,-a*n),t.lineTo(a*i-u*r,u*i+a*r)}t.closePath()}},st={draw:function(t,e){var n=Math.sqrt(e),i=-n/2;t.rect(i,i,n,n)}},ot=Math.sqrt(3),at={draw:function(t,e){var n=-Math.sqrt(e/(3*ot));t.moveTo(0,2*n),t.lineTo(-ot*n,-n),t.lineTo(ot*n,-n),t.closePath()}},ut=-.5,ct=Math.sqrt(3)/2,lt=1/Math.sqrt(12),ht=3*(lt/2+1),ft={draw:function(t,e){var n=Math.sqrt(e/ht),i=n/2,r=n*lt,s=i,o=n*lt+n,a=-s,u=o;t.moveTo(i,r),t.lineTo(s,o),t.lineTo(a,u),t.lineTo(ut*i-ct*r,ct*i+ut*r),t.lineTo(ut*s-ct*o,ct*s+ut*o),t.lineTo(ut*a-ct*u,ct*a+ut*u),t.lineTo(ut*i+ct*r,ut*r-ct*i),t.lineTo(ut*s+ct*o,ut*o-ct*s),t.lineTo(ut*a+ct*u,ut*u-ct*a),t.closePath()}},dt=[X,G,tt,st,rt,at,ft];function _t(){var t=(0,r.Z)(X),e=(0,r.Z)(64),n=null;function s(){var r;if(n||(n=r=(0,i.Z)()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return s.type=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(e),s):t},s.size=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),s):e},s.context=function(t){return arguments.length?(n=null==t?null:t,s):n},s}function pt(){}var yt=n(97745);function gt(t){this._context=t}function vt(t){return new gt(t)}function mt(t){this._context=t}function xt(t){return new mt(t)}function bt(t,e){this._basis=new yt.fE(t),this._beta=e}gt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:(0,yt.xm)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:(0,yt.xm)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},bt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var i,r=t[0],s=e[0],o=t[n]-r,a=e[n]-s,u=-1;++u<=n;)i=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(r+i*o),this._beta*e[u]+(1-this._beta)*(s+i*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var wt=function t(e){function n(t){return 1===e?new yt.fE(t):new bt(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function St(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Mt(t,e){this._context=t,this._k=(1-e)/6}Mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:St(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:St(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Tt=function t(e){function n(t){return new Mt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function kt(t,e){this._context=t,this._k=(1-e)/6}kt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:St(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Zt=function t(e){function n(t){return new kt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ot(t,e){this._context=t,this._k=(1-e)/6}Ot.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:St(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var At=function t(e){function n(t){return new Ot(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ct(t,e,n){var i=t._x1,r=t._y1,s=t._x2,o=t._y2;if(t._l01_a>f){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,r=(r*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>f){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);s=(s*c+t._x1*t._l23_2a-e*t._l12_2a)/l,o=(o*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(i,r,s,o,t._x2,t._y2)}function Et(t,e){this._context=t,this._alpha=e}Et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Ct(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Pt=function t(e){function n(t){return e?new Et(t,e):new Mt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Rt(t,e){this._context=t,this._alpha=e}Rt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ct(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var jt=function t(e){function n(t){return e?new Rt(t,e):new kt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function It(t,e){this._context=t,this._alpha=e}It.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ct(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Nt=function t(e){function n(t){return e?new It(t,e):new Ot(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Ut(t){this._context=t}function Dt(t){return new Ut(t)}function qt(t){return t<0?-1:1}function Vt(t,e,n){var i=t._x1-t._x0,r=e-t._x1,s=(t._y1-t._y0)/(i||r<0&&-0),o=(n-t._y1)/(r||i<0&&-0),a=(s*r+o*i)/(i+r);return(qt(s)+qt(o))*Math.min(Math.abs(s),Math.abs(o),.5*Math.abs(a))||0}function Lt(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Ft(t,e,n){var i=t._x0,r=t._y0,s=t._x1,o=t._y1,a=(s-i)/3;t._context.bezierCurveTo(i+a,r+a*e,s-a,o-a*n,s,o)}function zt(t){this._context=t}function $t(t){this._context=new Wt(t)}function Wt(t){this._context=t}function Ht(t){return new zt(t)}function Bt(t){return new $t(t)}function Yt(t){this._context=t}function Qt(t){var e,n,i=t.length-1,r=new Array(i),s=new Array(i),o=new Array(i);for(r[0]=0,s[0]=2,o[0]=t[0]+2*t[1],e=1;e<i-1;++e)r[e]=1,s[e]=4,o[e]=4*t[e]+2*t[e+1];for(r[i-1]=2,s[i-1]=7,o[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)n=r[e]/s[e-1],s[e]-=n,o[e]-=n*o[e-1];for(r[i-1]=o[i-1]/s[i-1],e=i-2;e>=0;--e)r[e]=(o[e]-r[e+1])/s[e];for(s[i-1]=(t[i]+r[i-1])/2,e=0;e<i-1;++e)s[e]=2*t[e+1]-r[e+1];return[r,s]}function Xt(t){return new Yt(t)}function Gt(t,e){this._context=t,this._t=e}function Jt(t){return new Gt(t,.5)}function Kt(t){return new Gt(t,0)}function te(t){return new Gt(t,1)}Ut.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},zt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ft(this,this._t0,Lt(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Ft(this,Lt(this,n=Vt(this,t,e)),n);break;default:Ft(this,this._t0,n=Vt(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},($t.prototype=Object.create(zt.prototype)).point=function(t,e){zt.prototype.point.call(this,e,t)},Wt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,r,s){this._context.bezierCurveTo(e,t,i,n,s,r)}},Yt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var i=Qt(t),r=Qt(e),s=0,o=1;o<n;++s,++o)this._context.bezierCurveTo(i[0][s],r[0][s],i[1][s],r[1][s],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},Gt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var ee=n(75823),ne=n(12759),ie=n(27500),re=n(82610),se=n(34812),oe=n(77944),ae=n(34128),ue=n(39586),ce=n(25516),le=n(54164),he=n(8512),fe=n(2010)},92201:function(t,e,n){n.d(e,{Z:function(){return a}});var i=n(35681),r=n(90875),s=n(23622),o=n(98930);function a(){var t=o.x,e=o.y,n=(0,r.Z)(!0),a=null,u=s.Z,c=null;function l(r){var s,o,l,h=r.length,f=!1;for(null==a&&(c=u(l=(0,i.Z)())),s=0;s<=h;++s)!(s<h&&n(o=r[s],s,r))===f&&((f=!f)?c.lineStart():c.lineEnd()),f&&c.point(+t(o,s,r),+e(o,s,r));if(l)return c=null,l+""||null}return l.x=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),l):t},l.y=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),l):e},l.defined=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(!!t),l):n},l.curve=function(t){return arguments.length?(u=t,null!=a&&(c=u(a)),l):u},l.context=function(t){return arguments.length?(null==t?a=c=null:c=u(a=t),l):a},l}},27500:function(t,e,n){function i(t,e){if((a=t.length)>0)for(var n,i,r,s,o,a,u=0,c=t[e[0]].length;u<c;++u)for(s=o=0,n=0;n<a;++n)(r=(i=t[e[n]][u])[1]-i[0])>0?(i[0]=s,i[1]=s+=r):r<0?(i[1]=o,i[0]=o+=r):(i[0]=0,i[1]=r)}n.d(e,{Z:function(){return i}})},12759:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(82610);function r(t,e){if((r=t.length)>0){for(var n,r,s,o=0,a=t[0].length;o<a;++o){for(s=n=0;n<r;++n)s+=t[n][o][1]||0;if(s)for(n=0;n<r;++n)t[n][o][1]/=s}(0,i.Z)(t,e)}}},82610:function(t,e,n){function i(t,e){if((r=t.length)>1)for(var n,i,r,s=1,o=t[e[0]],a=o.length;s<r;++s)for(i=o,o=t[e[s]],n=0;n<a;++n)o[n][1]+=o[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}n.d(e,{Z:function(){return i}})},34812:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(82610);function r(t,e){if((n=t.length)>0){for(var n,r=0,s=t[e[0]],o=s.length;r<o;++r){for(var a=0,u=0;a<n;++a)u+=t[a][r][1]||0;s[r][1]+=s[r][0]=-u/2}(0,i.Z)(t,e)}}},77944:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(82610);function r(t,e){if((s=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,s,o=0,a=1;a<r;++a){for(var u=0,c=0,l=0;u<s;++u){for(var h=t[e[u]],f=h[a][1]||0,d=(f-(h[a-1][1]||0))/2,_=0;_<u;++_){var p=t[e[_]];d+=(p[a][1]||0)-(p[a-1][1]||0)}c+=f,l+=d*f}n[a-1][1]+=n[a-1][0]=o,c&&(o-=l/c)}n[a-1][1]+=n[a-1][0]=o,(0,i.Z)(t,e)}}},34128:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(8512);function r(t){var e=t.map(s);return(0,i.Z)(t).sort((function(t,n){return e[t]-e[n]}))}function s(t){for(var e,n=-1,i=0,r=t.length,s=-1/0;++n<r;)(e=+t[n][1])>s&&(s=e,i=n);return i}},39586:function(t,e,n){n.d(e,{S:function(){return s},Z:function(){return r}});var i=n(8512);function r(t){var e=t.map(s);return(0,i.Z)(t).sort((function(t,n){return e[t]-e[n]}))}function s(t){for(var e,n=0,i=-1,r=t.length;++i<r;)(e=+t[i][1])&&(n+=e);return n}},25516:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(39586);function r(t){return(0,i.Z)(t).reverse()}},54164:function(t,e,n){n.d(e,{Z:function(){return s}});var i=n(34128),r=n(39586);function s(t){var e,n,s=t.length,o=t.map(r.S),a=(0,i.Z)(t),u=0,c=0,l=[],h=[];for(e=0;e<s;++e)n=a[e],u<c?(u+=o[n],l.push(n)):(c+=o[n],h.push(n));return h.reverse().concat(l)}},8512:function(t,e,n){function i(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}n.d(e,{Z:function(){return i}})},2010:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(8512);function r(t){return(0,i.Z)(t).reverse()}},98930:function(t,e,n){function i(t){return t[0]}function r(t){return t[1]}n.d(e,{x:function(){return i},y:function(){return r}})},75823:function(t,e,n){n.d(e,{Z:function(){return u}});var i=n(13946),r=n(90875),s=n(82610),o=n(8512);function a(t,e){return t[e]}function u(){var t=(0,r.Z)([]),e=o.Z,n=s.Z,u=a;function c(i){var r,s,o=t.apply(this,arguments),a=i.length,c=o.length,l=new Array(c);for(r=0;r<c;++r){for(var h,f=o[r],d=l[r]=new Array(a),_=0;_<a;++_)d[_]=h=[0,+u(i[_],f,_,i)],h.data=i[_];d.key=f}for(r=0,s=e(l);r<c;++r)l[s[r]].index=r;return n(l,s),l}return c.keys=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(i.t.call(e)),c):t},c.value=function(t){return arguments.length?(u="function"===typeof t?t:(0,r.Z)(+t),c):u},c.order=function(t){return arguments.length?(e=null==t?o.Z:"function"===typeof t?t:(0,r.Z)(i.t.call(t)),c):e},c.offset=function(t){return arguments.length?(n=null==t?s.Z:t,c):n},c}},11684:function(t,e,n){n.d(e,{animated:function(){return i.animated}});var i=n(84877);n.o(i,"to")&&n.d(e,{to:function(){return i.to}}),n.o(i,"useTransition")&&n.d(e,{useTransition:function(){return i.useTransition}})}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5872],{92469:function(t,e,n){n.d(e,{He:function(){return u},Ld:function(){return b},eC:function(){return h},f3:function(){return a},iG:function(){return l},rS:function(){return d},sb:function(){return y},ys:function(){return o}});var i=n(88489),r=n(82684);const s=Symbol.for("Animated:node"),o=t=>t&&t[s],a=(t,e)=>(0,i.dE)(t,s,e),u=t=>t&&t[s]&&t[s].getPayload();class c{constructor(){this.payload=void 0,a(this,this)}getPayload(){return this.payload||[]}}class l extends c{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,i.is.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new l(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,e){return i.is.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,i.is.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}class h extends l{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=(0,i.mD)({output:[t,t]})}static create(t){return new h(t)}getValue(){let t=this._string;return null==t?this._string=this._toString(this._value):t}setValue(t){if(i.is.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!super.setValue(t))return!1;this._string=null}return!0}reset(t){t&&(this._toString=(0,i.mD)({output:[this.getValue(),t]})),this._value=0,super.reset()}}const f={dependencies:null};class d extends c{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const e={};return(0,i.rU)(this.source,((n,r)=>{var o;(o=n)&&o[s]===o?e[r]=n.getValue(t):(0,i.j$)(n)?e[r]=(0,i.je)(n):t||(e[r]=n)})),e}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&(0,i.S6)(this.payload,(t=>t.reset()))}_makePayload(t){if(t){const e=new Set;return(0,i.rU)(t,this._addToPayload,e),Array.from(e)}}_addToPayload(t){f.dependencies&&(0,i.j$)(t)&&f.dependencies.add(t);const e=u(t);e&&(0,i.S6)(e,(t=>this.add(t)))}}class _ extends d{constructor(t){super(t)}static create(t){return new _(t)}getValue(){return this.source.map((t=>t.getValue()))}setValue(t){const e=this.getPayload();return t.length==e.length?e.map(((e,n)=>e.setValue(t[n]))).some(Boolean):(super.setValue(t.map(p)),!0)}}function p(t){return((0,i.Df)(t)?h:l).create(t)}function y(t){const e=o(t);return e?e.constructor:i.is.arr(t)?_:(0,i.Df)(t)?h:l}function g(){return g=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},g.apply(this,arguments)}const v=(t,e)=>{const n=!i.is.fun(t)||t.prototype&&t.prototype.isReactComponent;return(0,r.forwardRef)(((s,o)=>{const a=(0,r.useRef)(null),u=n&&(0,r.useCallback)((t=>{a.current=function(t,e){t&&(i.is.fun(t)?t(e):t.current=e);return e}(o,t)}),[o]),[c,l]=function(t,e){const n=new Set;f.dependencies=n,t.style&&(t=g({},t,{style:e.createAnimatedStyle(t.style)}));return t=new d(t),f.dependencies=null,[t,n]}(s,e),h=(0,i.NW)(),_=()=>{const t=a.current;if(n&&!t)return;!1===(!!t&&e.applyAnimatedValues(t,c.getValue(!0)))&&h()},p=new m(_,l),y=(0,r.useRef)();(0,i.LI)((()=>(y.current=p,(0,i.S6)(l,(t=>(0,i.UI)(t,p))),()=>{y.current&&((0,i.S6)(y.current.deps,(t=>(0,i.iL)(t,y.current))),i.Wn.cancel(y.current.update))}))),(0,r.useEffect)(_,[]),(0,i.tf)((()=>()=>{const t=y.current;(0,i.S6)(t.deps,(e=>(0,i.iL)(e,t)))}));const v=e.getComponentProps(c.getValue());return r.createElement(t,g({},v,{ref:u}))}))};class m{constructor(t,e){this.update=t,this.deps=e}eventObserved(t){"change"==t.type&&i.Wn.write(this.update)}}const x=Symbol.for("AnimatedComponent"),b=(t,{applyAnimatedValues:e=(()=>!1),createAnimatedStyle:n=(t=>new d(t)),getComponentProps:r=(t=>t)}={})=>{const s={applyAnimatedValues:e,createAnimatedStyle:n,getComponentProps:r},o=t=>{const e=w(t)||"Anonymous";return(t=i.is.str(t)?o[t]||(o[t]=v(t,s)):t[x]||(t[x]=v(t,s))).displayName=`Animated(${e})`,t};return(0,i.rU)(t,((e,n)=>{i.is.arr(t)&&(n=w(e)),o[n]=o(e)})),{animated:o}},w=t=>i.is.str(t)?t:t&&i.is.str(t.displayName)?t.displayName:i.is.fun(t)&&t.name||null},79950:function(t,e,n){n.d(e,{Globals:function(){return i.OH},to:function(){return St},useTransition:function(){return yt}});var i=n(88489),r=n(82684),s=n(92469);function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},o.apply(this,arguments)}function a(t,...e){return i.is.fun(t)?t(...e):t}const u=(t,e)=>!0===t||!!(e&&t&&(i.is.fun(t)?t(e):(0,i.qo)(t).includes(e))),c=(t,e)=>i.is.obj(t)?e&&t[e]:t,l=(t,e)=>!0===t.default?t[e]:t.default?t.default[e]:void 0,h=t=>t,f=(t,e=h)=>{let n=d;t.default&&!0!==t.default&&(t=t.default,n=Object.keys(t));const r={};for(const s of n){const n=e(t[s],s);i.is.und(n)||(r[s]=n)}return r},d=["config","onProps","onStart","onChange","onPause","onResume","onRest"],_={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function p(t){const e=function(t){const e={};let n=0;if((0,i.rU)(t,((t,i)=>{_[i]||(e[i]=t,n++)})),n)return e}(t);if(e){const n={to:e};return(0,i.rU)(t,((t,i)=>i in e||(n[i]=t))),n}return o({},t)}function y(t){return t=(0,i.je)(t),i.is.arr(t)?t.map(y):(0,i.Df)(t)?i.OH.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function g(t){for(const e in t)return!0;return!1}function v(t){return i.is.fun(t)||i.is.arr(t)&&i.is.obj(t[0])}function m(t,e){var n;null==(n=t.ref)||n.delete(t),null==e||e.delete(t)}function x(t,e){var n;e&&t.ref!==e&&(null==(n=t.ref)||n.delete(t),e.add(t),t.ref=e)}const b=o({},{tension:170,friction:26},{mass:1,damping:1,easing:i.Z5.linear,clamp:!1});class w{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,b)}}function S(t,e){if(i.is.und(e.decay)){const n=!i.is.und(e.tension)||!i.is.und(e.friction);!n&&i.is.und(e.frequency)&&i.is.und(e.damping)&&i.is.und(e.mass)||(t.duration=void 0,t.decay=void 0),n&&(t.frequency=void 0)}else t.duration=void 0}const M=[];class T{constructor(){this.changed=!1,this.values=M,this.toValues=null,this.fromValues=M,this.to=void 0,this.from=void 0,this.config=new w,this.immediate=!1}}function k(t,{key:e,props:n,defaultProps:r,state:s,actions:c}){return new Promise(((l,h)=>{var f;let d,_,p=u(null!=(f=n.cancel)?f:null==r?void 0:r.cancel,e);if(p)v();else{i.is.und(n.pause)||(s.paused=u(n.pause,e));let t=null==r?void 0:r.pause;!0!==t&&(t=s.paused||u(t,e)),d=a(n.delay||0,e),t?(s.resumeQueue.add(g),c.pause()):(c.resume(),g())}function y(){s.resumeQueue.add(g),s.timeouts.delete(_),_.cancel(),d=_.time-i.Wn.now()}function g(){d>0&&!i.OH.skipAnimation?(s.delayed=!0,_=i.Wn.setTimeout(v,d),s.pauseQueue.add(y),s.timeouts.add(_)):v()}function v(){s.delayed&&(s.delayed=!1),s.pauseQueue.delete(y),s.timeouts.delete(_),t<=(s.cancelId||0)&&(p=!0);try{c.start(o({},n,{callId:t,cancel:p}),l)}catch(e){h(e)}}}))}const Z=(t,e)=>1==e.length?e[0]:e.some((t=>t.cancelled))?C(t.get()):e.every((t=>t.noop))?O(t.get()):A(t.get(),e.every((t=>t.finished))),O=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),A=(t,e,n=!1)=>({value:t,finished:e,cancelled:n}),C=t=>({value:t,cancelled:!0,finished:!1});function E(t,e,n,r){const{callId:s,parentId:a,onRest:u}=e,{asyncTo:c,promise:l}=n;return a||t!==c||e.reset?n.promise=(async()=>{n.asyncId=s,n.asyncTo=t;const h=f(e,((t,e)=>"onRest"===e?void 0:t));let d,_;const p=new Promise(((t,e)=>(d=t,_=e))),y=t=>{const e=s<=(n.cancelId||0)&&C(r)||s!==n.asyncId&&A(r,!1);if(e)throw t.result=e,_(t),t},g=(t,e)=>{const a=new R,u=new j;return(async()=>{if(i.OH.skipAnimation)throw P(n),u.result=A(r,!1),_(u),u;y(a);const c=i.is.obj(t)?o({},t):o({},e,{to:t});c.parentId=s,(0,i.rU)(h,((t,e)=>{i.is.und(c[e])&&(c[e]=t)}));const l=await r.start(c);return y(a),n.paused&&await new Promise((t=>{n.resumeQueue.add(t)})),l})()};let v;if(i.OH.skipAnimation)return P(n),A(r,!1);try{let e;e=i.is.arr(t)?(async t=>{for(const e of t)await g(e)})(t):Promise.resolve(t(g,r.stop.bind(r))),await Promise.all([e.then(d),p]),v=A(r.get(),!0,!1)}catch(m){if(m instanceof R)v=m.result;else{if(!(m instanceof j))throw m;v=m.result}}finally{s==n.asyncId&&(n.asyncId=a,n.asyncTo=a?c:void 0,n.promise=a?l:void 0)}return i.is.fun(u)&&i.Wn.batchedUpdates((()=>{u(v,r,r.item)})),v})():l}function P(t,e){(0,i.yl)(t.timeouts,(t=>t.cancel())),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}class R extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class j extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const I=t=>t instanceof U;let N=1;class U extends i.B0{constructor(...t){super(...t),this.id=N++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=(0,s.ys)(this);return t&&t.getValue()}to(...t){return i.OH.to(this,t)}interpolate(...t){return(0,i.LW)(),i.OH.to(this,t)}toJSON(){return this.get()}observerAdded(t){1==t&&this._attach()}observerRemoved(t){0==t&&this._detach()}_attach(){}_detach(){}_onChange(t,e=!1){(0,i.k0)(this,{type:"change",parent:this,value:t,idle:e})}_onPriorityChange(t){this.idle||i.fT.sort(this),(0,i.k0)(this,{type:"priority",parent:this,priority:t})}}const D=Symbol.for("SpringPhase"),q=t=>(1&t[D])>0,V=t=>(2&t[D])>0,L=t=>(4&t[D])>0,F=(t,e)=>e?t[D]|=3:t[D]&=-3,z=(t,e)=>e?t[D]|=4:t[D]&=-5;class $ extends U{constructor(t,e){if(super(),this.key=void 0,this.animation=new T,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!i.is.und(t)||!i.is.und(e)){const n=i.is.obj(t)?o({},t):o({},e,{from:t});i.is.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(V(this)||this._state.asyncTo)||L(this)}get goal(){return(0,i.je)(this.animation.to)}get velocity(){const t=(0,s.ys)(this);return t instanceof s.iG?t.lastVelocity||0:t.getPayload().map((t=>t.lastVelocity||0))}get hasAnimated(){return q(this)}get isAnimating(){return V(this)}get isPaused(){return L(this)}get isDelayed(){return this._state.delayed}advance(t){let e=!0,n=!1;const r=this.animation;let{config:o,toValues:a}=r;const u=(0,s.He)(r.to);!u&&(0,i.j$)(r.to)&&(a=(0,i.qo)((0,i.je)(r.to))),r.values.forEach(((c,l)=>{if(c.done)return;const h=c.constructor==s.eC?1:u?u[l].lastPosition:a[l];let f=r.immediate,d=h;if(!f){if(d=c.lastPosition,o.tension<=0)return void(c.done=!0);let e=c.elapsedTime+=t;const n=r.fromValues[l],s=null!=c.v0?c.v0:c.v0=i.is.arr(o.velocity)?o.velocity[l]:o.velocity;let a;const u=o.precision||(n==h?.005:Math.min(1,.001*Math.abs(h-n)));if(i.is.und(o.duration))if(o.decay){const t=!0===o.decay?.998:o.decay,i=Math.exp(-(1-t)*e);d=n+s/(1-t)*(1-i),f=Math.abs(c.lastPosition-d)<=u,a=s*i}else{a=null==c.lastVelocity?s:c.lastVelocity;const e=o.restVelocity||u/10,r=o.clamp?0:o.bounce,l=!i.is.und(r),_=n==h?c.v0>0:n<h;let p,y=!1;const g=1,v=Math.ceil(t/g);for(let t=0;t<v&&(p=Math.abs(a)>e,p||(f=Math.abs(h-d)<=u,!f));++t){l&&(y=d==h||d>h==_,y&&(a=-a*r,d=h));a+=(1e-6*-o.tension*(d-h)+.001*-o.friction*a)/o.mass*g,d+=a*g}}else{let i=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,c.durationProgress>0&&(c.elapsedTime=o.duration*c.durationProgress,e=c.elapsedTime+=t)),i=(o.progress||0)+e/this._memoizedDuration,i=i>1?1:i<0?0:i,c.durationProgress=i),d=n+o.easing(i)*(h-n),a=(d-c.lastPosition)/t,f=1==i}c.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),f=!0)}u&&!u[l].done&&(f=!1),f?c.done=!0:e=!1,c.setValue(d,o.round)&&(n=!0)}));const c=(0,s.ys)(this),l=c.getValue();if(e){const t=(0,i.je)(r.to);l===t&&!n||o.decay?n&&o.decay&&this._onChange(l):(c.setValue(t),this._onChange(t)),this._stop()}else n&&this._onChange(l)}set(t){return i.Wn.batchedUpdates((()=>{this._stop(),this._focus(t),this._set(t)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(V(this)){const{to:t,config:e}=this.animation;i.Wn.batchedUpdates((()=>{this._onStart(),e.decay||this._set(t,!1),this._stop()}))}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,e){let n;return i.is.und(t)?(n=this.queue||[],this.queue=[]):n=[i.is.obj(t)?t:o({},e,{to:t})],Promise.all(n.map((t=>this._update(t)))).then((t=>Z(this,t)))}stop(t){const{to:e}=this.animation;return this._focus(this.get()),P(this._state,t&&this._lastCallId),i.Wn.batchedUpdates((()=>this._stop(e,t))),this}reset(){this._update({reset:!0})}eventObserved(t){"change"==t.type?this._start():"priority"==t.type&&(this.priority=t.priority+1)}_prepareNode(t){const e=this.key||"";let{to:n,from:r}=t;n=i.is.obj(n)?n[e]:n,(null==n||v(n))&&(n=void 0),r=i.is.obj(r)?r[e]:r,null==r&&(r=void 0);const o={to:n,from:r};return q(this)||(t.reverse&&([n,r]=[r,n]),r=(0,i.je)(r),i.is.und(r)?(0,s.ys)(this)||this._set(n):this._set(r)),o}_update(t,e){let n=o({},t);const{key:r,defaultProps:s}=this;n.default&&Object.assign(s,f(n,((t,e)=>/^on/.test(e)?c(t,r):t))),X(this,n,"onProps"),G(this,"onProps",n,this);const a=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const u=this._state;return k(++this._lastCallId,{key:r,props:n,defaultProps:s,state:u,actions:{pause:()=>{L(this)||(z(this,!0),(0,i.bl)(u.pauseQueue),G(this,"onPause",A(this,W(this,this.animation.to)),this))},resume:()=>{L(this)&&(z(this,!1),V(this)&&this._resume(),(0,i.bl)(u.resumeQueue),G(this,"onResume",A(this,W(this,this.animation.to)),this))},start:this._merge.bind(this,a)}}).then((t=>{if(n.loop&&t.finished&&(!e||!t.noop)){const t=H(n);if(t)return this._update(t,!0)}return t}))}_merge(t,e,n){if(e.cancel)return this.stop(!0),n(C(this));const r=!i.is.und(t.to),c=!i.is.und(t.from);if(r||c){if(!(e.callId>this._lastToId))return n(C(this));this._lastToId=e.callId}const{key:l,defaultProps:h,animation:f}=this,{to:d,from:_}=f;let{to:p=d,from:g=_}=t;!c||r||e.default&&!i.is.und(p)||(p=g),e.reverse&&([p,g]=[g,p]);const m=!(0,i.Xy)(g,_);m&&(f.from=g),g=(0,i.je)(g);const x=!(0,i.Xy)(p,d);x&&this._focus(p);const w=v(e.to),{config:M}=f,{decay:T,velocity:k}=M;(r||c)&&(M.velocity=0),e.config&&!w&&function(t,e,n){n&&(S(n=o({},n),e),e=o({},n,e)),S(t,e),Object.assign(t,e);for(const i in b)null==t[i]&&(t[i]=b[i]);let{mass:r,frequency:s,damping:a}=t;i.is.und(s)||(s<.01&&(s=.01),a<0&&(a=0),t.tension=Math.pow(2*Math.PI/s,2)*r,t.friction=4*Math.PI*a*r/s)}(M,a(e.config,l),e.config!==h.config?a(h.config,l):void 0);let Z=(0,s.ys)(this);if(!Z||i.is.und(p))return n(A(this,!0));const P=i.is.und(e.reset)?c&&!e.default:!i.is.und(g)&&u(e.reset,l),R=P?g:this.get(),j=y(p),I=i.is.num(j)||i.is.arr(j)||(0,i.Df)(j),N=!w&&(!I||u(h.immediate||e.immediate,l));if(x){const t=(0,s.sb)(p);if(t!==Z.constructor){if(!N)throw Error(`Cannot animate between ${Z.constructor.name} and ${t.name}, as the "to" prop suggests`);Z=this._set(j)}}const U=Z.constructor;let D=(0,i.j$)(p),L=!1;if(!D){const t=P||!q(this)&&m;(x||t)&&(L=(0,i.Xy)(y(R),j),D=!L),((0,i.Xy)(f.immediate,N)||N)&&(0,i.Xy)(M.decay,T)&&(0,i.Xy)(M.velocity,k)||(D=!0)}if(L&&V(this)&&(f.changed&&!P?D=!0:D||this._stop(d)),!w&&((D||(0,i.j$)(d))&&(f.values=Z.getPayload(),f.toValues=(0,i.j$)(p)?null:U==s.eC?[1]:(0,i.qo)(j)),f.immediate!=N&&(f.immediate=N,N||P||this._set(d)),D)){const{onRest:t}=f;(0,i.S6)(Q,(t=>X(this,e,t)));const r=A(this,W(this,d));(0,i.bl)(this._pendingCalls,r),this._pendingCalls.add(n),f.changed&&i.Wn.batchedUpdates((()=>{f.changed=!P,null==t||t(r,this),P?a(h.onRest,r):null==f.onStart||f.onStart(r,this)}))}P&&this._set(R),w?n(E(e.to,e,this._state,this)):D?this._start():V(this)&&!x?this._pendingCalls.add(n):n(O(R))}_focus(t){const e=this.animation;t!==e.to&&((0,i.Ll)(this)&&this._detach(),e.to=t,(0,i.Ll)(this)&&this._attach())}_attach(){let t=0;const{to:e}=this.animation;(0,i.j$)(e)&&((0,i.UI)(e,this),I(e)&&(t=e.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;(0,i.j$)(t)&&(0,i.iL)(t,this)}_set(t,e=!0){const n=(0,i.je)(t);if(!i.is.und(n)){const t=(0,s.ys)(this);if(!t||!(0,i.Xy)(n,t.getValue())){const r=(0,s.sb)(n);t&&t.constructor==r?t.setValue(n):(0,s.f3)(this,r.create(n)),t&&i.Wn.batchedUpdates((()=>{this._onChange(n,e)}))}}return(0,s.ys)(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,G(this,"onStart",A(this,W(this,t.to)),this))}_onChange(t,e){e||(this._onStart(),a(this.animation.onChange,t,this)),a(this.defaultProps.onChange,t,this),super._onChange(t,e)}_start(){const t=this.animation;(0,s.ys)(this).reset((0,i.je)(t.to)),t.immediate||(t.fromValues=t.values.map((t=>t.lastPosition))),V(this)||(F(this,!0),L(this)||this._resume())}_resume(){i.OH.skipAnimation?this.finish():i.fT.start(this)}_stop(t,e){if(V(this)){F(this,!1);const n=this.animation;(0,i.S6)(n.values,(t=>{t.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),(0,i.k0)(this,{type:"idle",parent:this});const r=e?C(this.get()):A(this.get(),W(this,null!=t?t:n.to));(0,i.bl)(this._pendingCalls,r),n.changed&&(n.changed=!1,G(this,"onRest",r,this))}}}function W(t,e){const n=y(e),r=y(t.get());return(0,i.Xy)(r,n)}function H(t,e=t.loop,n=t.to){let i=a(e);if(i){const r=!0!==i&&p(i),s=(r||t).reverse,a=!r||r.reset;return B(o({},t,{loop:e,default:!1,pause:void 0,to:!s||v(n)?n:void 0,from:a?t.from:void 0,reset:a},r))}}function B(t){const{to:e,from:n}=t=p(t),r=new Set;return i.is.obj(e)&&Y(e,r),i.is.obj(n)&&Y(n,r),t.keys=r.size?Array.from(r):null,t}function Y(t,e){(0,i.rU)(t,((t,n)=>null!=t&&e.add(n)))}const Q=["onStart","onRest","onChange","onPause","onResume"];function X(t,e,n){t.animation[n]=e[n]!==l(e,n)?c(e[n],t.key):void 0}function G(t,e,...n){var i,r,s,o;null==(i=(r=t.animation)[e])||i.call(r,...n),null==(s=(o=t.defaultProps)[e])||s.call(o,...n)}const J=["onStart","onChange","onRest"];let K=1;class tt{constructor(t,e){this.id=K++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),t&&this.start(o({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((t=>t.idle&&!t.isDelayed&&!t.isPaused))}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each(((e,n)=>t[n]=e.get())),t}set(t){for(const e in t){const n=t[e];i.is.und(n)||this.springs[e].set(n)}}update(t){return t&&this.queue.push(B(t)),this}start(t){let{queue:e}=this;return t?e=(0,i.qo)(t).map(B):this.queue=[],this._flush?this._flush(this,e):(at(this,e),et(this,e))}stop(t,e){if(t!==!!t&&(e=t),e){const n=this.springs;(0,i.S6)((0,i.qo)(e),(e=>n[e].stop(!!t)))}else P(this._state,this._lastAsyncId),this.each((e=>e.stop(!!t)));return this}pause(t){if(i.is.und(t))this.start({pause:!0});else{const e=this.springs;(0,i.S6)((0,i.qo)(t),(t=>e[t].pause()))}return this}resume(t){if(i.is.und(t))this.start({pause:!1});else{const e=this.springs;(0,i.S6)((0,i.qo)(t),(t=>e[t].resume()))}return this}each(t){(0,i.rU)(this.springs,t)}_onFrame(){const{onStart:t,onChange:e,onRest:n}=this._events,r=this._active.size>0,s=this._changed.size>0;(r&&!this._started||s&&!this._started)&&(this._started=!0,(0,i.yl)(t,(([t,e])=>{e.value=this.get(),t(e,this,this._item)})));const o=!r&&this._started,a=s||o&&n.size?this.get():null;s&&e.size&&(0,i.yl)(e,(([t,e])=>{e.value=a,t(e,this,this._item)})),o&&(this._started=!1,(0,i.yl)(n,(([t,e])=>{e.value=a,t(e,this,this._item)})))}eventObserved(t){if("change"==t.type)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else{if("idle"!=t.type)return;this._active.delete(t.parent)}i.Wn.onFrame(this._onFrame)}}function et(t,e){return Promise.all(e.map((e=>nt(t,e)))).then((e=>Z(t,e)))}async function nt(t,e,n){const{keys:r,to:s,from:o,loop:a,onRest:u,onResolve:c}=e,h=i.is.obj(e.default)&&e.default;a&&(e.loop=!1),!1===s&&(e.to=null),!1===o&&(e.from=null);const f=i.is.arr(s)||i.is.fun(s)?s:void 0;f?(e.to=void 0,e.onRest=void 0,h&&(h.onRest=void 0)):(0,i.S6)(J,(n=>{const r=e[n];if(i.is.fun(r)){const i=t._events[n];e[n]=({finished:t,cancelled:e})=>{const n=i.get(r);n?(t||(n.finished=!1),e&&(n.cancelled=!0)):i.set(r,{value:null,finished:t||!1,cancelled:e||!1})},h&&(h[n]=e[n])}}));const d=t._state;e.pause===!d.paused?(d.paused=e.pause,(0,i.bl)(e.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(e.pause=!0);const _=(r||Object.keys(t.springs)).map((n=>t.springs[n].start(e))),p=!0===e.cancel||!0===l(e,"cancel");(f||p&&d.asyncId)&&_.push(k(++t._lastAsyncId,{props:e,state:d,actions:{pause:i.ZT,resume:i.ZT,start(e,n){p?(P(d,t._lastAsyncId),n(C(t))):(e.onRest=u,n(E(f,e,d,t)))}}})),d.paused&&await new Promise((t=>{d.resumeQueue.add(t)}));const y=Z(t,await Promise.all(_));if(a&&y.finished&&(!n||!y.noop)){const n=H(e,a,s);if(n)return at(t,[n]),nt(t,n,!0)}return c&&i.Wn.batchedUpdates((()=>c(y,t,t.item))),y}function it(t,e){const n=o({},t.springs);return e&&(0,i.S6)((0,i.qo)(e),(t=>{i.is.und(t.keys)&&(t=B(t)),i.is.obj(t.to)||(t=o({},t,{to:void 0})),ot(n,t,(t=>st(t)))})),rt(t,n),n}function rt(t,e){(0,i.rU)(e,((e,n)=>{t.springs[n]||(t.springs[n]=e,(0,i.UI)(e,t))}))}function st(t,e){const n=new $;return n.key=t,e&&(0,i.UI)(n,e),n}function ot(t,e,n){e.keys&&(0,i.S6)(e.keys,(i=>{(t[i]||(t[i]=n(i)))._prepareNode(e)}))}function at(t,e){(0,i.S6)(e,(e=>{ot(t.springs,e,(e=>st(e,t)))}))}function ut(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}const ct=["children"],lt=t=>{let{children:e}=t,n=ut(t,ct);const s=(0,r.useContext)(ht),o=n.pause||!!s.pause,a=n.immediate||!!s.immediate;n=(0,i.Pr)((()=>({pause:o,immediate:a})),[o,a]);const{Provider:u}=ht;return r.createElement(u,{value:n},e)},ht=(ft=lt,dt={},Object.assign(ft,r.createContext(dt)),ft.Provider._context=ft,ft.Consumer._context=ft,ft);var ft,dt;lt.Provider=ht.Provider,lt.Consumer=ht.Consumer;const _t=()=>{const t=[],e=function(e){(0,i.ZR)();const r=[];return(0,i.S6)(t,((t,s)=>{if(i.is.und(e))r.push(t.start());else{const i=n(e,t,s);i&&r.push(t.start(i))}})),r};e.current=t,e.add=function(e){t.includes(e)||t.push(e)},e.delete=function(e){const n=t.indexOf(e);~n&&t.splice(n,1)},e.pause=function(){return(0,i.S6)(t,(t=>t.pause(...arguments))),this},e.resume=function(){return(0,i.S6)(t,(t=>t.resume(...arguments))),this},e.set=function(e){(0,i.S6)(t,(t=>t.set(e)))},e.start=function(e){const n=[];return(0,i.S6)(t,((t,r)=>{if(i.is.und(e))n.push(t.start());else{const i=this._getProps(e,t,r);i&&n.push(t.start(i))}})),n},e.stop=function(){return(0,i.S6)(t,(t=>t.stop(...arguments))),this},e.update=function(e){return(0,i.S6)(t,((t,n)=>t.update(this._getProps(e,t,n)))),this};const n=function(t,e,n){return i.is.fun(t)?t(n,e):t};return e._getProps=n,e};let pt;function yt(t,e,n){const s=i.is.fun(e)&&e,{reset:u,sort:c,trail:l=0,expires:h=!0,exitBeforeEnter:d=!1,onDestroyed:_,ref:y,config:v}=s?s():e,b=(0,r.useMemo)((()=>s||3==arguments.length?_t():void 0),[]),w=(0,i.qo)(t),S=[],M=(0,r.useRef)(null),T=u?null:M.current;(0,i.LI)((()=>{M.current=S})),(0,i.tf)((()=>((0,i.S6)(S,(t=>{null==b||b.add(t.ctrl),t.ctrl.ref=b})),()=>{(0,i.S6)(M.current,(t=>{t.expired&&clearTimeout(t.expirationId),m(t.ctrl,b),t.ctrl.stop(!0)}))})));const k=vt(w,s?s():e,T),Z=u&&M.current||[];(0,i.LI)((()=>(0,i.S6)(Z,(({ctrl:t,item:e,key:n})=>{m(t,b),a(_,e,n)}))));const O=[];if(T&&(0,i.S6)(T,((t,e)=>{t.expired?(clearTimeout(t.expirationId),Z.push(t)):~(e=O[e]=k.indexOf(t.key))&&(S[e]=t)})),(0,i.S6)(w,((t,e)=>{S[e]||(S[e]={key:k[e],item:t,phase:pt.MOUNT,ctrl:new tt},S[e].ctrl.item=t)})),O.length){let t=-1;const{leave:n}=s?s():e;(0,i.S6)(O,((e,i)=>{const r=T[i];~e?(t=S.indexOf(r),S[t]=o({},r,{item:w[e]})):n&&S.splice(++t,0,r)}))}i.is.fun(c)&&S.sort(((t,e)=>c(t.item,e.item)));let A=-l;const C=(0,i.NW)(),E=f(e),P=new Map,R=(0,r.useRef)(new Map),j=(0,r.useRef)(!1);(0,i.S6)(S,((t,n)=>{const r=t.key,u=t.phase,c=s?s():e;let f,_,g=a(c.delay||0,r);if(u==pt.MOUNT)f=c.enter,_=pt.ENTER;else{const t=k.indexOf(r)<0;if(u!=pt.LEAVE)if(t)f=c.leave,_=pt.LEAVE;else{if(!(f=c.update))return;_=pt.UPDATE}else{if(t)return;f=c.enter,_=pt.ENTER}}if(f=a(f,t.item,n),f=i.is.obj(f)?p(f):{to:f},!f.config){const e=v||E.config;f.config=a(e,t.item,n,_)}A+=l;const m=o({},E,{delay:g+A,ref:y,immediate:c.immediate,reset:!1},f);if(_==pt.ENTER&&i.is.und(m.from)){const r=s?s():e,o=i.is.und(r.initial)||T?r.from:r.initial;m.from=a(o,t.item,n)}const{onResolve:x}=m;m.onResolve=t=>{a(x,t);const e=M.current,n=e.find((t=>t.key===r));if(n&&(!t.cancelled||n.phase==pt.UPDATE)&&n.ctrl.idle){const t=e.every((t=>t.ctrl.idle));if(n.phase==pt.LEAVE){const e=a(h,n.item);if(!1!==e){const i=!0===e?0:e;if(n.expired=!0,!t&&i>0)return void(i<=2147483647&&(n.expirationId=setTimeout(C,i)))}}t&&e.some((t=>t.expired))&&(R.current.delete(n),d&&(j.current=!0),C())}};const b=it(t.ctrl,m);_===pt.LEAVE&&d?R.current.set(t,{phase:_,springs:b,payload:m}):P.set(t,{phase:_,springs:b,payload:m})}));const I=(0,r.useContext)(lt),N=(0,i.zH)(I),U=I!==N&&g(I);(0,i.LI)((()=>{U&&(0,i.S6)(S,(t=>{t.ctrl.start({default:I})}))}),[I]),(0,i.S6)(P,((t,e)=>{if(R.current.size){const t=S.findIndex((t=>t.key===e.key));S.splice(t,1)}})),(0,i.LI)((()=>{(0,i.S6)(R.current.size?R.current:P,(({phase:t,payload:e},n)=>{const{ctrl:i}=n;n.phase=t,null==b||b.add(i),U&&t==pt.ENTER&&i.start({default:I}),e&&(x(i,e.ref),!i.ref&&!b||j.current?(i.start(e),j.current&&(j.current=!1)):i.update(e))}))}),u?void 0:n);const D=t=>r.createElement(r.Fragment,null,S.map(((e,n)=>{const{springs:s}=P.get(e)||e.ctrl,a=t(o({},s),e.item,e,n);return a&&a.type?r.createElement(a.type,o({},a.props,{key:i.is.str(e.key)||i.is.num(e.key)?e.key:e.ctrl.id,ref:a.ref})):a})));return b?[D,b]:D}!function(t){t.MOUNT="mount",t.ENTER="enter",t.UPDATE="update",t.LEAVE="leave"}(pt||(pt={}));let gt=1;function vt(t,{key:e,keys:n=e},r){if(null===n){const e=new Set;return t.map((t=>{const n=r&&r.find((n=>n.item===t&&n.phase!==pt.LEAVE&&!e.has(n)));return n?(e.add(n),n.key):gt++}))}return i.is.und(n)?t:i.is.fun(n)?t.map(n):(0,i.qo)(n)}class mt extends U{constructor(t,e){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=(0,i.mD)(...e);const n=this._get(),r=(0,s.sb)(n);(0,s.f3)(this,r.create(n))}advance(t){const e=this._get(),n=this.get();(0,i.Xy)(e,n)||((0,s.ys)(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&bt(this._active)&&wt(this)}_get(){const t=i.is.arr(this.source)?this.source.map(i.je):(0,i.qo)((0,i.je)(this.source));return this.calc(...t)}_start(){this.idle&&!bt(this._active)&&(this.idle=!1,(0,i.S6)((0,s.He)(this),(t=>{t.done=!1})),i.OH.skipAnimation?(i.Wn.batchedUpdates((()=>this.advance())),wt(this)):i.fT.start(this))}_attach(){let t=1;(0,i.S6)((0,i.qo)(this.source),(e=>{(0,i.j$)(e)&&(0,i.UI)(e,this),I(e)&&(e.idle||this._active.add(e),t=Math.max(t,e.priority+1))})),this.priority=t,this._start()}_detach(){(0,i.S6)((0,i.qo)(this.source),(t=>{(0,i.j$)(t)&&(0,i.iL)(t,this)})),this._active.clear(),wt(this)}eventObserved(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=(0,i.qo)(this.source).reduce(((t,e)=>Math.max(t,(I(e)?e.priority:0)+1)),0))}}function xt(t){return!1!==t.idle}function bt(t){return!t.size||Array.from(t).every(xt)}function wt(t){t.idle||(t.idle=!0,(0,i.S6)((0,s.He)(t),(t=>{t.done=!0})),(0,i.k0)(t,{type:"idle",parent:t}))}const St=(t,...e)=>new mt(t,e);i.OH.assign({createStringInterpolator:i.qS,to:(t,e)=>new mt(t,e)});i.fT.advance},88489:function(t,e,n){n.d(e,{B0:function(){return Ot},OH:function(){return D},UI:function(){return Ct},k0:function(){return Zt},O9:function(){return Y},mD:function(){return dt},qS:function(){return Ft},dE:function(){return S},ZR:function(){return Yt},LW:function(){return Ht},S6:function(){return k},rU:function(){return Z},Z5:function(){return xt},yl:function(){return A},bl:function(){return C},fT:function(){return z},Ll:function(){return kt},je:function(){return Tt},j$:function(){return Mt},is:function(){return M},Df:function(){return Qt},Xy:function(){return T},ZT:function(){return w},Wn:function(){return r},iL:function(){return Et},qo:function(){return O},NW:function(){return Gt},LI:function(){return Xt},Pr:function(){return Jt},tf:function(){return Kt},zH:function(){return ee}});let i=m();const r=t=>p(t,i);let s=m();r.write=t=>p(t,s);let o=m();r.onStart=t=>p(t,o);let a=m();r.onFrame=t=>p(t,a);let u=m();r.onFinish=t=>p(t,u);let c=[];r.setTimeout=(t,e)=>{let n=r.now()+e,i=()=>{let t=c.findIndex((t=>t.cancel==i));~t&&c.splice(t,1),d-=~t?1:0},s={time:n,handler:t,cancel:i};return c.splice(l(n),0,s),d+=1,y(),s};let l=t=>~(~c.findIndex((e=>e.time>t))||~c.length);r.cancel=t=>{o.delete(t),a.delete(t),u.delete(t),i.delete(t),s.delete(t)},r.sync=t=>{_=!0,r.batchedUpdates(t),_=!1},r.throttle=t=>{let e;function n(){try{t(...e)}finally{e=null}}function i(...t){e=t,r.onStart(n)}return i.handler=t,i.cancel=()=>{o.delete(n),e=null},i};let h="undefined"!=typeof window?window.requestAnimationFrame:()=>{};r.use=t=>h=t,r.now="undefined"!=typeof performance?()=>performance.now():Date.now,r.batchedUpdates=t=>t(),r.catch=console.error,r.frameLoop="always",r.advance=()=>{"demand"!==r.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):v()};let f=-1,d=0,_=!1;function p(t,e){_?(e.delete(t),t(0)):(e.add(t),y())}function y(){f<0&&(f=0,"demand"!==r.frameLoop&&h(g))}function g(){~f&&(h(g),r.batchedUpdates(v))}function v(){let t=f;f=r.now();let e=l(f);e&&(x(c.splice(0,e),(t=>t.handler())),d-=e),d?(o.flush(),i.flush(t?Math.min(64,f-t):16.667),a.flush(),s.flush(),u.flush()):f=-1}function m(){let t=new Set,e=t;return{add(n){d+=e!=t||t.has(n)?0:1,t.add(n)},delete:n=>(d-=e==t&&t.has(n)?1:0,t.delete(n)),flush(n){e.size&&(t=new Set,d-=e.size,x(e,(e=>e(n)&&t.add(e))),d+=t.size,e=t)}}}function x(t,e){t.forEach((t=>{try{e(t)}catch(n){r.catch(n)}}))}var b=n(82684);function w(){}const S=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0}),M={arr:Array.isArray,obj:t=>!!t&&"Object"===t.constructor.name,fun:t=>"function"===typeof t,str:t=>"string"===typeof t,num:t=>"number"===typeof t,und:t=>void 0===t};function T(t,e){if(M.arr(t)){if(!M.arr(e)||t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}return t===e}const k=(t,e)=>t.forEach(e);function Z(t,e,n){if(M.arr(t))for(let i=0;i<t.length;i++)e.call(n,t[i],`${i}`);else for(const i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i)}const O=t=>M.und(t)?[]:M.arr(t)?t:[t];function A(t,e){if(t.size){const n=Array.from(t);t.clear(),k(n,e)}}const C=(t,...e)=>A(t,(t=>t(...e))),E=()=>"undefined"===typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let P,R,j=null,I=!1,N=w;const U=t=>{t.to&&(R=t.to),t.now&&(r.now=t.now),void 0!==t.colors&&(j=t.colors),null!=t.skipAnimation&&(I=t.skipAnimation),t.createStringInterpolator&&(P=t.createStringInterpolator),t.requestAnimationFrame&&r.use(t.requestAnimationFrame),t.batchedUpdates&&(r.batchedUpdates=t.batchedUpdates),t.willAdvance&&(N=t.willAdvance),t.frameLoop&&(r.frameLoop=t.frameLoop)};var D=Object.freeze({__proto__:null,get createStringInterpolator(){return P},get to(){return R},get colors(){return j},get skipAnimation(){return I},get willAdvance(){return N},assign:U});const q=new Set;let V=[],L=[],F=0;const z={get idle(){return!q.size&&!V.length},start(t){F>t.priority?(q.add(t),r.onStart($)):(W(t),r(B))},advance:B,sort(t){if(F)r.onFrame((()=>z.sort(t)));else{const e=V.indexOf(t);~e&&(V.splice(e,1),H(t))}},clear(){V=[],q.clear()}};function $(){q.forEach(W),q.clear(),r(B)}function W(t){V.includes(t)||H(t)}function H(t){V.splice(function(t,e){const n=t.findIndex(e);return n<0?t.length:n}(V,(e=>e.priority>t.priority)),0,t)}function B(t){const e=L;for(let n=0;n<V.length;n++){const i=V[n];F=i.priority,i.idle||(N(i),i.advance(t),i.idle||e.push(i))}return F=0,L=V,L.length=0,V=e,V.length>0}const Y={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Q="[-+]?\\d*\\.?\\d+",X=Q+"%";function G(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const J=new RegExp("rgb"+G(Q,Q,Q)),K=new RegExp("rgba"+G(Q,Q,Q,Q)),tt=new RegExp("hsl"+G(Q,X,X)),et=new RegExp("hsla"+G(Q,X,X,Q)),nt=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,it=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rt=/^#([0-9a-fA-F]{6})$/,st=/^#([0-9a-fA-F]{8})$/;function ot(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function at(t,e,n){const i=n<.5?n*(1+e):n+e-n*e,r=2*n-i,s=ot(r,i,t+1/3),o=ot(r,i,t),a=ot(r,i,t-1/3);return Math.round(255*s)<<24|Math.round(255*o)<<16|Math.round(255*a)<<8}function ut(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function ct(t){return(parseFloat(t)%360+360)%360/360}function lt(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(255*e)}function ht(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function ft(t){let e=function(t){let e;return"number"===typeof t?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=rt.exec(t))?parseInt(e[1]+"ff",16)>>>0:j&&void 0!==j[t]?j[t]:(e=J.exec(t))?(ut(e[1])<<24|ut(e[2])<<16|ut(e[3])<<8|255)>>>0:(e=K.exec(t))?(ut(e[1])<<24|ut(e[2])<<16|ut(e[3])<<8|lt(e[4]))>>>0:(e=nt.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=st.exec(t))?parseInt(e[1],16)>>>0:(e=it.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=tt.exec(t))?(255|at(ct(e[1]),ht(e[2]),ht(e[3])))>>>0:(e=et.exec(t))?(at(ct(e[1]),ht(e[2]),ht(e[3]))|lt(e[4]))>>>0:null}(t);return null===e?t:(e=e||0,`rgba(${(4278190080&e)>>>24}, ${(16711680&e)>>>16}, ${(65280&e)>>>8}, ${(255&e)/255})`)}const dt=(t,e,n)=>{if(M.fun(t))return t;if(M.arr(t))return dt({range:t,output:e,extrapolate:n});if(M.str(t.output[0]))return P(t);const i=t,r=i.output,s=i.range||[0,1],o=i.extrapolateLeft||i.extrapolate||"extend",a=i.extrapolateRight||i.extrapolate||"extend",u=i.easing||(t=>t);return t=>{const e=function(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}(t,s);return function(t,e,n,i,r,s,o,a,u){let c=u?u(t):t;if(c<e){if("identity"===o)return c;"clamp"===o&&(c=e)}if(c>n){if("identity"===a)return c;"clamp"===a&&(c=n)}if(i===r)return i;if(e===n)return t<=e?i:r;e===-1/0?c=-c:n===1/0?c-=e:c=(c-e)/(n-e);c=s(c),i===-1/0?c=-c:r===1/0?c+=i:c=c*(r-i)+i;return c}(t,s[e],s[e+1],r[e],r[e+1],u,o,a,i.map)}};const _t=1.70158,pt=1.525*_t,yt=_t+1,gt=2*Math.PI/3,vt=2*Math.PI/4.5,mt=t=>{const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},xt={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>1-(1-t)*(1-t),easeInOutQuad:t=>t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2,easeInCubic:t=>t*t*t,easeOutCubic:t=>1-Math.pow(1-t,3),easeInOutCubic:t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,easeInQuart:t=>t*t*t*t,easeOutQuart:t=>1-Math.pow(1-t,4),easeInOutQuart:t=>t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2,easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>1-Math.pow(1-t,5),easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2,easeInSine:t=>1-Math.cos(t*Math.PI/2),easeOutSine:t=>Math.sin(t*Math.PI/2),easeInOutSine:t=>-(Math.cos(Math.PI*t)-1)/2,easeInExpo:t=>0===t?0:Math.pow(2,10*t-10),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>0===t?0:1===t?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2,easeInCirc:t=>1-Math.sqrt(1-Math.pow(t,2)),easeOutCirc:t=>Math.sqrt(1-Math.pow(t-1,2)),easeInOutCirc:t=>t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2,easeInBack:t=>yt*t*t*t-_t*t*t,easeOutBack:t=>1+yt*Math.pow(t-1,3)+_t*Math.pow(t-1,2),easeInOutBack:t=>t<.5?Math.pow(2*t,2)*(7.189819*t-pt)/2:(Math.pow(2*t-2,2)*((pt+1)*(2*t-2)+pt)+2)/2,easeInElastic:t=>0===t?0:1===t?1:-Math.pow(2,10*t-10)*Math.sin((10*t-10.75)*gt),easeOutElastic:t=>0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin((10*t-.75)*gt)+1,easeInOutElastic:t=>0===t?0:1===t?1:t<.5?-Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*vt)/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*vt)/2+1,easeInBounce:t=>1-mt(1-t),easeOutBounce:mt,easeInOutBounce:t=>t<.5?(1-mt(1-2*t))/2:(1+mt(2*t-1))/2,steps:(t,e="end")=>n=>{const i=(n="end"===e?Math.min(n,.999):Math.max(n,.001))*t,r="end"===e?Math.floor(i):Math.ceil(i);return s=0,o=1,a=r/t,Math.min(Math.max(a,s),o);var s,o,a}};function bt(){return bt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},bt.apply(this,arguments)}const wt=Symbol.for("FluidValue.get"),St=Symbol.for("FluidValue.observers"),Mt=t=>Boolean(t&&t[wt]),Tt=t=>t&&t[wt]?t[wt]():t,kt=t=>t[St]||null;function Zt(t,e){let n=t[St];n&&n.forEach((t=>{!function(t,e){t.eventObserved?t.eventObserved(e):t(e)}(t,e)}))}class Ot{constructor(t){if(this[wt]=void 0,this[St]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");At(this,t)}}const At=(t,e)=>Pt(t,wt,e);function Ct(t,e){if(t[wt]){let n=t[St];n||Pt(t,St,n=new Set),n.has(e)||(n.add(e),t.observerAdded&&t.observerAdded(n.size,e))}return e}function Et(t,e){let n=t[St];if(n&&n.has(e)){const i=n.size-1;i?n.delete(e):t[St]=null,t.observerRemoved&&t.observerRemoved(i,e)}}const Pt=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0}),Rt=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,jt=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,It=new RegExp(`(${Rt.source})(%|[a-z]+)`,"i"),Nt=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ut=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Dt=t=>{const[e,n]=qt(t);if(!e||E())return t;const i=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(i)return i.trim();if(n&&n.startsWith("--")){const e=window.getComputedStyle(document.documentElement).getPropertyValue(n);return e||t}return n&&Ut.test(n)?Dt(n):n||t},qt=t=>{const e=Ut.exec(t);if(!e)return[,];const[,n,i]=e;return[n,i]};let Vt;const Lt=(t,e,n,i,r)=>`rgba(${Math.round(e)}, ${Math.round(n)}, ${Math.round(i)}, ${r})`,Ft=t=>{Vt||(Vt=j?new RegExp(`(${Object.keys(j).join("|")})(?!\\w)`,"g"):/^\b$/);const e=t.output.map((t=>Tt(t).replace(Ut,Dt).replace(jt,ft).replace(Vt,ft))),n=e.map((t=>t.match(Rt).map(Number))),i=n[0].map(((t,e)=>n.map((t=>{if(!(e in t))throw Error('The arity of each "output" value must be equal');return t[e]})))).map((e=>dt(bt({},t,{output:e}))));return t=>{var n;const r=!It.test(e[0])&&(null==(n=e.find((t=>It.test(t))))?void 0:n.replace(Rt,""));let s=0;return e[0].replace(Rt,(()=>`${i[s++](t)}${r||""}`)).replace(Nt,Lt)}},zt="react-spring: ",$t=t=>{const e=t;let n=!1;if("function"!=typeof e)throw new TypeError(`${zt}once requires a function parameter`);return(...t)=>{n||(e(...t),n=!0)}},Wt=$t(console.warn);function Ht(){Wt(`${zt}The "interpolate" function is deprecated in v9 (use "to" instead)`)}const Bt=$t(console.warn);function Yt(){Bt(`${zt}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Qt(t){return M.str(t)&&("#"==t[0]||/\d/.test(t)||!E()&&Ut.test(t)||t in(j||{}))}new WeakMap;new Set;new WeakMap,new WeakMap,new WeakMap;const Xt=E()?b.useEffect:b.useLayoutEffect;function Gt(){const t=(0,b.useState)()[1],e=(()=>{const t=(0,b.useRef)(!1);return Xt((()=>(t.current=!0,()=>{t.current=!1})),[]),t})();return()=>{e.current&&t(Math.random())}}function Jt(t,e){const[n]=(0,b.useState)((()=>({inputs:e,result:t()}))),i=(0,b.useRef)(),r=i.current;let s=r;if(s){Boolean(e&&s.inputs&&function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,s.inputs))||(s={inputs:e,result:t()})}else s=n;return(0,b.useEffect)((()=>{i.current=s,r==n&&(n.inputs=n.result=void 0)}),[s]),s.result}const Kt=t=>(0,b.useEffect)(t,te),te=[];function ee(t){const e=(0,b.useRef)();return(0,b.useEffect)((()=>{e.current=t})),e.current}},84877:function(t,e,n){n.d(e,{animated:function(){return S},to:function(){return i.to},useTransition:function(){return i.useTransition}});var i=n(79950),r=n(85202),s=n(88489),o=n(92469);function a(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}const u=["style","children","scrollTop","scrollLeft","viewBox"],c=/^--/;function l(t,e){return null==e||"boolean"===typeof e||""===e?"":"number"!==typeof e||0===e||c.test(t)||f.hasOwnProperty(t)&&f[t]?(""+e).trim():e+"px"}const h={};let f={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const d=["Webkit","Ms","Moz","O"];f=Object.keys(f).reduce(((t,e)=>(d.forEach((n=>t[((t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1))(n,e)]=t[e])),t)),f);const _=["x","y","z"],p=/^(matrix|translate|scale|rotate|skew)/,y=/^(translate)/,g=/^(rotate|skew)/,v=(t,e)=>s.is.num(t)&&0!==t?t+e:t,m=(t,e)=>s.is.arr(t)?t.every((t=>m(t,e))):s.is.num(t)?t===e:parseFloat(t)===e;class x extends o.rS{constructor(t){let{x:e,y:n,z:i}=t,r=a(t,_);const o=[],u=[];(e||n||i)&&(o.push([e||0,n||0,i||0]),u.push((t=>[`translate3d(${t.map((t=>v(t,"px"))).join(",")})`,m(t,0)]))),(0,s.rU)(r,((t,e)=>{if("transform"===e)o.push([t||""]),u.push((t=>[t,""===t]));else if(p.test(e)){if(delete r[e],s.is.und(t))return;const n=y.test(e)?"px":g.test(e)?"deg":"";o.push((0,s.qo)(t)),u.push("rotate3d"===e?([t,e,i,r])=>[`rotate3d(${t},${e},${i},${v(r,n)})`,m(r,0)]:t=>[`${e}(${t.map((t=>v(t,n))).join(",")})`,m(t,e.startsWith("scale")?1:0)])}})),o.length&&(r.transform=new b(o,u)),super(r)}}class b extends s.B0{constructor(t,e){super(),this._value=null,this.inputs=t,this.transforms=e}get(){return this._value||(this._value=this._get())}_get(){let t="",e=!0;return(0,s.S6)(this.inputs,((n,i)=>{const r=(0,s.je)(n[0]),[o,a]=this.transforms[i](s.is.arr(r)?r:n.map(s.je));t+=" "+o,e=e&&a})),e?"none":t}observerAdded(t){1==t&&(0,s.S6)(this.inputs,(t=>(0,s.S6)(t,(t=>(0,s.j$)(t)&&(0,s.UI)(t,this)))))}observerRemoved(t){0==t&&(0,s.S6)(this.inputs,(t=>(0,s.S6)(t,(t=>(0,s.j$)(t)&&(0,s.iL)(t,this)))))}eventObserved(t){"change"==t.type&&(this._value=null),(0,s.k0)(this,t)}}const w=["scrollTop","scrollLeft"];i.Globals.assign({batchedUpdates:r.unstable_batchedUpdates,createStringInterpolator:s.qS,colors:s.O9});const S=(0,o.Ld)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(t,e){if(!t.nodeType||!t.setAttribute)return!1;const n="filter"===t.nodeName||t.parentNode&&"filter"===t.parentNode.nodeName,i=e,{style:r,children:s,scrollTop:o,scrollLeft:f,viewBox:d}=i,_=a(i,u),p=Object.values(_),y=Object.keys(_).map((e=>n||t.hasAttribute(e)?e:h[e]||(h[e]=e.replace(/([A-Z])/g,(t=>"-"+t.toLowerCase())))));void 0!==s&&(t.textContent=s);for(let a in r)if(r.hasOwnProperty(a)){const e=l(a,r[a]);c.test(a)?t.style.setProperty(a,e):t.style[a]=e}y.forEach(((e,n)=>{t.setAttribute(e,p[n])})),void 0!==o&&(t.scrollTop=o),void 0!==f&&(t.scrollLeft=f),void 0!==d&&t.setAttribute("viewBox",d)},createAnimatedStyle:t=>new x(t),getComponentProps:t=>a(t,w)}).animated},62339:function(t,e,n){n.r(e),n.d(e,{Group:function(){return i.Z}});var i=n(29989)},98677:function(t,e,n){function i(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;for(var i=-1,r=0|Math.max(0,Math.ceil((e-t)/n)),s=new Array(r);++i<r;)s[i]=t+i*n;return s}n.d(e,{Z:function(){return u}});var r=n(8208),s=n(8162);function o(){var t,e,n=(0,s.Z)().unknown(void 0),a=n.domain,u=n.range,c=0,l=1,h=!1,f=0,d=0,_=.5;function p(){var n=a().length,r=l<c,s=r?l:c,o=r?c:l;t=(o-s)/Math.max(1,n-f+2*d),h&&(t=Math.floor(t)),s+=(o-s-t*(n-f))*_,e=t*(1-f),h&&(s=Math.round(s),e=Math.round(e));var p=i(n).map((function(e){return s+t*e}));return u(r?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(a(t),p()):a()},n.range=function(t){return arguments.length?([c,l]=t,c=+c,l=+l,p()):[c,l]},n.rangeRound=function(t){return[c,l]=t,c=+c,l=+l,h=!0,p()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(h=!!t,p()):h},n.padding=function(t){return arguments.length?(f=Math.min(1,d=+t),p()):f},n.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),p()):f},n.paddingOuter=function(t){return arguments.length?(d=+t,p()):d},n.align=function(t){return arguments.length?(_=Math.max(0,Math.min(1,t)),p()):_},n.copy=function(){return o(a(),[c,l]).round(h).paddingInner(f).paddingOuter(d).align(_)},r.o.apply(p(),arguments)}var a=(0,n(93342).Z)("domain","range","reverse","align","padding","round");function u(t){return a(o(),t)}},6568:function(t,e,n){n.d(e,{Z:function(){return ee}});var i=n(38355),r=n(2073),s=n(43521),o=n(47237),a=(0,o.Z)((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,o.Z)((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):a:null};var u=a,c=(a.range,n(29483)),l=n(66403),h=n(61851),f=n(82194),d=n(31124),_=n(38249),p=n(4760),y=n(8717),g=n(13143),v=n(43694),m=n(37884),x=n(3983),b=n(35101);function w(t,e,n,o,a,l){const h=[[c.Z,1,s.Ym],[c.Z,5,5*s.Ym],[c.Z,15,15*s.Ym],[c.Z,30,30*s.Ym],[l,1,s.yB],[l,5,5*s.yB],[l,15,15*s.yB],[l,30,30*s.yB],[a,1,s.Y2],[a,3,3*s.Y2],[a,6,6*s.Y2],[a,12,12*s.Y2],[o,1,s.UD],[o,2,2*s.UD],[n,1,s.iM],[e,1,s.jz],[e,3,3*s.jz],[t,1,s.qz]];function f(e,n,o){const a=Math.abs(n-e)/o,c=(0,i.Z)((([,,t])=>t)).right(h,a);if(c===h.length)return t.every((0,r.ly)(e/s.qz,n/s.qz,o));if(0===c)return u.every(Math.max((0,r.ly)(e,n,o),1));const[l,f]=h[a/h[c-1][2]<h[c][2]/a?c-1:c];return l.every(f)}return[function(t,e,n){const i=e<t;i&&([t,e]=[e,t]);const r=n&&"function"===typeof n.range?n:f(t,e,n),s=r?r.range(t,+e+1):[];return i?s.reverse():s},f]}const[S,M]=w(b.Z,x.Z,m.Ox,v.Z,g.Z,y.Z),[T,k]=w(p.Z,_.Z,d.OM,f.Z,h.Z,l.Z);function Z(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function O(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function A(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var C,E,P={"-":"",_:" ",0:"0"},R=/^\s*\d+/,j=/^%/,I=/[\\^$*+?|[\]().{}]/g;function N(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",s=r.length;return i+(s<n?new Array(n-s+1).join(e)+r:r)}function U(t){return t.replace(I,"\\$&")}function D(t){return new RegExp("^(?:"+t.map(U).join("|")+")","i")}function q(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function V(t,e,n){var i=R.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function L(t,e,n){var i=R.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function F(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function z(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function $(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function W(t,e,n){var i=R.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function H(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function B(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function Y(t,e,n){var i=R.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function Q(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function X(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function G(t,e,n){var i=R.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function J(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function K(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function tt(t,e,n){var i=R.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function et(t,e,n){var i=R.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function nt(t,e,n){var i=R.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function it(t,e,n){var i=j.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function rt(t,e,n){var i=R.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function st(t,e,n){var i=R.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function ot(t,e){return N(t.getDate(),e,2)}function at(t,e){return N(t.getHours(),e,2)}function ut(t,e){return N(t.getHours()%12||12,e,2)}function ct(t,e){return N(1+f.Z.count((0,p.Z)(t),t),e,3)}function lt(t,e){return N(t.getMilliseconds(),e,3)}function ht(t,e){return lt(t,e)+"000"}function ft(t,e){return N(t.getMonth()+1,e,2)}function dt(t,e){return N(t.getMinutes(),e,2)}function _t(t,e){return N(t.getSeconds(),e,2)}function pt(t){var e=t.getDay();return 0===e?7:e}function yt(t,e){return N(d.OM.count((0,p.Z)(t)-1,t),e,2)}function gt(t){var e=t.getDay();return e>=4||0===e?(0,d.bL)(t):d.bL.ceil(t)}function vt(t,e){return t=gt(t),N(d.bL.count((0,p.Z)(t),t)+(4===(0,p.Z)(t).getDay()),e,2)}function mt(t){return t.getDay()}function xt(t,e){return N(d.wA.count((0,p.Z)(t)-1,t),e,2)}function bt(t,e){return N(t.getFullYear()%100,e,2)}function wt(t,e){return N((t=gt(t)).getFullYear()%100,e,2)}function St(t,e){return N(t.getFullYear()%1e4,e,4)}function Mt(t,e){var n=t.getDay();return N((t=n>=4||0===n?(0,d.bL)(t):d.bL.ceil(t)).getFullYear()%1e4,e,4)}function Tt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+N(e/60|0,"0",2)+N(e%60,"0",2)}function kt(t,e){return N(t.getUTCDate(),e,2)}function Zt(t,e){return N(t.getUTCHours(),e,2)}function Ot(t,e){return N(t.getUTCHours()%12||12,e,2)}function At(t,e){return N(1+v.Z.count((0,b.Z)(t),t),e,3)}function Ct(t,e){return N(t.getUTCMilliseconds(),e,3)}function Et(t,e){return Ct(t,e)+"000"}function Pt(t,e){return N(t.getUTCMonth()+1,e,2)}function Rt(t,e){return N(t.getUTCMinutes(),e,2)}function jt(t,e){return N(t.getUTCSeconds(),e,2)}function It(t){var e=t.getUTCDay();return 0===e?7:e}function Nt(t,e){return N(m.Ox.count((0,b.Z)(t)-1,t),e,2)}function Ut(t){var e=t.getUTCDay();return e>=4||0===e?(0,m.hB)(t):m.hB.ceil(t)}function Dt(t,e){return t=Ut(t),N(m.hB.count((0,b.Z)(t),t)+(4===(0,b.Z)(t).getUTCDay()),e,2)}function qt(t){return t.getUTCDay()}function Vt(t,e){return N(m.l6.count((0,b.Z)(t)-1,t),e,2)}function Lt(t,e){return N(t.getUTCFullYear()%100,e,2)}function Ft(t,e){return N((t=Ut(t)).getUTCFullYear()%100,e,2)}function zt(t,e){return N(t.getUTCFullYear()%1e4,e,4)}function $t(t,e){var n=t.getUTCDay();return N((t=n>=4||0===n?(0,m.hB)(t):m.hB.ceil(t)).getUTCFullYear()%1e4,e,4)}function Wt(){return"+0000"}function Ht(){return"%"}function Bt(t){return+t}function Yt(t){return Math.floor(+t/1e3)}C=function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,s=t.days,o=t.shortDays,a=t.months,u=t.shortMonths,c=D(r),l=q(r),h=D(s),_=q(s),p=D(o),y=q(o),g=D(a),x=q(a),b=D(u),w=q(u),S={a:function(t){return o[t.getDay()]},A:function(t){return s[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:ot,e:ot,f:ht,g:wt,G:Mt,H:at,I:ut,j:ct,L:lt,m:ft,M:dt,p:function(t){return r[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Bt,s:Yt,S:_t,u:pt,U:yt,V:vt,w:mt,W:xt,x:null,X:null,y:bt,Y:St,Z:Tt,"%":Ht},M={a:function(t){return o[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:kt,e:kt,f:Et,g:Ft,G:$t,H:Zt,I:Ot,j:At,L:Ct,m:Pt,M:Rt,p:function(t){return r[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Bt,s:Yt,S:jt,u:It,U:Nt,V:Dt,w:qt,W:Vt,x:null,X:null,y:Lt,Y:zt,Z:Wt,"%":Ht},T={a:function(t,e,n){var i=p.exec(e.slice(n));return i?(t.w=y.get(i[0].toLowerCase()),n+i[0].length):-1},A:function(t,e,n){var i=h.exec(e.slice(n));return i?(t.w=_.get(i[0].toLowerCase()),n+i[0].length):-1},b:function(t,e,n){var i=b.exec(e.slice(n));return i?(t.m=w.get(i[0].toLowerCase()),n+i[0].length):-1},B:function(t,e,n){var i=g.exec(e.slice(n));return i?(t.m=x.get(i[0].toLowerCase()),n+i[0].length):-1},c:function(t,n,i){return E(t,e,n,i)},d:X,e:X,f:nt,g:H,G:W,H:J,I:J,j:G,L:et,m:Q,M:K,p:function(t,e,n){var i=c.exec(e.slice(n));return i?(t.p=l.get(i[0].toLowerCase()),n+i[0].length):-1},q:Y,Q:rt,s:st,S:tt,u:L,U:F,V:z,w:V,W:$,x:function(t,e,i){return E(t,n,e,i)},X:function(t,e,n){return E(t,i,e,n)},y:H,Y:W,Z:B,"%":it};function k(t,e){return function(n){var i,r,s,o=[],a=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++a<c;)37===t.charCodeAt(a)&&(o.push(t.slice(u,a)),null!=(r=P[i=t.charAt(++a)])?i=t.charAt(++a):r="e"===i?" ":"0",(s=e[i])&&(i=s(n,r)),o.push(i),u=a+1);return o.push(t.slice(u,a)),o.join("")}}function C(t,e){return function(n){var i,r,s=A(1900,void 0,1);if(E(s,t,n+="",0)!=n.length)return null;if("Q"in s)return new Date(s.Q);if("s"in s)return new Date(1e3*s.s+("L"in s?s.L:0));if(e&&!("Z"in s)&&(s.Z=0),"p"in s&&(s.H=s.H%12+12*s.p),void 0===s.m&&(s.m="q"in s?s.q:0),"V"in s){if(s.V<1||s.V>53)return null;"w"in s||(s.w=1),"Z"in s?(r=(i=O(A(s.y,0,1))).getUTCDay(),i=r>4||0===r?m.l6.ceil(i):(0,m.l6)(i),i=v.Z.offset(i,7*(s.V-1)),s.y=i.getUTCFullYear(),s.m=i.getUTCMonth(),s.d=i.getUTCDate()+(s.w+6)%7):(r=(i=Z(A(s.y,0,1))).getDay(),i=r>4||0===r?d.wA.ceil(i):(0,d.wA)(i),i=f.Z.offset(i,7*(s.V-1)),s.y=i.getFullYear(),s.m=i.getMonth(),s.d=i.getDate()+(s.w+6)%7)}else("W"in s||"U"in s)&&("w"in s||(s.w="u"in s?s.u%7:"W"in s?1:0),r="Z"in s?O(A(s.y,0,1)).getUTCDay():Z(A(s.y,0,1)).getDay(),s.m=0,s.d="W"in s?(s.w+6)%7+7*s.W-(r+5)%7:s.w+7*s.U-(r+6)%7);return"Z"in s?(s.H+=s.Z/100|0,s.M+=s.Z%100,O(s)):Z(s)}}function E(t,e,n,i){for(var r,s,o=0,a=e.length,u=n.length;o<a;){if(i>=u)return-1;if(37===(r=e.charCodeAt(o++))){if(r=e.charAt(o++),!(s=T[r in P?e.charAt(o++):r])||(i=s(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return S.x=k(n,S),S.X=k(i,S),S.c=k(e,S),M.x=k(n,M),M.X=k(i,M),M.c=k(e,M),{format:function(t){var e=k(t+="",S);return e.toString=function(){return t},e},parse:function(t){var e=C(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",M);return e.toString=function(){return t},e},utcParse:function(t){var e=C(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),C.format,C.parse,E=C.utcFormat,C.utcParse;var Qt=n(32130);function Xt(t){return new Date(t)}function Gt(t){return t instanceof Date?+t:+new Date(+t)}function Jt(t,e,n,i,r,s,o,a,u,c){var l=(0,Qt.ZP)(),h=l.invert,f=l.domain,d=c(".%L"),_=c(":%S"),p=c("%I:%M"),y=c("%I %p"),g=c("%a %d"),v=c("%b %d"),m=c("%B"),x=c("%Y");function b(t){return(u(t)<t?d:a(t)<t?_:o(t)<t?p:s(t)<t?y:i(t)<t?r(t)<t?g:v:n(t)<t?m:x)(t)}return l.invert=function(t){return new Date(h(t))},l.domain=function(t){return arguments.length?f(Array.from(t,Gt)):f().map(Xt)},l.ticks=function(e){var n=f();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?b:c(e)},l.nice=function(t){var n=f();return t&&"function"===typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?f(function(t,e){var n,i=0,r=(t=t.slice()).length-1,s=t[i],o=t[r];return o<s&&(n=i,i=r,r=n,n=s,s=o,o=n),t[i]=e.floor(s),t[r]=e.ceil(o),t}(n,t)):l},l.copy=function(){return(0,Qt.JG)(l,Jt(t,e,n,i,r,s,o,a,u,c))},l}var Kt=n(8208);var te=(0,n(93342).Z)("domain","range","reverse","clamp","interpolate","nice","round");function ee(t){return te(function(){return Kt.o.apply(Jt(S,M,b.Z,x.Z,m.Ox,v.Z,g.Z,y.Z,c.Z,E).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}(),t)}},28108:function(t,e,n){n.d(e,{Z:function(){return y}});var i=n(82684),r=n(63588),s=n.n(r),o=n(75823),a=n(29989),u=n(62072),c=n(53989),l=n(13004),h=n(18246),f=n(59309),d=n(65743),_=["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"];function p(){return p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},p.apply(this,arguments)}function y(t){var e=t.data,n=t.className,r=t.top,y=t.left,g=t.y,v=t.x0,m=void 0===v?u.l8:v,x=t.x1,b=void 0===x?u.xf:x,w=t.xScale,S=t.yScale,M=t.color,T=t.keys,k=t.value,Z=t.order,O=t.offset,A=t.children,C=function(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,_),E=(0,o.Z)();T&&E.keys(T),k&&(0,l.Z)(E.value,k),Z&&E.order((0,h.ZP)(Z)),O&&E.offset((0,f.ZP)(O));var P=E(e),R=(0,c.Z)(S),j=P.map((function(t,e){var n=t.key;return{index:e,key:n,bars:t.map((function(e,i){var r=(w(b(e))||0)-(w(m(e))||0),s=w(m(e)),o="bandwidth"in S?S(g(e.data)):Math.max((S(g(e.data))||0)-r/2);return{bar:e,key:n,index:i,height:R,width:r,x:s||0,y:o||0,color:M(t.key,i)}}))}}));return A?i.createElement(i.Fragment,null,A(j)):i.createElement(a.Z,{className:s()("visx-bar-stack-horizontal",n),top:r,left:y},j.map((function(t){return t.bars.map((function(e){return i.createElement(d.Z,p({key:"bar-stack-"+t.index+"-"+e.index,x:e.x,y:e.y,height:e.height,width:e.width,fill:e.color},C))}))})))}},62072:function(t,e,n){function i(t){return null==t?void 0:t[0]}function r(t){return null==t?void 0:t[1]}n.d(e,{l8:function(){return i},xf:function(){return r}})},53989:function(t,e,n){function i(t){if("bandwidth"in t)return t.bandwidth();var e=t.range(),n=t.domain();return Math.abs(e[e.length-1]-e[0])/n.length}n.d(e,{Z:function(){return i}})},59309:function(t,e,n){n.d(e,{ZP:function(){return c}});var i=n(12759),r=n(27500),s=n(82610),o=n(34812),a=n(77944),u={expand:i.Z,diverging:r.Z,none:s.Z,silhouette:o.Z,wiggle:a.Z};Object.keys(u);function c(t){return t&&u[t]||u.none}},18246:function(t,e,n){n.d(e,{ZP:function(){return c}});var i=n(39586),r=n(25516),s=n(54164),o=n(8512),a=n(2010),u={ascending:i.Z,descending:r.Z,insideout:s.Z,none:o.Z,reverse:a.Z};Object.keys(u);function c(t){return t&&u[t]||u.none}},28940:function(t,e,n){e.Z=function(t){var e=t.className,n=t.top,u=t.left,l=t.data,h=void 0===l?[]:l,f=t.centroid,d=t.innerRadius,_=void 0===d?0:d,p=t.outerRadius,y=t.cornerRadius,g=t.startAngle,v=t.endAngle,m=t.padAngle,x=t.padRadius,b=t.pieSort,w=t.pieSortValues,S=t.pieValue,M=t.children,T=t.fill,k=void 0===T?"":T,Z=function(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,a),O=(0,o.arc)({innerRadius:_,outerRadius:p,cornerRadius:y,padRadius:x}),A=(0,o.pie)({startAngle:g,endAngle:v,padAngle:m,value:S,sort:b,sortValues:w}),C=A(h);return M?i.default.createElement(i.default.Fragment,null,M({arcs:C,path:O,pie:A})):i.default.createElement(s.Group,{className:"visx-pie-arcs-group",top:n,left:u},C.map((function(t,n){return i.default.createElement("g",{key:"pie-arc-"+n},i.default.createElement("path",c({className:(0,r.default)("visx-pie-arc",e),d:O(t)||"",fill:null==k||"string"===typeof k?k:k(t)},Z)),null==f?void 0:f(O.centroid(t),t))})))};var i=u(n(82684)),r=u(n(63588)),s=n(62339),o=n(3517),a=["className","top","left","data","centroid","innerRadius","outerRadius","cornerRadius","startAngle","endAngle","padAngle","padRadius","pieSort","pieSortValues","pieValue","children","fill"];function u(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},c.apply(this,arguments)}},3517:function(t,e,n){e.__esModule=!0,e.arc=function(t){var e=void 0===t?{}:t,n=e.innerRadius,s=e.outerRadius,o=e.cornerRadius,a=e.startAngle,u=e.endAngle,c=e.padAngle,l=e.padRadius,h=(0,i.arc)();null!=n&&(0,r.default)(h.innerRadius,n);null!=s&&(0,r.default)(h.outerRadius,s);null!=o&&(0,r.default)(h.cornerRadius,o);null!=a&&(0,r.default)(h.startAngle,a);null!=u&&(0,r.default)(h.endAngle,u);null!=c&&(0,r.default)(h.padAngle,c);null!=l&&(0,r.default)(h.padRadius,l);return h},e.area=function(t){var e=void 0===t?{}:t,n=e.x,s=e.x0,o=e.x1,a=e.y,u=e.y0,c=e.y1,l=e.defined,h=e.curve,f=(0,i.area)();n&&(0,r.default)(f.x,n);s&&(0,r.default)(f.x0,s);o&&(0,r.default)(f.x1,o);a&&(0,r.default)(f.y,a);u&&(0,r.default)(f.y0,u);c&&(0,r.default)(f.y1,c);l&&f.defined(l);h&&f.curve(h);return f},e.line=function(t){var e=void 0===t?{}:t,n=e.x,s=e.y,o=e.defined,a=e.curve,u=(0,i.line)();n&&(0,r.default)(u.x,n);s&&(0,r.default)(u.y,s);o&&u.defined(o);a&&u.curve(a);return u},e.pie=function(t){var e=void 0===t?{}:t,n=e.startAngle,s=e.endAngle,o=e.padAngle,a=e.value,u=e.sort,c=e.sortValues,l=(0,i.pie)();(null===u||null!=u)&&l.sort(u);(null===c||null!=c)&&l.sortValues(c);null!=a&&l.value(a);null!=o&&(0,r.default)(l.padAngle,o);null!=n&&(0,r.default)(l.startAngle,n);null!=s&&(0,r.default)(l.endAngle,s);return l},e.radialLine=function(t){var e=void 0===t?{}:t,n=e.angle,s=e.radius,o=e.defined,a=e.curve,u=(0,i.radialLine)();n&&(0,r.default)(u.angle,n);s&&(0,r.default)(u.radius,s);o&&u.defined(o);a&&u.curve(a);return u},e.stack=function(t){var e=t.keys,n=t.value,a=t.order,u=t.offset,c=(0,i.stack)();e&&c.keys(e);n&&(0,r.default)(c.value,n);a&&c.order((0,s.default)(a));u&&c.offset((0,o.default)(u));return c};var i=n(29491),r=a(n(9908)),s=a(n(58450)),o=a(n(61585));function a(t){return t&&t.__esModule?t:{default:t}}},9908:function(t,e){e.__esModule=!0,e.default=function(t,e){t(e)}},61585:function(t,e,n){e.__esModule=!0,e.default=function(t){return t&&r[t]||r.none},e.STACK_OFFSET_NAMES=e.STACK_OFFSETS=void 0;var i=n(29491),r={expand:i.stackOffsetExpand,diverging:i.stackOffsetDiverging,none:i.stackOffsetNone,silhouette:i.stackOffsetSilhouette,wiggle:i.stackOffsetWiggle};e.STACK_OFFSETS=r;var s=Object.keys(r);e.STACK_OFFSET_NAMES=s},58450:function(t,e,n){e.__esModule=!0,e.default=function(t){return t&&r[t]||r.none},e.STACK_ORDER_NAMES=e.STACK_ORDERS=void 0;var i=n(29491),r={ascending:i.stackOrderAscending,descending:i.stackOrderDescending,insideout:i.stackOrderInsideOut,none:i.stackOrderNone,reverse:i.stackOrderReverse};e.STACK_ORDERS=r;var s=Object.keys(r);e.STACK_ORDER_NAMES=s},61655:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(82684),r=n(29179);function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},s.apply(this,arguments)}function o(t,e,n){void 0===e&&(e={style:{position:"relative",width:"inherit",height:"inherit"}}),void 0===n&&(n=function(t,e){return i.createElement("div",e,t)});return function(o){var a=(0,r.Z)();return n(i.createElement(t,s({},a,o)),e)}}},16853:function(t,e,n){n.d(e,{Z:function(){return v}});var i=n(47329),r=n.n(i),s=n(82684),o=n(85202);function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},a.apply(this,arguments)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e){return c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},c(t,e)}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h={top:0,right:0,bottom:0,left:0,width:0,height:0};var f=n(65376),d=(0,s.createContext)({isFlippedVertically:!1,isFlippedHorizontally:!1}),_=d.Provider,p=(d.Consumer,["children","getRects","left","offsetLeft","offsetTop","parentRect","rect","style","top","unstyled","nodeRef"]);function y(){return y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},y.apply(this,arguments)}function g(t){var e,n=t.children,i=(t.getRects,t.left),r=void 0===i?0:i,o=t.offsetLeft,a=void 0===o?10:o,u=t.offsetTop,c=void 0===u?10:u,l=t.parentRect,h=t.rect,d=t.style,g=void 0===d?f.j:d,v=t.top,m=void 0===v?0:v,x=t.unstyled,b=void 0!==x&&x,w=t.nodeRef,S=function(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i<s.length;i++)n=s[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,p),M=!1,T=!1;if(h&&l){var k=r,Z=m;if(l.width){var O=k+a+h.width-l.width,A=h.width-k-a;M=O>0&&O>A}else{var C=k+a+h.width-window.innerWidth,E=h.width-k-a;M=C>0&&C>E}if(l.height){var P=Z+c+h.height-l.height,R=h.height-Z-c;T=P>0&&P>R}else T=Z+c+h.height>window.innerHeight;k=M?k-h.width-a:k+a,Z=T?Z-h.height-c:Z+c,e="translate("+(k=Math.round(k))+"px, "+(Z=Math.round(Z))+"px)"}return s.createElement(f.Z,y({ref:w,style:y({left:0,top:0,transform:e},!b&&g)},S),s.createElement(_,{value:{isFlippedVertically:!T,isFlippedHorizontally:!M}},n))}g.propTypes={nodeRef:r().oneOfType([r().string,r().func,r().object])};var v=function(t){var e,n;return n=e=function(e){var n,i;function r(t){var n;return l(u(n=e.call(this,t)||this),"node",void 0),l(u(n),"nodeRef",void 0),n.state={rect:void 0,parentRect:void 0},n.nodeRef=s.createRef(),n.getRects=n.getRects.bind(u(n)),n}i=e,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,c(n,i);var f=r.prototype;return f.componentDidMount=function(){var t,e=this;this.node=null!=(t=this.nodeRef)&&t.current?this.nodeRef.current:o.findDOMNode(this),this.setState((function(){return e.getRects()}))},f.getRects=function(){if(!this.node)return this.state;var t=this.node,e=t.parentNode;return{rect:t.getBoundingClientRect?t.getBoundingClientRect():h,parentRect:null!=e&&e.getBoundingClientRect?e.getBoundingClientRect():h}},f.render=function(){return s.createElement(t,a({nodeRef:this.nodeRef,getRects:this.getRects},this.state,this.props))},r}(s.PureComponent),l(e,"displayName","withBoundingRects("+(t.displayName||"")+")"),n}(g)},35681:function(t,e){var n=Math.PI,i=2*n,r=1e-6,s=i-r;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new o}o.prototype=a.prototype={constructor:o,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,r,s){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+s)},arcTo:function(t,e,i,s,o){t=+t,e=+e,i=+i,s=+s,o=+o;var a=this._x1,u=this._y1,c=i-t,l=s-e,h=a-t,f=u-e,d=h*h+f*f;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(d>r)if(Math.abs(f*c-l*h)>r&&o){var _=i-a,p=s-u,y=c*c+l*l,g=_*_+p*p,v=Math.sqrt(y),m=Math.sqrt(d),x=o*Math.tan((n-Math.acos((y+d-g)/(2*v*m)))/2),b=x/m,w=x/v;Math.abs(b-1)>r&&(this._+="L"+(t+b*h)+","+(e+b*f)),this._+="A"+o+","+o+",0,0,"+ +(f*_>h*p)+","+(this._x1=t+w*c)+","+(this._y1=e+w*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,o,a,u,c){t=+t,e=+e,c=!!c;var l=(o=+o)*Math.cos(a),h=o*Math.sin(a),f=t+l,d=e+h,_=1^c,p=c?a-u:u-a;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>r||Math.abs(this._y1-d)>r)&&(this._+="L"+f+","+d),o&&(p<0&&(p=p%i+i),p>s?this._+="A"+o+","+o+",0,1,"+_+","+(t-l)+","+(e-h)+"A"+o+","+o+",0,1,"+_+","+(this._x1=f)+","+(this._y1=d):p>r&&(this._+="A"+o+","+o+",0,"+ +(p>=n)+","+_+","+(this._x1=t+o*Math.cos(u))+","+(this._y1=e+o*Math.sin(u))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}},e.Z=a},48167:function(t,e,n){n.d(e,{Z:function(){return u}});var i=n(35681),r=n(90875),s=n(23622),o=n(92201),a=n(98930);function u(){var t=a.x,e=null,n=(0,r.Z)(0),u=a.y,c=(0,r.Z)(!0),l=null,h=s.Z,f=null;function d(r){var s,o,a,d,_,p=r.length,y=!1,g=new Array(p),v=new Array(p);for(null==l&&(f=h(_=(0,i.Z)())),s=0;s<=p;++s){if(!(s<p&&c(d=r[s],s,r))===y)if(y=!y)o=s,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),a=s-1;a>=o;--a)f.point(g[a],v[a]);f.lineEnd(),f.areaEnd()}y&&(g[s]=+t(d,s,r),v[s]=+n(d,s,r),f.point(e?+e(d,s,r):g[s],u?+u(d,s,r):v[s]))}if(_)return f=null,_+""||null}function _(){return(0,o.Z)().defined(c).curve(h).context(l)}return d.x=function(n){return arguments.length?(t="function"===typeof n?n:(0,r.Z)(+n),e=null,d):t},d.x0=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),d):t},d.x1=function(t){return arguments.length?(e=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),d):e},d.y=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(+t),u=null,d):n},d.y0=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(+t),d):n},d.y1=function(t){return arguments.length?(u=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),d):u},d.lineX0=d.lineY0=function(){return _().x(t).y(n)},d.lineY1=function(){return _().x(t).y(u)},d.lineX1=function(){return _().x(e).y(n)},d.defined=function(t){return arguments.length?(c="function"===typeof t?t:(0,r.Z)(!!t),d):c},d.curve=function(t){return arguments.length?(h=t,null!=l&&(f=h(l)),d):h},d.context=function(t){return arguments.length?(null==t?l=f=null:f=h(l=t),d):l},d}},13946:function(t,e,n){n.d(e,{t:function(){return i}});var i=Array.prototype.slice},97745:function(t,e,n){function i(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function r(t){this._context=t}function s(t){return new r(t)}n.d(e,{ZP:function(){return s},fE:function(){return r},xm:function(){return i}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:i(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}},23622:function(t,e,n){function i(t){this._context=t}function r(t){return new i(t)}n.d(e,{Z:function(){return r}}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}}},29491:function(t,e,n){n.r(e),n.d(e,{arc:function(){return T},area:function(){return k.Z},areaRadial:function(){return U},curveBasis:function(){return yt.ZP},curveBasisClosed:function(){return vt},curveBasisOpen:function(){return xt},curveBundle:function(){return wt},curveCardinal:function(){return Tt},curveCardinalClosed:function(){return Zt},curveCardinalOpen:function(){return At},curveCatmullRom:function(){return Pt},curveCatmullRomClosed:function(){return jt},curveCatmullRomOpen:function(){return Nt},curveLinear:function(){return E.Z},curveLinearClosed:function(){return Dt},curveMonotoneX:function(){return Ht},curveMonotoneY:function(){return Bt},curveNatural:function(){return Xt},curveStep:function(){return Jt},curveStepAfter:function(){return te},curveStepBefore:function(){return Kt},line:function(){return Z.Z},lineRadial:function(){return N},linkHorizontal:function(){return B},linkRadial:function(){return Q},linkVertical:function(){return Y},pie:function(){return C},pointRadial:function(){return D},radialArea:function(){return U},radialLine:function(){return N},stack:function(){return ee.Z},stackOffsetDiverging:function(){return ie.Z},stackOffsetExpand:function(){return ne.Z},stackOffsetNone:function(){return re.Z},stackOffsetSilhouette:function(){return se.Z},stackOffsetWiggle:function(){return oe.Z},stackOrderAppearance:function(){return ae.Z},stackOrderAscending:function(){return ue.Z},stackOrderDescending:function(){return ce.Z},stackOrderInsideOut:function(){return le.Z},stackOrderNone:function(){return he.Z},stackOrderReverse:function(){return fe.Z},symbol:function(){return _t},symbolCircle:function(){return X},symbolCross:function(){return G},symbolDiamond:function(){return tt},symbolSquare:function(){return st},symbolStar:function(){return rt},symbolTriangle:function(){return at},symbolWye:function(){return ft},symbols:function(){return dt}});var i=n(35681),r=n(90875),s=Math.abs,o=Math.atan2,a=Math.cos,u=Math.max,c=Math.min,l=Math.sin,h=Math.sqrt,f=1e-12,d=Math.PI,_=d/2,p=2*d;function y(t){return t>1?0:t<-1?d:Math.acos(t)}function g(t){return t>=1?_:t<=-1?-_:Math.asin(t)}function v(t){return t.innerRadius}function m(t){return t.outerRadius}function x(t){return t.startAngle}function b(t){return t.endAngle}function w(t){return t&&t.padAngle}function S(t,e,n,i,r,s,o,a){var u=n-t,c=i-e,l=o-r,h=a-s,d=h*u-l*c;if(!(d*d<f))return[t+(d=(l*(e-s)-h*(t-r))/d)*u,e+d*c]}function M(t,e,n,i,r,s,o){var a=t-n,c=e-i,l=(o?s:-s)/h(a*a+c*c),f=l*c,d=-l*a,_=t+f,p=e+d,y=n+f,g=i+d,v=(_+y)/2,m=(p+g)/2,x=y-_,b=g-p,w=x*x+b*b,S=r-s,M=_*g-y*p,T=(b<0?-1:1)*h(u(0,S*S*w-M*M)),k=(M*b-x*T)/w,Z=(-M*x-b*T)/w,O=(M*b+x*T)/w,A=(-M*x+b*T)/w,C=k-v,E=Z-m,P=O-v,R=A-m;return C*C+E*E>P*P+R*R&&(k=O,Z=A),{cx:k,cy:Z,x01:-f,y01:-d,x11:k*(r/S-1),y11:Z*(r/S-1)}}function T(){var t=v,e=m,n=(0,r.Z)(0),u=null,T=x,k=b,Z=w,O=null;function A(){var r,v,m=+t.apply(this,arguments),x=+e.apply(this,arguments),b=T.apply(this,arguments)-_,w=k.apply(this,arguments)-_,A=s(w-b),C=w>b;if(O||(O=r=(0,i.Z)()),x<m&&(v=x,x=m,m=v),x>f)if(A>p-f)O.moveTo(x*a(b),x*l(b)),O.arc(0,0,x,b,w,!C),m>f&&(O.moveTo(m*a(w),m*l(w)),O.arc(0,0,m,w,b,C));else{var E,P,R=b,j=w,I=b,N=w,U=A,D=A,q=Z.apply(this,arguments)/2,V=q>f&&(u?+u.apply(this,arguments):h(m*m+x*x)),L=c(s(x-m)/2,+n.apply(this,arguments)),F=L,z=L;if(V>f){var $=g(V/m*l(q)),W=g(V/x*l(q));(U-=2*$)>f?(I+=$*=C?1:-1,N-=$):(U=0,I=N=(b+w)/2),(D-=2*W)>f?(R+=W*=C?1:-1,j-=W):(D=0,R=j=(b+w)/2)}var H=x*a(R),B=x*l(R),Y=m*a(N),Q=m*l(N);if(L>f){var X,G=x*a(j),J=x*l(j),K=m*a(I),tt=m*l(I);if(A<d&&(X=S(H,B,K,tt,G,J,Y,Q))){var et=H-X[0],nt=B-X[1],it=G-X[0],rt=J-X[1],st=1/l(y((et*it+nt*rt)/(h(et*et+nt*nt)*h(it*it+rt*rt)))/2),ot=h(X[0]*X[0]+X[1]*X[1]);F=c(L,(m-ot)/(st-1)),z=c(L,(x-ot)/(st+1))}}D>f?z>f?(E=M(K,tt,H,B,x,z,C),P=M(G,J,Y,Q,x,z,C),O.moveTo(E.cx+E.x01,E.cy+E.y01),z<L?O.arc(E.cx,E.cy,z,o(E.y01,E.x01),o(P.y01,P.x01),!C):(O.arc(E.cx,E.cy,z,o(E.y01,E.x01),o(E.y11,E.x11),!C),O.arc(0,0,x,o(E.cy+E.y11,E.cx+E.x11),o(P.cy+P.y11,P.cx+P.x11),!C),O.arc(P.cx,P.cy,z,o(P.y11,P.x11),o(P.y01,P.x01),!C))):(O.moveTo(H,B),O.arc(0,0,x,R,j,!C)):O.moveTo(H,B),m>f&&U>f?F>f?(E=M(Y,Q,G,J,m,-F,C),P=M(H,B,K,tt,m,-F,C),O.lineTo(E.cx+E.x01,E.cy+E.y01),F<L?O.arc(E.cx,E.cy,F,o(E.y01,E.x01),o(P.y01,P.x01),!C):(O.arc(E.cx,E.cy,F,o(E.y01,E.x01),o(E.y11,E.x11),!C),O.arc(0,0,m,o(E.cy+E.y11,E.cx+E.x11),o(P.cy+P.y11,P.cx+P.x11),C),O.arc(P.cx,P.cy,F,o(P.y11,P.x11),o(P.y01,P.x01),!C))):O.arc(0,0,m,N,I,C):O.lineTo(Y,Q)}else O.moveTo(0,0);if(O.closePath(),r)return O=null,r+""||null}return A.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+T.apply(this,arguments)+ +k.apply(this,arguments))/2-d/2;return[a(i)*n,l(i)*n]},A.innerRadius=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),A):t},A.outerRadius=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),A):e},A.cornerRadius=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(+t),A):n},A.padRadius=function(t){return arguments.length?(u=null==t?null:"function"===typeof t?t:(0,r.Z)(+t),A):u},A.startAngle=function(t){return arguments.length?(T="function"===typeof t?t:(0,r.Z)(+t),A):T},A.endAngle=function(t){return arguments.length?(k="function"===typeof t?t:(0,r.Z)(+t),A):k},A.padAngle=function(t){return arguments.length?(Z="function"===typeof t?t:(0,r.Z)(+t),A):Z},A.context=function(t){return arguments.length?(O=null==t?null:t,A):O},A}var k=n(48167),Z=n(92201);function O(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function A(t){return t}function C(){var t=A,e=O,n=null,i=(0,r.Z)(0),s=(0,r.Z)(p),o=(0,r.Z)(0);function a(r){var a,u,c,l,h,f=r.length,d=0,_=new Array(f),y=new Array(f),g=+i.apply(this,arguments),v=Math.min(p,Math.max(-p,s.apply(this,arguments)-g)),m=Math.min(Math.abs(v)/f,o.apply(this,arguments)),x=m*(v<0?-1:1);for(a=0;a<f;++a)(h=y[_[a]=a]=+t(r[a],a,r))>0&&(d+=h);for(null!=e?_.sort((function(t,n){return e(y[t],y[n])})):null!=n&&_.sort((function(t,e){return n(r[t],r[e])})),a=0,c=d?(v-f*x)/d:0;a<f;++a,g=l)u=_[a],l=g+((h=y[u])>0?h*c:0)+x,y[u]={data:r[u],index:a,value:h,startAngle:g,endAngle:l,padAngle:m};return y}return a.value=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(i="function"===typeof t?t:(0,r.Z)(+t),a):i},a.endAngle=function(t){return arguments.length?(s="function"===typeof t?t:(0,r.Z)(+t),a):s},a.padAngle=function(t){return arguments.length?(o="function"===typeof t?t:(0,r.Z)(+t),a):o},a}var E=n(23622),P=j(E.Z);function R(t){this._curve=t}function j(t){function e(e){return new R(t(e))}return e._curve=t,e}function I(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(j(t)):e()._curve},t}function N(){return I((0,Z.Z)().curve(P))}function U(){var t=(0,k.Z)().curve(P),e=t.curve,n=t.lineX0,i=t.lineX1,r=t.lineY0,s=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return I(n())},delete t.lineX0,t.lineEndAngle=function(){return I(i())},delete t.lineX1,t.lineInnerRadius=function(){return I(r())},delete t.lineY0,t.lineOuterRadius=function(){return I(s())},delete t.lineY1,t.curve=function(t){return arguments.length?e(j(t)):e()._curve},t}function D(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}R.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var q=n(13946),V=n(98930);function L(t){return t.source}function F(t){return t.target}function z(t){var e=L,n=F,s=V.x,o=V.y,a=null;function u(){var r,u=q.t.call(arguments),c=e.apply(this,u),l=n.apply(this,u);if(a||(a=r=(0,i.Z)()),t(a,+s.apply(this,(u[0]=c,u)),+o.apply(this,u),+s.apply(this,(u[0]=l,u)),+o.apply(this,u)),r)return a=null,r+""||null}return u.source=function(t){return arguments.length?(e=t,u):e},u.target=function(t){return arguments.length?(n=t,u):n},u.x=function(t){return arguments.length?(s="function"===typeof t?t:(0,r.Z)(+t),u):s},u.y=function(t){return arguments.length?(o="function"===typeof t?t:(0,r.Z)(+t),u):o},u.context=function(t){return arguments.length?(a=null==t?null:t,u):a},u}function $(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e=(e+i)/2,n,e,r,i,r)}function W(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+r)/2,i,n,i,r)}function H(t,e,n,i,r){var s=D(e,n),o=D(e,n=(n+r)/2),a=D(i,n),u=D(i,r);t.moveTo(s[0],s[1]),t.bezierCurveTo(o[0],o[1],a[0],a[1],u[0],u[1])}function B(){return z($)}function Y(){return z(W)}function Q(){var t=z(H);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var X={draw:function(t,e){var n=Math.sqrt(e/d);t.moveTo(n,0),t.arc(0,0,n,0,p)}},G={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},J=Math.sqrt(1/3),K=2*J,tt={draw:function(t,e){var n=Math.sqrt(e/K),i=n*J;t.moveTo(0,-n),t.lineTo(i,0),t.lineTo(0,n),t.lineTo(-i,0),t.closePath()}},et=Math.sin(d/10)/Math.sin(7*d/10),nt=Math.sin(p/10)*et,it=-Math.cos(p/10)*et,rt={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),i=nt*n,r=it*n;t.moveTo(0,-n),t.lineTo(i,r);for(var s=1;s<5;++s){var o=p*s/5,a=Math.cos(o),u=Math.sin(o);t.lineTo(u*n,-a*n),t.lineTo(a*i-u*r,u*i+a*r)}t.closePath()}},st={draw:function(t,e){var n=Math.sqrt(e),i=-n/2;t.rect(i,i,n,n)}},ot=Math.sqrt(3),at={draw:function(t,e){var n=-Math.sqrt(e/(3*ot));t.moveTo(0,2*n),t.lineTo(-ot*n,-n),t.lineTo(ot*n,-n),t.closePath()}},ut=-.5,ct=Math.sqrt(3)/2,lt=1/Math.sqrt(12),ht=3*(lt/2+1),ft={draw:function(t,e){var n=Math.sqrt(e/ht),i=n/2,r=n*lt,s=i,o=n*lt+n,a=-s,u=o;t.moveTo(i,r),t.lineTo(s,o),t.lineTo(a,u),t.lineTo(ut*i-ct*r,ct*i+ut*r),t.lineTo(ut*s-ct*o,ct*s+ut*o),t.lineTo(ut*a-ct*u,ct*a+ut*u),t.lineTo(ut*i+ct*r,ut*r-ct*i),t.lineTo(ut*s+ct*o,ut*o-ct*s),t.lineTo(ut*a+ct*u,ut*u-ct*a),t.closePath()}},dt=[X,G,tt,st,rt,at,ft];function _t(){var t=(0,r.Z)(X),e=(0,r.Z)(64),n=null;function s(){var r;if(n||(n=r=(0,i.Z)()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return s.type=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(e),s):t},s.size=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),s):e},s.context=function(t){return arguments.length?(n=null==t?null:t,s):n},s}function pt(){}var yt=n(97745);function gt(t){this._context=t}function vt(t){return new gt(t)}function mt(t){this._context=t}function xt(t){return new mt(t)}function bt(t,e){this._basis=new yt.fE(t),this._beta=e}gt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:(0,yt.xm)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:(0,yt.xm)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},bt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var i,r=t[0],s=e[0],o=t[n]-r,a=e[n]-s,u=-1;++u<=n;)i=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(r+i*o),this._beta*e[u]+(1-this._beta)*(s+i*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var wt=function t(e){function n(t){return 1===e?new yt.fE(t):new bt(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function St(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Mt(t,e){this._context=t,this._k=(1-e)/6}Mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:St(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:St(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Tt=function t(e){function n(t){return new Mt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function kt(t,e){this._context=t,this._k=(1-e)/6}kt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:St(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Zt=function t(e){function n(t){return new kt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ot(t,e){this._context=t,this._k=(1-e)/6}Ot.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:St(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var At=function t(e){function n(t){return new Ot(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ct(t,e,n){var i=t._x1,r=t._y1,s=t._x2,o=t._y2;if(t._l01_a>f){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,r=(r*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>f){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);s=(s*c+t._x1*t._l23_2a-e*t._l12_2a)/l,o=(o*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(i,r,s,o,t._x2,t._y2)}function Et(t,e){this._context=t,this._alpha=e}Et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Ct(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Pt=function t(e){function n(t){return e?new Et(t,e):new Mt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Rt(t,e){this._context=t,this._alpha=e}Rt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ct(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var jt=function t(e){function n(t){return e?new Rt(t,e):new kt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function It(t,e){this._context=t,this._alpha=e}It.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ct(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Nt=function t(e){function n(t){return e?new It(t,e):new Ot(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Ut(t){this._context=t}function Dt(t){return new Ut(t)}function qt(t){return t<0?-1:1}function Vt(t,e,n){var i=t._x1-t._x0,r=e-t._x1,s=(t._y1-t._y0)/(i||r<0&&-0),o=(n-t._y1)/(r||i<0&&-0),a=(s*r+o*i)/(i+r);return(qt(s)+qt(o))*Math.min(Math.abs(s),Math.abs(o),.5*Math.abs(a))||0}function Lt(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Ft(t,e,n){var i=t._x0,r=t._y0,s=t._x1,o=t._y1,a=(s-i)/3;t._context.bezierCurveTo(i+a,r+a*e,s-a,o-a*n,s,o)}function zt(t){this._context=t}function $t(t){this._context=new Wt(t)}function Wt(t){this._context=t}function Ht(t){return new zt(t)}function Bt(t){return new $t(t)}function Yt(t){this._context=t}function Qt(t){var e,n,i=t.length-1,r=new Array(i),s=new Array(i),o=new Array(i);for(r[0]=0,s[0]=2,o[0]=t[0]+2*t[1],e=1;e<i-1;++e)r[e]=1,s[e]=4,o[e]=4*t[e]+2*t[e+1];for(r[i-1]=2,s[i-1]=7,o[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)n=r[e]/s[e-1],s[e]-=n,o[e]-=n*o[e-1];for(r[i-1]=o[i-1]/s[i-1],e=i-2;e>=0;--e)r[e]=(o[e]-r[e+1])/s[e];for(s[i-1]=(t[i]+r[i-1])/2,e=0;e<i-1;++e)s[e]=2*t[e+1]-r[e+1];return[r,s]}function Xt(t){return new Yt(t)}function Gt(t,e){this._context=t,this._t=e}function Jt(t){return new Gt(t,.5)}function Kt(t){return new Gt(t,0)}function te(t){return new Gt(t,1)}Ut.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},zt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ft(this,this._t0,Lt(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Ft(this,Lt(this,n=Vt(this,t,e)),n);break;default:Ft(this,this._t0,n=Vt(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},($t.prototype=Object.create(zt.prototype)).point=function(t,e){zt.prototype.point.call(this,e,t)},Wt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,r,s){this._context.bezierCurveTo(e,t,i,n,s,r)}},Yt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var i=Qt(t),r=Qt(e),s=0,o=1;o<n;++s,++o)this._context.bezierCurveTo(i[0][s],r[0][s],i[1][s],r[1][s],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},Gt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var ee=n(75823),ne=n(12759),ie=n(27500),re=n(82610),se=n(34812),oe=n(77944),ae=n(34128),ue=n(39586),ce=n(25516),le=n(54164),he=n(8512),fe=n(2010)},92201:function(t,e,n){n.d(e,{Z:function(){return a}});var i=n(35681),r=n(90875),s=n(23622),o=n(98930);function a(){var t=o.x,e=o.y,n=(0,r.Z)(!0),a=null,u=s.Z,c=null;function l(r){var s,o,l,h=r.length,f=!1;for(null==a&&(c=u(l=(0,i.Z)())),s=0;s<=h;++s)!(s<h&&n(o=r[s],s,r))===f&&((f=!f)?c.lineStart():c.lineEnd()),f&&c.point(+t(o,s,r),+e(o,s,r));if(l)return c=null,l+""||null}return l.x=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(+e),l):t},l.y=function(t){return arguments.length?(e="function"===typeof t?t:(0,r.Z)(+t),l):e},l.defined=function(t){return arguments.length?(n="function"===typeof t?t:(0,r.Z)(!!t),l):n},l.curve=function(t){return arguments.length?(u=t,null!=a&&(c=u(a)),l):u},l.context=function(t){return arguments.length?(null==t?a=c=null:c=u(a=t),l):a},l}},27500:function(t,e,n){function i(t,e){if((a=t.length)>0)for(var n,i,r,s,o,a,u=0,c=t[e[0]].length;u<c;++u)for(s=o=0,n=0;n<a;++n)(r=(i=t[e[n]][u])[1]-i[0])>0?(i[0]=s,i[1]=s+=r):r<0?(i[1]=o,i[0]=o+=r):(i[0]=0,i[1]=r)}n.d(e,{Z:function(){return i}})},12759:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(82610);function r(t,e){if((r=t.length)>0){for(var n,r,s,o=0,a=t[0].length;o<a;++o){for(s=n=0;n<r;++n)s+=t[n][o][1]||0;if(s)for(n=0;n<r;++n)t[n][o][1]/=s}(0,i.Z)(t,e)}}},82610:function(t,e,n){function i(t,e){if((r=t.length)>1)for(var n,i,r,s=1,o=t[e[0]],a=o.length;s<r;++s)for(i=o,o=t[e[s]],n=0;n<a;++n)o[n][1]+=o[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}n.d(e,{Z:function(){return i}})},34812:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(82610);function r(t,e){if((n=t.length)>0){for(var n,r=0,s=t[e[0]],o=s.length;r<o;++r){for(var a=0,u=0;a<n;++a)u+=t[a][r][1]||0;s[r][1]+=s[r][0]=-u/2}(0,i.Z)(t,e)}}},77944:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(82610);function r(t,e){if((s=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,s,o=0,a=1;a<r;++a){for(var u=0,c=0,l=0;u<s;++u){for(var h=t[e[u]],f=h[a][1]||0,d=(f-(h[a-1][1]||0))/2,_=0;_<u;++_){var p=t[e[_]];d+=(p[a][1]||0)-(p[a-1][1]||0)}c+=f,l+=d*f}n[a-1][1]+=n[a-1][0]=o,c&&(o-=l/c)}n[a-1][1]+=n[a-1][0]=o,(0,i.Z)(t,e)}}},34128:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(8512);function r(t){var e=t.map(s);return(0,i.Z)(t).sort((function(t,n){return e[t]-e[n]}))}function s(t){for(var e,n=-1,i=0,r=t.length,s=-1/0;++n<r;)(e=+t[n][1])>s&&(s=e,i=n);return i}},39586:function(t,e,n){n.d(e,{S:function(){return s},Z:function(){return r}});var i=n(8512);function r(t){var e=t.map(s);return(0,i.Z)(t).sort((function(t,n){return e[t]-e[n]}))}function s(t){for(var e,n=0,i=-1,r=t.length;++i<r;)(e=+t[i][1])&&(n+=e);return n}},25516:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(39586);function r(t){return(0,i.Z)(t).reverse()}},54164:function(t,e,n){n.d(e,{Z:function(){return s}});var i=n(34128),r=n(39586);function s(t){var e,n,s=t.length,o=t.map(r.S),a=(0,i.Z)(t),u=0,c=0,l=[],h=[];for(e=0;e<s;++e)n=a[e],u<c?(u+=o[n],l.push(n)):(c+=o[n],h.push(n));return h.reverse().concat(l)}},8512:function(t,e,n){function i(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}n.d(e,{Z:function(){return i}})},2010:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(8512);function r(t){return(0,i.Z)(t).reverse()}},98930:function(t,e,n){function i(t){return t[0]}function r(t){return t[1]}n.d(e,{x:function(){return i},y:function(){return r}})},75823:function(t,e,n){n.d(e,{Z:function(){return u}});var i=n(13946),r=n(90875),s=n(82610),o=n(8512);function a(t,e){return t[e]}function u(){var t=(0,r.Z)([]),e=o.Z,n=s.Z,u=a;function c(i){var r,s,o=t.apply(this,arguments),a=i.length,c=o.length,l=new Array(c);for(r=0;r<c;++r){for(var h,f=o[r],d=l[r]=new Array(a),_=0;_<a;++_)d[_]=h=[0,+u(i[_],f,_,i)],h.data=i[_];d.key=f}for(r=0,s=e(l);r<c;++r)l[s[r]].index=r;return n(l,s),l}return c.keys=function(e){return arguments.length?(t="function"===typeof e?e:(0,r.Z)(i.t.call(e)),c):t},c.value=function(t){return arguments.length?(u="function"===typeof t?t:(0,r.Z)(+t),c):u},c.order=function(t){return arguments.length?(e=null==t?o.Z:"function"===typeof t?t:(0,r.Z)(i.t.call(t)),c):e},c.offset=function(t){return arguments.length?(n=null==t?s.Z:t,c):n},c}},11684:function(t,e,n){n.d(e,{animated:function(){return i.animated}});var i=n(84877);n.o(i,"to")&&n.d(e,{to:function(){return i.to}}),n.o(i,"useTransition")&&n.d(e,{useTransition:function(){return i.useTransition}})}}]);
|