silgi 0.0.13 → 0.1.0-beta.1
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.
- package/README.md +102 -1
- package/dist/_virtual/_rolldown/runtime.mjs +5 -0
- package/dist/adapters/astro.d.mts +17 -0
- package/dist/adapters/astro.mjs +24 -0
- package/dist/adapters/aws-lambda.d.mts +31 -0
- package/dist/adapters/aws-lambda.mjs +85 -0
- package/dist/adapters/elysia.d.mts +17 -0
- package/dist/adapters/elysia.mjs +76 -0
- package/dist/adapters/express.d.mts +16 -0
- package/dist/adapters/express.mjs +78 -0
- package/dist/adapters/fastify.d.mts +15 -0
- package/dist/adapters/fastify.mjs +78 -0
- package/dist/adapters/message-port.d.mts +37 -0
- package/dist/adapters/message-port.mjs +129 -0
- package/dist/adapters/nestjs.d.mts +25 -0
- package/dist/adapters/nestjs.mjs +91 -0
- package/dist/adapters/nextjs.d.mts +21 -0
- package/dist/adapters/nextjs.mjs +30 -0
- package/dist/adapters/peer.d.mts +27 -0
- package/dist/adapters/peer.mjs +36 -0
- package/dist/adapters/remix.d.mts +17 -0
- package/dist/adapters/remix.mjs +24 -0
- package/dist/adapters/solidstart.d.mts +14 -0
- package/dist/adapters/solidstart.mjs +30 -0
- package/dist/adapters/sveltekit.d.mts +18 -0
- package/dist/adapters/sveltekit.mjs +33 -0
- package/dist/analyze.mjs +26 -0
- package/dist/broker/index.d.mts +62 -0
- package/dist/broker/index.mjs +153 -0
- package/dist/broker/nats.d.mts +33 -0
- package/dist/broker/nats.mjs +31 -0
- package/dist/broker/redis.d.mts +51 -0
- package/dist/broker/redis.mjs +92 -0
- package/dist/builder.d.mts +36 -0
- package/dist/builder.mjs +51 -0
- package/dist/callable.d.mts +17 -0
- package/dist/callable.mjs +42 -0
- package/dist/client/adapters/fetch/index.d.mts +17 -0
- package/dist/client/adapters/fetch/index.mjs +61 -0
- package/dist/client/adapters/ofetch/index.d.mts +41 -0
- package/dist/client/adapters/ofetch/index.mjs +92 -0
- package/dist/client/client.d.mts +29 -0
- package/dist/client/client.mjs +54 -0
- package/dist/client/dynamic-link.d.mts +15 -0
- package/dist/client/dynamic-link.mjs +16 -0
- package/dist/client/index.d.mts +7 -0
- package/dist/client/index.mjs +6 -0
- package/dist/client/interceptor.d.mts +31 -0
- package/dist/client/interceptor.mjs +34 -0
- package/dist/client/merge.d.mts +28 -0
- package/dist/client/merge.mjs +30 -0
- package/dist/client/openapi.d.mts +29 -0
- package/dist/client/openapi.mjs +89 -0
- package/dist/client/plugins/batch.d.mts +20 -0
- package/dist/client/plugins/batch.mjs +64 -0
- package/dist/client/plugins/csrf.d.mts +13 -0
- package/dist/client/plugins/csrf.mjs +20 -0
- package/dist/client/plugins/dedupe.d.mts +10 -0
- package/dist/client/plugins/dedupe.mjs +28 -0
- package/dist/client/plugins/index.d.mts +5 -0
- package/dist/client/plugins/index.mjs +5 -0
- package/dist/client/plugins/retry.d.mts +11 -0
- package/dist/client/plugins/retry.mjs +21 -0
- package/dist/client/server.d.mts +16 -0
- package/dist/client/server.mjs +60 -0
- package/dist/client/types.d.mts +29 -0
- package/dist/codec/devalue.d.mts +21 -0
- package/dist/codec/devalue.mjs +32 -0
- package/dist/codec/msgpack.d.mts +21 -0
- package/dist/codec/msgpack.mjs +59 -0
- package/dist/compile.d.mts +52 -0
- package/dist/compile.mjs +304 -0
- package/dist/contract.d.mts +36 -0
- package/dist/contract.mjs +40 -0
- package/dist/core/error.d.mts +104 -0
- package/dist/core/error.mjs +139 -0
- package/dist/core/handler.mjs +546 -0
- package/dist/core/iterator.d.mts +17 -0
- package/dist/core/iterator.mjs +79 -0
- package/dist/core/router-utils.mjs +16 -0
- package/dist/core/schema.d.mts +19 -0
- package/dist/core/schema.mjs +26 -0
- package/dist/core/serve.mjs +38 -0
- package/dist/core/sse.d.mts +16 -0
- package/dist/core/sse.mjs +95 -0
- package/dist/core/storage.d.mts +21 -0
- package/dist/core/storage.mjs +63 -0
- package/dist/core/utils.mjs +21 -0
- package/dist/fast-stringify.mjs +125 -0
- package/dist/index.d.mts +15 -37
- package/dist/index.mjs +13 -7
- package/dist/integrations/ai/index.d.mts +25 -0
- package/dist/integrations/ai/index.mjs +116 -0
- package/dist/integrations/react/index.d.mts +83 -0
- package/dist/integrations/react/index.mjs +197 -0
- package/dist/integrations/tanstack-query/index.d.mts +120 -0
- package/dist/integrations/tanstack-query/index.mjs +100 -0
- package/dist/integrations/tanstack-query/ssr.d.mts +51 -0
- package/dist/integrations/tanstack-query/ssr.mjs +89 -0
- package/dist/integrations/zod/converter.d.mts +75 -0
- package/dist/integrations/zod/converter.mjs +345 -0
- package/dist/integrations/zod/index.d.mts +2 -0
- package/dist/integrations/zod/index.mjs +2 -0
- package/dist/lazy.d.mts +24 -0
- package/dist/lazy.mjs +27 -0
- package/dist/lifecycle.d.mts +36 -0
- package/dist/lifecycle.mjs +46 -0
- package/dist/map-input.d.mts +17 -0
- package/dist/map-input.mjs +24 -0
- package/dist/plugins/analytics.d.mts +168 -0
- package/dist/plugins/analytics.mjs +459 -0
- package/dist/plugins/batch-server.d.mts +20 -0
- package/dist/plugins/batch-server.mjs +86 -0
- package/dist/plugins/body-limit.d.mts +16 -0
- package/dist/plugins/body-limit.mjs +44 -0
- package/dist/plugins/cache.d.mts +170 -0
- package/dist/plugins/cache.mjs +200 -0
- package/dist/plugins/coerce.d.mts +21 -0
- package/dist/plugins/coerce.mjs +46 -0
- package/dist/plugins/compression.d.mts +19 -0
- package/dist/plugins/compression.mjs +23 -0
- package/dist/plugins/cookies.d.mts +44 -0
- package/dist/plugins/cookies.mjs +67 -0
- package/dist/plugins/cors.d.mts +39 -0
- package/dist/plugins/cors.mjs +56 -0
- package/dist/plugins/custom-serializer.d.mts +57 -0
- package/dist/plugins/custom-serializer.mjs +40 -0
- package/dist/plugins/file-upload.d.mts +38 -0
- package/dist/plugins/file-upload.mjs +100 -0
- package/dist/plugins/index.d.mts +16 -0
- package/dist/plugins/index.mjs +16 -0
- package/dist/plugins/otel.d.mts +35 -0
- package/dist/plugins/otel.mjs +40 -0
- package/dist/plugins/pino.d.mts +60 -0
- package/dist/plugins/pino.mjs +42 -0
- package/dist/plugins/pubsub.d.mts +50 -0
- package/dist/plugins/pubsub.mjs +53 -0
- package/dist/plugins/ratelimit.d.mts +51 -0
- package/dist/plugins/ratelimit.mjs +81 -0
- package/dist/plugins/signing.d.mts +41 -0
- package/dist/plugins/signing.mjs +115 -0
- package/dist/plugins/strict-get.d.mts +10 -0
- package/dist/plugins/strict-get.mjs +33 -0
- package/dist/route/add.mjs +240 -0
- package/dist/route/compiler.mjs +373 -0
- package/dist/route/context.mjs +12 -0
- package/dist/route/types.d.mts +11 -0
- package/dist/route/utils.mjs +17 -0
- package/dist/scalar.d.mts +53 -0
- package/dist/scalar.mjs +315 -0
- package/dist/silgi.d.mts +139 -0
- package/dist/silgi.mjs +113 -0
- package/dist/trpc-interop.d.mts +22 -0
- package/dist/trpc-interop.mjs +68 -0
- package/dist/types.d.mts +82 -0
- package/dist/ws.d.mts +42 -0
- package/dist/ws.mjs +137 -0
- package/lib/dashboard/index.html +123 -0
- package/lib/ocache.d.mts +1 -0
- package/lib/ocache.mjs +1 -0
- package/lib/ofetch.d.mts +1 -0
- package/lib/ofetch.mjs +1 -0
- package/lib/srvx.d.mts +1 -0
- package/lib/srvx.mjs +1 -0
- package/lib/unstorage.d.mts +1 -0
- package/lib/unstorage.mjs +1 -0
- package/package.json +291 -65
- package/bin/silgi.mjs +0 -3
- package/dist/chunks/generate.mjs +0 -933
- package/dist/chunks/init.mjs +0 -21
- package/dist/cli/config.d.mts +0 -19
- package/dist/cli/config.d.ts +0 -19
- package/dist/cli/config.mjs +0 -5
- package/dist/cli/index.d.mts +0 -2
- package/dist/cli/index.d.ts +0 -2
- package/dist/cli/index.mjs +0 -119
- package/dist/index.d.ts +0 -37
- package/dist/plugins/openapi.d.mts +0 -138
- package/dist/plugins/openapi.d.ts +0 -138
- package/dist/plugins/openapi.mjs +0 -204
- package/dist/plugins/scalar.d.mts +0 -14
- package/dist/plugins/scalar.d.ts +0 -14
- package/dist/plugins/scalar.mjs +0 -66
- package/dist/shared/silgi.BMCYk2cR.mjs +0 -841
- package/dist/shared/silgi.D5qK9QOm.d.mts +0 -301
- package/dist/shared/silgi.D5qK9QOm.d.ts +0 -301
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>Silgi Analytics</title>
|
|
7
|
+
<script>
|
|
8
|
+
;(function () {
|
|
9
|
+
var t = localStorage.getItem('silgi-theme')
|
|
10
|
+
if (!t) t = matchMedia('(prefers-color-scheme:dark)').matches ? 'dark' : 'light'
|
|
11
|
+
if (t === 'dark') document.documentElement.classList.add('dark')
|
|
12
|
+
})()
|
|
13
|
+
</script>
|
|
14
|
+
<script type="module" crossorigin>var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function u(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=u(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function d(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=u(e))&&(r&&(r+=` `),r+=t);return r}var f=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},p=(e,t)=>({classGroupId:e,validator:t}),m=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),h=`-`,g=[],_=`arbitrary..`,v=e=>{let t=x(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return b(e);let n=e.split(h);return y(n,n[0]===``&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?f(i,t):t:i||g}return n[e]||g}}},y=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=y(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(h):e.slice(t).join(h),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},b=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?_+r:void 0})(),x=e=>{let{theme:t,classGroups:n}=e;return S(n,t)},S=(e,t)=>{let n=m();for(let r in e){let i=e[r];C(i,n,r,t)}return n},C=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];w(i,t,n,r)}},w=(e,t,n,r)=>{if(typeof e==`string`){T(e,t,n);return}if(typeof e==`function`){E(e,t,n,r);return}D(e,t,n,r)},T=(e,t,n)=>{let r=e===``?t:O(t,e);r.classGroupId=n},E=(e,t,n,r)=>{if(k(e)){C(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(p(n,e))},D=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];C(o,O(t,a),n,r)}},O=(e,t)=>{let n=e,r=t.split(h),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=m(),n.nextPart.set(t,i)),n=i}return n},k=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,A=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},j=`!`,M=`:`,N=[],P=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),F=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===M){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(j)?(c=s.slice(0,-1),l=!0):s.startsWith(j)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return P(t,l,c,u)};if(t){let e=t+M,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):P(N,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},I=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},ee=e=>({cache:A(e.cacheSize),parseClassName:F(e),sortModifiers:I(e),...v(e)}),L=/\s+/,te=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(L),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+j:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},R=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=ne(n))&&(i&&(i+=` `),i+=r);return i},ne=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=ne(e[r]))&&(n&&(n+=` `),n+=t);return n},re=(e,...t)=>{let n,r,i,a,o=o=>(n=ee(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=te(e,n);return i(e,a),a};return a=o,(...e)=>a(R(...e))},ie=[],z=e=>{let t=t=>t[e]||ie;return t.isThemeGetter=!0,t},ae=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,oe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,se=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ce=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,le=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,de=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pe=e=>se.test(e),me=e=>!!e&&!Number.isNaN(Number(e)),he=e=>!!e&&Number.isInteger(Number(e)),ge=e=>e.endsWith(`%`)&&me(e.slice(0,-1)),_e=e=>ce.test(e),ve=()=>!0,ye=e=>le.test(e)&&!ue.test(e),be=()=>!1,xe=e=>de.test(e),Se=e=>fe.test(e),Ce=e=>!B(e)&&!V(e),we=e=>ze(e,Ue,be),B=e=>ae.test(e),Te=e=>ze(e,We,ye),Ee=e=>ze(e,Ge,me),De=e=>ze(e,qe,ve),Oe=e=>ze(e,Ke,be),ke=e=>ze(e,Ve,be),Ae=e=>ze(e,He,Se),je=e=>ze(e,Je,xe),V=e=>oe.test(e),Me=e=>Be(e,We),Ne=e=>Be(e,Ke),Pe=e=>Be(e,Ve),Fe=e=>Be(e,Ue),Ie=e=>Be(e,He),Le=e=>Be(e,Je,!0),Re=e=>Be(e,qe,!0),ze=(e,t,n)=>{let r=ae.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Be=(e,t,n=!1)=>{let r=oe.exec(e);return r?r[1]?t(r[1]):n:!1},Ve=e=>e===`position`||e===`percentage`,He=e=>e===`image`||e===`url`,Ue=e=>e===`length`||e===`size`||e===`bg-size`,We=e=>e===`length`,Ge=e=>e===`number`,Ke=e=>e===`family-name`,qe=e=>e===`number`||e===`weight`,Je=e=>e===`shadow`,Ye=re(()=>{let e=z(`color`),t=z(`font`),n=z(`text`),r=z(`font-weight`),i=z(`tracking`),a=z(`leading`),o=z(`breakpoint`),s=z(`container`),c=z(`spacing`),l=z(`radius`),u=z(`shadow`),d=z(`inset-shadow`),f=z(`text-shadow`),p=z(`drop-shadow`),m=z(`blur`),h=z(`perspective`),g=z(`aspect`),_=z(`ease`),v=z(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),V,B],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[V,B,c],T=()=>[pe,`full`,`auto`,...w()],E=()=>[he,`none`,`subgrid`,V,B],D=()=>[`auto`,{span:[`full`,he,V,B]},he,V,B],O=()=>[he,`auto`,V,B],k=()=>[`auto`,`min`,`max`,`fr`,V,B],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[pe,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[pe,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],F=()=>[pe,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],I=()=>[e,V,B],ee=()=>[...b(),Pe,ke,{position:[V,B]}],L=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],te=()=>[`auto`,`cover`,`contain`,Fe,we,{size:[V,B]}],R=()=>[ge,Me,Te],ne=()=>[``,`none`,`full`,l,V,B],re=()=>[``,me,Me,Te],ie=()=>[`solid`,`dashed`,`dotted`,`double`],ae=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],oe=()=>[me,ge,Pe,ke],se=()=>[``,`none`,m,V,B],ce=()=>[`none`,me,V,B],le=()=>[`none`,me,V,B],ue=()=>[me,V,B],de=()=>[pe,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[_e],breakpoint:[_e],color:[ve],container:[_e],"drop-shadow":[_e],ease:[`in`,`out`,`in-out`],font:[Ce],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[_e],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[_e],shadow:[_e],spacing:[`px`,me],text:[_e],"text-shadow":[_e],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,pe,B,V,g]}],container:[`container`],columns:[{columns:[me,B,V,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[he,`auto`,V,B]}],basis:[{basis:[pe,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[me,pe,`auto`,`initial`,`none`,B]}],grow:[{grow:[``,me,V,B]}],shrink:[{shrink:[``,me,V,B]}],order:[{order:[he,`first`,`last`,`none`,V,B]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...P()]}],"min-inline-size":[{"min-inline":[`auto`,...P()]}],"max-inline-size":[{"max-inline":[`none`,...P()]}],"block-size":[{block:[`auto`,...F()]}],"min-block-size":[{"min-block":[`auto`,...F()]}],"max-block-size":[{"max-block":[`none`,...F()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,Me,Te]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Re,De]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,ge,B]}],"font-family":[{font:[Ne,Oe,t]}],"font-features":[{"font-features":[B]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,V,B]}],"line-clamp":[{"line-clamp":[me,`none`,V,Ee]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,V,B]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,V,B]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ie(),`wavy`]}],"text-decoration-thickness":[{decoration:[me,`from-font`,`auto`,V,Te]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[me,`auto`,V,B]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,V,B]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,V,B]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ee()}],"bg-repeat":[{bg:L()}],"bg-size":[{bg:te()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},he,V,B],radial:[``,V,B],conic:[he,V,B]},Ie,Ae]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:ne()}],"rounded-s":[{"rounded-s":ne()}],"rounded-e":[{"rounded-e":ne()}],"rounded-t":[{"rounded-t":ne()}],"rounded-r":[{"rounded-r":ne()}],"rounded-b":[{"rounded-b":ne()}],"rounded-l":[{"rounded-l":ne()}],"rounded-ss":[{"rounded-ss":ne()}],"rounded-se":[{"rounded-se":ne()}],"rounded-ee":[{"rounded-ee":ne()}],"rounded-es":[{"rounded-es":ne()}],"rounded-tl":[{"rounded-tl":ne()}],"rounded-tr":[{"rounded-tr":ne()}],"rounded-br":[{"rounded-br":ne()}],"rounded-bl":[{"rounded-bl":ne()}],"border-w":[{border:re()}],"border-w-x":[{"border-x":re()}],"border-w-y":[{"border-y":re()}],"border-w-s":[{"border-s":re()}],"border-w-e":[{"border-e":re()}],"border-w-bs":[{"border-bs":re()}],"border-w-be":[{"border-be":re()}],"border-w-t":[{"border-t":re()}],"border-w-r":[{"border-r":re()}],"border-w-b":[{"border-b":re()}],"border-w-l":[{"border-l":re()}],"divide-x":[{"divide-x":re()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":re()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ie(),`hidden`,`none`]}],"divide-style":[{divide:[...ie(),`hidden`,`none`]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-bs":[{"border-bs":I()}],"border-color-be":[{"border-be":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}],"divide-color":[{divide:I()}],"outline-style":[{outline:[...ie(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[me,V,B]}],"outline-w":[{outline:[``,me,Me,Te]}],"outline-color":[{outline:I()}],shadow:[{shadow:[``,`none`,u,Le,je]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":[`none`,d,Le,je]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:re()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[me,Te]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":re()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":[`none`,f,Le,je]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[me,V,B]}],"mix-blend":[{"mix-blend":[...ae(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ae()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[me]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[V,B]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[me]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ee()}],"mask-repeat":[{mask:L()}],"mask-size":[{mask:te()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,V,B]}],filter:[{filter:[``,`none`,V,B]}],blur:[{blur:se()}],brightness:[{brightness:[me,V,B]}],contrast:[{contrast:[me,V,B]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Le,je]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:[``,me,V,B]}],"hue-rotate":[{"hue-rotate":[me,V,B]}],invert:[{invert:[``,me,V,B]}],saturate:[{saturate:[me,V,B]}],sepia:[{sepia:[``,me,V,B]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,V,B]}],"backdrop-blur":[{"backdrop-blur":se()}],"backdrop-brightness":[{"backdrop-brightness":[me,V,B]}],"backdrop-contrast":[{"backdrop-contrast":[me,V,B]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,me,V,B]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[me,V,B]}],"backdrop-invert":[{"backdrop-invert":[``,me,V,B]}],"backdrop-opacity":[{"backdrop-opacity":[me,V,B]}],"backdrop-saturate":[{"backdrop-saturate":[me,V,B]}],"backdrop-sepia":[{"backdrop-sepia":[``,me,V,B]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,V,B]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[me,`initial`,V,B]}],ease:[{ease:[`linear`,`initial`,_,V,B]}],delay:[{delay:[me,V,B]}],animate:[{animate:[`none`,v,V,B]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,V,B]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ce()}],"rotate-x":[{"rotate-x":ce()}],"rotate-y":[{"rotate-y":ce()}],"rotate-z":[{"rotate-z":ce()}],scale:[{scale:le()}],"scale-x":[{"scale-x":le()}],"scale-y":[{"scale-y":le()}],"scale-z":[{"scale-z":le()}],"scale-3d":[`scale-3d`],skew:[{skew:ue()}],"skew-x":[{"skew-x":ue()}],"skew-y":[{"skew-y":ue()}],transform:[{transform:[V,B,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:de()}],"translate-x":[{"translate-x":de()}],"translate-y":[{"translate-y":de()}],"translate-z":[{"translate-z":de()}],"translate-none":[`translate-none`],accent:[{accent:I()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:I()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,V,B]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,V,B]}],fill:[{fill:[`none`,...I()]}],"stroke-w":[{stroke:[me,Me,Te,Ee]}],stroke:[{stroke:[`none`,...I()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function H(...e){return Ye(d(e))}var Xe=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ee={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ee,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.4`})),Ze=o(((e,t)=>{t.exports=Xe()})),U=l(Ze()),Qe={};function $e(e,t){let n=U.useRef(Qe);return n.current===Qe&&(n.current=e(t)),n}var et=[],tt=void 0;function nt(){return tt}function rt(e){et.push(e)}function it(e){let t=(t,n)=>{let r=$e(ot).current,i;try{tt=r;for(let e of et)e.before(r);i=e(t,n);for(let e of et)e.after(r);r.didInitialize=!0}finally{tt=void 0}return i};return t.displayName=e.displayName||e.name,t}function at(e){return U.forwardRef(it(e))}function ot(){return{didInitialize:!1}}function st(e){let t=U.useRef(!0);t.current&&(t.current=!1,e())}var W=typeof document<`u`?U.useLayoutEffect:()=>{};function ct(e,t){return function(n,...r){let i=new URL(e);return i.searchParams.set(`code`,n.toString()),r.forEach(e=>i.searchParams.append(`args[]`,e)),`${t} error #${n}; visit ${i} for the full message.`}}var lt=ct(`https://base-ui.com/production-error`,`Base UI`),ut=U.createContext(void 0);function dt(e){let t=U.useContext(ut);if(t===void 0&&!e)throw Error(lt(72));return t}var ft=[];function pt(e){U.useEffect(e,ft)}var mt=0,ht=class e{static create(){return new e}currentId=mt;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=mt,t()},e)}isStarted(){return this.currentId!==mt}clear=()=>{this.currentId!==mt&&(clearTimeout(this.currentId),this.currentId=mt)};disposeEffect=()=>this.clear};function gt(){let e=$e(ht.create).current;return pt(e.disposeEffect),e}function _t(){return typeof window<`u`}function vt(e){return xt(e)?(e.nodeName||``).toLowerCase():`#document`}function yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bt(e){return((xt(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function xt(e){return _t()?e instanceof Node||e instanceof yt(e).Node:!1}function St(e){return _t()?e instanceof Element||e instanceof yt(e).Element:!1}function Ct(e){return _t()?e instanceof HTMLElement||e instanceof yt(e).HTMLElement:!1}function wt(e){return!_t()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot}function Tt(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=It(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Et(e){return/^(table|td|th)$/.test(vt(e))}function Dt(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Ot=/transform|translate|scale|rotate|perspective|filter/,kt=/paint|layout|strict|content/,At=e=>!!e&&e!==`none`,jt;function Mt(e){let t=St(e)?It(e):e;return At(t.transform)||At(t.translate)||At(t.scale)||At(t.rotate)||At(t.perspective)||!Pt()&&(At(t.backdropFilter)||At(t.filter))||Ot.test(t.willChange||``)||kt.test(t.contain||``)}function Nt(e){let t=Rt(e);for(;Ct(t)&&!Ft(t);){if(Mt(t))return t;if(Dt(t))return null;t=Rt(t)}return null}function Pt(){return jt??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),jt}function Ft(e){return/^(html|body|#document)$/.test(vt(e))}function It(e){return yt(e).getComputedStyle(e)}function Lt(e){return St(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rt(e){if(vt(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||wt(e)&&e.host||bt(e);return wt(t)?t.host:t}function zt(e){let t=Rt(e);return Ft(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ct(t)&&Tt(t)?t:zt(t)}function Bt(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=zt(e),i=r===e.ownerDocument?.body,a=yt(r);if(i){let e=Vt(a);return t.concat(a,a.visualViewport||[],Tt(r)?r:[],e&&n?Bt(e):[])}else return t.concat(r,Bt(r,[],n))}function Vt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var Ht=typeof navigator<`u`,Ut=Qt(),Wt=en(),Gt=$t(),Kt=typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter:none`),qt=Ut.platform===`MacIntel`&&Ut.maxTouchPoints>1?!0:/iP(hone|ad|od)|iOS/.test(Ut.platform);Ht&&/firefox/i.test(Gt);var Jt=Ht&&/apple/i.test(navigator.vendor);Ht&&/Edg/i.test(Gt);var Yt=Ht&&/android/i.test(Wt)||/android/i.test(Gt),Xt=Ht&&Wt.toLowerCase().startsWith(`mac`)&&!navigator.maxTouchPoints,Zt=Gt.includes(`jsdom/`);function Qt(){if(!Ht)return{platform:``,maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??-1}}function $t(){if(!Ht)return``;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(` `):navigator.userAgent}function en(){if(!Ht)return``;let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??``}var tn=`data-base-ui-focusable`,nn=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`,rn=`ArrowLeft`,an=`ArrowRight`,on=`ArrowUp`,sn=`ArrowDown`;function cn(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function ln(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&wt(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function un(e,t){if(!St(e))return!1;let n=e;if(t.hasElement(n))return!n.hasAttribute(`data-trigger-disabled`);for(let[,e]of t.entries())if(ln(e,n))return!e.hasAttribute(`data-trigger-disabled`);return!1}function dn(e){return`composedPath`in e?e.composedPath()[0]:e.target}function fn(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function pn(e){return e.matches(`html,body`)}function mn(e){return Ct(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function hn(e){return e?e.getAttribute(`role`)===`combobox`&&mn(e):!1}function gn(e){if(!e||Zt)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function _n(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function vn(e,t,n=!0){return e.filter(e=>e.parentId===t&&(!n||e.context?.open)).flatMap(t=>[t,...vn(e,t.id,n)])}function yn(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function bn(e){e.preventDefault(),e.stopPropagation()}function xn(e){return`nativeEvent`in e}function Sn(e){return e.pointerType===``&&e.isTrusted?!0:Yt&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function Cn(e){return Zt?!1:!Yt&&e.width===0&&e.height===0||Yt&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function wn(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function Tn(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}var En=[`top`,`right`,`bottom`,`left`],Dn=Math.min,On=Math.max,kn=Math.round,An=Math.floor,jn=e=>({x:e,y:e}),Mn={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Nn(e,t,n){return On(e,Dn(t,n))}function Pn(e,t){return typeof e==`function`?e(t):e}function Fn(e){return e.split(`-`)[0]}function In(e){return e.split(`-`)[1]}function Ln(e){return e===`x`?`y`:`x`}function Rn(e){return e===`y`?`height`:`width`}function zn(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Bn(e){return Ln(zn(e))}function Vn(e,t,n){n===void 0&&(n=!1);let r=In(e),i=Bn(e),a=Rn(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Xn(o)),[o,Xn(o)]}function Hn(e){let t=Xn(e);return[Un(e),t,Un(t)]}function Un(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Wn=[`left`,`right`],Gn=[`right`,`left`],Kn=[`top`,`bottom`],qn=[`bottom`,`top`];function Jn(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Gn:Wn:t?Wn:Gn;case`left`:case`right`:return t?Kn:qn;default:return[]}}function Yn(e,t,n,r){let i=In(e),a=Jn(Fn(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Un)))),a}function Xn(e){let t=Fn(e);return Mn[t]+e.slice(t.length)}function Zn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Qn(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Zn(e)}function $n(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function er(e,t,n){return Math.floor(e/t)!==n}function tr(e,t){return t<0||t>=e.current.length}function nr(e,t){return ir(e,{disabledIndices:t})}function rr(e,t){return ir(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function ir(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.current.length-1&&lr(e,a,r));return a}function ar(e,{event:t,orientation:n,loopFocus:r,rtl:i,cols:a,disabledIndices:o,minIndex:s,maxIndex:c,prevIndex:l,stopEvent:u=!1}){let d=l,f;if(t.key===`ArrowUp`?f=`up`:t.key===`ArrowDown`&&(f=`down`),f){let n=[],i=[],p=!1,m=0;{let t=null,r=-1;e.current.forEach((e,a)=>{if(e==null)return;m+=1;let o=e.closest(`[role="row"]`);o&&(p=!0),(o!==t||r===-1)&&(t=o,r+=1,n[r]=[]),n[r].push(a),i[a]=r})}let h=!1,g=0;if(p)for(let e of n){let t=e.length;t>g&&(g=t),t!==a&&(h=!0)}let _=h&&m<e.current.length,v=g||a,y=t=>{if(!h||l===-1)return;let a=i[l];if(a==null)return;let s=n[a].indexOf(l),c=t===`up`?-1:1;for(let t=a+c,i=0;i<n.length;i+=1,t+=c){if(t<0||t>=n.length){if(!r||_)return;t=t<0?n.length-1:0}let i=n[t];for(let t=Math.min(s,i.length-1);t>=0;--t){let n=i[t];if(!lr(e,n,o))return n}}},b=t=>{if(!_||l===-1)return;let n=l%v,i=t===`up`?-v:v,a=c-c%v,s=An(c/v)+1;for(let t=l-n+i,u=0;u<s;u+=1,t+=i){if(t<0||t>c){if(!r)return;t=t<0?a:0}let i=Math.min(t+v-1,c);for(let r=Math.min(t+n,i);r>=t;--r)if(!lr(e,r,o))return r}};u&&bn(t);let x=y(f)??b(f);if(x!==void 0)d=x;else if(l===-1)d=f===`up`?c:s;else if(d=ir(e,{startingIndex:l,amount:v,decrement:f===`up`,disabledIndices:o}),r){if(f===`up`&&(l-v<s||d<0)){let e=l%v,t=c%v,n=c-(t-e);d=t===e?c:t>e?n:n-v}f===`down`&&l+v>c&&(d=ir(e,{startingIndex:l%v-v,amount:v,disabledIndices:o}))}tr(e,d)&&(d=l)}if(n===`both`){let n=An(l/a);t.key===(i?`ArrowLeft`:`ArrowRight`)&&(u&&bn(t),l%a===a-1?r&&(d=ir(e,{startingIndex:l-l%a-1,disabledIndices:o})):(d=ir(e,{startingIndex:l,disabledIndices:o}),r&&er(d,a,n)&&(d=ir(e,{startingIndex:l-l%a-1,disabledIndices:o}))),er(d,a,n)&&(d=l)),t.key===(i?`ArrowRight`:`ArrowLeft`)&&(u&&bn(t),l%a===0?r&&(d=ir(e,{startingIndex:l+(a-l%a),decrement:!0,disabledIndices:o})):(d=ir(e,{startingIndex:l,decrement:!0,disabledIndices:o}),r&&er(d,a,n)&&(d=ir(e,{startingIndex:l+(a-l%a),decrement:!0,disabledIndices:o}))),er(d,a,n)&&(d=l));let s=An(c/a)===n;tr(e,d)&&(d=r&&s?t.key===(i?`ArrowRight`:`ArrowLeft`)?c:ir(e,{startingIndex:l-l%a-1,disabledIndices:o}):l)}return d}function or(e,t,n){let r=[],i=0;return e.forEach(({width:e,height:a},o)=>{let s=!1;for(n&&(i=0);!s;){let n=[];for(let r=0;r<e;r+=1)for(let e=0;e<a;e+=1)n.push(i+r+e*t);i%t+e<=t&&n.every(e=>r[e]==null)?(n.forEach(e=>{r[e]=o}),s=!0):i+=1}}),[...r]}function sr(e,t,n,r,i){if(e===-1)return-1;let a=n.indexOf(e),o=t[e];switch(i){case`tl`:return a;case`tr`:return o?a+o.width-1:a;case`bl`:return o?a+(o.height-1)*r:a;case`br`:return n.lastIndexOf(e);default:return-1}}function cr(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}function lr(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e.current[t];return r?ur(r)?!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!0:!1}function ur(e){return It(e).display!==`none`}var dr=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`].join(`,`),fr=typeof Element>`u`,pr=fr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,mr=!fr&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},hr=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):hr(e.parentNode))},gr=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},_r=function(e,t,n){if(hr(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(dr));return t&&pr.call(e,dr)&&r.unshift(e),r=r.filter(n),r},vr=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!hr(a,!1))if(a.tagName===`SLOT`){var o=a.assignedElements(),s=vr(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{pr.call(a,dr)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!hr(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=vr(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},yr=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},br=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||gr(e))&&!yr(e)?0:e.tabIndex},xr=function(e,t){var n=br(e);return n<0&&t&&!yr(e)?0:n},Sr=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Cr=function(e){return e.tagName===`INPUT`},wr=function(e){return Cr(e)&&e.type===`hidden`},Tr=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},Er=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},Dr=function(e){if(!e.name)return!0;var t=e.form||mr(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=Er(r,e.form);return!i||i===e},Or=function(e){return Cr(e)&&e.type===`radio`},kr=function(e){return Or(e)&&!Dr(e)},Ar=function(e){var t=e&&mr(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=mr(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},jr=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},Mr=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if(getComputedStyle(e).visibility===`hidden`)return!0;var i=pr.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(pr.call(i,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var a=e;e;){var o=e.parentElement,s=mr(e);if(o&&!o.shadowRoot&&r(o)===!0)return jr(e);e=e.assignedSlot?e.assignedSlot:!o&&s!==e.ownerDocument?s.host:o}e=a}if(Ar(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return jr(e);return!1},Nr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return pr.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},Pr=function(e,t){return!(t.disabled||wr(t)||Mr(t,e)||Tr(t)||Nr(t))},Fr=function(e,t){return!(kr(t)||br(t)<0||!Pr(e,t))},Ir=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},Lr=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=xr(a,i),s=i?Lr(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(Sr).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},Rr=function(e,t){return t||={},Lr(t.getShadowRoot?vr([e],t.includeContainer,{filter:Fr.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ir}):_r(e,t.includeContainer,Fr.bind(null,t)))},zr=function(e,t){return t||={},t.getShadowRoot?vr([e],t.includeContainer,{filter:Pr.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):_r(e,t.includeContainer,Pr.bind(null,t))},Br=function(e,t){if(t||={},!e)throw Error(`No node provided`);return pr.call(e,dr)===!1?!1:Fr(t,e)};function Vr(e){return e?.ownerDocument||document}var Hr=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver==`function`&&ResizeObserver.toString().includes(`[native code]`)?`full`:`none`});function Ur(e,t){let n=Rr(e,Hr()),r=n.length;if(r===0)return;let i=cn(Vr(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function Wr(e){return Ur(Vr(e).body,1)||e}function Gr(e){return Ur(Vr(e).body,-1)||e}function Kr(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!ln(n,r)}function qr(e){Rr(e,Hr()).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function Jr(e){e.querySelectorAll(`[data-tabindex]`).forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function Yr(e,t){return t!=null&&!wn(t)?0:typeof e==`function`?e():e}function Xr(e,t,n){let r=Yr(e,n);return typeof r==`number`?r:r?.[t]}function Zr(e){return typeof e==`function`?e():e}function Qr(e,t){return t||e===`click`||e===`mousedown`}function $r(){}var ei=Object.freeze([]),ti=Object.freeze({}),ni={style:{transition:`none`}},ri={fallbackAxisSide:`none`},ii={fallbackAxisSide:`end`},ai={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},oi=`none`,si=`trigger-press`,ci=`trigger-hover`,li=`trigger-focus`,ui=`outside-press`,di=`item-press`,fi=`close-press`,pi=`focus-out`,mi=`escape-key`,hi=`list-navigation`,gi=`cancel-open`,_i=`disabled`,vi=`imperative-action`,yi=`window-resize`;function bi(e,t,n,r){let i=!1,a=!1,o=r??ti;return{reason:e,event:t??new Event(`base-ui`),cancel(){i=!0},allowPropagation(){a=!0},get isCanceled(){return i},get isPropagationAllowed(){return a},trigger:n,...o}}var xi=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),G=o(((e,t)=>{t.exports=xi()}))(),Si=U.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new ht,currentIdRef:{current:null},currentContextRef:{current:null}});function Ci(e){let{children:t,delay:n,timeoutMs:r=0}=e,i=U.useRef(n),a=U.useRef(n),o=U.useRef(null),s=U.useRef(null),c=gt();return(0,G.jsx)(Si.Provider,{value:U.useMemo(()=>({hasProvider:!0,delayRef:i,initialDelayRef:a,currentIdRef:o,timeoutMs:r,currentContextRef:s,timeout:c}),[r,c]),children:t})}function wi(e,t={open:!1}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`floatingId`),{open:i}=t,{currentIdRef:a,delayRef:o,timeoutMs:s,initialDelayRef:c,currentContextRef:l,hasProvider:u,timeout:d}=U.useContext(Si),[f,p]=U.useState(!1);return W(()=>{function e(){p(!1),l.current?.setIsInstantPhase(!1),a.current=null,l.current=null,o.current=c.current}if(a.current&&!i&&a.current===r){if(p(!1),s){let t=r;return d.start(s,()=>{n.select(`open`)||a.current&&a.current!==t||e()}),()=>{d.clear()}}e()}},[i,r,a,o,s,c,l,d,n]),W(()=>{if(!i)return;let e=l.current,t=a.current;d.clear(),l.current={onOpenChange:n.setOpen,setIsInstantPhase:p},a.current=r,o.current={open:0,close:Xr(c.current,`close`)},t!==null&&t!==r?(p(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,bi(oi))):(p(!1),e?.setIsInstantPhase(!1))},[i,r,n,a,o,s,c,l,d]),W(()=>()=>{l.current=null},[l]),U.useMemo(()=>({hasProvider:u,delayRef:o,isInstantPhase:f}),[u,o,f])}function Ti(e,t,n,r){let i=$e(Di).current;return Oi(i,e,t,n,r)&&Ai(i,[e,t,n,r]),i.callback}function Ei(e){let t=$e(Di).current;return ki(t,e)&&Ai(t,e),t.callback}function Di(){return{callback:null,cleanup:null,refs:[]}}function Oi(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function ki(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}function Ai(e,t){if(e.refs=t,t.every(e=>e==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&=(e.cleanup(),null),n!=null){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let i=t[e];if(i!=null)switch(typeof i){case`function`:{let t=i(n);typeof t==`function`&&(r[e]=t);break}case`object`:i.current=n;break;default:}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(n!=null)switch(typeof n){case`function`:{let t=r[e];typeof t==`function`?t():n(null);break}case`object`:n.current=null;break;default:}}}}}}function ji(e){let t=$e(Mi,e).current;return t.next=e,W(t.effect),t}function Mi(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var Ni=U[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],Pi=Ni&&Ni!==U.useLayoutEffect?Ni:e=>e();function K(e){let t=$e(Fi).current;return t.next=e,Pi(t.effect),t.trampoline}function Fi(){let e={next:void 0,callback:Ii,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function Ii(){}var Li=null;globalThis.requestAnimationFrame;var Ri=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||=(requestAnimationFrame(this.tick),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,--this.callbacksCount)}},zi=class e{static create(){return new e}static request(e){return Ri.request(e)}static cancel(e){return Ri.cancel(e)}currentId=Li;request(e){this.cancel(),this.currentId=Ri.request(()=>{this.currentId=Li,e()})}cancel=()=>{this.currentId!==Li&&(Ri.cancel(this.currentId),this.currentId=Li)};disposeEffect=()=>this.cancel};function Bi(){let e=$e(zi.create).current;return pt(e.disposeEffect),e}var Vi={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},Hi={...Vi,position:`fixed`,top:0,left:0},Ui={...Vi,position:`absolute`},Wi=U.forwardRef(function(e,t){let[n,r]=U.useState();W(()=>{Jt&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,G.jsx)(`span`,{...e,ref:t,style:Hi,"aria-hidden":n?void 0:!0,...i,"data-base-ui-focus-guard":``})});function Gi(e){return`data-base-ui-${e}`}var Ki=0;function qi(e,t={}){let{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(Ki);let a=()=>e?.focus({preventScroll:n});i?a():Ki=requestAnimationFrame(a)}var Ji={inert:new WeakMap,"aria-hidden":new WeakMap},Yi=`data-base-ui-inert`,Xi={inert:new WeakSet,"aria-hidden":new WeakSet},Zi=new WeakMap,Qi=0;function $i(e){return Xi[e]}function ea(e){return e?wt(e)?e.host:ea(e.parentNode):null}var ta=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=ea(t);return e.contains(n)?n:null}).filter(e=>e!=null),na=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},ra=(e,t,n)=>{let r=[],i=e=>{!e||n.has(e)||Array.from(e.children).forEach(e=>{vt(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function ia(e,t,n,r,{mark:i=!0,markerIgnoreElements:a=[]}){let o=r?`inert`:n?`aria-hidden`:null,s=null,c=null,l=ta(t,e),u=i?ta(t,a):[],d=new Set(u),f=i?ra(t,na(l),new Set(l)).filter(e=>!d.has(e)):[],p=[],m=[];if(o){let e=Ji[o],n=$i(o);c=n,s=e;let r=ta(t,Array.from(t.querySelectorAll(`[aria-live]`))),i=l.concat(r);ra(t,na(i),new Set(i)).forEach(t=>{let r=t.getAttribute(o),i=r!==null&&r!==`false`,a=(e.get(t)||0)+1;e.set(t,a),p.push(t),a===1&&i&&n.add(t),i||t.setAttribute(o,o===`inert`?``:`true`)})}return i&&f.forEach(e=>{let t=(Zi.get(e)||0)+1;Zi.set(e,t),m.push(e),t===1&&e.setAttribute(Yi,``)}),Qi+=1,()=>{s&&p.forEach(e=>{let t=(s.get(e)||0)-1;s.set(e,t),t||(!c?.has(e)&&o&&e.removeAttribute(o),c?.delete(e))}),i&&m.forEach(e=>{let t=(Zi.get(e)||0)-1;Zi.set(e,t),t||e.removeAttribute(Yi)}),--Qi,Qi||(Ji.inert=new WeakMap,Ji[`aria-hidden`]=new WeakMap,Xi.inert=new WeakSet,Xi[`aria-hidden`]=new WeakSet,Zi=new WeakMap)}}function aa(e,t={}){let{ariaHidden:n=!1,inert:r=!1,mark:i=!0,markerIgnoreElements:a=[]}=t,o=Vr(e[0]).body;return ia(e,o,n,r,{mark:i,markerIgnoreElements:a})}var oa=o((e=>{var t=Ze();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.4`})),sa=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=oa()})),ca={...U},la=0;function ua(e,t=`mui`){let[n,r]=U.useState(e),i=e||n;return U.useEffect(()=>{n??(la+=1,r(`${t}-${la}`))},[n,t]),i}var da=ca.useId;function fa(e,t){if(da!==void 0){let n=da();return e??(t?`${t}-${n}`:n)}return ua(e,t)}var pa=19;function ma(e){return pa>=e}function ha(e){if(!U.isValidElement(e))return null;let t=e,n=t.props;return(ma(19)?n?.ref:t.ref)??null}function ga(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function _a(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);e!=null&&Object.assign(n,e);continue}i===!0?n[`data-${r.toLowerCase()}`]=``:i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function va(e,t){return typeof e==`function`?e(t):e}function ya(e,t){return typeof e==`function`?e(t):e}var ba={};function xa(e,t,n,r,i){let a={...Da(e,ba)};return t&&(a=Ca(a,t)),n&&(a=Ca(a,n)),r&&(a=Ca(a,r)),i&&(a=Ca(a,i)),a}function Sa(e){if(e.length===0)return ba;if(e.length===1)return Da(e[0],ba);let t={...Da(e[0],ba)};for(let n=1;n<e.length;n+=1)t=Ca(t,e[n]);return t}function Ca(e,t){return Ea(t)?t(e):wa(e,t)}function wa(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case`style`:e[n]=ga(e.style,r);break;case`className`:e[n]=Aa(e.className,r);break;default:Ta(n,r)?e[n]=Oa(e[n],r):e[n]=r}}return e}function Ta(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return n===111&&r===110&&i>=65&&i<=90&&(typeof t==`function`||t===void 0)}function Ea(e){return typeof e==`function`}function Da(e,t){return Ea(e)?e(t):e??ba}function Oa(e,t){return t?e?n=>{if(ja(n)){let r=n;ka(r);let i=t(r);return r.baseUIHandlerPrevented||e?.(r),i}let r=t(n);return e?.(n),r}:t:e}function ka(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function Aa(e,t){return t?e?t+` `+e:t:e}function ja(e){return typeof e==`object`&&!!e&&`nativeEvent`in e}function Ma(e,t,n={}){let r=t.render,i=Na(t,n);return n.enabled===!1?null:Fa(e,r,i,n.state??ti)}function Na(e,t={}){let{className:n,style:r,render:i}=e,{state:a=ti,ref:o,props:s,stateAttributesMapping:c,enabled:l=!0}=t,u=l?va(n,a):void 0,d=l?ya(r,a):void 0,f=l?_a(a,c):ti,p=l?ga(f,Array.isArray(s)?Sa(s):s)??ti:ti;return typeof document<`u`&&(l?Array.isArray(o)?p.ref=Ei([p.ref,ha(i),...o]):p.ref=Ti(p.ref,ha(i),o):Ti(null,null)),l?(u!==void 0&&(p.className=Aa(p.className,u)),d!==void 0&&(p.style=ga(p.style,d)),p):ti}var Pa=Symbol.for(`react.lazy`);function Fa(e,t,n,r){if(t){if(typeof t==`function`)return t(n,r);let e=xa(n,t.props);e.ref=n.ref;let i=t;return i?.$$typeof===Pa&&(i=U.Children.toArray(t)[0]),U.cloneElement(i,e)}if(e&&typeof e==`string`)return Ia(e,n);throw Error(lt(8))}function Ia(e,t){return e===`button`?(0,U.createElement)(`button`,{type:`button`,...t,key:t.key}):e===`img`?(0,U.createElement)(`img`,{alt:``,...t,key:t.key}):U.createElement(e,t)}var La=l(sa()),Ra=U.createContext(null),za=()=>U.useContext(Ra),Ba=Gi(`portal`);function Va(e={}){let{ref:t,container:n,componentProps:r=ti,elementProps:i}=e,a=fa(),o=za()?.portalNode,[s,c]=U.useState(null),[l,u]=U.useState(null),d=K(e=>{e!==null&&u(e)}),f=U.useRef(null);W(()=>{if(n===null){f.current&&(f.current=null,u(null),c(null));return}if(a==null)return;let e=(n&&(xt(n)?n:n.current))??o??document.body;if(e==null){f.current&&(f.current=null,u(null),c(null));return}f.current!==e&&(f.current=e,u(null),c(e))},[n,o,a]);let p=Ma(`div`,r,{ref:[t,d],props:[{id:a,[Ba]:``},i]});return{portalNode:l,portalSubtree:s&&p?La.createPortal(p,s):null}}var Ha=U.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,renderGuards:o,...s}=e,{portalNode:c,portalSubtree:l}=Va({container:r,ref:t,componentProps:e,elementProps:s}),u=U.useRef(null),d=U.useRef(null),f=U.useRef(null),p=U.useRef(null),[m,h]=U.useState(null),g=m?.modal,_=m?.open,v=typeof o==`boolean`?o:!!m&&!m.modal&&m.open&&!!c;U.useEffect(()=>{if(!c||g)return;function e(e){c&&e.relatedTarget&&Kr(e)&&(e.type===`focusin`?Jr:qr)(c)}return c.addEventListener(`focusin`,e,!0),c.addEventListener(`focusout`,e,!0),()=>{c.removeEventListener(`focusin`,e,!0),c.removeEventListener(`focusout`,e,!0)}},[c,g]),U.useEffect(()=>{!c||_||Jr(c)},[_,c]);let y=U.useMemo(()=>({beforeOutsideRef:u,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:p,portalNode:c,setFocusManagerState:h}),[c]);return(0,G.jsxs)(U.Fragment,{children:[l,(0,G.jsxs)(Ra.Provider,{value:y,children:[v&&c&&(0,G.jsx)(Wi,{"data-type":`outside`,ref:u,onFocus:e=>{Kr(e,c)?f.current?.focus():Gr(m?m.domReference:null)?.focus()}}),v&&c&&(0,G.jsx)(`span`,{"aria-owns":c.id,style:ai}),c&&La.createPortal(n,c),v&&c&&(0,G.jsx)(Wi,{"data-type":`outside`,ref:d,onFocus:e=>{Kr(e,c)?p.current?.focus():(Wr(m?m.domReference:null)?.focus(),m?.closeOnFocusOut&&m?.onOpenChange(!1,bi(`focus-out`,e.nativeEvent)))}})]})]})});function Ua(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var Wa=U.createContext(null),Ga=U.createContext(null),Ka=()=>U.useContext(Wa)?.id||null,qa=e=>{let t=U.useContext(Ga);return e??t};function Ja(e){return e==null?e:`current`in e?e.current:e}function Ya(e,t){let n=yt(e.target);return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||`keyboard`:`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var Xa=20,Za=[];function Qa(){Za=Za.filter(e=>e.deref()?.isConnected)}function $a(e){Qa(),e&&vt(e)!==`body`&&(Za.push(new WeakRef(e)),Za.length>Xa&&(Za=Za.slice(-Xa)))}function eo(){return Qa(),Za[Za.length-1]?.deref()}function to(e){if(!e)return null;let t=Hr();return Br(e,t)?e:Rr(e,t)[0]||e}function no(e){return!e||!e.isConnected?!1:typeof e.checkVisibility==`function`?e.checkVisibility():ur(e)}function ro(e,t){if(!t.current.includes(`floating`)&&!e.getAttribute(`role`)?.includes(`dialog`))return;let n=Hr(),r=zr(e,n).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return Br(e,n)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),i=e.getAttribute(`tabindex`);t.current.includes(`floating`)||r.length===0?i!==`0`&&e.setAttribute(`tabindex`,`0`):(i!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function io(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,restoreFocus:o=!1,modal:s=!0,closeOnFocusOut:c=!0,openInteractionType:l=``,nextFocusableElement:u,previousFocusableElement:d,beforeContentFocusGuardRef:f,externalTree:p,getInsideElements:m}=e,h=`rootStore`in t?t.rootStore:t,g=h.useState(`open`),_=h.useState(`domReferenceElement`),v=h.useState(`floatingElement`),{events:y,dataRef:b}=h.context,x=K(()=>b.current.floatingContext?.nodeId),S=i===!1,C=hn(_)&&S,w=U.useRef([`content`]),T=ji(i),E=ji(a),D=ji(l),O=qa(p),k=za(),A=U.useRef(!1),j=U.useRef(!1),M=U.useRef(!1),N=U.useRef(-1),P=U.useRef(``),F=U.useRef(``),I=U.useRef(null),ee=U.useRef(null),L=Ti(I,f,k?.beforeInsideRef),te=Ti(ee,k?.afterInsideRef),R=gt(),ne=gt(),re=Bi(),ie=k!=null,z=_n(v),ae=K((e=z)=>e?Rr(e,Hr()):[]),oe=K(()=>m?.().filter(e=>e!=null)??[]),se=K(e=>{let t=ae(e);return w.current.map(()=>t).filter(Boolean).flat()});U.useEffect(()=>{if(r||!s)return;function e(e){e.key===`Tab`&&ln(z,cn(Vr(z)))&&ae().length===0&&!C&&bn(e)}let t=Vr(z);return t.addEventListener(`keydown`,e),()=>{t.removeEventListener(`keydown`,e)}},[r,_,z,s,w,C,ae,se]),U.useEffect(()=>{if(r||!g)return;let e=Vr(z);function t(){M.current=!1}function n(e){let t=dn(e),n=oe();M.current=!(ln(v,t)||ln(_,t)||ln(k?.portalNode,t)||n.some(e=>e===t||ln(e,t))),F.current=e.pointerType||`keyboard`,t?.closest(`[data-base-ui-click-trigger]`)&&(j.current=!0)}function i(){F.current=`keyboard`}return e.addEventListener(`pointerdown`,n,!0),e.addEventListener(`pointerup`,t,!0),e.addEventListener(`pointercancel`,t,!0),e.addEventListener(`keydown`,i,!0),()=>{e.removeEventListener(`pointerdown`,n,!0),e.removeEventListener(`pointerup`,t,!0),e.removeEventListener(`pointercancel`,t,!0),e.removeEventListener(`keydown`,i,!0)}},[r,v,_,z,g,k,oe]),U.useEffect(()=>{if(r||!c)return;let e=Vr(z);function t(){j.current=!0,ne.start(0,()=>{j.current=!1})}function n(e){let t=dn(e),n=ae().indexOf(t);n!==-1&&(N.current=n)}function i(t){let n=t.relatedTarget,r=t.currentTarget,i=dn(t);queueMicrotask(()=>{let a=x(),c=h.context.triggerElements,l=oe(),f=n?.hasAttribute(Gi(`focus-guard`))&&[I.current,ee.current,k?.beforeInsideRef.current,k?.afterInsideRef.current,k?.beforeOutsideRef.current,k?.afterOutsideRef.current,Ja(d),Ja(u)].includes(n),p=!(ln(_,n)||ln(v,n)||ln(n,v)||ln(k?.portalNode,n)||l.some(e=>e===n||ln(e,n))||n!=null&&c.hasElement(n)||c.hasMatchingElement(e=>ln(e,n))||f||O&&(vn(O.nodesRef.current,a).find(e=>ln(e.context?.elements.floating,n)||ln(e.context?.elements.domReference,n))||yn(O.nodesRef.current,a).find(e=>[e.context?.elements.floating,_n(e.context?.elements.floating)].includes(n)||e.context?.elements.domReference===n)));if(r===_&&z&&ro(z,w),o&&r!==_&&!no(i)&&cn(e)===e.body){if(Ct(z)&&(z.focus(),o===`popup`)){re.request(()=>{z.focus()});return}let e=N.current,t=ae(),n=t[e]||t[t.length-1]||z;Ct(n)&&n.focus()}if(b.current.insideReactTree){b.current.insideReactTree=!1;return}(C||!s)&&n&&p&&!j.current&&(C||n!==eo())&&(A.current=!0,h.setOpen(!1,bi(pi,t)))})}function a(){M.current||(b.current.insideReactTree=!0,R.start(0,()=>{b.current.insideReactTree=!1}))}let l=Ct(_)?_:null,f=[];if(!(!v&&!l))return l&&(l.addEventListener(`focusout`,i),l.addEventListener(`pointerdown`,t),f.push(()=>{l.removeEventListener(`focusout`,i),l.removeEventListener(`pointerdown`,t)})),v&&(v.addEventListener(`focusin`,n),v.addEventListener(`focusout`,i),k&&(v.addEventListener(`focusout`,a,!0),f.push(()=>{v.removeEventListener(`focusout`,a,!0)})),f.push(()=>{v.removeEventListener(`focusin`,n),v.removeEventListener(`focusout`,i)})),()=>{f.forEach(e=>{e()})}},[r,_,v,z,s,O,k,h,c,o,ae,C,x,w,b,R,ne,re,u,d,oe]),U.useEffect(()=>{if(r||!v||!g)return;let e=Array.from(k?.portalNode?.querySelectorAll(`[${Gi(`portal`)}]`)||[]),t=(O?yn(O.nodesRef.current,x()):[]).find(e=>hn(e.context?.elements.domReference||null))?.context?.elements.domReference,n=aa([...[v,...e,I.current,ee.current,k?.beforeOutsideRef.current,k?.afterOutsideRef.current,...oe()],t,Ja(d),Ja(u),C?_:null].filter(e=>e!=null),{ariaHidden:s||C,mark:!1}),i=aa([v,...e].filter(e=>e!=null));return()=>{i(),n()}},[g,r,_,v,s,w,k,C,O,x,u,d,oe]),W(()=>{if(!g||r||!Ct(z))return;let e=cn(Vr(z));queueMicrotask(()=>{let t=se(z),n=T.current,r=typeof n==`function`?n(D.current||``):n;if(r===void 0||r===!1)return;let i;i=r===!0||r===null?t[0]||z:Ja(r),i=i||t[0]||z,!ln(z,e)&&qi(i,{preventScroll:i===z})})},[r,g,z,S,se,T,D]),W(()=>{if(r||!z)return;let e=Vr(z);$a(cn(e));function t(e){if(e.open||(P.current=Ya(e.nativeEvent,F.current)),e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`&&(A.current=!0),e.reason===`outside-press`)if(e.nested)A.current=!1;else if(Sn(e.nativeEvent)||Cn(e.nativeEvent))A.current=!1;else{let e=!1;document.createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?A.current=!1:A.current=!0}}y.on(`openchange`,t);function n(){let e=E.current,t=typeof e==`function`?e(P.current):e;if(t===void 0||t===!1)return null;if(t===null&&(t=!0),typeof t==`boolean`){let e=_||eo();return e&&e.isConnected?e:null}let n=_||eo();return Ja(t)||n||null}return()=>{y.off(`openchange`,t);let r=cn(e),i=oe(),a=ln(v,r)||i.some(e=>e===r||ln(e,r))||O&&vn(O.nodesRef.current,x(),!1).some(e=>ln(e.context?.elements.floating,r)),o=n();queueMicrotask(()=>{let t=to(o),n=typeof E.current!=`boolean`;E.current&&!A.current&&Ct(t)&&(!(!n&&t!==r&&r!==e.body)||a)&&t.focus({preventScroll:!0}),A.current=!1})}},[r,v,z,E,b,y,O,_,x,oe]),W(()=>{if(!Kt||g||!v)return;let e=cn(Vr(v));!Ct(e)||!mn(e)||ln(v,e)&&e.blur()},[g,v]),W(()=>{if(!(r||!k))return k.setFocusManagerState({modal:s,closeOnFocusOut:c,open:g,onOpenChange:h.setOpen,domReference:_}),()=>{k.setFocusManagerState(null)}},[r,k,s,g,h,c,_]),W(()=>{if(!(r||!z))return ro(z,w),()=>{queueMicrotask(Qa)}},[r,z,w]);let ce=!r&&(s?!C:!0)&&(ie||s);return(0,G.jsxs)(U.Fragment,{children:[ce&&(0,G.jsx)(Wi,{"data-type":`inside`,ref:L,onFocus:e=>{if(s){let e=se();qi(e[e.length-1])}else k?.portalNode&&(A.current=!1,Kr(e,k.portalNode)?Wr(_)?.focus():Ja(d??k.beforeOutsideRef)?.focus())}}),n,ce&&(0,G.jsx)(Wi,{"data-type":`inside`,ref:te,onFocus:e=>{s?qi(se()[0]):k?.portalNode&&(c&&(A.current=!0),Kr(e,k.portalNode)?Gr(_)?.focus():Ja(u??k.afterOutsideRef)?.focus())}})]})}function ao(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,{enabled:i=!0,event:a=`click`,toggle:o=!0,ignoreMouse:s=!1,stickIfOpen:c=!0,touchOpenDelay:l=0,reason:u=si}=t,d=U.useRef(void 0),f=Bi(),p=gt(),m=U.useMemo(()=>({onPointerDown(e){d.current=e.pointerType},onMouseDown(e){let t=d.current,i=e.nativeEvent,m=n.select(`open`);if(e.button!==0||a===`click`||wn(t,!0)&&s)return;let h=r.current.openEvent,g=h?.type,_=n.select(`domReferenceElement`)!==e.currentTarget,v=m&&_||!(m&&o&&(!(h&&c)||g===`click`||g===`mousedown`));if(mn(i.target)){let e=bi(u,i,i.target);v&&t===`touch`&&l>0?p.start(l,()=>{n.setOpen(!0,e)}):n.setOpen(v,e);return}let y=e.currentTarget;f.request(()=>{let e=bi(u,i,y);v&&t===`touch`&&l>0?p.start(l,()=>{n.setOpen(!0,e)}):n.setOpen(v,e)})},onClick(e){if(a===`mousedown-only`)return;let t=d.current;if(a===`mousedown`&&t){d.current=void 0;return}if(wn(t,!0)&&s)return;let i=n.select(`open`),f=r.current.openEvent,m=n.select(`domReferenceElement`)!==e.currentTarget,h=i&&m||!(i&&o&&(!(f&&c)||Tn(f))),g=bi(u,e.nativeEvent,e.currentTarget);h&&t===`touch`&&l>0?p.start(l,()=>{n.setOpen(!0,g)}):n.setOpen(h,g)},onKeyDown(){d.current=void 0}}),[r,a,s,n,c,o,f,p,l,u]);return U.useMemo(()=>i?{reference:m}:ti,[i,m])}function oo(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){let a=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},o=t.axis===`x`||t.axis===`both`,s=t.axis===`y`||t.axis===`both`,c=[`mouseenter`,`mousemove`].includes(t.dataRef.current.openEvent?.type||``)&&t.pointerType!==`touch`,l=a.width,u=a.height,d=a.x,f=a.y;return n==null&&t.x&&o&&(n=a.x-t.x),r==null&&t.y&&s&&(r=a.y-t.y),d-=n||0,f-=r||0,l=0,u=0,!i||c?(l=t.axis===`y`?a.width:0,u=t.axis===`x`?a.height:0,d=o&&t.x!=null?t.x:d,f=s&&t.y!=null?t.y:f):i&&!c&&(u=t.axis===`x`?a.height:u,l=t.axis===`y`?a.width:l),i=!0,{width:l,height:u,x:d,y:f,top:f,right:d+l,bottom:f+u,left:d}}}}function so(e){return e!=null&&e.clientX!=null}function co(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),o=n.context.dataRef,{enabled:s=!0,axis:c=`both`}=t,l=U.useRef(!1),u=U.useRef(null),[d,f]=U.useState(),[p,m]=U.useState([]),h=K((e,t,r)=>{l.current||o.current.openEvent&&!so(o.current.openEvent)||n.set(`positionReference`,oo(r??a,{x:e,y:t,axis:c,dataRef:o,pointerType:d}))}),g=K(e=>{r?u.current||m([]):h(e.clientX,e.clientY,e.currentTarget)}),_=wn(d)?i:r,v=U.useCallback(()=>{if(!_||!s)return;let e=yt(i);function t(n){ln(i,dn(n))?(e.removeEventListener(`mousemove`,t),u.current=null):h(n.clientX,n.clientY)}if(!o.current.openEvent||so(o.current.openEvent)){e.addEventListener(`mousemove`,t);let n=()=>{e.removeEventListener(`mousemove`,t),u.current=null};return u.current=n,n}n.set(`positionReference`,a)},[_,s,i,o,a,n,h]);U.useEffect(()=>v(),[v,p]),U.useEffect(()=>{s&&!i&&(l.current=!1)},[s,i]),U.useEffect(()=>{!s&&r&&(l.current=!0)},[s,r]);let y=U.useMemo(()=>{function e(e){f(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:g,onMouseEnter:g}},[g]);return U.useMemo(()=>s?{reference:y,trigger:y}:{},[s,y])}var lo={intentional:`onClick`,sloppy:`onPointerDown`};function uo(){return!1}function fo(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function po(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),{dataRef:a}=n.context,{enabled:o=!0,escapeKey:s=!0,outsidePress:c=!0,outsidePressEvent:l=`sloppy`,referencePress:u=uo,referencePressEvent:d=`sloppy`,bubbles:f,externalTree:p}=t,m=qa(p),h=K(typeof c==`function`?c:()=>!1),g=typeof c==`function`?h:c,_=g!==!1,v=K(()=>l),y=U.useRef(!1),b=U.useRef(!1),x=U.useRef(!1),{escapeKey:S,outsidePress:C}=fo(f),w=U.useRef(null),T=gt(),E=gt(),D=K(()=>{E.clear(),a.current.insideReactTree=!1}),O=U.useRef(!1),k=U.useRef(``),A=K(u),j=K(e=>{if(!r||!o||!s||e.key!==`Escape`||O.current)return;let t=a.current.floatingContext?.nodeId,i=m?vn(m.nodesRef.current,t):[];if(!S&&i.length>0){let e=!0;if(i.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}let c=bi(mi,xn(e)?e.nativeEvent:e);n.setOpen(!1,c),!S&&!c.isPropagationAllowed&&e.stopPropagation()}),M=K(()=>{a.current.insideReactTree=!0,E.start(0,D)});U.useEffect(()=>{if(!r||!o)return;a.current.__escapeKeyBubbles=S,a.current.__outsidePressBubbles=C;let e=new ht,t=new ht;function c(){e.clear(),O.current=!0}function l(){e.start(Pt()?5:0,()=>{O.current=!1})}function u(){x.current=!0,t.start(0,()=>{x.current=!1})}function d(){y.current=!1,b.current=!1}function f(){let e=k.current,t=e===`pen`||!e?`mouse`:e,n=v(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function p(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function h(e){let t=a.current.floatingContext?.nodeId,r=m&&vn(m.nodesRef.current,t).some(t=>fn(e,t.context?.elements.floating));return fn(e,n.select(`floatingElement`))||fn(e,n.select(`domReferenceElement`))||r}function E(e){if(p(e)){D();return}if(a.current.insideReactTree){D();return}let r=dn(e),i=`[${Gi(`inert`)}]`,o=Array.from(Vr(n.select(`floatingElement`)).querySelectorAll(i)),s=St(r)?r.getRootNode():null;wt(s)&&(o=o.concat(Array.from(s.querySelectorAll(i))));let c=n.context.triggerElements;if(r&&(c.hasElement(r)||c.hasMatchingElement(e=>ln(e,r))))return;let l=St(r)?r:null;for(;l&&!Ft(l);){let e=Rt(l);if(Ft(e)||!St(e))break;l=e}if(o.length&&St(r)&&!pn(r)&&!ln(r,n.select(`floatingElement`))&&o.every(e=>!ln(l,e)))return;if(Ct(r)&&!(`touches`in e)){let t=Ft(r),n=It(r),i=/auto|scroll/,a=t||i.test(n.overflowX),o=t||i.test(n.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=n.direction===`rtl`,u=c&&(l?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),d=s&&e.offsetY>r.clientHeight;if(u||d)return}if(h(e))return;if(f()===`intentional`&&x.current){t.clear(),x.current=!1;return}if(typeof g==`function`&&!g(e))return;let u=a.current.floatingContext?.nodeId,d=m?vn(m.nodesRef.current,u):[];if(d.length>0){let e=!0;if(d.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}n.setOpen(!1,bi(ui,e)),D()}function A(e){f()!==`sloppy`||e.pointerType===`touch`||!n.select(`open`)||!o||fn(e,n.select(`floatingElement`))||fn(e,n.select(`domReferenceElement`))||E(e)}function M(e){if(f()!==`sloppy`||!n.select(`open`)||!o||fn(e,n.select(`floatingElement`))||fn(e,n.select(`domReferenceElement`)))return;let t=e.touches[0];t&&(w.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},T.start(1e3,()=>{w.current&&(w.current.dismissOnTouchEnd=!1,w.current.dismissOnMouseDown=!1)}))}function N(e){k.current=`touch`;let t=dn(e);function n(){M(e),t?.removeEventListener(e.type,n)}t?.addEventListener(e.type,n)}function P(e){if(T.clear(),e.type===`pointerdown`&&(k.current=e.pointerType),e.type===`mousedown`&&w.current&&!w.current.dismissOnMouseDown)return;let t=dn(e);function n(){e.type===`pointerdown`?A(e):E(e),t?.removeEventListener(e.type,n)}t?.addEventListener(e.type,n)}function F(e){if(!y.current)return;let n=b.current;if(d(),f()===`intentional`){if(e.type===`pointercancel`){n&&u();return}if(!h(e)){if(n){u();return}typeof g==`function`&&!g(e)||(t.clear(),x.current=!0,D())}}}function I(e){if(f()!==`sloppy`||!w.current||fn(e,n.select(`floatingElement`))||fn(e,n.select(`domReferenceElement`)))return;let t=e.touches[0];if(!t)return;let r=Math.abs(t.clientX-w.current.startX),i=Math.abs(t.clientY-w.current.startY),a=Math.sqrt(r*r+i*i);a>5&&(w.current.dismissOnTouchEnd=!0),a>10&&(E(e),T.clear(),w.current=null)}function ee(e){let t=dn(e);function n(){I(e),t?.removeEventListener(e.type,n)}t?.addEventListener(e.type,n)}function L(e){f()!==`sloppy`||!w.current||fn(e,n.select(`floatingElement`))||fn(e,n.select(`domReferenceElement`))||(w.current.dismissOnTouchEnd&&E(e),T.clear(),w.current=null)}function te(e){let t=dn(e);function n(){L(e),t?.removeEventListener(e.type,n)}t?.addEventListener(e.type,n)}let R=Vr(i);return s&&(R.addEventListener(`keydown`,j),R.addEventListener(`compositionstart`,c),R.addEventListener(`compositionend`,l)),_&&(R.addEventListener(`click`,P,!0),R.addEventListener(`pointerdown`,P,!0),R.addEventListener(`pointerup`,F,!0),R.addEventListener(`pointercancel`,F,!0),R.addEventListener(`mousedown`,P,!0),R.addEventListener(`mouseup`,F,!0),R.addEventListener(`touchstart`,N,!0),R.addEventListener(`touchmove`,ee,!0),R.addEventListener(`touchend`,te,!0)),()=>{s&&(R.removeEventListener(`keydown`,j),R.removeEventListener(`compositionstart`,c),R.removeEventListener(`compositionend`,l)),_&&(R.removeEventListener(`click`,P,!0),R.removeEventListener(`pointerdown`,P,!0),R.removeEventListener(`pointerup`,F,!0),R.removeEventListener(`pointercancel`,F,!0),R.removeEventListener(`mousedown`,P,!0),R.removeEventListener(`mouseup`,F,!0),R.removeEventListener(`touchstart`,N,!0),R.removeEventListener(`touchmove`,ee,!0),R.removeEventListener(`touchend`,te,!0)),e.clear(),t.clear(),d(),x.current=!1}},[a,i,s,_,g,r,o,S,C,j,D,v,m,n,T]),U.useEffect(D,[g,D]);let N=U.useMemo(()=>({onKeyDown:j,[lo[d]]:e=>{A()&&n.setOpen(!1,bi(si,e.nativeEvent))},...d!==`intentional`&&{onClick(e){A()&&n.setOpen(!1,bi(`trigger-press`,e.nativeEvent))}}}),[j,n,d,A]),P=K(e=>{if(!r||!o||e.button!==0)return;let t=dn(e.nativeEvent);ln(n.select(`floatingElement`),t)&&(y.current||(y.current=!0,b.current=!1))}),F=K(e=>{!r||!o||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&y.current&&(b.current=!0)}),I=U.useMemo(()=>({onKeyDown:j,onPointerDown:F,onMouseDown:F,onClickCapture:M,onMouseDownCapture(e){M(),P(e)},onPointerDownCapture(e){M(),P(e)},onMouseUpCapture:M,onTouchEndCapture:M,onTouchMoveCapture:M}),[j,M,P,F]);return U.useMemo(()=>o?{reference:N,floating:I,trigger:N}:{},[o,N,I])}function mo(e,t,n){let{reference:r,floating:i}=e,a=zn(t),o=Bn(t),s=Rn(o),c=Fn(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(In(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function ho(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Pn(t,e),p=Qn(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=$n(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=$n(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var go=50,_o=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:ho},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=mo(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<go&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=mo(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},vo=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Pn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Fn(r),_=zn(o),v=Fn(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Xn(o)]:Hn(o)),x=p!==`none`;!d&&x&&b.push(...Yn(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Vn(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==zn(t))||T.every(e=>zn(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=zn(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function yo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function bo(e){return En.some(t=>e[t]>=0)}var xo=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=Pn(e,t);switch(i){case`referenceHidden`:{let e=yo(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:bo(e)}}}case`escaped`:{let e=yo(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:bo(e)}}}default:return{}}}}},So=new Set([`left`,`top`]);async function Co(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Fn(n),s=In(n),c=zn(n)===`y`,l=So.has(o)?-1:1,u=a&&c?-1:1,d=Pn(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var wo=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Co(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},To=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Pn(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=zn(Fn(i)),p=Ln(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=Nn(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=Nn(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Eo=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Pn(e,t),u={x:n,y:r},d=zn(i),f=Ln(d),p=u[f],m=u[d],h=Pn(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=So.has(Fn(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},Do=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=Pn(e,t),u=await o.detectOverflow(t,l),d=Fn(i),f=In(i),p=zn(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=Dn(h-u[g],v),x=Dn(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=On(u.left,0),t=On(u.right,0),n=On(u.top,0),r=On(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:On(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:On(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function Oo(e){let t=It(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Ct(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=kn(n)!==a||kn(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function ko(e){return St(e)?e:e.contextElement}function Ao(e){let t=ko(e);if(!Ct(t))return jn(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Oo(t),o=(a?kn(n.width):n.width)/r,s=(a?kn(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var jo=jn(0);function Mo(e){let t=yt(e);return!Pt()||!t.visualViewport?jo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function No(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==yt(e)?!1:t}function Po(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=ko(e),o=jn(1);t&&(r?St(r)&&(o=Ao(r)):o=Ao(e));let s=No(a,n,r)?Mo(a):jn(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=yt(a),t=r&&St(r)?yt(r):r,n=e,i=Vt(n);for(;i&&r&&t!==n;){let e=Ao(i),t=i.getBoundingClientRect(),r=It(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=yt(i),i=Vt(n)}}return $n({width:u,height:d,x:c,y:l})}function Fo(e,t){let n=Lt(e).scrollLeft;return t?t.left+n:Po(bt(e)).left+n}function Io(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Fo(e,n),y:n.top+t.scrollTop}}function Lo(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=bt(r),s=t?Dt(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=jn(1),u=jn(0),d=Ct(r);if((d||!d&&!a)&&((vt(r)!==`body`||Tt(o))&&(c=Lt(r)),d)){let e=Po(r);l=Ao(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Io(o,c):jn(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Ro(e){return Array.from(e.getClientRects())}function zo(e){let t=bt(e),n=Lt(e),r=e.ownerDocument.body,i=On(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=On(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Fo(e),s=-n.scrollTop;return It(r).direction===`rtl`&&(o+=On(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Bo=25;function Vo(e,t){let n=yt(e),r=bt(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Pt();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Fo(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=Bo&&(a-=o)}else l<=Bo&&(a+=l);return{width:a,height:o,x:s,y:c}}function Ho(e,t){let n=Po(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Ct(e)?Ao(e):jn(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Uo(e,t,n){let r;if(t===`viewport`)r=Vo(e,n);else if(t===`document`)r=zo(bt(e));else if(St(t))r=Ho(t,n);else{let n=Mo(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return $n(r)}function Wo(e,t){let n=Rt(e);return n===t||!St(n)||Ft(n)?!1:It(n).position===`fixed`||Wo(n,t)}function Go(e,t){let n=t.get(e);if(n)return n;let r=Bt(e,[],!1).filter(e=>St(e)&&vt(e)!==`body`),i=null,a=It(e).position===`fixed`,o=a?Rt(e):e;for(;St(o)&&!Ft(o);){let t=It(o),n=Mt(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||Tt(o)&&!n&&Wo(e,o))?r=r.filter(e=>e!==o):i=t,o=Rt(o)}return t.set(e,r),r}function Ko(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Dt(t)?[]:Go(t,this._c):[].concat(n),r],o=Uo(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Uo(t,a[e],i);s=On(n.top,s),c=Dn(n.right,c),l=Dn(n.bottom,l),u=On(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function qo(e){let{width:t,height:n}=Oo(e);return{width:t,height:n}}function Jo(e,t,n){let r=Ct(t),i=bt(t),a=n===`fixed`,o=Po(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=jn(0);function l(){c.x=Fo(i)}if(r||!r&&!a)if((vt(t)!==`body`||Tt(i))&&(s=Lt(t)),r){let e=Po(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?Io(i,s):jn(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function Yo(e){return It(e).position===`static`}function Xo(e,t){if(!Ct(e)||It(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return bt(e)===n&&(n=n.ownerDocument.body),n}function Zo(e,t){let n=yt(e);if(Dt(e))return n;if(!Ct(e)){let t=Rt(e);for(;t&&!Ft(t);){if(St(t)&&!Yo(t))return t;t=Rt(t)}return n}let r=Xo(e,t);for(;r&&Et(r)&&Yo(r);)r=Xo(r,t);return r&&Ft(r)&&Yo(r)&&!Mt(r)?n:r||Nt(e)||n}var Qo=async function(e){let t=this.getOffsetParent||Zo,n=this.getDimensions,r=await n(e.floating);return{reference:Jo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function $o(e){return It(e).direction===`rtl`}var es={convertOffsetParentRelativeRectToViewportRelativeRect:Lo,getDocumentElement:bt,getClippingRect:Ko,getOffsetParent:Zo,getElementRects:Qo,getClientRects:Ro,getDimensions:qo,getScale:Ao,isElement:St,isRTL:$o};function ts(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ns(e,t){let n=null,r,i=bt(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=An(d),h=An(i.clientWidth-(u+f)),g=An(i.clientHeight-(d+p)),_=An(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:On(0,Dn(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!ts(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function rs(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=ko(e),u=i||a?[...l?Bt(l):[],...t?Bt(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?ns(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Po(e):null;c&&g();function g(){let t=Po(e);h&&!ts(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var is=wo,as=To,os=vo,ss=Do,cs=xo,ls=Eo,us=(e,t,n)=>{let r=new Map,i={platform:es,...n},a={...i.platform,_c:r};return _o(e,t,{...i,platform:a})},ds=typeof document<`u`?U.useLayoutEffect:function(){};function fs(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!fs(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!fs(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function ps(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ms(e,t){let n=ps(e);return Math.round(t*n)/n}function hs(e){let t=U.useRef(e);return ds(()=>{t.current=e}),t}function gs(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=U.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=U.useState(r);fs(f,r)||p(r);let[m,h]=U.useState(null),[g,_]=U.useState(null),v=U.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=U.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=U.useRef(null),C=U.useRef(null),w=U.useRef(u),T=c!=null,E=hs(c),D=hs(i),O=hs(l),k=U.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),us(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!fs(w.current,t)&&(w.current=t,La.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);ds(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=U.useRef(!1);ds(()=>(A.current=!0,()=>{A.current=!1}),[]),ds(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=U.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=U.useMemo(()=>({reference:b,floating:x}),[b,x]),N=U.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=ms(M.floating,u.x),r=ms(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...ps(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return U.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:N}),[u,k,j,M,N])}var _s=(e,t)=>{let n=is(e);return{name:n.name,fn:n.fn,options:[e,t]}},vs=(e,t)=>{let n=as(e);return{name:n.name,fn:n.fn,options:[e,t]}},ys=(e,t)=>({fn:ls(e).fn,options:[e,t]}),bs=(e,t)=>{let n=os(e);return{name:n.name,fn:n.fn,options:[e,t]}},xs=(e,t)=>{let n=ss(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ss=(e,t)=>{let n=cs(e);return{name:n.name,fn:n.fn,options:[e,t]}},Cs=Symbol(`NOT_FOUND`);function ws(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function Ts(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!=`object`)throw TypeError(t)}function Es(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var Ds=e=>Array.isArray(e)?e:[e];function Os(e){let t=Array.isArray(e[0])?e[0]:e;return Es(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function ks(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}function As(e){let t;return{get(n){return t&&e(t.key,n)?t.value:Cs},put(e,n){t={key:e,value:n}},getEntries(){return t?[t]:[]},clear(){t=void 0}}}function js(e,t){let n=[];function r(e){let r=n.findIndex(n=>t(e,n.key));if(r>-1){let e=n[r];return r>0&&(n.splice(r,1),n.unshift(e)),e.value}return Cs}function i(t,i){r(t)===Cs&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())}function a(){return n}function o(){n=[]}return{get:r,put:i,getEntries:a,clear:o}}var Ms=(e,t)=>e===t;function Ns(e){return function(t,n){if(t===null||n===null||t.length!==n.length)return!1;let{length:r}=t;for(let i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}}function Ps(e,t){let{equalityCheck:n=Ms,maxSize:r=1,resultEqualityCheck:i}=typeof t==`object`?t:{equalityCheck:t},a=Ns(n),o=0,s=r<=1?As(a):js(r,a);function c(){let t=s.get(arguments);if(t===Cs){if(t=e.apply(null,arguments),o++,i){let e=s.getEntries().find(e=>i(e.value,t));e&&(t=e.value,o!==0&&o--)}s.put(arguments,t)}return t}return c.clearCache=()=>{s.clear(),c.resetResultsCount()},c.resultsCount=()=>o,c.resetResultsCount=()=>{o=0},c}var Fs=class{constructor(e){this.value=e}deref(){return this.value}},Is=typeof WeakRef<`u`?WeakRef:Fs,Ls=0,Rs=1;function zs(){return{s:Ls,v:void 0,o:null,p:null}}function Bs(e,t={}){let n=zs(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=zs(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=zs(),e.set(n,t)):t=r}}let s=t,c;if(t.s===Rs)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=i?.deref?.()??i;e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new Is(c):c}return s.s=Rs,s.v=c,c}return o.clearCache=()=>{n=zs(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function Vs(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),ws(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=Bs,argsMemoizeOptions:u=[],devModeChecks:d={}}={...n,...a},f=Ds(c),p=Ds(u),m=Os(e),h=s(function(){return t++,o.apply(null,arguments)},...f),g=l(function(){r++;let e=ks(m,arguments);return i=h.apply(null,e),i},...p);return Object.assign(g,{resultFunc:o,memoizedResultFunc:h,dependencies:m,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var Hs=Vs(Bs),Us=Object.assign((e,t=Hs)=>{Ts(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>Us});Vs({memoize:Ps,memoizeOptions:{maxSize:1,equalityCheck:Object.is}});var q=(e,t,n,r,i,a,...o)=>{if(o.length>0)throw Error(lt(1));let s;if(e&&t&&n&&r&&i&&a)s=(o,s,c,l)=>a(e(o,s,c,l),t(o,s,c,l),n(o,s,c,l),r(o,s,c,l),i(o,s,c,l),s,c,l);else if(e&&t&&n&&r&&i)s=(a,o,s,c)=>i(e(a,o,s,c),t(a,o,s,c),n(a,o,s,c),r(a,o,s,c),o,s,c);else if(e&&t&&n&&r)s=(i,a,o,s)=>r(e(i,a,o,s),t(i,a,o,s),n(i,a,o,s),a,o,s);else if(e&&t&&n)s=(r,i,a,o)=>n(e(r,i,a,o),t(r,i,a,o),i,a,o);else if(e&&t)s=(n,r,i,a)=>t(e(n,r,i,a),r,i,a);else if(e)s=e;else throw Error(`Missing arguments`);return s},Ws=o((e=>{var t=Ze();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),Gs=o(((e,t)=>{t.exports=Ws()})),Ks=o((e=>{var t=Ze(),n=Gs();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),qs=o(((e,t)=>{t.exports=Ks()})),Js=Gs(),Ys=qs(),Xs=ma(19)?Qs:$s;function J(e,t,n,r,i){return Xs(e,t,n,r,i)}function Zs(e,t,n,r,i){let a=U.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,Js.useSyncExternalStore)(e.subscribe,a,a)}rt({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);(r.didChange||!Object.is(r.value,i))&&(t=!0,r.value=i,r.didChange=!1)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,Js.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Qs(e,t,n,r,i){let a=nt();if(!a)return Zs(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],(s.store!==e||s.selector!==t||!Object.is(s.a1,n)||!Object.is(s.a2,r)||!Object.is(s.a3,i))&&(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.didChange=!0)):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i),didChange:!1},a.syncHooks.push(s)),s.value}function $s(e,t,n,r,i){return(0,Ys.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var ec=class{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return J(this,e,t,n,r)}},tc=class extends ec{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){U.useDebugValue(e),W(()=>{this.state[e]!==t&&this.set(e,t)},[e,t])}useSyncedValueWithCleanup(e,t){let n=this;W(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this;W(()=>{t.update(e)},[t,...Object.values(e)])}useControlledProp(e,t){U.useDebugValue(e);let n=t!==void 0;W(()=>{n&&!Object.is(this.state[e],t)&&super.setState({...this.state,[e]:t})},[e,t,n])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return U.useDebugValue(e),J(this,this.selectors[e],t,n,r)}useContextCallback(e,t){U.useDebugValue(e);let n=K(t??$r);this.context[e]=n}useStateSetter(e){let t=U.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}},nc={open:q(e=>e.open),domReferenceElement:q(e=>e.domReferenceElement),referenceElement:q(e=>e.positionReference??e.referenceElement),floatingElement:q(e=>e.floatingElement),floatingId:q(e=>e.floatingId)},rc=class extends tc{constructor(e){let{nested:t,noEmit:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:Ua(),nested:t,noEmit:n,triggerElements:i},nc)}setOpen=(e,t)=>{if((!e||!this.state.open||Tn(t.event))&&(this.context.dataRef.current.openEvent=e?t.event:void 0),!this.context.noEmit){let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)}this.context.onOpenChange?.(e,t)}};function ic(e,t=!1,n=!1){let[r,i]=U.useState(e&&t?`idle`:void 0),[a,o]=U.useState(e);return e&&!a&&(o(!0),i(`starting`)),!e&&a&&r!==`ending`&&!n&&i(`ending`),!e&&!a&&r===`ending`&&i(void 0),W(()=>{if(!e&&a&&r!==`ending`&&n){let e=zi.request(()=>{i(`ending`)});return()=>{zi.cancel(e)}}},[e,a,r,n]),W(()=>{if(!e||t)return;let n=zi.request(()=>{i(void 0)});return()=>{zi.cancel(n)}},[t,e]),W(()=>{if(!e||!t)return;e&&a&&r!==`idle`&&i(`starting`);let n=zi.request(()=>{i(`idle`)});return()=>{zi.cancel(n)}},[t,e,a,i,r]),U.useMemo(()=>({mounted:a,setMounted:o,transitionStatus:r}),[a,r])}var ac=function(e){return e.startingStyle=`data-starting-style`,e.endingStyle=`data-ending-style`,e}({}),oc={[ac.startingStyle]:``},sc={[ac.endingStyle]:``},cc={transitionStatus(e){return e===`starting`?oc:e===`ending`?sc:null}};function lc(e,t=!1,n=!0){let r=Bi();return K((i,a=null)=>{r.cancel();function o(){La.flushSync(i)}let s=Ja(e);if(s==null)return;let c=s;if(typeof c.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED)i();else{function e(){let e=ac.startingStyle;if(!c.hasAttribute(e)){r.request(i);return}let t=new MutationObserver(()=>{c.hasAttribute(e)||(t.disconnect(),i())});t.observe(c,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0})}function i(){Promise.all(c.getAnimations().map(e=>e.finished)).then(()=>{a?.aborted||o()}).catch(()=>{let e=c.getAnimations();if(n){if(a?.aborted)return;o()}else e.length>0&&e.some(e=>e.pending||e.playState!==`finished`)&&i()})}if(t){e();return}r.request(i)}})}function uc(e){let{enabled:t=!0,open:n,ref:r,onComplete:i}=e,a=K(i),o=lc(r,n,!1);U.useEffect(()=>{if(!t)return;let e=new AbortController;return o(a,e.signal),()=>{e.abort()}},[t,n,a,o])}function dc(e,t){let n=U.useRef(null),r=U.useRef(null);return U.useCallback(i=>{if(e!==void 0){if(n.current!==null){let e=n.current,i=r.current,a=t.context.triggerElements.getById(e);i&&a===i&&t.context.triggerElements.delete(e),n.current=null,r.current=null}i!==null&&(n.current=e,r.current=i,t.context.triggerElements.add(e,i))}},[t,e])}function fc(e,t,n,r){let i=n.useState(`isMountedByTrigger`,e),a=dc(e,n),o=K(t=>{if(a(t),!t||!n.select(`open`))return;let i=n.select(`activeTriggerId`);if(i===e){n.update({activeTriggerElement:t,...r});return}i??n.update({activeTriggerId:e,activeTriggerElement:t,...r})});return W(()=>{i&&n.update({activeTriggerElement:t.current,...r})},[i,n,t,...Object.values(r)]),{registerTrigger:o,isMountedByThisTrigger:i}}function pc(e){let t=e.useState(`open`);W(()=>{if(t&&!e.select(`activeTriggerId`)&&e.context.triggerElements.size===1){let t=e.context.triggerElements.entries().next();if(!t.done){let[n,r]=t.value;e.update({activeTriggerId:n,activeTriggerElement:r})}}},[t,e])}function mc(e,t,n){let{mounted:r,setMounted:i,transitionStatus:a}=ic(e);t.useSyncedValues({mounted:r,transitionStatus:a});let o=K(()=>{i(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)});return uc({enabled:!t.useState(`preventUnmountingOnClose`),open:e,ref:t.context.popupRef,onComplete(){e||o()}}),{forceUnmount:o,transitionStatus:a}}var hc=class{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(e,t){let n=this.idMap.get(e);n!==t&&(n!==void 0&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(let t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}};function gc(){return new rc({open:!1,floatingElement:null,referenceElement:null,triggerElements:new hc,floatingId:``,nested:!1,noEmit:!1,onOpenChange:void 0})}function _c(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:`idle`,floatingRootContext:gc(),preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:ti,inactiveTriggerProps:ti,popupProps:ti}}var vc=q(e=>e.triggerIdProp??e.activeTriggerId),yc={open:q(e=>e.openProp??e.open),mounted:q(e=>e.mounted),transitionStatus:q(e=>e.transitionStatus),floatingRootContext:q(e=>e.floatingRootContext),preventUnmountingOnClose:q(e=>e.preventUnmountingOnClose),payload:q(e=>e.payload),activeTriggerId:vc,activeTriggerElement:q(e=>e.mounted?e.activeTriggerElement:null),isTriggerActive:q((e,t)=>t!==void 0&&vc(e)===t),isOpenedByTrigger:q((e,t)=>t!==void 0&&vc(e)===t&&e.open),isMountedByTrigger:q((e,t)=>t!==void 0&&vc(e)===t&&e.mounted),triggerProps:q((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),popupProps:q(e=>e.popupProps),popupElement:q(e=>e.popupElement),positionerElement:q(e=>e.positionerElement)};function bc(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=fa(),a=Ka()!=null,o=$e(()=>new rc({open:t,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new hc,floatingId:i,nested:a,noEmit:!1})).current;return W(()=>{let e={open:t,floatingId:i};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=St(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),o.update(e)},[t,i,r.reference,r.floating,o]),o.context.onOpenChange=n,o.context.nested=a,o.context.noEmit=!1,o}function xc(e={}){let{nodeId:t,externalTree:n}=e,r=bc(e),i=e.rootContext||r,a={reference:i.useState(`referenceElement`),floating:i.useState(`floatingElement`),domReference:i.useState(`domReferenceElement`)},[o,s]=U.useState(null),c=U.useRef(null),l=qa(n);W(()=>{a.domReference&&(c.current=a.domReference)},[a.domReference]);let u=gs({...e,elements:{...a,...o&&{reference:o}}}),d=U.useCallback(e=>{let t=St(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),u.refs.setReference(t)},[u.refs]),[f,p]=U.useState(null),[m,h]=U.useState(null);i.useSyncedValue(`referenceElement`,f),i.useSyncedValue(`domReferenceElement`,St(f)?f:null),i.useSyncedValue(`floatingElement`,m);let g=U.useCallback(e=>{(St(e)||e===null)&&(c.current=e,p(e)),(St(u.refs.reference.current)||u.refs.reference.current===null||e!==null&&!St(e))&&u.refs.setReference(e)},[u.refs,p]),_=U.useCallback(e=>{h(e),u.refs.setFloating(e)},[u.refs]),v=U.useMemo(()=>({...u.refs,setReference:g,setFloating:_,setPositionReference:d,domReference:c}),[u.refs,g,_,d]),y=U.useMemo(()=>({...u.elements,domReference:a.domReference}),[u.elements,a.domReference]),b=i.useState(`open`),x=i.useState(`floatingId`),S=U.useMemo(()=>({...u,dataRef:i.context.dataRef,open:b,onOpenChange:i.setOpen,events:i.context.events,floatingId:x,refs:v,elements:y,nodeId:t,rootStore:i}),[u,v,y,t,i,b,x]);return W(()=>{i.context.dataRef.current.floatingContext=S;let e=l?.nodesRef.current.find(e=>e.id===t);e&&(e.context=S)}),U.useMemo(()=>({...u,context:S,refs:v,elements:y,rootStore:i}),[u,v,y,S,i])}function Sc(e){let{popupStore:t,noEmit:n=!1,treatPopupAsFloatingElement:r=!1,onOpenChange:i}=e,a=fa(),o=Ka()!=null,s=t.useState(`open`),c=t.useState(`activeTriggerElement`),l=t.useState(r?`popupElement`:`positionerElement`),u=t.context.triggerElements,d=$e(()=>new rc({open:s,referenceElement:c,floatingElement:l,triggerElements:u,onOpenChange:i,floatingId:a,nested:o,noEmit:n})).current;return W(()=>{let e={open:s,floatingId:a,referenceElement:c,floatingElement:l};St(c)&&(e.domReferenceElement=c),d.state.positionReference===d.state.referenceElement&&(e.positionReference=c),d.update(e)},[s,a,c,l,d]),d.context.onOpenChange=i,d.context.nested=o,d.context.noEmit=n,d}var Cc=Xt&&Jt;function wc(e,t={}){let n=`rootStore`in e?e.rootStore:e,{events:r,dataRef:i}=n.context,{enabled:a=!0,delay:o}=t,s=U.useRef(!1),c=U.useRef(null),l=gt(),u=U.useRef(!0);U.useEffect(()=>{let e=n.select(`domReferenceElement`);if(!a)return;let t=yt(e);function r(){let e=n.select(`domReferenceElement`);!n.select(`open`)&&Ct(e)&&e===cn(Vr(e))&&(s.current=!0)}function i(){u.current=!0}function o(){u.current=!1}return t.addEventListener(`blur`,r),Cc&&(t.addEventListener(`keydown`,i,!0),t.addEventListener(`pointerdown`,o,!0)),()=>{t.removeEventListener(`blur`,r),Cc&&(t.removeEventListener(`keydown`,i,!0),t.removeEventListener(`pointerdown`,o,!0))}},[n,a]),U.useEffect(()=>{if(!a)return;function e(e){if(e.reason===`trigger-press`||e.reason===`escape-key`){let e=n.select(`domReferenceElement`);St(e)&&(c.current=e,s.current=!0)}}return r.on(`openchange`,e),()=>{r.off(`openchange`,e)}},[r,a,n]);let d=U.useMemo(()=>({onMouseLeave(){s.current=!1,c.current=null},onFocus(e){let t=e.currentTarget;if(s.current){if(c.current===t)return;s.current=!1,c.current=null}let r=dn(e.nativeEvent);if(St(r)){if(Cc&&!e.relatedTarget){if(!u.current&&!mn(r))return}else if(!gn(r))return}let i=un(e.relatedTarget,n.context.triggerElements),{nativeEvent:a,currentTarget:d}=e,f=typeof o==`function`?o():o;if(n.select(`open`)&&i||f===0||f===void 0){n.setOpen(!0,bi(li,a,d));return}l.start(f,()=>{s.current||n.setOpen(!0,bi(li,a,d))})},onBlur(e){s.current=!1,c.current=null;let t=e.relatedTarget,r=e.nativeEvent,a=St(t)&&t.hasAttribute(Gi(`focus-guard`))&&t.getAttribute(`data-type`)===`outside`;l.start(0,()=>{let e=n.select(`domReferenceElement`),o=cn(e?e.ownerDocument:document);!t&&o===e||ln(i.current.floatingContext?.refs.floating.current,o)||ln(e,o)||a||un(t??o,n.context.triggerElements)||n.setOpen(!1,bi(li,r))})}}),[i,n,l,o]);return U.useMemo(()=>a?{reference:d,trigger:d}:{},[a,d])}var Tc=`button,a,[role="button"],select,[tabindex]:not([tabindex="-1"]),${nn}`;function Ec(e){return e?!!e.closest(Tc):!1}var Dc=class e{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new ht,this.restTimeout=new ht,this.handleCloseOptions=void 0}static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose};function Oc(e){e.performedPointerEventsMutation&&(e.pointerEventsScopeElement?.style.removeProperty(`pointer-events`),e.pointerEventsReferenceElement?.style.removeProperty(`pointer-events`),e.pointerEventsFloatingElement?.style.removeProperty(`pointer-events`),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null)}function kc(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t;Oc(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,n.style.pointerEvents=`none`,r.style.pointerEvents=`auto`,i.style.pointerEvents=`auto`}function Ac(e){let t=$e(Dc.create).current,n=e.context.dataRef.current;return n.hoverInteractionState||=t,pt(n.hoverInteractionState.disposeEffect),n.hoverInteractionState}function jc(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),{dataRef:o}=n.context,{enabled:s=!0,closeDelay:c=0}=t,l=Ac(n),u=qa(),d=Ka(),f=K(()=>Qr(o.current.openEvent?.type,l.interactedInside)),p=K(()=>{let e=o.current.openEvent?.type;return e?.includes(`mouse`)&&e!==`mousedown`}),m=K(e=>un(e,n.context.triggerElements)),h=U.useCallback(e=>{let t=Xr(c,`close`,l.pointerType),r=()=>{n.setOpen(!1,bi(ci,e)),u?.events.emit(`floating.closed`,e)};t?l.openChangeTimeout.start(t,r):(l.openChangeTimeout.clear(),r())},[c,n,l,u]),g=K(()=>{Oc(l)}),_=K(e=>{let t=dn(e);if(!Ec(t)){l.interactedInside=!1;return}l.interactedInside=t?.closest(`[aria-haspopup]`)!=null});W(()=>{r||(l.pointerType=void 0,l.restTimeoutPending=!1,l.interactedInside=!1,g())},[r,l,g]),U.useEffect(()=>g,[g]),W(()=>{if(s&&r&&l.handleCloseOptions?.blockPointerEvents&&p()&&St(a)&&i){let e=a,t=i,n=Vr(i),r=u?.nodesRef.current.find(e=>e.id===d)?.context?.elements.floating;return r&&(r.style.pointerEvents=``),kc(l,{scopeElement:l.handleCloseOptions?.getScope?.()??l.pointerEventsScopeElement??r??e.closest(`[data-rootownerid]`)??n.body,referenceElement:e,floatingElement:t}),()=>{g()}}},[s,r,a,i,l,p,u,d,g]);let v=gt();U.useEffect(()=>{if(!s)return;function e(){l.openChangeTimeout.clear(),v.clear(),u?.events.off(`floating.closed`,r),g()}function t(e){if(u&&d&&vn(u.nodesRef.current,d).length>0){u.events.on(`floating.closed`,r);return}if(!m(e.relatedTarget)){if(l.handler){l.handler(e);return}g(),f()||h(e)}}function r(e){!u||!d||vn(u.nodesRef.current,d).length>0||v.start(0,()=>{u.events.off(`floating.closed`,r),n.setOpen(!1,bi(ci,e)),u.events.emit(`floating.closed`,e)})}let a=i;return a&&(a.addEventListener(`mouseenter`,e),a.addEventListener(`mouseleave`,t),a.addEventListener(`pointerdown`,_,!0)),()=>{a&&(a.removeEventListener(`mouseenter`,e),a.removeEventListener(`mouseleave`,t),a.removeEventListener(`pointerdown`,_,!0)),u?.events.off(`floating.closed`,r)}},[s,i,n,o,f,m,h,g,_,l,u,d,v])}var Mc={current:null};function Nc(e,t={}){let n=`rootStore`in e?e.rootStore:e,{dataRef:r,events:i}=n.context,{enabled:a=!0,delay:o=0,handleClose:s=null,mouseOnly:c=!1,restMs:l=0,move:u=!0,triggerElementRef:d=Mc,externalTree:f,isActiveTrigger:p=!0,getHandleCloseContext:m}=t,h=qa(f),g=Ac(n),_=ji(s),v=ji(o),y=ji(l),b=ji(a);p&&(g.handleCloseOptions=_.current?.__options);let x=K(()=>Qr(r.current.openEvent?.type,g.interactedInside)),S=K(e=>un(e,n.context.triggerElements)),C=K((e,t,r)=>{let i=n.context.triggerElements;if(i.hasElement(t))return!e||!ln(e,t);if(!St(r))return!1;let a=r;return i.hasMatchingElement(e=>ln(e,a))&&(!e||!ln(e,a))}),w=U.useCallback((e,t=!0)=>{let r=Xr(v.current,`close`,g.pointerType);r?g.openChangeTimeout.start(r,()=>{n.setOpen(!1,bi(ci,e)),h?.events.emit(`floating.closed`,e)}):t&&(g.openChangeTimeout.clear(),n.setOpen(!1,bi(ci,e)),h?.events.emit(`floating.closed`,e))},[v,n,g,h]),T=K(()=>{g.handler&&=(Vr(n.select(`domReferenceElement`)).removeEventListener(`mousemove`,g.handler),void 0)});U.useEffect(()=>T,[T]);let E=K(()=>{Oc(g)});return U.useEffect(()=>{if(!a)return;function e(e){e.open||(T(),g.openChangeTimeout.clear(),g.restTimeout.clear(),g.blockMouseMove=!0,g.restTimeoutPending=!1)}return i.on(`openchange`,e),()=>{i.off(`openchange`,e)}},[a,i,g,T]),U.useEffect(()=>{if(!a)return;let e=d.current??(p?n.select(`domReferenceElement`):null);if(!St(e))return;function t(e){if(g.openChangeTimeout.clear(),g.blockMouseMove=!1,c&&!wn(g.pointerType)||Zr(y.current)>0&&!Xr(v.current,`open`))return;let t=Xr(v.current,`open`,g.pointerType),r=e.currentTarget??null,i=n.select(`domReferenceElement`),a=r==null?!1:C(i,r,e.target),o=n.select(`open`),s=!o||a;a&&o?n.setOpen(!0,bi(ci,e,r)):t?g.openChangeTimeout.start(t,()=>{s&&n.setOpen(!0,bi(ci,e,r))}):s&&n.setOpen(!0,bi(ci,e,r))}function i(e){if(x()){E();return}T();let t=Vr(n.select(`domReferenceElement`));g.restTimeout.clear(),g.restTimeoutPending=!1;let i=r.current.floatingContext??m?.();if(!S(e.relatedTarget)){if(_.current&&i){n.select(`open`)||g.openChangeTimeout.clear();let r=d.current;g.handler=_.current({...i,tree:h,x:e.clientX,y:e.clientY,onClose(){E(),T(),b.current&&!x()&&r===n.select(`domReferenceElement`)&&w(e,!0)}}),t.addEventListener(`mousemove`,g.handler),g.handler(e);return}(g.pointerType!==`touch`||!ln(n.select(`floatingElement`),e.relatedTarget))&&w(e)}}return u&&e.addEventListener(`mousemove`,t,{once:!0}),e.addEventListener(`mouseenter`,t),e.addEventListener(`mouseleave`,i),()=>{u&&e.removeEventListener(`mousemove`,t),e.removeEventListener(`mouseenter`,t),e.removeEventListener(`mouseleave`,i)}},[T,E,r,v,w,n,a,_,g,p,C,x,S,c,u,y,d,h,b,m]),U.useMemo(()=>{if(!a)return;function e(e){g.pointerType=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,r=e.currentTarget,i=n.select(`domReferenceElement`),a=n.select(`open`),o=C(i,r,e.target);if(c&&!wn(g.pointerType))return;let s=Zr(y.current);if(a&&!o||s===0||!o&&g.restTimeoutPending&&e.movementX**2+e.movementY**2<2)return;g.restTimeout.clear();function l(){if(g.restTimeoutPending=!1,x())return;let e=n.select(`open`);!g.blockMouseMove&&(!e||o)&&n.setOpen(!0,bi(ci,t,r))}g.pointerType===`touch`?La.flushSync(()=>{l()}):o&&a?l():(g.restTimeoutPending=!0,g.restTimeout.start(s,l))}}},[a,g,x,C,c,n,y])}function Pc(e=[]){let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),r=e.map(e=>e?.item),i=e.map(e=>e?.trigger),a=U.useCallback(t=>Fc(t,e,`reference`),t),o=U.useCallback(t=>Fc(t,e,`floating`),n),s=U.useCallback(t=>Fc(t,e,`item`),r),c=U.useCallback(t=>Fc(t,e,`trigger`),i);return U.useMemo(()=>({getReferenceProps:a,getFloatingProps:o,getItemProps:s,getTriggerProps:c}),[a,o,s,c])}function Fc(e,t,n){let r=new Map,i=n===`item`,a={};n===`floating`&&(a.tabIndex=-1,a[tn]=``);for(let t in e)i&&e&&(t===`active`||t===`selected`)||(a[t]=e[t]);for(let o=0;o<t.length;o+=1){let s,c=t[o]?.[n];s=typeof c==`function`?e?c(e):null:c,s&&Ic(a,s,i,r)}return Ic(a,e,i,r),a}function Ic(e,t,n,r){for(let i in t){let a=t[i];n&&(i===`active`||i===`selected`)||(i.startsWith(`on`)?(r.has(i)||r.set(i,[]),typeof a==`function`&&(r.get(i)?.push(a),e[i]=(...e)=>r.get(i)?.map(t=>t(...e)).find(e=>e!==void 0))):e[i]=a)}}var Lc=`Escape`;function Rc(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function zc(e,t){return Rc(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function Bc(e,t,n){return Rc(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function Vc(e,t,n){return Rc(t,n?e===rn:e===an,e===sn)}function Hc(e,t,n,r){return t===`both`||t===`horizontal`&&r&&r>1?e===Lc:Rc(t,n?e===an:e===rn,e===on)}function Uc(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),o=n.context.dataRef,{listRef:s,activeIndex:c,onNavigate:l=()=>{},enabled:u=!0,selectedIndex:d=null,allowEscape:f=!1,loopFocus:p=!1,nested:m=!1,rtl:h=!1,virtual:g=!1,focusItemOnOpen:_=`auto`,focusItemOnHover:v=!0,openOnArrowKeyDown:y=!0,disabledIndices:b=void 0,orientation:x=`vertical`,parentOrientation:S,cols:C=1,id:w,resetOnPointerLeave:T=!0,externalTree:E}=t,D=ji(_n(i)),O=Ka(),k=qa(E);W(()=>{o.current.orientation=x},[o,x]);let A=hn(a),j=U.useRef(_),M=U.useRef(d??-1),N=U.useRef(null),P=U.useRef(!0),F=K(e=>{l(M.current===-1?null:M.current,e)}),I=U.useRef(F),ee=U.useRef(!!i),L=U.useRef(r),te=U.useRef(!1),R=U.useRef(!1),ne=ji(b),re=ji(r),ie=ji(d),z=ji(T),ae=K(()=>{function e(e){g?k?.events.emit(`virtualfocus`,e):qi(e,{sync:te.current,preventScroll:!0})}let t=s.current[M.current],n=R.current;t&&e(t),(te.current?e=>e():requestAnimationFrame)(()=>{let r=s.current[M.current]||t;r&&(t||e(r),se&&(n||!P.current)&&r.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});W(()=>{u&&(r&&i?(M.current=d??-1,j.current&&d!=null&&(R.current=!0,F())):ee.current&&(M.current=-1,I.current()))},[u,r,i,d,F]),W(()=>{if(u){if(!r){te.current=!1;return}if(i)if(c==null){if(te.current=!1,ie.current!=null)return;if(ee.current&&(M.current=-1,ae()),(!L.current||!ee.current)&&j.current&&(N.current!=null||j.current===!0&&N.current==null)){let e=0,t=()=>{s.current[0]==null?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(M.current=N.current==null||Bc(N.current,x,h)||m?nr(s):rr(s),N.current=null,F())};t()}}else tr(s,c)||(M.current=c,ae(),R.current=!1)}},[u,r,i,c,ie,m,s,x,h,F,ae,ne]),W(()=>{if(!u||i||!k||g||!ee.current)return;let e=k.nodesRef.current,t=e.find(e=>e.id===O)?.context?.elements.floating,n=cn(Vr(i)),r=e.some(e=>e.context&&ln(e.context.elements.floating,n));t&&!r&&P.current&&t.focus({preventScroll:!0})},[u,i,k,O,g]),W(()=>{I.current=F,L.current=r,ee.current=!!i}),W(()=>{r||(N.current=null,j.current=_)},[r,_]);let oe=c!=null,se=U.useMemo(()=>{function e(e){if(!re.current)return;let t=s.current.indexOf(e.currentTarget);t!==-1&&M.current!==t&&(M.current=t,F(e))}return{onFocus(t){te.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(t){te.current=!0,R.current=!1,v&&e(t)},onPointerLeave(e){if(!re.current||!P.current||e.pointerType===`touch`)return;te.current=!0;let t=e.relatedTarget;if(!(!v||s.current.includes(t))&&z.current&&(qi(null,{sync:!0}),M.current=-1,F(e),!g)){let e=D.current,t=cn(Vr(e));e&&ln(e,t)&&e.focus({preventScroll:!0})}}}},[re,D,v,s,F,z,g]),ce=U.useCallback(()=>S??k?.nodesRef.current.find(e=>e.id===O)?.context?.dataRef?.current.orientation,[O,k,S]),le=K(e=>{if(P.current=!1,te.current=!0,e.which===229||!re.current&&e.currentTarget===D.current)return;if(m&&Hc(e.key,x,h,C)){zc(e.key,ce())||bn(e),n.setOpen(!1,bi(hi,e.nativeEvent)),Ct(a)&&(g?k?.events.emit(`virtualfocus`,a):a.focus());return}let t=M.current,i=nr(s,b),o=rr(s,b);if(A||(e.key===`Home`&&(bn(e),M.current=i,F(e)),e.key===`End`&&(bn(e),M.current=o,F(e))),C>1){let t=Array.from({length:s.current.length},()=>({width:1,height:1})),n=or(t,C,!1),r=n.findIndex(e=>e!=null&&!lr(s,e,b)),a=n.reduce((e,t,n)=>t!=null&&!lr(s,t,b)?n:e,-1),c=n[ar({current:n.map(e=>e==null?null:s.current[e])},{event:e,orientation:x,loopFocus:p,rtl:h,cols:C,disabledIndices:cr([...(typeof b==`function`?null:b)||s.current.map((e,t)=>lr(s,t,b)?t:void 0),void 0],n),minIndex:r,maxIndex:a,prevIndex:sr(M.current>o?i:M.current,t,n,C,e.key===`ArrowDown`?`bl`:e.key===(h?`ArrowLeft`:`ArrowRight`)?`tr`:`tl`),stopEvent:!0})];if(c!=null&&(M.current=c,F(e)),x===`both`)return}if(zc(e.key,x)){if(bn(e),r&&!g&&cn(e.currentTarget.ownerDocument)===e.currentTarget){M.current=Bc(e.key,x,h)?i:o,F(e);return}Bc(e.key,x,h)?p?t>=o?f&&t!==s.current.length?M.current=-1:(te.current=!1,M.current=i):M.current=ir(s,{startingIndex:t,disabledIndices:b}):M.current=Math.min(o,ir(s,{startingIndex:t,disabledIndices:b})):p?t<=i?f&&t!==-1?M.current=s.current.length:(te.current=!1,M.current=o):M.current=ir(s,{startingIndex:t,decrement:!0,disabledIndices:b}):M.current=Math.max(i,ir(s,{startingIndex:t,decrement:!0,disabledIndices:b})),tr(s,M.current)&&(M.current=-1),F(e)}}),ue=U.useMemo(()=>g&&r&&oe&&{"aria-activedescendant":`${w}-${c}`},[g,r,oe,w,c]),de=U.useMemo(()=>({"aria-orientation":x===`both`?void 0:x,...A?{}:ue,onKeyDown(e){if(e.key===`Tab`&&e.shiftKey&&r&&!g){let t=dn(e.nativeEvent);if(t&&!ln(D.current,t))return;bn(e),n.setOpen(!1,bi(pi,e.nativeEvent)),Ct(a)&&a.focus();return}le(e)},onPointerMove(){P.current=!0}}),[ue,le,D,x,A,n,r,g,a]),fe=U.useMemo(()=>{function e(e){_===`auto`&&Sn(e.nativeEvent)&&(j.current=!g)}function t(e){j.current=_,_===`auto`&&Cn(e.nativeEvent)&&(j.current=!0)}return{onKeyDown(e){let t=n.select(`open`);P.current=!1;let r=e.key.startsWith(`Arrow`),i=Vc(e.key,ce(),h),a=zc(e.key,x),o=(m?i:a)||e.key===`Enter`||e.key.trim()===``;if(g&&t)return le(e);if(!(!t&&!y&&r)){if(o){let t=zc(e.key,ce());N.current=m&&t?null:e.key}if(m){i&&(bn(e),t?(M.current=nr(s,ne.current),F(e)):n.setOpen(!0,bi(hi,e.nativeEvent,e.currentTarget)));return}a&&(ie.current!=null&&(M.current=ie.current),bn(e),!t&&y?n.setOpen(!0,bi(hi,e.nativeEvent,e.currentTarget)):le(e),t&&F(e))}},onFocus(e){n.select(`open`)&&!g&&(M.current=-1,F(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[le,ne,_,s,m,F,n,y,x,ce,h,ie,g]),pe=U.useMemo(()=>({...ue,...fe}),[ue,fe]);return U.useMemo(()=>u?{reference:pe,floating:de,item:se,trigger:fe}:{},[u,pe,de,fe,se])}var Wc=new Map([[`select`,`listbox`],[`combobox`,`listbox`],[`label`,!1]]);function Gc(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingId`),a=n.useState(`domReferenceElement`),o=n.useState(`floatingElement`),{role:s=`dialog`}=t,c=fa(),l=a?.id||c,u=U.useMemo(()=>_n(o)?.id||i,[o,i]),d=Wc.get(s)??s,f=Ka()!=null,p=U.useMemo(()=>d===`tooltip`||s===`label`?ti:{"aria-haspopup":d===`alertdialog`?`dialog`:d,"aria-expanded":`false`,...d===`listbox`&&{role:`combobox`},...d===`menu`&&f&&{role:`menuitem`},...s===`select`&&{"aria-autocomplete":`none`},...s===`combobox`&&{"aria-autocomplete":`list`}},[d,f,s]),m=U.useMemo(()=>d===`tooltip`||s===`label`?{[`aria-${s===`label`?`labelledby`:`describedby`}`]:r?u:void 0}:{...p,"aria-expanded":r?`true`:`false`,"aria-controls":r?u:void 0,...d===`menu`&&{id:l}},[d,u,r,l,s,p]),h=U.useMemo(()=>{let e={id:u,...d&&{role:d}};return d===`tooltip`||s===`label`?e:{...e,...d===`menu`&&{"aria-labelledby":l}}},[d,u,l,s]),g=U.useCallback(({active:e,selected:t})=>{let n={role:`option`,...e&&{id:`${u}-fui-option`}};switch(s){case`select`:case`combobox`:return{...n,"aria-selected":t};default:}return{}},[u,s]);return U.useMemo(()=>({reference:m,floating:h,item:g,trigger:p}),[m,h,p,g])}function Kc(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,i=n.useState(`open`),{listRef:a,elementsRef:o,activeIndex:s,onMatch:c,onTypingChange:l,enabled:u=!0,resetMs:d=750,selectedIndex:f=null}=t,p=gt(),m=U.useRef(``),h=U.useRef(f??s??-1),g=U.useRef(null);W(()=>{!i&&f!==null||(p.clear(),g.current=null,m.current!==``&&(m.current=``))},[i,f,p]),W(()=>{i&&m.current===``&&(h.current=f??s??-1)},[i,f,s]);let _=K(e=>{e?r.current.typing||(r.current.typing=e,l?.(e)):r.current.typing&&(r.current.typing=e,l?.(e))}),v=K(e=>{function t(e){let t=o?.current[e];return!t||ur(t)}function n(e,n,r=0){if(e.length===0)return-1;let i=(r%e.length+e.length)%e.length,a=n.toLocaleLowerCase();for(let n=0;n<e.length;n+=1){let r=(i+n)%e.length;if(!(!e[r]?.toLocaleLowerCase().startsWith(a)||!t(r)))return r}return-1}let r=a.current;if(m.current.length>0&&e.key===` `&&(bn(e),_(!0)),m.current.length>0&&m.current[0]!==` `&&n(r,m.current)===-1&&e.key!==` `&&_(!1),r==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;i&&e.key!==` `&&(bn(e),_(!0));let l=m.current===``;l&&(h.current=f??s??-1),r.every(e=>e?e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase():!0)&&m.current===e.key&&(m.current=``,h.current=g.current),m.current+=e.key,p.start(d,()=>{m.current=``,h.current=g.current,_(!1)});let u=((l?f??s??-1:h.current)??0)+1,v=n(r,m.current,u);v===-1?e.key!==` `&&(m.current=``,_(!1)):(c?.(v),g.current=v)}),y=K(e=>{let t=e.relatedTarget,r=n.select(`domReferenceElement`),i=n.select(`floatingElement`),a=ln(r,t),o=ln(i,t);a||o||(p.clear(),m.current=``,h.current=g.current,_(!1))}),b=U.useMemo(()=>({onKeyDown:v,onBlur:y}),[v,y]),x=U.useMemo(()=>({onKeyDown:v,onBlur:y}),[v,y]);return U.useMemo(()=>u?{reference:b,floating:x}:{},[u,b,x])}var qc=.1,Jc=qc*qc,Yc=.5;function Xc(e,t,n,r,i,a){return r>=t!=a>=t&&e<=(i-n)*(t-r)/(a-r)+n}function Zc(e,t,n,r,i,a,o,s,c,l){let u=!1;return Xc(e,t,n,r,i,a)&&(u=!u),Xc(e,t,i,a,o,s)&&(u=!u),Xc(e,t,o,s,c,l)&&(u=!u),Xc(e,t,c,l,n,r)&&(u=!u),u}function Qc(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function $c(e,t,n,r,i,a){return e>=Math.min(n,i)&&e<=Math.max(n,i)&&t>=Math.min(r,a)&&t<=Math.max(r,a)}function el(e={}){let{blockPointerEvents:t=!1}=e,n=new ht,r=({x:e,y:t,placement:r,elements:i,onClose:a,nodeId:o,tree:s})=>{let c=r?.split(`-`)[0],l=!1,u=null,d=null,f=typeof performance<`u`?performance.now():0;function p(e,t){let n=performance.now(),r=n-f;if(u===null||d===null||r===0)return u=e,d=t,f=n,!1;let i=e-u,a=t-d,o=i*i+a*a,s=r*r*Jc;return u=e,d=t,f=n,o<s}function m(){n.clear(),a()}return function(r){n.clear();let a=i.domReference,u=i.floating;if(!a||!u||c==null||e==null||t==null)return;let{clientX:d,clientY:f}=r,h=dn(r),g=r.type===`mouseleave`,_=ln(u,h),v=ln(a,h);if(_&&(l=!0,!g))return;if(v&&(l=!1,!g)){l=!0;return}if(g&&St(r.relatedTarget)&&ln(u,r.relatedTarget))return;function y(){return!!(s&&vn(s.nodesRef.current,o).length>0)}function b(){y()||m()}if(y())return;let x=a.getBoundingClientRect(),S=u.getBoundingClientRect(),C=e>S.right-S.width/2,w=t>S.bottom-S.height/2,T=S.width>x.width,E=S.height>x.height,D=(T?x:S).left,O=(T?x:S).right,k=(E?x:S).top,A=(E?x:S).bottom;if(c===`top`&&t>=x.bottom-1||c===`bottom`&&t<=x.top+1||c===`left`&&e>=x.right-1||c===`right`&&e<=x.left+1){b();return}let j=!1;switch(c){case`top`:j=$c(d,f,D,x.top+1,O,S.bottom-1);break;case`bottom`:j=$c(d,f,D,S.top+1,O,x.bottom-1);break;case`left`:j=$c(d,f,S.right-1,A,x.left+1,k);break;case`right`:j=$c(d,f,x.right-1,A,S.left+1,k);break;default:}if(j)return;if(l&&!Qc(d,f,x)){b();return}if(!g&&p(d,f)){b();return}let M=!1;switch(c){case`top`:{let n=T?Yc/2:Yc*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t+Yc+1,o=C||T?S.bottom-Yc:S.top,s=C?T?S.bottom-Yc:S.top:S.bottom-Yc;M=Zc(d,f,r,a,i,a,S.left,o,S.right,s);break}case`bottom`:{let n=T?Yc/2:Yc*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t-Yc,o=C||T?S.top+Yc:S.bottom,s=C?T?S.top+Yc:S.bottom:S.top+Yc;M=Zc(d,f,r,a,i,a,S.left,o,S.right,s);break}case`left`:{let n=E?Yc/2:Yc*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e+Yc+1,o=w||E?S.right-Yc:S.left,s=w?E?S.right-Yc:S.left:S.right-Yc;M=Zc(d,f,o,S.top,s,S.bottom,a,r,a,i);break}case`right`:{let n=E?Yc/2:Yc*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e-Yc,o=w||E?S.left+Yc:S.right,s=w?E?S.left+Yc:S.right:S.left+Yc;M=Zc(d,f,a,r,a,i,o,S.top,s,S.bottom);break}default:}M?l||n.start(40,b):b()}};return r.__options={blockPointerEvents:t},r}var tl={...yc,disabled:q(e=>e.disabled),instantType:q(e=>e.instantType),isInstantPhase:q(e=>e.isInstantPhase),trackCursorAxis:q(e=>e.trackCursorAxis),disableHoverablePopup:q(e=>e.disableHoverablePopup),lastOpenChangeReason:q(e=>e.openChangeReason),closeOnClick:q(e=>e.closeOnClick),closeDelay:q(e=>e.closeDelay),hasViewport:q(e=>e.hasViewport)},nl=class e extends tc{constructor(e){super({...rl(),...e},{popupRef:U.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:new hc},tl)}setOpen=(e,t)=>{let n=t.reason,r=n===ci,i=e&&n===`trigger-focus`,a=!e&&(n===`trigger-press`||n===`escape-key`);if(t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},this.context.onOpenChange?.(e,t),t.isCanceled)return;let o=()=>{let r={open:e,openChangeReason:n};i?r.instantType=`focus`:a?r.instantType=`dismiss`:n===`trigger-hover`&&(r.instantType=void 0);let o=t.trigger?.id??null;(o||e)&&(r.activeTriggerId=o,r.activeTriggerElement=t.trigger??null),this.update(r)};r?La.flushSync(o):o()};static useStore(t,n){let r=$e(()=>new e(n)).current,i=t??r,a=Sc({popupStore:i,onOpenChange:i.setOpen});return i.state.floatingRootContext=a,i}};function rl(){return{..._c(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:`none`,disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,hasViewport:!1}}var il=it(function(e){let{disabled:t=!1,defaultOpen:n=!1,open:r,disableHoverablePopup:i=!1,trackCursorAxis:a=`none`,actionsRef:o,onOpenChange:s,onOpenChangeComplete:c,handle:l,triggerId:u,defaultTriggerId:d=null,children:f}=e,p=nl.useStore(l?.store,{open:n,openProp:r,activeTriggerId:d,triggerIdProp:u});st(()=>{r===void 0&&p.state.open===!1&&n===!0&&p.update({open:!0,activeTriggerId:d})}),p.useControlledProp(`openProp`,r),p.useControlledProp(`triggerIdProp`,u),p.useContextCallback(`onOpenChange`,s),p.useContextCallback(`onOpenChangeComplete`,c);let m=p.useState(`open`),h=!t&&m,g=p.useState(`activeTriggerId`),_=p.useState(`payload`);p.useSyncedValues({trackCursorAxis:a,disableHoverablePopup:i}),W(()=>{m&&t&&p.setOpen(!1,bi(_i))},[m,t,p]),p.useSyncedValue(`disabled`,t),pc(p);let{forceUnmount:v,transitionStatus:y}=mc(h,p),b=p.useState(`isInstantPhase`),x=p.useState(`instantType`),S=p.useState(`lastOpenChangeReason`),C=U.useRef(null);W(()=>{y===`ending`&&S===`none`||y!==`ending`&&b?(x!==`delay`&&(C.current=x),p.set(`instantType`,`delay`)):C.current!==null&&(p.set(`instantType`,C.current),C.current=null)},[y,b,S,x,p]),W(()=>{h&&(g??p.set(`payload`,void 0))},[p,g,h]);let w=U.useCallback(()=>{p.setOpen(!1,al(p,vi))},[p]);U.useImperativeHandle(o,()=>({unmount:v,close:w}),[v,w]);let T=p.useState(`floatingRootContext`),{getReferenceProps:E,getFloatingProps:D,getTriggerProps:O}=Pc([po(T,{enabled:!t,referencePress:()=>p.select(`closeOnClick`)}),co(T,{enabled:!t&&a!==`none`,axis:a===`none`?void 0:a})]),k=U.useMemo(()=>E(),[E]),A=U.useMemo(()=>O(),[O]),j=U.useMemo(()=>D(),[D]);return p.useSyncedValues({activeTriggerProps:k,inactiveTriggerProps:A,popupProps:j}),(0,G.jsx)(ut.Provider,{value:p,children:typeof f==`function`?f({payload:_}):f})});function al(e,t){let n=bi(t);return n.preventUnmountOnClose=()=>{e.set(`preventUnmountingOnClose`,!0)},n}var ol=function(e){return e.open=`data-open`,e.closed=`data-closed`,e[e.startingStyle=ac.startingStyle]=`startingStyle`,e[e.endingStyle=ac.endingStyle]=`endingStyle`,e.anchorHidden=`data-anchor-hidden`,e.side=`data-side`,e.align=`data-align`,e}({}),sl=function(e){return e.popupOpen=`data-popup-open`,e.pressed=`data-pressed`,e}({}),cl={[sl.popupOpen]:``},ll={[sl.popupOpen]:``,[sl.pressed]:``},ul={[ol.open]:``},dl={[ol.closed]:``},fl={[ol.anchorHidden]:``},pl={open(e){return e?cl:null}},ml={open(e){return e?ll:null}},hl={open(e){return e?ul:dl},anchorHidden(e){return e?fl:null}};function gl(e){return fa(e,`base-ui`)}var _l=U.createContext(void 0);function vl(){return U.useContext(_l)}var yl=function(e){return e[e.popupOpen=sl.popupOpen]=`popupOpen`,e.triggerDisabled=`data-trigger-disabled`,e}({}),bl=at(function(e,t){let{className:n,render:r,handle:i,payload:a,disabled:o,delay:s,closeOnClick:c=!0,closeDelay:l,id:u,...d}=e,f=dt(!0),p=i?.store??f;if(!p)throw Error(lt(82));let m=gl(u),h=p.useState(`isTriggerActive`,m),g=p.useState(`isOpenedByTrigger`,m),_=p.useState(`floatingRootContext`),v=U.useRef(null),y=s??600,b=l??0,{registerTrigger:x,isMountedByThisTrigger:S}=fc(m,v,p,{payload:a,closeOnClick:c,closeDelay:b}),C=vl(),{delayRef:w,isInstantPhase:T,hasProvider:E}=wi(_,{open:g});p.useSyncedValue(`isInstantPhase`,T);let D=p.useState(`disabled`),O=o??D,k=p.useState(`trackCursorAxis`),A=p.useState(`disableHoverablePopup`),j=Nc(_,{enabled:!O,mouseOnly:!0,move:!1,handleClose:!A&&k!==`both`?el():null,restMs(){let e=C?.delay,t=typeof w.current==`object`?w.current.open:void 0,n=y;return E&&(n=t===0?0:s??e??y),n},delay(){let e=typeof w.current==`object`?w.current.close:void 0,t=b;return l==null&&E&&(t=e),{close:t}},triggerElementRef:v,isActiveTrigger:h}),M=wc(_,{enabled:!O}).reference,N={open:g},P=p.useState(`triggerProps`,S);return Ma(`button`,e,{state:N,ref:[t,x,v],props:[j,M,P,{onPointerDown(){p.set(`closeOnClick`,c)},id:m,[yl.triggerDisabled]:O?``:void 0},d],stateAttributesMapping:pl})}),xl=U.createContext(void 0);function Sl(){let e=U.useContext(xl);if(e===void 0)throw Error(lt(70));return e}var Cl=U.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,...o}=e,{portalNode:s,portalSubtree:c}=Va({container:r,ref:t,componentProps:e,elementProps:o});return!c&&!s?null:(0,G.jsxs)(U.Fragment,{children:[c,s&&La.createPortal(n,s)]})}),wl=U.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return dt().useState(`mounted`)||n?(0,G.jsx)(xl.Provider,{value:n,children:(0,G.jsx)(Cl,{ref:t,...r})}):null}),Tl=U.createContext(void 0);function El(){let e=U.useContext(Tl);if(e===void 0)throw Error(lt(71));return e}var Dl=U.createContext(void 0);function Ol(){return U.useContext(Dl)?.direction??`ltr`}var kl=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0,offsetParent:d=`real`}=Pn(e,t)||{};if(l==null)return{};let f=Qn(u),p={x:n,y:r},m=Bn(i),h=Rn(m),g=await o.getDimensions(l),_=m===`y`,v=_?`top`:`left`,y=_?`bottom`:`right`,b=_?`clientHeight`:`clientWidth`,x=a.reference[h]+a.reference[m]-p[m]-a.floating[h],S=p[m]-a.reference[m],C=d===`real`?await o.getOffsetParent?.(l):s.floating,w=s.floating[b]||a.floating[h];(!w||!await o.isElement?.(C))&&(w=s.floating[b]||a.floating[h]);let T=x/2-S/2,E=w/2-g[h]/2-1,D=Math.min(f[v],E),O=Math.min(f[y],E),k=D,A=w-g[h]-O,j=w/2-g[h]/2+T,M=Nn(k,j,A),N=!c.arrow&&In(i)!=null&&j!==M&&a.reference[h]/2-(j<k?D:O)-g[h]/2<0,P=N?j<k?j-k:j-A:0;return{[m]:p[m]+P,data:{[m]:M,centerOffset:j-M-P,...N&&{alignmentOffset:P}},reset:N}}}),Al=(e,t)=>({...kl(e),options:[e,t]}),jl={name:`hide`,async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=t===0&&n===0&&r===0&&i===0;return{data:{referenceHidden:(await Ss().fn(e)).data?.referenceHidden||a}}}},Ml={sideX:`left`,sideY:`top`},Nl={name:`adaptiveOrigin`,async fn(e){let{x:t,y:n,rects:{floating:r},elements:{floating:i},platform:a,strategy:o,placement:s}=e,c=yt(i),l=c.getComputedStyle(i);if(!(l.transitionDuration!==`0s`&&l.transitionDuration!==``))return{x:t,y:n,data:Ml};let u=await a.getOffsetParent?.(i),d={width:0,height:0};if(o===`fixed`&&c?.visualViewport)d={width:c.visualViewport.width,height:c.visualViewport.height};else if(u===c){let e=Vr(i);d={width:e.documentElement.clientWidth,height:e.documentElement.clientHeight}}else await a.isElement?.(u)&&(d=await a.getDimensions(u));let f=Fn(s),p=t,m=n;f===`left`&&(p=d.width-(t+r.width)),f===`top`&&(m=d.height-(n+r.height));let h=f===`left`?`right`:Ml.sideX,g=f===`top`?`bottom`:Ml.sideY;return{x:p,y:m,data:{sideX:h,sideY:g}}}};function Pl(e,t,n){let r=e===`inline-start`||e===`inline-end`;return{top:`top`,right:r?n?`inline-start`:`inline-end`:`right`,bottom:`bottom`,left:r?n?`inline-end`:`inline-start`:`left`}[t]}function Fl(e,t,n){let{rects:r,placement:i}=e;return{side:Pl(t,Fn(i),n),align:In(i)||`center`,anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function Il(e){let{anchor:t,positionMethod:n=`absolute`,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:o=0,collisionBoundary:s,collisionPadding:c=5,sticky:l=!1,arrowPadding:u=5,disableAnchorTracking:d=!1,keepMounted:f=!1,floatingRootContext:p,mounted:m,collisionAvoidance:h,shiftCrossAxis:g=!1,nodeId:_,adaptiveOrigin:v,lazyFlip:y=!1,externalTree:b}=e,[x,S]=U.useState(null);!m&&x!==null&&S(null);let C=h.side||`flip`,w=h.align||`flip`,T=h.fallbackAxisSide||`end`,E=typeof t==`function`?t:void 0,D=K(E),O=E?D:t,k=ji(t),A=Ol()===`rtl`,j=x||{top:`top`,right:`right`,bottom:`bottom`,left:`left`,"inline-end":A?`left`:`right`,"inline-start":A?`right`:`left`}[r],M=a===`center`?j:`${j}-${a}`,N=c,P=r===`bottom`?1:0,F=r===`top`?1:0,I=r===`right`?1:0,ee=r===`left`?1:0;typeof N==`number`?N={top:N+P,right:N+ee,bottom:N+F,left:N+I}:N&&={top:(N.top||0)+P,right:(N.right||0)+ee,bottom:(N.bottom||0)+F,left:(N.left||0)+I};let L={boundary:s===`clipping-ancestors`?`clippingAncestors`:s,padding:N},te=U.useRef(null),R=ji(i),ne=ji(o),re=[_s(e=>{let t=Fl(e,r,A),n=typeof R.current==`function`?R.current(t):R.current,i=typeof ne.current==`function`?ne.current(t):ne.current;return{mainAxis:n,crossAxis:i,alignmentAxis:i}},[typeof i==`function`?0:i,typeof o==`function`?0:o,A,r])],ie=w===`none`&&C!==`shift`,z=!ie&&(l||g||C===`shift`),ae=C===`none`?null:bs({...L,padding:{top:N.top+1,right:N.right+1,bottom:N.bottom+1,left:N.left+1},mainAxis:!g&&C===`flip`,crossAxis:w===`flip`?`alignment`:!1,fallbackAxisSideDirection:T}),oe=ie?null:vs(e=>{let t=Vr(e.elements.floating).documentElement;return{...L,rootBoundary:g?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:w!==`none`,crossAxis:z,limiter:l||g?void 0:ys(e=>{if(!te.current)return{};let{width:t,height:n}=te.current.getBoundingClientRect(),r=zn(Fn(e.placement)),i=r===`y`?t:n,a=r===`y`?N.left+N.right:N.top+N.bottom;return{offset:i/2+a/2}})}},[L,l,g,N,w]);C===`shift`||w===`shift`||a===`center`?re.push(oe,ae):re.push(ae,oe),re.push(xs({...L,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){let i=e.style;i.setProperty(`--available-width`,`${t}px`),i.setProperty(`--available-height`,`${n}px`);let a=window.devicePixelRatio||1,{x:o,y:s,width:c,height:l}=r.reference,u=(Math.round((o+c)*a)-Math.round(o*a))/a,d=(Math.round((s+l)*a)-Math.round(s*a))/a;i.setProperty(`--anchor-width`,`${u}px`),i.setProperty(`--anchor-height`,`${d}px`)}}),Al(()=>({element:te.current||document.createElement(`div`),padding:u,offsetParent:`floating`}),[u]),{name:`transformOrigin`,fn(e){let{elements:t,middlewareData:n,placement:a,rects:o,y:s}=e,c=Fn(a),l=zn(c),u=te.current,d=n.arrow?.x||0,f=n.arrow?.y||0,p=u?.clientWidth||0,m=u?.clientHeight||0,h=d+p/2,g=f+m/2,_=Math.abs(n.shift?.y||0),v=o.reference.height/2,y=typeof i==`function`?i(Fl(e,r,A)):i,b=_>y,x={top:`${h}px calc(100% + ${y}px)`,bottom:`${h}px ${-y}px`,left:`calc(100% + ${y}px) ${g}px`,right:`${-y}px ${g}px`}[c],S=`${h}px ${o.reference.y+v-s}px`;return t.floating.style.setProperty(`--transform-origin`,z&&l===`y`&&b?S:x),{}}},jl,v),W(()=>{!m&&p&&p.update({referenceElement:null,floatingElement:null,domReferenceElement:null})},[m,p]);let se=U.useMemo(()=>({elementResize:!d&&typeof ResizeObserver<`u`,layoutShift:!d&&typeof IntersectionObserver<`u`}),[d]),{refs:ce,elements:le,x:ue,y:de,middlewareData:fe,update:pe,placement:me,context:he,isPositioned:ge,floatingStyles:_e}=xc({rootContext:p,placement:M,middleware:re,strategy:n,whileElementsMounted:f?void 0:(...e)=>rs(...e,se),nodeId:_,externalTree:b}),{sideX:ve,sideY:ye}=fe.adaptiveOrigin||Ml,be=ge?n:`fixed`,xe=U.useMemo(()=>{let e=v?{position:be,[ve]:ue,[ye]:de}:{position:be,..._e};return ge||(e.opacity=0),e},[v,be,ve,ue,ye,de,_e,ge]),Se=U.useRef(null);W(()=>{if(!m)return;let e=k.current,t=typeof e==`function`?e():e,n=(Ll(t)?t.current:t)||null;n!==Se.current&&(ce.setPositionReference(n),Se.current=n)},[m,ce,O,k]),U.useEffect(()=>{if(!m)return;let e=k.current;typeof e!=`function`&&Ll(e)&&e.current!==Se.current&&(ce.setPositionReference(e.current),Se.current=e.current)},[m,ce,O,k]),U.useEffect(()=>{if(f&&m&&le.domReference&&le.floating)return rs(le.domReference,le.floating,pe,se)},[f,m,le,pe,se]);let Ce=Fn(me),we=Pl(r,Ce,A),B=In(me)||`center`,Te=!!fe.hide?.referenceHidden;W(()=>{y&&m&&ge&&S(Ce)},[y,m,ge,Ce]);let Ee=U.useMemo(()=>({position:`absolute`,top:fe.arrow?.y,left:fe.arrow?.x}),[fe.arrow]),De=fe.arrow?.centerOffset!==0;return U.useMemo(()=>({positionerStyles:xe,arrowStyles:Ee,arrowRef:te,arrowUncentered:De,side:we,align:B,physicalSide:Ce,anchorHidden:Te,refs:ce,context:he,isPositioned:ge,update:pe}),[xe,Ee,te,De,we,B,Ce,Te,ce,he,ge,pe])}function Ll(e){return e!=null&&`current`in e}function Rl(e){return e===`starting`?ni:ti}var zl=U.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:o=`top`,align:s=`center`,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=ii,...g}=e,_=dt(),v=Sl(),y=_.useState(`open`),b=_.useState(`mounted`),x=_.useState(`trackCursorAxis`),S=_.useState(`disableHoverablePopup`),C=_.useState(`floatingRootContext`),w=_.useState(`instantType`),T=_.useState(`transitionStatus`),E=Il({anchor:i,positionMethod:a,floatingRootContext:C,mounted:b,side:o,sideOffset:c,align:s,alignOffset:l,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,disableAnchorTracking:m,keepMounted:v,collisionAvoidance:h,adaptiveOrigin:_.useState(`hasViewport`)?Nl:void 0}),D=U.useMemo(()=>{let e={};return(!y||x===`both`||S)&&(e.pointerEvents=`none`),{role:`presentation`,hidden:!b,style:{...E.positionerStyles,...e}}},[y,x,S,b,E.positionerStyles]),O=U.useMemo(()=>({open:y,side:E.side,align:E.align,anchorHidden:E.anchorHidden,instant:x===`none`?w:`tracking-cursor`}),[y,E.side,E.align,E.anchorHidden,x,w]),k=U.useMemo(()=>({...O,arrowRef:E.arrowRef,arrowStyles:E.arrowStyles,arrowUncentered:E.arrowUncentered}),[O,E.arrowRef,E.arrowStyles,E.arrowUncentered]),A=Ma(`div`,e,{state:O,props:[D,Rl(T),g],ref:[t,_.useStateSetter(`positionerElement`)],stateAttributesMapping:hl});return(0,G.jsx)(Tl.Provider,{value:k,children:A})}),Bl={...hl,...cc},Vl=U.forwardRef(function(e,t){let{className:n,render:r,...i}=e,a=dt(),{side:o,align:s}=El(),c=a.useState(`open`),l=a.useState(`instantType`),u=a.useState(`transitionStatus`),d=a.useState(`popupProps`),f=a.useState(`floatingRootContext`);uc({open:c,ref:a.context.popupRef,onComplete(){c&&a.context.onOpenChangeComplete?.(!0)}});let p=a.useState(`disabled`),m=a.useState(`closeDelay`);return jc(f,{enabled:!p,closeDelay:m}),Ma(`div`,e,{state:{open:c,side:o,align:s,instant:l,transitionStatus:u},ref:[t,a.context.popupRef,a.useStateSetter(`popupElement`)],props:[d,Rl(u),i],stateAttributesMapping:Bl})}),Hl=U.forwardRef(function(e,t){let{className:n,render:r,...i}=e,a=dt().useState(`instantType`),{open:o,arrowRef:s,side:c,align:l,arrowUncentered:u,arrowStyles:d}=El();return Ma(`div`,e,{state:{open:o,side:c,align:l,uncentered:u,instant:a},ref:[t,s],props:[{style:d,"aria-hidden":!0},i],stateAttributesMapping:hl})}),Ul=function(e){let{delay:t,closeDelay:n,timeout:r=400}=e,i=U.useMemo(()=>({delay:t,closeDelay:n}),[t,n]),a=U.useMemo(()=>({open:t,close:n}),[t,n]);return(0,G.jsx)(_l.Provider,{value:i,children:(0,G.jsx)(Ci,{delay:a,timeoutMs:r,children:e.children})})};function Wl(e){return ma(19)?e:e?`true`:void 0}function Gl({delay:e=0,...t}){return(0,G.jsx)(Ul,{"data-slot":`tooltip-provider`,delay:e,...t})}function Kl({...e}){return(0,G.jsx)(il,{"data-slot":`tooltip`,...e})}function ql({...e}){return(0,G.jsx)(bl,{"data-slot":`tooltip-trigger`,...e})}function Jl({className:e,side:t=`top`,sideOffset:n=4,align:r=`center`,alignOffset:i=0,children:a,...o}){return(0,G.jsx)(wl,{children:(0,G.jsx)(zl,{align:r,alignOffset:i,side:t,sideOffset:n,className:`isolate z-50`,children:(0,G.jsxs)(Vl,{"data-slot":`tooltip-content`,className:H(`z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pe-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-start-2 data-[side=inline-start]:slide-in-from-end-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,e),...o,children:[a,(0,G.jsx)(Hl,{className:`z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-start-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-end-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5`})]})})})}var Yl=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),Xl=o(((e,t)=>{t.exports=Yl()})),Zl=o((e=>{var t=Xl(),n=Ze(),r=sa();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),C=Symbol.for(`react.suspense_list`),w=Symbol.for(`react.memo`),T=Symbol.for(`react.lazy`),E=Symbol.for(`react.activity`),D=Symbol.for(`react.memo_cache_sentinel`),O=Symbol.iterator;function k(e){return typeof e!=`object`||!e?null:(e=O&&e[O]||e[`@@iterator`],typeof e==`function`?e:null)}var A=Symbol.for(`react.client.reference`);function j(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===A?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case S:return`Suspense`;case C:return`SuspenseList`;case E:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case w:return t=e.displayName||null,t===null?j(e.type)||`Memo`:t;case T:t=e._payload,e=e._init;try{return j(e(t))}catch{}}return null}var M=Array.isArray,N=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F={pending:!1,data:null,method:null,action:null},I=[],ee=-1;function L(e){return{current:e}}function te(e){0>ee||(e.current=I[ee],I[ee]=null,ee--)}function R(e,t){ee++,I[ee]=e.current,e.current=t}var ne=L(null),re=L(null),ie=L(null),z=L(null);function ae(e,t){switch(R(ie,t),R(re,e),R(ne,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Kd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Kd(t),e=qd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}te(ne),R(ne,e)}function oe(){te(ne),te(re),te(ie)}function se(e){e.memoizedState!==null&&R(z,e);var t=ne.current,n=qd(t,e.type);t!==n&&(R(re,e),R(ne,n))}function ce(e){re.current===e&&(te(ne),te(re)),z.current===e&&(te(z),rp._currentValue=F)}var le,ue;function de(e){if(le===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);le=t&&t[1]||``,ue=-1<e.stack.indexOf(`
|
|
15
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
16
|
+
`+le+e+ue}var fe=!1;function pe(e,t){if(!e||fe)return``;fe=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
17
|
+
`),l=s.split(`
|
|
18
|
+
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
|
|
19
|
+
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{fe=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?de(n):``}function me(e,t){switch(e.tag){case 26:case 27:case 5:return de(e.type);case 16:return de(`Lazy`);case 13:return e.child!==t&&t!==null?de(`Suspense Fallback`):de(`Suspense`);case 19:return de(`SuspenseList`);case 0:case 15:return pe(e.type,!1);case 11:return pe(e.type.render,!1);case 1:return pe(e.type,!0);case 31:return de(`Activity`);default:return``}}function he(e){try{var t=``,n=null;do t+=me(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
|
|
20
|
+
Error generating stack: `+e.message+`
|
|
21
|
+
`+e.stack}}var ge=Object.prototype.hasOwnProperty,_e=t.unstable_scheduleCallback,ve=t.unstable_cancelCallback,ye=t.unstable_shouldYield,be=t.unstable_requestPaint,xe=t.unstable_now,Se=t.unstable_getCurrentPriorityLevel,Ce=t.unstable_ImmediatePriority,we=t.unstable_UserBlockingPriority,B=t.unstable_NormalPriority,Te=t.unstable_LowPriority,Ee=t.unstable_IdlePriority,De=t.log,Oe=t.unstable_setDisableYieldValue,ke=null,Ae=null;function je(e){if(typeof De==`function`&&Oe(e),Ae&&typeof Ae.setStrictMode==`function`)try{Ae.setStrictMode(ke,e)}catch{}}var V=Math.clz32?Math.clz32:Pe,Me=Math.log,Ne=Math.LN2;function Pe(e){return e>>>=0,e===0?32:31-(Me(e)/Ne|0)|0}var Fe=256,Ie=262144,Le=4194304;function Re(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ze(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Re(n))):i=Re(o):i=Re(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Re(n))):i=Re(o)):i=Re(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Be(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ve(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function He(){var e=Le;return Le<<=1,!(Le&62914560)&&(Le=4194304),e}function Ue(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function We(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ge(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-V(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Ke(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Ke(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-V(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function qe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-V(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Je(e,t){var n=t&-t;return n=n&42?1:Ye(n),(n&(e.suspendedLanes|t))===0?n:0}function Ye(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function H(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function Xe(){var e=P.p;return e===0?(e=window.event,e===void 0?32:yp(e.type)):e}function U(e,t){var n=P.p;try{return P.p=e,t()}finally{P.p=n}}var Qe=Math.random().toString(36).slice(2),$e=`__reactFiber$`+Qe,et=`__reactProps$`+Qe,tt=`__reactContainer$`+Qe,nt=`__reactEvents$`+Qe,rt=`__reactListeners$`+Qe,it=`__reactHandles$`+Qe,at=`__reactResources$`+Qe,ot=`__reactMarker$`+Qe;function st(e){delete e[$e],delete e[et],delete e[nt],delete e[rt],delete e[it]}function W(e){var t=e[$e];if(t)return t;for(var n=e.parentNode;n;){if(t=n[tt]||n[$e]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=gf(e);e!==null;){if(n=e[$e])return n;e=gf(e)}return t}e=n,n=e.parentNode}return null}function ct(e){if(e=e[$e]||e[tt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function lt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function ut(e){var t=e[at];return t||=e[at]={hoistableStyles:new Map,hoistableScripts:new Map},t}function dt(e){e[ot]=!0}var ft=new Set,pt={};function mt(e,t){ht(e,t),ht(e+`Capture`,t)}function ht(e,t){for(pt[e]=t,e=0;e<t.length;e++)ft.add(t[e])}var gt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),_t={},vt={};function yt(e){return ge.call(vt,e)?!0:ge.call(_t,e)?!1:gt.test(e)?vt[e]=!0:(_t[e]=!0,!1)}function bt(e,t,n){if(yt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function xt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function St(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Ct(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function wt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Tt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Et(e){if(!e._valueTracker){var t=wt(e)?`checked`:`value`;e._valueTracker=Tt(e,t,``+e[t])}}function Dt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=wt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Ot(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var kt=/[\n"\\]/g;function At(e){return e.replace(kt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function jt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Ct(t)):e.value!==``+Ct(t)&&(e.value=``+Ct(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Nt(e,o,Ct(n)):Nt(e,o,Ct(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Ct(s):e.removeAttribute(`name`)}function Mt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Et(e);return}n=n==null?``:``+Ct(n),t=t==null?n:``+Ct(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Et(e)}function Nt(e,t,n){t===`number`&&Ot(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Pt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Ct(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ft(e,t,n){if(t!=null&&(t=``+Ct(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Ct(n)}function It(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(M(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Ct(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Et(e)}function Lt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function zt(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Rt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Bt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&zt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&zt(e,o,t[o])}function Vt(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var Ht=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),Ut=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Wt(e){return Ut.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Gt(){}var Kt=null;function qt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jt=null,Yt=null;function Xt(e){var t=ct(e);if(t&&(e=t.stateNode)){var n=e[et]||null;a:switch(e=t.stateNode,t.type){case`input`:if(jt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+At(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[et]||null;if(!a)throw Error(i(90));jt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Dt(r)}break a;case`textarea`:Ft(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Pt(e,!!n.multiple,t,!1)}}}var Zt=!1;function Qt(e,t,n){if(Zt)return e(t,n);Zt=!0;try{return e(t)}finally{if(Zt=!1,(Jt!==null||Yt!==null)&&(Su(),Jt&&(t=Jt,e=Yt,Yt=Jt=null,Xt(t),e)))for(t=0;t<e.length;t++)Xt(e[t])}}function $t(e,t){var n=e.stateNode;if(n===null)return null;var r=n[et]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var en=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),tn=!1;if(en)try{var nn={};Object.defineProperty(nn,`passive`,{get:function(){tn=!0}}),window.addEventListener(`test`,nn,nn),window.removeEventListener(`test`,nn,nn)}catch{tn=!1}var rn=null,an=null,on=null;function sn(){if(on)return on;var e,t=an,n=t.length,r,i=`value`in rn?rn.value:rn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return on=i.slice(e,1<r?1-r:void 0)}function cn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ln(){return!0}function un(){return!1}function dn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?ln:un,this.isPropagationStopped=un,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=ln)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=ln)},persist:function(){},isPersistent:ln}),t}var fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=dn(fn),mn=f({},fn,{view:0,detail:0}),hn=dn(mn),gn,_n,vn,yn=f({},mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:An,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==vn&&(vn&&e.type===`mousemove`?(gn=e.screenX-vn.screenX,_n=e.screenY-vn.screenY):_n=gn=0,vn=e),gn)},movementY:function(e){return`movementY`in e?e.movementY:_n}}),bn=dn(yn),xn=dn(f({},yn,{dataTransfer:0})),Sn=dn(f({},mn,{relatedTarget:0})),Cn=dn(f({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=dn(f({},fn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Tn=dn(f({},fn,{data:0})),En={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Dn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},On={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=On[e])?!!t[e]:!1}function An(){return kn}var jn=dn(f({},mn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=cn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Dn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:An,charCode:function(e){return e.type===`keypress`?cn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?cn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Mn=dn(f({},yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=dn(f({},mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:An})),Pn=dn(f({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Fn=dn(f({},yn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),In=dn(f({},fn,{newState:0,oldState:0})),Ln=[9,13,27,32],Rn=en&&`CompositionEvent`in window,zn=null;en&&`documentMode`in document&&(zn=document.documentMode);var Bn=en&&`TextEvent`in window&&!zn,Vn=en&&(!Rn||zn&&8<zn&&11>=zn),Hn=` `,Un=!1;function Wn(e,t){switch(e){case`keyup`:return Ln.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Gn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Kn=!1;function qn(e,t){switch(e){case`compositionend`:return Gn(t);case`keypress`:return t.which===32?(Un=!0,Hn):null;case`textInput`:return e=t.data,e===Hn&&Un?null:e;default:return null}}function Jn(e,t){if(Kn)return e===`compositionend`||!Rn&&Wn(e,t)?(e=sn(),on=an=rn=null,Kn=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return Vn&&t.locale!==`ko`?null:t.data;default:return null}}var Yn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Xn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Yn[e.type]:t===`textarea`}function Zn(e,t,n,r){Jt?Yt?Yt.push(r):Yt=[r]:Jt=r,t=Ad(t,`onChange`),0<t.length&&(n=new pn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var Qn=null,$n=null;function er(e){Sd(e,0)}function tr(e){if(Dt(lt(e)))return e}function nr(e,t){if(e===`change`)return t}var rr=!1;if(en){var ir;if(en){var ar=`oninput`in document;if(!ar){var or=document.createElement(`div`);or.setAttribute(`oninput`,`return;`),ar=typeof or.oninput==`function`}ir=ar}else ir=!1;rr=ir&&(!document.documentMode||9<document.documentMode)}function sr(){Qn&&(Qn.detachEvent(`onpropertychange`,cr),$n=Qn=null)}function cr(e){if(e.propertyName===`value`&&tr($n)){var t=[];Zn(t,$n,e,qt(e)),Qt(er,t)}}function lr(e,t,n){e===`focusin`?(sr(),Qn=t,$n=n,Qn.attachEvent(`onpropertychange`,cr)):e===`focusout`&&sr()}function ur(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return tr($n)}function dr(e,t){if(e===`click`)return tr(t)}function fr(e,t){if(e===`input`||e===`change`)return tr(t)}function pr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var mr=typeof Object.is==`function`?Object.is:pr;function hr(e,t){if(mr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ge.call(t,i)||!mr(e[i],t[i]))return!1}return!0}function gr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _r(e,t){var n=gr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=gr(n)}}function vr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ot(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ot(e.document)}return t}function br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var xr=en&&`documentMode`in document&&11>=document.documentMode,Sr=null,Cr=null,wr=null,Tr=!1;function Er(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Tr||Sr==null||Sr!==Ot(r)||(r=Sr,`selectionStart`in r&&br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),wr&&hr(wr,r)||(wr=r,r=Ad(Cr,`onSelect`),0<r.length&&(t=new pn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Sr)))}function Dr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Or={animationend:Dr(`Animation`,`AnimationEnd`),animationiteration:Dr(`Animation`,`AnimationIteration`),animationstart:Dr(`Animation`,`AnimationStart`),transitionrun:Dr(`Transition`,`TransitionRun`),transitionstart:Dr(`Transition`,`TransitionStart`),transitioncancel:Dr(`Transition`,`TransitionCancel`),transitionend:Dr(`Transition`,`TransitionEnd`)},kr={},Ar={};en&&(Ar=document.createElement(`div`).style,`AnimationEvent`in window||(delete Or.animationend.animation,delete Or.animationiteration.animation,delete Or.animationstart.animation),`TransitionEvent`in window||delete Or.transitionend.transition);function jr(e){if(kr[e])return kr[e];if(!Or[e])return e;var t=Or[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ar)return kr[e]=t[n];return e}var Mr=jr(`animationend`),Nr=jr(`animationiteration`),Pr=jr(`animationstart`),Fr=jr(`transitionrun`),Ir=jr(`transitionstart`),Lr=jr(`transitioncancel`),Rr=jr(`transitionend`),zr=new Map,Br=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);Br.push(`scrollEnd`);function Vr(e,t){zr.set(e,t),mt(t,[e])}var Hr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Ur=[],Wr=0,Gr=0;function Kr(){for(var e=Wr,t=Gr=Wr=0;t<e;){var n=Ur[t];Ur[t++]=null;var r=Ur[t];Ur[t++]=null;var i=Ur[t];Ur[t++]=null;var a=Ur[t];if(Ur[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Xr(n,i,a)}}function qr(e,t,n,r){Ur[Wr++]=e,Ur[Wr++]=t,Ur[Wr++]=n,Ur[Wr++]=r,Gr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Jr(e,t,n,r){return qr(e,t,n,r),Zr(e)}function Yr(e,t){return qr(e,null,null,t),Zr(e)}function Xr(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-V(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Zr(e){if(50<pu)throw pu=0,mu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Qr={};function $r(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ei(e,t,n,r){return new $r(e,t,n,r)}function ti(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ni(e,t){var n=e.alternate;return n===null?(n=ei(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ri(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ii(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)ti(e)&&(s=1);else if(typeof e==`string`)s=Jf(e,n,ne.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case E:return e=ei(31,n,t,a),e.elementType=E,e.lanes=o,e;case g:return ai(n.children,a,o,t);case _:s=8,a|=24;break;case v:return e=ei(12,n,t,a|2),e.elementType=v,e.lanes=o,e;case S:return e=ei(13,n,t,a),e.elementType=S,e.lanes=o,e;case C:return e=ei(19,n,t,a),e.elementType=C,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case b:s=10;break a;case y:s=9;break a;case x:s=11;break a;case w:s=14;break a;case T:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=ei(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function ai(e,t,n,r){return e=ei(7,e,r,t),e.lanes=n,e}function oi(e,t,n){return e=ei(6,e,null,t),e.lanes=n,e}function si(e){var t=ei(18,null,null,0);return t.stateNode=e,t}function ci(e,t,n){return t=ei(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var li=new WeakMap;function ui(e,t){if(typeof e==`object`&&e){var n=li.get(e);return n===void 0?(t={value:e,source:t,stack:he(t)},li.set(e,t),t):n}return{value:e,source:t,stack:he(t)}}var di=[],fi=0,pi=null,mi=0,hi=[],gi=0,_i=null,vi=1,yi=``;function bi(e,t){di[fi++]=mi,di[fi++]=pi,pi=e,mi=t}function xi(e,t,n){hi[gi++]=vi,hi[gi++]=yi,hi[gi++]=_i,_i=e;var r=vi;e=yi;var i=32-V(r)-1;r&=~(1<<i),n+=1;var a=32-V(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,vi=1<<32-V(t)+i|n<<i|r,yi=a+e}else vi=1<<a|n<<i|r,yi=e}function G(e){e.return!==null&&(bi(e,1),xi(e,1,0))}function Si(e){for(;e===pi;)pi=di[--fi],di[fi]=null,mi=di[--fi],di[fi]=null;for(;e===_i;)_i=hi[--gi],hi[gi]=null,yi=hi[--gi],hi[gi]=null,vi=hi[--gi],hi[gi]=null}function Ci(e,t){hi[gi++]=vi,hi[gi++]=yi,hi[gi++]=_i,vi=t.id,yi=t.overflow,_i=e}var wi=null,Ti=null,Ei=!1,Di=null,Oi=!1,ki=Error(i(519));function Ai(e){throw Fi(ui(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),ki}function ji(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[$e]=e,t[et]=r,n){case`dialog`:Cd(`cancel`,t),Cd(`close`,t);break;case`iframe`:case`object`:case`embed`:Cd(`load`,t);break;case`video`:case`audio`:for(n=0;n<bd.length;n++)Cd(bd[n],t);break;case`source`:Cd(`error`,t);break;case`img`:case`image`:case`link`:Cd(`error`,t),Cd(`load`,t);break;case`details`:Cd(`toggle`,t);break;case`input`:Cd(`invalid`,t),Mt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Cd(`invalid`,t);break;case`textarea`:Cd(`invalid`,t),It(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Id(t.textContent,n)?(r.popover!=null&&(Cd(`beforetoggle`,t),Cd(`toggle`,t)),r.onScroll!=null&&Cd(`scroll`,t),r.onScrollEnd!=null&&Cd(`scrollend`,t),r.onClick!=null&&(t.onclick=Gt),t=!0):t=!1,t||Ai(e,!0)}function Mi(e){for(wi=e.return;wi;)switch(wi.tag){case 5:case 31:case 13:Oi=!1;return;case 27:case 3:Oi=!0;return;default:wi=wi.return}}function Ni(e){if(e!==wi)return!1;if(!Ei)return Mi(e),Ei=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Jd(e.type,e.memoizedProps)),n=!n),n&&Ti&&Ai(e),Mi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ti=hf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ti=hf(e)}else t===27?(t=Ti,nf(e.type)?(e=mf,mf=null,Ti=e):Ti=t):Ti=wi?pf(e.stateNode.nextSibling):null;return!0}function Pi(){Ti=wi=null,Ei=!1}function K(){var e=Di;return e!==null&&($l===null?$l=e:$l.push.apply($l,e),Di=null),e}function Fi(e){Di===null?Di=[e]:Di.push(e)}var Ii=L(null),Li=null,Ri=null;function zi(e,t,n){R(Ii,t._currentValue),t._currentValue=n}function Bi(e){e._currentValue=Ii.current,te(Ii)}function Vi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Hi(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Vi(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Vi(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Ui(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;mr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===z.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[rp]:e.push(rp))}a=a.return}e!==null&&Hi(t,e,n,r),t.flags|=262144}function Wi(e){for(e=e.firstContext;e!==null;){if(!mr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Gi(e){Li=e,Ri=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ki(e){return Ji(Li,e)}function qi(e,t){return Li===null&&Gi(e),Ji(e,t)}function Ji(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ri===null){if(e===null)throw Error(i(308));Ri=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ri=Ri.next=t;return n}var Yi=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Xi=t.unstable_scheduleCallback,Zi=t.unstable_NormalPriority,Qi={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function $i(){return{controller:new Yi,data:new Map,refCount:0}}function ea(e){e.refCount--,e.refCount===0&&Xi(Zi,function(){e.controller.abort()})}var ta=null,na=0,ra=0,ia=null;function aa(e,t){if(ta===null){var n=ta=[];na=0,ra=md(),ia={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return na++,t.then(oa,oa),t}function oa(){if(--na===0&&ta!==null){ia!==null&&(ia.status=`fulfilled`);var e=ta;ta=null,ra=0,ia=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ca(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var la=N.S;N.S=function(e,t){nu=xe(),typeof t==`object`&&t&&typeof t.then==`function`&&aa(e,t),la!==null&&la(e,t)};var ua=L(null);function da(){var e=ua.current;return e===null?Il.pooledCache:e}function fa(e,t){t===null?R(ua,ua.current):R(ua,t.pool)}function pa(){var e=da();return e===null?null:{parent:Qi._currentValue,pool:e}}var ma=Error(i(460)),ha=Error(i(474)),ga=Error(i(542)),_a={then:function(){}};function va(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ya(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Gt,Gt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ca(e),e;default:if(typeof t.status==`string`)t.then(Gt,Gt);else{if(e=Il,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ca(e),e}throw xa=t,ma}}function ba(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(xa=e,ma):e}}var xa=null;function Sa(){if(xa===null)throw Error(i(459));var e=xa;return xa=null,e}function Ca(e){if(e===ma||e===ga)throw Error(i(483))}var wa=null,Ta=0;function Ea(e){var t=Ta;return Ta+=1,wa===null&&(wa=[]),ya(wa,e,t)}function Da(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Oa(e,t){throw t.$$typeof===p?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function ka(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=ni(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=oi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===g?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===T&&ba(i)===t.type)?(t=a(t,n.props),Da(t,n),t.return=e,t):(t=ii(n.type,n.key,n.props,null,e.mode,r),Da(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=ci(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=ai(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=oi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case m:return n=ii(t.type,t.key,t.props,null,e.mode,n),Da(n,t),n.return=e,n;case h:return t=ci(t,e.mode,n),t.return=e,t;case T:return t=ba(t),f(e,t,n)}if(M(t)||k(t))return t=ai(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ea(t),n);if(t.$$typeof===b)return f(e,qi(e,t),n);Oa(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case m:return n.key===i?l(e,t,n,r):null;case h:return n.key===i?u(e,t,n,r):null;case T:return n=ba(n),p(e,t,n,r)}if(M(n)||k(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ea(n),r);if(n.$$typeof===b)return p(e,t,qi(e,n),r);Oa(e,n)}return null}function _(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case m:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case h:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case T:return r=ba(r),_(e,t,n,r,i)}if(M(r)||k(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return _(e,t,n,Ea(r),i);if(r.$$typeof===b)return _(e,t,n,qi(t,r),i);Oa(t,r)}return null}function v(i,a,s,c){for(var l=null,u=null,d=a,m=a=0,h=null;d!==null&&m<s.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var g=p(i,d,s[m],c);if(g===null){d===null&&(d=h);break}e&&d&&g.alternate===null&&t(i,d),a=o(g,a,m),u===null?l=g:u.sibling=g,u=g,d=h}if(m===s.length)return n(i,d),Ei&&bi(i,m),l;if(d===null){for(;m<s.length;m++)d=f(i,s[m],c),d!==null&&(a=o(d,a,m),u===null?l=d:u.sibling=d,u=d);return Ei&&bi(i,m),l}for(d=r(d);m<s.length;m++)h=_(d,i,m,s[m],c),h!==null&&(e&&h.alternate!==null&&d.delete(h.key===null?m:h.key),a=o(h,a,m),u===null?l=h:u.sibling=h,u=h);return e&&d.forEach(function(e){return t(i,e)}),Ei&&bi(i,m),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,m=s,h=s=0,g=null,v=c.next();m!==null&&!v.done;h++,v=c.next()){m.index>h?(g=m,m=null):g=m.sibling;var y=p(a,m,v.value,l);if(y===null){m===null&&(m=g);break}e&&m&&y.alternate===null&&t(a,m),s=o(y,s,h),d===null?u=y:d.sibling=y,d=y,m=g}if(v.done)return n(a,m),Ei&&bi(a,h),u;if(m===null){for(;!v.done;h++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return Ei&&bi(a,h),u}for(m=r(m);!v.done;h++,v=c.next())v=_(m,a,h,v.value,l),v!==null&&(e&&v.alternate!==null&&m.delete(v.key===null?h:v.key),s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(a,e)}),Ei&&bi(a,h),u}function x(e,r,o,c){if(typeof o==`object`&&o&&o.type===g&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case m:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===g){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===T&&ba(l)===r.type){n(e,r.sibling),c=a(r,o.props),Da(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===g?(c=ai(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ii(o.type,o.key,o.props,null,e.mode,c),Da(c,o),c.return=e,e=c)}return s(e);case h:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=ci(o,e.mode,c),c.return=e,e=c}return s(e);case T:return o=ba(o),x(e,r,o,c)}if(M(o))return v(e,r,o,c);if(k(o)){if(l=k(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return x(e,r,Ea(o),c);if(o.$$typeof===b)return x(e,r,qi(e,o),c);Oa(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=oi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ta=0;var i=x(e,t,n,r);return wa=null,i}catch(t){if(t===ma||t===ga)throw t;var a=ei(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Aa=ka(!0),ja=ka(!1),Ma=!1;function Na(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Fa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Fl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Zr(e),Xr(e,null,n),t}return qr(e,r,t,n),Zr(e)}function La(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,qe(e,n)}}function Ra(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var za=!1;function Ba(){if(za){var e=ia;if(e!==null)throw e}}function Va(e,t,n,r){za=!1;var i=e.updateQueue;Ma=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(Rl&p)===p:(r&p)===p){p!==0&&p===ra&&(za=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:Ma=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Kl|=o,e.lanes=o,e.memoizedState=d}}function Ha(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ua(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ha(n[e],t)}var Wa=L(null),Ga=L(0);function Ka(e,t){e=Wl,R(Ga,e),R(Wa,t),Wl=e|t.baseLanes}function qa(){R(Ga,Wl),R(Wa,Wa.current)}function Ja(){Wl=Ga.current,te(Wa),te(Ga)}var Ya=L(null),Xa=null;function Za(e){var t=e.alternate;R(no,no.current&1),R(Ya,e),Xa===null&&(t===null||Wa.current!==null||t.memoizedState!==null)&&(Xa=e)}function Qa(e){R(no,no.current),R(Ya,e),Xa===null&&(Xa=e)}function $a(e){e.tag===22?(R(no,no.current),R(Ya,e),Xa===null&&(Xa=e)):eo(e)}function eo(){R(no,no.current),R(Ya,Ya.current)}function to(e){te(Ya),Xa===e&&(Xa=null),te(no)}var no=L(0);function ro(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||uf(n)||df(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var io=0,ao=null,oo=null,so=null,co=!1,lo=!1,uo=!1,fo=0,po=0,mo=null,ho=0;function go(){throw Error(i(321))}function _o(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!mr(e[n],t[n]))return!1;return!0}function vo(e,t,n,r,i,a){return io=a,ao=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,N.H=e===null||e.memoizedState===null?Fs:Is,uo=!1,a=n(r,i),uo=!1,lo&&(a=bo(t,n,r,i)),yo(e),a}function yo(e){N.H=Ps;var t=oo!==null&&oo.next!==null;if(io=0,so=oo=ao=null,co=!1,po=0,mo=null,t)throw Error(i(300));e===null||Zs||(e=e.dependencies,e!==null&&Wi(e)&&(Zs=!0))}function bo(e,t,n,r){ao=e;var a=0;do{if(lo&&(mo=null),po=0,lo=!1,25<=a)throw Error(i(301));if(a+=1,so=oo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}N.H=Ls,o=t(n,r)}while(lo);return o}function xo(){var e=N.H,t=e.useState()[0];return t=typeof t.then==`function`?Oo(t):t,e=e.useState()[0],(oo===null?null:oo.memoizedState)!==e&&(ao.flags|=1024),t}function So(){var e=fo!==0;return fo=0,e}function Co(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function wo(e){if(co){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}co=!1}io=0,so=oo=ao=null,lo=!1,po=fo=0,mo=null}function To(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return so===null?ao.memoizedState=so=e:so=so.next=e,so}function Eo(){if(oo===null){var e=ao.alternate;e=e===null?null:e.memoizedState}else e=oo.next;var t=so===null?ao.memoizedState:so.next;if(t!==null)so=t,oo=e;else{if(e===null)throw ao.alternate===null?Error(i(467)):Error(i(310));oo=e,e={memoizedState:oo.memoizedState,baseState:oo.baseState,baseQueue:oo.baseQueue,queue:oo.queue,next:null},so===null?ao.memoizedState=so=e:so=so.next=e}return so}function Do(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Oo(e){var t=po;return po+=1,mo===null&&(mo=[]),e=ya(mo,e,t),t=ao,(so===null?t.memoizedState:so.next)===null&&(t=t.alternate,N.H=t===null||t.memoizedState===null?Fs:Is),e}function ko(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Oo(e);if(e.$$typeof===b)return Ki(e)}throw Error(i(438,String(e)))}function Ao(e){var t=null,n=ao.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=ao.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Do(),ao.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=D;return t.index++,n}function jo(e,t){return typeof t==`function`?t(e):t}function Mo(e){return No(Eo(),oo,e)}function No(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(io&f)===f:(Rl&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===ra&&(d=!0);else if((io&p)===p){u=u.next,p===ra&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,ao.lanes|=p,Kl|=p;f=u.action,uo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,ao.lanes|=f,Kl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!mr(o,e.memoizedState)&&(Zs=!0,d&&(n=ia,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Po(e){var t=Eo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);mr(o,t.memoizedState)||(Zs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Fo(e,t,n){var r=ao,a=Eo(),o=Ei;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!mr((oo||a).memoizedState,n);if(s&&(a.memoizedState=n,Zs=!0),a=a.queue,os(Ro.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||so!==null&&so.memoizedState.tag&1){if(r.flags|=2048,ts(9,{destroy:void 0},Lo.bind(null,r,a,n,t),null),Il===null)throw Error(i(349));o||io&127||Io(r,t,n)}return n}function Io(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ao.updateQueue,t===null?(t=Do(),ao.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Lo(e,t,n,r){t.value=n,t.getSnapshot=r,zo(t)&&Bo(e)}function Ro(e,t,n){return n(function(){zo(t)&&Bo(e)})}function zo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!mr(e,n)}catch{return!0}}function Bo(e){var t=Yr(e,2);t!==null&&_u(t,e,2)}function Vo(e){var t=To();if(typeof e==`function`){var n=e;if(e=n(),uo){je(!0);try{n()}finally{je(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:e},t}function Ho(e,t,n,r){return e.baseState=n,No(e,oo,typeof r==`function`?r:jo)}function Uo(e,t,n,r,a){if(js(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};N.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Wo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Wo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=N.T,o={};N.T=o;try{var s=n(i,r),c=N.S;c!==null&&c(o,s),Go(e,t,s)}catch(n){qo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),N.T=a}}else try{a=n(i,r),Go(e,t,a)}catch(n){qo(e,t,n)}}function Go(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Ko(e,t,n)},function(n){return qo(e,t,n)}):Ko(e,t,n)}function Ko(e,t,n){t.status=`fulfilled`,t.value=n,Jo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Wo(e,n)))}function qo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Jo(t),t=t.next;while(t!==r)}e.action=null}function Jo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Yo(e,t){return t}function Xo(e,t){if(Ei){var n=Il.formState;if(n!==null){a:{var r=ao;if(Ei){if(Ti){b:{for(var i=Ti,a=Oi;i.nodeType!==8;){if(!a){i=null;break b}if(i=pf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ti=pf(i.nextSibling),r=i.data===`F!`;break a}}Ai(r)}r=!1}r&&(t=n[0])}}return n=To(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yo,lastRenderedState:t},n.queue=r,n=Os.bind(null,ao,r),r.dispatch=n,r=Vo(!1),a=As.bind(null,ao,!1,r.queue),r=To(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Uo.bind(null,ao,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Zo(e){return Qo(Eo(),oo,e)}function Qo(e,t,n){if(t=No(e,t,Yo)[0],e=Mo(jo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Oo(t)}catch(e){throw e===ma?ga:e}else r=t;t=Eo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(ao.flags|=2048,ts(9,{destroy:void 0},$o.bind(null,i,n),null)),[r,a,e]}function $o(e,t){e.action=t}function es(e){var t=Eo(),n=oo;if(n!==null)return Qo(t,n,e);Eo(),t=t.memoizedState,n=Eo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ts(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=ao.updateQueue,t===null&&(t=Do(),ao.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ns(){return Eo().memoizedState}function rs(e,t,n,r){var i=To();ao.flags|=e,i.memoizedState=ts(1|t,{destroy:void 0},n,r===void 0?null:r)}function is(e,t,n,r){var i=Eo();r=r===void 0?null:r;var a=i.memoizedState.inst;oo!==null&&r!==null&&_o(r,oo.memoizedState.deps)?i.memoizedState=ts(t,a,n,r):(ao.flags|=e,i.memoizedState=ts(1|t,a,n,r))}function as(e,t){rs(8390656,8,e,t)}function os(e,t){is(2048,8,e,t)}function ss(e){ao.flags|=4;var t=ao.updateQueue;if(t===null)t=Do(),ao.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function cs(e){var t=Eo().memoizedState;return ss({ref:t,nextImpl:e}),function(){if(Fl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function ls(e,t){return is(4,2,e,t)}function us(e,t){return is(4,4,e,t)}function ds(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function fs(e,t,n){n=n==null?null:n.concat([e]),is(4,4,ds.bind(null,t,e),n)}function ps(){}function ms(e,t){var n=Eo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&_o(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function hs(e,t){var n=Eo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&_o(t,r[1]))return r[0];if(r=e(),uo){je(!0);try{e()}finally{je(!1)}}return n.memoizedState=[r,t],r}function gs(e,t,n){return n===void 0||io&1073741824&&!(Rl&261930)?e.memoizedState=t:(e.memoizedState=n,e=gu(),ao.lanes|=e,Kl|=e,n)}function _s(e,t,n,r){return mr(n,t)?n:Wa.current===null?!(io&42)||io&1073741824&&!(Rl&261930)?(Zs=!0,e.memoizedState=n):(e=gu(),ao.lanes|=e,Kl|=e,t):(e=gs(e,n,r),mr(e,t)||(Zs=!0),e)}function vs(e,t,n,r,i){var a=P.p;P.p=a!==0&&8>a?a:8;var o=N.T,s={};N.T=s,As(e,!1,t,n);try{var c=i(),l=N.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?ks(e,t,ca(c,r),hu(e)):ks(e,t,r,hu(e))}catch(n){ks(e,t,{then:function(){},status:`rejected`,reason:n},hu())}finally{P.p=a,o!==null&&s.types!==null&&(o.types=s.types),N.T=o}}function ys(){}function bs(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=xs(e).queue;vs(e,a,t,F,n===null?ys:function(){return Ss(e),n(r)})}function xs(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:F,baseState:F,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:F},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ss(e){var t=xs(e);t.next===null&&(t=e.alternate.memoizedState),ks(e,t.next.queue,{},hu())}function Cs(){return Ki(rp)}function ws(){return Eo().memoizedState}function Ts(){return Eo().memoizedState}function Es(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=hu();e=Fa(n);var r=Ia(t,e,n);r!==null&&(_u(r,t,n),La(r,t,n)),t={cache:$i()},e.payload=t;return}t=t.return}}function Ds(e,t,n){var r=hu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},js(e)?Ms(t,n):(n=Jr(e,t,n,r),n!==null&&(_u(n,e,r),Ns(n,t,r)))}function Os(e,t,n){ks(e,t,n,hu())}function ks(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(js(e))Ms(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,mr(s,o))return qr(e,t,i,0),Il===null&&Kr(),!1}catch{}if(n=Jr(e,t,i,r),n!==null)return _u(n,e,r),Ns(n,t,r),!0}return!1}function As(e,t,n,r){if(r={lane:2,revertLane:md(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},js(e)){if(t)throw Error(i(479))}else t=Jr(e,n,r,2),t!==null&&_u(t,e,2)}function js(e){var t=e.alternate;return e===ao||t!==null&&t===ao}function Ms(e,t){lo=co=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ns(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,qe(e,n)}}var Ps={readContext:Ki,use:ko,useCallback:go,useContext:go,useEffect:go,useImperativeHandle:go,useLayoutEffect:go,useInsertionEffect:go,useMemo:go,useReducer:go,useRef:go,useState:go,useDebugValue:go,useDeferredValue:go,useTransition:go,useSyncExternalStore:go,useId:go,useHostTransitionStatus:go,useFormState:go,useActionState:go,useOptimistic:go,useMemoCache:go,useCacheRefresh:go};Ps.useEffectEvent=go;var Fs={readContext:Ki,use:ko,useCallback:function(e,t){return To().memoizedState=[e,t===void 0?null:t],e},useContext:Ki,useEffect:as,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),rs(4194308,4,ds.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rs(4194308,4,e,t)},useInsertionEffect:function(e,t){rs(4,2,e,t)},useMemo:function(e,t){var n=To();t=t===void 0?null:t;var r=e();if(uo){je(!0);try{e()}finally{je(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=To();if(n!==void 0){var i=n(t);if(uo){je(!0);try{n(t)}finally{je(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ds.bind(null,ao,e),[r.memoizedState,e]},useRef:function(e){var t=To();return e={current:e},t.memoizedState=e},useState:function(e){e=Vo(e);var t=e.queue,n=Os.bind(null,ao,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ps,useDeferredValue:function(e,t){return gs(To(),e,t)},useTransition:function(){var e=Vo(!1);return e=vs.bind(null,ao,e.queue,!0,!1),To().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=ao,a=To();if(Ei){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Il===null)throw Error(i(349));Rl&127||Io(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,as(Ro.bind(null,r,o,e),[e]),r.flags|=2048,ts(9,{destroy:void 0},Lo.bind(null,r,o,n,t),null),n},useId:function(){var e=To(),t=Il.identifierPrefix;if(Ei){var n=yi,r=vi;n=(r&~(1<<32-V(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=fo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=ho++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Cs,useFormState:Xo,useActionState:Xo,useOptimistic:function(e){var t=To();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=As.bind(null,ao,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ao,useCacheRefresh:function(){return To().memoizedState=Es.bind(null,ao)},useEffectEvent:function(e){var t=To(),n={impl:e};return t.memoizedState=n,function(){if(Fl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Is={readContext:Ki,use:ko,useCallback:ms,useContext:Ki,useEffect:os,useImperativeHandle:fs,useInsertionEffect:ls,useLayoutEffect:us,useMemo:hs,useReducer:Mo,useRef:ns,useState:function(){return Mo(jo)},useDebugValue:ps,useDeferredValue:function(e,t){return _s(Eo(),oo.memoizedState,e,t)},useTransition:function(){var e=Mo(jo)[0],t=Eo().memoizedState;return[typeof e==`boolean`?e:Oo(e),t]},useSyncExternalStore:Fo,useId:ws,useHostTransitionStatus:Cs,useFormState:Zo,useActionState:Zo,useOptimistic:function(e,t){return Ho(Eo(),oo,e,t)},useMemoCache:Ao,useCacheRefresh:Ts};Is.useEffectEvent=cs;var Ls={readContext:Ki,use:ko,useCallback:ms,useContext:Ki,useEffect:os,useImperativeHandle:fs,useInsertionEffect:ls,useLayoutEffect:us,useMemo:hs,useReducer:Po,useRef:ns,useState:function(){return Po(jo)},useDebugValue:ps,useDeferredValue:function(e,t){var n=Eo();return oo===null?gs(n,e,t):_s(n,oo.memoizedState,e,t)},useTransition:function(){var e=Po(jo)[0],t=Eo().memoizedState;return[typeof e==`boolean`?e:Oo(e),t]},useSyncExternalStore:Fo,useId:ws,useHostTransitionStatus:Cs,useFormState:es,useActionState:es,useOptimistic:function(e,t){var n=Eo();return oo===null?(n.baseState=e,[e,n.queue.dispatch]):Ho(n,oo,e,t)},useMemoCache:Ao,useCacheRefresh:Ts};Ls.useEffectEvent=cs;function Rs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var zs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=hu(),i=Fa(r);i.payload=t,n!=null&&(i.callback=n),t=Ia(e,i,r),t!==null&&(_u(t,e,r),La(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=hu(),i=Fa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ia(e,i,r),t!==null&&(_u(t,e,r),La(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=hu(),r=Fa(n);r.tag=2,t!=null&&(r.callback=t),t=Ia(e,r,n),t!==null&&(_u(t,e,n),La(t,e,n))}};function Bs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!hr(n,r)||!hr(i,a):!0}function Vs(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&zs.enqueueReplaceState(t,t.state,null)}function Hs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Us(e){Hr(e)}function q(e){console.error(e)}function Ws(e){Hr(e)}function Gs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Ks(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function qs(e,t,n){return n=Fa(n),n.tag=3,n.payload={element:null},n.callback=function(){Gs(e,t)},n}function Js(e){return e=Fa(e),e.tag=3,e}function Ys(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Ks(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Ks(t,n,r),typeof i!=`function`&&(au===null?au=new Set([this]):au.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Xs(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Ui(t,n,a,!0),n=Ya.current,n!==null){switch(n.tag){case 31:case 13:return Xa===null?ku():n.alternate===null&&Gl===0&&(Gl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===_a?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ju(e,r,a)),!1;case 22:return n.flags|=65536,r===_a?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Ju(e,r,a)),!1}throw Error(i(435,n.tag))}return Ju(e,r,a),ku(),!1}if(Ei)return t=Ya.current,t===null?(r!==ki&&(t=Error(i(423),{cause:r}),Fi(ui(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=ui(r,n),a=qs(e.stateNode,r,a),Ra(e,a),Gl!==4&&(Gl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==ki&&(e=Error(i(422),{cause:r}),Fi(ui(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=ui(o,n),Ql===null?Ql=[o]:Ql.push(o),Gl!==4&&(Gl=2),t===null)return!0;r=ui(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=qs(n.stateNode,r,e),Ra(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(au===null||!au.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Js(a),Ys(a,e,n,r),Ra(n,a),!1}n=n.return}while(n!==null);return!1}var J=Error(i(461)),Zs=!1;function Qs(e,t,n,r){t.child=e===null?ja(t,null,n,r):Aa(t,e.child,n,r)}function $s(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Gi(t),r=vo(e,t,n,o,a,i),s=So(),e!==null&&!Zs?(Co(e,t,i),Cc(e,t,i)):(Ei&&s&&G(t),t.flags|=1,Qs(e,t,r,i),t.child)}function ec(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ti(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,tc(e,t,a,r,i)):(e=ii(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!wc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?hr:n,n(o,r)&&e.ref===t.ref)return Cc(e,t,i)}return t.flags|=1,e=ni(a,r),e.ref=t.ref,e.return=t,t.child=e}function tc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(hr(a,r)&&e.ref===t.ref)if(Zs=!1,t.pendingProps=r=a,wc(e,i))e.flags&131072&&(Zs=!0);else return t.lanes=e.lanes,Cc(e,t,i)}return lc(e,t,n,r,i)}function nc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return ic(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&fa(t,a===null?null:a.cachePool),a===null?qa():Ka(t,a),$a(t);else return r=t.lanes=536870912,ic(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&fa(t,null),qa(),eo(t)):(fa(t,a.cachePool),Ka(t,a),eo(t),t.memoizedState=null);return Qs(e,t,i,n),t.child}function rc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ic(e,t,n,r,i){var a=da();return a=a===null?null:{parent:Qi._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&fa(t,null),qa(),$a(t),e!==null&&Ui(e,t,r,!0),t.childLanes=i,null}function ac(e,t){return t=vc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function oc(e,t,n){return Aa(t,e.child,null,n),e=ac(t,t.pendingProps),e.flags|=2,to(t),t.memoizedState=null,e}function sc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(Ei){if(r.mode===`hidden`)return e=ac(t,r),t.lanes=536870912,rc(null,e);if(Qa(t),(e=Ti)?(e=lf(e,Oi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:_i===null?null:{id:vi,overflow:yi},retryLane:536870912,hydrationErrors:null},n=si(e),n.return=t,t.child=n,wi=t,Ti=null)):e=null,e===null)throw Ai(t);return t.lanes=536870912,null}return ac(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(Qa(t),a)if(t.flags&256)t.flags&=-257,t=oc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(Zs||Ui(e,t,n,!1),a=(n&e.childLanes)!==0,Zs||a){if(r=Il,r!==null&&(s=Je(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,Yr(e,s),_u(r,e,s),J;ku(),t=oc(e,t,n)}else e=o.treeContext,Ti=pf(s.nextSibling),wi=t,Ei=!0,Di=null,Oi=!1,e!==null&&Ci(t,e),t=ac(t,r),t.flags|=4096;return t}return e=ni(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function cc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function lc(e,t,n,r,i){return Gi(t),n=vo(e,t,n,r,void 0,i),r=So(),e!==null&&!Zs?(Co(e,t,i),Cc(e,t,i)):(Ei&&r&&G(t),t.flags|=1,Qs(e,t,n,i),t.child)}function uc(e,t,n,r,i,a){return Gi(t),t.updateQueue=null,n=bo(t,r,n,i),yo(e),r=So(),e!==null&&!Zs?(Co(e,t,a),Cc(e,t,a)):(Ei&&r&&G(t),t.flags|=1,Qs(e,t,n,a),t.child)}function dc(e,t,n,r,i){if(Gi(t),t.stateNode===null){var a=Qr,o=n.contextType;typeof o==`object`&&o&&(a=Ki(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=zs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Na(t),o=n.contextType,a.context=typeof o==`object`&&o?Ki(o):Qr,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Rs(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&zs.enqueueReplaceState(a,a.state,null),Va(t,r,a,i),Ba(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Hs(n,s);a.props=c;var l=a.context,u=n.contextType;o=Qr,typeof u==`object`&&u&&(o=Ki(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Vs(t,a,r,o),Ma=!1;var f=t.memoizedState;a.state=f,Va(t,r,a,i),Ba(),l=t.memoizedState,s||f!==l||Ma?(typeof d==`function`&&(Rs(t,n,d,r),l=t.memoizedState),(c=Ma||Bs(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Pa(e,t),o=t.memoizedProps,u=Hs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=Qr,typeof l==`object`&&l&&(c=Ki(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Vs(t,a,r,c),Ma=!1,f=t.memoizedState,a.state=f,Va(t,r,a,i),Ba();var p=t.memoizedState;o!==d||f!==p||Ma||e!==null&&e.dependencies!==null&&Wi(e.dependencies)?(typeof s==`function`&&(Rs(t,n,s,r),p=t.memoizedState),(u=Ma||Bs(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Wi(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,cc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Aa(t,e.child,null,i),t.child=Aa(t,null,n,i)):Qs(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Cc(e,t,i),e}function fc(e,t,n,r){return Pi(),t.flags|=256,Qs(e,t,n,r),t.child}var pc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function mc(e){return{baseLanes:e,cachePool:pa()}}function hc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Yl),e}function gc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(no.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(Ei){if(a?Za(t):eo(t),(e=Ti)?(e=lf(e,Oi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:_i===null?null:{id:vi,overflow:yi},retryLane:536870912,hydrationErrors:null},n=si(e),n.return=t,t.child=n,wi=t,Ti=null)):e=null,e===null)throw Ai(t);return df(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(eo(t),a=t.mode,c=vc({mode:`hidden`,children:c},a),r=ai(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=mc(n),r.childLanes=hc(e,s,n),t.memoizedState=pc,rc(null,r)):(Za(t),_c(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(Za(t),t.flags&=-257,t=yc(e,t,n)):t.memoizedState===null?(eo(t),c=r.fallback,a=t.mode,r=vc({mode:`visible`,children:r.children},a),c=ai(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Aa(t,e.child,null,n),r=t.child,r.memoizedState=mc(n),r.childLanes=hc(e,s,n),t.memoizedState=pc,t=rc(null,r)):(eo(t),t.child=e.child,t.flags|=128,t=null);else if(Za(t),df(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Fi({value:r,source:null,stack:null}),t=yc(e,t,n)}else if(Zs||Ui(e,t,n,!1),s=(n&e.childLanes)!==0,Zs||s){if(s=Il,s!==null&&(r=Je(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,Yr(e,r),_u(s,e,r),J;uf(c)||ku(),t=yc(e,t,n)}else uf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ti=pf(c.nextSibling),wi=t,Ei=!0,Di=null,Oi=!1,e!==null&&Ci(t,e),t=_c(t,r.children),t.flags|=4096);return t}return a?(eo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=ni(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=ai(c,a,n,null),c.flags|=2):c=ni(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,rc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=mc(n):(a=c.cachePool,a===null?a=pa():(l=Qi._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=hc(e,s,n),t.memoizedState=pc,rc(e.child,r)):(Za(t),n=e.child,e=n.sibling,n=ni(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function _c(e,t){return t=vc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function vc(e,t){return e=ei(22,e,null,t),e.lanes=0,e}function yc(e,t,n){return Aa(t,e.child,null,n),e=_c(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function bc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Vi(e.return,t,n)}function xc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Sc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=no.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,R(no,o),Qs(e,t,r,n),r=Ei?mi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bc(e,n,t);else if(e.tag===19)bc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ro(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),xc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ro(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}xc(t,!0,n,null,a,r);break;case`together`:xc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Cc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ui(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=ni(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ni(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function wc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Wi(e))):!0}function Tc(e,t,n){switch(t.tag){case 3:ae(t,t.stateNode.containerInfo),zi(t,Qi,e.memoizedState.cache),Pi();break;case 27:case 5:se(t);break;case 4:ae(t,t.stateNode.containerInfo);break;case 10:zi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Qa(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Za(t),e=Cc(e,t,n),e===null?null:e.sibling):gc(e,t,n):(Za(t),t.flags|=128,null);Za(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Ui(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Sc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),R(no,no.current),r)break;return null;case 22:return t.lanes=0,nc(e,t,n,t.pendingProps);case 24:zi(t,Qi,e.memoizedState.cache)}return Cc(e,t,n)}function Ec(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Zs=!0;else{if(!wc(e,n)&&!(t.flags&128))return Zs=!1,Tc(e,t,n);Zs=!!(e.flags&131072)}else Zs=!1,Ei&&t.flags&1048576&&xi(t,mi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=ba(t.elementType),t.type=e,typeof e==`function`)ti(e)?(r=Hs(e,r),t.tag=1,t=dc(null,t,e,r,n)):(t.tag=0,t=lc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===x){t.tag=11,t=$s(null,t,e,r,n);break a}else if(a===w){t.tag=14,t=ec(null,t,e,r,n);break a}}throw t=j(e)||e,Error(i(306,t,``))}}return t;case 0:return lc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Hs(r,t.pendingProps),dc(e,t,r,a,n);case 3:a:{if(ae(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Pa(e,t),Va(t,r,null,n);var s=t.memoizedState;if(r=s.cache,zi(t,Qi,r),r!==o.cache&&Hi(t,[Qi],n,!0),Ba(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=fc(e,t,r,n);break a}else if(r!==a){a=ui(Error(i(424)),t),Fi(a),t=fc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Ti=pf(e.firstChild),wi=t,Ei=!0,Di=null,Oi=!0,n=ja(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Pi(),r===a){t=Cc(e,t,n);break a}Qs(e,t,r,n)}t=t.child}return t;case 26:return cc(e,t),e===null?(n=Pf(t.type,null,t.pendingProps,null))?t.memoizedState=n:Ei||(n=t.type,e=t.pendingProps,r=Gd(ie.current).createElement(n),r[$e]=t,r[et]=e,zd(r,n,e),dt(r),t.stateNode=r):t.memoizedState=Pf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&Ei&&(r=t.stateNode=_f(t.type,t.pendingProps,ie.current),wi=t,Oi=!0,a=Ti,nf(t.type)?(mf=a,Ti=pf(r.firstChild)):Ti=a),Qs(e,t,t.pendingProps.children,n),cc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ei&&((a=r=Ti)&&(r=sf(r,t.type,t.pendingProps,Oi),r===null?a=!1:(t.stateNode=r,wi=t,Ti=pf(r.firstChild),Oi=!1,a=!0)),a||Ai(t)),se(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Jd(a,o)?r=null:s!==null&&Jd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=vo(e,t,xo,null,null,n),rp._currentValue=a),cc(e,t),Qs(e,t,r,n),t.child;case 6:return e===null&&Ei&&((e=n=Ti)&&(n=cf(n,t.pendingProps,Oi),n===null?e=!1:(t.stateNode=n,wi=t,Ti=null,e=!0)),e||Ai(t)),null;case 13:return gc(e,t,n);case 4:return ae(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Aa(t,null,r,n):Qs(e,t,r,n),t.child;case 11:return $s(e,t,t.type,t.pendingProps,n);case 7:return Qs(e,t,t.pendingProps,n),t.child;case 8:return Qs(e,t,t.pendingProps.children,n),t.child;case 12:return Qs(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,zi(t,t.type,r.value),Qs(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,Gi(t),a=Ki(a),r=r(a),t.flags|=1,Qs(e,t,r,n),t.child;case 14:return ec(e,t,t.type,t.pendingProps,n);case 15:return tc(e,t,t.type,t.pendingProps,n);case 19:return Sc(e,t,n);case 31:return sc(e,t,n);case 22:return nc(e,t,n,t.pendingProps);case 24:return Gi(t),r=Ki(Qi),e===null?(a=da(),a===null&&(a=Il,o=$i(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Na(t),zi(t,Qi,a)):((e.lanes&n)!==0&&(Pa(e,t),Va(t,null,null,n),Ba()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,zi(t,Qi,r),r!==a.cache&&Hi(t,[Qi],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),zi(t,Qi,r))),Qs(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Dc(e){e.flags|=4}function Oc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Eu())e.flags|=8192;else throw xa=_a,ha}else e.flags&=-16777217}function kc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Yf(t))if(Eu())e.flags|=8192;else throw xa=_a,ha}function Ac(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:He(),e.lanes|=t,Zl|=t)}function jc(e,t){if(!Ei)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Mc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Nc(e,t,n){var r=t.pendingProps;switch(Si(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Mc(t),null;case 1:return Mc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Bi(Qi),oe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ni(t)?Dc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,K())),Mc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Dc(t),o===null?(Mc(t),Oc(t,a,null,r,n)):(Mc(t),kc(t,o))):o?o===e.memoizedState?(Mc(t),t.flags&=-16777217):(Dc(t),Mc(t),kc(t,o)):(e=e.memoizedProps,e!==r&&Dc(t),Mc(t),Oc(t,a,e,r,n)),null;case 27:if(ce(t),n=ie.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Dc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Mc(t),null}e=ne.current,Ni(t)?ji(t,e):(e=_f(a,r,n),t.stateNode=e,Dc(t))}return Mc(t),null;case 5:if(ce(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Dc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Mc(t),null}if(o=ne.current,Ni(t))ji(t,o);else{var s=Gd(ie.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[$e]=t,o[et]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(zd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Dc(t)}}return Mc(t),Oc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Dc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ie.current,Ni(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=wi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[$e]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Id(e.nodeValue,n)),e||Ai(t,!0)}else e=Gd(e).createTextNode(r),e[$e]=t,t.stateNode=e}return Mc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ni(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[$e]=t}else Pi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Mc(t),e=!1}else n=K(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(to(t),t):(to(t),null);if(t.flags&128)throw Error(i(558))}return Mc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ni(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[$e]=t}else Pi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Mc(t),a=!1}else a=K(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(to(t),t):(to(t),null)}return to(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ac(t,t.updateQueue),Mc(t),null);case 4:return oe(),e===null&&Ed(t.stateNode.containerInfo),Mc(t),null;case 10:return Bi(t.type),Mc(t),null;case 19:if(te(no),r=t.memoizedState,r===null)return Mc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)jc(r,!1);else{if(Gl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ro(e),o!==null){for(t.flags|=128,jc(r,!1),e=o.updateQueue,t.updateQueue=e,Ac(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ri(n,e),n=n.sibling;return R(no,no.current&1|2),Ei&&bi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&xe()>ru&&(t.flags|=128,a=!0,jc(r,!1),t.lanes=4194304)}else{if(!a)if(e=ro(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Ac(t,e),jc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!Ei)return Mc(t),null}else 2*xe()-r.renderingStartTime>ru&&n!==536870912&&(t.flags|=128,a=!0,jc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Mc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=xe(),e.sibling=null,n=no.current,R(no,a?n&1|2:n&1),Ei&&bi(t,r.treeForkCount),e);case 22:case 23:return to(t),Ja(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Mc(t),t.subtreeFlags&6&&(t.flags|=8192)):Mc(t),n=t.updateQueue,n!==null&&Ac(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&te(ua),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Bi(Qi),Mc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Pc(e,t){switch(Si(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Bi(Qi),oe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ce(t),null;case 31:if(t.memoizedState!==null){if(to(t),t.alternate===null)throw Error(i(340));Pi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(to(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Pi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return te(no),null;case 4:return oe(),null;case 10:return Bi(t.type),null;case 22:case 23:return to(t),Ja(),e!==null&&te(ua),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Bi(Qi),null;case 25:return null;default:return null}}function Fc(e,t){switch(Si(t),t.tag){case 3:Bi(Qi),oe();break;case 26:case 27:case 5:ce(t);break;case 4:oe();break;case 31:t.memoizedState!==null&&to(t);break;case 13:to(t);break;case 19:te(no);break;case 10:Bi(t.type);break;case 22:case 23:to(t),Ja(),e!==null&&te(ua);break;case 24:Bi(Qi)}}function Ic(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){qu(t,t.return,e)}}function Lc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){qu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){qu(t,t.return,e)}}function Rc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ua(t,n)}catch(t){qu(e,e.return,t)}}}function zc(e,t,n){n.props=Hs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){qu(e,t,n)}}function Bc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){qu(e,t,n)}}function Vc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){qu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){qu(e,t,n)}else n.current=null}function Hc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){qu(e,e.return,t)}}function Uc(e,t,n){try{var r=e.stateNode;Bd(r,e.type,n,t),r[et]=t}catch(t){qu(e,e.return,t)}}function Wc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&nf(e.type)||e.tag===4}function Gc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Wc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&nf(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Kc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Gt));else if(r!==4&&(r===27&&nf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Kc(e,t,n),e=e.sibling;e!==null;)Kc(e,t,n),e=e.sibling}function qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&nf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(qc(e,t,n),e=e.sibling;e!==null;)qc(e,t,n),e=e.sibling}function Jc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);zd(t,r,n),t[$e]=e,t[et]=n}catch(t){qu(e,e.return,t)}}var Yc=!1,Xc=!1,Zc=!1,Qc=typeof WeakSet==`function`?WeakSet:Set,$c=null;function el(e,t){if(e=e.containerInfo,Ud=fp,e=yr(e),br(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Wd={focusedElem:e,selectionRange:n},fp=!1,$c=t;$c!==null;)if(t=$c,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,$c=e;else for(;$c!==null;){switch(t=$c,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Hs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){qu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)of(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:of(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,$c=e;break}$c=t.return}}function tl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:gl(e,n),r&4&&Ic(5,n);break;case 1:if(gl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){qu(n,n.return,e)}else{var i=Hs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){qu(n,n.return,e)}}r&64&&Rc(n),r&512&&Bc(n,n.return);break;case 3:if(gl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Ua(e,t)}catch(e){qu(n,n.return,e)}}break;case 27:t===null&&r&4&&Jc(n);case 26:case 5:gl(e,n),t===null&&r&4&&Hc(n),r&512&&Bc(n,n.return);break;case 12:gl(e,n);break;case 31:gl(e,n),r&4&&sl(e,n);break;case 13:gl(e,n),r&4&&cl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Zu.bind(null,n),ff(e,n))));break;case 22:if(r=n.memoizedState!==null||Yc,!r){t=t!==null&&t.memoizedState!==null||Xc,i=Yc;var a=Xc;Yc=r,(Xc=t)&&!a?vl(e,n,(n.subtreeFlags&8772)!=0):gl(e,n),Yc=i,Xc=a}break;case 30:break;default:gl(e,n)}}function nl(e){var t=e.alternate;t!==null&&(e.alternate=null,nl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&st(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var rl=null,il=!1;function al(e,t,n){for(n=n.child;n!==null;)ol(e,t,n),n=n.sibling}function ol(e,t,n){if(Ae&&typeof Ae.onCommitFiberUnmount==`function`)try{Ae.onCommitFiberUnmount(ke,n)}catch{}switch(n.tag){case 26:Xc||Vc(n,t),al(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Xc||Vc(n,t);var r=rl,i=il;nf(n.type)&&(rl=n.stateNode,il=!1),al(e,t,n),vf(n.stateNode),rl=r,il=i;break;case 5:Xc||Vc(n,t);case 6:if(r=rl,i=il,rl=null,al(e,t,n),rl=r,il=i,rl!==null)if(il)try{(rl.nodeType===9?rl.body:rl.nodeName===`HTML`?rl.ownerDocument.body:rl).removeChild(n.stateNode)}catch(e){qu(n,t,e)}else try{rl.removeChild(n.stateNode)}catch(e){qu(n,t,e)}break;case 18:rl!==null&&(il?(e=rl,rf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Rp(e)):rf(rl,n.stateNode));break;case 4:r=rl,i=il,rl=n.stateNode.containerInfo,il=!0,al(e,t,n),rl=r,il=i;break;case 0:case 11:case 14:case 15:Lc(2,n,t),Xc||Lc(4,n,t),al(e,t,n);break;case 1:Xc||(Vc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&zc(n,t,r)),al(e,t,n);break;case 21:al(e,t,n);break;case 22:Xc=(r=Xc)||n.memoizedState!==null,al(e,t,n),Xc=r;break;default:al(e,t,n)}}function sl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Rp(e)}catch(e){qu(t,t.return,e)}}}function cl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Rp(e)}catch(e){qu(t,t.return,e)}}function ll(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Qc),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Qc),t;default:throw Error(i(435,e.tag))}}function ul(e,t){var n=ll(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Qu.bind(null,e,t);t.then(r,r)}})}function dl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(nf(c.type)){rl=c.stateNode,il=!1;break a}break;case 5:rl=c.stateNode,il=!1;break a;case 3:case 4:rl=c.stateNode.containerInfo,il=!0;break a}c=c.return}if(rl===null)throw Error(i(160));ol(o,s,a),rl=null,il=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)pl(t,e),t=t.sibling}var fl=null;function pl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:dl(t,e),ml(e),r&4&&(Lc(3,e,e.return),Ic(3,e),Lc(5,e,e.return));break;case 1:dl(t,e),ml(e),r&512&&(Xc||n===null||Vc(n,n.return)),r&64&&Yc&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=fl;if(dl(t,e),ml(e),r&512&&(Xc||n===null||Vc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[ot]||o[$e]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),zd(o,r,n),o[$e]=e,dt(o),r=o;break a;case`link`:var s=Kf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),zd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Kf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),zd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[$e]=e,dt(o),r=o}e.stateNode=r}else qf(a,e.type,e.stateNode);else e.stateNode=Vf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Uc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?qf(a,e.type,e.stateNode):Vf(a,r,e.memoizedProps))}break;case 27:dl(t,e),ml(e),r&512&&(Xc||n===null||Vc(n,n.return)),n!==null&&r&4&&Uc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(dl(t,e),ml(e),r&512&&(Xc||n===null||Vc(n,n.return)),e.flags&32){a=e.stateNode;try{Lt(a,``)}catch(t){qu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Uc(e,a,n===null?a:n.memoizedProps)),r&1024&&(Zc=!0);break;case 6:if(dl(t,e),ml(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){qu(e,e.return,t)}}break;case 3:if(Gf=null,a=fl,fl=xf(t.containerInfo),dl(t,e),fl=a,ml(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Rp(t.containerInfo)}catch(t){qu(e,e.return,t)}Zc&&(Zc=!1,hl(e));break;case 4:r=fl,fl=xf(e.stateNode.containerInfo),dl(t,e),ml(e),fl=r;break;case 12:dl(t,e),ml(e);break;case 31:dl(t,e),ml(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,ul(e,r)));break;case 13:dl(t,e),ml(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(tu=xe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,ul(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=Yc,d=Xc;if(Yc=u||a,Xc=d||l,dl(t,e),Xc=d,Yc=u,ml(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||Yc||Xc||_l(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){qu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){qu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?af(m,!0):af(l.stateNode,!1)}catch(e){qu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,ul(e,n))));break;case 19:dl(t,e),ml(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,ul(e,r)));break;case 30:break;case 21:break;default:dl(t,e),ml(e)}}function ml(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Wc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;qc(e,Gc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Lt(o,``),n.flags&=-33),qc(e,Gc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Kc(e,Gc(e),s);break;default:throw Error(i(161))}}catch(t){qu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;hl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function gl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)tl(e,t.alternate,t),t=t.sibling}function _l(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Lc(4,t,t.return),_l(t);break;case 1:Vc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&zc(t,t.return,n),_l(t);break;case 27:vf(t.stateNode);case 26:case 5:Vc(t,t.return),_l(t);break;case 22:t.memoizedState===null&&_l(t);break;case 30:_l(t);break;default:_l(t)}e=e.sibling}}function vl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:vl(i,a,n),Ic(4,a);break;case 1:if(vl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){qu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Ha(c[i],s)}catch(e){qu(r,r.return,e)}}n&&o&64&&Rc(a),Bc(a,a.return);break;case 27:Jc(a);case 26:case 5:vl(i,a,n),n&&r===null&&o&4&&Hc(a),Bc(a,a.return);break;case 12:vl(i,a,n);break;case 31:vl(i,a,n),n&&o&4&&sl(i,a);break;case 13:vl(i,a,n),n&&o&4&&cl(i,a);break;case 22:a.memoizedState===null&&vl(i,a,n),Bc(a,a.return);break;case 30:break;default:vl(i,a,n)}t=t.sibling}}function yl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ea(n))}function bl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ea(e))}function xl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Sl(e,t,n,r),t=t.sibling}function Sl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:xl(e,t,n,r),i&2048&&Ic(9,t);break;case 1:xl(e,t,n,r);break;case 3:xl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ea(e)));break;case 12:if(i&2048){xl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){qu(t,t.return,e)}}else xl(e,t,n,r);break;case 31:xl(e,t,n,r);break;case 13:xl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?xl(e,t,n,r):(a._visibility|=2,Cl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?xl(e,t,n,r):wl(e,t),i&2048&&yl(o,t);break;case 24:xl(e,t,n,r),i&2048&&bl(t.alternate,t);break;default:xl(e,t,n,r)}}function Cl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Cl(a,o,s,c,i),Ic(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Cl(a,o,s,c,i)):u._visibility&2?Cl(a,o,s,c,i):wl(a,o),i&&l&2048&&yl(o.alternate,o);break;case 24:Cl(a,o,s,c,i),i&&l&2048&&bl(o.alternate,o);break;default:Cl(a,o,s,c,i)}t=t.sibling}}function wl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:wl(n,r),i&2048&&yl(r.alternate,r);break;case 24:wl(n,r),i&2048&&bl(r.alternate,r);break;default:wl(n,r)}t=t.sibling}}var Tl=8192;function El(e,t,n){if(e.subtreeFlags&Tl)for(e=e.child;e!==null;)Dl(e,t,n),e=e.sibling}function Dl(e,t,n){switch(e.tag){case 26:El(e,t,n),e.flags&Tl&&e.memoizedState!==null&&Xf(n,fl,e.memoizedState,e.memoizedProps);break;case 5:El(e,t,n);break;case 3:case 4:var r=fl;fl=xf(e.stateNode.containerInfo),El(e,t,n),fl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Tl,Tl=16777216,El(e,t,n),Tl=r):El(e,t,n));break;default:El(e,t,n)}}function Ol(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function kl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];$c=r,Ml(r,e)}Ol(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Al(e),e=e.sibling}function Al(e){switch(e.tag){case 0:case 11:case 15:kl(e),e.flags&2048&&Lc(9,e,e.return);break;case 3:kl(e);break;case 12:kl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,jl(e)):kl(e);break;default:kl(e)}}function jl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];$c=r,Ml(r,e)}Ol(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Lc(8,t,t.return),jl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,jl(t));break;default:jl(t)}e=e.sibling}}function Ml(e,t){for(;$c!==null;){var n=$c;switch(n.tag){case 0:case 11:case 15:Lc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ea(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,$c=r;else a:for(n=e;$c!==null;){r=$c;var i=r.sibling,a=r.return;if(nl(r),r===n){$c=null;break a}if(i!==null){i.return=a,$c=i;break a}$c=a}}}var Nl={getCacheForType:function(e){var t=Ki(Qi),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ki(Qi).controller.signal}},Pl=typeof WeakMap==`function`?WeakMap:Map,Fl=0,Il=null,Ll=null,Rl=0,zl=0,Bl=null,Vl=!1,Hl=!1,Ul=!1,Wl=0,Gl=0,Kl=0,ql=0,Jl=0,Yl=0,Zl=0,Ql=null,$l=null,eu=!1,tu=0,nu=0,ru=1/0,iu=null,au=null,ou=0,su=null,cu=null,lu=0,uu=0,du=null,fu=null,pu=0,mu=null;function hu(){return Fl&2&&Rl!==0?Rl&-Rl:N.T===null?Xe():md()}function gu(){if(Yl===0)if(!(Rl&536870912)||Ei){var e=Ie;Ie<<=1,!(Ie&3932160)&&(Ie=262144),Yl=e}else Yl=536870912;return e=Ya.current,e!==null&&(e.flags|=32),Yl}function _u(e,t,n){(e===Il&&(zl===2||zl===9)||e.cancelPendingCommit!==null)&&(wu(e,0),xu(e,Rl,Yl,!1)),We(e,n),(!(Fl&2)||e!==Il)&&(e===Il&&(!(Fl&2)&&(ql|=n),Gl===4&&xu(e,Rl,Yl,!1)),od(e))}function vu(e,t,n){if(Fl&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Be(e,t),a=r?Mu(e,t):Au(e,t,!0),o=r;do{if(a===0){Hl&&!r&&xu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!bu(n)){a=Au(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Ql;var l=c.current.memoizedState.isDehydrated;if(l&&(wu(c,s).flags|=256),s=Au(c,s,!1),s!==2){if(Ul&&!l){c.errorRecoveryDisabledLanes|=o,ql|=o,a=4;break a}o=$l,$l=a,o!==null&&($l===null?$l=o:$l.push.apply($l,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){wu(e,0),xu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:xu(r,t,Yl,!Vl);break a;case 2:$l=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=tu+300-xe(),10<a)){if(xu(r,t,Yl,!Vl),ze(r,0,!0)!==0)break a;lu=t,r.timeoutHandle=Zd(yu.bind(null,r,n,$l,iu,eu,t,Yl,ql,Zl,Vl,o,`Throttled`,-0,0),a);break a}yu(r,n,$l,iu,eu,t,Yl,ql,Zl,Vl,o,null,-0,0)}}break}while(1);od(e)}function yu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Gt},Dl(t,a,d);var m=(a&62914560)===a?tu-xe():(a&4194048)===a?nu-xe():0;if(m=Qf(d,m),m!==null){lu=a,e.cancelPendingCommit=m(zu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),xu(e,a,o,!l);return}}zu(e,t,a,n,r,i,o,s,c)}function bu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!mr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function xu(e,t,n,r){t&=~Jl,t&=~ql,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-V(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Ke(e,n,t)}function Su(){return Fl&6?!0:(sd(0,!1),!1)}function Cu(){if(Ll!==null){if(zl===0)var e=Ll.return;else e=Ll,Ri=Li=null,wo(e),wa=null,Ta=0,e=Ll;for(;e!==null;)Fc(e.alternate,e),e=e.return;Ll=null}}function wu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Qd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),lu=0,Cu(),Il=e,Ll=n=ni(e.current,null),Rl=t,zl=0,Bl=null,Vl=!1,Hl=Be(e,t),Ul=!1,Zl=Yl=Jl=ql=Kl=Gl=0,$l=Ql=null,eu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-V(r),a=1<<i;t|=e[i],r&=~a}return Wl=t,Kr(),n}function Tu(e,t){ao=null,N.H=Ps,t===ma||t===ga?(t=Sa(),zl=3):t===ha?(t=Sa(),zl=4):zl=t===J?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Bl=t,Ll===null&&(Gl=1,Gs(e,ui(t,e.current)))}function Eu(){var e=Ya.current;return e===null?!0:(Rl&4194048)===Rl?Xa===null:(Rl&62914560)===Rl||Rl&536870912?e===Xa:!1}function Du(){var e=N.H;return N.H=Ps,e===null?Ps:e}function Ou(){var e=N.A;return N.A=Nl,e}function ku(){Gl=4,Vl||(Rl&4194048)!==Rl&&Ya.current!==null||(Hl=!0),!(Kl&134217727)&&!(ql&134217727)||Il===null||xu(Il,Rl,Yl,!1)}function Au(e,t,n){var r=Fl;Fl|=2;var i=Du(),a=Ou();(Il!==e||Rl!==t)&&(iu=null,wu(e,t)),t=!1;var o=Gl;a:do try{if(zl!==0&&Ll!==null){var s=Ll,c=Bl;switch(zl){case 8:Cu(),o=6;break a;case 3:case 2:case 9:case 6:Ya.current===null&&(t=!0);var l=zl;if(zl=0,Bl=null,Iu(e,s,c,l),n&&Hl){o=0;break a}break;default:l=zl,zl=0,Bl=null,Iu(e,s,c,l)}}ju(),o=Gl;break}catch(t){Tu(e,t)}while(1);return t&&e.shellSuspendCounter++,Ri=Li=null,Fl=r,N.H=i,N.A=a,Ll===null&&(Il=null,Rl=0,Kr()),o}function ju(){for(;Ll!==null;)Pu(Ll)}function Mu(e,t){var n=Fl;Fl|=2;var r=Du(),a=Ou();Il!==e||Rl!==t?(iu=null,ru=xe()+500,wu(e,t)):Hl=Be(e,t);a:do try{if(zl!==0&&Ll!==null){t=Ll;var o=Bl;b:switch(zl){case 1:zl=0,Bl=null,Iu(e,t,o,1);break;case 2:case 9:if(va(o)){zl=0,Bl=null,Fu(t);break}t=function(){zl!==2&&zl!==9||Il!==e||(zl=7),od(e)},o.then(t,t);break a;case 3:zl=7;break a;case 4:zl=5;break a;case 7:va(o)?(zl=0,Bl=null,Fu(t)):(zl=0,Bl=null,Iu(e,t,o,7));break;case 5:var s=null;switch(Ll.tag){case 26:s=Ll.memoizedState;case 5:case 27:var c=Ll;if(s?Yf(s):c.stateNode.complete){zl=0,Bl=null;var l=c.sibling;if(l!==null)Ll=l;else{var u=c.return;u===null?Ll=null:(Ll=u,Lu(u))}break b}}zl=0,Bl=null,Iu(e,t,o,5);break;case 6:zl=0,Bl=null,Iu(e,t,o,6);break;case 8:Cu(),Gl=6;break a;default:throw Error(i(462))}}Nu();break}catch(t){Tu(e,t)}while(1);return Ri=Li=null,N.H=r,N.A=a,Fl=n,Ll===null?(Il=null,Rl=0,Kr(),Gl):0}function Nu(){for(;Ll!==null&&!ye();)Pu(Ll)}function Pu(e){var t=Ec(e.alternate,e,Wl);e.memoizedProps=e.pendingProps,t===null?Lu(e):Ll=t}function Fu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=uc(n,t,t.pendingProps,t.type,void 0,Rl);break;case 11:t=uc(n,t,t.pendingProps,t.type.render,t.ref,Rl);break;case 5:wo(t);default:Fc(n,t),t=Ll=ri(t,Wl),t=Ec(n,t,Wl)}e.memoizedProps=e.pendingProps,t===null?Lu(e):Ll=t}function Iu(e,t,n,r){Ri=Li=null,wo(t),wa=null,Ta=0;var i=t.return;try{if(Xs(e,i,t,n,Rl)){Gl=1,Gs(e,ui(n,e.current)),Ll=null;return}}catch(t){if(i!==null)throw Ll=i,t;Gl=1,Gs(e,ui(n,e.current)),Ll=null;return}t.flags&32768?(Ei||r===1?e=!0:Hl||Rl&536870912?e=!1:(Vl=e=!0,(r===2||r===9||r===3||r===6)&&(r=Ya.current,r!==null&&r.tag===13&&(r.flags|=16384))),Ru(t,e)):Lu(t)}function Lu(e){var t=e;do{if(t.flags&32768){Ru(t,Vl);return}e=t.return;var n=Nc(t.alternate,t,Wl);if(n!==null){Ll=n;return}if(t=t.sibling,t!==null){Ll=t;return}Ll=t=e}while(t!==null);Gl===0&&(Gl=5)}function Ru(e,t){do{var n=Pc(e.alternate,e);if(n!==null){n.flags&=32767,Ll=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ll=e;return}Ll=e=n}while(e!==null);Gl=6,Ll=null}function zu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Wu();while(ou!==0);if(Fl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=Gr,Ge(e,n,o,s,c,l),e===Il&&(Ll=Il=null,Rl=0),cu=t,su=e,lu=n,uu=o,du=a,fu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,$u(B,function(){return Gu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=N.T,N.T=null,a=P.p,P.p=2,s=Fl,Fl|=4;try{el(e,t,n)}finally{Fl=s,P.p=a,N.T=r}}ou=1,Bu(),Vu(),Hu()}}function Bu(){if(ou===1){ou=0;var e=su,t=cu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=N.T,N.T=null;var r=P.p;P.p=2;var i=Fl;Fl|=4;try{pl(t,e);var a=Wd,o=yr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&vr(s.ownerDocument.documentElement,s)){if(c!==null&&br(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=_r(s,h),v=_r(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}fp=!!Ud,Wd=Ud=null}finally{Fl=i,P.p=r,N.T=n}}e.current=t,ou=2}}function Vu(){if(ou===2){ou=0;var e=su,t=cu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=N.T,N.T=null;var r=P.p;P.p=2;var i=Fl;Fl|=4;try{tl(e,t.alternate,t)}finally{Fl=i,P.p=r,N.T=n}}ou=3}}function Hu(){if(ou===4||ou===3){ou=0,be();var e=su,t=cu,n=lu,r=fu;t.subtreeFlags&10256||t.flags&10256?ou=5:(ou=0,cu=su=null,Uu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(au=null),H(n),t=t.stateNode,Ae&&typeof Ae.onCommitFiberRoot==`function`)try{Ae.onCommitFiberRoot(ke,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=N.T,i=P.p,P.p=2,N.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{N.T=t,P.p=i}}lu&3&&Wu(),od(e),i=e.pendingLanes,n&261930&&i&42?e===mu?pu++:(pu=0,mu=e):pu=0,sd(0,!1)}}function Uu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ea(t)))}function Wu(){return Bu(),Vu(),Hu(),Gu()}function Gu(){if(ou!==5)return!1;var e=su,t=uu;uu=0;var n=H(lu),r=N.T,a=P.p;try{P.p=32>n?32:n,N.T=null,n=du,du=null;var o=su,s=lu;if(ou=0,cu=su=null,lu=0,Fl&6)throw Error(i(331));var c=Fl;if(Fl|=4,Al(o.current),Sl(o,o.current,s,n),Fl=c,sd(0,!1),Ae&&typeof Ae.onPostCommitFiberRoot==`function`)try{Ae.onPostCommitFiberRoot(ke,o)}catch{}return!0}finally{P.p=a,N.T=r,Uu(e,t)}}function Ku(e,t,n){t=ui(n,t),t=qs(e.stateNode,t,2),e=Ia(e,t,2),e!==null&&(We(e,2),od(e))}function qu(e,t,n){if(e.tag===3)Ku(e,e,n);else for(;t!==null;){if(t.tag===3){Ku(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(au===null||!au.has(r))){e=ui(n,e),n=Js(2),r=Ia(t,n,2),r!==null&&(Ys(n,r,t,e),We(r,2),od(r));break}}t=t.return}}function Ju(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Pl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Ul=!0,i.add(n),e=Yu.bind(null,e,t,n),t.then(e,e))}function Yu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Il===e&&(Rl&n)===n&&(Gl===4||Gl===3&&(Rl&62914560)===Rl&&300>xe()-tu?!(Fl&2)&&wu(e,0):Jl|=n,Zl===Rl&&(Zl=0)),od(e)}function Xu(e,t){t===0&&(t=He()),e=Yr(e,t),e!==null&&(We(e,t),od(e))}function Zu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Xu(e,n)}function Qu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Xu(e,n)}function $u(e,t){return _e(e,t)}var ed=null,td=null,nd=!1,rd=!1,id=!1,ad=0;function od(e){e!==td&&e.next===null&&(td===null?ed=td=e:td=td.next=e),rd=!0,nd||(nd=!0,pd())}function sd(e,t){if(!id&&rd){id=!0;do for(var n=!1,r=ed;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-V(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,fd(r,a))}else a=Rl,a=ze(r,r===Il?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Be(r,a)||(n=!0,fd(r,a));r=r.next}while(n);id=!1}}function cd(){ld()}function ld(){rd=nd=!1;var e=0;ad!==0&&Xd()&&(e=ad);for(var t=xe(),n=null,r=ed;r!==null;){var i=r.next,a=ud(r,t);a===0?(r.next=null,n===null?ed=i:n.next=i,i===null&&(td=n)):(n=r,(e!==0||a&3)&&(rd=!0)),r=i}ou!==0&&ou!==5||sd(e,!1),ad!==0&&(ad=0)}function ud(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-V(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ve(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Il,n=Rl,n=ze(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(zl===2||zl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&ve(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Be(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&ve(r),H(n)){case 2:case 8:n=we;break;case 32:n=B;break;case 268435456:n=Ee;break;default:n=B}return r=dd.bind(null,e),n=_e(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&ve(r),e.callbackPriority=2,e.callbackNode=null,2}function dd(e,t){if(ou!==0&&ou!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Wu()&&e.callbackNode!==n)return null;var r=Rl;return r=ze(e,e===Il?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(vu(e,r,t),ud(e,xe()),e.callbackNode!=null&&e.callbackNode===n?dd.bind(null,e):null)}function fd(e,t){if(Wu())return null;vu(e,t,!0)}function pd(){ef(function(){Fl&6?_e(Ce,cd):ld()})}function md(){if(ad===0){var e=ra;e===0&&(e=Fe,Fe<<=1,!(Fe&261888)&&(Fe=256)),ad=e}return ad}function hd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Wt(``+e)}function gd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function _d(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=hd((i[et]||null).action),o=r.submitter;o&&(t=(t=o[et]||null)?hd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new pn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(ad!==0){var e=o?gd(i,o):new FormData(i);bs(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?gd(i,o):new FormData(i),bs(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var vd=0;vd<Br.length;vd++){var yd=Br[vd];Vr(yd.toLowerCase(),`on`+(yd[0].toUpperCase()+yd.slice(1)))}Vr(Mr,`onAnimationEnd`),Vr(Nr,`onAnimationIteration`),Vr(Pr,`onAnimationStart`),Vr(`dblclick`,`onDoubleClick`),Vr(`focusin`,`onFocus`),Vr(`focusout`,`onBlur`),Vr(Fr,`onTransitionRun`),Vr(Ir,`onTransitionStart`),Vr(Lr,`onTransitionCancel`),Vr(Rr,`onTransitionEnd`),ht(`onMouseEnter`,[`mouseout`,`mouseover`]),ht(`onMouseLeave`,[`mouseout`,`mouseover`]),ht(`onPointerEnter`,[`pointerout`,`pointerover`]),ht(`onPointerLeave`,[`pointerout`,`pointerover`]),mt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),mt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),mt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),mt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),mt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),mt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var bd=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),xd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(bd));function Sd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Hr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Hr(e)}i.currentTarget=null,a=c}}}}function Cd(e,t){var n=t[nt];n===void 0&&(n=t[nt]=new Set);var r=e+`__bubble`;n.has(r)||(Dd(t,e,2,!1),n.add(r))}function wd(e,t,n){var r=0;t&&(r|=4),Dd(n,e,r,t)}var Td=`_reactListening`+Math.random().toString(36).slice(2);function Ed(e){if(!e[Td]){e[Td]=!0,ft.forEach(function(t){t!==`selectionchange`&&(xd.has(t)||wd(t,!1,e),wd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Td]||(t[Td]=!0,wd(`selectionchange`,!1,t))}}function Dd(e,t,n,r){switch(yp(t)){case 2:var i=pp;break;case 8:i=mp;break;default:i=hp}n=i.bind(null,t,n,e),i=void 0,!tn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Od(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=W(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}Qt(function(){var r=a,i=qt(n),s=[];a:{var c=zr.get(e);if(c!==void 0){var l=pn,u=e;switch(e){case`keypress`:if(cn(n)===0)break a;case`keydown`:case`keyup`:l=jn;break;case`focusin`:u=`focus`,l=Sn;break;case`focusout`:u=`blur`,l=Sn;break;case`beforeblur`:case`afterblur`:l=Sn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=bn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=xn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Nn;break;case Mr:case Nr:case Pr:l=Cn;break;case Rr:l=Pn;break;case`scroll`:case`scrollend`:l=hn;break;case`wheel`:l=Fn;break;case`copy`:case`cut`:case`paste`:l=wn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Mn;break;case`toggle`:case`beforetoggle`:l=In}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=$t(m,p),g!=null&&d.push(kd(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==Kt&&(u=n.relatedTarget||n.fromElement)&&(W(u)||u[tt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?W(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=bn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Mn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:lt(l),h=u==null?c:lt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,W(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=jd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Md(s,c,l,d,!1),u!==null&&f!==null&&Md(s,f,u,d,!0)}}a:{if(c=r?lt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=nr;else if(Xn(c))if(rr)v=fr;else{v=ur;var y=lr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Vt(r.elementType)&&(v=nr):v=dr;if(v&&=v(e,r)){Zn(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Nt(c,`number`,c.value)}switch(y=r?lt(r):window,e){case`focusin`:(Xn(y)||y.contentEditable===`true`)&&(Sr=y,Cr=r,wr=null);break;case`focusout`:wr=Cr=Sr=null;break;case`mousedown`:Tr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Tr=!1,Er(s,n,i);break;case`selectionchange`:if(xr)break;case`keydown`:case`keyup`:Er(s,n,i)}var b;if(Rn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else Kn?Wn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Vn&&n.locale!==`ko`&&(Kn||x!==`onCompositionStart`?x===`onCompositionEnd`&&Kn&&(b=sn()):(rn=i,an=`value`in rn?rn.value:rn.textContent,Kn=!0)),y=Ad(r,x),0<y.length&&(x=new Tn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=Gn(n),b!==null&&(x.data=b)))),(b=Bn?qn(e,n):Jn(e,n))&&(x=Ad(r,`onBeforeInput`),0<x.length&&(y=new Tn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),_d(s,e,r,n,i)}Sd(s,t)})}function kd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ad(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=$t(e,n),i!=null&&r.unshift(kd(e,i,a)),i=$t(e,t),i!=null&&r.push(kd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function jd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Md(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=$t(n,a),l!=null&&o.unshift(kd(n,l,c))):i||(l=$t(n,a),l!=null&&o.push(kd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Nd=/\r\n?/g,Pd=/\u0000|\uFFFD/g;function Fd(e){return(typeof e==`string`?e:``+e).replace(Nd,`
|
|
22
|
+
`).replace(Pd,``)}function Id(e,t){return t=Fd(t),Fd(e)===t}function Ld(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Lt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Lt(e,``+r);break;case`className`:xt(e,`class`,r);break;case`tabIndex`:xt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:xt(e,n,r);break;case`style`:Bt(e,r,o);break;case`data`:if(t!==`object`){xt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Wt(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Ld(e,t,`name`,a.name,a,null),Ld(e,t,`formEncType`,a.formEncType,a,null),Ld(e,t,`formMethod`,a.formMethod,a,null),Ld(e,t,`formTarget`,a.formTarget,a,null)):(Ld(e,t,`encType`,a.encType,a,null),Ld(e,t,`method`,a.method,a,null),Ld(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Wt(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=Gt);break;case`onScroll`:r!=null&&Cd(`scroll`,e);break;case`onScrollEnd`:r!=null&&Cd(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=Wt(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Cd(`beforetoggle`,e),Cd(`toggle`,e),bt(e,`popover`,r);break;case`xlinkActuate`:St(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:St(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:St(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:St(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:St(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:St(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:St(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:St(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:St(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:bt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=Ht.get(n)||n,bt(e,n,r))}}function Rd(e,t,n,r,a,o){switch(n){case`style`:Bt(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Lt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Lt(e,``+r);break;case`onScroll`:r!=null&&Cd(`scroll`,e);break;case`onScrollEnd`:r!=null&&Cd(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=Gt);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!pt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[et]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):bt(e,n,r)}}}function zd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Cd(`error`,e),Cd(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Ld(e,t,o,s,n,null)}}a&&Ld(e,t,`srcSet`,n.srcSet,n,null),r&&Ld(e,t,`src`,n.src,n,null);return;case`input`:Cd(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Ld(e,t,r,d,n,null)}}Mt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Cd(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Ld(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Pt(e,!!r,n,!0):Pt(e,!!r,t,!1);return;case`textarea`:for(s in Cd(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Ld(e,t,s,c,n,null)}It(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Ld(e,t,l,r,n,null)}return;case`dialog`:Cd(`beforetoggle`,e),Cd(`toggle`,e),Cd(`cancel`,e),Cd(`close`,e);break;case`iframe`:case`object`:Cd(`load`,e);break;case`video`:case`audio`:for(r=0;r<bd.length;r++)Cd(bd[r],e);break;case`image`:Cd(`error`,e),Cd(`load`,e);break;case`details`:Cd(`toggle`,e);break;case`embed`:case`source`:case`link`:Cd(`error`,e),Cd(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Ld(e,t,u,r,n,null)}return;default:if(Vt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Rd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Ld(e,t,c,r,n,null))}function Bd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Ld(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Ld(e,t,p,m,r,f)}}jt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Ld(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Ld(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Pt(e,!!n,n?[]:``,!1):Pt(e,!!n,t,!0)):Pt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Ld(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Ld(e,t,s,a,r,o)}Ft(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Ld(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Ld(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Ld(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Ld(e,t,u,p,r,m)}return;default:if(Vt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Rd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Rd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Ld(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Ld(e,t,f,p,r,m)}function Vd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Hd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Vd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Vd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Ud=null,Wd=null;function Gd(e){return e.nodeType===9?e:e.ownerDocument}function Kd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function qd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Jd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Yd=null;function Xd(){var e=window.event;return e&&e.type===`popstate`?e===Yd?!1:(Yd=e,!0):(Yd=null,!1)}var Zd=typeof setTimeout==`function`?setTimeout:void 0,Qd=typeof clearTimeout==`function`?clearTimeout:void 0,$d=typeof Promise==`function`?Promise:void 0,ef=typeof queueMicrotask==`function`?queueMicrotask:$d===void 0?Zd:function(e){return $d.resolve(null).then(e).catch(tf)};function tf(e){setTimeout(function(){throw e})}function nf(e){return e===`head`}function rf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Rp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)vf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,vf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[ot]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&vf(e.ownerDocument.body);n=i}while(n);Rp(t)}function af(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function of(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:of(n),st(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function sf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[ot])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=pf(e.nextSibling),e===null)break}return null}function cf(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=pf(e.nextSibling),e===null))return null;return e}function lf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=pf(e.nextSibling),e===null))return null;return e}function uf(e){return e.data===`$?`||e.data===`$~`}function df(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function ff(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function pf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var mf=null;function hf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return pf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function gf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function _f(e,t,n){switch(t=Gd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function vf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);st(e)}var yf=new Map,bf=new Set;function xf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Sf=P.d;P.d={f:Cf,r:wf,D:Df,C:Of,L:kf,m:Af,X:Mf,S:jf,M:Nf};function Cf(){var e=Sf.f(),t=Su();return e||t}function wf(e){var t=ct(e);t!==null&&t.tag===5&&t.type===`form`?Ss(t):Sf.r(e)}var Tf=typeof document>`u`?null:document;function Ef(e,t,n){var r=Tf;if(r&&typeof t==`string`&&t){var i=At(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),bf.has(i)||(bf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),zd(t,`link`,e),dt(t),r.head.appendChild(t)))}}function Df(e){Sf.D(e),Ef(`dns-prefetch`,e,null)}function Of(e,t){Sf.C(e,t),Ef(`preconnect`,e,t)}function kf(e,t,n){Sf.L(e,t,n);var r=Tf;if(r&&e&&t){var i=`link[rel="preload"][as="`+At(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+At(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+At(n.imageSizes)+`"]`)):i+=`[href="`+At(e)+`"]`;var a=i;switch(t){case`style`:a=Ff(e);break;case`script`:a=zf(e)}yf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),yf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(If(a))||t===`script`&&r.querySelector(Bf(a))||(t=r.createElement(`link`),zd(t,`link`,e),dt(t),r.head.appendChild(t)))}}function Af(e,t){Sf.m(e,t);var n=Tf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+At(r)+`"][href="`+At(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=zf(e)}if(!yf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),yf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Bf(a)))return}r=n.createElement(`link`),zd(r,`link`,e),dt(r),n.head.appendChild(r)}}}function jf(e,t,n){Sf.S(e,t,n);var r=Tf;if(r&&e){var i=ut(r).hoistableStyles,a=Ff(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(If(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=yf.get(a))&&Uf(e,n);var c=o=r.createElement(`link`);dt(c),zd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Hf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Mf(e,t){Sf.X(e,t);var n=Tf;if(n&&e){var r=ut(n).hoistableScripts,i=zf(e),a=r.get(i);a||(a=n.querySelector(Bf(i)),a||(e=f({src:e,async:!0},t),(t=yf.get(i))&&Wf(e,t),a=n.createElement(`script`),dt(a),zd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nf(e,t){Sf.M(e,t);var n=Tf;if(n&&e){var r=ut(n).hoistableScripts,i=zf(e),a=r.get(i);a||(a=n.querySelector(Bf(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=yf.get(i))&&Wf(e,t),a=n.createElement(`script`),dt(a),zd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Pf(e,t,n,r){var a=(a=ie.current)?xf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Ff(n.href),n=ut(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Ff(n.href);var o=ut(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(If(e)))&&!o._p&&(s.instance=o,s.state.loading=5),yf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},yf.set(e,n),o||Rf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=zf(n),n=ut(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Ff(e){return`href="`+At(e)+`"`}function If(e){return`link[rel="stylesheet"][`+e+`]`}function Lf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Rf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),zd(t,`link`,n),dt(t),e.head.appendChild(t))}function zf(e){return`[src="`+At(e)+`"]`}function Bf(e){return`script[async]`+e}function Vf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+At(n.href)+`"]`);if(r)return t.instance=r,dt(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),dt(r),zd(r,`style`,a),Hf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Ff(n.href);var o=e.querySelector(If(a));if(o)return t.state.loading|=4,t.instance=o,dt(o),o;r=Lf(n),(a=yf.get(a))&&Uf(r,a),o=(e.ownerDocument||e).createElement(`link`),dt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),zd(o,`link`,r),t.state.loading|=4,Hf(o,n.precedence,e),t.instance=o;case`script`:return o=zf(n.src),(a=e.querySelector(Bf(o)))?(t.instance=a,dt(a),a):(r=n,(a=yf.get(o))&&(r=f({},n),Wf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),dt(a),zd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Hf(r,n.precedence,e));return t.instance}function Hf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Uf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Wf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Gf=null;function Kf(e,t,n){if(Gf===null){var r=new Map,i=Gf=new Map;i.set(n,r)}else i=Gf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[ot]||a[$e]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function qf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Jf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Yf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Ff(r.href),a=t.querySelector(If(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=$f.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,dt(a);return}a=t.ownerDocument||t,r=Lf(r),(i=yf.get(i))&&Uf(r,i),a=a.createElement(`link`),dt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),zd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=$f.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Zf=0;function Qf(e,t){return e.stylesheets&&e.count===0&&tp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&tp(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Zf===0&&(Zf=62500*Hd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&tp(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Zf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function $f(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ep=null;function tp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ep=new Map,t.forEach(np,e),ep=null,$f.call(e))}function np(e,t){if(!(t.state.loading&4)){var n=ep.get(e);if(n)var r=n.get(null);else{n=new Map,ep.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=$f.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var rp={$$typeof:b,Provider:null,Consumer:null,_currentValue:F,_currentValue2:F,_threadCount:0};function ip(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ue(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ue(0),this.hiddenUpdates=Ue(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function ap(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ip(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=ei(3,null,null,t),e.current=a,a.stateNode=e,t=$i(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Na(a),e}function op(e){return e?(e=Qr,e):Qr}function sp(e,t,n,r,i,a){i=op(i),r.context===null?r.context=i:r.pendingContext=i,r=Fa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ia(e,r,t),n!==null&&(_u(n,e,t),La(n,e,t))}function cp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function lp(e,t){cp(e,t),(e=e.alternate)&&cp(e,t)}function up(e){if(e.tag===13||e.tag===31){var t=Yr(e,67108864);t!==null&&_u(t,e,67108864),lp(e,67108864)}}function dp(e){if(e.tag===13||e.tag===31){var t=hu();t=Ye(t);var n=Yr(e,t);n!==null&&_u(n,e,t),lp(e,t)}}var fp=!0;function pp(e,t,n,r){var i=N.T;N.T=null;var a=P.p;try{P.p=2,hp(e,t,n,r)}finally{P.p=a,N.T=i}}function mp(e,t,n,r){var i=N.T;N.T=null;var a=P.p;try{P.p=8,hp(e,t,n,r)}finally{P.p=a,N.T=i}}function hp(e,t,n,r){if(fp){var i=gp(r);if(i===null)Od(e,t,r,_p,n),Op(e,r);else if(Ap(i,e,t,n,r))r.stopPropagation();else if(Op(e,r),t&4&&-1<Dp.indexOf(e)){for(;i!==null;){var a=ct(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Re(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-V(o);s.entanglements[1]|=c,o&=~c}od(a),!(Fl&6)&&(ru=xe()+500,sd(0,!1))}}break;case 31:case 13:s=Yr(a,2),s!==null&&_u(s,a,2),Su(),lp(a,2)}if(a=gp(r),a===null&&Od(e,t,r,_p,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Od(e,t,r,null,n)}}function gp(e){return e=qt(e),vp(e)}var _p=null;function vp(e){if(_p=null,e=W(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return _p=e,null}function yp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Se()){case Ce:return 2;case we:return 8;case B:case Te:return 32;case Ee:return 268435456;default:return 32}default:return 32}}var bp=!1,xp=null,Sp=null,Cp=null,wp=new Map,Tp=new Map,Ep=[],Dp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Op(e,t){switch(e){case`focusin`:case`focusout`:xp=null;break;case`dragenter`:case`dragleave`:Sp=null;break;case`mouseover`:case`mouseout`:Cp=null;break;case`pointerover`:case`pointerout`:wp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Tp.delete(t.pointerId)}}function kp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=ct(t),t!==null&&up(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ap(e,t,n,r,i){switch(t){case`focusin`:return xp=kp(xp,e,t,n,r,i),!0;case`dragenter`:return Sp=kp(Sp,e,t,n,r,i),!0;case`mouseover`:return Cp=kp(Cp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return wp.set(a,kp(wp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Tp.set(a,kp(Tp.get(a)||null,e,t,n,r,i)),!0}return!1}function jp(e){var t=W(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,U(e.priority,function(){dp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,U(e.priority,function(){dp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Mp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=gp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Kt=r,n.target.dispatchEvent(r),Kt=null}else return t=ct(n),t!==null&&up(t),e.blockedOn=n,!1;t.shift()}return!0}function Np(e,t,n){Mp(e)&&n.delete(t)}function Pp(){bp=!1,xp!==null&&Mp(xp)&&(xp=null),Sp!==null&&Mp(Sp)&&(Sp=null),Cp!==null&&Mp(Cp)&&(Cp=null),wp.forEach(Np),Tp.forEach(Np)}function Fp(e,n){e.blockedOn===n&&(e.blockedOn=null,bp||(bp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Pp)))}var Ip=null;function Lp(e){Ip!==e&&(Ip=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Ip===e&&(Ip=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(vp(r||n)===null)continue;break}var a=ct(n);a!==null&&(e.splice(t,3),t-=3,bs(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Rp(e){function t(t){return Fp(t,e)}xp!==null&&Fp(xp,e),Sp!==null&&Fp(Sp,e),Cp!==null&&Fp(Cp,e),wp.forEach(t),Tp.forEach(t);for(var n=0;n<Ep.length;n++){var r=Ep[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ep.length&&(n=Ep[0],n.blockedOn===null);)jp(n),n.blockedOn===null&&Ep.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[et]||null;if(typeof a==`function`)o||Lp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[et]||null)s=o.formAction;else if(vp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Lp(n)}}}function Y(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function zp(e){this._internalRoot=e}Bp.prototype.render=zp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;sp(n,hu(),e,t,null,null)},Bp.prototype.unmount=zp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sp(e.current,2,null,e,null,null),Su(),t[tt]=null}};function Bp(e){this._internalRoot=e}Bp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xe();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ep.length&&t!==0&&t<Ep[n].priority;n++);Ep.splice(n,0,e),n===0&&jp(e)}};var Vp=n.version;if(Vp!==`19.2.4`)throw Error(i(527,Vp,`19.2.4`));P.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Hp={bundleType:0,version:`19.2.4`,rendererPackageName:`react-dom`,currentDispatcherRef:N,reconcilerVersion:`19.2.4`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Up=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Up.isDisabled&&Up.supportsFiber)try{ke=Up.inject(Hp),Ae=Up}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Us,s=q,c=Ws;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=ap(e,1,!1,null,null,n,r,null,o,s,c,Y),e[tt]=t.current,Ed(e),new zp(t)}})),Ql=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=Zl()}));function $l(e){return Ma(e.defaultTagName??`div`,e,e)}var eu=Ql(),tu=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,nu=d,ru=(e,t)=>n=>{if(t?.variants==null)return nu(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=tu(t)||tu(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return nu(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},iu=ru(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`}},defaultVariants:{variant:`default`}});function au({className:e,variant:t=`default`,render:n,...r}){return $l({defaultTagName:`span`,props:xa({className:H(iu({variant:t}),e)},r),render:n,state:{slot:`badge`,variant:t}})}var ou=U.createContext(void 0);function su(e=!1){let t=U.useContext(ou);if(t===void 0&&!e)throw Error(lt(16));return t}function cu(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return{props:U.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}}function lu(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:i=!0,composite:a}=e,o=U.useRef(null),s=su(!0),c=a??s!==void 0,{props:l}=cu({focusableWhenDisabled:n,disabled:t,composite:c,tabIndex:r,isNativeButton:i}),u=U.useCallback(()=>{let e=o.current;uu(e)&&c&&t&&l.disabled===void 0&&e.disabled&&(e.disabled=!1)},[t,l.disabled,c]);return W(u,[u]),{getButtonProps:U.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:a,onKeyDown:o,onPointerDown:s,...u}=e;return xa({type:i?`button`:void 0,onClick(e){if(t){e.preventDefault();return}n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(ka(e),o?.(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,a=e.currentTarget,s=uu(a),l=!i&&du(a),u=r&&(i?s:!l),d=e.key===`Enter`,f=e.key===` `,p=a.getAttribute(`role`),m=p?.startsWith(`menuitem`)||p===`option`||p===`gridcell`;if(r&&c&&f){if(e.defaultPrevented&&m)return;e.preventDefault(),l||i&&s?(a.click(),e.preventBaseUIHandler()):u&&(n?.(e),e.preventBaseUIHandler());return}u&&(!i&&(f||d)&&e.preventDefault(),!i&&d&&n?.(e))},onKeyUp(e){if(!t){if(ka(e),a?.(e),e.target===e.currentTarget&&i&&c&&uu(e.currentTarget)&&e.key===` `){e.preventDefault();return}e.baseUIHandlerPrevented||e.target===e.currentTarget&&!i&&!c&&e.key===` `&&n?.(e)}},onPointerDown(e){if(t){e.preventDefault();return}s?.(e)}},i?void 0:{role:`button`},l,u)},[t,l,c,i]),buttonRef:K(e=>{o.current=e,u()})}}function uu(e){return Ct(e)&&e.tagName===`BUTTON`}function du(e){return!!(e?.tagName===`A`&&e?.href)}var fu=U.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,focusableWhenDisabled:a=!1,nativeButton:o=!0,...s}=e,{getButtonProps:c,buttonRef:l}=lu({disabled:i,focusableWhenDisabled:a,native:o});return Ma(`button`,e,{state:{disabled:i},ref:[t,l],props:[s,c]})}),pu=ru(`group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,outline:`border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground`,ghost:`hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50`,destructive:`bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2`,xs:`h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3`,sm:`h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&_svg:not([class*='size-'])]:size-3.5`,lg:`h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-3 has-data-[icon=inline-start]:ps-3`,icon:`size-8`,"icon-xs":`size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3`,"icon-sm":`size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg`,"icon-lg":`size-9`}},defaultVariants:{variant:`default`,size:`default`}});function mu({className:e,variant:t=`default`,size:n=`default`,...r}){return(0,G.jsx)(fu,{"data-slot":`button`,className:H(pu({variant:t,size:n,className:e})),...r})}var hu=function(e){return e.disabled=`data-disabled`,e.valid=`data-valid`,e.invalid=`data-invalid`,e.touched=`data-touched`,e.dirty=`data-dirty`,e.filled=`data-filled`,e.focused=`data-focused`,e}({}),gu={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},_u={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},vu={disabled:!1,..._u},yu={valid(e){return e===null?null:e?{[hu.valid]:``}:{[hu.invalid]:``}}},bu=U.createContext({invalid:void 0,name:void 0,validityData:{state:gu,errors:[],error:``,value:``,initialValue:null},setValidityData:$r,disabled:void 0,touched:_u.touched,setTouched:$r,dirty:_u.dirty,setDirty:$r,filled:_u.filled,setFilled:$r,focused:_u.focused,setFocused:$r,validate:()=>null,validationMode:`onSubmit`,validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:vu,markedDirtyRef:{current:!1},validation:{getValidationProps:(e=ti)=>e,getInputValidationProps:(e=ti)=>e,inputRef:{current:null},commit:async()=>{}}});function xu(e=!0){let t=U.useContext(bu);if(t.setValidityData===$r&&!e)throw Error(lt(28));return t}var Su=U.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:$r,validationMode:`onSubmit`,submitAttemptedRef:{current:!1}});function Cu(){return U.useContext(Su)}var wu=U.createContext({controlId:void 0,registerControlId:$r,labelId:void 0,setLabelId:$r,messageIds:[],setMessageIds:$r,getDescriptionProps:e=>e});function Tu(){return U.useContext(wu)}function Eu(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}function Du({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=U.useRef(e!==void 0),[a,o]=U.useState(t);return[i?e:a,U.useCallback(e=>{i||o(e)},[])]}function Ou(e={}){let{id:t,implicit:n=!1,controlRef:r}=e,{controlId:i,registerControlId:a}=Tu(),o=gl(t),s=n?i:void 0,c=$e(()=>Symbol(`labelable-control`)),l=U.useRef(!1),u=U.useRef(t!=null),d=K(()=>{!l.current||a===$r||(l.current=!1,a(c.current,void 0))});return W(()=>{if(a===$r)return;let e;if(n){let n=r?.current;e=St(n)&&n.closest(`label`)!=null?t??null:s??o}else if(t!=null)u.current=!0,e=t;else if(u.current)e=o;else{d();return}if(e===void 0){d();return}l.current=!0,a(c.current,e)},[t,r,s,a,n,o,c,d]),U.useEffect(()=>d,[d]),i??o}function ku(e){let{enabled:t=!0,value:n,id:r,name:i,controlRef:a,commit:o}=e,{formRef:s}=Cu(),{invalid:c,markedDirtyRef:l,validityData:u,setValidityData:d}=xu(),f=K(e.getValue);W(()=>{if(!t)return;let e=n;e===void 0&&(e=f()),u.initialValue===null&&e!==null&&d(t=>({...t,initialValue:e}))},[t,d,n,u.initialValue,f]),W(()=>{!t||!r||s.current.fields.set(r,{getValue:f,name:i,controlRef:a,validityData:Eu(u,c),validate(e=!0){let t=n;t===void 0&&(t=f()),l.current=!0,e?La.flushSync(()=>o(t)):o(t)}})},[o,a,t,s,f,r,c,l,i,u,n]),W(()=>{let e=s.current.fields;return()=>{r&&e.delete(r)}},[s,r])}var Au=U.forwardRef(function(e,t){let{render:n,className:r,id:i,name:a,value:o,disabled:s=!1,onValueChange:c,defaultValue:l,autoFocus:u=!1,...d}=e,{state:f,name:p,disabled:m,setTouched:h,setDirty:g,validityData:_,setFocused:v,setFilled:y,validationMode:b,validation:x}=xu(),S=m||s,C=p??a,w={...f,disabled:S},{labelId:T}=Tu(),E=Ou({id:i});W(()=>{let e=o!=null;x.inputRef.current?.value||e&&o!==``?y(!0):e&&o===``&&y(!1)},[x.inputRef,y,o]);let D=U.useRef(null);W(()=>{u&&D.current===cn(Vr(D.current))&&v(!0)},[u,v]);let[O]=Du({controlled:o,default:l,name:`FieldControl`,state:`value`}),k=o!==void 0,A=k?O:void 0;return ku({id:E,name:C,commit:x.commit,value:A,getValue:()=>x.inputRef.current?.value,controlRef:x.inputRef}),Ma(`input`,e,{ref:[t,D],state:w,props:[{id:E,disabled:S,name:C,ref:x.inputRef,"aria-labelledby":T,autoFocus:u,...k?{value:A}:{defaultValue:l},onChange(e){let t=e.currentTarget.value;c?.(t,bi(oi,e.nativeEvent)),g(t!==_.initialValue),y(t!==``)},onFocus(){v(!0)},onBlur(e){h(!0),v(!1),b===`onBlur`&&x.commit(e.currentTarget.value)},onKeyDown(e){e.currentTarget.tagName===`INPUT`&&e.key===`Enter`&&(h(!0),x.commit(e.currentTarget.value))}},x.getInputValidationProps(),d],stateAttributesMapping:yu})}),ju=U.forwardRef(function(e,t){return(0,G.jsx)(Au,{ref:t,...e})});function Mu({className:e,type:t,...n}){return(0,G.jsx)(ju,{type:t,"data-slot":`input`,className:H(`h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,e),...n})}var Nu=U.forwardRef(function(e,t){let{className:n,render:r,orientation:i=`horizontal`,...a}=e;return Ma(`div`,e,{state:{orientation:i},ref:t,props:[{role:`separator`,"aria-orientation":i},a]})});function Pu({className:e,orientation:t=`horizontal`,...n}){return(0,G.jsx)(Nu,{"data-slot":`separator`,orientation:t,className:H(`shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch`,e),...n})}var Fu=U.createContext(void 0);function Iu(e){let t=U.useContext(Fu);if(e===!1&&t===void 0)throw Error(lt(27));return t}var Lu={...hl,...cc},Ru=U.forwardRef(function(e,t){let{render:n,className:r,forceRender:i=!1,...a}=e,{store:o}=Iu(),s=o.useState(`open`),c=o.useState(`nested`),l=o.useState(`mounted`);return Ma(`div`,e,{state:{open:s,transitionStatus:o.useState(`transitionStatus`)},ref:[o.context.backdropRef,t],stateAttributesMapping:Lu,props:[{role:`presentation`,hidden:!l,style:{userSelect:`none`,WebkitUserSelect:`none`}},a],enabled:i||!c})}),zu=U.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,nativeButton:a=!0,...o}=e,{store:s}=Iu(),c=s.useState(`open`);function l(e){c&&s.setOpen(!1,bi(fi,e.nativeEvent))}let{getButtonProps:u,buttonRef:d}=lu({disabled:i,native:a});return Ma(`button`,e,{state:{disabled:i},ref:[t,d],props:[{onClick:l},o,u]})}),Bu=U.forwardRef(function(e,t){let{render:n,className:r,id:i,...a}=e,{store:o}=Iu(),s=gl(i);return o.useSyncedValueWithCleanup(`descriptionElementId`,s),Ma(`p`,e,{ref:t,props:[{id:s},a]})}),Vu=function(e){return e.nestedDialogs=`--nested-dialogs`,e}({}),Hu=function(e){return e[e.open=ol.open]=`open`,e[e.closed=ol.closed]=`closed`,e[e.startingStyle=ol.startingStyle]=`startingStyle`,e[e.endingStyle=ol.endingStyle]=`endingStyle`,e.nested=`data-nested`,e.nestedDialogOpen=`data-nested-dialog-open`,e}({}),Uu=U.createContext(void 0);function Wu(){let e=U.useContext(Uu);if(e===void 0)throw Error(lt(26));return e}var Gu=`ArrowUp`,Ku=`ArrowDown`,qu=`ArrowLeft`,Ju=`ArrowRight`,Yu=`Home`,Xu=new Set([qu,Ju]),Zu=new Set([qu,Ju,Yu,`End`]),Qu=new Set([Gu,Ku]),$u=new Set([Gu,Ku,Yu,`End`]),ed=new Set([...Xu,...Qu]),td=new Set([...ed,Yu,`End`]),nd=new Set([Gu,Ku,qu,Ju,Yu,`End`]),rd=new Set([`Shift`,`Control`,`Alt`,`Meta`]);function id(e){return Ct(e)&&e.tagName===`INPUT`}function ad(e){return!!(id(e)&&e.selectionStart!=null||Ct(e)&&e.tagName===`TEXTAREA`)}function od(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&r!==`vertical`){let r=sd(e,t,`left`),a=cd(e),o=cd(t);n===`ltr`&&(r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=r-o.scrollMarginLeft-a.scrollPaddingLeft)),n===`rtl`&&(r-o.scrollMarginRight<e.scrollLeft+a.scrollPaddingLeft?i=r-o.scrollMarginLeft-a.scrollPaddingLeft:r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=sd(e,t,`top`),r=cd(e),i=cd(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?a=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function sd(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function cd(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}var ld={...hl,...cc,nestedDialogOpen(e){return e?{[Hu.nestedDialogOpen]:``}:null}},ud=U.forwardRef(function(e,t){let{className:n,finalFocus:r,initialFocus:i,render:a,...o}=e,{store:s}=Iu(),c=s.useState(`descriptionElementId`),l=s.useState(`disablePointerDismissal`),u=s.useState(`floatingRootContext`),d=s.useState(`popupProps`),f=s.useState(`modal`),p=s.useState(`mounted`),m=s.useState(`nested`),h=s.useState(`nestedOpenDialogCount`),g=s.useState(`open`),_=s.useState(`openMethod`),v=s.useState(`titleElementId`),y=s.useState(`transitionStatus`),b=s.useState(`role`);Wu(),uc({open:g,ref:s.context.popupRef,onComplete(){g&&s.context.onOpenChangeComplete?.(!0)}});function x(e){return e===`touch`?s.context.popupRef.current:!0}let S=i===void 0?x:i,C=Ma(`div`,e,{state:{open:g,nested:m,transitionStatus:y,nestedDialogOpen:h>0},props:[d,{"aria-labelledby":v??void 0,"aria-describedby":c??void 0,role:b,tabIndex:-1,hidden:!p,onKeyDown(e){nd.has(e.key)&&e.stopPropagation()},style:{[Vu.nestedDialogs]:h}},o],ref:[t,s.context.popupRef,s.useStateSetter(`popupElement`)],stateAttributesMapping:ld});return(0,G.jsx)(io,{context:u,openInteractionType:_,disabled:!p,closeOnFocusOut:!l,initialFocus:S,returnFocus:r,modal:f!==!1,restoreFocus:`popup`,children:C})}),dd=U.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n?.getBoundingClientRect();i=`polygon(
|
|
23
|
+
0% 0%,
|
|
24
|
+
100% 0%,
|
|
25
|
+
100% 100%,
|
|
26
|
+
0% 100%,
|
|
27
|
+
0% 0%,
|
|
28
|
+
${e.left}px ${e.top}px,
|
|
29
|
+
${e.left}px ${e.bottom}px,
|
|
30
|
+
${e.right}px ${e.bottom}px,
|
|
31
|
+
${e.right}px ${e.top}px,
|
|
32
|
+
${e.left}px ${e.top}px
|
|
33
|
+
)`}return(0,G.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})}),fd=U.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i}=Iu(),a=i.useState(`mounted`),o=i.useState(`modal`),s=i.useState(`open`);return a||n?(0,G.jsx)(Uu.Provider,{value:n,children:(0,G.jsxs)(Ha,{ref:t,...r,children:[a&&o===!0&&(0,G.jsx)(dd,{ref:i.context.internalBackdropRef,inert:Wl(!s)}),e.children]})}):null}),pd={},md={},hd=``;function gd(e){if(typeof document>`u`)return!1;let t=Vr(e);return yt(t).innerWidth-t.documentElement.clientWidth>0}function _d(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=Vr(e),n=t.documentElement,r=t.body,i=Tt(n)?n:r,a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function vd(e){let t=Vr(e),n=t.documentElement,r=t.body,i=Tt(n)?n:r,a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function yd(e){let t=Vr(e),n=t.documentElement,r=t.body,i=yt(n),a=0,o=0,s=!1,c=zi.create();if(Kt&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,pd={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},hd=n.style.scrollBehavior,md={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,m=Math.max(0,i.innerWidth-r.clientWidth),h=Math.max(0,i.innerHeight-r.clientHeight),g=parseFloat(c.marginTop)+parseFloat(c.marginBottom),_=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=Tt(n)?n:r;if(s=_d(e),s){n.style.scrollbarGutter=l,v.style.overflowY=`hidden`,v.style.overflowX=`hidden`;return}Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:g||h?`calc(100dvh - ${g+h}px)`:`100dvh`,width:_||m?`calc(100vw - ${_+m}px)`:`100vw`,boxSizing:`border-box`,overflow:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`}function u(){Object.assign(n.style,pd),Object.assign(r.style,md),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=hd)}function d(){u(),c.request(l)}return l(),i.addEventListener(`resize`,d),()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&i.removeEventListener(`resize`,d)}}var bd=new class{lockCount=0;restore=null;timeoutLock=ht.create();timeoutUnlock=ht.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=Vr(e).documentElement,n=yt(t).getComputedStyle(t).overflowY;if(n===`hidden`||n===`clip`){this.restore=$r;return}this.restore=qt||!gd(e)?vd(e):yd(e)}};function xd(e=!0,t=null){W(()=>{if(e)return bd.acquire(t)},[e,t])}function Sd(e){let t=U.useRef(``),n=U.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:U.useCallback(n=>{if(n.detail===0){e(n,`keyboard`);return}`pointerType`in n?e(n,n.pointerType):e(n,t.current),t.current=``},[e]),onPointerDown:n}}function Cd(e,t){let n=U.useRef(e),r=K(t);W(()=>{n.current!==e&&r(n.current)},[e,r]),W(()=>{n.current=e},[e])}function wd(e){let[t,n]=U.useState(null),r=K((t,r)=>{e||n(r||(qt?`touch`:``))});Cd(e,t=>{t&&!e&&n(null)});let{onClick:i,onPointerDown:a}=Sd(r);return U.useMemo(()=>({openMethod:t,triggerProps:{onClick:i,onPointerDown:a}}),[t,i,a])}function Td(e){let{store:t,parentContext:n,actionsRef:r}=e,i=t.useState(`open`),a=t.useState(`disablePointerDismissal`),o=t.useState(`modal`),s=t.useState(`popupElement`),{openMethod:c,triggerProps:l}=wd(i);pc(t);let{forceUnmount:u}=mc(i,t),d=K(e=>{let n=bi(e);return n.preventUnmountOnClose=()=>{t.set(`preventUnmountingOnClose`,!0)},n}),f=U.useCallback(()=>{t.setOpen(!1,d(vi))},[t,d]);U.useImperativeHandle(r,()=>({unmount:u,close:f}),[u,f]);let p=Sc({popupStore:t,onOpenChange:t.setOpen,treatPopupAsFloatingElement:!0,noEmit:!0}),[m,h]=U.useState(0),g=m===0,_=Gc(p),v=po(p,{outsidePressEvent(){return t.context.internalBackdropRef.current||t.context.backdropRef.current?`intentional`:{mouse:o===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}},outsidePress(e){if(!t.context.outsidePressEnabledRef.current||`button`in e&&e.button!==0||`touches`in e&&e.touches.length!==1)return!1;let n=dn(e);if(g&&!a){let e=n;return o&&(t.context.internalBackdropRef.current||t.context.backdropRef.current)?t.context.internalBackdropRef.current===e||t.context.backdropRef.current===e||ln(e,s)&&!e?.hasAttribute(`data-base-ui-portal`):!0}return!1},escapeKey:g});xd(i&&o===!0,s);let{getReferenceProps:y,getFloatingProps:b,getTriggerProps:x}=Pc([_,v]);t.useContextCallback(`onNestedDialogOpen`,e=>{h(e+1)}),t.useContextCallback(`onNestedDialogClose`,()=>{h(0)}),U.useEffect(()=>(n?.onNestedDialogOpen&&i&&n.onNestedDialogOpen(m),n?.onNestedDialogClose&&!i&&n.onNestedDialogClose(),()=>{n?.onNestedDialogClose&&i&&n.onNestedDialogClose()}),[i,n,m]);let S=U.useMemo(()=>y(l),[y,l]),C=U.useMemo(()=>x(l),[x,l]),w=U.useMemo(()=>b(),[b]);t.useSyncedValues({openMethod:c,activeTriggerProps:S,inactiveTriggerProps:C,popupProps:w,floatingRootContext:p,nestedOpenDialogCount:m})}var Ed={...yc,modal:q(e=>e.modal),nested:q(e=>e.nested),nestedOpenDialogCount:q(e=>e.nestedOpenDialogCount),disablePointerDismissal:q(e=>e.disablePointerDismissal),openMethod:q(e=>e.openMethod),descriptionElementId:q(e=>e.descriptionElementId),titleElementId:q(e=>e.titleElementId),viewportElement:q(e=>e.viewportElement),role:q(e=>e.role)},Dd=class extends tc{constructor(e){super(Od(e),{popupRef:U.createRef(),backdropRef:U.createRef(),internalBackdropRef:U.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:new hc,onOpenChange:void 0,onOpenChangeComplete:void 0},Ed)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},!e&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;let n={open:e,nativeEvent:t.event,reason:t.reason,nested:this.state.nested};this.state.floatingRootContext.context.events?.emit(`openchange`,n);let r={open:e},i=t.trigger?.id??null;(i||e)&&(r.activeTriggerId=i,r.activeTriggerElement=t.trigger??null),this.update(r)}};function Od(e={}){return{..._c(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,role:`dialog`,...e}}function kd(e){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,disablePointerDismissal:o=!1,modal:s=!0,actionsRef:c,handle:l,triggerId:u,defaultTriggerId:d=null}=e,f=Iu(!0),p=!!f,m=$e(()=>l?.store??new Dd({open:r,openProp:n,activeTriggerId:d,triggerIdProp:u,modal:s,disablePointerDismissal:o,nested:p})).current;st(()=>{n===void 0&&m.state.open===!1&&r===!0&&m.update({open:!0,activeTriggerId:d})}),m.useControlledProp(`openProp`,n),m.useControlledProp(`triggerIdProp`,u),m.useSyncedValues({disablePointerDismissal:o,nested:p,modal:s}),m.useContextCallback(`onOpenChange`,i),m.useContextCallback(`onOpenChangeComplete`,a);let h=m.useState(`payload`);Td({store:m,actionsRef:c,parentContext:f?.store.context,onOpenChange:i,triggerIdProp:u});let g=U.useMemo(()=>({store:m}),[m]);return(0,G.jsx)(Fu.Provider,{value:g,children:typeof t==`function`?t({payload:h}):t})}var Ad=U.forwardRef(function(e,t){let{render:n,className:r,id:i,...a}=e,{store:o}=Iu(),s=gl(i);return o.useSyncedValueWithCleanup(`titleElementId`,s),Ma(`h2`,e,{ref:t,props:[{id:s},a]})}),jd=[[`path`,{d:`M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 9V13.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12 16.9922V17.0022`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`,key:`2`}]],Md=[[`path`,{d:`M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Nd=[[`path`,{d:`M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Pd=[[`path`,{d:`M17.9998 15C17.9998 15 13.5809 9.00001 11.9998 9C10.4187 8.99999 5.99985 15 5.99985 15`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Fd=[[`path`,{d:`M18 6L6.00081 17.9992M17.9992 18L6 6.00085`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Id=[[`path`,{d:`M9 15C9 12.1716 9 10.7574 9.87868 9.87868C10.7574 9 12.1716 9 15 9L16 9C18.8284 9 20.2426 9 21.1213 9.87868C22 10.7574 22 12.1716 22 15V16C22 18.8284 22 20.2426 21.1213 21.1213C20.2426 22 18.8284 22 16 22H15C12.1716 22 10.7574 22 9.87868 21.1213C9 20.2426 9 18.8284 9 16L9 15Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M16.9999 9C16.9975 6.04291 16.9528 4.51121 16.092 3.46243C15.9258 3.25989 15.7401 3.07418 15.5376 2.90796C14.4312 2 12.7875 2 9.5 2C6.21252 2 4.56878 2 3.46243 2.90796C3.25989 3.07417 3.07418 3.25989 2.90796 3.46243C2 4.56878 2 6.21252 2 9.5C2 12.7875 2 14.4312 2.90796 15.5376C3.07417 15.7401 3.25989 15.9258 3.46243 16.092C4.51121 16.9528 6.04291 16.9975 9 16.9999`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Ld=[[`path`,{d:`M2.5 12C2.5 7.52167 2.5 5.2825 3.89124 3.89126C5.28249 2.50002 7.52166 2.50002 12 2.50002C16.4783 2.50002 18.7175 2.50002 20.1088 3.89126C21.5 5.2825 21.5 7.52167 21.5 12C21.5 16.4784 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4784 2.5 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M2.5 9.00002H21.5`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M6.99981 6.00002H7.00879`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,key:`2`}],[`path`,{d:`M10.9998 6.00002H11.0088`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,key:`3`}],[`path`,{d:`M17 17C17 14.2386 14.7614 12 12 12C9.23858 12 7 14.2386 7 17`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`4`}],[`path`,{d:`M12.707 15.293L11.2928 16.7072`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`5`}]],Rd=[[`path`,{d:`M21.5 14.0784C20.3003 14.7189 18.9301 15.0821 17.4751 15.0821C12.7491 15.0821 8.91792 11.2509 8.91792 6.52485C8.91792 5.06986 9.28105 3.69968 9.92163 2.5C5.66765 3.49698 2.5 7.31513 2.5 11.8731C2.5 17.1899 6.8101 21.5 12.1269 21.5C16.6849 21.5 20.503 18.3324 21.5 14.0784Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],zd=[[`path`,{d:`M2 12H6L7.5 8L9.5 15L13 6L15.5 18L18 12H22`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Bd=[[`path`,{d:`M8 10.1667L12.1232 6.04344C13.2481 4.91858 13.8105 4.35614 14.4312 3.90314C15.7047 2.9737 17.1818 2.36187 18.7395 2.11858C19.4988 2 20.2942 2 21.885 2C21.9681 2 22 2.03812 22 2.11504C22 3.70584 22 4.50125 21.8814 5.26046C21.6381 6.81818 21.0263 8.29527 20.0969 9.56878C19.6439 10.1895 19.0814 10.7519 17.9566 11.8768L13.8333 16`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M10.341 8.09838C8.63808 8.09838 6.49778 7.73765 4.9043 8.39769C3.73671 8.88132 2.87754 10.0012 2 10.8787L5.30597 12.2955C6.18208 12.671 5.64651 13.7766 5.50147 14.5018C5.33985 15.3099 5.34886 15.3397 5.93158 15.9224L8.07758 18.0684C8.6603 18.6511 8.69008 18.6602 9.49816 18.4985C10.2234 18.3535 11.329 17.8179 11.7044 18.694L13.1213 22C13.9988 21.1225 15.1187 20.2633 15.6023 19.0957C16.2624 17.5022 15.9016 15.3619 15.9016 13.659`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12 20L11 21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M4 12L3 13`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}],[`path`,{d:`M15 4.07996C16.2 4.25996 17.46 4.73996 18.1614 5.45996C19.0576 6.25211 19.68 7.31996 19.92 8.99996`,stroke:`currentColor`,strokeLinecap:`square`,strokeWidth:`1.5`,key:`4`}],[`path`,{d:`M17.94 6.06006L16.5 7.50006`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`5`}]],Vd=[[`path`,{d:`M17 17L21 21`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Hd=[[`path`,{d:`M2 12C2 8.31087 2 6.4663 2.81382 5.15877C3.1149 4.67502 3.48891 4.25427 3.91891 3.91554C5.08116 3 6.72077 3 10 3H14C17.2792 3 18.9188 3 20.0811 3.91554C20.5111 4.25427 20.8851 4.67502 21.1862 5.15877C22 6.4663 22 8.31087 22 12C22 15.6891 22 17.5337 21.1862 18.8412C20.8851 19.325 20.5111 19.7457 20.0811 20.0845C18.9188 21 17.2792 21 14 21H10C6.72077 21 5.08116 21 3.91891 20.0845C3.48891 19.7457 3.1149 19.325 2.81382 18.8412C2 17.5337 2 15.6891 2 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9.5 3L9.5 21`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M5 7H6M5 10H6`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Ud=[[`path`,{d:`M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12 2V3.5M12 20.5V22M19.0708 19.0713L18.0101 18.0106M5.98926 5.98926L4.9286 4.9286M22 12H20.5M3.5 12H2M19.0713 4.92871L18.0106 5.98937M5.98975 18.0107L4.92909 19.0714`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}]],Wd=[[`path`,{d:`M5 14.5C5 14.5 6.5 14.5 8.5 18C8.5 18 14.0588 8.83333 19 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Gd=[[`path`,{d:`M5 14L8.5 17.5L19 6.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Kd=[[`path`,{d:`M10.3483 10H13.6517C15.6822 10 16.6974 10 16.9501 9.39139C17.2028 8.78277 16.4849 8.06648 15.0491 6.63391L13.3974 4.9859L13.3974 4.9859C12.7387 4.32863 12.4093 4 12 4C11.5907 4 11.2613 4.32864 10.6026 4.9859L8.95091 6.63391L8.95091 6.63391C7.51513 8.06649 6.79724 8.78277 7.0499 9.39139C7.30256 10 8.31781 10 10.3483 10Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M10.3483 14H13.6517C15.6822 14 16.6974 14 16.9501 14.6086C17.2028 15.2172 16.4849 15.9335 15.0491 17.3661L13.3974 19.0141C12.7387 19.6714 12.4093 20 12 20C11.5907 20 11.2613 19.6714 10.6026 19.0141L8.95091 17.3661C7.51513 15.9335 6.79724 15.2172 7.0499 14.6086C7.30256 14 8.31781 14 10.3483 14Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],qd=[[`path`,{d:`M13 7C13 9.20914 11.2091 11 9 11C6.79086 11 5 9.20914 5 7C5 4.79086 6.79086 3 9 3C11.2091 3 13 4.79086 13 7Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M15 11C17.2091 11 19 9.20914 19 7C19 4.79086 17.2091 3 15 3`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M11 14H7C4.23858 14 2 16.2386 2 19C2 20.1046 2.89543 21 4 21H14C15.1046 21 16 20.1046 16 19C16 16.2386 13.7614 14 11 14Z`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}],[`path`,{d:`M17 14C19.7614 14 22 16.2386 22 19C22 20.1046 21.1046 21 20 21H18.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`3`}]],Jd={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`},Yd=(0,U.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n,absoluteStrokeWidth:r=!1,className:i=``,altIcon:a,showAlt:o=!1,icon:s,primaryColor:c,secondaryColor:l,disableSecondaryOpacity:u=!1,...d},f)=>{let p=n===void 0?void 0:r?Number(n)*24/Number(t):n,m=p===void 0?{}:{strokeWidth:p,stroke:`currentColor`};return(0,U.createElement)(`svg`,{ref:f,...Jd,width:t,height:t,color:c||e,className:i,...m,...d},[...o&&a?a:s].sort(([,e],[,t])=>{let n=e.opacity!==void 0;return t.opacity===void 0?n?-1:0:1}).map(([t,n])=>{let r=n.opacity!==void 0,i=r&&!u?n.opacity:void 0,a=l?{...n.stroke===void 0?{fill:r?l:c||e}:{stroke:r?l:c||e}}:{};return(0,U.createElement)(t,{...n,...m,...a,opacity:i,key:n.key})}))});Yd.displayName=`HugeiconsIcon`;function Xd({...e}){return(0,G.jsx)(kd,{"data-slot":`sheet`,...e})}function Zd({...e}){return(0,G.jsx)(fd,{"data-slot":`sheet-portal`,...e})}function Qd({className:e,...t}){return(0,G.jsx)(Ru,{"data-slot":`sheet-overlay`,className:H(`fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs`,e),...t})}function $d({className:e,children:t,side:n=`right`,showCloseButton:r=!0,...i}){return(0,G.jsxs)(Zd,{children:[(0,G.jsx)(Qd,{}),(0,G.jsxs)(ud,{"data-slot":`sheet-content`,"data-side":n,className:H(`fixed z-50 flex flex-col gap-4 bg-background bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-e data-[side=left]:data-ending-style:translate-x-[-2.5rem] rtl:data-[side=left]:data-ending-style:-translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] rtl:data-[side=left]:data-starting-style:-translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-s data-[side=right]:data-ending-style:translate-x-[2.5rem] rtl:data-[side=right]:data-ending-style:-translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] rtl:data-[side=right]:data-starting-style:-translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm`,e),...i,children:[t,r&&(0,G.jsxs)(zu,{"data-slot":`sheet-close`,render:(0,G.jsx)(mu,{variant:`ghost`,className:`absolute top-3 end-3`,size:`icon-sm`}),children:[(0,G.jsx)(Yd,{icon:Fd,strokeWidth:2}),(0,G.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function ef({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`sheet-header`,className:H(`flex flex-col gap-0.5 p-4`,e),...t})}function tf({className:e,...t}){return(0,G.jsx)(Ad,{"data-slot":`sheet-title`,className:H(`font-heading text-base font-medium text-foreground`,e),...t})}function nf({className:e,...t}){return(0,G.jsx)(Bu,{"data-slot":`sheet-description`,className:H(`text-sm text-muted-foreground`,e),...t})}function rf({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`skeleton`,className:H(`animate-pulse rounded-md bg-muted`,e),...t})}var af=768;function of(){let[e,t]=U.useState(void 0);return U.useEffect(()=>{let e=window.matchMedia(`(max-width: ${af-1}px)`),n=()=>{t(window.innerWidth<af)};return e.addEventListener(`change`,n),t(window.innerWidth<af),()=>e.removeEventListener(`change`,n)},[]),!!e}var sf=`sidebar_state`,cf=3600*24*7,lf=`16rem`,uf=`18rem`,df=`3rem`,ff=`b`,pf=U.createContext(null);function mf(){let e=U.useContext(pf);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function hf({defaultOpen:e=!0,open:t,onOpenChange:n,className:r,style:i,children:a,...o}){let s=of(),[c,l]=U.useState(!1),[u,d]=U.useState(e),f=t??u,p=U.useCallback(e=>{let t=typeof e==`function`?e(f):e;n?n(t):d(t),document.cookie=`${sf}=${t}; path=/; max-age=${cf}`},[n,f]),m=U.useCallback(()=>s?l(e=>!e):p(e=>!e),[s,p,l]);U.useEffect(()=>{let e=e=>{e.key===ff&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),m())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[m]);let h=f?`expanded`:`collapsed`,g=U.useMemo(()=>({state:h,open:f,setOpen:p,isMobile:s,openMobile:c,setOpenMobile:l,toggleSidebar:m}),[h,f,p,s,c,l,m]);return(0,G.jsx)(pf.Provider,{value:g,children:(0,G.jsx)(`div`,{"data-slot":`sidebar-wrapper`,style:{"--sidebar-width":lf,"--sidebar-width-icon":df,...i},className:H(`group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar`,r),...o,children:a})})}function gf({side:e=`left`,variant:t=`sidebar`,collapsible:n=`offcanvas`,className:r,children:i,dir:a,...o}){let{isMobile:s,state:c,openMobile:l,setOpenMobile:u}=mf();return n===`none`?(0,G.jsx)(`div`,{"data-slot":`sidebar`,className:H(`flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground`,r),...o,children:i}):s?(0,G.jsx)(Xd,{open:l,onOpenChange:u,...o,children:(0,G.jsxs)($d,{dir:a,"data-sidebar":`sidebar`,"data-slot":`sidebar`,"data-mobile":`true`,className:`w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden`,style:{"--sidebar-width":uf},side:e,children:[(0,G.jsxs)(ef,{className:`sr-only`,children:[(0,G.jsx)(tf,{children:`Sidebar`}),(0,G.jsx)(nf,{children:`Displays the mobile sidebar.`})]}),(0,G.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:i})]})}):(0,G.jsxs)(`div`,{className:`group peer hidden text-sidebar-foreground md:block`,"data-state":c,"data-collapsible":c===`collapsed`?n:``,"data-variant":t,"data-side":e,"data-slot":`sidebar`,children:[(0,G.jsx)(`div`,{"data-slot":`sidebar-gap`,className:H(`relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear`,`group-data-[collapsible=offcanvas]:w-0`,`group-data-[side=right]:rotate-180`,t===`floating`||t===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`)}),(0,G.jsx)(`div`,{"data-slot":`sidebar-container`,"data-side":e,className:H(`fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex`,t===`floating`||t===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-e group-data-[side=right]:border-s`,r),...o,children:(0,G.jsx)(`div`,{"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,className:`flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border`,children:i})})]})}function _f({className:e,onClick:t,...n}){let{toggleSidebar:r}=mf();return(0,G.jsxs)(mu,{"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,variant:`ghost`,size:`icon-sm`,className:H(e),onClick:e=>{t?.(e),r()},...n,children:[(0,G.jsx)(Yd,{icon:Hd,strokeWidth:2,className:`rtl:rotate-180`}),(0,G.jsx)(`span`,{className:`sr-only`,children:`Toggle Sidebar`})]})}function vf({className:e,...t}){return(0,G.jsx)(`main`,{"data-slot":`sidebar-inset`,className:H(`relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2`,e),...t})}function yf({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`sidebar-header`,"data-sidebar":`header`,className:H(`flex flex-col gap-2 p-2`,e),...t})}function bf({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:H(`no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,e),...t})}function xf({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:H(`relative flex w-full min-w-0 flex-col p-2`,e),...t})}function Sf({className:e,render:t,...n}){return $l({defaultTagName:`div`,props:xa({className:H(`flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0`,e)},n),render:t,state:{slot:`sidebar-group-label`,sidebar:`group-label`}})}function Cf({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`sidebar-group-content`,"data-sidebar":`group-content`,className:H(`w-full text-sm`,e),...t})}function wf({className:e,...t}){return(0,G.jsx)(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:H(`flex w-full min-w-0 flex-col gap-0`,e),...t})}function Tf({className:e,...t}){return(0,G.jsx)(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:H(`group/menu-item relative`,e),...t})}var Ef=ru(`peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-start text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate`,{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-sm`,sm:`h-7 text-xs`,lg:`h-12 text-sm group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function Df({render:e,isActive:t=!1,variant:n=`default`,size:r=`default`,tooltip:i,className:a,...o}){let{isMobile:s,state:c}=mf(),l=$l({defaultTagName:`button`,props:xa({className:H(Ef({variant:n,size:r}),a)},o),render:i?(0,G.jsx)(ql,{render:e}):e,state:{slot:`sidebar-menu-button`,sidebar:`menu-button`,size:r,active:t}});return i?(typeof i==`string`&&(i={children:i}),(0,G.jsxs)(Kl,{children:[l,(0,G.jsx)(Jl,{side:`right`,align:`center`,hidden:c!==`collapsed`||s,...i})]})):l}function Of(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:String(e)}function kf(e){return e<1?`${e.toFixed(2)}ms`:e<1e3?`${e.toFixed(1)}ms`:`${(e/1e3).toFixed(1)}s`}function Af(e){return e<60?`${e}s`:e<3600?`${Math.floor(e/60)}m ${e%60}s`:`${Math.floor(e/3600)}h ${Math.floor(e%3600/60)}m`}function jf(e){let t=new Date(e),n=String(t.getMilliseconds()).padStart(3,`0`);return`${t.toLocaleTimeString()}.${n}`}function Mf(e){let t=Date.now()-e,n=Math.floor(t/1e3);if(n<5)return`just now`;if(n<60)return`${n}s ago`;let r=Math.floor(n/60);if(r<60)return`${r}m ago`;let i=Math.floor(r/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}function Nf({route:e,navigate:t,data:n,errorCount:r,requestCount:i,sessionCount:a}){return(0,G.jsxs)(gf,{collapsible:`icon`,children:[(0,G.jsx)(yf,{className:`gap-0`,children:(0,G.jsxs)(`div`,{className:`flex items-center gap-2 px-1 py-1 group-data-[collapsible=icon]:justify-center`,children:[(0,G.jsx)(`div`,{className:`flex size-7 items-center justify-center rounded-md bg-primary/10 text-primary`,children:(0,G.jsx)(Yd,{icon:zd,size:16})}),(0,G.jsx)(`span`,{className:`text-sm font-semibold tracking-tight group-data-[collapsible=icon]:hidden`,children:`silgi`})]})}),(0,G.jsxs)(bf,{children:[(0,G.jsxs)(xf,{children:[(0,G.jsx)(Sf,{children:`Views`}),(0,G.jsx)(Cf,{children:(0,G.jsxs)(wf,{className:`gap-0.5`,children:[(0,G.jsx)(Tf,{children:(0,G.jsxs)(Df,{isActive:e.page===`overview`,onClick:()=>t(`overview`),children:[(0,G.jsx)(Yd,{icon:Ld,size:15}),(0,G.jsx)(`span`,{children:`Overview`})]})}),(0,G.jsx)(Tf,{children:(0,G.jsxs)(Df,{isActive:e.page===`requests`,onClick:()=>t(`requests`),children:[(0,G.jsx)(Yd,{icon:Bd,size:15}),(0,G.jsx)(`span`,{children:`Requests`}),i>0&&(0,G.jsx)(`span`,{className:`ml-auto font-mono text-[10px] tabular-nums text-muted-foreground group-data-[collapsible=icon]:hidden`,children:i})]})}),(0,G.jsx)(Tf,{children:(0,G.jsxs)(Df,{isActive:e.page===`errors`,onClick:()=>t(`errors`),children:[(0,G.jsx)(Yd,{icon:jd,size:15}),(0,G.jsx)(`span`,{children:`Errors`}),r>0&&(0,G.jsx)(au,{variant:`destructive`,className:`ml-auto h-4.5 min-w-5 justify-center px-1 text-[10px] group-data-[collapsible=icon]:hidden`,children:r>99?`99+`:r})]})}),(0,G.jsx)(Tf,{children:(0,G.jsxs)(Df,{isActive:e.page===`sessions`,onClick:()=>t(`sessions`),children:[(0,G.jsx)(Yd,{icon:qd,size:15}),(0,G.jsx)(`span`,{children:`Sessions`}),a>0&&(0,G.jsx)(`span`,{className:`ml-auto font-mono text-[10px] tabular-nums text-muted-foreground group-data-[collapsible=icon]:hidden`,children:a})]})})]})})]}),n&&(0,G.jsxs)(xf,{className:`mt-auto group-data-[collapsible=icon]:hidden`,children:[(0,G.jsx)(Sf,{children:`Node`}),(0,G.jsx)(Cf,{children:(0,G.jsxs)(`div`,{className:`flex flex-col gap-1.5 px-2 text-[11px]`,children:[(0,G.jsx)(Pf,{label:`Req/s`,value:Of(n.requestsPerSecond)}),(0,G.jsx)(Pf,{label:`Avg`,value:kf(n.avgLatency)}),(0,G.jsx)(Pf,{label:`Errors`,value:String(n.totalErrors),danger:n.totalErrors>0}),(0,G.jsx)(Pf,{label:`Uptime`,value:Af(n.uptime)})]})})]})]})]})}function Pf({label:e,value:t,danger:n}){return(0,G.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:e}),(0,G.jsx)(`span`,{className:H(`font-mono tabular-nums`,n?`font-medium text-destructive`:`text-foreground`),children:t})]})}function Ff({spans:e,totalMs:t}){let n=(0,U.useMemo)(()=>Math.max(t,...e.map(e=>e.durationMs)),[e,t]),[r,i]=(0,U.useState)(null),[a,o]=(0,U.useState)(!1);function s(){o(!a),i(null)}return(0,G.jsxs)(`div`,{className:`flex flex-col`,children:[(0,G.jsxs)(`div`,{className:`grid grid-cols-[2rem_2.5rem_minmax(0,12rem)_1fr_4.5rem_3rem] items-center gap-2 border-b py-1.5 text-[10px] uppercase tracking-wider text-muted-foreground`,children:[(0,G.jsx)(`button`,{type:`button`,onClick:s,className:`cursor-pointer text-left hover:text-foreground`,title:a?`Collapse all`:`Expand all`,children:a?`▼`:`▶`}),(0,G.jsx)(`span`,{children:`kind`}),(0,G.jsx)(`span`,{children:`span`}),(0,G.jsx)(`span`,{children:`timeline`}),(0,G.jsx)(`span`,{className:`text-right`,children:`dur`}),(0,G.jsx)(`span`,{className:`text-right`,children:`%`})]}),e.map((e,o)=>{let s=n>0?e.durationMs/n*100:0,c=t>0?e.durationMs/t*100:0,l=!!e.error,u=e.durationMs>t*.5,d=If[e.kind]??If.custom,f=l?`bg-destructive/60`:d.bar,p=a||r===o;return(0,G.jsxs)(`div`,{children:[(0,G.jsxs)(`div`,{className:`grid cursor-pointer grid-cols-[2rem_2.5rem_minmax(0,12rem)_1fr_4.5rem_3rem] items-center gap-2 border-b border-dashed py-2 hover:bg-muted/20 last:border-0`,onClick:()=>i(p?null:o),children:[(0,G.jsx)(`span`,{className:`font-mono text-[10px] text-muted-foreground/60`,children:o+1}),(0,G.jsx)(Lf,{kind:e.kind}),(0,G.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[(0,G.jsx)(`span`,{className:`inline-block size-1.5 shrink-0 rounded-full ${d.dot}`}),(0,G.jsx)(`span`,{className:`truncate font-mono text-[11px]`,title:e.name,children:e.name})]}),(0,G.jsxs)(Kl,{children:[(0,G.jsx)(ql,{className:`relative h-5 overflow-hidden rounded bg-muted/20`,children:e.startOffsetMs!=null&&t>0?(0,G.jsx)(`div`,{className:H(`absolute inset-y-0 rounded`,f),style:{left:`${Math.min(e.startOffsetMs/t*100,99)}%`,width:`${Math.max(c,1.5)}%`}}):(0,G.jsx)(`div`,{className:H(`absolute inset-y-0 left-0 rounded`,f),style:{width:`${Math.max(s,2)}%`}})}),(0,G.jsxs)(Jl,{side:`top`,className:`text-xs`,children:[(0,G.jsx)(`span`,{className:`font-medium`,children:e.name}),(0,G.jsxs)(`span`,{className:`ml-1.5 text-muted-foreground`,children:[`[`,e.kind,`]`]}),(0,G.jsx)(`span`,{className:`ml-2 tabular-nums`,children:kf(e.durationMs)}),e.startOffsetMs!=null&&(0,G.jsxs)(`span`,{className:`ml-2 text-muted-foreground`,children:[`at +`,e.startOffsetMs.toFixed(1),`ms`]}),e.error&&(0,G.jsx)(`span`,{className:`ml-2 text-destructive`,children:e.error})]})]}),(0,G.jsx)(`span`,{className:H(`text-right font-mono text-[11px] tabular-nums`,l?`text-destructive`:u?`text-chart-1`:`text-muted-foreground`),children:kf(e.durationMs)}),(0,G.jsxs)(`span`,{className:`text-right font-mono text-[10px] text-muted-foreground/60`,children:[c.toFixed(0),`%`]})]}),p&&(0,G.jsxs)(`div`,{className:`border-b bg-muted/10 px-4 py-3`,children:[(0,G.jsxs)(`div`,{className:`mb-2 flex flex-wrap items-center gap-2 text-[11px]`,children:[(0,G.jsx)(Lf,{kind:e.kind}),(0,G.jsx)(`span`,{className:`font-mono font-semibold`,children:e.name}),(0,G.jsx)(`span`,{className:`tabular-nums text-muted-foreground`,children:kf(e.durationMs)}),e.startOffsetMs!=null&&(0,G.jsxs)(`span`,{className:`text-muted-foreground`,children:[`at +`,e.startOffsetMs.toFixed(1),`ms`]}),(0,G.jsxs)(`span`,{className:`text-muted-foreground`,children:[`(`,t>0?(e.durationMs/t*100).toFixed(0):0,`% of total)`]})]}),e.detail&&(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap rounded-md bg-background p-3 font-mono text-[10px] leading-relaxed text-muted-foreground`,children:e.detail}),e.error&&(0,G.jsx)(`div`,{className:`mt-2 rounded-md bg-destructive/10 px-3 py-2 text-[11px] text-destructive`,children:e.error}),!e.detail&&!e.error&&(0,G.jsxs)(`p`,{className:`text-[11px] text-muted-foreground/60`,children:[`No detail captured. Use `,(0,G.jsx)(`code`,{className:`rounded bg-muted px-1`,children:`ctx.trace(name, fn, { detail: "..." })`}),` to add query/URL info.`]})]})]},`${e.name}-${o}`)})]})}var If={db:{dot:`bg-purple-500`,bar:`bg-purple-500/50`},http:{dot:`bg-blue-500`,bar:`bg-blue-500/50`},cache:{dot:`bg-emerald-500`,bar:`bg-emerald-500/50`},queue:{dot:`bg-amber-500`,bar:`bg-amber-500/50`},email:{dot:`bg-orange-500`,bar:`bg-orange-500/50`},ai:{dot:`bg-cyan-500`,bar:`bg-cyan-500/50`},custom:{dot:`bg-zinc-400`,bar:`bg-zinc-400/40`}};function Lf({kind:e}){return(0,G.jsx)(`span`,{className:H(`rounded px-1 py-0.5 text-center font-mono text-[9px] font-bold uppercase`,{db:`bg-purple-500/15 text-purple-400`,http:`bg-blue-500/15 text-blue-400`,cache:`bg-emerald-500/15 text-emerald-400`,queue:`bg-amber-500/15 text-amber-400`,email:`bg-orange-500/15 text-orange-400`,ai:`bg-cyan-500/15 text-cyan-400`,custom:`bg-zinc-500/15 text-zinc-400`}[e]),children:e})}var Rf=new Set([`authorization`,`cookie`,`x-api-key`]);function zf({entry:e}){let t=Object.entries(e.headers??{}),n=e.input!==void 0&&e.input!==null,r=e.spans.length>0,i=t.length>0;return(0,G.jsxs)(`div`,{className:`grid xl:grid-cols-[1.6fr_1fr]`,children:[(0,G.jsxs)(`div`,{className:`xl:border-r`,children:[(0,G.jsx)(Bf,{label:`Error message`,children:(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap font-mono text-xs leading-relaxed text-destructive/90`,children:e.error})}),r&&(0,G.jsx)(Bf,{label:`Trace timeline — ${e.spans.length} ops, ${kf(e.durationMs)} total`,children:(0,G.jsx)(Ff,{spans:e.spans,totalMs:e.durationMs})}),e.stack&&(0,G.jsx)(Bf,{label:`Stack trace`,children:(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap font-mono text-[10px] leading-relaxed text-muted-foreground`,children:e.stack})})]}),(0,G.jsxs)(`div`,{children:[(0,G.jsx)(Bf,{label:`Metadata`,children:(0,G.jsxs)(`div`,{className:`flex flex-col`,children:[(0,G.jsx)(Vf,{label:`id`,value:String(e.id)}),(0,G.jsx)(Vf,{label:`status`,value:String(e.status),danger:e.status>=500}),(0,G.jsx)(Vf,{label:`code`,value:e.code,danger:!0}),(0,G.jsx)(Vf,{label:`duration`,value:kf(e.durationMs)}),(0,G.jsx)(Vf,{label:`spans`,value:String(e.spans.length)}),(0,G.jsx)(Vf,{label:`headers`,value:String(t.length)})]})}),n&&(0,G.jsx)(Bf,{label:`Input payload`,children:(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap font-mono text-[11px] leading-relaxed`,children:JSON.stringify(e.input,null,2)})}),i&&(0,G.jsx)(Bf,{label:`Headers`,children:(0,G.jsx)(`div`,{className:`flex flex-col`,children:t.map(([e,t])=>(0,G.jsxs)(`div`,{className:`flex gap-3 border-b border-dashed py-1.5 last:border-0`,children:[(0,G.jsx)(`span`,{className:`w-28 shrink-0 truncate font-mono text-[11px] text-muted-foreground`,children:e}),(0,G.jsx)(`span`,{className:`min-w-0 break-all font-mono text-[11px]`,children:Rf.has(e.toLowerCase())?(0,G.jsx)(`span`,{className:`text-muted-foreground/40`,children:`[redacted]`}):t})]},e))})})]})]})}function Bf({label:e,children:t}){return(0,G.jsxs)(`div`,{className:`border-b px-5 py-4 last:border-b-0`,children:[(0,G.jsx)(`h4`,{className:`mb-3 text-[11px] font-semibold text-muted-foreground`,children:e}),t]})}function Vf({label:e,value:t,danger:n}){return(0,G.jsxs)(`div`,{className:`flex items-center justify-between border-b border-dashed py-1.5 last:border-0`,children:[(0,G.jsx)(`span`,{className:`text-[11px] text-muted-foreground`,children:e}),(0,G.jsx)(`span`,{className:H(`font-mono text-[11px]`,n&&`text-destructive`),children:t})]})}var Hf=Date.now(),Uf=1e3;function Wf(e,t){return Math.round((e+Math.random()*(t-e))*100)/100}function Gf(e){return Hf-e}var Kf={uptime:3847,totalRequests:12847,totalErrors:23,errorRate:.18,requestsPerSecond:3.34,avgLatency:12.4,procedures:{"todos/list":{count:5230,errors:2,errorRate:.04,latency:{avg:4.2,p50:3.1,p95:8.7,p99:18.3},lastError:`Connection timeout`,lastErrorTime:Gf(120*Uf)},"todos/create":{count:2841,errors:8,errorRate:.28,latency:{avg:15.6,p50:12.3,p95:35.2,p99:68.1},lastError:`Validation failed`,lastErrorTime:Gf(30*Uf)},"todos/toggle":{count:2104,errors:5,errorRate:.24,latency:{avg:8.9,p50:7.1,p95:19.4,p99:42.6},lastError:`Not Found`,lastErrorTime:Gf(60*Uf)},"users/me":{count:1890,errors:0,errorRate:0,latency:{avg:2.1,p50:1.8,p95:4.2,p99:8.5},lastError:null,lastErrorTime:null},"todos/delete":{count:782,errors:8,errorRate:1.02,latency:{avg:11.3,p50:9.4,p95:24.1,p99:55.2},lastError:`Forbidden`,lastErrorTime:Gf(15*Uf)}},timeSeries:Array.from({length:60},(e,t)=>({time:Math.floor((Hf-(60-t)*Uf)/1e3),count:Math.floor(Wf(1,8)),errors:Math.random()>.85?Math.floor(Wf(1,3)):0}))},qf=[{id:1,requestId:`req-4-d9e3b7`,timestamp:Gf(15*Uf),procedure:`todos/delete`,error:`Forbidden: you do not own this todo`,code:`FORBIDDEN`,status:403,stack:`SilgiError: Forbidden
|
|
34
|
+
at Object.handler (src/procedures/todos.ts:48:9)
|
|
35
|
+
at compiledPipeline (src/compile.ts:209:18)`,input:{id:42},headers:{"content-type":`application/json`,authorization:`Bearer eyJ...`,"user-agent":`Mozilla/5.0`},durationMs:3.62,spans:[{kind:`db`,name:`db.todos.findById`,durationMs:2.1},{kind:`db`,name:`auth.checkOwnership`,durationMs:1.3,error:`Forbidden: you do not own this todo`}]},{id:2,requestId:`req-2-b7d4e9`,timestamp:Gf(30*Uf),procedure:`todos/create`,error:`Validation failed: title must be at least 1 character`,code:`BAD_REQUEST`,status:400,stack:`ValidationError: Validation failed
|
|
36
|
+
at validateSchema (src/core/schema.ts:12:49)`,input:{title:``},headers:{"content-type":`application/json`,"user-agent":`curl/8.7.1`},durationMs:.35,spans:[]},{id:3,requestId:`req-4-d9e3b7`,timestamp:Gf(60*Uf),procedure:`todos/toggle`,error:`Not Found`,code:`NOT_FOUND`,status:404,stack:`SilgiError: Not Found
|
|
37
|
+
at Object.handler (src/procedures/todos.ts:28:9)
|
|
38
|
+
at compiledPipeline (src/compile.ts:209:18)`,input:{id:99999},headers:{"content-type":`application/json`,"user-agent":`curl/8.7.1`},durationMs:3.54,spans:[{kind:`db`,name:`db.todos.findById`,durationMs:3.43}]}],Jf=[{id:1,requestId:`req-1-a3f2c1`,sessionId:`ses-1-x7k9m2`,timestamp:Gf(2*Uf),durationMs:4.82,method:`GET`,path:`/todos/list`,ip:`127.0.0.1`,headers:{"content-type":`application/json`,"user-agent":`Mozilla/5.0`},responseHeaders:{"content-type":`application/json`},userAgent:`Mozilla/5.0`,status:200,isBatch:!1,procedures:[{procedure:`todos/list`,durationMs:4.82,status:200,input:void 0,output:null,spans:[{kind:`cache`,name:`cache.get`,durationMs:.12,startOffsetMs:.1},{kind:`db`,name:`db.todos.findMany`,durationMs:3.87,startOffsetMs:.3,detail:`SELECT * FROM todos ORDER BY created_at DESC`},{kind:`cache`,name:`cache.set`,durationMs:.41,startOffsetMs:4.2}]}]},{id:2,requestId:`req-2-b7d4e9`,sessionId:`ses-1-x7k9m2`,timestamp:Gf(3*Uf),durationMs:18.3,method:`POST`,path:`/todos/create`,ip:`127.0.0.1`,headers:{"content-type":`application/json`},responseHeaders:{},userAgent:`Mozilla/5.0`,status:200,isBatch:!1,procedures:[{procedure:`todos/create`,durationMs:18.3,status:200,input:{title:`Buy groceries`},output:{id:42,title:`Buy groceries`,done:!1},spans:[{kind:`db`,name:`db.todos.create`,durationMs:12.4,startOffsetMs:.5,detail:`INSERT INTO todos (title) VALUES ($1)`},{kind:`cache`,name:`cache.invalidate`,durationMs:.8,startOffsetMs:13.1},{kind:`queue`,name:`queue.publish:todo.created`,durationMs:4.1,startOffsetMs:14}]}]},{id:3,requestId:`req-3-c1f8a2`,sessionId:`ses-2-p4r8w1`,timestamp:Gf(5*Uf),durationMs:24.5,method:`POST`,path:`/batch`,ip:`192.168.1.50`,headers:{"content-type":`application/json`,authorization:`[REDACTED]`},responseHeaders:{},userAgent:`curl/8.7.1`,status:200,isBatch:!0,procedures:[{procedure:`users/me`,durationMs:2.1,status:200,input:void 0,output:{id:1,name:`Alice`},spans:[{kind:`cache`,name:`cache.get:session`,durationMs:.3,startOffsetMs:.1},{kind:`db`,name:`db.users.findById`,durationMs:1.6,startOffsetMs:.5,detail:`SELECT * FROM users WHERE id = $1`}]},{procedure:`todos/list`,durationMs:5.2,status:200,input:void 0,output:null,spans:[{kind:`db`,name:`db.todos.findMany`,durationMs:4.8,startOffsetMs:2.3,detail:`SELECT * FROM todos WHERE user_id = $1`}]},{procedure:`notifications/unread`,durationMs:1.1,status:200,input:void 0,output:{count:3},spans:[{kind:`cache`,name:`cache.get:unread`,durationMs:.2,startOffsetMs:7.6}]}]},{id:4,requestId:`req-4-d9e3b7`,sessionId:`ses-1-x7k9m2`,timestamp:Gf(7*Uf),durationMs:9.7,method:`POST`,path:`/todos/toggle`,ip:`127.0.0.1`,headers:{},responseHeaders:{},userAgent:`Mozilla/5.0`,status:200,isBatch:!1,procedures:[{procedure:`todos/toggle`,durationMs:9.7,status:200,input:{id:5},output:null,spans:[{kind:`db`,name:`db.todos.findById`,durationMs:2.1,startOffsetMs:.2},{kind:`db`,name:`db.todos.update`,durationMs:5.8,startOffsetMs:2.5,detail:`UPDATE todos SET done = NOT done WHERE id = $1`},{kind:`cache`,name:`cache.invalidate`,durationMs:.6,startOffsetMs:8.5},{kind:`http`,name:`http.webhook`,durationMs:.9,startOffsetMs:9.2,detail:`POST https://hooks.example.com/todo-updated`}]}]}],Yf={stats:`/analytics/_api/stats`,errors:`/analytics/_api/errors`,requests:`/analytics/_api/requests`};function Xf(e=2e3){let[t,n]=(0,U.useState)(null),[r,i]=(0,U.useState)([]),[a,o]=(0,U.useState)([]),[s,c]=(0,U.useState)(!0),l=(0,U.useRef)(!1),u=(0,U.useCallback)(async()=>{if(!l.current)try{let[e,t,r]=await Promise.all([fetch(Yf.stats),fetch(Yf.errors),fetch(Yf.requests)]);if(e.status===401||t.status===401||r.status===401){window.location.reload();return}if(!e.ok||!t.ok||!r.ok){d();return}let[a,s,c]=await Promise.all([e.json(),t.json(),r.json()]);n(a),i(s),o(c)}catch{d()}},[]);function d(){l.current=!0,n(Kf),i(qf),o(Jf),c(!1)}return(0,U.useEffect)(()=>{if(l.current||(u(),!s))return;let t=setInterval(u,e);return()=>clearInterval(t)},[u,e,s]),{data:t,errors:r,requests:a,autoRefresh:s,setAutoRefresh:c}}var Zf=2e3;function Qf(){let[e,t]=(0,U.useState)(null),n=(0,U.useRef)(void 0);return{copiedId:e,copy:(0,U.useCallback)((e,r)=>{navigator.clipboard.writeText(r).then(()=>{t(e),clearTimeout(n.current),n.current=setTimeout(()=>t(null),Zf)})},[])}}function $f({navigate:e,toggleRefresh:t}){(0,U.useEffect)(()=>{function n(n){let r=n.target.tagName;if(!(r===`INPUT`||r===`TEXTAREA`||r===`SELECT`)&&!(n.metaKey||n.ctrlKey||n.altKey))switch(n.key){case`1`:e(`overview`);break;case`2`:e(`requests`);break;case`3`:e(`errors`);break;case`r`:t();break;case`/`:n.preventDefault(),document.querySelector(`input[type="search"]`)?.focus();break}}return window.addEventListener(`keydown`,n),()=>window.removeEventListener(`keydown`,n)},[e,t])}function ep(){let[e=`/`,t=``]=(window.location.hash.slice(1)||`/`).split(`?`),n=e.split(`/`).filter(Boolean),r={};if(t)for(let e of t.split(`&`)){let[t,n]=e.split(`=`);t&&(r[t]=decodeURIComponent(n??``))}return n.length===0?{page:`overview`,params:r}:n.length===2?{page:n[0],id:n[1],params:r}:{page:n[0],params:r}}function tp(){let[e,t]=(0,U.useState)(ep);return(0,U.useEffect)(()=>{let e=()=>t(ep());return window.addEventListener(`hashchange`,e),()=>window.removeEventListener(`hashchange`,e)},[]),{route:e,navigate:(0,U.useCallback)((e,t,n)=>{let r=t?`${e}/${t}`:e;if(n){let e=Object.entries(n).map(([e,t])=>`${e}=${encodeURIComponent(t)}`).join(`&`);e&&(r+=`?${e}`)}window.location.hash=r},[])}}function np(){return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function rp(){return localStorage.getItem(`silgi-theme`)??np()}function ip(e){let t=document.documentElement;t.classList.add(`theme-transition`),t.classList.toggle(`dark`,e===`dark`),setTimeout(()=>t.classList.remove(`theme-transition`),250)}function ap(){let[e,t]=(0,U.useState)(rp);(0,U.useEffect)(()=>{ip(e)},[e]);let n=(0,U.useCallback)(e=>{localStorage.setItem(`silgi-theme`,e),t(e)},[]);return{theme:e,setTheme:n,toggle:(0,U.useCallback)(()=>{n(e===`dark`?`light`:`dark`)},[e,n])}}var op=`[REDACTED]`,sp=new Set([`authorization`,`cookie`,`x-api-key`]);function cp(e,t){return sp.has(e.toLowerCase())?op:t}function lp(e){try{return JSON.stringify(e,null,2)}catch{return String(e)}}function up(e,t){if(e.length===0)return``;let n=[],r=new Map;for(let t of e)r.set(t.kind,(r.get(t.kind)??0)+t.durationMs);let i=[...r.values()].reduce((e,t)=>e+t,0),a=Math.max(0,t-i),o=Math.max(t,.1);n.push(`#### Timing`),n.push(``),n.push(`| Category | Duration | % |`),n.push(`|----------|----------|---|`),n.push(`| **Total** | **${t}ms** | 100% |`);for(let[e,t]of r)n.push(`| ${e} | ${t.toFixed(1)}ms | ${(t/o*100).toFixed(0)}% |`);n.push(`| App Logic | ${a.toFixed(1)}ms | ${(a/o*100).toFixed(0)}% |`),n.push(``);for(let t=0;t<e.length;t++){let r=e[t],i=r.error?` ❌ ${r.error}`:``,a=r.startOffsetMs==null?``:` (at +${r.startOffsetMs}ms)`;n.push(`**${t+1}. [${r.kind}] ${r.name}** — ${r.durationMs}ms${a}${i}`),r.detail&&n.push("```",r.detail,"```")}return n.push(``),n.join(`
|
|
39
|
+
`)}function dp(e,t){let n=[],r=e.status>=500?`💥`:e.status>=400?`⚠️`:`✅`;return n.push(`### ${r} ${t+1}. \`${e.procedure}\` → ${e.status} (${e.durationMs}ms)`),n.push(``),e.input!==void 0&&e.input!==null&&n.push(`#### Input`,``,"```json",lp(e.input),"```",``),e.output!==void 0&&e.output!==null&&n.push(`#### Output`,``,"```json",lp(e.output),"```",``),e.error&&n.push(`#### Error`,``,"```",e.error,"```",``),n.push(up(e.spans,e.durationMs)),n.join(`
|
|
40
|
+
`)}function fp(e){let t=[];return t.push(`---`,``),t.push(`**Analyze this request and suggest performance optimizations:**`),t.push(`- Redundant or slow operations that could be combined?`),t.push(`- N+1 query pattern?`),t.push(`- Data that should be cached?`),t.push(`- Sequential calls that could run in parallel?`),e>100&&t.push(`- This request took ${e}ms — what is the bottleneck?`),t.join(`
|
|
41
|
+
`)}function pp(e){let t=[],n=new Date(e.timestamp).toISOString();t.push(`## Error in \`${e.procedure}\``),t.push(``),t.push(`**Time:** ${n} `),t.push(`**Error:** ${e.code} `),t.push(`**Status:** ${e.status} `),t.push(`**Duration:** ${e.durationMs}ms`),t.push(``),e.input!==void 0&&e.input!==null&&t.push(`### Input`,``,"```json",lp(e.input),"```",``),e.stack&&t.push(`### Stack Trace`,``,"```",e.stack,"```",``);let r=Object.entries(e.headers??{});if(r.length>0){t.push(`### Request Headers`,``);for(let[e,n]of r)t.push(`- \`${e}\`: \`${cp(e,n)}\``);t.push(``)}return t.push(up(e.spans,e.durationMs)),t.push(`### Error Message`,``,"```",e.error,"```",``),t.push(fp(e.durationMs)),t.join(`
|
|
42
|
+
`)}function mp(e){let t={...e,headers:Object.fromEntries(Object.entries(e.headers??{}).map(([e,t])=>[e,cp(e,t)]))};return JSON.stringify(t,null,2)}function hp(e){let t=[],n=new Date(e.timestamp).toISOString(),r=e.status>=500?`💥`:e.status>=400?`⚠️`:`✅`;t.push(`## ${r} ${e.method} ${e.path} → ${e.status} (${e.durationMs}ms)`),t.push(``),t.push(`| Field | Value |`),t.push(`|-------|-------|`),t.push(`| Method | ${e.method} |`),t.push(`| Path | \`${e.path}\` |`),t.push(`| Status | ${e.status} |`),t.push(`| Duration | ${e.durationMs}ms |`),t.push(`| Time | ${n} |`),t.push(`| IP | ${e.ip} |`),t.push(`| Procedures | ${e.procedures.length} |`),t.push(`| Batch | ${e.isBatch?`Yes`:`No`} |`),t.push(``);let i=Object.entries(e.headers??{});if(i.length>0){t.push(`### Request Headers`,``);for(let[e,n]of i)t.push(`- \`${e}\`: \`${cp(e,n)}\``);t.push(``)}for(let n=0;n<e.procedures.length;n++)t.push(dp(e.procedures[n],n));let a=Object.entries(e.responseHeaders??{});if(a.length>0){t.push(`### Response Headers`,``);for(let[e,n]of a)t.push(`- \`${e}\`: \`${n}\``);t.push(``)}return t.push(fp(e.durationMs)),t.join(`
|
|
43
|
+
`)}function gp(e){let t=[];t.push(`## Performance: ${e.method} ${e.path} → ${e.status} (${e.durationMs}ms)`),t.push(``);for(let n=0;n<e.procedures.length;n++){let r=e.procedures[n];t.push(`### ${n+1}. \`${r.procedure}\` (${r.durationMs}ms)`),t.push(``),t.push(up(r.spans,r.durationMs))}return t.push(fp(e.durationMs)),t.join(`
|
|
44
|
+
`)}function _p(e){let t={...e,headers:Object.fromEntries(Object.entries(e.headers??{}).map(([e,t])=>[e,cp(e,t)])),responseHeaders:Object.fromEntries(Object.entries(e.responseHeaders??{}).map(([e,t])=>[e,cp(e,t)]))};return JSON.stringify(t,null,2)}function vp(e,t){let n=[],r=[...e].sort((e,t)=>e.timestamp-t.timestamp),i=r[0],a=r[r.length-1],o=e.reduce((e,t)=>e+t.durationMs,0),s=e.filter(e=>e.status>=400).length,c=new Set(e.flatMap(e=>e.procedures.map(e=>e.procedure)));n.push(`## Session \`${t}\``),n.push(``),n.push(`| Field | Value |`),n.push(`|-------|-------|`),n.push(`| Requests | ${e.length} |`),n.push(`| Errors | ${s} |`),n.push(`| Total Duration | ${o.toFixed(1)}ms |`),n.push(`| Avg Duration | ${(o/e.length).toFixed(1)}ms |`),n.push(`| First Seen | ${new Date(i.timestamp).toISOString()} |`),n.push(`| Last Seen | ${new Date(a.timestamp).toISOString()} |`),n.push(`| Procedures | ${[...c].join(`, `)} |`),n.push(`| IP | ${a.ip} |`),n.push(``);for(let e=0;e<r.length;e++){let t=r[e],i=t.status>=500?`💥`:t.status>=400?`⚠️`:`✅`;n.push(`### ${i} ${e+1}. ${t.method} ${t.path} → ${t.status} (${t.durationMs}ms)`),n.push(``);for(let e of t.procedures)n.push(`- \`${e.procedure}\` — ${e.status} — ${e.durationMs}ms — ${e.spans.length} spans`);n.push(``)}return n.join(`
|
|
45
|
+
`)}function yp(e,t){let n=e.map(e=>({...e,headers:Object.fromEntries(Object.entries(e.headers??{}).map(([e,t])=>[e,cp(e,t)])),responseHeaders:Object.fromEntries(Object.entries(e.responseHeaders??{}).map(([e,t])=>[e,cp(e,t)]))}));return JSON.stringify({sessionId:t,requests:n},null,2)}function bp({errors:e,id:t,navigate:n}){let{copiedId:r,copy:i}=Qf(),a=e.find(e=>e.id===Number(t));return a?(0,G.jsxs)(`div`,{children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2 border-b px-5 py-3`,children:[(0,G.jsxs)(mu,{variant:`ghost`,size:`xs`,onClick:()=>n(`errors`),children:[(0,G.jsx)(Yd,{icon:Nd,"data-icon":`inline-start`}),`Errors`]}),(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:`/`}),(0,G.jsx)(`span`,{className:`font-mono text-sm font-semibold`,children:a.procedure}),(0,G.jsx)(au,{variant:`destructive`,children:a.code}),(0,G.jsx)(au,{variant:`secondary`,children:a.status}),(0,G.jsx)(au,{variant:`secondary`,children:kf(a.durationMs)}),a.spans.length>0&&(0,G.jsxs)(au,{variant:`secondary`,children:[a.spans.length,` spans`]}),a.requestId&&(0,G.jsxs)(au,{variant:`outline`,className:`cursor-pointer font-mono text-[9px] hover:bg-muted`,onClick:()=>n(`requests`,a.requestId),children:[`req:`,a.requestId.slice(0,8)]}),(0,G.jsx)(`span`,{className:`text-[11px] text-muted-foreground`,children:jf(a.timestamp)}),(0,G.jsxs)(`div`,{className:`ml-auto flex gap-1`,children:[(0,G.jsx)(xp,{copied:r===`md-${a.id}`,onClick:()=>i(`md-${a.id}`,pp(a)),children:`md`}),(0,G.jsx)(xp,{copied:r===`json-${a.id}`,onClick:()=>i(`json-${a.id}`,mp(a)),children:`json`})]})]}),(0,G.jsx)(zf,{entry:a})]}):(0,G.jsx)(`div`,{className:`flex min-h-40 items-center justify-center text-sm text-muted-foreground`,children:`Error not found`})}function xp({copied:e,onClick:t,children:n}){return(0,G.jsxs)(mu,{variant:e?`default`:`outline`,size:`xs`,onClick:t,children:[(0,G.jsx)(Yd,{icon:e?Wd:Id,"data-icon":`inline-start`}),e?`copied`:n]})}function Sp({className:e,...t}){return(0,G.jsxs)(`div`,{className:H(`relative w-full min-w-0 sm:max-w-64`,e),children:[(0,G.jsx)(Yd,{icon:Vd,size:14,className:`pointer-events-none absolute top-1/2 left-3 -translate-y-1/2 text-muted-foreground`}),(0,G.jsx)(Mu,{type:`search`,className:`h-8 pr-3 pl-9 text-xs shadow-none`,...t})]})}var Cp=U.createContext(null),wp=U.createContext(null);function Tp(){let e=U.useContext(Cp);if(e===null)throw Error(lt(60));return e}function Ep(){let e=U.useContext(wp);if(e===null)throw Error(lt(61));return e}var Dp=(e,t)=>Object.is(e,t);function Op(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function kp(e,t,n){return!e||e.length===0?!1:e.some(e=>e===void 0?!1:Op(t,e,n))}function Ap(e,t,n){return!e||e.length===0?-1:e.findIndex(e=>e===void 0?!1:Op(e,t,n))}function jp(e,t,n){return e.filter(e=>!Op(t,e,n))}function Mp(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function Np(e){return e!=null&&e.length>0&&typeof e[0]==`object`&&e[0]!=null&&`items`in e[0]}function Pp(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(Np(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function Fp(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return Mp(e)}function Ip(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?Mp(e.value):Mp(e)}function Lp(e,t,n){function r(){return Fp(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e==`object`&&`label`in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return t[e]??r();if(Array.isArray(t)){let n=t,i=Np(n)?n.flatMap(e=>e.items):n;if(typeof e!=`object`||!e){let t=i.find(t=>t.value===e);return t&&t.label!=null?t.label:r()}if(`value`in e){let t=i.find(t=>t&&t.value===e.value);if(t&&t.label!=null)return t.label}}return r()}function Rp(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push((0,G.jsx)(U.Fragment,{children:Lp(r,t,n)},i)),e),[])}var Y={id:q(e=>e.id),labelId:q(e=>e.labelId),modal:q(e=>e.modal),multiple:q(e=>e.multiple),items:q(e=>e.items),itemToStringLabel:q(e=>e.itemToStringLabel),itemToStringValue:q(e=>e.itemToStringValue),isItemEqualToValue:q(e=>e.isItemEqualToValue),value:q(e=>e.value),hasSelectedValue:q(e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:Ip(t,r)!==``}),hasNullItemLabel:q((e,t)=>t?Pp(e.items):!1),open:q(e=>e.open),mounted:q(e=>e.mounted),forceMount:q(e=>e.forceMount),transitionStatus:q(e=>e.transitionStatus),openMethod:q(e=>e.openMethod),activeIndex:q(e=>e.activeIndex),selectedIndex:q(e=>e.selectedIndex),isActive:q((e,t)=>e.activeIndex===t),isSelected:q((e,t,n)=>{let r=e.isItemEqualToValue,i=e.value;return e.multiple?Array.isArray(i)&&i.some(e=>Op(n,e,r)):e.selectedIndex===t&&e.selectedIndex!==null?!0:Op(n,i,r)}),isSelectedByFocus:q((e,t)=>e.selectedIndex===t),popupProps:q(e=>e.popupProps),triggerProps:q(e=>e.triggerProps),triggerElement:q(e=>e.triggerElement),positionerElement:q(e=>e.positionerElement),listElement:q(e=>e.listElement),scrollUpArrowVisible:q(e=>e.scrollUpArrowVisible),scrollDownArrowVisible:q(e=>e.scrollDownArrowVisible),hasScrollArrows:q(e=>e.hasScrollArrows)};function zp(e){let{id:t,value:n,defaultValue:r=null,onValueChange:i,open:a,defaultOpen:o=!1,onOpenChange:s,name:c,autoComplete:l,disabled:u=!1,readOnly:d=!1,required:f=!1,modal:p=!0,actionsRef:m,inputRef:h,onOpenChangeComplete:g,items:_,multiple:v=!1,itemToStringLabel:y,itemToStringValue:b,isItemEqualToValue:x=Dp,highlightItemOnHover:S=!0,children:C}=e,{clearErrors:w}=Cu(),{setDirty:T,setTouched:E,setFocused:D,shouldValidateOnChange:O,validityData:k,setFilled:A,name:j,disabled:M,validation:N,validationMode:P}=xu(),F=Ou({id:t}),I=M||u,ee=j??c,[L,te]=Du({controlled:n,default:v?r??ei:r,name:`Select`,state:`value`}),[R,ne]=Du({controlled:a,default:o,name:`Select`,state:`open`}),re=U.useRef([]),ie=U.useRef([]),z=U.useRef(null),ae=U.useRef(null),oe=U.useRef(0),se=U.useRef(null),ce=U.useRef([]),le=U.useRef(!1),ue=U.useRef(!1),de=U.useRef(null),fe=U.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}),pe=U.useRef(!1),{mounted:me,setMounted:he,transitionStatus:ge}=ic(R),{openMethod:_e,triggerProps:ve}=wd(R),ye=$e(()=>new ec({id:F,labelId:void 0,modal:p,multiple:v,itemToStringLabel:y,itemToStringValue:b,isItemEqualToValue:x,value:L,open:R,mounted:me,transitionStatus:ge,items:_,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,be=J(ye,Y.activeIndex),xe=J(ye,Y.selectedIndex),Se=J(ye,Y.triggerElement),Ce=J(ye,Y.positionerElement),we=U.useMemo(()=>v&&Array.isArray(L)&&L.length===0?``:Ip(L,b),[v,L,b]),B=U.useMemo(()=>v&&Array.isArray(L)?L.map(e=>Ip(e,b)):Ip(L,b),[v,L,b]),Te=ji(ye.state.triggerElement);ku({id:F,commit:N.commit,value:L,controlRef:Te,name:ee,getValue:()=>B});let Ee=U.useRef(L);W(()=>{L!==Ee.current&&ye.set(`forceMount`,!0)},[ye,L]),W(()=>{A(v?Array.isArray(L)&&L.length>0:L!=null)},[v,L,A]),W(function(){if(R)return;let e=ce.current;if(v){let t=Array.isArray(L)?L:[];if(t.length===0){ye.set(`selectedIndex`,null);return}let n=t[t.length-1],r=Ap(e,n,x);ye.set(`selectedIndex`,r===-1?null:r);return}let t=Ap(e,L,x);ye.set(`selectedIndex`,t===-1?null:t)},[v,R,L,ce,x,ye]),Cd(L,()=>{w(ee),T(L!==k.initialValue),O()?N.commit(L):N.commit(L,!0)});let De=K((e,t)=>{if(s?.(e,t),!t.isCanceled&&(ne(e),!e&&(t.reason===`focus-out`||t.reason===`outside-press`)&&(E(!0),D(!1),P===`onBlur`&&N.commit(L)),!e&&ye.state.activeIndex!==null)){let e=re.current[ye.state.activeIndex];queueMicrotask(()=>{e?.setAttribute(`tabindex`,`-1`)})}}),Oe=K(()=>{he(!1),ye.set(`activeIndex`,null),g?.(!1)});uc({enabled:!m,open:R,ref:z,onComplete(){R||Oe()}}),U.useImperativeHandle(m,()=>({unmount:Oe}),[Oe]);let ke=K((e,t)=>{i?.(e,t),!t.isCanceled&&te(e)}),Ae=K(()=>{let e=ye.state.listElement||z.current;if(!e)return;let t=e.scrollTop,n=e.scrollTop+e.clientHeight,r=t>1,i=n<e.scrollHeight-1;ye.state.scrollUpArrowVisible!==r&&ye.set(`scrollUpArrowVisible`,r),ye.state.scrollDownArrowVisible!==i&&ye.set(`scrollDownArrowVisible`,i)}),je=bc({open:R,onOpenChange:De,elements:{reference:Se,floating:Ce}}),{getReferenceProps:V,getFloatingProps:Me,getItemProps:Ne}=Pc([ao(je,{enabled:!d&&!I,event:`mousedown`}),po(je,{bubbles:!1}),Uc(je,{enabled:!d&&!I,listRef:re,activeIndex:be,selectedIndex:xe,disabledIndices:ei,onNavigate(e){e===null&&!R||ye.set(`activeIndex`,e)},focusItemOnHover:!1}),Kc(je,{enabled:!d&&!I&&(R||!v),listRef:ie,activeIndex:be,selectedIndex:xe,onMatch(e){R?ye.set(`activeIndex`,e):ke(ce.current[e],bi(`none`))},onTypingChange(e){le.current=e}})]),Pe=U.useMemo(()=>xa(V(),ve,F?{id:F}:ti),[V,ve,F]);st(()=>{ye.update({popupProps:Me(),triggerProps:Pe})}),W(()=>{ye.update({id:F,modal:p,multiple:v,value:L,open:R,mounted:me,transitionStatus:ge,popupProps:Me(),triggerProps:Pe,items:_,itemToStringLabel:y,itemToStringValue:b,isItemEqualToValue:x,openMethod:_e})},[ye,F,p,v,L,R,me,ge,Me,Pe,_,y,b,x,_e]);let Fe=U.useMemo(()=>({store:ye,name:ee,required:f,disabled:I,readOnly:d,multiple:v,itemToStringLabel:y,itemToStringValue:b,highlightItemOnHover:S,setValue:ke,setOpen:De,listRef:re,popupRef:z,scrollHandlerRef:ae,handleScrollArrowVisibility:Ae,scrollArrowsMountedCountRef:oe,getItemProps:Ne,events:je.context.events,valueRef:se,valuesRef:ce,labelsRef:ie,typingRef:le,selectionRef:fe,selectedItemTextRef:de,validation:N,onOpenChangeComplete:g,keyboardActiveRef:ue,alignItemWithTriggerActiveRef:pe,initialValueRef:Ee}),[ye,ee,f,I,d,v,y,b,S,ke,De,Ne,je.context.events,N,g,Ae]),Ie=Ti(h,N.inputRef),Le=v&&Array.isArray(L)&&L.length>0,Re=v?void 0:ee,ze=U.useMemo(()=>!v||!Array.isArray(L)||!ee?null:L.map(e=>{let t=Ip(e,b);return(0,G.jsx)(`input`,{type:`hidden`,name:ee,value:t},t)}),[v,L,ee,b]);return(0,G.jsx)(Cp.Provider,{value:Fe,children:(0,G.jsxs)(wp.Provider,{value:je,children:[C,(0,G.jsx)(`input`,{...N.getInputValidationProps({onFocus(){ye.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.target.value,n=bi(oi,e.nativeEvent);function r(){if(v)return;let e=ce.current.find(e=>Ip(e,b).toLowerCase()===t.toLowerCase());e!=null&&(T(e!==k.initialValue),ke(e,n),O()&&N.commit(e))}ye.set(`forceMount`,!0),queueMicrotask(r)}}),id:F&&Re==null?`${F}-hidden-input`:void 0,name:Re,autoComplete:l,value:we,disabled:I,required:f&&!Le,readOnly:d,ref:Ie,style:ee?Ui:Hi,tabIndex:-1,"aria-hidden":!0}),ze]})})}function Bp(e,t){return e??t}function Vp(e){let t=e.getBoundingClientRect(),n=window.getComputedStyle(e,`::before`),r=window.getComputedStyle(e,`::after`);if(!(n.content!==`none`||r.content!==`none`))return t;let i=parseFloat(n.width)||0,a=parseFloat(n.height)||0,o=parseFloat(r.width)||0,s=parseFloat(r.height)||0,c=Math.max(t.width,i,o),l=Math.max(t.height,a,s),u=c-t.width,d=l-t.height;return{left:t.left-u/2,right:t.right+u/2,top:t.top-d/2,bottom:t.bottom+d/2}}var Hp=2,Up=400,Wp=200,Gp={...ml,...yu,value:()=>null},Kp=U.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:o=!0,...s}=e,{setTouched:c,setFocused:l,validationMode:u,state:d,disabled:f}=xu(),{labelId:p}=Tu(),{store:m,setOpen:h,selectionRef:g,validation:_,readOnly:v,required:y,alignItemWithTriggerActiveRef:b,disabled:x,keyboardActiveRef:S}=Tp(),C=f||x||a,w=J(m,Y.open),T=J(m,Y.value),E=J(m,Y.triggerProps),D=J(m,Y.positionerElement),O=J(m,Y.listElement),k=J(m,Y.id),A=J(m,Y.labelId),j=J(m,Y.hasSelectedValue),M=!j&&w,N=J(m,Y.hasNullItemLabel,M),P=i??k,F=Bp(p,A);Ou({id:P});let I=ji(D),ee=U.useRef(null),{getButtonProps:L,buttonRef:te}=lu({disabled:C,native:o}),R=Ti(t,ee,te,K(e=>{m.set(`triggerElement`,e)})),ne=gt(),re=gt(),ie=gt(),z=gt();U.useEffect(()=>{if(w)return j||N?z.start(Wp,()=>{g.current.allowUnselectedMouseUp=!0,ie.start(Wp,()=>{g.current.allowSelectedMouseUp=!0})}):ie.start(Up,()=>{g.current.allowUnselectedMouseUp=!0,g.current.allowSelectedMouseUp=!0}),()=>{ie.clear(),z.clear()};g.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1},re.clear()},[w,j,N,g,re,ie,z]);let ae=U.useMemo(()=>O?.id??_n(D)?.id,[O,D]),oe=xa(E,{id:P,role:`combobox`,"aria-expanded":w?`true`:`false`,"aria-haspopup":`listbox`,"aria-controls":w?ae:void 0,"aria-labelledby":F,"aria-readonly":v||void 0,"aria-required":y||void 0,tabIndex:C?-1:0,ref:R,onFocus(e){l(!0),w&&b.current&&h(!1,bi(oi,e.nativeEvent)),ne.start(0,()=>{m.set(`forceMount`,!0)})},onBlur(e){ln(D,e.relatedTarget)||(c(!0),l(!1),u===`onBlur`&&_.commit(T))},onPointerMove(){S.current=!1},onKeyDown(){S.current=!0},onMouseDown(e){if(w)return;let t=Vr(e.currentTarget);function n(e){if(!ee.current)return;let t=e.target;if(ln(ee.current,t)||ln(I.current,t)||t===ee.current)return;let n=Vp(ee.current);e.clientX>=n.left-Hp&&e.clientX<=n.right+Hp&&e.clientY>=n.top-Hp&&e.clientY<=n.bottom+Hp||h(!1,bi(gi,e))}re.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},_.getValidationProps,s,L);oe.role=`combobox`;let se={...d,open:w,disabled:C,value:T,readOnly:v,placeholder:!j};return Ma(`button`,e,{ref:[t,ee],state:se,stateAttributesMapping:Gp,props:oe})}),qp={value:()=>null},Jp=U.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,...o}=e,{store:s,valueRef:c}=Tp(),l=J(s,Y.value),u=J(s,Y.items),d=J(s,Y.itemToStringLabel),f=J(s,Y.hasSelectedValue),p=!f&&a!=null&&i==null,m=J(s,Y.hasNullItemLabel,p),h={value:l,placeholder:!f},g=null;return g=typeof i==`function`?i(l):i??(!f&&a!=null&&!m?a:Array.isArray(l)?Rp(l,u,d):Lp(l,u,d)),Ma(`span`,e,{state:h,ref:[t,c],props:[{children:g},o],stateAttributesMapping:qp})}),Yp=U.forwardRef(function(e,t){let{className:n,render:r,...i}=e,{store:a}=Tp();return Ma(`span`,e,{state:{open:J(a,Y.open)},ref:t,props:[{"aria-hidden":!0,children:`▼`},i],stateAttributesMapping:pl})}),Xp=U.createContext(void 0),Zp=U.forwardRef(function(e,t){let{store:n}=Tp(),r=J(n,Y.mounted),i=J(n,Y.forceMount);return r||i?(0,G.jsx)(Xp.Provider,{value:!0,children:(0,G.jsx)(Ha,{ref:t,...e})}):null}),Qp=U.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function $p(){return U.useContext(Qp)}function em(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=K(i),o=U.useRef(0),s=$e(nm).current,c=$e(tm).current,[l,u]=U.useState(0),d=U.useRef(l),f=K((e,t)=>{c.set(e,t??null),d.current+=1,u(d.current)}),p=K(e=>{c.delete(e),d.current+=1,u(d.current)}),m=U.useMemo(()=>{let e=new Map;return Array.from(c.keys()).filter(e=>e.isConnected).sort(rm).forEach((t,n)=>{let r=c.get(t)??{};e.set(t,{...r,index:n})}),e},[c,l]);W(()=>{if(typeof MutationObserver!=`function`||m.size===0)return;let e=new MutationObserver(e=>{let t=new Set,n=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(n),e.addedNodes.forEach(n)}),t.size===0&&(d.current+=1,u(d.current))});return m.forEach((t,n)=>{n.parentElement&&e.observe(n.parentElement,{childList:!0})}),()=>{e.disconnect()}},[m]),W(()=>{d.current===l&&(n.current.length!==m.size&&(n.current.length=m.size),r&&r.current.length!==m.size&&(r.current.length=m.size),o.current=m.size),a(m)},[a,m,n,r,l]),W(()=>()=>{n.current=[]},[n]),W(()=>()=>{r&&(r.current=[])},[r]);let h=K(e=>(s.add(e),()=>{s.delete(e)}));W(()=>{s.forEach(e=>e(m))},[s,m]);let g=U.useMemo(()=>({register:f,unregister:p,subscribeMapChange:h,elementsRef:n,labelsRef:r,nextIndexRef:o}),[f,p,h,n,r,o]);return(0,G.jsx)(Qp.Provider,{value:g,children:t})}function tm(){return new Map}function nm(){return new Set}function rm(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}var im=U.createContext(void 0);function am(){let e=U.useContext(im);if(!e)throw Error(lt(59));return e}function om(e,t){e&&Object.assign(e.style,t)}var sm={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`},cm={position:`fixed`},lm=U.forwardRef(function(e,t){let{anchor:n,positionMethod:r=`absolute`,className:i,render:a,side:o=`bottom`,align:s=`center`,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m,alignItemWithTrigger:h=!0,collisionAvoidance:g=ri,..._}=e,{store:v,listRef:y,labelsRef:b,alignItemWithTriggerActiveRef:x,selectedItemTextRef:S,valuesRef:C,initialValueRef:w,popupRef:T,setValue:E}=Tp(),D=Ep(),O=J(v,Y.open),k=J(v,Y.mounted),A=J(v,Y.modal),j=J(v,Y.value),M=J(v,Y.openMethod),N=J(v,Y.positionerElement),P=J(v,Y.triggerElement),F=J(v,Y.isItemEqualToValue),I=J(v,Y.transitionStatus),ee=U.useRef(null),L=U.useRef(null),[te,R]=U.useState(h),ne=k&&te&&M!==`touch`;!k&&te!==h&&R(h),W(()=>{k||(Y.scrollUpArrowVisible(v.state)&&v.set(`scrollUpArrowVisible`,!1),Y.scrollDownArrowVisible(v.state)&&v.set(`scrollDownArrowVisible`,!1))},[v,k]),U.useImperativeHandle(x,()=>ne),xd((ne||A)&&O&&M!==`touch`,P);let re=Il({anchor:n,floatingRootContext:D,positionMethod:r,mounted:k,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m??ne,collisionAvoidance:g,keepMounted:!0}),ie=ne?`none`:re.side,z=ne?cm:re.positionerStyles,ae=U.useMemo(()=>{let e={};return O||(e.pointerEvents=`none`),{role:`presentation`,hidden:!k,style:{...z,...e}}},[O,k,z]),oe={open:O,side:ie,align:re.align,anchorHidden:re.anchorHidden},se=Ma(`div`,e,{ref:[t,K(e=>{v.set(`positionerElement`,e)})],state:oe,stateAttributesMapping:hl,props:[ae,Rl(I),_]}),ce=U.useRef(0),le=K(e=>{if(e.size===0&&ce.current===0||C.current.length===0)return;let t=ce.current;if(ce.current=e.size,e.size===t)return;let n=bi(oi);if(t!==0&&!v.state.multiple&&j!==null&&Ap(C.current,j,F)===-1){let e=w.current,t=e!=null&&Ap(C.current,e,F)!==-1?e:null;E(t,n),t===null&&(v.set(`selectedIndex`,null),S.current=null)}if(t!==0&&v.state.multiple&&Array.isArray(j)){let e=e=>Ap(C.current,e,F)!==-1,t=j.filter(t=>e(t));(t.length!==j.length||t.some(e=>!kp(j,e,F)))&&(E(t,n),t.length===0&&(v.set(`selectedIndex`,null),S.current=null))}if(O&&ne){v.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};om(N,e),om(T.current,e)}}),ue=U.useMemo(()=>({...re,side:ie,alignItemWithTriggerActive:ne,setControlledAlignItemWithTrigger:R,scrollUpArrowRef:ee,scrollDownArrowRef:L}),[re,ie,ne,R]);return(0,G.jsx)(em,{elementsRef:y,labelsRef:b,onMapChange:le,children:(0,G.jsxs)(im.Provider,{value:ue,children:[k&&A&&(0,G.jsx)(dd,{inert:Wl(!O),cutout:P}),se]})})});function um(e){let t=e.currentTarget.getBoundingClientRect();return t.top+1<=e.clientY&&e.clientY<=t.bottom-1&&t.left+1<=e.clientX&&e.clientX<=t.right-1}var dm=`base-ui-disable-scrollbar`,fm={className:dm,getElement(e){return(0,G.jsx)(`style`,{nonce:e,href:dm,precedence:`base-ui:low`,children:`.${dm}{scrollbar-width:none}.${dm}::-webkit-scrollbar{display:none}`})}},pm=U.createContext(void 0);function mm(e){let t=U.useContext(pm);if(t===void 0&&!e)throw Error(lt(69));return t}function hm(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}var gm=U.createContext(void 0),_m={disableStyleElements:!1};function vm(){return U.useContext(gm)??_m}var ym=1,bm={...hl,...cc},xm=U.forwardRef(function(e,t){let{render:n,className:r,finalFocus:i,...a}=e,{store:o,popupRef:s,onOpenChangeComplete:c,setOpen:l,valueRef:u,selectedItemTextRef:d,keyboardActiveRef:f,multiple:p,handleScrollArrowVisibility:m,scrollHandlerRef:h,highlightItemOnHover:g}=Tp(),{side:_,align:v,alignItemWithTriggerActive:y,setControlledAlignItemWithTrigger:b,scrollDownArrowRef:x,scrollUpArrowRef:S}=am(),C=mm(!0)!=null,w=Ep(),{nonce:T,disableStyleElements:E}=vm(),D=gt(),O=J(o,Y.id),k=J(o,Y.open),A=J(o,Y.mounted),j=J(o,Y.popupProps),M=J(o,Y.transitionStatus),N=J(o,Y.triggerElement),P=J(o,Y.positionerElement),F=J(o,Y.listElement),I=U.useRef(0),ee=U.useRef(!1),L=U.useRef(0),te=U.useRef(!1),R=U.useRef({}),ne=Bi(),re=K(e=>{if(!P||!s.current||!te.current)return;if(ee.current||!y){m();return}let t=P.style.top===`0px`,n=P.style.bottom===`0px`,r=P.getBoundingClientRect().height,i=Vr(P),a=getComputedStyle(P),o=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),l=Sm(getComputedStyle(s.current)),u=Math.min(i.documentElement.clientHeight-o-c,l),d=e.scrollTop,f=Cm(e),p=0,h=null,g=!1,_=!1,v=e=>{P.style.height=`${e}px`},b=(t,n)=>{let i=hm(t,0,u-r);i>0&&v(r+i),e.scrollTop=n,u-(r+i)<=ym&&(ee.current=!0),m()};if(t){let e=f-d,t=r+e,n=Math.min(t,u);if(p=n,e<=ym){b(e,f);return}u-n>ym?_=!0:g=!0}else if(n){let e=d,t=r+e,n=Math.min(t,u),i=t-u;if(p=n,e<=ym){b(e,0);return}u-n>ym?h=0:(g=!0,d<f&&(h=d-(e-i)))}if(p=Math.ceil(p),p!==0&&v(p),_||h!=null){let t=Cm(e),n=_?t:hm(h,0,t);Math.abs(e.scrollTop-n)>ym&&(e.scrollTop=n)}(g||p>=u-ym)&&(ee.current=!0),m()});U.useImperativeHandle(h,()=>re,[re]),uc({open:k,ref:s,onComplete(){k&&c?.(!0)}});let ie={open:k,transitionStatus:M,side:_,align:v};W(()=>{!P||!s.current||Object.keys(R.current).length||(R.current={top:P.style.top||`0`,left:P.style.left||`0`,right:P.style.right,height:P.style.height,bottom:P.style.bottom,minHeight:P.style.minHeight,maxHeight:P.style.maxHeight,marginTop:P.style.marginTop,marginBottom:P.style.marginBottom})},[s,P]),W(()=>{k||y||(te.current=!1,ee.current=!1,I.current=0,L.current=0,om(P,R.current))},[k,y,P,s]),W(()=>{let e=s.current;if(!(!k||!N||!P||!e||o.state.transitionStatus===`ending`)){if(!y){te.current=!0,ne.request(m),e.style.removeProperty(`--transform-origin`);return}queueMicrotask(()=>{let t=Dm(e);e.style.removeProperty(`--transform-origin`);try{let t=getComputedStyle(P),n=getComputedStyle(e),r=Vr(N),i=yt(P),a=wm(N),o=Tm(N.getBoundingClientRect(),a),s=Tm(P.getBoundingClientRect(),a),c=o.left,l=o.height,f=F||e,p=f.scrollHeight,h=parseFloat(n.borderBottomWidth),g=parseFloat(t.marginTop)||10,_=parseFloat(t.marginBottom)||10,v=parseFloat(t.minHeight)||100,y=Sm(n),x=r.documentElement.clientHeight-g-_,S=r.documentElement.clientWidth,C=x-o.bottom+l,w=d.current,T=u.current,E,D=0,O=0;if(w&&T){let e=Tm(T.getBoundingClientRect(),a);E=Tm(w.getBoundingClientRect(),a);let t=e.left-c,n=E.left-s.left,r=e.top-o.top+e.height/2,i=E.top-s.top+E.height/2;D=t-n,O=i-r}let k=C+O+_+h,A=Math.min(x,k),j=x-g-_,M=k-A,L=Math.max(5,c+D),ne=S-5,re=Math.max(0,L+s.width-ne);P.style.left=`${L-re}px`,P.style.height=`${A}px`,P.style.maxHeight=`auto`,P.style.marginTop=`${g}px`,P.style.marginBottom=`${_}px`,e.style.height=`100%`;let ie=Cm(f),z=M>=ie-ym;z&&(A=Math.min(x,s.height)-(M-ie));let ae=o.top<20||o.bottom>x-20||Math.ceil(A)+ym<Math.min(p,v),oe=(i.visualViewport?.scale??1)!==1&&Kt;if(ae||oe){te.current=!0,om(P,R.current),La.flushSync(()=>b(!1));return}if(z){let e=Math.max(0,x-k);P.style.top=s.height>=j?`0`:`${e}px`,P.style.height=`${A}px`,f.scrollTop=Cm(f),I.current=Math.max(v,A)}else P.style.bottom=`0`,I.current=Math.max(v,A),f.scrollTop=M;if(E){let t=s.top,n=s.height,r=E.top+E.height/2,i=hm(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(`--transform-origin`,`50% ${i}%`)}(I.current===x||A>=y)&&(ee.current=!0),m(),setTimeout(()=>{te.current=!0})}finally{t()}})}},[o,k,P,N,u,d,s,m,y,b,ne,x,S,F]),U.useEffect(()=>{if(!y||!P||!k)return;let e=yt(P);function t(e){l(!1,bi(yi,e))}return e.addEventListener(`resize`,t),()=>{e.removeEventListener(`resize`,t)}},[l,y,P,k]);let z={...F?{role:`presentation`,"aria-orientation":void 0}:{role:`listbox`,"aria-multiselectable":p||void 0,id:`${O}-list`},onKeyDown(e){f.current=!0,C&&nd.has(e.key)&&e.stopPropagation()},onMouseMove(){f.current=!1},onPointerLeave(e){if(!g||um(e)||e.pointerType===`touch`)return;let t=e.currentTarget;D.start(0,()=>{o.set(`activeIndex`,null),t.focus({preventScroll:!0})})},onScroll(e){F||re(e.currentTarget)},...y&&{style:F?{height:`100%`}:sm}},ae=Ma(`div`,e,{ref:[t,s],state:ie,stateAttributesMapping:bm,props:[j,z,Rl(M),{className:!F&&y?fm.className:void 0},a]});return(0,G.jsxs)(U.Fragment,{children:[!E&&fm.getElement(T),(0,G.jsx)(io,{context:w,modal:!1,disabled:!A,returnFocus:i,restoreFocus:!0,children:ae})]})});function Sm(e){let t=e.maxHeight||``;return t.endsWith(`px`)&&parseFloat(t)||1/0}function Cm(e){return Math.max(0,e.scrollHeight-e.clientHeight)}function wm(e){return es.getScale(e)}function Tm(e,t){return $n({x:e.x/t.x,y:e.y/t.y,width:e.width/t.x,height:e.height/t.y})}var Em=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function Dm(e){let{style:t}=e,n={};for(let[e,r]of Em)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of Em){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var Om=U.forwardRef(function(e,t){let{className:n,render:r,...i}=e,{store:a,scrollHandlerRef:o}=Tp(),{alignItemWithTriggerActive:s}=am(),c=J(a,Y.hasScrollArrows),l=J(a,Y.openMethod),u=J(a,Y.multiple),d={id:`${J(a,Y.id)}-list`,role:`listbox`,"aria-multiselectable":u||void 0,onScroll(e){o.current?.(e.currentTarget)},...s&&{style:sm},className:c&&l!==`touch`?fm.className:void 0};return Ma(`div`,e,{ref:[t,K(e=>{a.set(`listElement`,e)})],props:[d,i]})}),km=function(e){return e[e.None=0]=`None`,e[e.GuessFromOrder=1]=`GuessFromOrder`,e}({});function Am(e={}){let{label:t,metadata:n,textRef:r,indexGuessBehavior:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,elementsRef:l,labelsRef:u,nextIndexRef:d}=$p(),f=U.useRef(-1),[p,m]=U.useState(a??(i===km.GuessFromOrder?()=>{if(f.current===-1){let e=d.current;d.current+=1,f.current=e}return f.current}:-1)),h=U.useRef(null),g=U.useCallback(e=>{if(h.current=e,p!==-1&&e!==null&&(l.current[p]=e,u)){let n=t!==void 0;u.current[p]=n?t:r?.current?.textContent??e.textContent}},[p,l,u,t,r]);return W(()=>{if(a!=null)return;let e=h.current;if(e)return o(e,n),()=>{s(e)}},[a,o,s,n]),W(()=>{if(a==null)return c(e=>{let t=h.current?e.get(h.current)?.index:null;t!=null&&m(t)})},[a,c,m]),U.useMemo(()=>({ref:g,index:p}),[p,g])}var jm=U.createContext(void 0);function Mm(){let e=U.useContext(jm);if(!e)throw Error(lt(57));return e}var Nm=U.memo(U.forwardRef(function(e,t){let{render:n,className:r,value:i=null,label:a,disabled:o=!1,nativeButton:s=!1,...c}=e,l=U.useRef(null),u=Am({label:a,textRef:l,indexGuessBehavior:km.GuessFromOrder}),{store:d,getItemProps:f,setOpen:p,setValue:m,selectionRef:h,typingRef:g,valuesRef:_,keyboardActiveRef:v,multiple:y,highlightItemOnHover:b}=Tp(),x=gt(),S=J(d,Y.isActive,u.index),C=J(d,Y.isSelected,u.index,i),w=J(d,Y.isSelectedByFocus,u.index),T=J(d,Y.isItemEqualToValue),E=u.index,D=E!==-1,O=U.useRef(null),k=ji(E);W(()=>{if(!D)return;let e=_.current;return e[E]=i,()=>{delete e[E]}},[D,E,i,_]),W(()=>{if(!D)return;let e=d.state.value,t=e;y&&Array.isArray(e)&&e.length>0&&(t=e[e.length-1]),t!==void 0&&Op(i,t,T)&&d.set(`selectedIndex`,E)},[D,E,y,T,d,i]);let A={disabled:o,selected:C,highlighted:S},j=f({active:S,selected:C});j.onFocus=void 0,j.id=void 0;let M=U.useRef(null),N=U.useRef(`mouse`),P=U.useRef(!1),{getButtonProps:F,buttonRef:I}=lu({disabled:o,focusableWhenDisabled:!0,native:s,composite:!0});function ee(e){let t=d.state.value;if(y){let n=Array.isArray(t)?t:[];m(C?jp(n,i,T):[...n,i],bi(di,e))}else m(i,bi(di,e)),p(!1,bi(di,e))}let L={role:`option`,"aria-selected":C,tabIndex:S?0:-1,onFocus(){d.set(`activeIndex`,E)},onMouseEnter(){!v.current&&d.state.selectedIndex===null&&b&&d.set(`activeIndex`,E)},onMouseMove(){b&&d.set(`activeIndex`,E)},onMouseLeave(e){!b||v.current||um(e)||x.start(0,()=>{d.state.activeIndex===E&&d.set(`activeIndex`,null)})},onTouchStart(){h.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}},onKeyDown(e){M.current=e.key,d.set(`activeIndex`,E),e.key===` `&&g.current&&e.preventDefault()},onClick(e){P.current=!1,!(e.type===`keydown`&&M.current===null)&&(o||e.type===`keydown`&&M.current===` `&&g.current||N.current!==`touch`&&!S||(M.current=null,ee(e.nativeEvent)))},onPointerEnter(e){N.current=e.pointerType},onPointerDown(e){N.current=e.pointerType,P.current=!0},onMouseUp(){if(o)return;if(P.current){P.current=!1;return}let e=!h.current.allowSelectedMouseUp&&C,t=!h.current.allowUnselectedMouseUp&&!C;e||t||N.current!==`touch`&&!S||O.current?.click()}},te=Ma(`div`,e,{ref:[I,t,u.ref,O],state:A,props:[j,L,c,F]}),R=U.useMemo(()=>({selected:C,indexRef:k,textRef:l,selectedByFocus:w,hasRegistered:D}),[C,k,l,w,D]);return(0,G.jsx)(jm.Provider,{value:R,children:te})})),Pm=U.forwardRef(function(e,t){let n=e.keepMounted??!1,{selected:r}=Mm();return n||r?(0,G.jsx)(Fm,{...e,ref:t}):null}),Fm=U.memo(U.forwardRef((e,t)=>{let{render:n,className:r,keepMounted:i,...a}=e,{selected:o}=Mm(),s=U.useRef(null),{transitionStatus:c,setMounted:l}=ic(o),u=Ma(`span`,e,{ref:[t,s],state:{selected:o,transitionStatus:c},props:[{"aria-hidden":!0,children:`✔️`},a],stateAttributesMapping:cc});return uc({open:o,ref:s,onComplete(){o||l(!1)}}),u})),Im=U.memo(U.forwardRef(function(e,t){let{indexRef:n,textRef:r,selectedByFocus:i,hasRegistered:a}=Mm(),{selectedItemTextRef:o}=Tp(),{className:s,render:c,...l}=e;return Ma(`div`,e,{ref:[U.useCallback(e=>{if(!e||!a)return;let t=o.current===null||!o.current.isConnected;(i||t&&n.current===0)&&(o.current=e)},[o,n,i,a]),t,r],props:l})})),Lm=U.forwardRef(function(e,t){let{render:n,className:r,direction:i,keepMounted:a=!1,...o}=e,{store:s,popupRef:c,listRef:l,handleScrollArrowVisibility:u,scrollArrowsMountedCountRef:d}=Tp(),{side:f,scrollDownArrowRef:p,scrollUpArrowRef:m}=am(),h=J(s,i===`up`?Y.scrollUpArrowVisible:Y.scrollDownArrowVisible),g=J(s,Y.openMethod),_=h&&g!==`touch`,v=gt(),y=i===`up`?m:p,{transitionStatus:b,setMounted:x}=ic(_);W(()=>(d.current+=1,s.state.hasScrollArrows||s.set(`hasScrollArrows`,!0),()=>{d.current=Math.max(0,d.current-1),d.current===0&&s.state.hasScrollArrows&&s.set(`hasScrollArrows`,!1)}),[s,d]),uc({open:_,ref:y,onComplete(){_||x(!1)}});let S=Ma(`div`,e,{ref:[t,y],state:{direction:i,visible:_,side:f,transitionStatus:b},props:[{"aria-hidden":!0,children:i===`up`?`▲`:`▼`,style:{position:`absolute`},onMouseMove(e){if(e.movementX===0&&e.movementY===0||v.isStarted())return;s.set(`activeIndex`,null);function t(){let e=s.state.listElement??c.current;if(!e)return;s.set(`activeIndex`,null),u();let n=e.scrollTop===0,r=Math.round(e.scrollTop+e.clientHeight)>=e.scrollHeight;if(l.current.length===0&&(i===`up`?s.set(`scrollUpArrowVisible`,!n):s.set(`scrollDownArrowVisible`,!r)),i===`up`&&n||i===`down`&&r){v.clear();return}if((s.state.listElement||c.current)&&l.current&&l.current.length>0){let t=l.current,n=y.current?.offsetHeight||0;if(i===`up`){let r=0,i=e.scrollTop+n;for(let e=0;e<t.length;e+=1){let n=t[e];if(n&&n.offsetTop>=i){r=e;break}}let a=Math.max(0,r-1);if(a<r){let r=t[a];r&&(e.scrollTop=Math.max(0,r.offsetTop-n))}else e.scrollTop=0}else{let r=t.length-1,i=e.scrollTop+e.clientHeight-n;for(let e=0;e<t.length;e+=1){let n=t[e];if(n&&n.offsetTop+n.offsetHeight>i){r=Math.max(0,e-1);break}}let a=Math.min(t.length-1,r+1);if(a>r){let r=t[a];r&&(e.scrollTop=r.offsetTop+r.offsetHeight-e.clientHeight+n)}else e.scrollTop=e.scrollHeight-e.clientHeight}}v.start(40,t)}v.start(40,t)},onMouseLeave(){v.clear()}},o]});return _||a?S:null}),Rm=U.forwardRef(function(e,t){return(0,G.jsx)(Lm,{...e,ref:t,direction:`down`})}),zm=U.forwardRef(function(e,t){return(0,G.jsx)(Lm,{...e,ref:t,direction:`up`})}),Bm=U.createContext(void 0);function Vm(){let e=U.useContext(Bm);if(e===void 0)throw Error(lt(56));return e}var Hm=U.forwardRef(function(e,t){let{className:n,render:r,...i}=e,[a,o]=U.useState(),s=U.useMemo(()=>({labelId:a,setLabelId:o}),[a,o]),c=Ma(`div`,e,{ref:t,props:[{role:`group`,"aria-labelledby":a},i]});return(0,G.jsx)(Bm.Provider,{value:s,children:c})}),Um=U.forwardRef(function(e,t){let{className:n,render:r,id:i,...a}=e,{setLabelId:o}=Vm(),s=gl(i);return W(()=>{o(s)},[s,o]),Ma(`div`,e,{ref:t,props:[{id:s},a]})}),Wm=zp;function Gm({className:e,...t}){return(0,G.jsx)(Hm,{"data-slot":`select-group`,className:H(`scroll-my-1 p-1`,e),...t})}function Km({className:e,...t}){return(0,G.jsx)(Jp,{"data-slot":`select-value`,className:H(`flex flex-1 text-start`,e),...t})}function qm({className:e,size:t=`default`,children:n,...r}){return(0,G.jsxs)(Kp,{"data-slot":`select-trigger`,"data-size":t,className:H(`flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pe-2 ps-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...r,children:[n,(0,G.jsx)(Yp,{render:(0,G.jsx)(Yd,{icon:Kd,strokeWidth:2,className:`pointer-events-none size-4 text-muted-foreground`})})]})}function Jm({className:e,children:t,side:n=`bottom`,sideOffset:r=4,align:i=`center`,alignOffset:a=0,alignItemWithTrigger:o=!0,...s}){return(0,G.jsx)(Zp,{children:(0,G.jsx)(lm,{side:n,sideOffset:r,align:i,alignOffset:a,alignItemWithTrigger:o,className:`isolate z-50`,children:(0,G.jsxs)(xm,{"data-slot":`select-content`,"data-align-trigger":o,className:H(`relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-start-2 data-[side=inline-start]:slide-in-from-end-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,e),...s,children:[(0,G.jsx)(Zm,{}),(0,G.jsx)(Om,{children:t}),(0,G.jsx)(Qm,{})]})})})}function Ym({className:e,...t}){return(0,G.jsx)(Um,{"data-slot":`select-label`,className:H(`px-1.5 py-1 text-xs text-muted-foreground`,e),...t})}function Xm({className:e,children:t,...n}){return(0,G.jsxs)(Nm,{"data-slot":`select-item`,className:H(`relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pe-8 ps-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,e),...n,children:[(0,G.jsx)(Im,{className:`flex flex-1 shrink-0 gap-2 whitespace-nowrap`,children:t}),(0,G.jsx)(Pm,{render:(0,G.jsx)(`span`,{className:`pointer-events-none absolute end-2 flex size-4 items-center justify-center`}),children:(0,G.jsx)(Yd,{icon:Gd,strokeWidth:2,className:`pointer-events-none`})})]})}function Zm({className:e,...t}){return(0,G.jsx)(zm,{"data-slot":`select-scroll-up-button`,className:H(`top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:(0,G.jsx)(Yd,{icon:Pd,strokeWidth:2})})}function Qm({className:e,...t}){return(0,G.jsx)(Rm,{"data-slot":`select-scroll-down-button`,className:H(`bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:(0,G.jsx)(Yd,{icon:Md,strokeWidth:2})})}var $m=U.createContext(void 0);function eh(e=!0){let t=U.useContext($m);if(t===void 0&&!e)throw Error(lt(7));return t}function th(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=su(),{ref:i,index:a}=Am(e),o=n===a,s=U.useRef(null),c=Ti(i,s);return{compositeProps:U.useMemo(()=>({tabIndex:o?0:-1,onFocus(){r(a)},onMouseMove(){let e=s.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!o&&!n&&e.focus()}}),[o,r,a,t]),compositeRef:c,index:a}}function nh(e){let{render:t,className:n,state:r=ti,props:i=ei,refs:a=ei,metadata:o,stateAttributesMapping:s,tag:c=`div`,...l}=e,{compositeProps:u,compositeRef:d}=th({metadata:o});return Ma(c,e,{state:r,ref:[...a,d],props:[u,...i,l],stateAttributesMapping:s})}var rh=U.forwardRef(function(e,t){let{className:n,defaultPressed:r=!1,disabled:i=!1,form:a,onPressedChange:o,pressed:s,render:c,type:l,value:u,nativeButton:d=!0,...f}=e,p=gl(u||void 0),m=eh(),h=m?.value??[],g=m?void 0:r,_=(i||m?.disabled)??!1,[v,y]=Du({controlled:m?p!==void 0&&h.indexOf(p)>-1:s,default:g,name:`Toggle`,state:`pressed`}),b=K((e,t)=>{p&&m?.setGroupValue?.(p,e,t),o?.(e,t)}),{getButtonProps:x,buttonRef:S}=lu({disabled:_,native:d}),C={disabled:_,pressed:v},w=[S,t],T=[{"aria-pressed":v,onClick(e){let t=!v,n=bi(oi,e.nativeEvent);b(t,n),!n.isCanceled&&y(t)}},f,x],E=Ma(`button`,e,{enabled:!m,state:C,ref:w,props:T});return m?(0,G.jsx)(nh,{tag:`button`,render:c,className:n,state:C,refs:w,props:T}):E}),ih=ru(`group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-transparent`,outline:`border border-input bg-transparent hover:bg-muted`},size:{default:`h-8 min-w-8 px-2`,sm:`h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-1.5 text-[0.8rem]`,lg:`h-9 min-w-9 px-2.5`}},defaultVariants:{variant:`default`,size:`default`}});function ah(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}var oh=[];function sh(e){let{itemSizes:t,cols:n=1,loopFocus:r=!0,dense:i=!1,orientation:a=`both`,direction:o,highlightedIndex:s,onHighlightedIndexChange:c,rootRef:l,enableHomeAndEndKeys:u=!1,stopEventPropagation:d=!1,disabledIndices:f,modifierKeys:p=oh}=e,[m,h]=U.useState(0),g=n>1,_=U.useRef(null),v=Ti(_,l),y=U.useRef([]),b=U.useRef(!1),x=s??m,S=K((e,t=!1)=>{if((c??h)(e),t){let t=y.current[e];od(_.current,t,o,a)}}),C=K(e=>{if(e.size===0||b.current)return;b.current=!0;let t=Array.from(e.keys()),n=t.find(e=>e?.hasAttribute(`data-composite-item-active`))??null,r=n?t.indexOf(n):-1;r!==-1&&S(r),od(_.current,n,o,a)}),w=U.useMemo(()=>({"aria-orientation":a===`both`?void 0:a,ref:v,onFocus(e){!_.current||!ad(e.target)||e.target.setSelectionRange(0,e.target.value.length??0)},onKeyDown(e){let s=u?td:ed;if(!s.has(e.key)||ch(e,p)||!_.current)return;let c=o===`rtl`,l=c?qu:Ju,m={horizontal:l,vertical:Ku,both:l}[a],h=c?Ju:qu,v={horizontal:h,vertical:Gu,both:h}[a];if(ad(e.target)&&!ah(e.target)){let t=e.target.selectionStart,n=e.target.selectionEnd,r=e.target.value??``;if(t==null||e.shiftKey||t!==n||e.key!==v&&t<r.length||e.key!==m&&t>0)return}let b=x,C=nr(y,f),w=rr(y,f);if(g){let o=t||Array.from({length:y.current.length},()=>({width:1,height:1})),s=or(o,n,i),l=s.findIndex(e=>e!=null&&!lr(y,e,f)),u=s.reduce((e,t,n)=>t!=null&&!lr(y,t,f)?n:e,-1);b=s[ar({current:s.map(e=>e?y.current[e]:null)},{event:e,orientation:a,loopFocus:r,cols:n,disabledIndices:cr([...f||y.current.map((e,t)=>lr(y,t)?t:void 0),void 0],s),minIndex:l,maxIndex:u,prevIndex:sr(x>w?C:x,o,s,n,e.key===`ArrowDown`?`bl`:e.key===`ArrowRight`?`tr`:`tl`),rtl:c})]}let T={horizontal:[l],vertical:[Ku],both:[l,Ku]}[a],E={horizontal:[h],vertical:[Gu],both:[h,Gu]}[a],D=g?s:{horizontal:u?Zu:Xu,vertical:u?$u:Qu,both:s}[a];u&&(e.key===`Home`?b=C:e.key===`End`&&(b=w)),b===x&&(T.includes(e.key)||E.includes(e.key))&&(b=r&&b===w&&T.includes(e.key)?C:r&&b===C&&E.includes(e.key)?w:ir(y,{startingIndex:b,decrement:E.includes(e.key),disabledIndices:f})),b!==x&&!tr(y,b)&&(d&&e.stopPropagation(),D.has(e.key)&&e.preventDefault(),S(b,!0),queueMicrotask(()=>{y.current[b]?.focus()}))}}),[n,i,o,f,y,u,x,g,t,r,v,p,S,a,d]);return U.useMemo(()=>({props:w,highlightedIndex:x,onHighlightedIndexChange:S,elementsRef:y,disabledIndices:f,onMapChange:C,relayKeyboardEvent:w.onKeyDown}),[w,x,S,y,f,C])}function ch(e,t){for(let n of rd.values())if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function lh(e){let{render:t,className:n,refs:r=ei,props:i=ei,state:a=ti,stateAttributesMapping:o,highlightedIndex:s,onHighlightedIndexChange:c,orientation:l,dense:u,itemSizes:d,loopFocus:f,cols:p,enableHomeAndEndKeys:m,onMapChange:h,stopEventPropagation:g=!0,rootRef:_,disabledIndices:v,modifierKeys:y,highlightItemOnHover:b=!1,tag:x=`div`,...S}=e,{props:C,highlightedIndex:w,onHighlightedIndexChange:T,elementsRef:E,onMapChange:D,relayKeyboardEvent:O}=sh({itemSizes:d,cols:p,loopFocus:f,dense:u,orientation:l,highlightedIndex:s,onHighlightedIndexChange:c,rootRef:_,stopEventPropagation:g,enableHomeAndEndKeys:m,direction:Ol(),disabledIndices:v,modifierKeys:y}),k=Ma(x,e,{state:a,ref:r,props:[C,...i,S],stateAttributesMapping:o}),A=U.useMemo(()=>({highlightedIndex:w,onHighlightedIndexChange:T,highlightItemOnHover:b,relayKeyboardEvent:O}),[w,T,b,O]);return(0,G.jsx)(ou.Provider,{value:A,children:(0,G.jsx)(em,{elementsRef:E,onMapChange:e=>{h?.(e),D(e)},children:k})})}var uh=function(e){return e.disabled=`data-disabled`,e.orientation=`data-orientation`,e.multiple=`data-multiple`,e}({}),dh={multiple(e){return e?{[uh.multiple]:``}:null}},fh=U.forwardRef(function(e,t){let{defaultValue:n,disabled:r=!1,loopFocus:i=!0,onValueChange:a,orientation:o=`horizontal`,multiple:s=!1,value:c,className:l,render:u,...d}=e,f=mm(!0),p=U.useMemo(()=>{if(c===void 0)return n??[]},[c,n]),m=U.useMemo(()=>c!==void 0||n!==void 0,[c,n]),h=(f?.disabled??!1)||r,[g,_]=Du({controlled:c,default:p,name:`ToggleGroup`,state:`value`}),v=K((e,t,n)=>{let r;if(s?(r=g.slice(),t?r.push(e):r.splice(g.indexOf(e),1)):r=t?[e]:[],Array.isArray(r)){if(a?.(r,n),n.isCanceled)return;_(r)}}),y={disabled:h,multiple:s,orientation:o},b=U.useMemo(()=>({disabled:h,orientation:o,setGroupValue:v,value:g,isValueInitialized:m}),[h,o,v,g,m]),x={role:`group`},S=Ma(`div`,e,{enabled:!!f,state:y,ref:t,props:[x,d],stateAttributesMapping:dh});return(0,G.jsx)($m.Provider,{value:b,children:f?S:(0,G.jsx)(lh,{render:u,className:l,state:y,refs:[t],props:[x,d],stateAttributesMapping:dh,loopFocus:i,enableHomeAndEndKeys:!0})})}),ph=U.createContext({size:`default`,variant:`default`,spacing:0,orientation:`horizontal`});function mh({className:e,variant:t,size:n,spacing:r=0,orientation:i=`horizontal`,children:a,...o}){return(0,G.jsx)(fh,{"data-slot":`toggle-group`,"data-variant":t,"data-size":n,"data-spacing":r,"data-orientation":i,style:{"--gap":r},className:H(`group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch`,e),...o,children:(0,G.jsx)(ph.Provider,{value:{variant:t,size:n,spacing:r,orientation:i},children:a})})}function hh({className:e,children:t,variant:n=`default`,size:r=`default`,...i}){let a=U.useContext(ph);return(0,G.jsx)(rh,{"data-slot":`toggle-group-item`,"data-variant":a.variant||n,"data-size":a.size||r,"data-spacing":a.spacing,className:H(`shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-s-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-e-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-s-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-s group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t`,ih({variant:a.variant||n,size:a.size||r}),e),...i,children:t})}function gh(e){return e.procedures.map(e=>e.procedure).join(`, `)}function _h(e,t){let n=t.query.trim().toLowerCase();return e.filter(e=>{let r=gh(e);return!(n&&!r.toLowerCase().includes(n)&&!e.path.toLowerCase().includes(n)||t.procedure!==`all`&&!e.procedures.some(e=>e.procedure===t.procedure)||t.status===`success`&&e.status>=400||t.status===`client`&&(e.status<400||e.status>=500)||t.status===`server`&&e.status<500||t.latency===`fast`&&e.durationMs>=100||t.latency===`slow`&&e.durationMs<100)})}function vh(e,t){let n=t.query.trim().toLowerCase();return e.filter(e=>!(n&&!e.procedure.toLowerCase().includes(n)&&!e.code.toLowerCase().includes(n)&&!e.error.toLowerCase().includes(n)||t.procedure!==`all`&&e.procedure!==t.procedure||t.severity===`client`&&(e.status<400||e.status>=500)||t.severity===`server`&&e.status<500||t.trace===`traced`&&e.spans.length===0||t.trace===`untraced`&&e.spans.length>0))}function yh(e){return[...new Set(e)].toSorted((e,t)=>e.localeCompare(t))}var bh=new Set([`authorization`,`cookie`,`x-api-key`]);function xh(e,t){switch(t){case`time`:return e.timestamp;case`procedure`:return e.procedure;case`code`:return e.code;case`status`:return e.status;case`duration`:return e.durationMs}}function Sh({errors:e,navigate:t,initialProcedure:n}){let[r,i]=(0,U.useState)(``),[a,o]=(0,U.useState)(n||`all`),[s,c]=(0,U.useState)(`all`),[l,u]=(0,U.useState)(`all`),[d,f]=(0,U.useState)(`time`),[p,m]=(0,U.useState)(!1),[h,g]=(0,U.useState)(null);(0,U.useCallback)(e=>{f(t=>(m(t===e?e=>!e:e===`procedure`||e===`code`),e))},[]);let _=(0,U.useMemo)(()=>yh(e.map(e=>e.procedure)),[e]),v=(0,U.useMemo)(()=>{let t=vh(e,{query:r,procedure:a,severity:s,trace:l}).toReversed(),n=p?1:-1;return t.sort((e,t)=>{let r=xh(e,d),i=xh(t,d);return typeof r==`number`&&typeof i==`number`?n*(r-i):n*String(r).localeCompare(String(i))}),t},[e,r,a,s,l,d,p]),y=r.length>0||a!==`all`||s!==`all`||l!==`all`,b=(0,U.useCallback)(()=>{i(``),o(`all`),c(`all`),u(`all`)},[]),x=h===null?null:v[h],S=(0,U.useMemo)(()=>{let t=new Map,n=new Map,r=0,i=0;for(let a of e)t.set(a.code,(t.get(a.code)??0)+1),n.set(a.procedure,(n.get(a.procedure)??0)+1),a.status>=500?i++:r++;return{byCodes:[...t].sort((e,t)=>t[1]-e[1]),byProc:[...n].sort((e,t)=>t[1]-e[1]),clientCount:r,serverCount:i,tracedCount:e.filter(e=>e.spans.length>0).length}},[e]);return e.length===0?(0,G.jsxs)(`div`,{className:`flex min-h-60 flex-col items-center justify-center gap-1 text-center`,children:[(0,G.jsx)(`p`,{className:`text-sm font-semibold`,children:`No errors recorded`}),(0,G.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Failures will appear here when captured.`})]}):(0,G.jsxs)(`div`,{className:`flex min-h-full flex-col`,children:[(0,G.jsxs)(`div`,{className:`grid grid-cols-2 gap-x-0 border-b xl:grid-cols-5`,children:[(0,G.jsx)(Th,{label:`Total errors`,value:String(e.length),danger:!0}),(0,G.jsx)(Th,{label:`Client (4xx)`,value:String(S.clientCount)}),(0,G.jsx)(Th,{label:`Server (5xx)`,value:String(S.serverCount),danger:S.serverCount>0}),(0,G.jsx)(Th,{label:`Traced`,value:String(S.tracedCount)}),(0,G.jsx)(Th,{label:`Procedures`,value:String(S.byProc.length)})]}),(0,G.jsxs)(`div`,{className:`flex items-center gap-3 border-b px-4 py-2`,children:[(0,G.jsx)(`span`,{className:`text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:`Codes`}),S.byCodes.map(([e,t])=>(0,G.jsxs)(au,{variant:`destructive`,className:`text-[9px]`,children:[e,` `,(0,G.jsx)(`span`,{className:`ml-1 opacity-70`,children:t})]},e)),(0,G.jsx)(`span`,{className:`text-[10px] font-semibold uppercase tracking-wider text-muted-foreground ml-auto`,children:`Top`}),S.byProc.slice(0,3).map(([e,t])=>(0,G.jsxs)(`span`,{className:`font-mono text-[10px] text-muted-foreground`,children:[e,` `,(0,G.jsx)(`span`,{className:`text-destructive`,children:t})]},e))]}),(0,G.jsxs)(`div`,{className:`flex flex-col gap-2 border-b px-4 py-3 lg:flex-row lg:items-center lg:justify-between`,children:[(0,G.jsxs)(`div`,{className:`flex flex-1 flex-wrap items-center gap-2`,children:[(0,G.jsx)(Sp,{value:r,onChange:e=>i(e.target.value),placeholder:`Search errors...`,className:`sm:max-w-56`}),(0,G.jsxs)(Wm,{value:a,onValueChange:e=>o(e??`all`),children:[(0,G.jsx)(qm,{size:`sm`,className:`w-full sm:w-40`,children:(0,G.jsx)(Km,{placeholder:`All procedures`})}),(0,G.jsx)(Jm,{align:`start`,children:(0,G.jsxs)(Gm,{children:[(0,G.jsx)(Ym,{children:`Procedure`}),(0,G.jsx)(Xm,{value:`all`,children:`All procedures`}),_.map(e=>(0,G.jsx)(Xm,{value:e,children:e},e))]})})]}),(0,G.jsxs)(mh,{value:s,onValueChange:e=>c(e||`all`),variant:`outline`,size:`sm`,spacing:1,children:[(0,G.jsx)(hh,{value:`all`,children:`All`}),(0,G.jsx)(hh,{value:`client`,children:`4xx`}),(0,G.jsx)(hh,{value:`server`,children:`5xx`})]}),(0,G.jsxs)(mh,{value:l,onValueChange:e=>u(e||`all`),variant:`outline`,size:`sm`,spacing:1,children:[(0,G.jsx)(hh,{value:`all`,children:`All`}),(0,G.jsx)(hh,{value:`traced`,children:`Traced`}),(0,G.jsx)(hh,{value:`untraced`,children:`Untraced`})]})]}),(0,G.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,G.jsxs)(`span`,{className:`text-[11px] tabular-nums text-muted-foreground`,children:[v.length,` of `,e.length]}),y&&(0,G.jsx)(mu,{variant:`ghost`,size:`xs`,onClick:b,children:`Clear`})]})]}),v.length===0?(0,G.jsxs)(`div`,{className:`flex min-h-48 flex-col items-center justify-center gap-1 text-center`,children:[(0,G.jsx)(`p`,{className:`text-sm font-semibold`,children:`No matching failures`}),(0,G.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:y?`Adjust filters.`:`Waiting for errors.`}),y&&(0,G.jsx)(mu,{variant:`outline`,size:`xs`,className:`mt-2`,onClick:b,children:`Clear filters`})]}):(0,G.jsxs)(`div`,{className:`flex flex-1 overflow-hidden`,children:[(0,G.jsx)(`div`,{className:H(`flex-1 overflow-y-auto`,x&&`hidden xl:block`),children:v.map((e,t)=>(0,G.jsxs)(`div`,{className:H(`flex cursor-pointer items-start gap-3 border-b border-dashed px-5 py-2.5 hover:bg-muted/20`,h===t&&`bg-destructive/5`),onClick:()=>g(h===t?null:t),children:[(0,G.jsx)(`span`,{className:`mt-1 size-1.5 shrink-0 rounded-full bg-destructive`}),(0,G.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,G.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,G.jsx)(`span`,{className:`truncate font-mono text-[11px] font-semibold`,children:e.procedure}),(0,G.jsx)(au,{variant:`destructive`,className:`text-[9px]`,children:e.code}),(0,G.jsx)(`span`,{className:`text-[10px] tabular-nums text-muted-foreground`,children:e.status})]}),(0,G.jsx)(`p`,{className:`mt-0.5 truncate text-[11px] text-muted-foreground`,children:e.error})]}),(0,G.jsxs)(`div`,{className:`shrink-0 text-right`,children:[(0,G.jsxs)(Kl,{children:[(0,G.jsx)(ql,{asChild:!0,children:(0,G.jsx)(`span`,{className:`text-[11px] tabular-nums text-muted-foreground`,children:Mf(e.timestamp)})}),(0,G.jsx)(Jl,{side:`left`,className:`text-xs`,children:jf(e.timestamp)})]}),(0,G.jsx)(`div`,{className:`font-mono text-[10px] tabular-nums text-muted-foreground/60`,children:kf(e.durationMs)})]})]},e.id))}),(0,G.jsx)(`div`,{className:H(`flex w-full flex-col border-l xl:w-[420px] xl:shrink-0`,!x&&`hidden xl:flex`),children:x?(0,G.jsx)(wh,{entry:x,onClose:()=>g(null),navigate:t}):(0,G.jsx)(Ch,{summary:S})})]})]})}function Ch({summary:e}){return(0,G.jsxs)(`div`,{className:`flex-1 overflow-y-auto`,children:[(0,G.jsx)(Eh,{label:`Error codes`,children:e.byCodes.map(([e,t])=>(0,G.jsxs)(`div`,{className:`flex items-center justify-between border-b border-dashed py-1.5 last:border-0`,children:[(0,G.jsx)(au,{variant:`destructive`,className:`text-[9px]`,children:e}),(0,G.jsx)(`span`,{className:`font-mono text-[10px] tabular-nums text-muted-foreground`,children:t})]},e))}),(0,G.jsx)(Eh,{label:`Top procedures`,children:e.byProc.slice(0,10).map(([e,t])=>(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2 border-b border-dashed py-1.5 last:border-0`,children:[(0,G.jsx)(`span`,{className:`min-w-0 truncate font-mono text-[10px] font-semibold`,children:e}),(0,G.jsx)(`span`,{className:`shrink-0 font-mono text-[10px] tabular-nums text-muted-foreground`,children:t})]},e))}),(0,G.jsxs)(Eh,{label:`Breakdown`,children:[(0,G.jsx)(Dh,{label:`client (4xx)`,value:String(e.clientCount)}),(0,G.jsx)(Dh,{label:`server (5xx)`,value:String(e.serverCount),danger:e.serverCount>0}),(0,G.jsx)(Dh,{label:`traced`,value:String(e.tracedCount)}),(0,G.jsx)(Dh,{label:`untraced`,value:String(e.byCodes.reduce((e,[,t])=>e+t,0)-e.tracedCount)})]})]})}function wh({entry:e,onClose:t,navigate:n}){let r=Object.entries(e.headers??{});return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-b px-4 py-2`,children:[(0,G.jsx)(`span`,{className:`size-1.5 shrink-0 rounded-full bg-destructive`}),(0,G.jsx)(`span`,{className:`flex-1 truncate font-mono text-[11px] font-semibold`,children:e.procedure}),(0,G.jsx)(au,{variant:`destructive`,className:`text-[9px]`,children:e.code}),(0,G.jsx)(`span`,{className:`font-mono text-[11px] tabular-nums text-muted-foreground`,children:kf(e.durationMs)}),(0,G.jsx)(mu,{variant:`ghost`,size:`icon-sm`,onClick:t,children:(0,G.jsx)(Yd,{icon:Fd,size:14})})]}),(0,G.jsxs)(`div`,{className:`flex-1 overflow-y-auto`,children:[(0,G.jsx)(Eh,{label:`Error`,children:(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap font-mono text-[11px] leading-relaxed text-destructive/90`,children:e.error})}),e.spans.length>0&&(0,G.jsx)(Eh,{label:`Spans — ${e.spans.length} ops`,children:(0,G.jsx)(Ff,{spans:e.spans,totalMs:e.durationMs})}),e.stack&&(0,G.jsx)(Eh,{label:`Stack trace`,children:(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap font-mono text-[10px] leading-relaxed text-muted-foreground`,children:e.stack})}),e.input!==void 0&&e.input!==null&&(0,G.jsx)(Eh,{label:`Input`,children:(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap rounded-md bg-muted/30 p-2.5 font-mono text-[10px] leading-relaxed`,children:JSON.stringify(e.input,null,2)})}),(0,G.jsxs)(Eh,{label:`Metadata`,children:[(0,G.jsx)(Dh,{label:`status`,value:String(e.status),danger:!0}),(0,G.jsx)(Dh,{label:`code`,value:e.code,danger:!0}),(0,G.jsx)(Dh,{label:`duration`,value:kf(e.durationMs)}),(0,G.jsx)(Dh,{label:`spans`,value:String(e.spans.length)}),(0,G.jsx)(Dh,{label:`time`,value:jf(e.timestamp)})]}),r.length>0&&(0,G.jsx)(Eh,{label:`Headers`,children:r.map(([e,t])=>(0,G.jsxs)(`div`,{className:`flex gap-3 border-b border-dashed py-1 last:border-0`,children:[(0,G.jsx)(`span`,{className:`w-24 shrink-0 truncate font-mono text-[10px] text-muted-foreground`,children:e}),(0,G.jsx)(`span`,{className:`min-w-0 break-all font-mono text-[10px]`,children:bh.has(e.toLowerCase())?(0,G.jsx)(`span`,{className:`text-muted-foreground/40`,children:`[redacted]`}):t})]},e))}),(0,G.jsx)(`div`,{className:`flex gap-2 px-4 py-3`,children:e.requestId&&(0,G.jsx)(mu,{variant:`outline`,size:`xs`,className:`flex-1`,onClick:()=>n(`requests`,e.requestId),children:`View request`})})]})]})}function Th({label:e,value:t,danger:n}){return(0,G.jsxs)(`div`,{className:`border-r px-4 py-2.5 last:border-r-0`,children:[(0,G.jsx)(`div`,{className:`text-[10px] font-semibold text-muted-foreground`,children:e}),(0,G.jsx)(`div`,{className:H(`mt-0.5 text-base font-semibold tabular-nums tracking-tight`,n&&`text-destructive`),children:t})]})}function Eh({label:e,children:t}){return(0,G.jsxs)(`div`,{className:`border-b px-4 py-3 last:border-b-0`,children:[(0,G.jsx)(`h4`,{className:`mb-2 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:e}),t]})}function Dh({label:e,value:t,danger:n}){return(0,G.jsxs)(`div`,{className:`flex items-center justify-between py-1 text-[10px]`,children:[(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:e}),(0,G.jsx)(`span`,{className:H(`max-w-[60%] truncate font-mono`,n&&`text-destructive`),children:t})]})}var Oh=o(((e,t)=>{t.exports=Array.isArray})),kh=o(((e,t)=>{t.exports=typeof global==`object`&&global&&global.Object===Object&&global})),Ah=o(((e,t)=>{var n=kh(),r=typeof self==`object`&&self&&self.Object===Object&&self;t.exports=n||r||Function(`return this`)()})),jh=o(((e,t)=>{t.exports=Ah().Symbol})),Mh=o(((e,t)=>{var n=jh(),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,o=n?n.toStringTag:void 0;function s(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch{}var s=a.call(e);return r&&(t?e[o]=n:delete e[o]),s}t.exports=s})),Nh=o(((e,t)=>{var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r})),Ph=o(((e,t)=>{var n=jh(),r=Mh(),i=Nh(),a=`[object Null]`,o=`[object Undefined]`,s=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?o:a:s&&s in Object(e)?r(e):i(e)}t.exports=c})),Fh=o(((e,t)=>{function n(e){return typeof e==`object`&&!!e}t.exports=n})),Ih=o(((e,t)=>{var n=Ph(),r=Fh(),i=`[object Symbol]`;function a(e){return typeof e==`symbol`||r(e)&&n(e)==i}t.exports=a})),Lh=o(((e,t)=>{var n=Oh(),r=Ih(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function o(e,t){if(n(e))return!1;var o=typeof e;return o==`number`||o==`symbol`||o==`boolean`||e==null||r(e)?!0:a.test(e)||!i.test(e)||t!=null&&e in Object(t)}t.exports=o})),Rh=o(((e,t)=>{function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n})),zh=o(((e,t)=>{var n=Ph(),r=Rh(),i=`[object AsyncFunction]`,a=`[object Function]`,o=`[object GeneratorFunction]`,s=`[object Proxy]`;function c(e){if(!r(e))return!1;var t=n(e);return t==a||t==o||t==i||t==s}t.exports=c})),Bh=o(((e,t)=>{t.exports=Ah()[`__core-js_shared__`]})),Vh=o(((e,t)=>{var n=Bh(),r=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function i(e){return!!r&&r in e}t.exports=i})),Hh=o(((e,t)=>{var n=Function.prototype.toString;function r(e){if(e!=null){try{return n.call(e)}catch{}try{return e+``}catch{}}return``}t.exports=r})),Uh=o(((e,t)=>{var n=zh(),r=Vh(),i=Rh(),a=Hh(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp(`^`+u.call(d).replace(o,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function p(e){return!i(e)||r(e)?!1:(n(e)?f:s).test(a(e))}t.exports=p})),Wh=o(((e,t)=>{function n(e,t){return e?.[t]}t.exports=n})),Gh=o(((e,t)=>{var n=Uh(),r=Wh();function i(e,t){var i=r(e,t);return n(i)?i:void 0}t.exports=i})),Kh=o(((e,t)=>{t.exports=Gh()(Object,`create`)})),qh=o(((e,t)=>{var n=Kh();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r})),Jh=o(((e,t)=>{function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}t.exports=n})),Yh=o(((e,t)=>{var n=Kh(),r=`__lodash_hash_undefined__`,i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(n){var a=t[e];return a===r?void 0:a}return i.call(t,e)?t[e]:void 0}t.exports=a})),Xh=o(((e,t)=>{var n=Kh(),r=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?t[e]!==void 0:r.call(t,e)}t.exports=i})),Zh=o(((e,t)=>{var n=Kh(),r=`__lodash_hash_undefined__`;function i(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=n&&t===void 0?r:t,this}t.exports=i})),Qh=o(((e,t)=>{var n=qh(),r=Jh(),i=Yh(),a=Xh(),o=Zh();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),$h=o(((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n})),eg=o(((e,t)=>{function n(e,t){return e===t||e!==e&&t!==t}t.exports=n})),tg=o(((e,t)=>{var n=eg();function r(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}t.exports=r})),ng=o(((e,t)=>{var n=tg(),r=Array.prototype.splice;function i(e){var t=this.__data__,i=n(t,e);return i<0?!1:(i==t.length-1?t.pop():r.call(t,i,1),--this.size,!0)}t.exports=i})),rg=o(((e,t)=>{var n=tg();function r(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}t.exports=r})),ig=o(((e,t)=>{var n=tg();function r(e){return n(this.__data__,e)>-1}t.exports=r})),ag=o(((e,t)=>{var n=tg();function r(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}t.exports=r})),og=o(((e,t)=>{var n=$h(),r=ng(),i=rg(),a=ig(),o=ag();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),sg=o(((e,t)=>{t.exports=Gh()(Ah(),`Map`)})),cg=o(((e,t)=>{var n=Qh(),r=og(),i=sg();function a(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=a})),lg=o(((e,t)=>{function n(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}t.exports=n})),ug=o(((e,t)=>{var n=lg();function r(e,t){var r=e.__data__;return n(t)?r[typeof t==`string`?`string`:`hash`]:r.map}t.exports=r})),dg=o(((e,t)=>{var n=ug();function r(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}t.exports=r})),fg=o(((e,t)=>{var n=ug();function r(e){return n(this,e).get(e)}t.exports=r})),pg=o(((e,t)=>{var n=ug();function r(e){return n(this,e).has(e)}t.exports=r})),mg=o(((e,t)=>{var n=ug();function r(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}t.exports=r})),hg=o(((e,t)=>{var n=cg(),r=dg(),i=fg(),a=pg(),o=mg();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),gg=o(((e,t)=>{var n=hg(),r=`Expected a function`;function i(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(r);var a=function(){var n=arguments,r=t?t.apply(this,n):n[0],i=a.cache;if(i.has(r))return i.get(r);var o=e.apply(this,n);return a.cache=i.set(r,o)||i,o};return a.cache=new(i.Cache||n),a}i.Cache=n,t.exports=i})),_g=o(((e,t)=>{var n=gg(),r=500;function i(e){var t=n(e,function(e){return i.size===r&&i.clear(),e}),i=t.cache;return t}t.exports=i})),vg=o(((e,t)=>{var n=_g(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;t.exports=n(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(r,function(e,n,r,a){t.push(r?a.replace(i,`$1`):n||e)}),t})})),yg=o(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}t.exports=n})),bg=o(((e,t)=>{var n=jh(),r=yg(),i=Oh(),a=Ih(),o=1/0,s=n?n.prototype:void 0,c=s?s.toString:void 0;function l(e){if(typeof e==`string`)return e;if(i(e))return r(e,l)+``;if(a(e))return c?c.call(e):``;var t=e+``;return t==`0`&&1/e==-o?`-0`:t}t.exports=l})),xg=o(((e,t)=>{var n=bg();function r(e){return e==null?``:n(e)}t.exports=r})),Sg=o(((e,t)=>{var n=Oh(),r=Lh(),i=vg(),a=xg();function o(e,t){return n(e)?e:r(e,t)?[e]:i(a(e))}t.exports=o})),Cg=o(((e,t)=>{var n=Ih(),r=1/0;function i(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-r?`-0`:t}t.exports=i})),wg=o(((e,t)=>{var n=Sg(),r=Cg();function i(e,t){t=n(t,e);for(var i=0,a=t.length;e!=null&&i<a;)e=e[r(t[i++])];return i&&i==a?e:void 0}t.exports=i})),Tg=o(((e,t)=>{var n=wg();function r(e,t,r){var i=e==null?void 0:n(e,t);return i===void 0?r:i}t.exports=r})),Eg=o(((e,t)=>{function n(e){return e==null}t.exports=n})),Dg=o(((e,t)=>{var n=Ph(),r=Oh(),i=Fh(),a=`[object String]`;function o(e){return typeof e==`string`||!r(e)&&i(e)&&n(e)==a}t.exports=o})),Og=o((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.server_context`),l=Symbol.for(`react.forward_ref`),u=Symbol.for(`react.suspense`),d=Symbol.for(`react.suspense_list`),f=Symbol.for(`react.memo`),p=Symbol.for(`react.lazy`);function m(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case u:case d:return e;default:switch(e&&=e.$$typeof,e){case c:case s:case l:case p:case f:case o:return e;default:return m}}case n:return m}}}e.isFragment=function(e){return m(e)===r}})),kg=o(((e,t)=>{t.exports=Og()})),Ag=o(((e,t)=>{var n=Ph(),r=Fh(),i=`[object Number]`;function a(e){return typeof e==`number`||r(e)&&n(e)==i}t.exports=a})),jg=o(((e,t)=>{var n=Ag();function r(e){return n(e)&&e!=+e}t.exports=r})),Mg=l(Dg()),Ng=l(jg()),Pg=l(Tg()),Fg=l(Ag()),X=l(Eg()),Ig=function(e){return e===0?0:e>0?1:-1},Lg=function(e){return(0,Mg.default)(e)&&e.indexOf(`%`)===e.length-1},Z=function(e){return(0,Fg.default)(e)&&!(0,Ng.default)(e)},Rg=function(e){return(0,X.default)(e)},zg=function(e){return Z(e)||(0,Mg.default)(e)},Bg=0,Vg=function(e){var t=++Bg;return`${e||``}${t}`},Hg=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!Z(e)&&!(0,Mg.default)(e))return n;var i;if(Lg(e)){var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return(0,Ng.default)(i)&&(i=n),r&&i>t&&(i=t),i},Ug=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},Wg=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++)if(!n[e[r]])n[e[r]]=!0;else return!0;return!1},Gg=function(e,t){return Z(e)&&Z(t)?function(n){return e+n*(t-e)}:function(){return t}};function Kg(e,t,n){return!e||!e.length?null:e.find(function(e){return e&&(typeof t==`function`?t(e):(0,Pg.default)(e,t))===n})}var qg=function(e){if(!e||!e.length)return null;for(var t=e.length,n=0,r=0,i=0,a=0,o=1/0,s=-1/0,c=0,l=0,u=0;u<t;u++)c=e[u].cx||0,l=e[u].cy||0,n+=c,r+=l,i+=c*l,a+=c*c,o=Math.min(o,c),s=Math.max(s,c);var d=t*a===n*n?0:(t*i-n*r)/(t*a-n*n);return{xmin:o,xmax:s,a:d,b:(r-d*n)/t}},Jg=function(e,t){return Z(e)&&Z(t)?e-t:(0,Mg.default)(e)&&(0,Mg.default)(t)?e.localeCompare(t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():String(e).localeCompare(String(t))};function Yg(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}var Xg=l(Rh());function Zg(e){"@babel/helpers - typeof";return Zg=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Zg(e)}var Qg=[`viewBox`,`children`],$g=`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`),e_=[`points`,`pathLength`],t_={svg:Qg,polygon:e_,polyline:e_},n_=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`),r_=function(e,t){if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,U.isValidElement)(e)&&(n=e.props),!(0,Xg.default)(n))return null;var r={};return Object.keys(n).forEach(function(e){n_.includes(e)&&(r[e]=t||function(t){return n[e](n,t)})}),r},i_=function(e,t,n){return function(r){return e(t,n,r),null}},a_=function(e,t,n){if(!(0,Xg.default)(e)||Zg(e)!==`object`)return null;var r=null;return Object.keys(e).forEach(function(i){var a=e[i];n_.includes(i)&&typeof a==`function`&&(r||={},r[i]=i_(a,t,n))}),r},o_=l(zh()),s_=kg(),c_=[`children`],l_=[`children`];function u_(e,t){if(e==null)return{};var n=d_(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function d_(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function f_(e){"@babel/helpers - typeof";return f_=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},f_(e)}var p_={click:`onClick`,mousedown:`onMouseDown`,mouseup:`onMouseUp`,mouseover:`onMouseOver`,mousemove:`onMouseMove`,mouseout:`onMouseOut`,mouseenter:`onMouseEnter`,mouseleave:`onMouseLeave`,touchcancel:`onTouchCancel`,touchend:`onTouchEnd`,touchmove:`onTouchMove`,touchstart:`onTouchStart`,contextmenu:`onContextMenu`,dblclick:`onDoubleClick`},m_=function(e){return typeof e==`string`?e:e?e.displayName||e.name||`Component`:``},h_=null,g_=null,__=function e(t){if(t===h_&&Array.isArray(g_))return g_;var n=[];return U.Children.forEach(t,function(t){(0,X.default)(t)||((0,s_.isFragment)(t)?n=n.concat(e(t.props.children)):n.push(t))}),g_=n,h_=t,n};function v_(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map(function(e){return m_(e)}):[m_(t)],__(e).forEach(function(e){var t=(0,Pg.default)(e,`type.displayName`)||(0,Pg.default)(e,`type.name`);r.indexOf(t)!==-1&&n.push(e)}),n}function y_(e,t){var n=v_(e,t);return n&&n[0]}var b_=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!Z(n)||n<=0||!Z(r)||r<=0)},x_=`a.altGlyph.altGlyphDef.altGlyphItem.animate.animateColor.animateMotion.animateTransform.circle.clipPath.color-profile.cursor.defs.desc.ellipse.feBlend.feColormatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.font.font-face.font-face-format.font-face-name.font-face-url.foreignObject.g.glyph.glyphRef.hkern.image.line.lineGradient.marker.mask.metadata.missing-glyph.mpath.path.pattern.polygon.polyline.radialGradient.rect.script.set.stop.style.svg.switch.symbol.text.textPath.title.tref.tspan.use.view.vkern`.split(`.`),S_=function(e){return e&&e.type&&(0,Mg.default)(e.type)&&x_.indexOf(e.type)>=0},C_=function(e){return e&&f_(e)===`object`&&`clipDot`in e},w_=function(e,t,n,r){var i=t_?.[r]??[];return t.startsWith(`data-`)||!(0,o_.default)(e)&&(r&&i.includes(t)||$g.includes(t))||n&&n_.includes(t)},Q=function(e,t,n){if(!e||typeof e==`function`||typeof e==`boolean`)return null;var r=e;if((0,U.isValidElement)(e)&&(r=e.props),!(0,Xg.default)(r))return null;var i={};return Object.keys(r).forEach(function(e){w_(r?.[e],e,t,n)&&(i[e]=r[e])}),i},T_=function e(t,n){if(t===n)return!0;var r=U.Children.count(t);if(r!==U.Children.count(n))return!1;if(r===0)return!0;if(r===1)return E_(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var i=0;i<r;i++){var a=t[i],o=n[i];if(Array.isArray(a)||Array.isArray(o)){if(!e(a,o))return!1}else if(!E_(a,o))return!1}return!0},E_=function(e,t){if((0,X.default)(e)&&(0,X.default)(t))return!0;if(!(0,X.default)(e)&&!(0,X.default)(t)){var n=e.props||{},r=n.children,i=u_(n,c_),a=t.props||{},o=a.children,s=u_(a,l_);return r&&o?Yg(i,s)&&T_(r,o):!r&&!o?Yg(i,s):!1}return!1},D_=function(e,t){var n=[],r={};return __(e).forEach(function(e,i){if(S_(e))n.push(e);else if(e){var a=m_(e.type),o=t[a]||{},s=o.handler,c=o.once;if(s&&(!c||!r[a])){var l=s(e,a,i);n.push(l),r[a]=!0}}}),n},O_=function(e){var t=e&&e.type;return t&&p_[t]?p_[t]:null},k_=function(e,t){return __(t).indexOf(e)},A_=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function j_(){return j_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j_.apply(this,arguments)}function M_(e,t){if(e==null)return{};var n=N_(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function N_(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function P_(e){var t=e.children,n=e.width,r=e.height,i=e.viewBox,a=e.className,o=e.style,s=e.title,c=e.desc,l=M_(e,A_),u=i||{width:n,height:r,x:0,y:0},f=d(`recharts-surface`,a);return U.createElement(`svg`,j_({},Q(l,!0,`svg`),{className:f,width:n,height:r,style:o,viewBox:`${u.x} ${u.y} ${u.width} ${u.height}`}),U.createElement(`title`,null,s),U.createElement(`desc`,null,c),t)}var F_=[`children`,`className`];function I_(){return I_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I_.apply(this,arguments)}function L_(e,t){if(e==null)return{};var n=R_(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function R_(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var z_=U.forwardRef(function(e,t){var n=e.children,r=e.className,i=L_(e,F_),a=d(`recharts-layer`,r);return U.createElement(`g`,I_({className:a},Q(i,!0),{ref:t}),n)}),B_=!1,V_=function(e,t){var n=[...arguments].slice(2);if(B_&&typeof console<`u`&&console.warn&&(t===void 0&&console.warn(`LogUtils requires an error message argument`),!e))if(t===void 0)console.warn(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var r=0;console.warn(t.replace(/%s/g,function(){return n[r++]}))}},H_=o(((e,t)=>{function n(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}t.exports=n})),U_=o(((e,t)=>{var n=H_();function r(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:n(e,t,r)}t.exports=r})),W_=o(((e,t)=>{var n=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]`);function r(e){return n.test(e)}t.exports=r})),G_=o(((e,t)=>{function n(e){return e.split(``)}t.exports=n})),K_=o(((e,t)=>{var n=`\\ud800-\\udfff`,r=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,i=`\\ufe0e\\ufe0f`,a=`[`+n+`]`,o=`[`+r+`]`,s=`\\ud83c[\\udffb-\\udfff]`,c=`(?:`+o+`|`+s+`)`,l=`[^`+n+`]`,u=`(?:\\ud83c[\\udde6-\\uddff]){2}`,d=`[\\ud800-\\udbff][\\udc00-\\udfff]`,f=`\\u200d`,p=c+`?`,m=`[`+i+`]?`,h=`(?:`+f+`(?:`+[l,u,d].join(`|`)+`)`+m+p+`)*`,g=m+p+h,_=`(?:`+[l+o+`?`,o,u,d,a].join(`|`)+`)`,v=RegExp(s+`(?=`+s+`)|`+_+g,`g`);function y(e){return e.match(v)||[]}t.exports=y})),q_=o(((e,t)=>{var n=G_(),r=W_(),i=K_();function a(e){return r(e)?i(e):n(e)}t.exports=a})),J_=o(((e,t)=>{var n=U_(),r=W_(),i=q_(),a=xg();function o(e){return function(t){t=a(t);var o=r(t)?i(t):void 0,s=o?o[0]:t.charAt(0),c=o?n(o,1).join(``):t.slice(1);return s[e]()+c}}t.exports=o})),Y_=o(((e,t)=>{t.exports=J_()(`toUpperCase`)}));function X_(e){return function(){return e}}var Z_=Math.cos,Q_=Math.sin,$_=Math.sqrt,ev=Math.PI;ev/2;var tv=2*ev,nv=Math.PI,rv=2*nv,iv=1e-6,av=rv-iv;function ov(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function sv(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return ov;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var cv=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?ov:sv(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>iv)if(!(Math.abs(u*s-c*l)>iv)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((nv-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>iv&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>iv||Math.abs(this._y1-l)>iv)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%rv+rv),d>av?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>iv&&this._append`A${n},${n},0,${+(d>=nv)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function lv(){return new cv}lv.prototype=cv.prototype;function uv(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new cv(t)}Array.prototype.slice;function dv(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function fv(e){this._context=e}fv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function pv(e){return new fv(e)}function mv(e){return e[0]}function hv(e){return e[1]}function gv(e,t){var n=X_(!0),r=null,i=pv,a=null,o=uv(s);e=typeof e==`function`?e:e===void 0?mv:X_(e),t=typeof t==`function`?t:t===void 0?hv:X_(t);function s(s){var c,l=(s=dv(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:X_(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:X_(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:X_(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function _v(e,t,n){var r=null,i=X_(!0),a=null,o=pv,s=null,c=uv(l);e=typeof e==`function`?e:e===void 0?mv:X_(+e),t=typeof t==`function`?t:X_(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?hv:X_(+n);function l(l){var u,d,f,p=(l=dv(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h)if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return gv().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:X_(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:X_(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:X_(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:X_(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:X_(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:X_(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:X_(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var vv=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t);break}this._x0=e,this._y0=t}};function yv(e){return new vv(e,!0)}function bv(e){return new vv(e,!1)}var xv={draw(e,t){let n=$_(t/ev);e.moveTo(n,0),e.arc(0,0,n,0,tv)}},Sv={draw(e,t){let n=$_(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Cv=$_(1/3),wv=Cv*2,Tv={draw(e,t){let n=$_(t/wv),r=n*Cv;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Ev={draw(e,t){let n=$_(t),r=-n/2;e.rect(r,r,n,n)}},Dv=.8908130915292852,Ov=Q_(ev/10)/Q_(7*ev/10),kv=Q_(tv/10)*Ov,Av=-Z_(tv/10)*Ov,jv={draw(e,t){let n=$_(t*Dv),r=kv*n,i=Av*n;e.moveTo(0,-n),e.lineTo(r,i);for(let t=1;t<5;++t){let a=tv*t/5,o=Z_(a),s=Q_(a);e.lineTo(s*n,-o*n),e.lineTo(o*r-s*i,s*r+o*i)}e.closePath()}},Mv=$_(3),Nv={draw(e,t){let n=-$_(t/(Mv*3));e.moveTo(0,n*2),e.lineTo(-Mv*n,-n),e.lineTo(Mv*n,-n),e.closePath()}},Pv=-.5,Fv=$_(3)/2,Iv=1/$_(12),Lv=(Iv/2+1)*3,Rv={draw(e,t){let n=$_(t/Lv),r=n/2,i=n*Iv,a=r,o=n*Iv+n,s=-a,c=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,c),e.lineTo(Pv*r-Fv*i,Fv*r+Pv*i),e.lineTo(Pv*a-Fv*o,Fv*a+Pv*o),e.lineTo(Pv*s-Fv*c,Fv*s+Pv*c),e.lineTo(Pv*r+Fv*i,Pv*i-Fv*r),e.lineTo(Pv*a+Fv*o,Pv*o-Fv*a),e.lineTo(Pv*s+Fv*c,Pv*c-Fv*s),e.closePath()}};function zv(e,t){let n=null,r=uv(i);e=typeof e==`function`?e:X_(e||xv),t=typeof t==`function`?t:X_(t===void 0?64:+t);function i(){let i;if(n||=i=r(),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+``||null}return i.type=function(t){return arguments.length?(e=typeof t==`function`?t:X_(t),i):e},i.size=function(e){return arguments.length?(t=typeof e==`function`?e:X_(+e),i):t},i.context=function(e){return arguments.length?(n=e??null,i):n},i}function Bv(){}function Vv(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Hv(e){this._context=e}Hv.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:Vv(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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:Vv(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Uv(e){return new Hv(e)}function Wv(e){this._context=e}Wv.prototype={areaStart:Bv,areaEnd:Bv,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);break}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Vv(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Gv(e){return new Wv(e)}function Kv(e){this._context=e}Kv.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,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+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Vv(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function qv(e){return new Kv(e)}function Jv(e){this._context=e}Jv.prototype={areaStart:Bv,areaEnd:Bv,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Yv(e){return new Jv(e)}function Xv(e){return e<0?-1:1}function Zv(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(Xv(a)+Xv(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Qv(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function $v(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function ey(e){this._context=e}ey.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:$v(this,this._t0,Qv(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,$v(this,Qv(this,n=Zv(this,e,t)),n);break;default:$v(this,this._t0,n=Zv(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function ty(e){this._context=new ny(e)}(ty.prototype=Object.create(ey.prototype)).point=function(e,t){ey.prototype.point.call(this,t,e)};function ny(e){this._context=e}ny.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function ry(e){return new ey(e)}function iy(e){return new ty(e)}function ay(e){this._context=e}ay.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=oy(e),i=oy(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function oy(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function sy(e){return new ay(e)}function cy(e,t){this._context=e,this._t=t}cy.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&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}this._x=e,this._y=t}};function ly(e){return new cy(e,.5)}function uy(e){return new cy(e,0)}function dy(e){return new cy(e,1)}function fy(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function py(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function my(e,t){return e[t]}function hy(e){let t=[];return t.key=e,t}function gy(){var e=X_([]),t=py,n=fy,r=my;function i(i){var a=Array.from(e.apply(this,arguments),hy),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=dv(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:X_(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:X_(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?py:typeof e==`function`?e:X_(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??fy,i):n},i}function _y(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}fy(e,t)}}function vy(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}fy(e,t)}}function yy(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,fy(e,t)}}var by=l(Y_());function xy(e){"@babel/helpers - typeof";return xy=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},xy(e)}var Sy=[`type`,`size`,`sizeType`];function Cy(){return Cy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cy.apply(this,arguments)}function wy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ty(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wy(Object(n),!0).forEach(function(t){Ey(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wy(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ey(e,t,n){return t=Dy(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dy(e){var t=Oy(e,`string`);return xy(t)==`symbol`?t:t+``}function Oy(e,t){if(xy(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(xy(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ky(e,t){if(e==null)return{};var n=Ay(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ay(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var jy={symbolCircle:xv,symbolCross:Sv,symbolDiamond:Tv,symbolSquare:Ev,symbolStar:jv,symbolTriangle:Nv,symbolWye:Rv},My=Math.PI/180,Ny=function(e){return jy[`symbol${(0,by.default)(e)}`]||xv},Py=function(e,t,n){if(t===`area`)return e;switch(n){case`cross`:return 5*e*e/9;case`diamond`:return .5*e*e/Math.sqrt(3);case`square`:return e*e;case`star`:var r=18*My;return 1.25*e*e*(Math.tan(r)-Math.tan(r*2)*Math.tan(r)**2);case`triangle`:return Math.sqrt(3)*e*e/4;case`wye`:return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},Fy=function(e,t){jy[`symbol${(0,by.default)(e)}`]=t},Iy=function(e){var t=e.type,n=t===void 0?`circle`:t,r=e.size,i=r===void 0?64:r,a=e.sizeType,o=a===void 0?`area`:a,s=Ty(Ty({},ky(e,Sy)),{},{type:n,size:i,sizeType:o}),c=function(){var e=Ny(n);return zv().type(e).size(Py(i,o,n))()},l=s.className,u=s.cx,f=s.cy,p=Q(s,!0);return u===+u&&f===+f&&i===+i?U.createElement(`path`,Cy({},p,{className:d(`recharts-symbols`,l),transform:`translate(${u}, ${f})`,d:c()})):null};Iy.registerSymbol=Fy;function Ly(e){"@babel/helpers - typeof";return Ly=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ly(e)}function Ry(){return Ry=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ry.apply(this,arguments)}function zy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function By(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?zy(Object(n),!0).forEach(function(t){Zy(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zy(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vy(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Hy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,Qy(r.key),r)}}function Uy(e,t,n){return t&&Hy(e.prototype,t),n&&Hy(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function Wy(e,t,n){return t=Jy(t),Gy(e,qy()?Reflect.construct(t,n||[],Jy(e).constructor):t.apply(e,n))}function Gy(e,t){if(t&&(Ly(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return Ky(e)}function Ky(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function qy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qy=function(){return!!e})()}function Jy(e){return Jy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jy(e)}function Yy(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&Xy(e,t)}function Xy(e,t){return Xy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xy(e,t)}function Zy(e,t,n){return t=Qy(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qy(e){var t=$y(e,`string`);return Ly(t)==`symbol`?t:t+``}function $y(e,t){if(Ly(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Ly(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var eb=32,tb=function(e){function t(){return Vy(this,t),Wy(this,t,arguments)}return Yy(t,e),Uy(t,[{key:`renderIcon`,value:function(e){var t=this.props.inactiveColor,n=eb/2,r=eb/6,i=eb/3,a=e.inactive?t:e.color;if(e.type===`plainline`)return U.createElement(`line`,{strokeWidth:4,fill:`none`,stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:n,x2:eb,y2:n,className:`recharts-legend-icon`});if(e.type===`line`)return U.createElement(`path`,{strokeWidth:4,fill:`none`,stroke:a,d:`M0,${n}h${i}
|
|
46
|
+
A${r},${r},0,1,1,${2*i},${n}
|
|
47
|
+
H${eb}M${2*i},${n}
|
|
48
|
+
A${r},${r},0,1,1,${i},${n}`,className:`recharts-legend-icon`});if(e.type===`rect`)return U.createElement(`path`,{stroke:`none`,fill:a,d:`M0,${eb/8}h${eb}v${eb*3/4}h${-eb}z`,className:`recharts-legend-icon`});if(U.isValidElement(e.legendIcon)){var o=By({},e);return delete o.legendIcon,U.cloneElement(e.legendIcon,o)}return U.createElement(Iy,{fill:a,cx:n,cy:n,size:eb,sizeType:`diameter`,type:e.type})}},{key:`renderItems`,value:function(){var e=this,t=this.props,n=t.payload,r=t.iconSize,i=t.layout,a=t.formatter,o=t.inactiveColor,s={x:0,y:0,width:eb,height:eb},c={display:i===`horizontal`?`inline-block`:`block`,marginRight:10},l={display:`inline-block`,verticalAlign:`middle`,marginRight:4};return n.map(function(t,n){var i=t.formatter||a,u=d(Zy(Zy({"recharts-legend-item":!0},`legend-item-${n}`,!0),`inactive`,t.inactive));if(t.type===`none`)return null;var f=(0,o_.default)(t.value)?null:t.value;V_(!(0,o_.default)(t.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var p=t.inactive?o:t.color;return U.createElement(`li`,Ry({className:u,style:c,key:`legend-item-${n}`},a_(e.props,t,n)),U.createElement(P_,{width:r,height:r,viewBox:s,style:l},e.renderIcon(t)),U.createElement(`span`,{className:`recharts-legend-item-text`,style:{color:p}},i?i(f,t,n):f))})}},{key:`render`,value:function(){var e=this.props,t=e.payload,n=e.layout,r=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:n===`horizontal`?r:`left`};return U.createElement(`ul`,{className:`recharts-default-legend`,style:i},this.renderItems())}}])}(U.PureComponent);Zy(tb,`displayName`,`Legend`),Zy(tb,`defaultProps`,{iconSize:14,layout:`horizontal`,align:`center`,verticalAlign:`middle`,inactiveColor:`#ccc`});var nb=o(((e,t)=>{var n=og();function r(){this.__data__=new n,this.size=0}t.exports=r})),rb=o(((e,t)=>{function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=n})),ib=o(((e,t)=>{function n(e){return this.__data__.get(e)}t.exports=n})),ab=o(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),ob=o(((e,t)=>{var n=og(),r=sg(),i=hg(),a=200;function o(e,t){var o=this.__data__;if(o instanceof n){var s=o.__data__;if(!r||s.length<a-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new i(s)}return o.set(e,t),this.size=o.size,this}t.exports=o})),sb=o(((e,t)=>{var n=og(),r=nb(),i=rb(),a=ib(),o=ab(),s=ob();function c(e){this.size=(this.__data__=new n(e)).size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c})),cb=o(((e,t)=>{var n=`__lodash_hash_undefined__`;function r(e){return this.__data__.set(e,n),this}t.exports=r})),lb=o(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),ub=o(((e,t)=>{var n=hg(),r=cb(),i=lb();function a(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=i,t.exports=a})),db=o(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}t.exports=n})),fb=o(((e,t)=>{function n(e,t){return e.has(t)}t.exports=n})),pb=o(((e,t)=>{var n=ub(),r=db(),i=fb(),a=1,o=2;function s(e,t,s,c,l,u){var d=s&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var m=u.get(e),h=u.get(t);if(m&&h)return m==t&&h==e;var g=-1,_=!0,v=s&o?new n:void 0;for(u.set(e,t),u.set(t,e);++g<f;){var y=e[g],b=t[g];if(c)var x=d?c(b,y,g,t,e,u):c(y,b,g,e,t,u);if(x!==void 0){if(x)continue;_=!1;break}if(v){if(!r(t,function(e,t){if(!i(v,t)&&(y===e||l(y,e,s,c,u)))return v.push(t)})){_=!1;break}}else if(!(y===b||l(y,b,s,c,u))){_=!1;break}}return u.delete(e),u.delete(t),_}t.exports=s})),mb=o(((e,t)=>{t.exports=Ah().Uint8Array})),hb=o(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}t.exports=n})),gb=o(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=n})),_b=o(((e,t)=>{var n=jh(),r=mb(),i=eg(),a=pb(),o=hb(),s=gb(),c=1,l=2,u=`[object Boolean]`,d=`[object Date]`,f=`[object Error]`,p=`[object Map]`,m=`[object Number]`,h=`[object RegExp]`,g=`[object Set]`,_=`[object String]`,v=`[object Symbol]`,y=`[object ArrayBuffer]`,b=`[object DataView]`,x=n?n.prototype:void 0,S=x?x.valueOf:void 0;function C(e,t,n,x,C,w,T){switch(n){case b:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y:return!(e.byteLength!=t.byteLength||!w(new r(e),new r(t)));case u:case d:case m:return i(+e,+t);case f:return e.name==t.name&&e.message==t.message;case h:case _:return e==t+``;case p:var E=o;case g:var D=x&c;if(E||=s,e.size!=t.size&&!D)return!1;var O=T.get(e);if(O)return O==t;x|=l,T.set(e,t);var k=a(E(e),E(t),x,C,w,T);return T.delete(e),k;case v:if(S)return S.call(e)==S.call(t)}return!1}t.exports=C})),vb=o(((e,t)=>{function n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}t.exports=n})),yb=o(((e,t)=>{var n=vb(),r=Oh();function i(e,t,i){var a=t(e);return r(e)?a:n(a,i(e))}t.exports=i})),bb=o(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}t.exports=n})),xb=o(((e,t)=>{function n(){return[]}t.exports=n})),Sb=o(((e,t)=>{var n=bb(),r=xb(),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(e){return e==null?[]:(e=Object(e),n(a(e),function(t){return i.call(e,t)}))}:r})),Cb=o(((e,t)=>{function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=n})),wb=o(((e,t)=>{var n=Ph(),r=Fh(),i=`[object Arguments]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Tb=o(((e,t)=>{var n=wb(),r=Fh(),i=Object.prototype,a=i.hasOwnProperty,o=i.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,`callee`)&&!o.call(e,`callee`)}})),Eb=o(((e,t)=>{function n(){return!1}t.exports=n})),Db=o(((e,t)=>{var n=Ah(),r=Eb(),i=typeof e==`object`&&e&&!e.nodeType&&e,a=i&&typeof t==`object`&&t&&!t.nodeType&&t,o=a&&a.exports===i?n.Buffer:void 0;t.exports=(o?o.isBuffer:void 0)||r})),Ob=o(((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t??=n,!!t&&(i==`number`||i!=`symbol`&&r.test(e))&&e>-1&&e%1==0&&e<t}t.exports=i})),kb=o(((e,t)=>{var n=9007199254740991;function r(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=n}t.exports=r})),Ab=o(((e,t)=>{var n=Ph(),r=kb(),i=Fh(),a=`[object Arguments]`,o=`[object Array]`,s=`[object Boolean]`,c=`[object Date]`,l=`[object Error]`,u=`[object Function]`,d=`[object Map]`,f=`[object Number]`,p=`[object Object]`,m=`[object RegExp]`,h=`[object Set]`,g=`[object String]`,_=`[object WeakMap]`,v=`[object ArrayBuffer]`,y=`[object DataView]`,b=`[object Float32Array]`,x=`[object Float64Array]`,S=`[object Int8Array]`,C=`[object Int16Array]`,w=`[object Int32Array]`,T=`[object Uint8Array]`,E=`[object Uint8ClampedArray]`,D=`[object Uint16Array]`,O=`[object Uint32Array]`,k={};k[b]=k[x]=k[S]=k[C]=k[w]=k[T]=k[E]=k[D]=k[O]=!0,k[a]=k[o]=k[v]=k[s]=k[y]=k[c]=k[l]=k[u]=k[d]=k[f]=k[p]=k[m]=k[h]=k[g]=k[_]=!1;function A(e){return i(e)&&r(e.length)&&!!k[n(e)]}t.exports=A})),jb=o(((e,t)=>{function n(e){return function(t){return e(t)}}t.exports=n})),Mb=o(((e,t)=>{var n=kh(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r&&n.process;t.exports=function(){try{return i&&i.require&&i.require(`util`).types||a&&a.binding&&a.binding(`util`)}catch{}}()})),Nb=o(((e,t)=>{var n=Ab(),r=jb(),i=Mb(),a=i&&i.isTypedArray;t.exports=a?r(a):n})),Pb=o(((e,t)=>{var n=Cb(),r=Tb(),i=Oh(),a=Db(),o=Ob(),s=Nb(),c=Object.prototype.hasOwnProperty;function l(e,t){var l=i(e),u=!l&&r(e),d=!l&&!u&&a(e),f=!l&&!u&&!d&&s(e),p=l||u||d||f,m=p?n(e.length,String):[],h=m.length;for(var g in e)(t||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||o(g,h)))&&m.push(g);return m}t.exports=l})),Fb=o(((e,t)=>{var n=Object.prototype;function r(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||n)}t.exports=r})),Ib=o(((e,t)=>{function n(e,t){return function(n){return e(t(n))}}t.exports=n})),Lb=o(((e,t)=>{t.exports=Ib()(Object.keys,Object)})),Rb=o(((e,t)=>{var n=Fb(),r=Lb(),i=Object.prototype.hasOwnProperty;function a(e){if(!n(e))return r(e);var t=[];for(var a in Object(e))i.call(e,a)&&a!=`constructor`&&t.push(a);return t}t.exports=a})),zb=o(((e,t)=>{var n=zh(),r=kb();function i(e){return e!=null&&r(e.length)&&!n(e)}t.exports=i})),Bb=o(((e,t)=>{var n=Pb(),r=Rb(),i=zb();function a(e){return i(e)?n(e):r(e)}t.exports=a})),Vb=o(((e,t)=>{var n=yb(),r=Sb(),i=Bb();function a(e){return n(e,i,r)}t.exports=a})),Hb=o(((e,t)=>{var n=Vb(),r=1,i=Object.prototype.hasOwnProperty;function a(e,t,a,o,s,c){var l=a&r,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var f=d;f--;){var p=u[f];if(!(l?p in t:i.call(t,p)))return!1}var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var g=!0;c.set(e,t),c.set(t,e);for(var _=l;++f<d;){p=u[f];var v=e[p],y=t[p];if(o)var b=l?o(y,v,p,t,e,c):o(v,y,p,e,t,c);if(!(b===void 0?v===y||s(v,y,a,o,c):b)){g=!1;break}_||=p==`constructor`}if(g&&!_){var x=e.constructor,S=t.constructor;x!=S&&`constructor`in e&&`constructor`in t&&!(typeof x==`function`&&x instanceof x&&typeof S==`function`&&S instanceof S)&&(g=!1)}return c.delete(e),c.delete(t),g}t.exports=a})),Ub=o(((e,t)=>{t.exports=Gh()(Ah(),`DataView`)})),Wb=o(((e,t)=>{t.exports=Gh()(Ah(),`Promise`)})),Gb=o(((e,t)=>{t.exports=Gh()(Ah(),`Set`)})),Kb=o(((e,t)=>{t.exports=Gh()(Ah(),`WeakMap`)})),qb=o(((e,t)=>{var n=Ub(),r=sg(),i=Wb(),a=Gb(),o=Kb(),s=Ph(),c=Hh(),l=`[object Map]`,u=`[object Object]`,d=`[object Promise]`,f=`[object Set]`,p=`[object WeakMap]`,m=`[object DataView]`,h=c(n),g=c(r),_=c(i),v=c(a),y=c(o),b=s;(n&&b(new n(new ArrayBuffer(1)))!=m||r&&b(new r)!=l||i&&b(i.resolve())!=d||a&&b(new a)!=f||o&&b(new o)!=p)&&(b=function(e){var t=s(e),n=t==u?e.constructor:void 0,r=n?c(n):``;if(r)switch(r){case h:return m;case g:return l;case _:return d;case v:return f;case y:return p}return t}),t.exports=b})),Jb=o(((e,t)=>{var n=sb(),r=pb(),i=_b(),a=Hb(),o=qb(),s=Oh(),c=Db(),l=Nb(),u=1,d=`[object Arguments]`,f=`[object Array]`,p=`[object Object]`,m=Object.prototype.hasOwnProperty;function h(e,t,h,g,_,v){var y=s(e),b=s(t),x=y?f:o(e),S=b?f:o(t);x=x==d?p:x,S=S==d?p:S;var C=x==p,w=S==p,T=x==S;if(T&&c(e)){if(!c(t))return!1;y=!0,C=!1}if(T&&!C)return v||=new n,y||l(e)?r(e,t,h,g,_,v):i(e,t,x,h,g,_,v);if(!(h&u)){var E=C&&m.call(e,`__wrapped__`),D=w&&m.call(t,`__wrapped__`);if(E||D){var O=E?e.value():e,k=D?t.value():t;return v||=new n,_(O,k,h,g,v)}}return T?(v||=new n,a(e,t,h,g,_,v)):!1}t.exports=h})),Yb=o(((e,t)=>{var n=Jb(),r=Fh();function i(e,t,a,o,s){return e===t?!0:e==null||t==null||!r(e)&&!r(t)?e!==e&&t!==t:n(e,t,a,o,i,s)}t.exports=i})),Xb=o(((e,t)=>{var n=sb(),r=Yb(),i=1,a=2;function o(e,t,o,s){var c=o.length,l=c,u=!s;if(e==null)return!l;for(e=Object(e);c--;){var d=o[c];if(u&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++c<l;){d=o[c];var f=d[0],p=e[f],m=d[1];if(u&&d[2]){if(p===void 0&&!(f in e))return!1}else{var h=new n;if(s)var g=s(p,m,f,e,t,h);if(!(g===void 0?r(m,p,i|a,s,h):g))return!1}}return!0}t.exports=o})),Zb=o(((e,t)=>{var n=Rh();function r(e){return e===e&&!n(e)}t.exports=r})),Qb=o(((e,t)=>{var n=Zb(),r=Bb();function i(e){for(var t=r(e),i=t.length;i--;){var a=t[i],o=e[a];t[i]=[a,o,n(o)]}return t}t.exports=i})),$b=o(((e,t)=>{function n(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}t.exports=n})),ex=o(((e,t)=>{var n=Xb(),r=Qb(),i=$b();function a(e){var t=r(e);return t.length==1&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}t.exports=a})),tx=o(((e,t)=>{function n(e,t){return e!=null&&t in Object(e)}t.exports=n})),nx=o(((e,t)=>{var n=Sg(),r=Tb(),i=Oh(),a=Ob(),o=kb(),s=Cg();function c(e,t,c){t=n(t,e);for(var l=-1,u=t.length,d=!1;++l<u;){var f=s(t[l]);if(!(d=e!=null&&c(e,f)))break;e=e[f]}return d||++l!=u?d:(u=e==null?0:e.length,!!u&&o(u)&&a(f,u)&&(i(e)||r(e)))}t.exports=c})),rx=o(((e,t)=>{var n=tx(),r=nx();function i(e,t){return e!=null&&r(e,t,n)}t.exports=i})),ix=o(((e,t)=>{var n=Yb(),r=Tg(),i=rx(),a=Lh(),o=Zb(),s=$b(),c=Cg(),l=1,u=2;function d(e,t){return a(e)&&o(t)?s(c(e),t):function(a){var o=r(a,e);return o===void 0&&o===t?i(a,e):n(t,o,l|u)}}t.exports=d})),ax=o(((e,t)=>{function n(e){return e}t.exports=n})),ox=o(((e,t)=>{function n(e){return function(t){return t?.[e]}}t.exports=n})),sx=o(((e,t)=>{var n=wg();function r(e){return function(t){return n(t,e)}}t.exports=r})),cx=o(((e,t)=>{var n=ox(),r=sx(),i=Lh(),a=Cg();function o(e){return i(e)?n(a(e)):r(e)}t.exports=o})),lx=o(((e,t)=>{var n=ex(),r=ix(),i=ax(),a=Oh(),o=cx();function s(e){return typeof e==`function`?e:e==null?i:typeof e==`object`?a(e)?r(e[0],e[1]):n(e):o(e)}t.exports=s})),ux=o(((e,t)=>{function n(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}t.exports=n})),dx=o(((e,t)=>{function n(e){return e!==e}t.exports=n})),fx=o(((e,t)=>{function n(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}t.exports=n})),px=o(((e,t)=>{var n=ux(),r=dx(),i=fx();function a(e,t,a){return t===t?i(e,t,a):n(e,r,a)}t.exports=a})),mx=o(((e,t)=>{var n=px();function r(e,t){return!!(e!=null&&e.length)&&n(e,t,0)>-1}t.exports=r})),hx=o(((e,t)=>{function n(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}t.exports=n})),gx=o(((e,t)=>{function n(){}t.exports=n})),_x=o(((e,t)=>{var n=Gb(),r=gx(),i=gb();t.exports=n&&1/i(new n([,-0]))[1]==1/0?function(e){return new n(e)}:r})),vx=o(((e,t)=>{var n=ub(),r=mx(),i=hx(),a=fb(),o=_x(),s=gb(),c=200;function l(e,t,l){var u=-1,d=r,f=e.length,p=!0,m=[],h=m;if(l)p=!1,d=i;else if(f>=c){var g=t?null:o(e);if(g)return s(g);p=!1,d=a,h=new n}else h=t?[]:m;outer:for(;++u<f;){var _=e[u],v=t?t(_):_;if(_=l||_!==0?_:0,p&&v===v){for(var y=h.length;y--;)if(h[y]===v)continue outer;t&&h.push(v),m.push(_)}else d(h,v,l)||(h!==m&&h.push(v),m.push(_))}return m}t.exports=l})),yx=l(o(((e,t)=>{var n=lx(),r=vx();function i(e,t){return e&&e.length?r(e,n(t,2)):[]}t.exports=i}))());function bx(e,t,n){return t===!0?(0,yx.default)(e,n):(0,o_.default)(t)?(0,yx.default)(e,t):e}function xx(e){"@babel/helpers - typeof";return xx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},xx(e)}var Sx=[`ref`];function Cx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Cx(Object(n),!0).forEach(function(t){Fx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Tx(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Ex(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,Ix(r.key),r)}}function Dx(e,t,n){return t&&Ex(e.prototype,t),n&&Ex(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function Ox(e,t,n){return t=Mx(t),kx(e,jx()?Reflect.construct(t,n||[],Mx(e).constructor):t.apply(e,n))}function kx(e,t){if(t&&(xx(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return Ax(e)}function Ax(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function jx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jx=function(){return!!e})()}function Mx(e){return Mx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Mx(e)}function Nx(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&Px(e,t)}function Px(e,t){return Px=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Px(e,t)}function Fx(e,t,n){return t=Ix(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ix(e){var t=Lx(e,`string`);return xx(t)==`symbol`?t:t+``}function Lx(e,t){if(xx(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(xx(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Rx(e,t){if(e==null)return{};var n=zx(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zx(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Bx(e){return e.value}function Vx(e,t){if(U.isValidElement(e))return U.cloneElement(e,t);if(typeof e==`function`)return U.createElement(e,t);t.ref;var n=Rx(t,Sx);return U.createElement(tb,n)}var Hx=1,Ux=function(e){function t(){var e;Tx(this,t);var n=[...arguments];return e=Ox(this,t,[].concat(n)),Fx(e,`lastBoundingBox`,{width:-1,height:-1}),e}return Nx(t,e),Dx(t,[{key:`componentDidMount`,value:function(){this.updateBBox()}},{key:`componentDidUpdate`,value:function(){this.updateBBox()}},{key:`getBBox`,value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:`updateBBox`,value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>Hx||Math.abs(t.height-this.lastBoundingBox.height)>Hx)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:`getBBoxSnapshot`,value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?wx({},this.lastBoundingBox):{width:0,height:0}}},{key:`getDefaultPosition`,value:function(e){var t=this.props,n=t.layout,r=t.align,i=t.verticalAlign,a=t.margin,o=t.chartWidth,s=t.chartHeight,c,l;if(!e||(e.left===void 0||e.left===null)&&(e.right===void 0||e.right===null))if(r===`center`&&n===`vertical`){var u=this.getBBoxSnapshot();c={left:((o||0)-u.width)/2}}else c=r===`right`?{right:a&&a.right||0}:{left:a&&a.left||0};if(!e||(e.top===void 0||e.top===null)&&(e.bottom===void 0||e.bottom===null))if(i===`middle`){var d=this.getBBoxSnapshot();l={top:((s||0)-d.height)/2}}else l=i===`bottom`?{bottom:a&&a.bottom||0}:{top:a&&a.top||0};return wx(wx({},c),l)}},{key:`render`,value:function(){var e=this,t=this.props,n=t.content,r=t.width,i=t.height,a=t.wrapperStyle,o=t.payloadUniqBy,s=t.payload,c=wx(wx({position:`absolute`,width:r||`auto`,height:i||`auto`},this.getDefaultPosition(a)),a);return U.createElement(`div`,{className:`recharts-legend-wrapper`,style:c,ref:function(t){e.wrapperNode=t}},Vx(n,wx(wx({},this.props),{},{payload:bx(s,o,Bx)})))}}],[{key:`getWithHeight`,value:function(e,t){var n=wx(wx({},this.defaultProps),e.props).layout;return n===`vertical`&&Z(e.props.height)?{height:e.props.height}:n===`horizontal`?{width:e.props.width||t}:null}}])}(U.PureComponent);Fx(Ux,`displayName`,`Legend`),Fx(Ux,`defaultProps`,{iconSize:14,layout:`horizontal`,align:`center`,verticalAlign:`bottom`});var Wx=o(((e,t)=>{var n=jh(),r=Tb(),i=Oh(),a=n?n.isConcatSpreadable:void 0;function o(e){return i(e)||r(e)||!!(a&&e&&e[a])}t.exports=o})),Gx=o(((e,t)=>{var n=vb(),r=Wx();function i(e,t,a,o,s){var c=-1,l=e.length;for(a||=r,s||=[];++c<l;){var u=e[c];t>0&&a(u)?t>1?i(u,t-1,a,o,s):n(s,u):o||(s[s.length]=u)}return s}t.exports=i})),Kx=o(((e,t)=>{function n(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}t.exports=n})),qx=o(((e,t)=>{t.exports=Kx()()})),Jx=o(((e,t)=>{var n=qx(),r=Bb();function i(e,t){return e&&n(e,t,r)}t.exports=i})),Yx=o(((e,t)=>{var n=zb();function r(e,t){return function(r,i){if(r==null)return r;if(!n(r))return e(r,i);for(var a=r.length,o=t?a:-1,s=Object(r);(t?o--:++o<a)&&i(s[o],o,s)!==!1;);return r}}t.exports=r})),Xx=o(((e,t)=>{var n=Jx();t.exports=Yx()(n)})),Zx=o(((e,t)=>{var n=Xx(),r=zb();function i(e,t){var i=-1,a=r(e)?Array(e.length):[];return n(e,function(e,n,r){a[++i]=t(e,n,r)}),a}t.exports=i})),Qx=o(((e,t)=>{function n(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}t.exports=n})),$x=o(((e,t)=>{var n=Ih();function r(e,t){if(e!==t){var r=e!==void 0,i=e===null,a=e===e,o=n(e),s=t!==void 0,c=t===null,l=t===t,u=n(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!a)return 1;if(!i&&!o&&!u&&e<t||u&&r&&a&&!i&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}t.exports=r})),eS=o(((e,t)=>{var n=$x();function r(e,t,r){for(var i=-1,a=e.criteria,o=t.criteria,s=a.length,c=r.length;++i<s;){var l=n(a[i],o[i]);if(l)return i>=c?l:l*(r[i]==`desc`?-1:1)}return e.index-t.index}t.exports=r})),tS=o(((e,t)=>{var n=yg(),r=wg(),i=lx(),a=Zx(),o=Qx(),s=jb(),c=eS(),l=ax(),u=Oh();function d(e,t,d){t=t.length?n(t,function(e){return u(e)?function(t){return r(t,e.length===1?e[0]:e)}:e}):[l];var f=-1;return t=n(t,s(i)),o(a(e,function(e,r,i){return{criteria:n(t,function(t){return t(e)}),index:++f,value:e}}),function(e,t){return c(e,t,d)})}t.exports=d})),nS=o(((e,t)=>{function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}t.exports=n})),rS=o(((e,t)=>{var n=nS(),r=Math.max;function i(e,t,i){return t=r(t===void 0?e.length-1:t,0),function(){for(var a=arguments,o=-1,s=r(a.length-t,0),c=Array(s);++o<s;)c[o]=a[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=a[o];return l[t]=i(c),n(e,this,l)}}t.exports=i})),iS=o(((e,t)=>{function n(e){return function(){return e}}t.exports=n})),aS=o(((e,t)=>{var n=Gh();t.exports=function(){try{var e=n(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),oS=o(((e,t)=>{var n=iS(),r=aS(),i=ax();t.exports=r?function(e,t){return r(e,`toString`,{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i})),sS=o(((e,t)=>{var n=800,r=16,i=Date.now;function a(e){var t=0,a=0;return function(){var o=i(),s=r-(o-a);if(a=o,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}t.exports=a})),cS=o(((e,t)=>{var n=oS();t.exports=sS()(n)})),lS=o(((e,t)=>{var n=ax(),r=rS(),i=cS();function a(e,t){return i(r(e,t,n),e+``)}t.exports=a})),uS=o(((e,t)=>{var n=eg(),r=zb(),i=Ob(),a=Rh();function o(e,t,o){if(!a(o))return!1;var s=typeof t;return(s==`number`?r(o)&&i(t,o.length):s==`string`&&t in o)?n(o[t],e):!1}t.exports=o})),dS=l(o(((e,t)=>{var n=Gx(),r=tS(),i=lS(),a=uS();t.exports=i(function(e,t){if(e==null)return[];var i=t.length;return i>1&&a(e,t[0],t[1])?t=[]:i>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),r(e,n(t,1),[])})}))());function fS(e){"@babel/helpers - typeof";return fS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},fS(e)}function pS(){return pS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pS.apply(this,arguments)}function mS(e,t){return yS(e)||vS(e,t)||gS(e,t)||hS()}function hS(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
49
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gS(e,t){if(e){if(typeof e==`string`)return _S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _S(e,t)}}function _S(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function vS(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function yS(e){if(Array.isArray(e))return e}function bS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bS(Object(n),!0).forEach(function(t){SS(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function SS(e,t,n){return t=CS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CS(e){var t=wS(e,`string`);return fS(t)==`symbol`?t:t+``}function wS(e,t){if(fS(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(fS(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function TS(e){return Array.isArray(e)&&zg(e[0])&&zg(e[1])?e.join(` ~ `):e}var ES=function(e){var t=e.separator,n=t===void 0?` : `:t,r=e.contentStyle,i=r===void 0?{}:r,a=e.itemStyle,o=a===void 0?{}:a,s=e.labelStyle,c=s===void 0?{}:s,l=e.payload,u=e.formatter,f=e.itemSorter,p=e.wrapperClassName,m=e.labelClassName,h=e.label,g=e.labelFormatter,_=e.accessibilityLayer,v=_===void 0?!1:_,y=function(){if(l&&l.length){var e={padding:0,margin:0},t=(f?(0,dS.default)(l,f):l).map(function(e,t){if(e.type===`none`)return null;var r=xS({display:`block`,paddingTop:4,paddingBottom:4,color:e.color||`#000`},o),i=e.formatter||u||TS,a=e.value,s=e.name,c=a,d=s;if(i&&c!=null&&d!=null){var f=i(a,s,e,t,l);if(Array.isArray(f)){var p=mS(f,2);c=p[0],d=p[1]}else c=f}return U.createElement(`li`,{className:`recharts-tooltip-item`,key:`tooltip-item-${t}`,style:r},zg(d)?U.createElement(`span`,{className:`recharts-tooltip-item-name`},d):null,zg(d)?U.createElement(`span`,{className:`recharts-tooltip-item-separator`},n):null,U.createElement(`span`,{className:`recharts-tooltip-item-value`},c),U.createElement(`span`,{className:`recharts-tooltip-item-unit`},e.unit||``))});return U.createElement(`ul`,{className:`recharts-tooltip-item-list`,style:e},t)}return null},b=xS({margin:0,padding:10,backgroundColor:`#fff`,border:`1px solid #ccc`,whiteSpace:`nowrap`},i),x=xS({margin:0},c),S=!(0,X.default)(h),C=S?h:``,w=d(`recharts-default-tooltip`,p),T=d(`recharts-tooltip-label`,m);S&&g&&l!=null&&(C=g(h,l));var E=v?{role:`status`,"aria-live":`assertive`}:{};return U.createElement(`div`,pS({className:w,style:b},E),U.createElement(`p`,{className:T,style:x},U.isValidElement(C)?C:`${C}`),y())};function DS(e){"@babel/helpers - typeof";return DS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},DS(e)}function OS(e,t,n){return t=kS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kS(e){var t=AS(e,`string`);return DS(t)==`symbol`?t:t+``}function AS(e,t){if(DS(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(DS(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var jS=`recharts-tooltip-wrapper`,MS={visibility:`hidden`};function NS(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return d(jS,OS(OS(OS(OS({},`${jS}-right`,Z(n)&&t&&Z(t.x)&&n>=t.x),`${jS}-left`,Z(n)&&t&&Z(t.x)&&n<t.x),`${jS}-bottom`,Z(r)&&t&&Z(t.y)&&r>=t.y),`${jS}-top`,Z(r)&&t&&Z(t.y)&&r<t.y))}function PS(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,i=e.offsetTopLeft,a=e.position,o=e.reverseDirection,s=e.tooltipDimension,c=e.viewBox,l=e.viewBoxDimension;if(a&&Z(a[r]))return a[r];var u=n[r]-s-i,d=n[r]+i;return t[r]?o[r]?u:d:o[r]?u<c[r]?Math.max(d,c[r]):Math.max(u,c[r]):d+s>c[r]+l?Math.max(u,c[r]):Math.max(d,c[r])}function FS(e){var t=e.translateX,n=e.translateY;return{transform:e.useTranslate3d?`translate3d(${t}px, ${n}px, 0)`:`translate(${t}px, ${n}px)`}}function IS(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.offsetTopLeft,i=e.position,a=e.reverseDirection,o=e.tooltipBox,s=e.useTranslate3d,c=e.viewBox,l,u,d;return o.height>0&&o.width>0&&n?(u=PS({allowEscapeViewBox:t,coordinate:n,key:`x`,offsetTopLeft:r,position:i,reverseDirection:a,tooltipDimension:o.width,viewBox:c,viewBoxDimension:c.width}),d=PS({allowEscapeViewBox:t,coordinate:n,key:`y`,offsetTopLeft:r,position:i,reverseDirection:a,tooltipDimension:o.height,viewBox:c,viewBoxDimension:c.height}),l=FS({translateX:u,translateY:d,useTranslate3d:s})):l=MS,{cssProperties:l,cssClasses:NS({translateX:u,translateY:d,coordinate:n})}}function LS(e){"@babel/helpers - typeof";return LS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},LS(e)}function RS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?RS(Object(n),!0).forEach(function(t){XS(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function BS(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function VS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,ZS(r.key),r)}}function HS(e,t,n){return t&&VS(e.prototype,t),n&&VS(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function US(e,t,n){return t=qS(t),WS(e,KS()?Reflect.construct(t,n||[],qS(e).constructor):t.apply(e,n))}function WS(e,t){if(t&&(LS(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return GS(e)}function GS(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function KS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(KS=function(){return!!e})()}function qS(e){return qS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qS(e)}function JS(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&YS(e,t)}function YS(e,t){return YS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},YS(e,t)}function XS(e,t,n){return t=ZS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZS(e){var t=QS(e,`string`);return LS(t)==`symbol`?t:t+``}function QS(e,t){if(LS(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(LS(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var $S=1,eC=function(e){function t(){var e;BS(this,t);var n=[...arguments];return e=US(this,t,[].concat(n)),XS(e,`state`,{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),XS(e,`handleKeyDown`,function(t){t.key===`Escape`&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:e.props.coordinate?.x??0,y:e.props.coordinate?.y??0}})}),e}return JS(t,e),HS(t,[{key:`updateBBox`,value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>$S||Math.abs(e.height-this.state.lastBoundingBox.height)>$S)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else (this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:`componentDidMount`,value:function(){document.addEventListener(`keydown`,this.handleKeyDown),this.updateBBox()}},{key:`componentWillUnmount`,value:function(){document.removeEventListener(`keydown`,this.handleKeyDown)}},{key:`componentDidUpdate`,value:function(){this.props.active&&this.updateBBox(),this.state.dismissed&&(this.props.coordinate?.x!==this.state.dismissedAtCoordinate.x||this.props.coordinate?.y!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:`render`,value:function(){var e=this,t=this.props,n=t.active,r=t.allowEscapeViewBox,i=t.animationDuration,a=t.animationEasing,o=t.children,s=t.coordinate,c=t.hasPayload,l=t.isAnimationActive,u=t.offset,d=t.position,f=t.reverseDirection,p=t.useTranslate3d,m=t.viewBox,h=t.wrapperStyle,g=IS({allowEscapeViewBox:r,coordinate:s,offsetTopLeft:u,position:d,reverseDirection:f,tooltipBox:this.state.lastBoundingBox,useTranslate3d:p,viewBox:m}),_=g.cssClasses,v=g.cssProperties,y=zS(zS({transition:l&&n?`transform ${i}ms ${a}`:void 0},v),{},{pointerEvents:`none`,visibility:!this.state.dismissed&&n&&c?`visible`:`hidden`,position:`absolute`,top:0,left:0},h);return U.createElement(`div`,{tabIndex:-1,className:_,style:y,ref:function(t){e.wrapperNode=t}},o)}}])}(U.PureComponent),tC={isSsr:function(){return!(typeof window<`u`&&window.document&&window.document.createElement&&window.setTimeout)}(),get:function(e){return tC[e]},set:function(e,t){if(typeof e==`string`)tC[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach(function(t){tC[t]=e[t]})}}};function nC(e){"@babel/helpers - typeof";return nC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},nC(e)}function rC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function iC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?rC(Object(n),!0).forEach(function(t){hC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function aC(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function oC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,gC(r.key),r)}}function sC(e,t,n){return t&&oC(e.prototype,t),n&&oC(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function cC(e,t,n){return t=fC(t),lC(e,dC()?Reflect.construct(t,n||[],fC(e).constructor):t.apply(e,n))}function lC(e,t){if(t&&(nC(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return uC(e)}function uC(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function dC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(dC=function(){return!!e})()}function fC(e){return fC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fC(e)}function pC(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&mC(e,t)}function mC(e,t){return mC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mC(e,t)}function hC(e,t,n){return t=gC(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gC(e){var t=_C(e,`string`);return nC(t)==`symbol`?t:t+``}function _C(e,t){if(nC(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(nC(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function vC(e){return e.dataKey}function yC(e,t){return U.isValidElement(e)?U.cloneElement(e,t):typeof e==`function`?U.createElement(e,t):U.createElement(ES,t)}var bC=function(e){function t(){return aC(this,t),cC(this,t,arguments)}return pC(t,e),sC(t,[{key:`render`,value:function(){var e=this,t=this.props,n=t.active,r=t.allowEscapeViewBox,i=t.animationDuration,a=t.animationEasing,o=t.content,s=t.coordinate,c=t.filterNull,l=t.isAnimationActive,u=t.offset,d=t.payload,f=t.payloadUniqBy,p=t.position,m=t.reverseDirection,h=t.useTranslate3d,g=t.viewBox,_=t.wrapperStyle,v=d??[];c&&v.length&&(v=bx(d.filter(function(t){return t.value!=null&&(t.hide!==!0||e.props.includeHidden)}),f,vC));var y=v.length>0;return U.createElement(eC,{allowEscapeViewBox:r,animationDuration:i,animationEasing:a,isAnimationActive:l,active:n,coordinate:s,hasPayload:y,offset:u,position:p,reverseDirection:m,useTranslate3d:h,viewBox:g,wrapperStyle:_},yC(o,iC(iC({},this.props),{},{payload:v})))}}])}(U.PureComponent);hC(bC,`displayName`,`Tooltip`),hC(bC,`defaultProps`,{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:`ease`,contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!tC.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:` : `,trigger:`hover`,useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var xC=o(((e,t)=>{var n=Ah();t.exports=function(){return n.Date.now()}})),SC=o(((e,t)=>{var n=/\s/;function r(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}t.exports=r})),CC=o(((e,t)=>{var n=SC(),r=/^\s+/;function i(e){return e&&e.slice(0,n(e)+1).replace(r,``)}t.exports=i})),wC=o(((e,t)=>{var n=CC(),r=Rh(),i=Ih(),a=NaN,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;function u(e){if(typeof e==`number`)return e;if(i(e))return a;if(r(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=r(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=n(e);var u=s.test(e);return u||c.test(e)?l(e.slice(2),u?2:8):o.test(e)?a:+e}t.exports=u})),TC=o(((e,t)=>{var n=Rh(),r=xC(),i=wC(),a=`Expected a function`,o=Math.max,s=Math.min;function c(e,t,c){var l,u,d,f,p,m,h=0,g=!1,_=!1,v=!0;if(typeof e!=`function`)throw TypeError(a);t=i(t)||0,n(c)&&(g=!!c.leading,_=`maxWait`in c,d=_?o(i(c.maxWait)||0,t):d,v=`trailing`in c?!!c.trailing:v);function y(t){var n=l,r=u;return l=u=void 0,h=t,f=e.apply(r,n),f}function b(e){return h=e,p=setTimeout(C,t),g?y(e):f}function x(e){var n=e-m,r=e-h,i=t-n;return _?s(i,d-r):i}function S(e){var n=e-m,r=e-h;return m===void 0||n>=t||n<0||_&&r>=d}function C(){var e=r();if(S(e))return w(e);p=setTimeout(C,x(e))}function w(e){return p=void 0,v&&l?y(e):(l=u=void 0,f)}function T(){p!==void 0&&clearTimeout(p),h=0,l=m=u=p=void 0}function E(){return p===void 0?f:w(r())}function D(){var e=r(),n=S(e);if(l=arguments,u=this,m=e,n){if(p===void 0)return b(m);if(_)return clearTimeout(p),p=setTimeout(C,t),y(m)}return p===void 0&&(p=setTimeout(C,t)),f}return D.cancel=T,D.flush=E,D}t.exports=c})),EC=l(o(((e,t)=>{var n=TC(),r=Rh(),i=`Expected a function`;function a(e,t,a){var o=!0,s=!0;if(typeof e!=`function`)throw TypeError(i);return r(a)&&(o=`leading`in a?!!a.leading:o,s=`trailing`in a?!!a.trailing:s),n(e,t,{leading:o,maxWait:t,trailing:s})}t.exports=a}))());function DC(e){"@babel/helpers - typeof";return DC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},DC(e)}function OC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?OC(Object(n),!0).forEach(function(t){AC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function AC(e,t,n){return t=jC(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jC(e){var t=MC(e,`string`);return DC(t)==`symbol`?t:t+``}function MC(e,t){if(DC(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(DC(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function NC(e,t){return RC(e)||LC(e,t)||FC(e,t)||PC()}function PC(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
50
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function FC(e,t){if(e){if(typeof e==`string`)return IC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IC(e,t)}}function IC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function LC(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function RC(e){if(Array.isArray(e))return e}var zC=(0,U.forwardRef)(function(e,t){var n=e.aspect,r=e.initialDimension,i=r===void 0?{width:-1,height:-1}:r,a=e.width,o=a===void 0?`100%`:a,s=e.height,c=s===void 0?`100%`:s,l=e.minWidth,u=l===void 0?0:l,f=e.minHeight,p=e.maxHeight,m=e.children,h=e.debounce,g=h===void 0?0:h,_=e.id,v=e.className,y=e.onResize,b=e.style,x=b===void 0?{}:b,S=(0,U.useRef)(null),C=(0,U.useRef)();C.current=y,(0,U.useImperativeHandle)(t,function(){return Object.defineProperty(S.current,`current`,{get:function(){return console.warn(`The usage of ref.current.current is deprecated and will no longer be supported.`),S.current},configurable:!0})});var w=NC((0,U.useState)({containerWidth:i.width,containerHeight:i.height}),2),T=w[0],E=w[1],D=(0,U.useCallback)(function(e,t){E(function(n){var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]);(0,U.useEffect)(function(){var e=function(e){var t,n=e[0].contentRect,r=n.width,i=n.height;D(r,i),(t=C.current)==null||t.call(C,r,i)};g>0&&(e=(0,EC.default)(e,g,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),n=S.current.getBoundingClientRect(),r=n.width,i=n.height;return D(r,i),t.observe(S.current),function(){t.disconnect()}},[D,g]);var O=(0,U.useMemo)(function(){var e=T.containerWidth,t=T.containerHeight;if(e<0||t<0)return null;V_(Lg(o)||Lg(c),`The width(%s) and height(%s) are both fixed numbers,
|
|
51
|
+
maybe you don't need to use a ResponsiveContainer.`,o,c),V_(!n||n>0,`The aspect(%s) must be greater than zero.`,n);var r=Lg(o)?e:o,i=Lg(c)?t:c;n&&n>0&&(r?i=r/n:i&&(r=i*n),p&&i>p&&(i=p)),V_(r>0||i>0,`The width(%s) and height(%s) of chart should be greater than 0,
|
|
52
|
+
please check the style of container, or the props width(%s) and height(%s),
|
|
53
|
+
or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
|
|
54
|
+
height and width.`,r,i,o,c,u,f,n);var a=!Array.isArray(m)&&m_(m.type).endsWith(`Chart`);return U.Children.map(m,function(e){return U.isValidElement(e)?(0,U.cloneElement)(e,kC({width:r,height:i},a?{style:kC({height:`100%`,width:`100%`,maxHeight:i,maxWidth:r},e.props.style)}:{})):e})},[n,m,c,p,f,u,T,o]);return U.createElement(`div`,{id:_?`${_}`:void 0,className:d(`recharts-responsive-container`,v),style:kC(kC({},x),{},{width:o,height:c,minWidth:u,minHeight:f,maxHeight:p}),ref:S},O)}),BC=function(e){return null};BC.displayName=`Cell`;function VC(e){"@babel/helpers - typeof";return VC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},VC(e)}function HC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function UC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?HC(Object(n),!0).forEach(function(t){WC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function WC(e,t,n){return t=GC(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GC(e){var t=KC(e,`string`);return VC(t)==`symbol`?t:t+``}function KC(e,t){if(VC(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(VC(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var qC={widthCache:{},cacheCount:0},JC=2e3,YC={position:`absolute`,top:`-20000px`,left:0,padding:0,margin:0,border:`none`,whiteSpace:`pre`},XC=`recharts_measurement_span`;function ZC(e){var t=UC({},e);return Object.keys(t).forEach(function(e){t[e]||delete t[e]}),t}var QC=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||tC.isSsr)return{width:0,height:0};var n=ZC(t),r=JSON.stringify({text:e,copyStyle:n});if(qC.widthCache[r])return qC.widthCache[r];try{var i=document.getElementById(XC);i||(i=document.createElement(`span`),i.setAttribute(`id`,XC),i.setAttribute(`aria-hidden`,`true`),document.body.appendChild(i));var a=UC(UC({},YC),n);Object.assign(i.style,a),i.textContent=`${e}`;var o=i.getBoundingClientRect(),s={width:o.width,height:o.height};return qC.widthCache[r]=s,++qC.cacheCount>JC&&(qC.cacheCount=0,qC.widthCache={}),s}catch{return{width:0,height:0}}},$C=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}};function ew(e){"@babel/helpers - typeof";return ew=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ew(e)}function tw(e,t){return ow(e)||aw(e,t)||rw(e,t)||nw()}function nw(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
55
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rw(e,t){if(e){if(typeof e==`string`)return iw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iw(e,t)}}function iw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function aw(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function ow(e){if(Array.isArray(e))return e}function sw(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function cw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,uw(r.key),r)}}function lw(e,t,n){return t&&cw(e.prototype,t),n&&cw(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function uw(e){var t=dw(e,`string`);return ew(t)==`symbol`?t:t+``}function dw(e,t){if(ew(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(ew(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var fw=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,pw=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,mw=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,hw=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,gw={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},_w=Object.keys(gw),vw=`NaN`;function yw(e,t){return e*gw[t]}var bw=function(){function e(t,n){sw(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=``),n!==``&&!mw.test(n)&&(this.num=NaN,this.unit=``),_w.includes(n)&&(this.num=yw(t,n),this.unit=`px`)}return lw(e,[{key:`add`,value:function(t){return this.unit===t.unit?new e(this.num+t.num,this.unit):new e(NaN,``)}},{key:`subtract`,value:function(t){return this.unit===t.unit?new e(this.num-t.num,this.unit):new e(NaN,``)}},{key:`multiply`,value:function(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num*t.num,this.unit||t.unit)}},{key:`divide`,value:function(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num/t.num,this.unit||t.unit)}},{key:`toString`,value:function(){return`${this.num}${this.unit}`}},{key:`isNaN`,value:function(){return Number.isNaN(this.num)}}],[{key:`parse`,value:function(t){var n=tw(hw.exec(t)??[],3),r=n[1],i=n[2];return new e(parseFloat(r),i??``)}}])}();function xw(e){if(e.includes(vw))return vw;for(var t=e;t.includes(`*`)||t.includes(`/`);){var n=tw(fw.exec(t)??[],4),r=n[1],i=n[2],a=n[3],o=bw.parse(r??``),s=bw.parse(a??``),c=i===`*`?o.multiply(s):o.divide(s);if(c.isNaN())return vw;t=t.replace(fw,c.toString())}for(;t.includes(`+`)||/.-\d+(?:\.\d+)?/.test(t);){var l=tw(pw.exec(t)??[],4),u=l[1],d=l[2],f=l[3],p=bw.parse(u??``),m=bw.parse(f??``),h=d===`+`?p.add(m):p.subtract(m);if(h.isNaN())return vw;t=t.replace(pw,h.toString())}return t}var Sw=/\(([^()]*)\)/;function Cw(e){for(var t=e;t.includes(`(`);){var n=tw(Sw.exec(t),2)[1];t=t.replace(Sw,xw(n))}return t}function ww(e){var t=e.replace(/\s+/g,``);return t=Cw(t),t=xw(t),t}function Tw(e){try{return ww(e)}catch{return vw}}function Ew(e){var t=Tw(e.slice(5,-1));return t===vw?``:t}var Dw=[`x`,`y`,`lineHeight`,`capHeight`,`scaleToFit`,`textAnchor`,`verticalAnchor`,`fill`],Ow=[`dx`,`dy`,`angle`,`className`,`breakAll`];function kw(){return kw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kw.apply(this,arguments)}function Aw(e,t){if(e==null)return{};var n=jw(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jw(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Mw(e,t){return Lw(e)||Iw(e,t)||Pw(e,t)||Nw()}function Nw(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
56
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pw(e,t){if(e){if(typeof e==`string`)return Fw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fw(e,t)}}function Fw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Iw(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Lw(e){if(Array.isArray(e))return e}var Rw=/[ \f\n\r\t\v\u2028\u2029]+/,zw=function(e){var t=e.children,n=e.breakAll,r=e.style;try{var i=[];return(0,X.default)(t)||(i=n?t.toString().split(``):t.toString().split(Rw)),{wordsWithComputedWidth:i.map(function(e){return{word:e,width:QC(e,r).width}}),spaceWidth:n?0:QC(`\xA0`,r).width}}catch{return null}},Bw=function(e,t,n,r,i){var a=e.maxLines,o=e.children,s=e.style,c=e.breakAll,l=Z(a),u=o,d=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).reduce(function(e,t){var a=t.word,o=t.width,s=e[e.length-1];if(s&&(r==null||i||s.width+o+n<Number(r)))s.words.push(a),s.width+=o+n;else{var c={words:[a],width:o};e.push(c)}return e},[])},f=d(t),p=function(e){return e.reduce(function(e,t){return e.width>t.width?e:t})};if(!l)return f;for(var m=`…`,h=function(e){var t=zw({breakAll:c,style:s,children:u.slice(0,e)+m}).wordsWithComputedWidth,n=d(t);return[n.length>a||p(n).width>Number(r),n]},g=0,_=u.length-1,v=0,y;g<=_&&v<=u.length-1;){var b=Math.floor((g+_)/2),x=Mw(h(b-1),2),S=x[0],C=x[1],w=Mw(h(b),1)[0];if(!S&&!w&&(g=b+1),S&&w&&(_=b-1),!S&&w){y=C;break}v++}return y||f},Vw=function(e){return[{words:(0,X.default)(e)?[]:e.toString().split(Rw)}]},Hw=function(e){var t=e.width,n=e.scaleToFit,r=e.children,i=e.style,a=e.breakAll,o=e.maxLines;if((t||n)&&!tC.isSsr){var s,c,l=zw({breakAll:a,children:r,style:i});if(l){var u=l.wordsWithComputedWidth,d=l.spaceWidth;s=u,c=d}else return Vw(r);return Bw({breakAll:a,children:r,maxLines:o,style:i},s,c,t,n)}return Vw(r)},Uw=`#808080`,Ww=function(e){var t=e.x,n=t===void 0?0:t,r=e.y,i=r===void 0?0:r,a=e.lineHeight,o=a===void 0?`1em`:a,s=e.capHeight,c=s===void 0?`0.71em`:s,l=e.scaleToFit,u=l===void 0?!1:l,f=e.textAnchor,p=f===void 0?`start`:f,m=e.verticalAnchor,h=m===void 0?`end`:m,g=e.fill,_=g===void 0?Uw:g,v=Aw(e,Dw),y=(0,U.useMemo)(function(){return Hw({breakAll:v.breakAll,children:v.children,maxLines:v.maxLines,scaleToFit:u,style:v.style,width:v.width})},[v.breakAll,v.children,v.maxLines,u,v.style,v.width]),b=v.dx,x=v.dy,S=v.angle,C=v.className,w=v.breakAll,T=Aw(v,Ow);if(!zg(n)||!zg(i))return null;var E=n+(Z(b)?b:0),D=i+(Z(x)?x:0),O;switch(h){case`start`:O=Ew(`calc(${c})`);break;case`middle`:O=Ew(`calc(${(y.length-1)/2} * -${o} + (${c} / 2))`);break;default:O=Ew(`calc(${y.length-1} * -${o})`);break}var k=[];if(u){var A=y[0].width,j=v.width;k.push(`scale(${(Z(j)?j/A:1)/A})`)}return S&&k.push(`rotate(${S}, ${E}, ${D})`),k.length&&(T.transform=k.join(` `)),U.createElement(`text`,kw({},Q(T,!0),{x:E,y:D,className:d(`recharts-text`,C),textAnchor:p,fill:_.includes(`url`)?Uw:_}),y.map(function(e,t){var n=e.words.join(w?``:` `);return U.createElement(`tspan`,{x:E,dy:t===0?O:o,key:`${n}-${t}`},n)}))};function Gw(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Kw(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function qw(e){let t,n,r;e.length===2?(t=e===Gw||e===Kw?e:Jw,n=e,r=e):(t=Gw,n=(t,n)=>Gw(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function Jw(){return 0}function Yw(e){return e===null?NaN:+e}function*Xw(e,t){if(t===void 0)for(let t of e)t!=null&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}var Zw=qw(Gw),Qw=Zw.right;Zw.left,qw(Yw).center;var $w=class extends Map{constructor(e,t=rT){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(eT(this,e))}has(e){return super.has(eT(this,e))}set(e,t){return super.set(tT(this,e),t)}delete(e){return super.delete(nT(this,e))}};function eT({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function tT({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function nT({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function rT(e){return typeof e==`object`&&e?e.valueOf():e}function iT(e=Gw){if(e===Gw)return aT;if(typeof e!=`function`)throw TypeError(`compare is not a function`);return(t,n)=>{let r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function aT(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}var oT=Math.sqrt(50),sT=Math.sqrt(10),cT=Math.sqrt(2);function lT(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=oT?10:a>=sT?5:a>=cT?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?lT(e,t,n*2):[s,c,l]}function uT(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?lT(t,e,n):lT(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function dT(e,t,n){return t=+t,e=+e,n=+n,lT(e,t,n)[2]}function fT(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?dT(t,e,n):dT(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function pT(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function mT(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function hT(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?aT:iT(i);r>n;){if(r-n>600){let a=r-n+1,o=t-n+1,s=Math.log(a),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(a-c)/a)*(o-a/2<0?-1:1),u=Math.max(n,Math.floor(t-o*c/a+l)),d=Math.min(r,Math.floor(t+(a-o)*c/a+l));hT(e,t,u,d,i)}let a=e[t],o=n,s=r;for(gT(e,n,t),i(e[r],a)>0&&gT(e,n,r);o<s;){for(gT(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[n],a)===0?gT(e,n,s):(++s,gT(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function gT(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function _T(e,t,n){if(e=Float64Array.from(Xw(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return mT(e);if(t>=1)return pT(e);var r,i=(r-1)*t,a=Math.floor(i),o=pT(hT(e,a).subarray(0,a+1));return o+(mT(e.subarray(a+1))-o)*(i-a)}}function vT(e,t,n=Yw){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,a=Math.floor(i),o=+n(e[a],a,e);return o+(+n(e[a+1],a+1,e)-o)*(i-a)}}function yT(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function bT(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function xT(e,t){switch(arguments.length){case 0:break;case 1:typeof e==`function`?this.interpolator(e):this.range(e);break;default:this.domain(e),typeof t==`function`?this.interpolator(t):this.range(t);break}return this}var ST=Symbol(`implicit`);function CT(){var e=new $w,t=[],n=[],r=ST;function i(i){let a=e.get(i);if(a===void 0){if(r!==ST)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new $w;for(let r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return CT(t,n).unknown(r)},bT.apply(i,arguments),i}function wT(){var e=CT().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=yT(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return wT(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},bT.apply(d(),arguments)}function TT(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return TT(t())},e}function ET(){return TT(wT.apply(null,arguments).paddingInner(1))}function DT(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function OT(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function kT(){}var AT=.7,jT=1/AT,MT=`\\s*([+-]?\\d+)\\s*`,NT=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,PT=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,FT=/^#([0-9a-f]{3,8})$/,IT=RegExp(`^rgb\\(${MT},${MT},${MT}\\)$`),LT=RegExp(`^rgb\\(${PT},${PT},${PT}\\)$`),RT=RegExp(`^rgba\\(${MT},${MT},${MT},${NT}\\)$`),zT=RegExp(`^rgba\\(${PT},${PT},${PT},${NT}\\)$`),BT=RegExp(`^hsl\\(${NT},${PT},${PT}\\)$`),VT=RegExp(`^hsla\\(${NT},${PT},${PT},${NT}\\)$`),HT={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};DT(kT,qT,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:UT,formatHex:UT,formatHex8:WT,formatHsl:GT,formatRgb:KT,toString:KT});function UT(){return this.rgb().formatHex()}function WT(){return this.rgb().formatHex8()}function GT(){return oE(this).formatHsl()}function KT(){return this.rgb().formatRgb()}function qT(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=FT.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?JT(t):n===3?new QT(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?YT(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?YT(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=IT.exec(e))?new QT(t[1],t[2],t[3],1):(t=LT.exec(e))?new QT(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=RT.exec(e))?YT(t[1],t[2],t[3],t[4]):(t=zT.exec(e))?YT(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=BT.exec(e))?aE(t[1],t[2]/100,t[3]/100,1):(t=VT.exec(e))?aE(t[1],t[2]/100,t[3]/100,t[4]):HT.hasOwnProperty(e)?JT(HT[e]):e===`transparent`?new QT(NaN,NaN,NaN,0):null}function JT(e){return new QT(e>>16&255,e>>8&255,e&255,1)}function YT(e,t,n,r){return r<=0&&(e=t=n=NaN),new QT(e,t,n,r)}function XT(e){return e instanceof kT||(e=qT(e)),e?(e=e.rgb(),new QT(e.r,e.g,e.b,e.opacity)):new QT}function ZT(e,t,n,r){return arguments.length===1?XT(e):new QT(e,t,n,r??1)}function QT(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}DT(QT,ZT,OT(kT,{brighter(e){return e=e==null?jT:jT**+e,new QT(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?AT:AT**+e,new QT(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new QT(rE(this.r),rE(this.g),rE(this.b),nE(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$T,formatHex:$T,formatHex8:eE,formatRgb:tE,toString:tE}));function $T(){return`#${iE(this.r)}${iE(this.g)}${iE(this.b)}`}function eE(){return`#${iE(this.r)}${iE(this.g)}${iE(this.b)}${iE((isNaN(this.opacity)?1:this.opacity)*255)}`}function tE(){let e=nE(this.opacity);return`${e===1?`rgb(`:`rgba(`}${rE(this.r)}, ${rE(this.g)}, ${rE(this.b)}${e===1?`)`:`, ${e})`}`}function nE(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function rE(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function iE(e){return e=rE(e),(e<16?`0`:``)+e.toString(16)}function aE(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new cE(e,t,n,r)}function oE(e){if(e instanceof cE)return new cE(e.h,e.s,e.l,e.opacity);if(e instanceof kT||(e=qT(e)),!e)return new cE;if(e instanceof cE)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new cE(o,s,c,e.opacity)}function sE(e,t,n,r){return arguments.length===1?oE(e):new cE(e,t,n,r??1)}function cE(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}DT(cE,sE,OT(kT,{brighter(e){return e=e==null?jT:jT**+e,new cE(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?AT:AT**+e,new cE(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new QT(dE(e>=240?e-240:e+120,i,r),dE(e,i,r),dE(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new cE(lE(this.h),uE(this.s),uE(this.l),nE(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=nE(this.opacity);return`${e===1?`hsl(`:`hsla(`}${lE(this.h)}, ${uE(this.s)*100}%, ${uE(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function lE(e){return e=(e||0)%360,e<0?e+360:e}function uE(e){return Math.max(0,Math.min(1,e||0))}function dE(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var fE=e=>()=>e;function pE(e,t){return function(n){return e+n*t}}function mE(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function hE(e){return(e=+e)==1?gE:function(t,n){return n-t?mE(t,n,e):fE(isNaN(t)?n:t)}}function gE(e,t){var n=t-e;return n?pE(e,n):fE(isNaN(e)?t:e)}var _E=(function e(t){var n=hE(t);function r(e,t){var r=n((e=ZT(e)).r,(t=ZT(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=gE(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function vE(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function yE(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function bE(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=kE(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function xE(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function SE(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function CE(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=kE(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var wE=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,TE=new RegExp(wE.source,`g`);function EE(e){return function(){return e}}function DE(e){return function(t){return e(t)+``}}function OE(e,t){var n=wE.lastIndex=TE.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=wE.exec(e))&&(i=TE.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:SE(r,i)})),n=TE.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?DE(c[0].x):EE(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function kE(e,t){var n=typeof t,r;return t==null||n===`boolean`?fE(t):(n===`number`?SE:n===`string`?(r=qT(t))?(t=r,_E):OE:t instanceof qT?_E:t instanceof Date?xE:yE(t)?vE:Array.isArray(t)?bE:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?CE:SE)(e,t)}function AE(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function jE(e,t){t===void 0&&(t=e,e=kE);for(var n=0,r=t.length-1,i=t[0],a=Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return a[t](e-t)}}function ME(e){return function(){return e}}function NE(e){return+e}var PE=[0,1];function FE(e){return e}function IE(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:ME(isNaN(t)?NaN:.5)}function LE(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function RE(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=IE(i,r),a=n(o,a)):(r=IE(r,i),a=n(a,o)),function(e){return a(r(e))}}function zE(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=IE(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=Qw(e,t,1,r)-1;return a[n](i[n](t))}}function BE(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function VE(){var e=PE,t=PE,n=kE,r,i,a,o=FE,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==FE&&(o=LE(e[0],e[n-1])),s=n>2?zE:RE,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),SE))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,NE),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=AE,u()},d.clamp=function(e){return arguments.length?(o=e?!0:FE,u()):o!==FE},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function HE(){return VE()(FE,FE)}function UE(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function WE(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function GE(e){return e=WE(Math.abs(e)),e?e[1]:NaN}function KE(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function qE(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var JE=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function YE(e){if(!(t=JE.exec(e)))throw Error(`invalid format: `+e);var t;return new XE({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}YE.prototype=XE.prototype;function XE(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}XE.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function ZE(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var QE;function $E(e,t){var n=WE(e,t);if(!n)return QE=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(QE=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+WE(e,Math.max(0,t+a-1))[0]}function eD(e,t){var n=WE(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var tD={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:UE,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>eD(e*100,t),r:eD,s:$E,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function nD(e){return e}var rD=Array.prototype.map,iD=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function aD(e){var t=e.grouping===void 0||e.thousands===void 0?nD:KE(rD.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?nD:qE(rD.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`−`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e,l){e=YE(e);var u=e.fill,d=e.align,f=e.sign,p=e.symbol,m=e.zero,h=e.width,g=e.comma,_=e.precision,v=e.trim,y=e.type;y===`n`?(g=!0,y=`g`):tD[y]||(_===void 0&&(_=12),v=!0,y=`g`),(m||u===`0`&&d===`=`)&&(m=!0,u=`0`,d=`=`);var b=(l&&l.prefix!==void 0?l.prefix:``)+(p===`$`?n:p===`#`&&/[boxX]/.test(y)?`0`+y.toLowerCase():``),x=(p===`$`?r:/[%p]/.test(y)?o:``)+(l&&l.suffix!==void 0?l.suffix:``),S=tD[y],C=/[defgprs%]/.test(y);_=_===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function w(e){var n=b,r=x,o,l,p;if(y===`c`)r=S(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:S(Math.abs(e),_),v&&(e=ZE(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&QE!==void 0?iD[8+QE/3]:``)+r+(w&&f===`(`?`)`:``),C){for(o=-1,l=e.length;++o<l;)if(p=e.charCodeAt(o),48>p||p>57){r=(p===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}g&&!m&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<h?Array(h-T+1).join(u):``;switch(g&&m&&(e=t(E+e,E.length?h-r.length:1/0),E=``),d){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r;break}return a(e)}return w.toString=function(){return e+``},w}function u(e,t){var n=Math.max(-8,Math.min(8,Math.floor(GE(t)/3)))*3,r=10**-n,i=l((e=YE(e),e.type=`f`,e),{suffix:iD[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var oD,sD,cD;lD({thousands:`,`,grouping:[3],currency:[`$`,``]});function lD(e){return oD=aD(e),sD=oD.format,cD=oD.formatPrefix,oD}function uD(e){return Math.max(0,-GE(Math.abs(e)))}function dD(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(GE(t)/3)))*3-GE(Math.abs(e)))}function fD(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,GE(t)-GE(e))+1}function pD(e,t,n,r){var i=fT(e,t,n),a;switch(r=YE(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=dD(i,o))&&(r.precision=a),cD(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=fD(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=uD(i))&&(r.precision=a-(r.type===`%`)*2);break}return sD(r)}function mD(e){var t=e.domain;return e.ticks=function(e){var n=t();return uT(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return pD(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=dT(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function hD(){var e=HE();return e.copy=function(){return BE(e,hD())},bT.apply(e,arguments),mD(e)}function gD(e){var t;function n(e){return e==null||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,NE),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return gD(e).unknown(t)},e=arguments.length?Array.from(e,NE):[0,1],mD(n)}function _D(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}function vD(e){return Math.log(e)}function yD(e){return Math.exp(e)}function bD(e){return-Math.log(-e)}function xD(e){return-Math.exp(-e)}function SD(e){return isFinite(e)?+(`1e`+e):e<0?0:e}function CD(e){return e===10?SD:e===Math.E?Math.exp:t=>e**+t}function wD(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function TD(e){return(t,n)=>-e(-t,n)}function ED(e){let t=e(vD,yD),n=t.domain,r=10,i,a;function o(){return i=wD(r),a=CD(r),n()[0]<0?(i=TD(i),a=TD(a),e(bD,xD)):e(vD,yD),t}return t.base=function(e){return arguments.length?(r=+e,o()):r},t.domain=function(e){return arguments.length?(n(e),o()):n()},t.ticks=e=>{let t=n(),o=t[0],s=t[t.length-1],c=s<o;c&&([o,s]=[s,o]);let l=i(o),u=i(s),d,f,p=e==null?10:+e,m=[];if(!(r%1)&&u-l<p){if(l=Math.floor(l),u=Math.ceil(u),o>0){for(;l<=u;++l)for(d=1;d<r;++d)if(f=l<0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}}else for(;l<=u;++l)for(d=r-1;d>=1;--d)if(f=l>0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}m.length*2<p&&(m=uT(o,s,p))}else m=uT(l,u,Math.min(u-l,p)).map(a);return c?m.reverse():m},t.tickFormat=(e,n)=>{if(e??=10,n??=r===10?`s`:`,`,typeof n!=`function`&&(!(r%1)&&(n=YE(n)).precision==null&&(n.trim=!0),n=sD(n)),e===1/0)return n;let o=Math.max(1,r*e/t.ticks().length);return e=>{let t=e/a(Math.round(i(e)));return t*r<r-.5&&(t*=r),t<=o?n(e):``}},t.nice=()=>n(_D(n(),{floor:e=>a(Math.floor(i(e))),ceil:e=>a(Math.ceil(i(e)))})),t}function DD(){let e=ED(VE()).domain([1,10]);return e.copy=()=>BE(e,DD()).base(e.base()),bT.apply(e,arguments),e}function OD(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function kD(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function AD(e){var t=1,n=e(OD(t),kD(t));return n.constant=function(n){return arguments.length?e(OD(t=+n),kD(t)):t},mD(n)}function jD(){var e=AD(VE());return e.copy=function(){return BE(e,jD()).constant(e.constant())},bT.apply(e,arguments)}function MD(e){return function(t){return t<0?-((-t)**+e):t**+e}}function ND(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function PD(e){return e<0?-e*e:e*e}function FD(e){var t=e(FE,FE),n=1;function r(){return n===1?e(FE,FE):n===.5?e(ND,PD):e(MD(n),MD(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},mD(t)}function ID(){var e=FD(VE());return e.copy=function(){return BE(e,ID()).exponent(e.exponent())},bT.apply(e,arguments),e}function LD(){return ID.apply(null,arguments).exponent(.5)}function RD(e){return Math.sign(e)*e*e}function zD(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function BD(){var e=HE(),t=[0,1],n=!1,r;function i(t){var i=zD(e(t));return isNaN(i)?r:n?Math.round(i):i}return i.invert=function(t){return e.invert(RD(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(n){return arguments.length?(e.range((t=Array.from(n,NE)).map(RD)),i):t.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return BD(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},bT.apply(i,arguments),mD(i)}function VD(){var e=[],t=[],n=[],r;function i(){var r=0,i=Math.max(1,t.length);for(n=Array(i-1);++r<i;)n[r-1]=vT(e,r/i);return a}function a(e){return e==null||isNaN(e=+e)?r:t[Qw(n,e)]}return a.invertExtent=function(r){var i=t.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(Gw),i()},a.range=function(e){return arguments.length?(t=Array.from(e),i()):t.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.quantiles=function(){return n.slice()},a.copy=function(){return VD().domain(e).range(t).unknown(r)},bT.apply(a,arguments)}function HD(){var e=0,t=1,n=1,r=[.5],i=[0,1],a;function o(e){return e!=null&&e<=e?i[Qw(r,e,0,n)]:a}function s(){var i=-1;for(r=Array(n);++i<n;)r[i]=((i+1)*t-(i-n)*e)/(n+1);return o}return o.domain=function(n){return arguments.length?([e,t]=n,e=+e,t=+t,s()):[e,t]},o.range=function(e){return arguments.length?(n=(i=Array.from(e)).length-1,s()):i.slice()},o.invertExtent=function(a){var o=i.indexOf(a);return o<0?[NaN,NaN]:o<1?[e,r[0]]:o>=n?[r[n-1],t]:[r[o-1],r[o]]},o.unknown=function(e){return arguments.length&&(a=e),o},o.thresholds=function(){return r.slice()},o.copy=function(){return HD().domain([e,t]).range(i).unknown(a)},bT.apply(mD(o),arguments)}function UD(){var e=[.5],t=[0,1],n,r=1;function i(i){return i!=null&&i<=i?t[Qw(e,i,0,r)]:n}return i.domain=function(n){return arguments.length?(e=Array.from(n),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(n){return arguments.length?(t=Array.from(n),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return UD().domain(e).range(t).unknown(n)},bT.apply(i,arguments)}var WD=new Date,GD=new Date;function KD(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>KD(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(WD.setTime(+t),GD.setTime(+r),e(WD),e(GD),Math.floor(n(WD,GD))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var qD=KD(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);qD.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?KD(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):qD),qD.range;var JD=1e3,YD=JD*60,XD=YD*60,ZD=XD*24,QD=ZD*7,$D=ZD*30,eO=ZD*365,tO=KD(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*JD)},(e,t)=>(t-e)/JD,e=>e.getUTCSeconds());tO.range;var nO=KD(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*JD)},(e,t)=>{e.setTime(+e+t*YD)},(e,t)=>(t-e)/YD,e=>e.getMinutes());nO.range;var rO=KD(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*YD)},(e,t)=>(t-e)/YD,e=>e.getUTCMinutes());rO.range;var iO=KD(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*JD-e.getMinutes()*YD)},(e,t)=>{e.setTime(+e+t*XD)},(e,t)=>(t-e)/XD,e=>e.getHours());iO.range;var aO=KD(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*XD)},(e,t)=>(t-e)/XD,e=>e.getUTCHours());aO.range;var oO=KD(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*YD)/ZD,e=>e.getDate()-1);oO.range;var sO=KD(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ZD,e=>e.getUTCDate()-1);sO.range;var cO=KD(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ZD,e=>Math.floor(e/ZD));cO.range;function lO(e){return KD(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*YD)/QD)}var uO=lO(0),dO=lO(1),fO=lO(2),pO=lO(3),mO=lO(4),hO=lO(5),gO=lO(6);uO.range,dO.range,fO.range,pO.range,mO.range,hO.range,gO.range;function _O(e){return KD(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/QD)}var vO=_O(0),yO=_O(1),bO=_O(2),xO=_O(3),SO=_O(4),CO=_O(5),wO=_O(6);vO.range,yO.range,bO.range,xO.range,SO.range,CO.range,wO.range;var TO=KD(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());TO.range;var EO=KD(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());EO.range;var DO=KD(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());DO.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:KD(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),DO.range;var OO=KD(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());OO.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:KD(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),OO.range;function kO(e,t,n,r,i,a){let o=[[tO,1,JD],[tO,5,5*JD],[tO,15,15*JD],[tO,30,30*JD],[a,1,YD],[a,5,5*YD],[a,15,15*YD],[a,30,30*YD],[i,1,XD],[i,3,3*XD],[i,6,6*XD],[i,12,12*XD],[r,1,ZD],[r,2,2*ZD],[n,1,QD],[t,1,$D],[t,3,3*$D],[e,1,eO]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=qw(([,,e])=>e).right(o,i);if(a===o.length)return e.every(fT(t/eO,n/eO,r));if(a===0)return qD.every(Math.max(fT(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[AO,jO]=kO(OO,EO,vO,cO,aO,rO),[MO,NO]=kO(DO,TO,uO,oO,iO,nO);function PO(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function FO(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function IO(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function LO(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=WO(i),u=GO(i),d=WO(a),f=GO(a),p=WO(o),m=GO(o),h=WO(s),g=GO(s),_=WO(c),v=GO(c),y={a:N,A:P,b:F,B:I,c:null,d:fk,e:fk,f:_k,g:Ok,G:Ak,H:pk,I:mk,j:hk,L:gk,m:vk,M:yk,p:ee,q:L,Q:$k,s:eA,S:bk,u:xk,U:Sk,V:wk,w:Tk,W:Ek,x:null,X:null,y:Dk,Y:kk,Z:jk,"%":Qk},b={a:te,A:R,b:ne,B:re,c:null,d:Mk,e:Mk,f:Lk,g:Jk,G:Xk,H:Nk,I:Pk,j:Fk,L:Ik,m:Rk,M:zk,p:ie,q:z,Q:$k,s:eA,S:Bk,u:Vk,U:Hk,V:Wk,w:Gk,W:Kk,x:null,X:null,y:qk,Y:Yk,Z:Zk,"%":Qk},x={a:E,A:D,b:O,B:k,c:A,d:nk,e:nk,f:ck,g:QO,G:ZO,H:ik,I:ik,j:rk,L:sk,m:tk,M:ak,p:T,q:ek,Q:uk,s:dk,S:ok,u:qO,U:JO,V:YO,w:KO,W:XO,x:j,X:M,y:QO,Y:ZO,Z:$O,"%":lk};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=RO[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=IO(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=FO(IO(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?yO.ceil(a):yO(a),a=sO.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=PO(IO(r.y,0,1)),o=a.getDay(),a=o>4||o===0?dO.ceil(a):dO(a),a=oO.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:`W`in r?1:0),o=`Z`in r?FO(IO(r.y,0,1)).getUTCDay():PO(IO(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,FO(r)):PO(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in RO?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function j(e,t,r){return w(e,n,t,r)}function M(e,t,n){return w(e,r,t,n)}function N(e){return o[e.getDay()]}function P(e){return a[e.getDay()]}function F(e){return c[e.getMonth()]}function I(e){return s[e.getMonth()]}function ee(e){return i[+(e.getHours()>=12)]}function L(e){return 1+~~(e.getMonth()/3)}function te(e){return o[e.getUTCDay()]}function R(e){return a[e.getUTCDay()]}function ne(e){return c[e.getUTCMonth()]}function re(e){return s[e.getUTCMonth()]}function ie(e){return i[+(e.getUTCHours()>=12)]}function z(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var RO={"-":``,_:` `,0:`0`},zO=/^\s*\d+/,BO=/^%/,VO=/[\\^$*+?|[\]().{}]/g;function HO(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function UO(e){return e.replace(VO,`\\$&`)}function WO(e){return RegExp(`^(?:`+e.map(UO).join(`|`)+`)`,`i`)}function GO(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function KO(e,t,n){var r=zO.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function qO(e,t,n){var r=zO.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function JO(e,t,n){var r=zO.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function YO(e,t,n){var r=zO.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function XO(e,t,n){var r=zO.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function ZO(e,t,n){var r=zO.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function QO(e,t,n){var r=zO.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function $O(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function ek(e,t,n){var r=zO.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function tk(e,t,n){var r=zO.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function nk(e,t,n){var r=zO.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function rk(e,t,n){var r=zO.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function ik(e,t,n){var r=zO.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ak(e,t,n){var r=zO.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function ok(e,t,n){var r=zO.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function sk(e,t,n){var r=zO.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ck(e,t,n){var r=zO.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function lk(e,t,n){var r=BO.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function uk(e,t,n){var r=zO.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function dk(e,t,n){var r=zO.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function fk(e,t){return HO(e.getDate(),t,2)}function pk(e,t){return HO(e.getHours(),t,2)}function mk(e,t){return HO(e.getHours()%12||12,t,2)}function hk(e,t){return HO(1+oO.count(DO(e),e),t,3)}function gk(e,t){return HO(e.getMilliseconds(),t,3)}function _k(e,t){return gk(e,t)+`000`}function vk(e,t){return HO(e.getMonth()+1,t,2)}function yk(e,t){return HO(e.getMinutes(),t,2)}function bk(e,t){return HO(e.getSeconds(),t,2)}function xk(e){var t=e.getDay();return t===0?7:t}function Sk(e,t){return HO(uO.count(DO(e)-1,e),t,2)}function Ck(e){var t=e.getDay();return t>=4||t===0?mO(e):mO.ceil(e)}function wk(e,t){return e=Ck(e),HO(mO.count(DO(e),e)+(DO(e).getDay()===4),t,2)}function Tk(e){return e.getDay()}function Ek(e,t){return HO(dO.count(DO(e)-1,e),t,2)}function Dk(e,t){return HO(e.getFullYear()%100,t,2)}function Ok(e,t){return e=Ck(e),HO(e.getFullYear()%100,t,2)}function kk(e,t){return HO(e.getFullYear()%1e4,t,4)}function Ak(e,t){var n=e.getDay();return e=n>=4||n===0?mO(e):mO.ceil(e),HO(e.getFullYear()%1e4,t,4)}function jk(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+HO(t/60|0,`0`,2)+HO(t%60,`0`,2)}function Mk(e,t){return HO(e.getUTCDate(),t,2)}function Nk(e,t){return HO(e.getUTCHours(),t,2)}function Pk(e,t){return HO(e.getUTCHours()%12||12,t,2)}function Fk(e,t){return HO(1+sO.count(OO(e),e),t,3)}function Ik(e,t){return HO(e.getUTCMilliseconds(),t,3)}function Lk(e,t){return Ik(e,t)+`000`}function Rk(e,t){return HO(e.getUTCMonth()+1,t,2)}function zk(e,t){return HO(e.getUTCMinutes(),t,2)}function Bk(e,t){return HO(e.getUTCSeconds(),t,2)}function Vk(e){var t=e.getUTCDay();return t===0?7:t}function Hk(e,t){return HO(vO.count(OO(e)-1,e),t,2)}function Uk(e){var t=e.getUTCDay();return t>=4||t===0?SO(e):SO.ceil(e)}function Wk(e,t){return e=Uk(e),HO(SO.count(OO(e),e)+(OO(e).getUTCDay()===4),t,2)}function Gk(e){return e.getUTCDay()}function Kk(e,t){return HO(yO.count(OO(e)-1,e),t,2)}function qk(e,t){return HO(e.getUTCFullYear()%100,t,2)}function Jk(e,t){return e=Uk(e),HO(e.getUTCFullYear()%100,t,2)}function Yk(e,t){return HO(e.getUTCFullYear()%1e4,t,4)}function Xk(e,t){var n=e.getUTCDay();return e=n>=4||n===0?SO(e):SO.ceil(e),HO(e.getUTCFullYear()%1e4,t,4)}function Zk(){return`+0000`}function Qk(){return`%`}function $k(e){return+e}function eA(e){return Math.floor(e/1e3)}var tA,nA,rA;iA({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`]});function iA(e){return tA=LO(e),nA=tA.format,tA.parse,rA=tA.utcFormat,tA.utcParse,tA}function aA(e){return new Date(e)}function oA(e){return e instanceof Date?+e:+new Date(+e)}function sA(e,t,n,r,i,a,o,s,c,l){var u=HE(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),v=l(`%b %d`),y=l(`%B`),b=l(`%Y`);function x(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:v:n(e)<e?y:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,oA)):f().map(aA)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?x:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(_D(n,e)):u},u.copy=function(){return BE(u,sA(e,t,n,r,i,a,o,s,c,l))},u}function cA(){return bT.apply(sA(MO,NO,DO,TO,uO,oO,iO,nO,tO,nA).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function lA(){return bT.apply(sA(AO,jO,OO,EO,vO,sO,aO,rO,tO,rA).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function uA(){var e=0,t=1,n,r,i,a,o=FE,s=!1,c;function l(e){return e==null||isNaN(e=+e)?c:o(i===0?.5:(e=(a(e)-n)*i,s?Math.max(0,Math.min(1,e)):e))}l.domain=function(o){return arguments.length?([e,t]=o,n=a(e=+e),r=a(t=+t),i=n===r?0:1/(r-n),l):[e,t]},l.clamp=function(e){return arguments.length?(s=!!e,l):s},l.interpolator=function(e){return arguments.length?(o=e,l):o};function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,o=e(n,r),l):[o(0),o(1)]}}return l.range=u(kE),l.rangeRound=u(AE),l.unknown=function(e){return arguments.length?(c=e,l):c},function(o){return a=o,n=o(e),r=o(t),i=n===r?0:1/(r-n),l}}function dA(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function fA(){var e=mD(uA()(FE));return e.copy=function(){return dA(e,fA())},xT.apply(e,arguments)}function pA(){var e=ED(uA()).domain([1,10]);return e.copy=function(){return dA(e,pA()).base(e.base())},xT.apply(e,arguments)}function mA(){var e=AD(uA());return e.copy=function(){return dA(e,mA()).constant(e.constant())},xT.apply(e,arguments)}function hA(){var e=FD(uA());return e.copy=function(){return dA(e,hA()).exponent(e.exponent())},xT.apply(e,arguments)}function gA(){return hA.apply(null,arguments).exponent(.5)}function _A(){var e=[],t=FE;function n(n){if(n!=null&&!isNaN(n=+n))return t((Qw(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(Gw),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((n,r)=>t(r/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(n,r)=>_T(e,r/t))},n.copy=function(){return _A(t).domain(e)},xT.apply(n,arguments)}function vA(){var e=0,t=.5,n=1,r=1,i,a,o,s,c,l=FE,u,d=!1,f;function p(e){return isNaN(e=+e)?f:(e=.5+((e=+u(e))-a)*(r*e<r*a?s:c),l(d?Math.max(0,Math.min(1,e)):e))}p.domain=function(l){return arguments.length?([e,t,n]=l,i=u(e=+e),a=u(t=+t),o=u(n=+n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p):[e,t,n]},p.clamp=function(e){return arguments.length?(d=!!e,p):d},p.interpolator=function(e){return arguments.length?(l=e,p):l};function m(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,l=jE(e,[n,r,i]),p):[l(0),l(.5),l(1)]}}return p.range=m(kE),p.rangeRound=m(AE),p.unknown=function(e){return arguments.length?(f=e,p):f},function(l){return u=l,i=l(e),a=l(t),o=l(n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p}}function yA(){var e=mD(vA()(FE));return e.copy=function(){return dA(e,yA())},xT.apply(e,arguments)}function bA(){var e=ED(vA()).domain([.1,1,10]);return e.copy=function(){return dA(e,bA()).base(e.base())},xT.apply(e,arguments)}function xA(){var e=AD(vA());return e.copy=function(){return dA(e,xA()).constant(e.constant())},xT.apply(e,arguments)}function SA(){var e=FD(vA());return e.copy=function(){return dA(e,SA()).exponent(e.exponent())},xT.apply(e,arguments)}function CA(){return SA.apply(null,arguments).exponent(.5)}var wA=s({scaleBand:()=>wT,scaleDiverging:()=>yA,scaleDivergingLog:()=>bA,scaleDivergingPow:()=>SA,scaleDivergingSqrt:()=>CA,scaleDivergingSymlog:()=>xA,scaleIdentity:()=>gD,scaleImplicit:()=>ST,scaleLinear:()=>hD,scaleLog:()=>DD,scaleOrdinal:()=>CT,scalePoint:()=>ET,scalePow:()=>ID,scaleQuantile:()=>VD,scaleQuantize:()=>HD,scaleRadial:()=>BD,scaleSequential:()=>fA,scaleSequentialLog:()=>pA,scaleSequentialPow:()=>hA,scaleSequentialQuantile:()=>_A,scaleSequentialSqrt:()=>gA,scaleSequentialSymlog:()=>mA,scaleSqrt:()=>LD,scaleSymlog:()=>jD,scaleThreshold:()=>UD,scaleTime:()=>cA,scaleUtc:()=>lA,tickFormat:()=>pD}),TA=o(((e,t)=>{var n=Ih();function r(e,t,r){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(s!=null&&(c===void 0?s===s&&!n(s):r(s,c)))var c=s,l=o}return l}t.exports=r})),EA=o(((e,t)=>{function n(e,t){return e>t}t.exports=n})),DA=o(((e,t)=>{var n=TA(),r=EA(),i=ax();function a(e){return e&&e.length?n(e,i,r):void 0}t.exports=a})),OA=o(((e,t)=>{function n(e,t){return e<t}t.exports=n})),kA=o(((e,t)=>{var n=TA(),r=OA(),i=ax();function a(e){return e&&e.length?n(e,i,r):void 0}t.exports=a})),AA=o(((e,t)=>{var n=yg(),r=lx(),i=Zx(),a=Oh();function o(e,t){return(a(e)?n:i)(e,r(t,3))}t.exports=o})),jA=o(((e,t)=>{var n=Gx(),r=AA();function i(e,t){return n(r(e,t),1)}t.exports=i})),MA=o(((e,t)=>{var n=Yb();function r(e,t){return n(e,t)}t.exports=r})),NA=o(((e,t)=>{(function(e){var n=1e9,r={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:`2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286`},i=!0,a=`[DecimalError] `,o=a+`Invalid argument: `,s=a+`Exponent out of range: `,c=Math.floor,l=Math.pow,u=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d,f=1e7,p=7,m=9007199254740991,h=c(m/p),g={};g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&=1,e},g.comparedTo=g.cmp=function(e){var t,n,r,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(r=a.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return r===i?0:r>i^a.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*p;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return b(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this,n=t.constructor;return D(b(t,new n(e),0,1),n.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return this.s===0},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,s=o+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(d))throw Error(a+`NaN`);if(n.s<1)throw Error(a+(n.s?`NaN`:`-Infinity`));return n.eq(d)?new r(0):(i=!1,t=b(T(n,s),T(e,s),s),i=!0,D(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?O(t,e):_(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(e=new r(e),!e.s)throw Error(a+`NaN`);return n.s?(i=!1,t=b(n,e,0,1).times(e),i=!0,n.minus(t)):D(new r(n),o)},g.naturalExponential=g.exp=function(){return x(this)},g.naturalLogarithm=g.ln=function(){return T(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_(t,e):O(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(o+e);if(t=S(i)+1,r=i.d.length-1,n=r*p+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,s,l,u=this,d=u.constructor;if(u.s<1){if(!u.s)return new d(0);throw Error(a+`NaN`)}for(e=S(u),i=!1,o=Math.sqrt(+u),o==0||o==1/0?(t=y(u.d),(t.length+e)%2==0&&(t+=`0`),o=Math.sqrt(t),e=c((e+1)/2)-(e<0||e%2),o==1/0?t=`5e`+e:(t=o.toExponential(),t=t.slice(0,t.indexOf(`e`)+1)+e),r=new d(t)):r=new d(o.toString()),n=d.precision,o=l=n+3;;)if(s=r,r=s.plus(b(u,s,l+2)).times(.5),y(s.d).slice(0,l)===(t=y(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),o==l&&t==`4999`){if(D(s,n+1,0),s.times(s).eq(u)){r=s;break}}else if(t!=`9999`)break;l+=4}return i=!0,D(r,n)},g.times=g.mul=function(e){var t,n,r,a,o,s,c,l,u,d=this,p=d.constructor,m=d.d,h=(e=new p(e)).d;if(!d.s||!e.s)return new p(0);for(e.s*=d.s,n=d.e+e.e,l=m.length,u=h.length,l<u&&(o=m,m=h,h=o,s=l,l=u,u=s),o=[],s=l+u,r=s;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,a=l+r;a>r;)c=o[a]+h[r]*m[a-r-1]+t,o[a--]=c%f|0,t=c/f|0;o[a]=(o[a]+t)%f|0}for(;!o[--s];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,i?D(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,i=r.constructor;return r=new i(r),e===void 0?r:(v(e,0,n),t===void 0?t=i.rounding:v(t,0,8),D(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,i=this,a=i.constructor;return e===void 0?r=k(i,!0):(v(e,0,n),t===void 0?t=a.rounding:v(t,0,8),i=D(new a(i),e+1,t),r=k(i,!0,e+1)),r},g.toFixed=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?k(a):(v(e,0,n),t===void 0?t=o.rounding:v(t,0,8),i=D(new o(a),e+S(a)+1,t),r=k(i.abs(),!1,e+S(i)+1),a.isneg()&&!a.isZero()?`-`+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return D(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,s,l,u=this,f=u.constructor,h=12,g=+(e=new f(e));if(!e.s)return new f(d);if(u=new f(u),!u.s){if(e.s<1)throw Error(a+`Infinity`);return u}if(u.eq(d))return u;if(r=f.precision,e.eq(d))return D(u,r);if(t=e.e,n=e.d.length-1,l=t>=n,s=u.s,!l){if(s<0)throw Error(a+`NaN`)}else if((n=g<0?-g:g)<=m){for(o=new f(d),t=Math.ceil(r/p+4),i=!1;n%2&&(o=o.times(u),A(o.d,t)),n=c(n/2),n!==0;)u=u.times(u),A(u.d,t);return i=!0,e.s<0?new f(d).div(o):D(o,r)}return s=s<0&&e.d[Math.max(t,n)]&1?-1:1,u.s=1,i=!1,o=e.times(T(u,r+h)),i=!0,o=x(o),o.s=s,o},g.toPrecision=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?(r=S(a),i=k(a,r<=o.toExpNeg||r>=o.toExpPos)):(v(e,1,n),t===void 0?t=o.rounding:v(t,0,8),a=D(new o(a),e,t),r=S(a),i=k(a,e<=r||r<=o.toExpNeg,e)),i},g.toSignificantDigits=g.tosd=function(e,t){var r=this,i=r.constructor;return e===void 0?(e=i.precision,t=i.rounding):(v(e,1,n),t===void 0?t=i.rounding:v(t,0,8)),D(new i(r),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),n=e.constructor;return k(e,t<=n.toExpNeg||t>=n.toExpPos)};function _(e,t){var n,r,a,o,s,c,l,u,d=e.constructor,m=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),i?D(t,m):t;if(l=e.d,u=t.d,s=e.e,a=t.e,l=l.slice(),o=s-a,o){for(o<0?(r=l,o=-o,c=u.length):(r=u,a=s,c=l.length),s=Math.ceil(m/p),c=s>c?s+1:c+1,o>c&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(c=l.length,o=u.length,c-o<0&&(o=c,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/f|0,l[o]%=f;for(n&&(l.unshift(n),++a),c=l.length;l[--c]==0;)l.pop();return t.d=l,t.e=a,i?D(t,m):t}function v(e,t,n){if(e!==~~e||e<t||e>n)throw Error(o+e)}function y(e){var t,n,r,i=e.length-1,a=``,o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)r=e[t]+``,n=p-r.length,n&&(a+=w(n)),a+=r;o=e[t],r=o+``,n=p-r.length,n&&(a+=w(n))}else if(o===0)return`0`;for(;o%10==0;)o/=10;return a+o}var b=(function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%f|0,r=n/f|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*f+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,s){var c,l,u,d,m,h,g,_,v,y,b,x,C,w,T,E,O,k,A=r.constructor,j=r.s==i.s?1:-1,M=r.d,N=i.d;if(!r.s)return new A(r);if(!i.s)throw Error(a+`Division by zero`);for(l=r.e-i.e,O=N.length,T=M.length,g=new A(j),_=g.d=[],u=0;N[u]==(M[u]||0);)++u;if(N[u]>(M[u]||0)&&--l,x=o==null?o=A.precision:s?o+(S(r)-S(i))+1:o,x<0)return new A(0);if(x=x/p+2|0,u=0,O==1)for(d=0,N=N[0],x++;(u<T||d)&&x--;u++)C=d*f+(M[u]||0),_[u]=C/N|0,d=C%N|0;else{for(d=f/(N[0]+1)|0,d>1&&(N=e(N,d),M=e(M,d),O=N.length,T=M.length),w=O,v=M.slice(0,O),y=v.length;y<O;)v[y++]=0;k=N.slice(),k.unshift(0),E=N[0],N[1]>=f/2&&++E;do d=0,c=t(N,v,O,y),c<0?(b=v[0],O!=y&&(b=b*f+(v[1]||0)),d=b/E|0,d>1?(d>=f&&(d=f-1),m=e(N,d),h=m.length,y=v.length,c=t(m,v,h,y),c==1&&(d--,n(m,O<h?k:N,h))):(d==0&&(c=d=1),m=N.slice()),h=m.length,h<y&&m.unshift(0),n(v,m,y),c==-1&&(y=v.length,c=t(N,v,O,y),c<1&&(d++,n(v,O<y?k:N,y))),y=v.length):c===0&&(d++,v=[0]),_[u++]=d,c&&v[0]?v[y++]=M[w]||0:(v=[M[w]],y=1);while((w++<T||v[0]!==void 0)&&x--)}return _[0]||_.shift(),g.e=l,D(g,s?o+S(g)+1:o)}})();function x(e,t){var n,r,a,o,c,u,f=0,p=0,m=e.constructor,h=m.precision;if(S(e)>16)throw Error(s+S(e));if(!e.s)return new m(d);for(t==null?(i=!1,u=h):u=t,c=new m(.03125);e.abs().gte(.1);)e=e.times(c),p+=5;for(r=Math.log(l(2,p))/Math.LN10*2+5|0,u+=r,n=a=o=new m(d),m.precision=u;;){if(a=D(a.times(e),u),n=n.times(++f),c=o.plus(b(a,n,u)),y(c.d).slice(0,u)===y(o.d).slice(0,u)){for(;p--;)o=D(o.times(o),u);return m.precision=h,t==null?(i=!0,D(o,h)):o}o=c}}function S(e){for(var t=e.e*p,n=e.d[0];n>=10;n/=10)t++;return t}function C(e,t,n){if(t>e.LN10.sd())throw i=!0,n&&(e.precision=n),Error(a+`LN10 precision limit exceeded`);return D(new e(e.LN10),t)}function w(e){for(var t=``;e--;)t+=`0`;return t}function T(e,t){var n,r,o,s,c,l,u,f,p,m=1,h=10,g=e,_=g.d,v=g.constructor,x=v.precision;if(g.s<1)throw Error(a+(g.s?`NaN`:`-Infinity`));if(g.eq(d))return new v(0);if(t==null?(i=!1,f=x):f=t,g.eq(10))return t??(i=!0),C(v,f);if(f+=h,v.precision=f,n=y(_),r=n.charAt(0),s=S(g),Math.abs(s)<0x5543df729c000){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)g=g.times(e),n=y(g.d),r=n.charAt(0),m++;s=S(g),r>1?(g=new v(`0.`+n),s++):g=new v(r+`.`+n.slice(1))}else return u=C(v,f+2,x).times(s+``),g=T(new v(r+`.`+n.slice(1)),f-h).plus(u),v.precision=x,t==null?(i=!0,D(g,x)):g;for(l=c=g=b(g.minus(d),g.plus(d),f),p=D(g.times(g),f),o=3;;){if(c=D(c.times(p),f),u=l.plus(b(c,new v(o),f)),y(u.d).slice(0,f)===y(l.d).slice(0,f))return l=l.times(2),s!==0&&(l=l.plus(C(v,f+2,x).times(s+``))),l=b(l,new v(m),f),v.precision=x,t==null?(i=!0,D(l,x)):l;l=u,o+=2}}function E(e,t){var n,r,a;for((n=t.indexOf(`.`))>-1&&(t=t.replace(`.`,``)),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(r,a),t){if(a-=r,n=n-r-1,e.e=c(n/p),e.d=[],r=(n+1)%p,n<0&&(r+=p),r<a){for(r&&e.d.push(+t.slice(0,r)),a-=p;r<a;)e.d.push(+t.slice(r,r+=p));t=t.slice(r),r=p-t.length}else r-=a;for(;r--;)t+=`0`;if(e.d.push(+t),i&&(e.e>h||e.e<-h))throw Error(s+n)}else e.s=0,e.e=0,e.d=[0];return e}function D(e,t,n){var r,a,o,u,d,m,g,_,v=e.d;for(u=1,o=v[0];o>=10;o/=10)u++;if(r=t-u,r<0)r+=p,a=t,g=v[_=0];else{if(_=Math.ceil((r+1)/p),o=v.length,_>=o)return e;for(g=o=v[_],u=1;o>=10;o/=10)u++;r%=p,a=r-p+u}if(n!==void 0&&(o=l(10,u-a-1),d=g/o%10|0,m=t<0||v[_+1]!==void 0||g%o,m=n<4?(d||m)&&(n==0||n==(e.s<0?3:2)):d>5||d==5&&(n==4||m||n==6&&(r>0?a>0?g/l(10,u-a):0:v[_-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return m?(o=S(e),v.length=1,t=t-o-1,v[0]=l(10,(p-t%p)%p),e.e=c(-t/p)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(r==0?(v.length=_,o=1,_--):(v.length=_+1,o=l(10,p-r),v[_]=a>0?(g/l(10,u-a)%l(10,a)|0)*o:0),m)for(;;)if(_==0){(v[0]+=o)==f&&(v[0]=1,++e.e);break}else{if(v[_]+=o,v[_]!=f)break;v[_--]=0,o=1}for(r=v.length;v[--r]===0;)v.pop();if(i&&(e.e>h||e.e<-h))throw Error(s+S(e));return e}function O(e,t){var n,r,a,o,s,c,l,u,d,m,h=e.constructor,g=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),i?D(t,g):t;if(l=e.d,m=t.d,r=t.e,u=e.e,l=l.slice(),s=u-r,s){for(d=s<0,d?(n=l,s=-s,c=m.length):(n=m,r=u,c=l.length),a=Math.max(Math.ceil(g/p),c)+2,s>a&&(s=a,n.length=1),n.reverse(),a=s;a--;)n.push(0);n.reverse()}else{for(a=l.length,c=m.length,d=a<c,d&&(c=a),a=0;a<c;a++)if(l[a]!=m[a]){d=l[a]<m[a];break}s=0}for(d&&(n=l,l=m,m=n,t.s=-t.s),c=l.length,a=m.length-c;a>0;--a)l[c++]=0;for(a=m.length;a>s;){if(l[--a]<m[a]){for(o=a;o&&l[--o]===0;)l[o]=f-1;--l[o],l[a]+=f}l[a]-=m[a]}for(;l[--c]===0;)l.pop();for(;l[0]===0;l.shift())--r;return l[0]?(t.d=l,t.e=r,i?D(t,g):t):new h(0)}function k(e,t,n){var r,i=S(e),a=y(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+`.`+a.slice(1)+w(r):o>1&&(a=a.charAt(0)+`.`+a.slice(1)),a=a+(i<0?`e`:`e+`)+i):i<0?(a=`0.`+w(-i-1)+a,n&&(r=n-o)>0&&(a+=w(r))):i>=o?(a+=w(i+1-o),n&&(r=n-i-1)>0&&(a=a+`.`+w(r))):((r=i+1)<o&&(a=a.slice(0,r)+`.`+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+=`.`),a+=w(r))),e.s<0?`-`+a:a}function A(e,t){if(e.length>t)return e.length=t,!0}function j(e){var t,n,r;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i){t.s=e.s,t.e=e.e,t.d=(e=e.d)?e.slice():e;return}if(typeof e==`number`){if(e*0!=0)throw Error(o+e);if(e>0)t.s=1;else if(e<0)e=-e,t.s=-1;else{t.s=0,t.e=0,t.d=[0];return}if(e===~~e&&e<1e7){t.e=0,t.d=[e];return}return E(t,e.toString())}else if(typeof e!=`string`)throw Error(o+e);if(e.charCodeAt(0)===45?(e=e.slice(1),t.s=-1):t.s=1,u.test(e))E(t,e);else throw Error(o+e)}if(i.prototype=g,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=j,i.config=i.set=M,e===void 0&&(e={}),e)for(r=[`precision`,`rounding`,`toExpNeg`,`toExpPos`,`LN10`],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function M(e){if(!e||typeof e!=`object`)throw Error(a+`Object expected`);var t,r,i,s=[`precision`,1,n,`rounding`,0,8,`toExpNeg`,-1/0,0,`toExpPos`,0,1/0];for(t=0;t<s.length;t+=3)if((i=e[r=s[t]])!==void 0)if(c(i)===i&&i>=s[t+1]&&i<=s[t+2])this[r]=i;else throw Error(o+r+`: `+i);if((i=e[r=`LN10`])!==void 0)if(i==Math.LN10)this[r]=new this(i);else throw Error(o+r+`: `+i);return this}r=j(r),r.default=r.Decimal=r,d=new r(1),typeof define==`function`&&define.amd?define(function(){return r}):t!==void 0&&t.exports?t.exports=r:(e||=typeof self<`u`&&self&&self.self==self?self:Function(`return this`)(),e.Decimal=r)})(e)}));function PA(e){return RA(e)||LA(e)||IA(e)||FA()}function FA(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
57
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function IA(e,t){if(e){if(typeof e==`string`)return zA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zA(e,t)}}function LA(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function RA(e){if(Array.isArray(e))return zA(e)}function zA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var BA=function(e){return e},VA={"@@functional/placeholder":!0},HA=function(e){return e===VA},UA=function(e){return function t(){return arguments.length===0||arguments.length===1&&HA(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},WA=function e(t,n){return t===1?n:UA(function(){var r=[...arguments],i=r.filter(function(e){return e!==VA}).length;return i>=t?n.apply(void 0,r):e(t-i,UA(function(){var e=[...arguments],t=r.map(function(t){return HA(t)?e.shift():t});return n.apply(void 0,PA(t).concat(e))}))})},GA=function(e){return WA(e.length,e)},KA=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},qA=GA(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(e){return t[e]}).map(e)}),JA=function(){var e=[...arguments];if(!e.length)return BA;var t=e.reverse(),n=t[0],r=t.slice(1);return function(){return r.reduce(function(e,t){return t(e)},n.apply(void 0,arguments))}},YA=function(e){return Array.isArray(e)?e.reverse():e.split(``).reverse.join(``)},XA=function(e){var t=null,n=null;return function(){var r=[...arguments];return t&&r.every(function(e,n){return e===t[n]})?n:(t=r,n=e.apply(void 0,r),n)}},ZA=l(NA());function QA(e){return e===0?1:Math.floor(new ZA.default(e).abs().log(10).toNumber())+1}function $A(e,t,n){for(var r=new ZA.default(e),i=0,a=[];r.lt(t)&&i<1e5;)a.push(r.toNumber()),r=r.add(n),i++;return a}var ej={rangeStep:$A,getDigitCount:QA,interpolateNumber:GA(function(e,t,n){var r=+e;return r+n*(+t-r)}),uninterpolateNumber:GA(function(e,t,n){var r=t-+e;return r||=1/0,(n-e)/r}),uninterpolateTruncation:GA(function(e,t,n){var r=t-+e;return r||=1/0,Math.max(0,Math.min(1,(n-e)/r))})};function tj(e){return ij(e)||rj(e)||sj(e)||nj()}function nj(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
58
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rj(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function ij(e){if(Array.isArray(e))return cj(e)}function aj(e,t){return uj(e)||lj(e,t)||sj(e,t)||oj()}function oj(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
59
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sj(e,t){if(e){if(typeof e==`string`)return cj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cj(e,t)}}function cj(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function lj(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function uj(e){if(Array.isArray(e))return e}function dj(e){var t=aj(e,2),n=t[0],r=t[1],i=n,a=r;return n>r&&(i=r,a=n),[i,a]}function fj(e,t,n){if(e.lte(0))return new ZA.default(0);var r=ej.getDigitCount(e.toNumber()),i=new ZA.default(10).pow(r),a=e.div(i),o=r===1?.1:.05,s=new ZA.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);return t?s:new ZA.default(Math.ceil(s))}function pj(e,t,n){var r=1,i=new ZA.default(e);if(!i.isint()&&n){var a=Math.abs(e);a<1?(r=new ZA.default(10).pow(ej.getDigitCount(e)-1),i=new ZA.default(Math.floor(i.div(r).toNumber())).mul(r)):a>1&&(i=new ZA.default(Math.floor(e)))}else e===0?i=new ZA.default(Math.floor((t-1)/2)):n||(i=new ZA.default(Math.floor(e)));var o=Math.floor((t-1)/2);return JA(qA(function(e){return i.add(new ZA.default(e-o).mul(r)).toNumber()}),KA)(0,t)}function mj(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new ZA.default(0),tickMin:new ZA.default(0),tickMax:new ZA.default(0)};var a=fj(new ZA.default(t).sub(e).div(n-1),r,i),o;e<=0&&t>=0?o=new ZA.default(0):(o=new ZA.default(e).add(t).div(2),o=o.sub(new ZA.default(o).mod(a)));var s=Math.ceil(o.sub(e).div(a).toNumber()),c=Math.ceil(new ZA.default(t).sub(o).div(a).toNumber()),l=s+c+1;return l>n?mj(e,t,n,r,i+1):(l<n&&(c=t>0?c+(n-l):c,s=t>0?s:s+(n-l)),{step:a,tickMin:o.sub(new ZA.default(s).mul(a)),tickMax:o.add(new ZA.default(c).mul(a))})}function hj(e){var t=aj(e,2),n=t[0],r=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Math.max(i,2),s=aj(dj([n,r]),2),c=s[0],l=s[1];if(c===-1/0||l===1/0){var u=l===1/0?[c].concat(tj(KA(0,i-1).map(function(){return 1/0}))):[].concat(tj(KA(0,i-1).map(function(){return-1/0})),[l]);return n>r?YA(u):u}if(c===l)return pj(c,i,a);var d=mj(c,l,o,a),f=d.step,p=d.tickMin,m=d.tickMax,h=ej.rangeStep(p,m.add(new ZA.default(.1).mul(f)),f);return n>r?YA(h):h}function gj(e,t){var n=aj(e,2),r=n[0],i=n[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=aj(dj([r,i]),2),s=o[0],c=o[1];if(s===-1/0||c===1/0)return[r,i];if(s===c)return[s];var l=Math.max(t,2),u=fj(new ZA.default(c).sub(s).div(l-1),a,0),d=[].concat(tj(ej.rangeStep(new ZA.default(s),new ZA.default(c).sub(new ZA.default(.99).mul(u)),u)),[c]);return r>i?YA(d):d}var _j=XA(hj),vj=XA(gj),yj=!0,bj=`Invariant failed`;function xj(e,t){if(!e){if(yj)throw Error(bj);var n=typeof t==`function`?t():t,r=n?`${bj}: ${n}`:bj;throw Error(r)}}var Sj=[`offset`,`layout`,`width`,`dataKey`,`data`,`dataPointFormatter`,`xAxis`,`yAxis`];function Cj(e){"@babel/helpers - typeof";return Cj=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Cj(e)}function wj(){return wj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wj.apply(this,arguments)}function Tj(e,t){return Aj(e)||kj(e,t)||Dj(e,t)||Ej()}function Ej(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
60
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dj(e,t){if(e){if(typeof e==`string`)return Oj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oj(e,t)}}function Oj(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function kj(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Aj(e){if(Array.isArray(e))return e}function jj(e,t){if(e==null)return{};var n=Mj(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Mj(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Nj(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Pj(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,Wj(r.key),r)}}function Fj(e,t,n){return t&&Pj(e.prototype,t),n&&Pj(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function Ij(e,t,n){return t=Bj(t),Lj(e,zj()?Reflect.construct(t,n||[],Bj(e).constructor):t.apply(e,n))}function Lj(e,t){if(t&&(Cj(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return Rj(e)}function Rj(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function zj(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(zj=function(){return!!e})()}function Bj(e){return Bj=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bj(e)}function Vj(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&Hj(e,t)}function Hj(e,t){return Hj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hj(e,t)}function Uj(e,t,n){return t=Wj(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wj(e){var t=Gj(e,`string`);return Cj(t)==`symbol`?t:t+``}function Gj(e,t){if(Cj(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Cj(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Kj=function(e){function t(){return Nj(this,t),Ij(this,t,arguments)}return Vj(t,e),Fj(t,[{key:`render`,value:function(){var e=this.props,t=e.offset,n=e.layout,r=e.width,i=e.dataKey,a=e.data,o=e.dataPointFormatter,s=e.xAxis,c=e.yAxis,l=Q(jj(e,Sj),!1);this.props.direction===`x`&&s.type!==`number`&&xj(!1);var u=a.map(function(e){var a=o(e,i),u=a.x,d=a.y,f=a.value,p=a.errorVal;if(!p)return null;var m=[],h,g;if(Array.isArray(p)){var _=Tj(p,2);h=_[0],g=_[1]}else h=g=p;if(n===`vertical`){var v=s.scale,y=d+t,b=y+r,x=y-r,S=v(f-h),C=v(f+g);m.push({x1:C,y1:b,x2:C,y2:x}),m.push({x1:S,y1:y,x2:C,y2:y}),m.push({x1:S,y1:b,x2:S,y2:x})}else if(n===`horizontal`){var w=c.scale,T=u+t,E=T-r,D=T+r,O=w(f-h),k=w(f+g);m.push({x1:E,y1:k,x2:D,y2:k}),m.push({x1:T,y1:O,x2:T,y2:k}),m.push({x1:E,y1:O,x2:D,y2:O})}return U.createElement(z_,wj({className:`recharts-errorBar`,key:`bar-${m.map(function(e){return`${e.x1}-${e.x2}-${e.y1}-${e.y2}`})}`},l),m.map(function(e){return U.createElement(`line`,wj({},e,{key:`line-${e.x1}-${e.x2}-${e.y1}-${e.y2}`}))}))});return U.createElement(z_,{className:`recharts-errorBars`},u)}}])}(U.Component);Uj(Kj,`defaultProps`,{stroke:`black`,strokeWidth:1.5,width:5,offset:0,layout:`horizontal`}),Uj(Kj,`displayName`,`ErrorBar`);function qj(e){"@babel/helpers - typeof";return qj=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},qj(e)}function Jj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Yj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Jj(Object(n),!0).forEach(function(t){Xj(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xj(e,t,n){return t=Zj(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zj(e){var t=Qj(e,`string`);return qj(t)==`symbol`?t:t+``}function Qj(e,t){if(qj(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(qj(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var $j=function(e){var t=e.children,n=e.formattedGraphicalItems,r=e.legendWidth,i=e.legendContent,a=y_(t,Ux);if(!a)return null;var o=Ux.defaultProps,s=o===void 0?{}:Yj(Yj({},o),a.props),c=a.props&&a.props.payload?a.props&&a.props.payload:i===`children`?(n||[]).reduce(function(e,t){var n=t.item,r=t.props,i=r.sectors||r.data||[];return e.concat(i.map(function(e){return{type:a.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}}))},[]):(n||[]).map(function(e){var t=e.item,n=t.type.defaultProps,r=n===void 0?{}:Yj(Yj({},n),t.props),i=r.dataKey,a=r.name,o=r.legendType;return{inactive:r.hide,dataKey:i,type:s.iconType||o||`square`,color:yM(t),value:a||i,payload:r}});return Yj(Yj(Yj({},s),Ux.getWithHeight(a,r)),{},{payload:c,item:a})},eM=l(DA()),tM=l(kA()),nM=l(jA()),rM=l(MA());function iM(e){"@babel/helpers - typeof";return iM=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},iM(e)}function aM(e){return lM(e)||cM(e)||sM(e)||oM()}function oM(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
61
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sM(e,t){if(e){if(typeof e==`string`)return uM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uM(e,t)}}function cM(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function lM(e){if(Array.isArray(e))return uM(e)}function uM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function dM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?dM(Object(n),!0).forEach(function(t){pM(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pM(e,t,n){return t=mM(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mM(e){var t=hM(e,`string`);return iM(t)==`symbol`?t:t+``}function hM(e,t){if(iM(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(iM(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function gM(e,t,n){return(0,X.default)(e)||(0,X.default)(t)?n:zg(t)?(0,Pg.default)(e,t,n):(0,o_.default)(t)?t(e):n}function _M(e,t,n,r){var i=(0,nM.default)(e,function(e){return gM(e,t)});if(n===`number`){var a=i.filter(function(e){return Z(e)||parseFloat(e)});return a.length?[(0,tM.default)(a),(0,eM.default)(a)]:[1/0,-1/0]}return(r?i.filter(function(e){return!(0,X.default)(e)}):i).map(function(e){return zg(e)||e instanceof Date?e:``})}var vM=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=-1,a=t?.length??0;if(a<=1)return 0;if(r&&r.axisType===`angleAxis`&&Math.abs(Math.abs(r.range[1]-r.range[0])-360)<=1e-6)for(var o=r.range,s=0;s<a;s++){var c=s>0?n[s-1].coordinate:n[a-1].coordinate,l=n[s].coordinate,u=s>=a-1?n[0].coordinate:n[s+1].coordinate,d=void 0;if(Ig(l-c)!==Ig(u-l)){var f=[];if(Ig(u-l)===Ig(o[1]-o[0])){d=u;var p=l+o[1]-o[0];f[0]=Math.min(p,(p+c)/2),f[1]=Math.max(p,(p+c)/2)}else{d=c;var m=u+o[1]-o[0];f[0]=Math.min(l,(m+l)/2),f[1]=Math.max(l,(m+l)/2)}var h=[Math.min(l,(d+l)/2),Math.max(l,(d+l)/2)];if(e>h[0]&&e<=h[1]||e>=f[0]&&e<=f[1]){i=n[s].index;break}}else{var g=Math.min(c,u),_=Math.max(c,u);if(e>(g+l)/2&&e<=(_+l)/2){i=n[s].index;break}}}else for(var v=0;v<a;v++)if(v===0&&e<=(t[v].coordinate+t[v+1].coordinate)/2||v>0&&v<a-1&&e>(t[v].coordinate+t[v-1].coordinate)/2&&e<=(t[v].coordinate+t[v+1].coordinate)/2||v===a-1&&e>(t[v].coordinate+t[v-1].coordinate)/2){i=t[v].index;break}return i},yM=function(e){var t,n=e.type.displayName,r=(t=e.type)!=null&&t.defaultProps?fM(fM({},e.type.defaultProps),e.props):e.props,i=r.stroke,a=r.fill,o;switch(n){case`Line`:o=i;break;case`Area`:case`Radar`:o=i&&i!==`none`?i:a;break;default:o=a;break}return o},bM=function(e){var t=e.barSize,n=e.totalSize,r=e.stackGroups,i=r===void 0?{}:r;if(!i)return{};for(var a={},o=Object.keys(i),s=0,c=o.length;s<c;s++)for(var l=i[o[s]].stackGroups,u=Object.keys(l),d=0,f=u.length;d<f;d++){var p=l[u[d]],m=p.items,h=p.cateAxisId,g=m.filter(function(e){return m_(e.type).indexOf(`Bar`)>=0});if(g&&g.length){var _=g[0].type.defaultProps,v=_===void 0?g[0].props:fM(fM({},_),g[0].props),y=v.barSize,b=v[h];a[b]||(a[b]=[]);var x=(0,X.default)(y)?t:y;a[b].push({item:g[0],stackList:g.slice(1),barSize:(0,X.default)(x)?void 0:Hg(x,n,0)})}}return a},xM=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,i=e.sizeList,a=i===void 0?[]:i,o=e.maxBarSize,s=a.length;if(s<1)return null;var c=Hg(t,r,0,!0),l,u=[];if(a[0].barSize===+a[0].barSize){var d=!1,f=r/s,p=a.reduce(function(e,t){return e+t.barSize||0},0);p+=(s-1)*c,p>=r&&(p-=(s-1)*c,c=0),p>=r&&f>0&&(d=!0,f*=.9,p=s*f);var m={offset:((r-p)/2>>0)-c,size:0};l=a.reduce(function(e,t){var n={item:t.item,position:{offset:m.offset+m.size+c,size:d?f:t.barSize}},r=[].concat(aM(e),[n]);return m=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){r.push({item:e,position:m})}),r},u)}else{var h=Hg(n,r,0,!0);r-2*h-(s-1)*c<=0&&(c=0);var g=(r-2*h-(s-1)*c)/s;g>1&&(g>>=0);var _=o===+o?Math.min(g,o):g;l=a.reduce(function(e,t,n){var r=[].concat(aM(e),[{item:t.item,position:{offset:h+(g+c)*n+(g-_)/2,size:_}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){r.push({item:e,position:r[r.length-1].position})}),r},u)}return l},SM=function(e,t,n,r){var i=n.children,a=n.width,o=n.margin,s=$j({children:i,legendWidth:a-(o.left||0)-(o.right||0)});if(s){var c=r||{},l=c.width,u=c.height,d=s.align,f=s.verticalAlign,p=s.layout;if((p===`vertical`||p===`horizontal`&&f===`middle`)&&d!==`center`&&Z(e[d]))return fM(fM({},e),{},pM({},d,e[d]+(l||0)));if((p===`horizontal`||p===`vertical`&&d===`center`)&&f!==`middle`&&Z(e[f]))return fM(fM({},e),{},pM({},f,e[f]+(u||0)))}return e},CM=function(e,t,n){return(0,X.default)(t)?!0:e===`horizontal`?t===`yAxis`:e===`vertical`||n===`x`?t===`xAxis`:n===`y`?t===`yAxis`:!0},wM=function(e,t,n,r,i){var a=t.props.children,o=v_(a,Kj).filter(function(e){return CM(r,i,e.props.direction)});if(o&&o.length){var s=o.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var r=gM(t,n);if((0,X.default)(r))return e;var i=Array.isArray(r)?[(0,tM.default)(r),(0,eM.default)(r)]:[r,r],a=s.reduce(function(e,n){var r=gM(t,n,0),a=i[0]-Math.abs(Array.isArray(r)?r[0]:r),o=i[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(a,e[0]),Math.max(o,e[1])]},[1/0,-1/0]);return[Math.min(a[0],e[0]),Math.max(a[1],e[1])]},[1/0,-1/0])}return null},TM=function(e,t,n,r,i){var a=t.map(function(t){return wM(e,t,n,i,r)}).filter(function(e){return!(0,X.default)(e)});return a&&a.length?a.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null},EM=function(e,t,n,r,i){var a=t.map(function(t){var a=t.props.dataKey;return n===`number`&&a&&wM(e,t,a,r)||_M(e,a,n,i)});if(n===`number`)return a.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var o={};return a.reduce(function(e,t){for(var n=0,r=t.length;n<r;n++)o[t[n]]||(o[t[n]]=!0,e.push(t[n]));return e},[])},DM=function(e,t){return e===`horizontal`&&t===`xAxis`||e===`vertical`&&t===`yAxis`||e===`centric`&&t===`angleAxis`||e===`radial`&&t===`radiusAxis`},OM=function(e,t,n,r){if(r)return e.map(function(e){return e.coordinate});var i,a,o=e.map(function(e){return e.coordinate===t&&(i=!0),e.coordinate===n&&(a=!0),e.coordinate});return i||o.push(t),a||o.push(n),o},kM=function(e,t,n){if(!e)return null;var r=e.scale,i=e.duplicateDomain,a=e.type,o=e.range,s=e.realScaleType===`scaleBand`?r.bandwidth()/2:2,c=(t||n)&&a===`category`&&r.bandwidth?r.bandwidth()/s:0;return c=e.axisType===`angleAxis`&&o?.length>=2?Ig(o[0]-o[1])*2*c:c,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map(function(e){return{coordinate:r(i?i.indexOf(e):e)+c,value:e,offset:c}}).filter(function(e){return!(0,Ng.default)(e.coordinate)}):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(e,t){return{coordinate:r(e)+c,value:e,index:t,offset:c}}):r.ticks&&!n?r.ticks(e.tickCount).map(function(e){return{coordinate:r(e)+c,value:e,offset:c}}):r.domain().map(function(e,t){return{coordinate:r(e)+c,value:i?i[e]:e,index:t,offset:c}})},AM=new WeakMap,jM=function(e,t){if(typeof t!=`function`)return e;AM.has(e)||AM.set(e,new WeakMap);var n=AM.get(e);if(n.has(t))return n.get(t);var r=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,r),r},MM=function(e,t,n){var r=e.scale,i=e.type,a=e.layout,o=e.axisType;if(r===`auto`)return a===`radial`&&o===`radiusAxis`?{scale:wT(),realScaleType:`band`}:a===`radial`&&o===`angleAxis`?{scale:hD(),realScaleType:`linear`}:i===`category`&&t&&(t.indexOf(`LineChart`)>=0||t.indexOf(`AreaChart`)>=0||t.indexOf(`ComposedChart`)>=0&&!n)?{scale:ET(),realScaleType:`point`}:i===`category`?{scale:wT(),realScaleType:`band`}:{scale:hD(),realScaleType:`linear`};if((0,Mg.default)(r)){var s=`scale${(0,by.default)(r)}`;return{scale:(wA[s]||ET)(),realScaleType:wA[s]?s:`point`}}return(0,o_.default)(r)?{scale:r}:{scale:ET(),realScaleType:`point`}},NM=1e-4,PM=function(e){var t=e.domain();if(!(!t||t.length<=2)){var n=t.length,r=e.range(),i=Math.min(r[0],r[1])-NM,a=Math.max(r[0],r[1])+NM,o=e(t[0]),s=e(t[n-1]);(o<i||o>a||s<i||s>a)&&e.domain([t[0],t[n-1]])}},FM=function(e,t){if(!e)return null;for(var n=0,r=e.length;n<r;n++)if(e[n].item===t)return e[n].position;return null},IM=function(e,t){if(!t||t.length!==2||!Z(t[0])||!Z(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!Z(e[0])||e[0]<n)&&(i[0]=n),(!Z(e[1])||e[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},LM={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var i=0,a=0,o=0;o<t;++o){var s=(0,Ng.default)(e[o][n][1])?e[o][n][0]:e[o][n][1];s>=0?(e[o][n][0]=i,e[o][n][1]=i+s,i=e[o][n][1]):(e[o][n][0]=a,e[o][n][1]=a+s,a=e[o][n][1])}},expand:_y,none:fy,silhouette:vy,wiggle:yy,positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var i=0,a=0;a<t;++a){var o=(0,Ng.default)(e[a][n][1])?e[a][n][0]:e[a][n][1];o>=0?(e[a][n][0]=i,e[a][n][1]=i+o,i=e[a][n][1]):(e[a][n][0]=0,e[a][n][1]=0)}}},RM=function(e,t,n){var r=t.map(function(e){return e.props.dataKey}),i=LM[n];return gy().keys(r).value(function(e,t){return+gM(e,t,0)}).order(py).offset(i)(e)},zM=function(e,t,n,r,i,a){if(!e)return null;var o=(a?t.reverse():t).reduce(function(e,t){var i,a=(i=t.type)!=null&&i.defaultProps?fM(fM({},t.type.defaultProps),t.props):t.props,o=a.stackId;if(a.hide)return e;var s=a[n],c=e[s]||{hasStack:!1,stackGroups:{}};if(zg(o)){var l=c.stackGroups[o]||{numericAxisId:n,cateAxisId:r,items:[]};l.items.push(t),c.hasStack=!0,c.stackGroups[o]=l}else c.stackGroups[Vg(`_stackId_`)]={numericAxisId:n,cateAxisId:r,items:[t]};return fM(fM({},e),{},pM({},s,c))},{});return Object.keys(o).reduce(function(t,a){var s=o[a];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce(function(t,a){var o=s.stackGroups[a];return fM(fM({},t),{},pM({},a,{numericAxisId:n,cateAxisId:r,items:o.items,stackedData:RM(e,o.items,i)}))},{})),fM(fM({},t),{},pM({},a,s))},{})},BM=function(e,t){var n=t.realScaleType,r=t.type,i=t.tickCount,a=t.originalDomain,o=t.allowDecimals,s=n||t.scale;if(s!==`auto`&&s!==`linear`)return null;if(i&&r===`number`&&a&&(a[0]===`auto`||a[1]===`auto`)){var c=e.domain();if(!c.length)return null;var l=_j(c,i,o);return e.domain([(0,tM.default)(l),(0,eM.default)(l)]),{niceTicks:l}}return i&&r===`number`?{niceTicks:vj(e.domain(),i,o)}:null};function VM(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,a=e.index,o=e.dataKey;if(t.type===`category`){if(!t.allowDuplicatedCategory&&t.dataKey&&!(0,X.default)(i[t.dataKey])){var s=Kg(n,`value`,i[t.dataKey]);if(s)return s.coordinate+r/2}return n[a]?n[a].coordinate+r/2:null}var c=gM(i,(0,X.default)(o)?t.dataKey:o);return(0,X.default)(c)?null:t.scale(c)}var HM=function(e){var t=e.axis,n=e.ticks,r=e.offset,i=e.bandSize,a=e.entry,o=e.index;if(t.type===`category`)return n[o]?n[o].coordinate+r:null;var s=gM(a,t.dataKey,t.domain[o]);return(0,X.default)(s)?null:t.scale(s)-i/2+r},UM=function(e){var t=e.numericAxis,n=t.scale.domain();if(t.type===`number`){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},WM=function(e,t){var n,r=((n=e.type)!=null&&n.defaultProps?fM(fM({},e.type.defaultProps),e.props):e.props).stackId;if(zg(r)){var i=t[r];if(i){var a=i.items.indexOf(e);return a>=0?i.stackedData[a]:null}}return null},GM=function(e){return e.reduce(function(e,t){return[(0,tM.default)(t.concat([e[0]]).filter(Z)),(0,eM.default)(t.concat([e[1]]).filter(Z))]},[1/0,-1/0])},KM=function(e,t,n){return Object.keys(e).reduce(function(r,i){var a=e[i].stackedData.reduce(function(e,r){var i=GM(r.slice(t,n+1));return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(a[0],r[0]),Math.max(a[1],r[1])]},[1/0,-1/0]).map(function(e){return e===1/0||e===-1/0?0:e})},qM=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,JM=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,YM=function(e,t,n){if((0,o_.default)(e))return e(t,n);if(!Array.isArray(e))return t;var r=[];if(Z(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(qM.test(e[0])){var i=+qM.exec(e[0])[1];r[0]=t[0]-i}else (0,o_.default)(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Z(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(JM.test(e[1])){var a=+JM.exec(e[1])[1];r[1]=t[1]+a}else (0,o_.default)(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},XM=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=(0,dS.default)(t,function(e){return e.coordinate}),a=1/0,o=1,s=i.length;o<s;o++){var c=i[o],l=i[o-1];a=Math.min((c.coordinate||0)-(l.coordinate||0),a)}return a===1/0?0:a}return n?void 0:0},ZM=function(e,t,n){return!e||!e.length||(0,rM.default)(e,(0,Pg.default)(n,`type.defaultProps.domain`))?t:e},QM=function(e,t){var n=e.type.defaultProps?fM(fM({},e.type.defaultProps),e.props):e.props,r=n.dataKey,i=n.name,a=n.unit,o=n.formatter,s=n.tooltipType,c=n.chartType,l=n.hide;return fM(fM({},Q(e,!1)),{},{dataKey:r,unit:a,formatter:o,name:i||r,color:yM(e),value:gM(t,r),type:s,payload:t,chartType:c,hide:l})};function $M(e){"@babel/helpers - typeof";return $M=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},$M(e)}function eN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?eN(Object(n),!0).forEach(function(t){nN(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eN(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nN(e,t,n){return t=rN(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rN(e){var t=iN(e,`string`);return $M(t)==`symbol`?t:t+``}function iN(e,t){if($M(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if($M(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function aN(e,t){return uN(e)||lN(e,t)||sN(e,t)||oN()}function oN(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
62
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sN(e,t){if(e){if(typeof e==`string`)return cN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cN(e,t)}}function cN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function lN(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function uN(e){if(Array.isArray(e))return e}var dN=Math.PI/180,fN=function(e){return e*180/Math.PI},pN=function(e,t,n,r){return{x:e+Math.cos(-dN*r)*n,y:t+Math.sin(-dN*r)*n}},mN=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},hN=function(e,t,n,r,i){var a=e.width,o=e.height,s=e.startAngle,c=e.endAngle,l=Hg(e.cx,a,a/2),u=Hg(e.cy,o,o/2),d=mN(a,o,n),f=Hg(e.innerRadius,d,0),p=Hg(e.outerRadius,d,d*.8);return Object.keys(t).reduce(function(e,n){var a=t[n],o=a.domain,d=a.reversed,m;if((0,X.default)(a.range))r===`angleAxis`?m=[s,c]:r===`radiusAxis`&&(m=[f,p]),d&&(m=[m[1],m[0]]);else{m=a.range;var h=aN(m,2);s=h[0],c=h[1]}var g=MM(a,i),_=g.realScaleType,v=g.scale;v.domain(o).range(m),PM(v);var y=BM(v,tN(tN({},a),{},{realScaleType:_})),b=tN(tN(tN({},a),y),{},{range:m,radius:p,realScaleType:_,scale:v,cx:l,cy:u,innerRadius:f,outerRadius:p,startAngle:s,endAngle:c});return tN(tN({},e),{},nN({},n,b))},{})},gN=function(e,t){var n=e.x,r=e.y,i=t.x,a=t.y;return Math.sqrt((n-i)**2+(r-a)**2)},_N=function(e,t){var n=e.x,r=e.y,i=t.cx,a=t.cy,o=gN({x:n,y:r},{x:i,y:a});if(o<=0)return{radius:o};var s=(n-i)/o,c=Math.acos(s);return r>a&&(c=2*Math.PI-c),{radius:o,angle:fN(c),angleInRadian:c}},vN=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),i=Math.floor(n/360),a=Math.min(r,i);return{startAngle:t-a*360,endAngle:n-a*360}},yN=function(e,t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),a=Math.floor(r/360);return e+Math.min(i,a)*360},bN=function(e,t){var n=e.x,r=e.y,i=_N({x:n,y:r},t),a=i.radius,o=i.angle,s=t.innerRadius,c=t.outerRadius;if(a<s||a>c)return!1;if(a===0)return!0;var l=vN(t),u=l.startAngle,d=l.endAngle,f=o,p;if(u<=d){for(;f>d;)f-=360;for(;f<u;)f+=360;p=f>=u&&f<=d}else{for(;f>u;)f-=360;for(;f<d;)f+=360;p=f>=d&&f<=u}return p?tN(tN({},t),{},{radius:a,angle:yN(f,t)}):null},xN=function(e){return!(0,U.isValidElement)(e)&&!(0,o_.default)(e)&&typeof e!=`boolean`?e.className:``};function SN(e){"@babel/helpers - typeof";return SN=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},SN(e)}var CN=[`offset`];function wN(e){return ON(e)||DN(e)||EN(e)||TN()}function TN(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
63
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EN(e,t){if(e){if(typeof e==`string`)return kN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kN(e,t)}}function DN(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function ON(e){if(Array.isArray(e))return kN(e)}function kN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function AN(e,t){if(e==null)return{};var n=jN(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jN(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function MN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function NN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?MN(Object(n),!0).forEach(function(t){PN(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MN(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function PN(e,t,n){return t=FN(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FN(e){var t=IN(e,`string`);return SN(t)==`symbol`?t:t+``}function IN(e,t){if(SN(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(SN(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function LN(){return LN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LN.apply(this,arguments)}var RN=function(e){var t=e.value,n=e.formatter,r=(0,X.default)(e.children)?t:e.children;return(0,o_.default)(n)?n(r):r},zN=function(e,t){return Ig(t-e)*Math.min(Math.abs(t-e),360)},BN=function(e,t,n){var r=e.position,i=e.viewBox,a=e.offset,o=e.className,s=i,c=s.cx,l=s.cy,u=s.innerRadius,f=s.outerRadius,p=s.startAngle,m=s.endAngle,h=s.clockWise,g=(u+f)/2,_=zN(p,m),v=_>=0?1:-1,y,b;r===`insideStart`?(y=p+v*a,b=h):r===`insideEnd`?(y=m-v*a,b=!h):r===`end`&&(y=m+v*a,b=h),b=_<=0?b:!b;var x=pN(c,l,g,y),S=pN(c,l,g,y+(b?1:-1)*359),C=`M${x.x},${x.y}
|
|
64
|
+
A${g},${g},0,1,${b?0:1},
|
|
65
|
+
${S.x},${S.y}`,w=(0,X.default)(e.id)?Vg(`recharts-radial-line-`):e.id;return U.createElement(`text`,LN({},n,{dominantBaseline:`central`,className:d(`recharts-radial-bar-label`,o)}),U.createElement(`defs`,null,U.createElement(`path`,{id:w,d:C})),U.createElement(`textPath`,{xlinkHref:`#${w}`},t))},VN=function(e){var t=e.viewBox,n=e.offset,r=e.position,i=t,a=i.cx,o=i.cy,s=i.innerRadius,c=i.outerRadius,l=(i.startAngle+i.endAngle)/2;if(r===`outside`){var u=pN(a,o,c+n,l),d=u.x;return{x:d,y:u.y,textAnchor:d>=a?`start`:`end`,verticalAnchor:`middle`}}if(r===`center`)return{x:a,y:o,textAnchor:`middle`,verticalAnchor:`middle`};if(r===`centerTop`)return{x:a,y:o,textAnchor:`middle`,verticalAnchor:`start`};if(r===`centerBottom`)return{x:a,y:o,textAnchor:`middle`,verticalAnchor:`end`};var f=pN(a,o,(s+c)/2,l);return{x:f.x,y:f.y,textAnchor:`middle`,verticalAnchor:`middle`}},HN=function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,i=e.position,a=t,o=a.x,s=a.y,c=a.width,l=a.height,u=l>=0?1:-1,d=u*r,f=u>0?`end`:`start`,p=u>0?`start`:`end`,m=c>=0?1:-1,h=m*r,g=m>0?`end`:`start`,_=m>0?`start`:`end`;if(i===`top`)return NN(NN({},{x:o+c/2,y:s-u*r,textAnchor:`middle`,verticalAnchor:f}),n?{height:Math.max(s-n.y,0),width:c}:{});if(i===`bottom`)return NN(NN({},{x:o+c/2,y:s+l+d,textAnchor:`middle`,verticalAnchor:p}),n?{height:Math.max(n.y+n.height-(s+l),0),width:c}:{});if(i===`left`){var v={x:o-h,y:s+l/2,textAnchor:g,verticalAnchor:`middle`};return NN(NN({},v),n?{width:Math.max(v.x-n.x,0),height:l}:{})}if(i===`right`){var y={x:o+c+h,y:s+l/2,textAnchor:_,verticalAnchor:`middle`};return NN(NN({},y),n?{width:Math.max(n.x+n.width-y.x,0),height:l}:{})}var b=n?{width:c,height:l}:{};return i===`insideLeft`?NN({x:o+h,y:s+l/2,textAnchor:_,verticalAnchor:`middle`},b):i===`insideRight`?NN({x:o+c-h,y:s+l/2,textAnchor:g,verticalAnchor:`middle`},b):i===`insideTop`?NN({x:o+c/2,y:s+d,textAnchor:`middle`,verticalAnchor:p},b):i===`insideBottom`?NN({x:o+c/2,y:s+l-d,textAnchor:`middle`,verticalAnchor:f},b):i===`insideTopLeft`?NN({x:o+h,y:s+d,textAnchor:_,verticalAnchor:p},b):i===`insideTopRight`?NN({x:o+c-h,y:s+d,textAnchor:g,verticalAnchor:p},b):i===`insideBottomLeft`?NN({x:o+h,y:s+l-d,textAnchor:_,verticalAnchor:f},b):i===`insideBottomRight`?NN({x:o+c-h,y:s+l-d,textAnchor:g,verticalAnchor:f},b):(0,Xg.default)(i)&&(Z(i.x)||Lg(i.x))&&(Z(i.y)||Lg(i.y))?NN({x:o+Hg(i.x,c),y:s+Hg(i.y,l),textAnchor:`end`,verticalAnchor:`end`},b):NN({x:o+c/2,y:s+l/2,textAnchor:`middle`,verticalAnchor:`middle`},b)},UN=function(e){return`cx`in e&&Z(e.cx)};function WN(e){var t=e.offset,n=t===void 0?5:t,r=AN(e,CN),i=NN({offset:n},r),a=i.viewBox,o=i.position,s=i.value,c=i.children,l=i.content,u=i.className,f=u===void 0?``:u,p=i.textBreakAll;if(!a||(0,X.default)(s)&&(0,X.default)(c)&&!(0,U.isValidElement)(l)&&!(0,o_.default)(l))return null;if((0,U.isValidElement)(l))return(0,U.cloneElement)(l,i);var m;if((0,o_.default)(l)){if(m=(0,U.createElement)(l,i),(0,U.isValidElement)(m))return m}else m=RN(i);var h=UN(a),g=Q(i,!0);if(h&&(o===`insideStart`||o===`insideEnd`||o===`end`))return BN(i,m,g);var _=h?VN(i):HN(i);return U.createElement(Ww,LN({className:d(`recharts-label`,f)},g,_,{breakAll:p}),m)}WN.displayName=`Label`;var GN=function(e){var t=e.cx,n=e.cy,r=e.angle,i=e.startAngle,a=e.endAngle,o=e.r,s=e.radius,c=e.innerRadius,l=e.outerRadius,u=e.x,d=e.y,f=e.top,p=e.left,m=e.width,h=e.height,g=e.clockWise,_=e.labelViewBox;if(_)return _;if(Z(m)&&Z(h)){if(Z(u)&&Z(d))return{x:u,y:d,width:m,height:h};if(Z(f)&&Z(p))return{x:f,y:p,width:m,height:h}}return Z(u)&&Z(d)?{x:u,y:d,width:0,height:0}:Z(t)&&Z(n)?{cx:t,cy:n,startAngle:i||r||0,endAngle:a||r||0,innerRadius:c||0,outerRadius:l||s||o||0,clockWise:g}:e.viewBox?e.viewBox:{}},KN=function(e,t){return e?e===!0?U.createElement(WN,{key:`label-implicit`,viewBox:t}):zg(e)?U.createElement(WN,{key:`label-implicit`,viewBox:t,value:e}):(0,U.isValidElement)(e)?e.type===WN?(0,U.cloneElement)(e,{key:`label-implicit`,viewBox:t}):U.createElement(WN,{key:`label-implicit`,content:e,viewBox:t}):(0,o_.default)(e)?U.createElement(WN,{key:`label-implicit`,content:e,viewBox:t}):(0,Xg.default)(e)?U.createElement(WN,LN({viewBox:t},e,{key:`label-implicit`})):null:null};WN.parseViewBox=GN,WN.renderCallByParent=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=GN(e),a=v_(r,WN).map(function(e,n){return(0,U.cloneElement)(e,{viewBox:t||i,key:`label-${n}`})});return n?[KN(e.label,t||i)].concat(wN(a)):a};var qN=l(o(((e,t)=>{function n(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}t.exports=n}))());function JN(e){"@babel/helpers - typeof";return JN=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},JN(e)}var YN=[`valueAccessor`],XN=[`data`,`dataKey`,`clockWise`,`id`,`textBreakAll`];function ZN(e){return tP(e)||eP(e)||$N(e)||QN()}function QN(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
66
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $N(e,t){if(e){if(typeof e==`string`)return nP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nP(e,t)}}function eP(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function tP(e){if(Array.isArray(e))return nP(e)}function nP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rP(){return rP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rP.apply(this,arguments)}function iP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?iP(Object(n),!0).forEach(function(t){oP(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oP(e,t,n){return t=sP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sP(e){var t=cP(e,`string`);return JN(t)==`symbol`?t:t+``}function cP(e,t){if(JN(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(JN(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function lP(e,t){if(e==null)return{};var n=uP(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function uP(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var dP=function(e){return Array.isArray(e.value)?(0,qN.default)(e.value):e.value};function fP(e){var t=e.valueAccessor,n=t===void 0?dP:t,r=lP(e,YN),i=r.data,a=r.dataKey,o=r.clockWise,s=r.id,c=r.textBreakAll,l=lP(r,XN);return!i||!i.length?null:U.createElement(z_,{className:`recharts-label-list`},i.map(function(e,t){var r=(0,X.default)(a)?n(e,t):gM(e&&e.payload,a),i=(0,X.default)(s)?{}:{id:`${s}-${t}`};return U.createElement(WN,rP({},Q(e,!0),l,i,{parentViewBox:e.parentViewBox,value:r,textBreakAll:c,viewBox:WN.parseViewBox((0,X.default)(o)?e:aP(aP({},e),{},{clockWise:o})),key:`label-${t}`,index:t}))}))}fP.displayName=`LabelList`;function pP(e,t){return e?e===!0?U.createElement(fP,{key:`labelList-implicit`,data:t}):U.isValidElement(e)||(0,o_.default)(e)?U.createElement(fP,{key:`labelList-implicit`,data:t,content:e}):(0,Xg.default)(e)?U.createElement(fP,rP({data:t},e,{key:`labelList-implicit`})):null:null}function mP(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=v_(r,fP).map(function(e,n){return(0,U.cloneElement)(e,{data:t,key:`labelList-${n}`})});return n?[pP(e.label,t)].concat(ZN(i)):i}fP.renderCallByParent=mP;function hP(e){"@babel/helpers - typeof";return hP=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},hP(e)}function gP(){return gP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gP.apply(this,arguments)}function _P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?_P(Object(n),!0).forEach(function(t){yP(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yP(e,t,n){return t=bP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bP(e){var t=xP(e,`string`);return hP(t)==`symbol`?t:t+``}function xP(e,t){if(hP(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(hP(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var SP=function(e,t){return Ig(t-e)*Math.min(Math.abs(t-e),359.999)},CP=function(e){var t=e.cx,n=e.cy,r=e.radius,i=e.angle,a=e.sign,o=e.isExternal,s=e.cornerRadius,c=e.cornerIsExternal,l=s*(o?1:-1)+r,u=Math.asin(s/l)/dN,d=c?i:i+a*u,f=pN(t,n,l,d),p=pN(t,n,r,d),m=c?i-a*u:i;return{center:f,circleTangency:p,lineTangency:pN(t,n,l*Math.cos(u*dN),m),theta:u}},wP=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,a=e.startAngle,o=e.endAngle,s=SP(a,o),c=a+s,l=pN(t,n,i,a),u=pN(t,n,i,c),d=`M ${l.x},${l.y}
|
|
67
|
+
A ${i},${i},0,
|
|
68
|
+
${+(Math.abs(s)>180)},${+(a>c)},
|
|
69
|
+
${u.x},${u.y}
|
|
70
|
+
`;if(r>0){var f=pN(t,n,r,a),p=pN(t,n,r,c);d+=`L ${p.x},${p.y}
|
|
71
|
+
A ${r},${r},0,
|
|
72
|
+
${+(Math.abs(s)>180)},${+(a<=c)},
|
|
73
|
+
${f.x},${f.y} Z`}else d+=`L ${t},${n} Z`;return d},TP=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,a=e.cornerRadius,o=e.forceCornerRadius,s=e.cornerIsExternal,c=e.startAngle,l=e.endAngle,u=Ig(l-c),d=CP({cx:t,cy:n,radius:i,angle:c,sign:u,cornerRadius:a,cornerIsExternal:s}),f=d.circleTangency,p=d.lineTangency,m=d.theta,h=CP({cx:t,cy:n,radius:i,angle:l,sign:-u,cornerRadius:a,cornerIsExternal:s}),g=h.circleTangency,_=h.lineTangency,v=h.theta,y=s?Math.abs(c-l):Math.abs(c-l)-m-v;if(y<0)return o?`M ${p.x},${p.y}
|
|
74
|
+
a${a},${a},0,0,1,${a*2},0
|
|
75
|
+
a${a},${a},0,0,1,${-a*2},0
|
|
76
|
+
`:wP({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l});var b=`M ${p.x},${p.y}
|
|
77
|
+
A${a},${a},0,0,${+(u<0)},${f.x},${f.y}
|
|
78
|
+
A${i},${i},0,${+(y>180)},${+(u<0)},${g.x},${g.y}
|
|
79
|
+
A${a},${a},0,0,${+(u<0)},${_.x},${_.y}
|
|
80
|
+
`;if(r>0){var x=CP({cx:t,cy:n,radius:r,angle:c,sign:u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),S=x.circleTangency,C=x.lineTangency,w=x.theta,T=CP({cx:t,cy:n,radius:r,angle:l,sign:-u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),E=T.circleTangency,D=T.lineTangency,O=T.theta,k=s?Math.abs(c-l):Math.abs(c-l)-w-O;if(k<0&&a===0)return`${b}L${t},${n}Z`;b+=`L${D.x},${D.y}
|
|
81
|
+
A${a},${a},0,0,${+(u<0)},${E.x},${E.y}
|
|
82
|
+
A${r},${r},0,${+(k>180)},${+(u>0)},${S.x},${S.y}
|
|
83
|
+
A${a},${a},0,0,${+(u<0)},${C.x},${C.y}Z`}else b+=`L${t},${n}Z`;return b},EP={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},DP=function(e){var t=vP(vP({},EP),e),n=t.cx,r=t.cy,i=t.innerRadius,a=t.outerRadius,o=t.cornerRadius,s=t.forceCornerRadius,c=t.cornerIsExternal,l=t.startAngle,u=t.endAngle,f=t.className;if(a<i||l===u)return null;var p=d(`recharts-sector`,f),m=a-i,h=Hg(o,m,0,!0),g=h>0&&Math.abs(l-u)<360?TP({cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:Math.min(h,m/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u}):wP({cx:n,cy:r,innerRadius:i,outerRadius:a,startAngle:l,endAngle:u});return U.createElement(`path`,gP({},Q(t,!0),{className:p,d:g,role:`img`}))};function OP(e){"@babel/helpers - typeof";return OP=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},OP(e)}function kP(){return kP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kP.apply(this,arguments)}function AP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?AP(Object(n),!0).forEach(function(t){MP(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function MP(e,t,n){return t=NP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NP(e){var t=PP(e,`string`);return OP(t)==`symbol`?t:t+``}function PP(e,t){if(OP(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(OP(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var FP={curveBasisClosed:Gv,curveBasisOpen:qv,curveBasis:Uv,curveBumpX:yv,curveBumpY:bv,curveLinearClosed:Yv,curveLinear:pv,curveMonotoneX:ry,curveMonotoneY:iy,curveNatural:sy,curveStep:ly,curveStepAfter:dy,curveStepBefore:uy},IP=function(e){return e.x===+e.x&&e.y===+e.y},LP=function(e){return e.x},RP=function(e){return e.y},zP=function(e,t){if((0,o_.default)(e))return e;var n=`curve${(0,by.default)(e)}`;return(n===`curveMonotone`||n===`curveBump`)&&t?FP[`${n}${t===`vertical`?`Y`:`X`}`]:FP[n]||pv},BP=function(e){var t=e.type,n=t===void 0?`linear`:t,r=e.points,i=r===void 0?[]:r,a=e.baseLine,o=e.layout,s=e.connectNulls,c=s===void 0?!1:s,l=zP(n,o),u=c?i.filter(function(e){return IP(e)}):i,d;if(Array.isArray(a)){var f=c?a.filter(function(e){return IP(e)}):a,p=u.map(function(e,t){return jP(jP({},e),{},{base:f[t]})});return d=o===`vertical`?_v().y(RP).x1(LP).x0(function(e){return e.base.x}):_v().x(LP).y1(RP).y0(function(e){return e.base.y}),d.defined(IP).curve(l),d(p)}return d=o===`vertical`&&Z(a)?_v().y(RP).x1(LP).x0(a):Z(a)?_v().x(LP).y1(RP).y0(a):gv().x(LP).y(RP),d.defined(IP).curve(l),d(u)},VP=function(e){var t=e.className,n=e.points,r=e.path,i=e.pathRef;if((!n||!n.length)&&!r)return null;var a=n&&n.length?BP(e):r;return U.createElement(`path`,kP({},Q(e,!1),r_(e),{className:d(`recharts-curve`,t),d:a,ref:i}))},HP=o(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),UP=o(((e,t)=>{var n=HP();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),WP=o(((e,t)=>{t.exports=UP()()})),{getOwnPropertyNames:GP,getOwnPropertySymbols:KP}=Object,{hasOwnProperty:qP}=Object.prototype;function JP(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function YP(e){return function(t,n,r){if(!t||!n||typeof t!=`object`||typeof n!=`object`)return e(t,n,r);let{cache:i}=r,a=i.get(t),o=i.get(n);if(a&&o)return a===n&&o===t;i.set(t,n),i.set(n,t);let s=e(t,n,r);return i.delete(t),i.delete(n),s}}function XP(e){return e?.[Symbol.toStringTag]}function ZP(e){return GP(e).concat(KP(e))}var QP=Object.hasOwn||((e,t)=>qP.call(e,t));function $P(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var eF=`__v`,tF=`__o`,nF=`_owner`,{getOwnPropertyDescriptor:rF,keys:iF}=Object;function aF(e,t){return e.byteLength===t.byteLength&&vF(new Uint8Array(e),new Uint8Array(t))}function oF(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function sF(e,t){return e.byteLength===t.byteLength&&vF(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function cF(e,t){return $P(e.getTime(),t.getTime())}function lF(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function uF(e,t){return e===t}function dF(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.entries(),o,s,c=0;for(;(o=a.next())&&!o.done;){let r=t.entries(),a=!1,l=0;for(;(s=r.next())&&!s.done;){if(i[l]){l++;continue}let r=o.value,u=s.value;if(n.equals(r[0],u[0],c,l,e,t,n)&&n.equals(r[1],u[1],r[0],u[0],e,t,n)){a=i[l]=!0;break}l++}if(!a)return!1;c++}return!0}var fF=$P;function pF(e,t,n){let r=iF(e),i=r.length;if(iF(t).length!==i)return!1;for(;i-- >0;)if(!bF(e,t,n,r[i]))return!1;return!0}function mF(e,t,n){let r=ZP(e),i=r.length;if(ZP(t).length!==i)return!1;let a,o,s;for(;i-- >0;)if(a=r[i],!bF(e,t,n,a)||(o=rF(e,a),s=rF(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function hF(e,t){return $P(e.valueOf(),t.valueOf())}function gF(e,t){return e.source===t.source&&e.flags===t.flags}function _F(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.values(),o,s;for(;(o=a.next())&&!o.done;){let r=t.values(),a=!1,c=0;for(;(s=r.next())&&!s.done;){if(!i[c]&&n.equals(o.value,s.value,o.value,s.value,e,t,n)){a=i[c]=!0;break}c++}if(!a)return!1}return!0}function vF(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function yF(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function bF(e,t,n,r){return(r===nF||r===tF||r===eF)&&(e.$$typeof||t.$$typeof)?!0:QP(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var xF=`[object ArrayBuffer]`,SF=`[object Arguments]`,CF=`[object Boolean]`,wF=`[object DataView]`,TF=`[object Date]`,EF=`[object Error]`,DF=`[object Map]`,OF=`[object Number]`,kF=`[object Object]`,AF=`[object RegExp]`,jF=`[object Set]`,MF=`[object String]`,NF={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},PF=`[object URL]`,FF=Object.prototype.toString;function IF({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:s,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:u,areSetsEqual:d,areTypedArraysEqual:f,areUrlsEqual:p,unknownTagComparators:m}){return function(h,g,_){if(h===g)return!0;if(h==null||g==null)return!1;let v=typeof h;if(v!==typeof g)return!1;if(v!==`object`)return v===`number`?s(h,g,_):v===`function`?a(h,g,_):!1;let y=h.constructor;if(y!==g.constructor)return!1;if(y===Object)return c(h,g,_);if(Array.isArray(h))return t(h,g,_);if(y===Date)return r(h,g,_);if(y===RegExp)return u(h,g,_);if(y===Map)return o(h,g,_);if(y===Set)return d(h,g,_);let b=FF.call(h);if(b===TF)return r(h,g,_);if(b===AF)return u(h,g,_);if(b===DF)return o(h,g,_);if(b===jF)return d(h,g,_);if(b===kF)return typeof h.then!=`function`&&typeof g.then!=`function`&&c(h,g,_);if(b===PF)return p(h,g,_);if(b===EF)return i(h,g,_);if(b===SF)return c(h,g,_);if(NF[b])return f(h,g,_);if(b===xF)return e(h,g,_);if(b===wF)return n(h,g,_);if(b===CF||b===OF||b===MF)return l(h,g,_);if(m){let e=m[b];if(!e){let t=XP(h);t&&(e=m[t])}if(e)return e(h,g,_)}return!1}}function LF({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:aF,areArraysEqual:n?mF:oF,areDataViewsEqual:sF,areDatesEqual:cF,areErrorsEqual:lF,areFunctionsEqual:uF,areMapsEqual:n?JP(dF,mF):dF,areNumbersEqual:fF,areObjectsEqual:n?mF:pF,arePrimitiveWrappersEqual:hF,areRegExpsEqual:gF,areSetsEqual:n?JP(_F,mF):_F,areTypedArraysEqual:n?JP(vF,mF):vF,areUrlsEqual:yF,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){let e=YP(r.areArraysEqual),t=YP(r.areMapsEqual),n=YP(r.areObjectsEqual),i=YP(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:i})}return r}function RF(e){return function(t,n,r,i,a,o,s){return e(t,n,s)}}function zF({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(a,o){let{cache:s=e?new WeakMap:void 0,meta:c}=n();return t(a,o,{cache:s,equals:r,meta:c,strict:i})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};let a={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,n){return t(e,n,a)}}var BF=VF();VF({strict:!0}),VF({circular:!0}),VF({circular:!0,strict:!0}),VF({createInternalComparator:()=>$P}),VF({strict:!0,createInternalComparator:()=>$P}),VF({circular:!0,createInternalComparator:()=>$P}),VF({circular:!0,createInternalComparator:()=>$P,strict:!0});function VF(e={}){let{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,a=IF(LF(e));return zF({circular:t,comparator:a,createState:r,equals:n?n(a):RF(a),strict:i})}function HF(e){typeof requestAnimationFrame<`u`&&requestAnimationFrame(e)}function UF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1;requestAnimationFrame(function r(i){n<0&&(n=i),i-n>t?(e(i),n=-1):HF(r)})}function WF(e){"@babel/helpers - typeof";return WF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},WF(e)}function GF(e){return XF(e)||YF(e)||qF(e)||KF()}function KF(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
84
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qF(e,t){if(e){if(typeof e==`string`)return JF(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JF(e,t)}}function JF(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function YF(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function XF(e){if(Array.isArray(e))return e}function ZF(){var e={},t=function(){return null},n=!1,r=function r(i){if(!n){if(Array.isArray(i)){if(!i.length)return;var a=GF(i),o=a[0],s=a.slice(1);if(typeof o==`number`){UF(r.bind(null,s),o);return}r(o),UF(r.bind(null,s));return}WF(i)===`object`&&(e=i,t(e)),typeof i==`function`&&i()}};return{stop:function(){n=!0},start:function(e){n=!1,r(e)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function QF(e){"@babel/helpers - typeof";return QF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},QF(e)}function $F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eI(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$F(Object(n),!0).forEach(function(t){tI(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$F(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tI(e,t,n){return t=nI(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nI(e){var t=rI(e,`string`);return QF(t)===`symbol`?t:String(t)}function rI(e,t){if(QF(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(QF(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var iI=function(e,t){return[Object.keys(e),Object.keys(t)].reduce(function(e,t){return e.filter(function(e){return t.includes(e)})})},aI=function(e){return e},oI=function(e){return e.replace(/([A-Z])/g,function(e){return`-${e.toLowerCase()}`})},sI=function(e,t){return Object.keys(t).reduce(function(n,r){return eI(eI({},n),{},tI({},r,e(r,t[r])))},{})},cI=function(e,t,n){return e.map(function(e){return`${oI(e)} ${t}ms ${n}`}).join(`,`)},lI=!1,uI=function(e,t,n,r,i,a,o,s){if(lI&&typeof console<`u`&&console.warn&&(t===void 0&&console.warn(`LogUtils requires an error message argument`),!e))if(t===void 0)console.warn(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var c=[n,r,i,a,o,s],l=0;console.warn(t.replace(/%s/g,function(){return c[l++]}))}};function dI(e,t){return mI(e)||pI(e,t)||_I(e,t)||fI()}function fI(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
85
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pI(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function mI(e){if(Array.isArray(e))return e}function hI(e){return yI(e)||vI(e)||_I(e)||gI()}function gI(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
86
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _I(e,t){if(e){if(typeof e==`string`)return bI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bI(e,t)}}function vI(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function yI(e){if(Array.isArray(e))return bI(e)}function bI(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var xI=1e-4,SI=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},CI=function(e,t){return e.map(function(e,n){return e*t**+n}).reduce(function(e,t){return e+t})},wI=function(e,t){return function(n){return CI(SI(e,t),n)}},TI=function(e,t){return function(n){var r=SI(e,t);return CI([].concat(hI(r.map(function(e,t){return e*t}).slice(1)),[0]),n)}},EI=function(){var e=[...arguments],t=e[0],n=e[1],r=e[2],i=e[3];if(e.length===1)switch(e[0]){case`linear`:t=0,n=0,r=1,i=1;break;case`ease`:t=.25,n=.1,r=.25,i=1;break;case`ease-in`:t=.42,n=0,r=1,i=1;break;case`ease-out`:t=.42,n=0,r=.58,i=1;break;case`ease-in-out`:t=0,n=0,r=.58,i=1;break;default:var a=e[0].split(`(`);if(a[0]===`cubic-bezier`&&a[1].split(`)`)[0].split(`,`).length===4){var o=dI(a[1].split(`)`)[0].split(`,`).map(function(e){return parseFloat(e)}),4);t=o[0],n=o[1],r=o[2],i=o[3]}else uI(!1,`[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s`,e)}uI([t,r,n,i].every(function(e){return typeof e==`number`&&e>=0&&e<=1}),`[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s`,e);var s=wI(t,r),c=wI(n,i),l=TI(t,r),u=function(e){return e>1?1:e<0?0:e},d=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var i=s(n)-t,a=l(n);if(Math.abs(i-t)<xI||a<xI)return c(n);n=u(n-i/a)}return c(n)};return d.isStepper=!1,d},DI=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.stiff,n=t===void 0?100:t,r=e.damping,i=r===void 0?8:r,a=e.dt,o=a===void 0?17:a,s=function(e,t,r){var a=r+(-(e-t)*n-r*i)*o/1e3,s=r*o/1e3+e;return Math.abs(s-t)<xI&&Math.abs(a)<xI?[t,0]:[s,a]};return s.isStepper=!0,s.dt=o,s},OI=function(){var e=[...arguments],t=e[0];if(typeof t==`string`)switch(t){case`ease`:case`ease-in-out`:case`ease-out`:case`ease-in`:case`linear`:return EI(t);case`spring`:return DI();default:if(t.split(`(`)[0]===`cubic-bezier`)return EI(t);uI(!1,`[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s`,e)}return typeof t==`function`?t:(uI(!1,`[configEasing]: first argument type should be function or string, instead received %s`,e),null)};function kI(e){"@babel/helpers - typeof";return kI=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},kI(e)}function AI(e){return NI(e)||MI(e)||VI(e)||jI()}function jI(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
87
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function MI(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function NI(e){if(Array.isArray(e))return HI(e)}function PI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function FI(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?PI(Object(n),!0).forEach(function(t){II(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PI(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function II(e,t,n){return t=LI(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LI(e){var t=RI(e,`string`);return kI(t)===`symbol`?t:String(t)}function RI(e,t){if(kI(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(kI(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function zI(e,t){return WI(e)||UI(e,t)||VI(e,t)||BI()}function BI(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
88
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function VI(e,t){if(e){if(typeof e==`string`)return HI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HI(e,t)}}function HI(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function UI(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function WI(e){if(Array.isArray(e))return e}var GI=function(e,t,n){return e+(t-e)*n},KI=function(e){return e.from!==e.to},qI=function e(t,n,r){var i=sI(function(e,n){if(KI(n)){var r=zI(t(n.from,n.to,n.velocity),2),i=r[0],a=r[1];return FI(FI({},n),{},{from:i,velocity:a})}return n},n);return r<1?sI(function(e,t){return KI(t)?FI(FI({},t),{},{velocity:GI(t.velocity,i[e].velocity,r),from:GI(t.from,i[e].from,r)}):t},n):e(t,i,r-1)},JI=(function(e,t,n,r,i){var a=iI(e,t),o=a.reduce(function(n,r){return FI(FI({},n),{},II({},r,[e[r],t[r]]))},{}),s=a.reduce(function(n,r){return FI(FI({},n),{},II({},r,{from:e[r],velocity:0,to:t[r]}))},{}),c=-1,l,u,d=function(){return null},f=function(){return sI(function(e,t){return t.from},s)},p=function(){return!Object.values(s).filter(KI).length};return d=n.isStepper?function(r){l||=r;var a=(r-l)/n.dt;s=qI(n,s,a),i(FI(FI(FI({},e),t),f(s))),l=r,p()||(c=requestAnimationFrame(d))}:function(a){u||=a;var s=(a-u)/r,l=sI(function(e,t){return GI.apply(void 0,AI(t).concat([n(s)]))},o);if(i(FI(FI(FI({},e),t),l)),s<1)c=requestAnimationFrame(d);else{var f=sI(function(e,t){return GI.apply(void 0,AI(t).concat([n(1)]))},o);i(FI(FI(FI({},e),t),f))}},function(){return requestAnimationFrame(d),function(){cancelAnimationFrame(c)}}}),YI=l(WP());function XI(e){"@babel/helpers - typeof";return XI=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},XI(e)}var ZI=[`children`,`begin`,`duration`,`attributeName`,`easing`,`isActive`,`steps`,`from`,`to`,`canBegin`,`onAnimationEnd`,`shouldReAnimate`,`onAnimationReStart`];function QI(e,t){if(e==null)return{};var n=$I(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $I(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function eL(e){return iL(e)||rL(e)||nL(e)||tL()}function tL(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
89
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nL(e,t){if(e){if(typeof e==`string`)return aL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aL(e,t)}}function rL(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function iL(e){if(Array.isArray(e))return aL(e)}function aL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?oL(Object(n),!0).forEach(function(t){cL(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cL(e,t,n){return t=fL(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lL(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function uL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,fL(r.key),r)}}function dL(e,t,n){return t&&uL(e.prototype,t),n&&uL(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function fL(e){var t=pL(e,`string`);return XI(t)===`symbol`?t:String(t)}function pL(e,t){if(XI(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(XI(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function mL(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&hL(e,t)}function hL(e,t){return hL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hL(e,t)}function gL(e){var t=yL();return function(){var n=bL(e),r;if(t){var i=bL(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _L(this,r)}}function _L(e,t){if(t&&(XI(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return vL(e)}function vL(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function yL(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function bL(e){return bL=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bL(e)}var xL=function(e){mL(n,e);var t=gL(n);function n(e,r){var i;lL(this,n),i=t.call(this,e,r);var a=i.props,o=a.isActive,s=a.attributeName,c=a.from,l=a.to,u=a.steps,d=a.children,f=a.duration;if(i.handleStyleChange=i.handleStyleChange.bind(vL(i)),i.changeStyle=i.changeStyle.bind(vL(i)),!o||f<=0)return i.state={style:{}},typeof d==`function`&&(i.state={style:l}),_L(i);if(u&&u.length)i.state={style:u[0].style};else if(c){if(typeof d==`function`)return i.state={style:c},_L(i);i.state={style:s?cL({},s,c):c}}else i.state={style:{}};return i}return dL(n,[{key:`componentDidMount`,value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,!(!t||!n)&&this.runAnimation(this.props)}},{key:`componentDidUpdate`,value:function(e){var t=this.props,n=t.isActive,r=t.canBegin,i=t.attributeName,a=t.shouldReAnimate,o=t.to,s=t.from,c=this.state.style;if(r){if(!n){var l={style:i?cL({},i,o):o};this.state&&c&&(i&&c[i]!==o||!i&&c!==o)&&this.setState(l);return}if(!(BF(e.to,o)&&e.canBegin&&e.isActive)){var u=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var d=u||a?s:e.to;if(this.state&&c){var f={style:i?cL({},i,d):d};(i&&c[i]!==d||!i&&c!==d)&&this.setState(f)}this.runAnimation(sL(sL({},this.props),{},{from:d,begin:0}))}}}},{key:`componentWillUnmount`,value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&=(this.manager.stop(),null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:`handleStyleChange`,value:function(e){this.changeStyle(e)}},{key:`changeStyle`,value:function(e){this.mounted&&this.setState({style:e})}},{key:`runJSAnimation`,value:function(e){var t=this,n=e.from,r=e.to,i=e.duration,a=e.easing,o=e.begin,s=e.onAnimationEnd,c=e.onAnimationStart,l=JI(n,r,OI(a),i,this.changeStyle);this.manager.start([c,o,function(){t.stopJSAnimation=l()},i,s])}},{key:`runStepAnimation`,value:function(e){var t=this,n=e.steps,r=e.begin,i=e.onAnimationStart,a=n[0],o=a.style,s=a.duration,c=s===void 0?0:s;return this.manager.start([i].concat(eL(n.reduce(function(e,r,i){if(i===0)return e;var a=r.duration,o=r.easing,s=o===void 0?`ease`:o,c=r.style,l=r.properties,u=r.onAnimationEnd,d=i>0?n[i-1]:r,f=l||Object.keys(c);if(typeof s==`function`||s===`spring`)return[].concat(eL(e),[t.runJSAnimation.bind(t,{from:d.style,to:c,duration:a,easing:s}),a]);var p=cI(f,a,s),m=sL(sL(sL({},d.style),c),{},{transition:p});return[].concat(eL(e),[m,a,u]).filter(aI)},[o,Math.max(c,r)])),[e.onAnimationEnd]))}},{key:`runAnimation`,value:function(e){this.manager||=ZF();var t=e.begin,n=e.duration,r=e.attributeName,i=e.to,a=e.easing,o=e.onAnimationStart,s=e.onAnimationEnd,c=e.steps,l=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),typeof a==`function`||typeof l==`function`||a===`spring`){this.runJSAnimation(e);return}if(c.length>1){this.runStepAnimation(e);return}var d=r?cL({},r,i):i,f=cI(Object.keys(d),n,a);u.start([o,t,sL(sL({},d),{},{transition:f}),n,s])}},{key:`render`,value:function(){var e=this.props,t=e.children;e.begin;var n=e.duration;e.attributeName,e.easing;var r=e.isActive;e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart;var i=QI(e,ZI),a=U.Children.count(t),o=this.state.style;if(typeof t==`function`)return t(o);if(!r||a===0||n<=0)return t;var s=function(e){var t=e.props,n=t.style,r=n===void 0?{}:n,a=t.className;return(0,U.cloneElement)(e,sL(sL({},i),{},{style:sL(sL({},r),o),className:a}))};return a===1?s(U.Children.only(t)):U.createElement(`div`,null,U.Children.map(t,function(e){return s(e)}))}}]),n}(U.PureComponent);xL.displayName=`Animate`,xL.defaultProps={begin:0,duration:1e3,from:``,to:``,attributeName:``,easing:`ease`,isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},xL.propTypes={from:YI.default.oneOfType([YI.default.object,YI.default.string]),to:YI.default.oneOfType([YI.default.object,YI.default.string]),attributeName:YI.default.string,duration:YI.default.number,begin:YI.default.number,easing:YI.default.oneOfType([YI.default.string,YI.default.func]),steps:YI.default.arrayOf(YI.default.shape({duration:YI.default.number.isRequired,style:YI.default.object.isRequired,easing:YI.default.oneOfType([YI.default.oneOf([`ease`,`ease-in`,`ease-out`,`ease-in-out`,`linear`]),YI.default.func]),properties:YI.default.arrayOf(`string`),onAnimationEnd:YI.default.func})),children:YI.default.oneOfType([YI.default.node,YI.default.func]),isActive:YI.default.bool,canBegin:YI.default.bool,onAnimationEnd:YI.default.func,shouldReAnimate:YI.default.bool,onAnimationStart:YI.default.func,onAnimationReStart:YI.default.func};var SL=xL;function CL(e){"@babel/helpers - typeof";return CL=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},CL(e)}function wL(){return wL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wL.apply(this,arguments)}function TL(e,t){return AL(e)||kL(e,t)||DL(e,t)||EL()}function EL(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
90
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function DL(e,t){if(e){if(typeof e==`string`)return OL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OL(e,t)}}function OL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function kL(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function AL(e){if(Array.isArray(e))return e}function jL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ML(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?jL(Object(n),!0).forEach(function(t){NL(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function NL(e,t,n){return t=PL(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PL(e){var t=FL(e,`string`);return CL(t)==`symbol`?t:t+``}function FL(e,t){if(CL(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(CL(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var IL=function(e,t,n,r,i){var a=Math.min(Math.abs(n)/2,Math.abs(r)/2),o=r>=0?1:-1,s=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0,l;if(a>0&&i instanceof Array){for(var u=[0,0,0,0],d=0,f=4;d<f;d++)u[d]=i[d]>a?a:i[d];l=`M${e},${t+o*u[0]}`,u[0]>0&&(l+=`A ${u[0]},${u[0]},0,0,${c},${e+s*u[0]},${t}`),l+=`L ${e+n-s*u[1]},${t}`,u[1]>0&&(l+=`A ${u[1]},${u[1]},0,0,${c},
|
|
91
|
+
${e+n},${t+o*u[1]}`),l+=`L ${e+n},${t+r-o*u[2]}`,u[2]>0&&(l+=`A ${u[2]},${u[2]},0,0,${c},
|
|
92
|
+
${e+n-s*u[2]},${t+r}`),l+=`L ${e+s*u[3]},${t+r}`,u[3]>0&&(l+=`A ${u[3]},${u[3]},0,0,${c},
|
|
93
|
+
${e},${t+r-o*u[3]}`),l+=`Z`}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);l=`M ${e},${t+o*p}
|
|
94
|
+
A ${p},${p},0,0,${c},${e+s*p},${t}
|
|
95
|
+
L ${e+n-s*p},${t}
|
|
96
|
+
A ${p},${p},0,0,${c},${e+n},${t+o*p}
|
|
97
|
+
L ${e+n},${t+r-o*p}
|
|
98
|
+
A ${p},${p},0,0,${c},${e+n-s*p},${t+r}
|
|
99
|
+
L ${e+s*p},${t+r}
|
|
100
|
+
A ${p},${p},0,0,${c},${e},${t+r-o*p} Z`}else l=`M ${e},${t} h ${n} v ${r} h ${-n} Z`;return l},LL=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,i=t.x,a=t.y,o=t.width,s=t.height;if(Math.abs(o)>0&&Math.abs(s)>0){var c=Math.min(i,i+o),l=Math.max(i,i+o),u=Math.min(a,a+s),d=Math.max(a,a+s);return n>=c&&n<=l&&r>=u&&r<=d}return!1},RL={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},zL=function(e){var t=ML(ML({},RL),e),n=(0,U.useRef)(),r=TL((0,U.useState)(-1),2),i=r[0],a=r[1];(0,U.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var e=n.current.getTotalLength();e&&a(e)}catch{}},[]);var o=t.x,s=t.y,c=t.width,l=t.height,u=t.radius,f=t.className,p=t.animationEasing,m=t.animationDuration,h=t.animationBegin,g=t.isAnimationActive,_=t.isUpdateAnimationActive;if(o!==+o||s!==+s||c!==+c||l!==+l||c===0||l===0)return null;var v=d(`recharts-rectangle`,f);return _?U.createElement(SL,{canBegin:i>0,from:{width:c,height:l,x:o,y:s},to:{width:c,height:l,x:o,y:s},duration:m,animationEasing:p,isActive:_},function(e){var r=e.width,a=e.height,o=e.x,s=e.y;return U.createElement(SL,{canBegin:i>0,from:`0px ${i===-1?1:i}px`,to:`${i}px 0px`,attributeName:`strokeDasharray`,begin:h,duration:m,isActive:g,easing:p},U.createElement(`path`,wL({},Q(t,!0),{className:v,d:IL(o,s,r,a,u),ref:n})))}):U.createElement(`path`,wL({},Q(t,!0),{className:v,d:IL(o,s,c,l,u)}))},BL=[`points`,`className`,`baseLinePoints`,`connectNulls`];function VL(){return VL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VL.apply(this,arguments)}function HL(e,t){if(e==null)return{};var n=UL(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function UL(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function WL(e){return JL(e)||qL(e)||KL(e)||GL()}function GL(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
101
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function KL(e,t){if(e){if(typeof e==`string`)return YL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return YL(e,t)}}function qL(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function JL(e){if(Array.isArray(e))return YL(e)}function YL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var XL=function(e){return e&&e.x===+e.x&&e.y===+e.y},ZL=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[[]];return e.forEach(function(e){XL(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])}),XL(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t},QL=function(e,t){var n=ZL(e);t&&(n=[n.reduce(function(e,t){return[].concat(WL(e),WL(t))},[])]);var r=n.map(function(e){return e.reduce(function(e,t,n){return`${e}${n===0?`M`:`L`}${t.x},${t.y}`},``)}).join(``);return n.length===1?`${r}Z`:r},$L=function(e,t,n){var r=QL(e,n);return`${r.slice(-1)===`Z`?r.slice(0,-1):r}L${QL(t.reverse(),n).slice(1)}`},eR=function(e){var t=e.points,n=e.className,r=e.baseLinePoints,i=e.connectNulls,a=HL(e,BL);if(!t||!t.length)return null;var o=d(`recharts-polygon`,n);if(r&&r.length){var s=a.stroke&&a.stroke!==`none`,c=$L(t,r,i);return U.createElement(`g`,{className:o},U.createElement(`path`,VL({},Q(a,!0),{fill:c.slice(-1)===`Z`?a.fill:`none`,stroke:`none`,d:c})),s?U.createElement(`path`,VL({},Q(a,!0),{fill:`none`,d:QL(t,i)})):null,s?U.createElement(`path`,VL({},Q(a,!0),{fill:`none`,d:QL(r,i)})):null)}var l=QL(t,i);return U.createElement(`path`,VL({},Q(a,!0),{fill:l.slice(-1)===`Z`?a.fill:`none`,className:o,d:l}))};function tR(){return tR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tR.apply(this,arguments)}var nR=function(e){var t=e.cx,n=e.cy,r=e.r,i=e.className,a=d(`recharts-dot`,i);return t===+t&&n===+n&&r===+r?U.createElement(`circle`,tR({},Q(e,!1),r_(e),{className:a,cx:t,cy:n,r})):null};function rR(e){"@babel/helpers - typeof";return rR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},rR(e)}var iR=[`x`,`y`,`top`,`left`,`width`,`height`,`className`];function aR(){return aR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aR.apply(this,arguments)}function oR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?oR(Object(n),!0).forEach(function(t){cR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cR(e,t,n){return t=lR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lR(e){var t=uR(e,`string`);return rR(t)==`symbol`?t:t+``}function uR(e,t){if(rR(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(rR(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function dR(e,t){if(e==null)return{};var n=fR(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fR(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var pR=function(e,t,n,r,i,a){return`M${e},${i}v${r}M${a},${t}h${n}`},mR=function(e){var t=e.x,n=t===void 0?0:t,r=e.y,i=r===void 0?0:r,a=e.top,o=a===void 0?0:a,s=e.left,c=s===void 0?0:s,l=e.width,u=l===void 0?0:l,f=e.height,p=f===void 0?0:f,m=e.className,h=dR(e,iR),g=sR({x:n,y:i,top:o,left:c,width:u,height:p},h);return!Z(n)||!Z(i)||!Z(u)||!Z(p)||!Z(o)||!Z(c)?null:U.createElement(`path`,aR({},Q(g,!0),{className:d(`recharts-cross`,m),d:pR(n,i,u,p,o,c)}))},hR=o(((e,t)=>{var n=TA(),r=EA(),i=lx();function a(e,t){return e&&e.length?n(e,i(t,2),r):void 0}t.exports=a})),gR=o(((e,t)=>{var n=TA(),r=lx(),i=OA();function a(e,t){return e&&e.length?n(e,r(t,2),i):void 0}t.exports=a})),_R=l(hR()),vR=l(gR()),yR=[`cx`,`cy`,`angle`,`ticks`,`axisLine`],bR=[`ticks`,`tick`,`angle`,`tickFormatter`,`stroke`];function xR(e){"@babel/helpers - typeof";return xR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},xR(e)}function SR(){return SR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SR.apply(this,arguments)}function CR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?CR(Object(n),!0).forEach(function(t){LR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function TR(e,t){if(e==null)return{};var n=ER(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ER(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function DR(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function OR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,RR(r.key),r)}}function kR(e,t,n){return t&&OR(e.prototype,t),n&&OR(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function AR(e,t,n){return t=PR(t),jR(e,NR()?Reflect.construct(t,n||[],PR(e).constructor):t.apply(e,n))}function jR(e,t){if(t&&(xR(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return MR(e)}function MR(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function NR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(NR=function(){return!!e})()}function PR(e){return PR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},PR(e)}function FR(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&IR(e,t)}function IR(e,t){return IR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},IR(e,t)}function LR(e,t,n){return t=RR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RR(e){var t=zR(e,`string`);return xR(t)==`symbol`?t:t+``}function zR(e,t){if(xR(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(xR(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var BR=function(e){function t(){return DR(this,t),AR(this,t,arguments)}return FR(t,e),kR(t,[{key:`getTickValueCoord`,value:function(e){var t=e.coordinate,n=this.props,r=n.angle,i=n.cx,a=n.cy;return pN(i,a,t,r)}},{key:`getTickTextAnchor`,value:function(){var e=this.props.orientation,t;switch(e){case`left`:t=`end`;break;case`right`:t=`start`;break;default:t=`middle`;break}return t}},{key:`getViewBox`,value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,i=e.ticks,a=(0,_R.default)(i,function(e){return e.coordinate||0});return{cx:t,cy:n,startAngle:r,endAngle:r,innerRadius:(0,vR.default)(i,function(e){return e.coordinate||0}).coordinate||0,outerRadius:a.coordinate||0}}},{key:`renderAxisLine`,value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,i=e.ticks,a=e.axisLine,o=TR(e,yR),s=i.reduce(function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]},[1/0,-1/0]),c=pN(t,n,s[0],r),l=pN(t,n,s[1],r),u=wR(wR(wR({},Q(o,!1)),{},{fill:`none`},Q(a,!1)),{},{x1:c.x,y1:c.y,x2:l.x,y2:l.y});return U.createElement(`line`,SR({className:`recharts-polar-radius-axis-line`},u))}},{key:`renderTicks`,value:function(){var e=this,n=this.props,r=n.ticks,i=n.tick,a=n.angle,o=n.tickFormatter,s=n.stroke,c=TR(n,bR),l=this.getTickTextAnchor(),u=Q(c,!1),f=Q(i,!1),p=r.map(function(n,r){var c=e.getTickValueCoord(n),p=wR(wR(wR(wR({textAnchor:l,transform:`rotate(${90-a}, ${c.x}, ${c.y})`},u),{},{stroke:`none`,fill:s},f),{},{index:r},c),{},{payload:n});return U.createElement(z_,SR({className:d(`recharts-polar-radius-axis-tick`,xN(i)),key:`tick-${n.coordinate}`},a_(e.props,n,r)),t.renderTickItem(i,p,o?o(n.value,r):n.value))});return U.createElement(z_,{className:`recharts-polar-radius-axis-ticks`},p)}},{key:`render`,value:function(){var e=this.props,t=e.ticks,n=e.axisLine,r=e.tick;return!t||!t.length?null:U.createElement(z_,{className:d(`recharts-polar-radius-axis`,this.props.className)},n&&this.renderAxisLine(),r&&this.renderTicks(),WN.renderCallByParent(this.props,this.getViewBox()))}}],[{key:`renderTickItem`,value:function(e,t,n){return U.isValidElement(e)?U.cloneElement(e,t):(0,o_.default)(e)?e(t):U.createElement(Ww,SR({},t,{className:`recharts-polar-radius-axis-tick-value`}),n)}}])}(U.PureComponent);LR(BR,`displayName`,`PolarRadiusAxis`),LR(BR,`axisType`,`radiusAxis`),LR(BR,`defaultProps`,{type:`number`,radiusAxisId:0,cx:0,cy:0,angle:0,orientation:`right`,stroke:`#ccc`,axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:`auto`,allowDuplicatedCategory:!0});function VR(e){"@babel/helpers - typeof";return VR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},VR(e)}function HR(){return HR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HR.apply(this,arguments)}function UR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function WR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?UR(Object(n),!0).forEach(function(t){tz(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function GR(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function KR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,nz(r.key),r)}}function qR(e,t,n){return t&&KR(e.prototype,t),n&&KR(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function JR(e,t,n){return t=QR(t),YR(e,ZR()?Reflect.construct(t,n||[],QR(e).constructor):t.apply(e,n))}function YR(e,t){if(t&&(VR(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return XR(e)}function XR(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function ZR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ZR=function(){return!!e})()}function QR(e){return QR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},QR(e)}function $R(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&ez(e,t)}function ez(e,t){return ez=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ez(e,t)}function tz(e,t,n){return t=nz(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nz(e){var t=rz(e,`string`);return VR(t)==`symbol`?t:t+``}function rz(e,t){if(VR(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(VR(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var iz=Math.PI/180,az=1e-5,oz=function(e){function t(){return GR(this,t),JR(this,t,arguments)}return $R(t,e),qR(t,[{key:`getTickLineCoord`,value:function(e){var t=this.props,n=t.cx,r=t.cy,i=t.radius,a=t.orientation,o=t.tickSize||8,s=pN(n,r,i,e.coordinate),c=pN(n,r,i+(a===`inner`?-1:1)*o,e.coordinate);return{x1:s.x,y1:s.y,x2:c.x,y2:c.y}}},{key:`getTickTextAnchor`,value:function(e){var t=this.props.orientation,n=Math.cos(-e.coordinate*iz);return n>az?t===`outer`?`start`:`end`:n<-az?t===`outer`?`end`:`start`:`middle`}},{key:`renderAxisLine`,value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.radius,i=e.axisLine,a=e.axisLineType,o=WR(WR({},Q(this.props,!1)),{},{fill:`none`},Q(i,!1));if(a===`circle`)return U.createElement(nR,HR({className:`recharts-polar-angle-axis-line`},o,{cx:t,cy:n,r}));var s=this.props.ticks.map(function(e){return pN(t,n,r,e.coordinate)});return U.createElement(eR,HR({className:`recharts-polar-angle-axis-line`},o,{points:s}))}},{key:`renderTicks`,value:function(){var e=this,n=this.props,r=n.ticks,i=n.tick,a=n.tickLine,o=n.tickFormatter,s=n.stroke,c=Q(this.props,!1),l=Q(i,!1),u=WR(WR({},c),{},{fill:`none`},Q(a,!1)),f=r.map(function(n,r){var f=e.getTickLineCoord(n),p=WR(WR(WR({textAnchor:e.getTickTextAnchor(n)},c),{},{stroke:`none`,fill:s},l),{},{index:r,payload:n,x:f.x2,y:f.y2});return U.createElement(z_,HR({className:d(`recharts-polar-angle-axis-tick`,xN(i)),key:`tick-${n.coordinate}`},a_(e.props,n,r)),a&&U.createElement(`line`,HR({className:`recharts-polar-angle-axis-tick-line`},u,f)),i&&t.renderTickItem(i,p,o?o(n.value,r):n.value))});return U.createElement(z_,{className:`recharts-polar-angle-axis-ticks`},f)}},{key:`render`,value:function(){var e=this.props,t=e.ticks,n=e.radius,r=e.axisLine;return n<=0||!t||!t.length?null:U.createElement(z_,{className:d(`recharts-polar-angle-axis`,this.props.className)},r&&this.renderAxisLine(),this.renderTicks())}}],[{key:`renderTickItem`,value:function(e,t,n){return U.isValidElement(e)?U.cloneElement(e,t):(0,o_.default)(e)?e(t):U.createElement(Ww,HR({},t,{className:`recharts-polar-angle-axis-tick-value`}),n)}}])}(U.PureComponent);tz(oz,`displayName`,`PolarAngleAxis`),tz(oz,`axisType`,`angleAxis`),tz(oz,`defaultProps`,{type:`category`,angleAxisId:0,scale:`auto`,cx:0,cy:0,orientation:`outer`,axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var sz=o(((e,t)=>{t.exports=Ib()(Object.getPrototypeOf,Object)})),cz=o(((e,t)=>{var n=Ph(),r=sz(),i=Fh(),a=`[object Object]`,o=Function.prototype,s=Object.prototype,c=o.toString,l=s.hasOwnProperty,u=c.call(Object);function d(e){if(!i(e)||n(e)!=a)return!1;var t=r(e);if(t===null)return!0;var o=l.call(t,`constructor`)&&t.constructor;return typeof o==`function`&&o instanceof o&&c.call(o)==u}t.exports=d})),lz=o(((e,t)=>{var n=Ph(),r=Fh(),i=`[object Boolean]`;function a(e){return e===!0||e===!1||r(e)&&n(e)==i}t.exports=a}));function uz(e){"@babel/helpers - typeof";return uz=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},uz(e)}function dz(){return dz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dz.apply(this,arguments)}function fz(e,t){return _z(e)||gz(e,t)||mz(e,t)||pz()}function pz(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
102
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mz(e,t){if(e){if(typeof e==`string`)return hz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hz(e,t)}}function hz(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function gz(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function _z(e){if(Array.isArray(e))return e}function vz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?vz(Object(n),!0).forEach(function(t){bz(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bz(e,t,n){return t=xz(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xz(e){var t=Sz(e,`string`);return uz(t)==`symbol`?t:t+``}function Sz(e,t){if(uz(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(uz(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Cz=function(e,t,n,r,i){var a=n-r,o=`M ${e},${t}`;return o+=`L ${e+n},${t}`,o+=`L ${e+n-a/2},${t+i}`,o+=`L ${e+n-a/2-r},${t+i}`,o+=`L ${e},${t} Z`,o},wz={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},Tz=function(e){var t=yz(yz({},wz),e),n=(0,U.useRef)(),r=fz((0,U.useState)(-1),2),i=r[0],a=r[1];(0,U.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var e=n.current.getTotalLength();e&&a(e)}catch{}},[]);var o=t.x,s=t.y,c=t.upperWidth,l=t.lowerWidth,u=t.height,f=t.className,p=t.animationEasing,m=t.animationDuration,h=t.animationBegin,g=t.isUpdateAnimationActive;if(o!==+o||s!==+s||c!==+c||l!==+l||u!==+u||c===0&&l===0||u===0)return null;var _=d(`recharts-trapezoid`,f);return g?U.createElement(SL,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:u,x:o,y:s},to:{upperWidth:c,lowerWidth:l,height:u,x:o,y:s},duration:m,animationEasing:p,isActive:g},function(e){var r=e.upperWidth,a=e.lowerWidth,o=e.height,s=e.x,c=e.y;return U.createElement(SL,{canBegin:i>0,from:`0px ${i===-1?1:i}px`,to:`${i}px 0px`,attributeName:`strokeDasharray`,begin:h,duration:m,easing:p},U.createElement(`path`,dz({},Q(t,!0),{className:_,d:Cz(s,c,r,a,o),ref:n})))}):U.createElement(`g`,null,U.createElement(`path`,dz({},Q(t,!0),{className:_,d:Cz(o,s,c,l,u)})))},Ez=l(cz()),Dz=l(lz()),Oz=[`option`,`shapeType`,`propTransformer`,`activeClassName`,`isActive`];function kz(e){"@babel/helpers - typeof";return kz=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},kz(e)}function Az(e,t){if(e==null)return{};var n=jz(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jz(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Mz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Nz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Mz(Object(n),!0).forEach(function(t){Pz(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pz(e,t,n){return t=Fz(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fz(e){var t=Iz(e,`string`);return kz(t)==`symbol`?t:t+``}function Iz(e,t){if(kz(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(kz(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Lz(e,t){return Nz(Nz({},t),e)}function Rz(e,t){return e===`symbols`}function zz(e){var t=e.shapeType,n=e.elementProps;switch(t){case`rectangle`:return U.createElement(zL,n);case`trapezoid`:return U.createElement(Tz,n);case`sector`:return U.createElement(DP,n);case`symbols`:if(Rz(t,n))return U.createElement(Iy,n);break;default:return null}}function Bz(e){return(0,U.isValidElement)(e)?e.props:e}function Vz(e){var t=e.option,n=e.shapeType,r=e.propTransformer,i=r===void 0?Lz:r,a=e.activeClassName,o=a===void 0?`recharts-active-shape`:a,s=e.isActive,c=Az(e,Oz),l;if((0,U.isValidElement)(t))l=(0,U.cloneElement)(t,Nz(Nz({},c),Bz(t)));else if((0,o_.default)(t))l=t(c);else if((0,Ez.default)(t)&&!(0,Dz.default)(t)){var u=i(t,c);l=U.createElement(zz,{shapeType:n,elementProps:u})}else{var d=c;l=U.createElement(zz,{shapeType:n,elementProps:d})}return s?U.createElement(z_,{className:o},l):l}function Hz(e,t){return t!=null&&`trapezoids`in e.props}function Uz(e,t){return t!=null&&`sectors`in e.props}function Wz(e,t){return t!=null&&`points`in e.props}function Gz(e,t){var n,r,i=e.x===(t==null||(n=t.labelViewBox)==null?void 0:n.x)||e.x===t.x,a=e.y===(t==null||(r=t.labelViewBox)==null?void 0:r.y)||e.y===t.y;return i&&a}function Kz(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function qz(e,t){var n=e.x===t.x,r=e.y===t.y,i=e.z===t.z;return n&&r&&i}function Jz(e,t){var n;return Hz(e,t)?n=Gz:Uz(e,t)?n=Kz:Wz(e,t)&&(n=qz),n}function Yz(e,t){var n;return Hz(e,t)?n=`trapezoids`:Uz(e,t)?n=`sectors`:Wz(e,t)&&(n=`points`),n}function Xz(e,t){if(Hz(e,t)){var n;return(n=t.tooltipPayload)==null||(n=n[0])==null||(n=n.payload)==null?void 0:n.payload}if(Uz(e,t)){var r;return(r=t.tooltipPayload)==null||(r=r[0])==null||(r=r.payload)==null?void 0:r.payload}return Wz(e,t)?t.payload:{}}function Zz(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,i=Yz(n,t),a=Xz(n,t),o=r.filter(function(e,r){var o=(0,rM.default)(a,e),s=n.props[i].filter(function(e){return Jz(n,t)(e,t)}),c=r===n.props[i].indexOf(s[s.length-1]);return o&&c});return r.indexOf(o[o.length-1])}var Qz;function $z(e){"@babel/helpers - typeof";return $z=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},$z(e)}function eB(){return eB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eB.apply(this,arguments)}function tB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?tB(Object(n),!0).forEach(function(t){pB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rB(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function iB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,mB(r.key),r)}}function aB(e,t,n){return t&&iB(e.prototype,t),n&&iB(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function oB(e,t,n){return t=uB(t),sB(e,lB()?Reflect.construct(t,n||[],uB(e).constructor):t.apply(e,n))}function sB(e,t){if(t&&($z(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return cB(e)}function cB(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function lB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lB=function(){return!!e})()}function uB(e){return uB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uB(e)}function dB(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&fB(e,t)}function fB(e,t){return fB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fB(e,t)}function pB(e,t,n){return t=mB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mB(e){var t=hB(e,`string`);return $z(t)==`symbol`?t:t+``}function hB(e,t){if($z(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if($z(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var gB=function(e){function t(e){var n;return rB(this,t),n=oB(this,t,[e]),pB(n,`pieRef`,null),pB(n,`sectorRefs`,[]),pB(n,`id`,Vg(`recharts-pie-`)),pB(n,`handleAnimationEnd`,function(){var e=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),(0,o_.default)(e)&&e()}),pB(n,`handleAnimationStart`,function(){var e=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),(0,o_.default)(e)&&e()}),n.state={isAnimationFinished:!e.isAnimationActive,prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,sectorToFocus:0},n}return dB(t,e),aB(t,[{key:`isActiveIndex`,value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?t.indexOf(e)!==-1:e===t}},{key:`hasActiveIndex`,value:function(){var e=this.props.activeIndex;return Array.isArray(e)?e.length!==0:e||e===0}},{key:`renderLabels`,value:function(e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.label,i=n.labelLine,a=n.dataKey,o=n.valueKey,s=Q(this.props,!1),c=Q(r,!1),l=Q(i,!1),u=r&&r.offsetRadius||20,d=e.map(function(e,n){var d=(e.startAngle+e.endAngle)/2,f=pN(e.cx,e.cy,e.outerRadius+u,d),p=nB(nB(nB(nB({},s),e),{},{stroke:`none`},c),{},{index:n,textAnchor:t.getTextAnchor(f.x,e.cx)},f),m=nB(nB(nB(nB({},s),e),{},{fill:`none`,stroke:e.fill},l),{},{index:n,points:[pN(e.cx,e.cy,e.outerRadius,d),f]}),h=a;return(0,X.default)(a)&&(0,X.default)(o)?h=`value`:(0,X.default)(a)&&(h=o),U.createElement(z_,{key:`label-${e.startAngle}-${e.endAngle}-${e.midAngle}-${n}`},i&&t.renderLabelLineItem(i,m,`line`),t.renderLabelItem(r,p,gM(e,h)))});return U.createElement(z_,{className:`recharts-pie-labels`},d)}},{key:`renderSectorsStatically`,value:function(e){var t=this,n=this.props,r=n.activeShape,i=n.blendStroke,a=n.inactiveShape;return e.map(function(n,o){if(n?.startAngle===0&&n?.endAngle===0&&e.length!==1)return null;var s=t.isActiveIndex(o),c=a&&t.hasActiveIndex()?a:null,l=s?r:c,u=nB(nB({},n),{},{stroke:i?n.fill:n.stroke,tabIndex:-1});return U.createElement(z_,eB({ref:function(e){e&&!t.sectorRefs.includes(e)&&t.sectorRefs.push(e)},tabIndex:-1,className:`recharts-pie-sector`},a_(t.props,n,o),{key:`sector-${n?.startAngle}-${n?.endAngle}-${n.midAngle}-${o}`}),U.createElement(Vz,eB({option:l,isActive:s,shapeType:`sector`},u)))})}},{key:`renderSectorsWithAnimation`,value:function(){var e=this,t=this.props,n=t.sectors,r=t.isAnimationActive,i=t.animationBegin,a=t.animationDuration,o=t.animationEasing,s=t.animationId,c=this.state,l=c.prevSectors,u=c.prevIsAnimationActive;return U.createElement(SL,{begin:i,duration:a,isActive:r,easing:o,from:{t:0},to:{t:1},key:`pie-${s}-${u}`,onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(t){var r=t.t,i=[],a=(n&&n[0]).startAngle;return n.forEach(function(e,t){var n=l&&l[t],o=t>0?(0,Pg.default)(e,`paddingAngle`,0):0;if(n){var s=Gg(n.endAngle-n.startAngle,e.endAngle-e.startAngle),c=nB(nB({},e),{},{startAngle:a+o,endAngle:a+s(r)+o});i.push(c),a=c.endAngle}else{var u=e.endAngle,d=e.startAngle,f=Gg(0,u-d)(r),p=nB(nB({},e),{},{startAngle:a+o,endAngle:a+f+o});i.push(p),a=p.endAngle}}),U.createElement(z_,null,e.renderSectorsStatically(i))})}},{key:`attachKeyboardHandlers`,value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case`ArrowLeft`:var n=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case`ArrowRight`:var r=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case`Escape`:t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0});break;default:}}}},{key:`renderSectors`,value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return n&&t&&t.length&&(!r||!(0,rM.default)(r,t))?this.renderSectorsWithAnimation():this.renderSectorsStatically(t)}},{key:`componentDidMount`,value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:`render`,value:function(){var e=this,t=this.props,n=t.hide,r=t.sectors,i=t.className,a=t.label,o=t.cx,s=t.cy,c=t.innerRadius,l=t.outerRadius,u=t.isAnimationActive,f=this.state.isAnimationFinished;if(n||!r||!r.length||!Z(o)||!Z(s)||!Z(c)||!Z(l))return null;var p=d(`recharts-pie`,i);return U.createElement(z_,{tabIndex:this.props.rootTabIndex,className:p,ref:function(t){e.pieRef=t}},this.renderSectors(),a&&this.renderLabels(r),WN.renderCallByParent(this.props,null,!1),(!u||f)&&fP.renderCallByParent(this.props,r,!1))}}],[{key:`getDerivedStateFromProps`,value:function(e,t){return t.prevIsAnimationActive===e.isAnimationActive?e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors===t.curSectors?null:{curSectors:e.sectors,isAnimationFinished:!0}:{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}}},{key:`getTextAnchor`,value:function(e,t){return e>t?`start`:e<t?`end`:`middle`}},{key:`renderLabelLineItem`,value:function(e,t,n){if(U.isValidElement(e))return U.cloneElement(e,t);if((0,o_.default)(e))return e(t);var r=d(`recharts-pie-label-line`,typeof e==`boolean`?``:e.className);return U.createElement(VP,eB({},t,{key:n,type:`linear`,className:r}))}},{key:`renderLabelItem`,value:function(e,t,n){if(U.isValidElement(e))return U.cloneElement(e,t);var r=n;if((0,o_.default)(e)&&(r=e(t),U.isValidElement(r)))return r;var i=d(`recharts-pie-label-text`,typeof e!=`boolean`&&!(0,o_.default)(e)?e.className:``);return U.createElement(Ww,eB({},t,{alignmentBaseline:`middle`,className:i}),r)}}])}(U.PureComponent);Qz=gB,pB(gB,`displayName`,`Pie`),pB(gB,`defaultProps`,{stroke:`#fff`,fill:`#808080`,legendType:`rect`,cx:`50%`,cy:`50%`,startAngle:0,endAngle:360,innerRadius:0,outerRadius:`80%`,paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!tC.isSsr,animationBegin:400,animationDuration:1500,animationEasing:`ease`,nameKey:`name`,blendStroke:!1,rootTabIndex:0}),pB(gB,`parseDeltaAngle`,function(e,t){return Ig(t-e)*Math.min(Math.abs(t-e),360)}),pB(gB,`getRealPieData`,function(e){var t=e.data,n=e.children,r=Q(e,!1),i=v_(n,BC);return t&&t.length?t.map(function(e,t){return nB(nB(nB({payload:e},r),e),i&&i[t]&&i[t].props)}):i&&i.length?i.map(function(e){return nB(nB({},r),e.props)}):[]}),pB(gB,`parseCoordinateOfPie`,function(e,t){var n=t.top,r=t.left,i=t.width,a=t.height,o=mN(i,a);return{cx:r+Hg(e.cx,i,i/2),cy:n+Hg(e.cy,a,a/2),innerRadius:Hg(e.innerRadius,o,0),outerRadius:Hg(e.outerRadius,o,o*.8),maxRadius:e.maxRadius||Math.sqrt(i*i+a*a)/2}}),pB(gB,`getComposedData`,function(e){var t=e.item,n=e.offset,r=t.type.defaultProps===void 0?t.props:nB(nB({},t.type.defaultProps),t.props),i=Qz.getRealPieData(r);if(!i||!i.length)return null;var a=r.cornerRadius,o=r.startAngle,s=r.endAngle,c=r.paddingAngle,l=r.dataKey,u=r.nameKey,d=r.valueKey,f=r.tooltipType,p=Math.abs(r.minAngle),m=Qz.parseCoordinateOfPie(r,n),h=Qz.parseDeltaAngle(o,s),g=Math.abs(h),_=l;(0,X.default)(l)&&(0,X.default)(d)?(V_(!1,`Use "dataKey" to specify the value of pie,
|
|
103
|
+
the props "valueKey" will be deprecated in 1.1.0`),_=`value`):(0,X.default)(l)&&(V_(!1,`Use "dataKey" to specify the value of pie,
|
|
104
|
+
the props "valueKey" will be deprecated in 1.1.0`),_=d);var v=i.filter(function(e){return gM(e,_,0)!==0}).length,y=(g>=360?v:v-1)*c,b=g-v*p-y,x=i.reduce(function(e,t){var n=gM(t,_,0);return e+(Z(n)?n:0)},0),S;if(x>0){var C;S=i.map(function(e,t){var n=gM(e,_,0),r=gM(e,u,t),i=(Z(n)?n:0)/x,s=t?C.endAngle+Ig(h)*c*(n===0?0:1):o,l=s+Ig(h)*((n===0?0:p)+i*b),d=(s+l)/2,g=(m.innerRadius+m.outerRadius)/2;return C=nB(nB(nB({percent:i,cornerRadius:a,name:r,tooltipPayload:[{name:r,value:n,payload:e,dataKey:_,type:f}],midAngle:d,middleRadius:g,tooltipPosition:pN(m.cx,m.cy,g,d)},e),m),{},{value:gM(e,_),startAngle:s,endAngle:l,payload:e,paddingAngle:Ig(h)*c}),C})}return nB(nB({},m),{},{sectors:S,data:i})});var _B=o(((e,t)=>{var n=Math.ceil,r=Math.max;function i(e,t,i,a){for(var o=-1,s=r(n((t-e)/(i||1)),0),c=Array(s);s--;)c[a?s:++o]=e,e+=i;return c}t.exports=i})),vB=o(((e,t)=>{var n=wC(),r=1/0,i=17976931348623157e292;function a(e){return e?(e=n(e),e===r||e===-r?(e<0?-1:1)*i:e===e?e:0):e===0?e:0}t.exports=a})),yB=o(((e,t)=>{var n=_B(),r=uS(),i=vB();function a(e){return function(t,a,o){return o&&typeof o!=`number`&&r(t,a,o)&&(a=o=void 0),t=i(t),a===void 0?(a=t,t=0):a=i(a),o=o===void 0?t<a?1:-1:i(o),n(t,a,o,e)}}t.exports=a})),bB=o(((e,t)=>{t.exports=yB()()}));function xB(e){"@babel/helpers - typeof";return xB=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},xB(e)}function SB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function CB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?SB(Object(n),!0).forEach(function(t){wB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wB(e,t,n){return t=TB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TB(e){var t=EB(e,`string`);return xB(t)==`symbol`?t:t+``}function EB(e,t){if(xB(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(xB(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var DB=[`Webkit`,`Moz`,`O`,`ms`],OB=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,function(e){return e.toUpperCase()}),r=DB.reduce(function(e,r){return CB(CB({},e),{},wB({},r+n,t))},{});return r[e]=t,r},kB=l(bB());function AB(e){"@babel/helpers - typeof";return AB=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},AB(e)}function jB(){return jB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jB.apply(this,arguments)}function MB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function NB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?MB(Object(n),!0).forEach(function(t){WB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function PB(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function FB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,GB(r.key),r)}}function IB(e,t,n){return t&&FB(e.prototype,t),n&&FB(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function LB(e,t,n){return t=VB(t),RB(e,BB()?Reflect.construct(t,n||[],VB(e).constructor):t.apply(e,n))}function RB(e,t){if(t&&(AB(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return zB(e)}function zB(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function BB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(BB=function(){return!!e})()}function VB(e){return VB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},VB(e)}function HB(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&UB(e,t)}function UB(e,t){return UB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},UB(e,t)}function WB(e,t,n){return t=GB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GB(e){var t=KB(e,`string`);return AB(t)==`symbol`?t:t+``}function KB(e,t){if(AB(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(AB(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var qB=function(e){var t=e.data,n=e.startIndex,r=e.endIndex,i=e.x,a=e.width,o=e.travellerWidth;if(!t||!t.length)return{};var s=t.length,c=ET().domain((0,kB.default)(0,s)).range([i,i+a-o]),l=c.domain().map(function(e){return c(e)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:c(n),endX:c(r),scale:c,scaleValues:l}},JB=function(e){return e.changedTouches&&!!e.changedTouches.length},YB=function(e){function t(e){var n;return PB(this,t),n=LB(this,t,[e]),WB(n,`handleDrag`,function(e){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(e):n.state.isSlideMoving&&n.handleSlideDrag(e)}),WB(n,`handleTouchMove`,function(e){e.changedTouches!=null&&e.changedTouches.length>0&&n.handleDrag(e.changedTouches[0])}),WB(n,`handleDragEnd`,function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var e=n.props,t=e.endIndex,r=e.onDragEnd,i=e.startIndex;r?.({endIndex:t,startIndex:i})}),n.detachDragEndListener()}),WB(n,`handleLeaveWrapper`,function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),WB(n,`handleEnterSlideOrTraveller`,function(){n.setState({isTextActive:!0})}),WB(n,`handleLeaveSlideOrTraveller`,function(){n.setState({isTextActive:!1})}),WB(n,`handleSlideDragStart`,function(e){var t=JB(e)?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,`startX`),endX:n.handleTravellerDragStart.bind(n,`endX`)},n.state={},n}return HB(t,e),IB(t,[{key:`componentWillUnmount`,value:function(){this.leaveTimer&&=(clearTimeout(this.leaveTimer),null),this.detachDragEndListener()}},{key:`getIndex`,value:function(e){var n=e.startX,r=e.endX,i=this.state.scaleValues,a=this.props,o=a.gap,s=a.data.length-1,c=Math.min(n,r),l=Math.max(n,r),u=t.getIndexInRange(i,c),d=t.getIndexInRange(i,l);return{startIndex:u-u%o,endIndex:d===s?s:d-d%o}}},{key:`getTextOfTick`,value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,i=t.dataKey,a=gM(n[e],i,e);return(0,o_.default)(r)?r(a,e):a}},{key:`attachDragEndListener`,value:function(){window.addEventListener(`mouseup`,this.handleDragEnd,!0),window.addEventListener(`touchend`,this.handleDragEnd,!0),window.addEventListener(`mousemove`,this.handleDrag,!0)}},{key:`detachDragEndListener`,value:function(){window.removeEventListener(`mouseup`,this.handleDragEnd,!0),window.removeEventListener(`touchend`,this.handleDragEnd,!0),window.removeEventListener(`mousemove`,this.handleDrag,!0)}},{key:`handleSlideDrag`,value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,i=t.endX,a=this.props,o=a.x,s=a.width,c=a.travellerWidth,l=a.startIndex,u=a.endIndex,d=a.onChange,f=e.pageX-n;f>0?f=Math.min(f,o+s-c-i,o+s-c-r):f<0&&(f=Math.max(f,o-r,o-i));var p=this.getIndex({startX:r+f,endX:i+f});(p.startIndex!==l||p.endIndex!==u)&&d&&d(p),this.setState({startX:r+f,endX:i+f,slideMoveStartX:e.pageX})}},{key:`handleTravellerDragStart`,value:function(e,t){var n=JB(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:`handleTravellerMove`,value:function(e){var t=this.state,n=t.brushMoveStartX,r=t.movingTravellerId,i=t.endX,a=t.startX,o=this.state[r],s=this.props,c=s.x,l=s.width,u=s.travellerWidth,d=s.onChange,f=s.gap,p=s.data,m={startX:this.state.startX,endX:this.state.endX},h=e.pageX-n;h>0?h=Math.min(h,c+l-u-o):h<0&&(h=Math.max(h,c-o)),m[r]=o+h;var g=this.getIndex(m),_=g.startIndex,v=g.endIndex,y=function(){var e=p.length-1;return r===`startX`&&(i>a?_%f===0:v%f===0)||i<a&&v===e||r===`endX`&&(i>a?v%f===0:_%f===0)||i>a&&v===e};this.setState(WB(WB({},r,o+h),`brushMoveStartX`,e.pageX),function(){d&&y()&&d(g)})}},{key:`handleTravellerMoveKeyboard`,value:function(e,t){var n=this,r=this.state,i=r.scaleValues,a=r.startX,o=r.endX,s=this.state[t],c=i.indexOf(s);if(c!==-1){var l=c+e;if(!(l===-1||l>=i.length)){var u=i[l];t===`startX`&&u>=o||t===`endX`&&u<=a||this.setState(WB({},t,u),function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))})}}}},{key:`renderBackground`,value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,a=e.fill,o=e.stroke;return U.createElement(`rect`,{stroke:o,fill:a,x:t,y:n,width:r,height:i})}},{key:`renderPanorama`,value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,a=e.data,o=e.children,s=e.padding,c=U.Children.only(o);return c?U.cloneElement(c,{x:t,y:n,width:r,height:i,margin:s,compact:!0,data:a}):null}},{key:`renderTravellerLayer`,value:function(e,n){var r=this,i=this.props,a=i.y,o=i.travellerWidth,s=i.height,c=i.traveller,l=i.ariaLabel,u=i.data,d=i.startIndex,f=i.endIndex,p=Math.max(e,this.props.x),m=NB(NB({},Q(this.props,!1)),{},{x:p,y:a,width:o,height:s}),h=l||`Min value: ${u[d]?.name}, Max value: ${u[f]?.name}`;return U.createElement(z_,{tabIndex:0,role:`slider`,"aria-label":h,"aria-valuenow":e,className:`recharts-brush-traveller`,onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[n],onTouchStart:this.travellerDragStartHandlers[n],onKeyDown:function(e){[`ArrowLeft`,`ArrowRight`].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),r.handleTravellerMoveKeyboard(e.key===`ArrowRight`?1:-1,n))},onFocus:function(){r.setState({isTravellerFocused:!0})},onBlur:function(){r.setState({isTravellerFocused:!1})},style:{cursor:`col-resize`}},t.renderTraveller(c,m))}},{key:`renderSlide`,value:function(e,t){var n=this.props,r=n.y,i=n.height,a=n.stroke,o=n.travellerWidth,s=Math.min(e,t)+o,c=Math.max(Math.abs(t-e)-o,0);return U.createElement(`rect`,{className:`recharts-brush-slide`,onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:`move`},stroke:`none`,fill:a,fillOpacity:.2,x:s,y:r,width:c,height:i})}},{key:`renderText`,value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,r=e.y,i=e.height,a=e.travellerWidth,o=e.stroke,s=this.state,c=s.startX,l=s.endX,u=5,d={pointerEvents:`none`,fill:o};return U.createElement(z_,{className:`recharts-brush-texts`},U.createElement(Ww,jB({textAnchor:`end`,verticalAnchor:`middle`,x:Math.min(c,l)-u,y:r+i/2},d),this.getTextOfTick(t)),U.createElement(Ww,jB({textAnchor:`start`,verticalAnchor:`middle`,x:Math.max(c,l)+a+u,y:r+i/2},d),this.getTextOfTick(n)))}},{key:`render`,value:function(){var e=this.props,t=e.data,n=e.className,r=e.children,i=e.x,a=e.y,o=e.width,s=e.height,c=e.alwaysShowText,l=this.state,u=l.startX,f=l.endX,p=l.isTextActive,m=l.isSlideMoving,h=l.isTravellerMoving,g=l.isTravellerFocused;if(!t||!t.length||!Z(i)||!Z(a)||!Z(o)||!Z(s)||o<=0||s<=0)return null;var _=d(`recharts-brush`,n),v=U.Children.count(r)===1,y=OB(`userSelect`,`none`);return U.createElement(z_,{className:_,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:y},this.renderBackground(),v&&this.renderPanorama(),this.renderSlide(u,f),this.renderTravellerLayer(u,`startX`),this.renderTravellerLayer(f,`endX`),(p||m||h||g||c)&&this.renderText())}}],[{key:`renderDefaultTraveller`,value:function(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=e.stroke,o=Math.floor(n+i/2)-1;return U.createElement(U.Fragment,null,U.createElement(`rect`,{x:t,y:n,width:r,height:i,fill:a,stroke:`none`}),U.createElement(`line`,{x1:t+1,y1:o,x2:t+r-1,y2:o,fill:`none`,stroke:`#fff`}),U.createElement(`line`,{x1:t+1,y1:o+2,x2:t+r-1,y2:o+2,fill:`none`,stroke:`#fff`}))}},{key:`renderTraveller`,value:function(e,n){return U.isValidElement(e)?U.cloneElement(e,n):(0,o_.default)(e)?e(n):t.renderDefaultTraveller(n)}},{key:`getDerivedStateFromProps`,value:function(e,t){var n=e.data,r=e.width,i=e.x,a=e.travellerWidth,o=e.updateId,s=e.startIndex,c=e.endIndex;if(n!==t.prevData||o!==t.prevUpdateId)return NB({prevData:n,prevTravellerWidth:a,prevUpdateId:o,prevX:i,prevWidth:r},n&&n.length?qB({data:n,width:r,x:i,travellerWidth:a,startIndex:s,endIndex:c}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||i!==t.prevX||a!==t.prevTravellerWidth)){t.scale.range([i,i+r-a]);var l=t.scale.domain().map(function(e){return t.scale(e)});return{prevData:n,prevTravellerWidth:a,prevUpdateId:o,prevX:i,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:l}}return null}},{key:`getIndexInRange`,value:function(e,t){for(var n=e.length,r=0,i=n-1;i-r>1;){var a=Math.floor((r+i)/2);e[a]>t?i=a:r=a}return t>=e[i]?i:r}}])}(U.PureComponent);WB(YB,`displayName`,`Brush`),WB(YB,`defaultProps`,{height:40,travellerWidth:5,gap:1,fill:`#fff`,stroke:`#666`,padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var XB=o(((e,t)=>{var n=Xx();function r(e,t){var r;return n(e,function(e,n,i){return r=t(e,n,i),!r}),!!r}t.exports=r})),ZB=o(((e,t)=>{var n=db(),r=lx(),i=XB(),a=Oh(),o=uS();function s(e,t,s){var c=a(e)?n:i;return s&&o(e,t,s)&&(t=void 0),c(e,r(t,3))}t.exports=s})),QB=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r=`extendDomain`),r===t},$B=o(((e,t)=>{var n=aS();function r(e,t,r){t==`__proto__`&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}t.exports=r})),eV=o(((e,t)=>{var n=$B(),r=Jx(),i=lx();function a(e,t){var a={};return t=i(t,3),r(e,function(e,r,i){n(a,r,t(e,r,i))}),a}t.exports=a})),tV=o(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}t.exports=n})),nV=o(((e,t)=>{var n=Xx();function r(e,t){var r=!0;return n(e,function(e,n,i){return r=!!t(e,n,i),r}),r}t.exports=r})),rV=o(((e,t)=>{var n=tV(),r=nV(),i=lx(),a=Oh(),o=uS();function s(e,t,s){var c=a(e)?n:r;return s&&o(e,t,s)&&(t=void 0),c(e,i(t,3))}t.exports=s})),iV=[`x`,`y`];function aV(e){"@babel/helpers - typeof";return aV=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},aV(e)}function oV(){return oV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oV.apply(this,arguments)}function sV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?sV(Object(n),!0).forEach(function(t){lV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lV(e,t,n){return t=uV(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uV(e){var t=dV(e,`string`);return aV(t)==`symbol`?t:t+``}function dV(e,t){if(aV(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(aV(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function fV(e,t){if(e==null)return{};var n=pV(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pV(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function mV(e,t){var n=e.x,r=e.y,i=fV(e,iV),a=`${n}`,o=parseInt(a,10),s=`${r}`,c=parseInt(s,10),l=`${t.height||i.height}`,u=parseInt(l,10),d=`${t.width||i.width}`,f=parseInt(d,10);return cV(cV(cV(cV(cV({},t),i),o?{x:o}:{}),c?{y:c}:{}),{},{height:u,width:f,name:t.name,radius:t.radius})}function hV(e){return U.createElement(Vz,oV({shapeType:`rectangle`,propTransformer:mV,activeClassName:`recharts-active-bar`},e))}var gV=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,r){if(typeof e==`number`)return e;var i=Z(n)||Rg(n);return i?e(n,r):(!i&&xj(!1),t)}},_V=[`value`,`background`],vV;function yV(e){"@babel/helpers - typeof";return yV=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yV(e)}function bV(e,t){if(e==null)return{};var n=xV(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xV(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function SV(){return SV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SV.apply(this,arguments)}function CV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?CV(Object(n),!0).forEach(function(t){FV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function TV(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function EV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,IV(r.key),r)}}function DV(e,t,n){return t&&EV(e.prototype,t),n&&EV(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function OV(e,t,n){return t=MV(t),kV(e,jV()?Reflect.construct(t,n||[],MV(e).constructor):t.apply(e,n))}function kV(e,t){if(t&&(yV(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return AV(e)}function AV(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function jV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jV=function(){return!!e})()}function MV(e){return MV=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},MV(e)}function NV(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&PV(e,t)}function PV(e,t){return PV=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},PV(e,t)}function FV(e,t,n){return t=IV(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function IV(e){var t=LV(e,`string`);return yV(t)==`symbol`?t:t+``}function LV(e,t){if(yV(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(yV(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var RV=function(e){function t(){var e;TV(this,t);var n=[...arguments];return e=OV(this,t,[].concat(n)),FV(e,`state`,{isAnimationFinished:!1}),FV(e,`id`,Vg(`recharts-bar-`)),FV(e,`handleAnimationEnd`,function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()}),FV(e,`handleAnimationStart`,function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()}),e}return NV(t,e),DV(t,[{key:`renderRectanglesStatically`,value:function(e){var t=this,n=this.props,r=n.shape,i=n.dataKey,a=n.activeIndex,o=n.activeBar,s=Q(this.props,!1);return e&&e.map(function(e,n){var c=n===a,l=c?o:r,u=wV(wV(wV({},s),e),{},{isActive:c,option:l,index:n,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return U.createElement(z_,SV({className:`recharts-bar-rectangle`},a_(t.props,e,n),{key:`rectangle-${e?.x}-${e?.y}-${e?.value}-${n}`}),U.createElement(hV,u))})}},{key:`renderRectanglesWithAnimation`,value:function(){var e=this,t=this.props,n=t.data,r=t.layout,i=t.isAnimationActive,a=t.animationBegin,o=t.animationDuration,s=t.animationEasing,c=t.animationId,l=this.state.prevData;return U.createElement(SL,{begin:a,duration:o,isActive:i,easing:s,from:{t:0},to:{t:1},key:`bar-${c}`,onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(t){var i=t.t,a=n.map(function(e,t){var n=l&&l[t];if(n){var a=Gg(n.x,e.x),o=Gg(n.y,e.y),s=Gg(n.width,e.width),c=Gg(n.height,e.height);return wV(wV({},e),{},{x:a(i),y:o(i),width:s(i),height:c(i)})}if(r===`horizontal`){var u=Gg(0,e.height)(i);return wV(wV({},e),{},{y:e.y+e.height-u,height:u})}var d=Gg(0,e.width)(i);return wV(wV({},e),{},{width:d})});return U.createElement(z_,null,e.renderRectanglesStatically(a))})}},{key:`renderRectangles`,value:function(){var e=this.props,t=e.data,n=e.isAnimationActive,r=this.state.prevData;return n&&t&&t.length&&(!r||!(0,rM.default)(r,t))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(t)}},{key:`renderBackground`,value:function(){var e=this,t=this.props,n=t.data,r=t.dataKey,i=t.activeIndex,a=Q(this.props.background,!1);return n.map(function(t,n){t.value;var o=t.background,s=bV(t,_V);if(!o)return null;var c=wV(wV(wV(wV(wV({},s),{},{fill:`#eee`},o),a),a_(e.props,t,n)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:r,index:n,className:`recharts-bar-background-rectangle`});return U.createElement(hV,SV({key:`background-bar-${n}`,option:e.props.background,isActive:n===i},c))})}},{key:`renderErrorBar`,value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.data,i=n.xAxis,a=n.yAxis,o=n.layout,s=n.children,c=v_(s,Kj);if(!c)return null;var l=o===`vertical`?r[0].height/2:r[0].width/2,u=function(e,t){var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:gM(e,t)}},d={clipPath:e?`url(#clipPath-${t})`:null};return U.createElement(z_,d,c.map(function(e){return U.cloneElement(e,{key:`error-bar-${t}-${e.props.dataKey}`,data:r,xAxis:i,yAxis:a,layout:o,offset:l,dataPointFormatter:u})}))}},{key:`render`,value:function(){var e=this.props,t=e.hide,n=e.data,r=e.className,i=e.xAxis,a=e.yAxis,o=e.left,s=e.top,c=e.width,l=e.height,u=e.isAnimationActive,f=e.background,p=e.id;if(t||!n||!n.length)return null;var m=this.state.isAnimationFinished,h=d(`recharts-bar`,r),g=i&&i.allowDataOverflow,_=a&&a.allowDataOverflow,v=g||_,y=(0,X.default)(p)?this.id:p;return U.createElement(z_,{className:h},g||_?U.createElement(`defs`,null,U.createElement(`clipPath`,{id:`clipPath-${y}`},U.createElement(`rect`,{x:g?o:o-c/2,y:_?s:s-l/2,width:g?c:c*2,height:_?l:l*2}))):null,U.createElement(z_,{className:`recharts-bar-rectangles`,clipPath:v?`url(#clipPath-${y})`:null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(v,y),(!u||m)&&fP.renderCallByParent(this.props,n))}}],[{key:`getDerivedStateFromProps`,value:function(e,t){return e.animationId===t.prevAnimationId?e.data===t.curData?null:{curData:e.data}:{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}}}])}(U.PureComponent);vV=RV,FV(RV,`displayName`,`Bar`),FV(RV,`defaultProps`,{xAxisId:0,yAxisId:0,legendType:`rect`,minPointSize:0,hide:!1,data:[],layout:`vertical`,activeBar:!1,isAnimationActive:!tC.isSsr,animationBegin:0,animationDuration:400,animationEasing:`ease`}),FV(RV,`getComposedData`,function(e){var t=e.props,n=e.item,r=e.barPosition,i=e.bandSize,a=e.xAxis,o=e.yAxis,s=e.xAxisTicks,c=e.yAxisTicks,l=e.stackedData,u=e.dataStartIndex,d=e.displayedData,f=e.offset,p=FM(r,n);if(!p)return null;var m=t.layout,h=n.type.defaultProps,g=h===void 0?n.props:wV(wV({},h),n.props),_=g.dataKey,v=g.children,y=g.minPointSize,b=m===`horizontal`?o:a,x=l?b.scale.domain():null,S=UM({numericAxis:b}),C=v_(v,BC);return wV({data:d.map(function(e,t){var r,d,f,h,g,v;l?r=IM(l[u+t],x):(r=gM(e,_),Array.isArray(r)||(r=[S,r]));var b=gV(y,vV.defaultProps.minPointSize)(r[1],t);if(m===`horizontal`){var w=[o.scale(r[0]),o.scale(r[1])],T=w[0],E=w[1];d=HM({axis:a,ticks:s,bandSize:i,offset:p.offset,entry:e,index:t}),f=E??T??void 0,h=p.size;var D=T-E;if(g=Number.isNaN(D)?0:D,v={x:d,y:o.y,width:h,height:o.height},Math.abs(b)>0&&Math.abs(g)<Math.abs(b)){var O=Ig(g||b)*(Math.abs(b)-Math.abs(g));f-=O,g+=O}}else{var k=[a.scale(r[0]),a.scale(r[1])],A=k[0],j=k[1];if(d=A,f=HM({axis:o,ticks:c,bandSize:i,offset:p.offset,entry:e,index:t}),h=j-A,g=p.size,v={x:a.x,y:f,width:a.width,height:g},Math.abs(b)>0&&Math.abs(h)<Math.abs(b)){var M=Ig(h||b)*(Math.abs(b)-Math.abs(h));h+=M}}return wV(wV(wV({},e),{},{x:d,y:f,width:h,height:g,value:l?r:r[1],payload:e,background:v},C&&C[t]&&C[t].props),{},{tooltipPayload:[QM(n,e)],tooltipPosition:{x:d+h/2,y:f+g/2}})}),layout:m},f)});var zV=l(eV()),BV=l(rV());function VV(e){"@babel/helpers - typeof";return VV=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},VV(e)}function HV(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function UV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,JV(r.key),r)}}function WV(e,t,n){return t&&UV(e.prototype,t),n&&UV(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function GV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function KV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?GV(Object(n),!0).forEach(function(t){qV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qV(e,t,n){return t=JV(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JV(e){var t=YV(e,`string`);return VV(t)==`symbol`?t:t+``}function YV(e,t){if(VV(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(VV(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var XV=function(e,t,n,r,i){var a=e.width,o=e.height,s=e.layout,c=e.children,l=Object.keys(t),u={left:n.left,leftMirror:n.left,right:a-n.right,rightMirror:a-n.right,top:n.top,topMirror:n.top,bottom:o-n.bottom,bottomMirror:o-n.bottom},d=!!y_(c,RV);return l.reduce(function(a,o){var c=t[o],l=c.orientation,f=c.domain,p=c.padding,m=p===void 0?{}:p,h=c.mirror,g=c.reversed,_=`${l}${h?`Mirror`:``}`,v,y,b,x,S;if(c.type===`number`&&(c.padding===`gap`||c.padding===`no-gap`)){var C=f[1]-f[0],w=1/0,T=c.categoricalDomain.sort(Jg);if(T.forEach(function(e,t){t>0&&(w=Math.min((e||0)-(T[t-1]||0),w))}),Number.isFinite(w)){var E=w/C,D=c.layout===`vertical`?n.height:n.width;if(c.padding===`gap`&&(v=E*D/2),c.padding===`no-gap`){var O=Hg(e.barCategoryGap,E*D),k=E*D/2;v=k-O-(k-O)/D*O}}}y=r===`xAxis`?[n.left+(m.left||0)+(v||0),n.left+n.width-(m.right||0)-(v||0)]:r===`yAxis`?s===`horizontal`?[n.top+n.height-(m.bottom||0),n.top+(m.top||0)]:[n.top+(m.top||0)+(v||0),n.top+n.height-(m.bottom||0)-(v||0)]:c.range,g&&(y=[y[1],y[0]]);var A=MM(c,i,d),j=A.scale,M=A.realScaleType;j.domain(f).range(y),PM(j);var N=BM(j,KV(KV({},c),{},{realScaleType:M}));r===`xAxis`?(S=l===`top`&&!h||l===`bottom`&&h,b=n.left,x=u[_]-S*c.height):r===`yAxis`&&(S=l===`left`&&!h||l===`right`&&h,b=u[_]-S*c.width,x=n.top);var P=KV(KV(KV({},c),N),{},{realScaleType:M,x:b,y:x,scale:j,width:r===`xAxis`?n.width:c.width,height:r===`yAxis`?n.height:c.height});return P.bandSize=XM(P,N),!c.hide&&r===`xAxis`?u[_]+=(S?-1:1)*P.height:c.hide||(u[_]+=(S?-1:1)*P.width),KV(KV({},a),{},qV({},o,P))},{})},ZV=function(e,t){var n=e.x,r=e.y,i=t.x,a=t.y;return{x:Math.min(n,i),y:Math.min(r,a),width:Math.abs(i-n),height:Math.abs(a-r)}},QV=function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return ZV({x:t,y:n},{x:r,y:i})},$V=function(){function e(t){HV(this,e),this.scale=t}return WV(e,[{key:`domain`,get:function(){return this.scale.domain}},{key:`range`,get:function(){return this.scale.range}},{key:`rangeMin`,get:function(){return this.range()[0]}},{key:`rangeMax`,get:function(){return this.range()[1]}},{key:`bandwidth`,get:function(){return this.scale.bandwidth}},{key:`apply`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.bandAware,r=t.position;if(e!==void 0){if(r)switch(r){case`start`:return this.scale(e);case`middle`:var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case`end`:var a=this.bandwidth?this.bandwidth():0;return this.scale(e)+a;default:return this.scale(e)}if(n){var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o}return this.scale(e)}}},{key:`isInRange`,value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],[{key:`create`,value:function(t){return new e(t)}}])}();qV($V,`EPS`,1e-4);var eH=function(e){var t=Object.keys(e).reduce(function(t,n){return KV(KV({},t),{},qV({},n,$V.create(e[n])))},{});return KV(KV({},t),{},{apply:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.bandAware,i=n.position;return(0,zV.default)(e,function(e,n){return t[n].apply(e,{bandAware:r,position:i})})},isInRange:function(e){return(0,BV.default)(e,function(e,n){return t[n].isInRange(e)})}})};function tH(e){return(e%180+180)%180}var nH=function(e){var t=e.width,n=e.height,r=tH(arguments.length>1&&arguments[1]!==void 0?arguments[1]:0)*Math.PI/180,i=Math.atan(n/t),a=r>i&&r<Math.PI-i?n/Math.sin(r):t/Math.cos(r);return Math.abs(a)},rH=o(((e,t)=>{var n=lx(),r=zb(),i=Bb();function a(e){return function(t,a,o){var s=Object(t);if(!r(t)){var c=n(a,3);t=i(t),a=function(e){return c(s[e],e,s)}}var l=e(t,a,o);return l>-1?s[c?t[l]:l]:void 0}}t.exports=a})),iH=o(((e,t)=>{var n=vB();function r(e){var t=n(e),r=t%1;return t===t?r?t-r:t:0}t.exports=r})),aH=o(((e,t)=>{var n=ux(),r=lx(),i=iH(),a=Math.max;function o(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:i(o);return c<0&&(c=a(s+c,0)),n(e,r(t,3),c)}t.exports=o})),oH=o(((e,t)=>{t.exports=rH()(aH())})),sH=(0,l(gg()).default)(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return[`l`,e.left,`t`,e.top,`w`,e.width,`h`,e.height].join(``)}),cH=l(oH()),lH=(0,U.createContext)(void 0),uH=(0,U.createContext)(void 0),dH=(0,U.createContext)(void 0),fH=(0,U.createContext)({}),pH=(0,U.createContext)(void 0),mH=(0,U.createContext)(0),hH=(0,U.createContext)(0),gH=function(e){var t=e.state,n=t.xAxisMap,r=t.yAxisMap,i=t.offset,a=e.clipPathId,o=e.children,s=e.width,c=e.height,l=sH(i);return U.createElement(lH.Provider,{value:n},U.createElement(uH.Provider,{value:r},U.createElement(fH.Provider,{value:i},U.createElement(dH.Provider,{value:l},U.createElement(pH.Provider,{value:a},U.createElement(mH.Provider,{value:c},U.createElement(hH.Provider,{value:s},o)))))))},_H=function(){return(0,U.useContext)(pH)},vH=function(e){var t=(0,U.useContext)(lH);t??xj(!1);var n=t[e];return n??xj(!1),n},yH=function(){return Ug((0,U.useContext)(lH))},bH=function(){var e=(0,U.useContext)(uH);return(0,cH.default)(e,function(e){return(0,BV.default)(e.domain,Number.isFinite)})||Ug(e)},xH=function(e){var t=(0,U.useContext)(uH);t??xj(!1);var n=t[e];return n??xj(!1),n},SH=function(){return(0,U.useContext)(dH)},CH=function(){return(0,U.useContext)(fH)},wH=function(){return(0,U.useContext)(hH)},TH=function(){return(0,U.useContext)(mH)},EH=l(ZB());function DH(e){"@babel/helpers - typeof";return DH=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},DH(e)}function OH(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function kH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,VH(r.key),r)}}function AH(e,t,n){return t&&kH(e.prototype,t),n&&kH(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function jH(e,t,n){return t=FH(t),MH(e,PH()?Reflect.construct(t,n||[],FH(e).constructor):t.apply(e,n))}function MH(e,t){if(t&&(DH(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return NH(e)}function NH(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function PH(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(PH=function(){return!!e})()}function FH(e){return FH=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},FH(e)}function IH(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&LH(e,t)}function LH(e,t){return LH=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},LH(e,t)}function RH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?RH(Object(n),!0).forEach(function(t){BH(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function BH(e,t,n){return t=VH(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function VH(e){var t=HH(e,`string`);return DH(t)==`symbol`?t:t+``}function HH(e,t){if(DH(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(DH(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function UH(e,t){return JH(e)||qH(e,t)||GH(e,t)||WH()}function WH(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
105
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GH(e,t){if(e){if(typeof e==`string`)return KH(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return KH(e,t)}}function KH(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function qH(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function JH(e){if(Array.isArray(e))return e}function YH(){return YH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YH.apply(this,arguments)}var XH=function(e,t){return U.isValidElement(e)?U.cloneElement(e,t):(0,o_.default)(e)?e(t):U.createElement(`line`,YH({},t,{className:`recharts-reference-line-line`}))},ZH=function(e,t,n,r,i,a,o,s,c){var l=i.x,u=i.y,d=i.width,f=i.height;if(n){var p=c.y,m=e.y.apply(p,{position:a});if(QB(c,`discard`)&&!e.y.isInRange(m))return null;var h=[{x:l+d,y:m},{x:l,y:m}];return s===`left`?h.reverse():h}if(t){var g=c.x,_=e.x.apply(g,{position:a});if(QB(c,`discard`)&&!e.x.isInRange(_))return null;var v=[{x:_,y:u+f},{x:_,y:u}];return o===`top`?v.reverse():v}if(r){var y=c.segment.map(function(t){return e.apply(t,{position:a})});return QB(c,`discard`)&&(0,EH.default)(y,function(t){return!e.isInRange(t)})?null:y}return null};function QH(e){var t=e.x,n=e.y,r=e.segment,i=e.xAxisId,a=e.yAxisId,o=e.shape,s=e.className,c=e.alwaysShow,l=_H(),u=vH(i),f=xH(a),p=SH();if(!l||!p)return null;V_(c===void 0,`The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.`);var m=ZH(eH({x:u.scale,y:f.scale}),zg(t),zg(n),r&&r.length===2,p,e.position,u.orientation,f.orientation,e);if(!m)return null;var h=UH(m,2),g=h[0],_=g.x,v=g.y,y=h[1],b=y.x,x=y.y,S=zH(zH({clipPath:QB(e,`hidden`)?`url(#${l})`:void 0},Q(e,!0)),{},{x1:_,y1:v,x2:b,y2:x});return U.createElement(z_,{className:d(`recharts-reference-line`,s)},XH(o,S),WN.renderCallByParent(e,QV({x1:_,y1:v,x2:b,y2:x})))}var $H=function(e){function t(){return OH(this,t),jH(this,t,arguments)}return IH(t,e),AH(t,[{key:`render`,value:function(){return U.createElement(QH,this.props)}}])}(U.Component);BH($H,`displayName`,`ReferenceLine`),BH($H,`defaultProps`,{isFront:!1,ifOverflow:`discard`,xAxisId:0,yAxisId:0,fill:`none`,stroke:`#ccc`,fillOpacity:1,strokeWidth:1,position:`middle`});function eU(){return eU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eU.apply(this,arguments)}function tU(e){"@babel/helpers - typeof";return tU=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},tU(e)}function nU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?nU(Object(n),!0).forEach(function(t){mU(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iU(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function aU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,hU(r.key),r)}}function oU(e,t,n){return t&&aU(e.prototype,t),n&&aU(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function sU(e,t,n){return t=dU(t),cU(e,uU()?Reflect.construct(t,n||[],dU(e).constructor):t.apply(e,n))}function cU(e,t){if(t&&(tU(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return lU(e)}function lU(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function uU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(uU=function(){return!!e})()}function dU(e){return dU=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dU(e)}function fU(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&pU(e,t)}function pU(e,t){return pU=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pU(e,t)}function mU(e,t,n){return t=hU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hU(e){var t=gU(e,`string`);return tU(t)==`symbol`?t:t+``}function gU(e,t){if(tU(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(tU(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var _U=function(e){var t=e.x,n=e.y,r=e.xAxis,i=e.yAxis,a=eH({x:r.scale,y:i.scale}),o=a.apply({x:t,y:n},{bandAware:!0});return QB(e,`discard`)&&!a.isInRange(o)?null:o},vU=function(e){function t(){return iU(this,t),sU(this,t,arguments)}return fU(t,e),oU(t,[{key:`render`,value:function(){var e=this.props,n=e.x,r=e.y,i=e.r,a=e.alwaysShow,o=e.clipPathId,s=zg(n),c=zg(r);if(V_(a===void 0,`The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.`),!s||!c)return null;var l=_U(this.props);if(!l)return null;var u=l.x,f=l.y,p=this.props,m=p.shape,h=p.className,g=rU(rU({clipPath:QB(this.props,`hidden`)?`url(#${o})`:void 0},Q(this.props,!0)),{},{cx:u,cy:f});return U.createElement(z_,{className:d(`recharts-reference-dot`,h)},t.renderDot(m,g),WN.renderCallByParent(this.props,{x:u-i,y:f-i,width:2*i,height:2*i}))}}])}(U.Component);mU(vU,`displayName`,`ReferenceDot`),mU(vU,`defaultProps`,{isFront:!1,ifOverflow:`discard`,xAxisId:0,yAxisId:0,r:10,fill:`#fff`,stroke:`#ccc`,fillOpacity:1,strokeWidth:1}),mU(vU,`renderDot`,function(e,t){return U.isValidElement(e)?U.cloneElement(e,t):(0,o_.default)(e)?e(t):U.createElement(nR,eU({},t,{cx:t.cx,cy:t.cy,className:`recharts-reference-dot-dot`}))});function yU(){return yU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yU.apply(this,arguments)}function bU(e){"@babel/helpers - typeof";return bU=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},bU(e)}function xU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function SU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xU(Object(n),!0).forEach(function(t){NU(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function CU(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function wU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,PU(r.key),r)}}function TU(e,t,n){return t&&wU(e.prototype,t),n&&wU(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function EU(e,t,n){return t=AU(t),DU(e,kU()?Reflect.construct(t,n||[],AU(e).constructor):t.apply(e,n))}function DU(e,t){if(t&&(bU(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return OU(e)}function OU(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function kU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(kU=function(){return!!e})()}function AU(e){return AU=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},AU(e)}function jU(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&MU(e,t)}function MU(e,t){return MU=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},MU(e,t)}function NU(e,t,n){return t=PU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PU(e){var t=FU(e,`string`);return bU(t)==`symbol`?t:t+``}function FU(e,t){if(bU(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(bU(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var IU=function(e,t,n,r,i){var a=i.x1,o=i.x2,s=i.y1,c=i.y2,l=i.xAxis,u=i.yAxis;if(!l||!u)return null;var d=eH({x:l.scale,y:u.scale}),f={x:e?d.x.apply(a,{position:`start`}):d.x.rangeMin,y:n?d.y.apply(s,{position:`start`}):d.y.rangeMin},p={x:t?d.x.apply(o,{position:`end`}):d.x.rangeMax,y:r?d.y.apply(c,{position:`end`}):d.y.rangeMax};return QB(i,`discard`)&&(!d.isInRange(f)||!d.isInRange(p))?null:ZV(f,p)},LU=function(e){function t(){return CU(this,t),EU(this,t,arguments)}return jU(t,e),TU(t,[{key:`render`,value:function(){var e=this.props,n=e.x1,r=e.x2,i=e.y1,a=e.y2,o=e.className,s=e.alwaysShow,c=e.clipPathId;V_(s===void 0,`The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.`);var l=zg(n),u=zg(r),f=zg(i),p=zg(a),m=this.props.shape;if(!l&&!u&&!f&&!p&&!m)return null;var h=IU(l,u,f,p,this.props);if(!h&&!m)return null;var g=QB(this.props,`hidden`)?`url(#${c})`:void 0;return U.createElement(z_,{className:d(`recharts-reference-area`,o)},t.renderRect(m,SU(SU({clipPath:g},Q(this.props,!0)),h)),WN.renderCallByParent(this.props,h))}}])}(U.Component);NU(LU,`displayName`,`ReferenceArea`),NU(LU,`defaultProps`,{isFront:!1,ifOverflow:`discard`,xAxisId:0,yAxisId:0,r:10,fill:`#ccc`,fillOpacity:.5,stroke:`none`,strokeWidth:1}),NU(LU,`renderRect`,function(e,t){return U.isValidElement(e)?U.cloneElement(e,t):(0,o_.default)(e)?e(t):U.createElement(zL,yU({},t,{className:`recharts-reference-area-rect`}))});function RU(e,t,n){if(t<1)return[];if(t===1&&n===void 0)return e;for(var r=[],i=0;i<e.length;i+=t)if(n===void 0||n(e[i])===!0)r.push(e[i]);else return;return r}function zU(e,t,n){return nH({width:e.width+t.width,height:e.height+t.height},n)}function BU(e,t,n){var r=n===`width`,i=e.x,a=e.y,o=e.width,s=e.height;return t===1?{start:r?i:a,end:r?i+o:a+s}:{start:r?i+o:a+s,end:r?i:a}}function VU(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var a=n();return e*(t-e*a/2-r)>=0&&e*(t+e*a/2-i)<=0}function HU(e,t){return RU(e,t+1)}function UU(e,t,n,r,i){for(var a=(r||[]).slice(),o=t.start,s=t.end,c=0,l=1,u=o,d=function(){var t=r?.[c];if(t===void 0)return{v:RU(r,l)};var a=c,d,f=function(){return d===void 0&&(d=n(t,a)),d},p=t.coordinate,m=c===0||VU(e,p,f,u,s);m||(c=0,u=o,l+=1),m&&(u=p+e*(f()/2+i),c+=l)},f;l<=a.length;)if(f=d(),f)return f.v;return[]}function WU(e){"@babel/helpers - typeof";return WU=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},WU(e)}function GU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function KU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?GU(Object(n),!0).forEach(function(t){qU(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qU(e,t,n){return t=JU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JU(e){var t=YU(e,`string`);return WU(t)==`symbol`?t:t+``}function YU(e,t){if(WU(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(WU(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function XU(e,t,n,r,i){for(var a=(r||[]).slice(),o=a.length,s=t.start,c=t.end,l=function(t){var r=a[t],l,u=function(){return l===void 0&&(l=n(r,t)),l};if(t===o-1){var d=e*(r.coordinate+e*u()/2-c);a[t]=r=KU(KU({},r),{},{tickCoord:d>0?r.coordinate-d*e:r.coordinate})}else a[t]=r=KU(KU({},r),{},{tickCoord:r.coordinate});VU(e,r.tickCoord,u,s,c)&&(c=r.tickCoord-e*(u()/2+i),a[t]=KU(KU({},r),{},{isShow:!0}))},u=o-1;u>=0;u--)l(u);return a}function ZU(e,t,n,r,i,a){var o=(r||[]).slice(),s=o.length,c=t.start,l=t.end;if(a){var u=r[s-1],d=n(u,s-1),f=e*(u.coordinate+e*d/2-l);o[s-1]=u=KU(KU({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate}),VU(e,u.tickCoord,function(){return d},c,l)&&(l=u.tickCoord-e*(d/2+i),o[s-1]=KU(KU({},u),{},{isShow:!0}))}for(var p=a?s-1:s,m=function(t){var r=o[t],a,s=function(){return a===void 0&&(a=n(r,t)),a};if(t===0){var u=e*(r.coordinate-e*s()/2-c);o[t]=r=KU(KU({},r),{},{tickCoord:u<0?r.coordinate-u*e:r.coordinate})}else o[t]=r=KU(KU({},r),{},{tickCoord:r.coordinate});VU(e,r.tickCoord,s,c,l)&&(c=r.tickCoord+e*(s()/2+i),o[t]=KU(KU({},r),{},{isShow:!0}))},h=0;h<p;h++)m(h);return o}function QU(e,t,n){var r=e.tick,i=e.ticks,a=e.viewBox,o=e.minTickGap,s=e.orientation,c=e.interval,l=e.tickFormatter,u=e.unit,d=e.angle;if(!i||!i.length||!r)return[];if(Z(c)||tC.isSsr)return HU(i,typeof c==`number`&&Z(c)?c:0);var f=[],p=s===`top`||s===`bottom`?`width`:`height`,m=u&&p===`width`?QC(u,{fontSize:t,letterSpacing:n}):{width:0,height:0},h=function(e,r){var i=(0,o_.default)(l)?l(e.value,r):e.value;return p===`width`?zU(QC(i,{fontSize:t,letterSpacing:n}),m,d):QC(i,{fontSize:t,letterSpacing:n})[p]},g=i.length>=2?Ig(i[1].coordinate-i[0].coordinate):1,_=BU(a,g,p);return c===`equidistantPreserveStart`?UU(g,_,h,i,o):(f=c===`preserveStart`||c===`preserveStartEnd`?ZU(g,_,h,i,o,c===`preserveStartEnd`):XU(g,_,h,i,o),f.filter(function(e){return e.isShow}))}var $U=[`viewBox`],eW=[`viewBox`],tW=[`ticks`];function nW(e){"@babel/helpers - typeof";return nW=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},nW(e)}function rW(){return rW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rW.apply(this,arguments)}function iW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?iW(Object(n),!0).forEach(function(t){vW(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oW(e,t){if(e==null)return{};var n=sW(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function sW(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function cW(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function lW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,yW(r.key),r)}}function uW(e,t,n){return t&&lW(e.prototype,t),n&&lW(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function dW(e,t,n){return t=hW(t),fW(e,mW()?Reflect.construct(t,n||[],hW(e).constructor):t.apply(e,n))}function fW(e,t){if(t&&(nW(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return pW(e)}function pW(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function mW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(mW=function(){return!!e})()}function hW(e){return hW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hW(e)}function gW(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&_W(e,t)}function _W(e,t){return _W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_W(e,t)}function vW(e,t,n){return t=yW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yW(e){var t=bW(e,`string`);return nW(t)==`symbol`?t:t+``}function bW(e,t){if(nW(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(nW(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var xW=function(e){function t(e){var n;return cW(this,t),n=dW(this,t,[e]),n.state={fontSize:``,letterSpacing:``},n}return gW(t,e),uW(t,[{key:`shouldComponentUpdate`,value:function(e,t){var n=e.viewBox,r=oW(e,$U),i=this.props,a=i.viewBox,o=oW(i,eW);return!Yg(n,a)||!Yg(r,o)||!Yg(t,this.state)}},{key:`componentDidMount`,value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName(`recharts-cartesian-axis-tick-value`)[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:`getTickLineCoord`,value:function(e){var t=this.props,n=t.x,r=t.y,i=t.width,a=t.height,o=t.orientation,s=t.tickSize,c=t.mirror,l=t.tickMargin,u,d,f,p,m,h,g=c?-1:1,_=e.tickSize||s,v=Z(e.tickCoord)?e.tickCoord:e.coordinate;switch(o){case`top`:u=d=e.coordinate,p=r+ +!c*a,f=p-g*_,h=f-g*l,m=v;break;case`left`:f=p=e.coordinate,d=n+ +!c*i,u=d-g*_,m=u-g*l,h=v;break;case`right`:f=p=e.coordinate,d=n+ +c*i,u=d+g*_,m=u+g*l,h=v;break;default:u=d=e.coordinate,p=r+ +c*a,f=p+g*_,h=f+g*l,m=v;break}return{line:{x1:u,y1:f,x2:d,y2:p},tick:{x:m,y:h}}}},{key:`getTickTextAnchor`,value:function(){var e=this.props,t=e.orientation,n=e.mirror,r;switch(t){case`left`:r=n?`start`:`end`;break;case`right`:r=n?`end`:`start`;break;default:r=`middle`;break}return r}},{key:`getTickVerticalAnchor`,value:function(){var e=this.props,t=e.orientation,n=e.mirror,r=`end`;switch(t){case`left`:case`right`:r=`middle`;break;case`top`:r=n?`start`:`end`;break;default:r=n?`end`:`start`;break}return r}},{key:`renderAxisLine`,value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,a=e.orientation,o=e.mirror,s=e.axisLine,c=aW(aW(aW({},Q(this.props,!1)),Q(s,!1)),{},{fill:`none`});if(a===`top`||a===`bottom`){var l=+(a===`top`&&!o||a===`bottom`&&o);c=aW(aW({},c),{},{x1:t,y1:n+l*i,x2:t+r,y2:n+l*i})}else{var u=+(a===`left`&&!o||a===`right`&&o);c=aW(aW({},c),{},{x1:t+u*r,y1:n,x2:t+u*r,y2:n+i})}return U.createElement(`line`,rW({},c,{className:d(`recharts-cartesian-axis-line`,(0,Pg.default)(s,`className`))}))}},{key:`renderTicks`,value:function(e,n,r){var i=this,a=this.props,o=a.tickLine,s=a.stroke,c=a.tick,l=a.tickFormatter,u=a.unit,f=QU(aW(aW({},this.props),{},{ticks:e}),n,r),p=this.getTickTextAnchor(),m=this.getTickVerticalAnchor(),h=Q(this.props,!1),g=Q(c,!1),_=aW(aW({},h),{},{fill:`none`},Q(o,!1)),v=f.map(function(e,n){var r=i.getTickLineCoord(e),a=r.line,v=r.tick,y=aW(aW(aW(aW({textAnchor:p,verticalAnchor:m},h),{},{stroke:`none`,fill:s},g),v),{},{index:n,payload:e,visibleTicksCount:f.length,tickFormatter:l});return U.createElement(z_,rW({className:`recharts-cartesian-axis-tick`,key:`tick-${e.value}-${e.coordinate}-${e.tickCoord}`},a_(i.props,e,n)),o&&U.createElement(`line`,rW({},_,a,{className:d(`recharts-cartesian-axis-tick-line`,(0,Pg.default)(o,`className`))})),c&&t.renderTickItem(c,y,`${(0,o_.default)(l)?l(e.value,n):e.value}${u||``}`))});return U.createElement(`g`,{className:`recharts-cartesian-axis-ticks`},v)}},{key:`render`,value:function(){var e=this,t=this.props,n=t.axisLine,r=t.width,i=t.height,a=t.ticksGenerator,o=t.className;if(t.hide)return null;var s=this.props,c=s.ticks,l=oW(s,tW),u=c;return(0,o_.default)(a)&&(u=c&&c.length>0?a(this.props):a(l)),r<=0||i<=0||!u||!u.length?null:U.createElement(z_,{className:d(`recharts-cartesian-axis`,o),ref:function(t){e.layerReference=t}},n&&this.renderAxisLine(),this.renderTicks(u,this.state.fontSize,this.state.letterSpacing),WN.renderCallByParent(this.props))}}],[{key:`renderTickItem`,value:function(e,t,n){var r,i=d(t.className,`recharts-cartesian-axis-tick-value`);return r=U.isValidElement(e)?U.cloneElement(e,aW(aW({},t),{},{className:i})):(0,o_.default)(e)?e(aW(aW({},t),{},{className:i})):U.createElement(Ww,rW({},t,{className:`recharts-cartesian-axis-tick-value`}),n),r}}])}(U.Component);vW(xW,`displayName`,`CartesianAxis`),vW(xW,`defaultProps`,{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:`bottom`,ticks:[],stroke:`#666`,tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:`preserveEnd`});var SW=[`x1`,`y1`,`x2`,`y2`,`key`],CW=[`offset`];function wW(e){"@babel/helpers - typeof";return wW=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},wW(e)}function TW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function EW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?TW(Object(n),!0).forEach(function(t){DW(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function DW(e,t,n){return t=OW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OW(e){var t=kW(e,`string`);return wW(t)==`symbol`?t:t+``}function kW(e,t){if(wW(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(wW(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function AW(){return AW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AW.apply(this,arguments)}function jW(e,t){if(e==null)return{};var n=MW(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function MW(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var NW=function(e){var t=e.fill;if(!t||t===`none`)return null;var n=e.fillOpacity,r=e.x,i=e.y,a=e.width,o=e.height,s=e.ry;return U.createElement(`rect`,{x:r,y:i,ry:s,width:a,height:o,stroke:`none`,fill:t,fillOpacity:n,className:`recharts-cartesian-grid-bg`})};function PW(e,t){var n;if(U.isValidElement(e))n=U.cloneElement(e,t);else if((0,o_.default)(e))n=e(t);else{var r=t.x1,i=t.y1,a=t.x2,o=t.y2,s=t.key,c=Q(jW(t,SW),!1);c.offset;var l=jW(c,CW);n=U.createElement(`line`,AW({},l,{x1:r,y1:i,x2:a,y2:o,fill:`none`,key:s}))}return n}function FW(e){var t=e.x,n=e.width,r=e.horizontal,i=r===void 0?!0:r,a=e.horizontalPoints;if(!i||!a||!a.length)return null;var o=a.map(function(r,a){return PW(i,EW(EW({},e),{},{x1:t,y1:r,x2:t+n,y2:r,key:`line-${a}`,index:a}))});return U.createElement(`g`,{className:`recharts-cartesian-grid-horizontal`},o)}function IW(e){var t=e.y,n=e.height,r=e.vertical,i=r===void 0?!0:r,a=e.verticalPoints;if(!i||!a||!a.length)return null;var o=a.map(function(r,a){return PW(i,EW(EW({},e),{},{x1:r,y1:t,x2:r,y2:t+n,key:`line-${a}`,index:a}))});return U.createElement(`g`,{className:`recharts-cartesian-grid-vertical`},o)}function LW(e){var t=e.horizontalFill,n=e.fillOpacity,r=e.x,i=e.y,a=e.width,o=e.height,s=e.horizontalPoints,c=e.horizontal;if(!(c===void 0||c)||!t||!t.length)return null;var l=s.map(function(e){return Math.round(e+i-i)}).sort(function(e,t){return e-t});i!==l[0]&&l.unshift(0);var u=l.map(function(e,s){var c=l[s+1]?l[s+1]-e:i+o-e;if(c<=0)return null;var u=s%t.length;return U.createElement(`rect`,{key:`react-${s}`,y:e,x:r,height:c,width:a,stroke:`none`,fill:t[u],fillOpacity:n,className:`recharts-cartesian-grid-bg`})});return U.createElement(`g`,{className:`recharts-cartesian-gridstripes-horizontal`},u)}function RW(e){var t=e.vertical,n=t===void 0?!0:t,r=e.verticalFill,i=e.fillOpacity,a=e.x,o=e.y,s=e.width,c=e.height,l=e.verticalPoints;if(!n||!r||!r.length)return null;var u=l.map(function(e){return Math.round(e+a-a)}).sort(function(e,t){return e-t});a!==u[0]&&u.unshift(0);var d=u.map(function(e,t){var n=u[t+1]?u[t+1]-e:a+s-e;if(n<=0)return null;var l=t%r.length;return U.createElement(`rect`,{key:`react-${t}`,x:e,y:o,width:n,height:c,stroke:`none`,fill:r[l],fillOpacity:i,className:`recharts-cartesian-grid-bg`})});return U.createElement(`g`,{className:`recharts-cartesian-gridstripes-vertical`},d)}var zW=function(e,t){var n=e.xAxis,r=e.width,i=e.height,a=e.offset;return OM(QU(EW(EW(EW({},xW.defaultProps),n),{},{ticks:kM(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.left,a.left+a.width,t)},BW=function(e,t){var n=e.yAxis,r=e.width,i=e.height,a=e.offset;return OM(QU(EW(EW(EW({},xW.defaultProps),n),{},{ticks:kM(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.top,a.top+a.height,t)},VW={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:`#ccc`,fill:`none`,verticalFill:[],horizontalFill:[]};function HW(e){var t=wH(),n=TH(),r=CH(),i=EW(EW({},e),{},{stroke:e.stroke??VW.stroke,fill:e.fill??VW.fill,horizontal:e.horizontal??VW.horizontal,horizontalFill:e.horizontalFill??VW.horizontalFill,vertical:e.vertical??VW.vertical,verticalFill:e.verticalFill??VW.verticalFill,x:Z(e.x)?e.x:r.left,y:Z(e.y)?e.y:r.top,width:Z(e.width)?e.width:r.width,height:Z(e.height)?e.height:r.height}),a=i.x,o=i.y,s=i.width,c=i.height,l=i.syncWithTicks,u=i.horizontalValues,d=i.verticalValues,f=yH(),p=bH();if(!Z(s)||s<=0||!Z(c)||c<=0||!Z(a)||a!==+a||!Z(o)||o!==+o)return null;var m=i.verticalCoordinatesGenerator||zW,h=i.horizontalCoordinatesGenerator||BW,g=i.horizontalPoints,_=i.verticalPoints;if((!g||!g.length)&&(0,o_.default)(h)){var v=u&&u.length,y=h({yAxis:p?EW(EW({},p),{},{ticks:v?u:p.ticks}):void 0,width:t,height:n,offset:r},v?!0:l);V_(Array.isArray(y),`horizontalCoordinatesGenerator should return Array but instead it returned [${wW(y)}]`),Array.isArray(y)&&(g=y)}if((!_||!_.length)&&(0,o_.default)(m)){var b=d&&d.length,x=m({xAxis:f?EW(EW({},f),{},{ticks:b?d:f.ticks}):void 0,width:t,height:n,offset:r},b?!0:l);V_(Array.isArray(x),`verticalCoordinatesGenerator should return Array but instead it returned [${wW(x)}]`),Array.isArray(x)&&(_=x)}return U.createElement(`g`,{className:`recharts-cartesian-grid`},U.createElement(NW,{fill:i.fill,fillOpacity:i.fillOpacity,x:i.x,y:i.y,width:i.width,height:i.height,ry:i.ry}),U.createElement(FW,AW({},i,{offset:r,horizontalPoints:g,xAxis:f,yAxis:p})),U.createElement(IW,AW({},i,{offset:r,verticalPoints:_,xAxis:f,yAxis:p})),U.createElement(LW,AW({},i,{horizontalPoints:g})),U.createElement(RW,AW({},i,{verticalPoints:_})))}HW.displayName=`CartesianGrid`;var UW=[`type`,`layout`,`connectNulls`,`ref`],WW=[`key`];function GW(e){"@babel/helpers - typeof";return GW=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},GW(e)}function KW(e,t){if(e==null)return{};var n=qW(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qW(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function JW(){return JW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JW.apply(this,arguments)}function YW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function XW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?YW(Object(n),!0).forEach(function(t){pG(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ZW(e){return tG(e)||eG(e)||$W(e)||QW()}function QW(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
106
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $W(e,t){if(e){if(typeof e==`string`)return nG(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nG(e,t)}}function eG(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function tG(e){if(Array.isArray(e))return nG(e)}function nG(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rG(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function iG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,mG(r.key),r)}}function aG(e,t,n){return t&&iG(e.prototype,t),n&&iG(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function oG(e,t,n){return t=uG(t),sG(e,lG()?Reflect.construct(t,n||[],uG(e).constructor):t.apply(e,n))}function sG(e,t){if(t&&(GW(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return cG(e)}function cG(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function lG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lG=function(){return!!e})()}function uG(e){return uG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uG(e)}function dG(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&fG(e,t)}function fG(e,t){return fG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fG(e,t)}function pG(e,t,n){return t=mG(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mG(e){var t=hG(e,`string`);return GW(t)==`symbol`?t:t+``}function hG(e,t){if(GW(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(GW(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var gG=function(e){function t(){var e;rG(this,t);var n=[...arguments];return e=oG(this,t,[].concat(n)),pG(e,`state`,{isAnimationFinished:!0,totalLength:0}),pG(e,`generateSimpleStrokeDasharray`,function(e,t){return`${t}px ${e-t}px`}),pG(e,`getStrokeDasharray`,function(n,r,i){var a=i.reduce(function(e,t){return e+t});if(!a)return e.generateSimpleStrokeDasharray(r,n);for(var o=Math.floor(n/a),s=n%a,c=r-n,l=[],u=0,d=0;u<i.length;d+=i[u],++u)if(d+i[u]>s){l=[].concat(ZW(i.slice(0,u)),[s-d]);break}var f=l.length%2==0?[0,c]:[c];return[].concat(ZW(t.repeat(i,o)),ZW(l),f).map(function(e){return`${e}px`}).join(`, `)}),pG(e,`id`,Vg(`recharts-line-`)),pG(e,`pathRef`,function(t){e.mainCurve=t}),pG(e,`handleAnimationEnd`,function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()}),pG(e,`handleAnimationStart`,function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()}),e}return dG(t,e),aG(t,[{key:`componentDidMount`,value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:`componentDidUpdate`,value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:`getTotalLength`,value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch{return 0}}},{key:`renderErrorBar`,value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.points,i=n.xAxis,a=n.yAxis,o=n.layout,s=n.children,c=v_(s,Kj);if(!c)return null;var l=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:gM(e.payload,t)}},u={clipPath:e?`url(#clipPath-${t})`:null};return U.createElement(z_,u,c.map(function(e){return U.cloneElement(e,{key:`bar-${e.props.dataKey}`,data:r,xAxis:i,yAxis:a,layout:o,dataPointFormatter:l})}))}},{key:`renderDots`,value:function(e,n,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,a=i.dot,o=i.points,s=i.dataKey,c=Q(this.props,!1),l=Q(a,!0),u=o.map(function(e,n){var r=XW(XW(XW({key:`dot-${n}`,r:3},c),l),{},{index:n,cx:e.x,cy:e.y,value:e.value,dataKey:s,payload:e.payload,points:o});return t.renderDotItem(a,r)}),d={clipPath:e?`url(#clipPath-${n?``:`dots-`}${r})`:null};return U.createElement(z_,JW({className:`recharts-line-dots`,key:`dots`},d),u)}},{key:`renderCurveStatically`,value:function(e,t,n,r){var i=this.props,a=i.type,o=i.layout,s=i.connectNulls;i.ref;var c=XW(XW(XW({},Q(KW(i,UW),!0)),{},{fill:`none`,className:`recharts-line-curve`,clipPath:t?`url(#clipPath-${n})`:null,points:e},r),{},{type:a,layout:o,connectNulls:s});return U.createElement(VP,JW({},c,{pathRef:this.pathRef}))}},{key:`renderCurveWithAnimation`,value:function(e,t){var n=this,r=this.props,i=r.points,a=r.strokeDasharray,o=r.isAnimationActive,s=r.animationBegin,c=r.animationDuration,l=r.animationEasing,u=r.animationId,d=r.animateNewValues,f=r.width,p=r.height,m=this.state,h=m.prevPoints,g=m.totalLength;return U.createElement(SL,{begin:s,duration:c,isActive:o,easing:l,from:{t:0},to:{t:1},key:`line-${u}`,onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var o=r.t;if(h){var s=h.length/i.length,c=i.map(function(e,t){var n=Math.floor(t*s);if(h[n]){var r=h[n],i=Gg(r.x,e.x),a=Gg(r.y,e.y);return XW(XW({},e),{},{x:i(o),y:a(o)})}if(d){var c=Gg(f*2,e.x),l=Gg(p/2,e.y);return XW(XW({},e),{},{x:c(o),y:l(o)})}return XW(XW({},e),{},{x:e.x,y:e.y})});return n.renderCurveStatically(c,e,t)}var l=Gg(0,g)(o),u;if(a){var m=`${a}`.split(/[,\s]+/gim).map(function(e){return parseFloat(e)});u=n.getStrokeDasharray(l,g,m)}else u=n.generateSimpleStrokeDasharray(g,l);return n.renderCurveStatically(i,e,t,{strokeDasharray:u})})}},{key:`renderCurve`,value:function(e,t){var n=this.props,r=n.points,i=n.isAnimationActive,a=this.state,o=a.prevPoints,s=a.totalLength;return i&&r&&r.length&&(!o&&s>0||!(0,rM.default)(o,r))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(r,e,t)}},{key:`render`,value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,i=e.className,a=e.xAxis,o=e.yAxis,s=e.top,c=e.left,l=e.width,u=e.height,f=e.isAnimationActive,p=e.id;if(t||!r||!r.length)return null;var m=this.state.isAnimationFinished,h=r.length===1,g=d(`recharts-line`,i),_=a&&a.allowDataOverflow,v=o&&o.allowDataOverflow,y=_||v,b=(0,X.default)(p)?this.id:p,x=Q(n,!1)??{r:3,strokeWidth:2},S=x.r,C=S===void 0?3:S,w=x.strokeWidth,T=w===void 0?2:w,E=(C_(n)?n:{}).clipDot,D=E===void 0?!0:E,O=C*2+T;return U.createElement(z_,{className:g},_||v?U.createElement(`defs`,null,U.createElement(`clipPath`,{id:`clipPath-${b}`},U.createElement(`rect`,{x:_?c:c-l/2,y:v?s:s-u/2,width:_?l:l*2,height:v?u:u*2})),!D&&U.createElement(`clipPath`,{id:`clipPath-dots-${b}`},U.createElement(`rect`,{x:c-O/2,y:s-O/2,width:l+O,height:u+O}))):null,!h&&this.renderCurve(y,b),this.renderErrorBar(y,b),(h||n)&&this.renderDots(y,D,b),(!f||m)&&fP.renderCallByParent(this.props,r))}}],[{key:`getDerivedStateFromProps`,value:function(e,t){return e.animationId===t.prevAnimationId?e.points===t.curPoints?null:{curPoints:e.points}:{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}}},{key:`repeat`,value:function(e,t){for(var n=e.length%2==0?e:[].concat(ZW(e),[0]),r=[],i=0;i<t;++i)r=[].concat(ZW(r),ZW(n));return r}},{key:`renderDotItem`,value:function(e,t){var n;if(U.isValidElement(e))n=U.cloneElement(e,t);else if((0,o_.default)(e))n=e(t);else{var r=t.key,i=KW(t,WW),a=d(`recharts-line-dot`,typeof e==`boolean`?``:e.className);n=U.createElement(nR,JW({key:r},i,{className:a}))}return n}}])}(U.PureComponent);pG(gG,`displayName`,`Line`),pG(gG,`defaultProps`,{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:`line`,stroke:`#3182bd`,strokeWidth:1,fill:`#fff`,points:[],isAnimationActive:!tC.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,hide:!1,label:!1}),pG(gG,`getComposedData`,function(e){var t=e.props,n=e.xAxis,r=e.yAxis,i=e.xAxisTicks,a=e.yAxisTicks,o=e.dataKey,s=e.bandSize,c=e.displayedData,l=e.offset,u=t.layout;return XW({points:c.map(function(e,t){var c=gM(e,o);return u===`horizontal`?{x:VM({axis:n,ticks:i,bandSize:s,entry:e,index:t}),y:(0,X.default)(c)?null:r.scale(c),value:c,payload:e}:{x:(0,X.default)(c)?null:n.scale(c),y:VM({axis:r,ticks:a,bandSize:s,entry:e,index:t}),value:c,payload:e}}),layout:u},l)});var _G=[`layout`,`type`,`stroke`,`connectNulls`,`isRange`,`ref`],vG=[`key`],yG;function bG(e){"@babel/helpers - typeof";return bG=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},bG(e)}function xG(e,t){if(e==null)return{};var n=SG(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function SG(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function CG(){return CG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CG.apply(this,arguments)}function wG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function TG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wG(Object(n),!0).forEach(function(t){IG(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function EG(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function DG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,LG(r.key),r)}}function OG(e,t,n){return t&&DG(e.prototype,t),n&&DG(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function kG(e,t,n){return t=NG(t),AG(e,MG()?Reflect.construct(t,n||[],NG(e).constructor):t.apply(e,n))}function AG(e,t){if(t&&(bG(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return jG(e)}function jG(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function MG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(MG=function(){return!!e})()}function NG(e){return NG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},NG(e)}function PG(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&FG(e,t)}function FG(e,t){return FG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},FG(e,t)}function IG(e,t,n){return t=LG(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LG(e){var t=RG(e,`string`);return bG(t)==`symbol`?t:t+``}function RG(e,t){if(bG(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(bG(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var zG=function(e){function t(){var e;EG(this,t);var n=[...arguments];return e=kG(this,t,[].concat(n)),IG(e,`state`,{isAnimationFinished:!0}),IG(e,`id`,Vg(`recharts-area-`)),IG(e,`handleAnimationEnd`,function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),(0,o_.default)(t)&&t()}),IG(e,`handleAnimationStart`,function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),(0,o_.default)(t)&&t()}),e}return PG(t,e),OG(t,[{key:`renderDots`,value:function(e,n,r){var i=this.props.isAnimationActive,a=this.state.isAnimationFinished;if(i&&!a)return null;var o=this.props,s=o.dot,c=o.points,l=o.dataKey,u=Q(this.props,!1),d=Q(s,!0),f=c.map(function(e,n){var r=TG(TG(TG({key:`dot-${n}`,r:3},u),d),{},{index:n,cx:e.x,cy:e.y,dataKey:l,value:e.value,payload:e.payload,points:c});return t.renderDotItem(s,r)}),p={clipPath:e?`url(#clipPath-${n?``:`dots-`}${r})`:null};return U.createElement(z_,CG({className:`recharts-area-dots`},p),f)}},{key:`renderHorizontalRect`,value:function(e){var t=this.props,n=t.baseLine,r=t.points,i=t.strokeWidth,a=r[0].x,o=r[r.length-1].x,s=e*Math.abs(a-o),c=(0,eM.default)(r.map(function(e){return e.y||0}));return Z(n)&&typeof n==`number`?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max((0,eM.default)(n.map(function(e){return e.y||0})),c)),Z(c)?U.createElement(`rect`,{x:a<o?a:a-s,y:0,width:s,height:Math.floor(c+(i?parseInt(`${i}`,10):1))}):null}},{key:`renderVerticalRect`,value:function(e){var t=this.props,n=t.baseLine,r=t.points,i=t.strokeWidth,a=r[0].y,o=r[r.length-1].y,s=e*Math.abs(a-o),c=(0,eM.default)(r.map(function(e){return e.x||0}));return Z(n)&&typeof n==`number`?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max((0,eM.default)(n.map(function(e){return e.x||0})),c)),Z(c)?U.createElement(`rect`,{x:0,y:a<o?a:a-s,width:c+(i?parseInt(`${i}`,10):1),height:Math.floor(s)}):null}},{key:`renderClipRect`,value:function(e){return this.props.layout===`vertical`?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:`renderAreaStatically`,value:function(e,t,n,r){var i=this.props,a=i.layout,o=i.type,s=i.stroke,c=i.connectNulls,l=i.isRange;i.ref;var u=xG(i,_G);return U.createElement(z_,{clipPath:n?`url(#clipPath-${r})`:null},U.createElement(VP,CG({},Q(u,!0),{points:e,connectNulls:c,type:o,baseLine:t,layout:a,stroke:`none`,className:`recharts-area-area`})),s!==`none`&&U.createElement(VP,CG({},Q(this.props,!1),{className:`recharts-area-curve`,layout:a,type:o,connectNulls:c,fill:`none`,points:e})),s!==`none`&&l&&U.createElement(VP,CG({},Q(this.props,!1),{className:`recharts-area-curve`,layout:a,type:o,connectNulls:c,fill:`none`,points:t})))}},{key:`renderAreaWithAnimation`,value:function(e,t){var n=this,r=this.props,i=r.points,a=r.baseLine,o=r.isAnimationActive,s=r.animationBegin,c=r.animationDuration,l=r.animationEasing,u=r.animationId,d=this.state,f=d.prevPoints,p=d.prevBaseLine;return U.createElement(SL,{begin:s,duration:c,isActive:o,easing:l,from:{t:0},to:{t:1},key:`area-${u}`,onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var o=r.t;if(f){var s=f.length/i.length,c=i.map(function(e,t){var n=Math.floor(t*s);if(f[n]){var r=f[n],i=Gg(r.x,e.x),a=Gg(r.y,e.y);return TG(TG({},e),{},{x:i(o),y:a(o)})}return e}),l=Z(a)&&typeof a==`number`?Gg(p,a)(o):(0,X.default)(a)||(0,Ng.default)(a)?Gg(p,0)(o):a.map(function(e,t){var n=Math.floor(t*s);if(p[n]){var r=p[n],i=Gg(r.x,e.x),a=Gg(r.y,e.y);return TG(TG({},e),{},{x:i(o),y:a(o)})}return e});return n.renderAreaStatically(c,l,e,t)}return U.createElement(z_,null,U.createElement(`defs`,null,U.createElement(`clipPath`,{id:`animationClipPath-${t}`},n.renderClipRect(o))),U.createElement(z_,{clipPath:`url(#animationClipPath-${t})`},n.renderAreaStatically(i,a,e,t)))})}},{key:`renderArea`,value:function(e,t){var n=this.props,r=n.points,i=n.baseLine,a=n.isAnimationActive,o=this.state,s=o.prevPoints,c=o.prevBaseLine,l=o.totalLength;return a&&r&&r.length&&(!s&&l>0||!(0,rM.default)(s,r)||!(0,rM.default)(c,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:`render`,value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,i=e.className,a=e.top,o=e.left,s=e.xAxis,c=e.yAxis,l=e.width,u=e.height,f=e.isAnimationActive,p=e.id;if(t||!r||!r.length)return null;var m=this.state.isAnimationFinished,h=r.length===1,g=d(`recharts-area`,i),_=s&&s.allowDataOverflow,v=c&&c.allowDataOverflow,y=_||v,b=(0,X.default)(p)?this.id:p,x=Q(n,!1)??{r:3,strokeWidth:2},S=x.r,C=S===void 0?3:S,w=x.strokeWidth,T=w===void 0?2:w,E=(C_(n)?n:{}).clipDot,D=E===void 0?!0:E,O=C*2+T;return U.createElement(z_,{className:g},_||v?U.createElement(`defs`,null,U.createElement(`clipPath`,{id:`clipPath-${b}`},U.createElement(`rect`,{x:_?o:o-l/2,y:v?a:a-u/2,width:_?l:l*2,height:v?u:u*2})),!D&&U.createElement(`clipPath`,{id:`clipPath-dots-${b}`},U.createElement(`rect`,{x:o-O/2,y:a-O/2,width:l+O,height:u+O}))):null,h?null:this.renderArea(y,b),(n||h)&&this.renderDots(y,D,b),(!f||m)&&fP.renderCallByParent(this.props,r))}}],[{key:`getDerivedStateFromProps`,value:function(e,t){return e.animationId===t.prevAnimationId?e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null:{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}}}])}(U.PureComponent);yG=zG,IG(zG,`displayName`,`Area`),IG(zG,`defaultProps`,{stroke:`#3182bd`,fill:`#3182bd`,fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:`line`,connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!tC.isSsr,animationBegin:0,animationDuration:1500,animationEasing:`ease`}),IG(zG,`getBaseValue`,function(e,t,n,r){var i=e.layout,a=e.baseValue,o=t.props.baseValue??a;if(Z(o)&&typeof o==`number`)return o;var s=i===`horizontal`?r:n,c=s.scale.domain();if(s.type===`number`){var l=Math.max(c[0],c[1]),u=Math.min(c[0],c[1]);return o===`dataMin`?u:o===`dataMax`||l<0?l:Math.max(Math.min(c[0],c[1]),0)}return o===`dataMin`?c[0]:o===`dataMax`?c[1]:c[0]}),IG(zG,`getComposedData`,function(e){var t=e.props,n=e.item,r=e.xAxis,i=e.yAxis,a=e.xAxisTicks,o=e.yAxisTicks,s=e.bandSize,c=e.dataKey,l=e.stackedData,u=e.dataStartIndex,d=e.displayedData,f=e.offset,p=t.layout,m=l&&l.length,h=yG.getBaseValue(t,n,r,i),g=p===`horizontal`,_=!1,v=d.map(function(e,t){var n;m?n=l[u+t]:(n=gM(e,c),Array.isArray(n)?_=!0:n=[h,n]);var d=n[1]==null||m&&gM(e,c)==null;return g?{x:VM({axis:r,ticks:a,bandSize:s,entry:e,index:t}),y:d?null:i.scale(n[1]),value:n,payload:e}:{x:d?null:r.scale(n[1]),y:VM({axis:i,ticks:o,bandSize:s,entry:e,index:t}),value:n,payload:e}});return TG({points:v,baseLine:m||_?v.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:t!=null&&e.y!=null?i.scale(t):null}:{x:t==null?null:r.scale(t),y:e.y}}):g?i.scale(h):r.scale(h),layout:p,isRange:_},f)}),IG(zG,`renderDotItem`,function(e,t){var n;if(U.isValidElement(e))n=U.cloneElement(e,t);else if((0,o_.default)(e))n=e(t);else{var r=d(`recharts-area-dot`,typeof e==`boolean`?``:e.className),i=t.key,a=xG(t,vG);n=U.createElement(nR,CG({},a,{key:i,className:r}))}return n});function BG(e){"@babel/helpers - typeof";return BG=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},BG(e)}function VG(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function HG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,QG(r.key),r)}}function UG(e,t,n){return t&&HG(e.prototype,t),n&&HG(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function WG(e,t,n){return t=JG(t),GG(e,qG()?Reflect.construct(t,n||[],JG(e).constructor):t.apply(e,n))}function GG(e,t){if(t&&(BG(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return KG(e)}function KG(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function qG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qG=function(){return!!e})()}function JG(e){return JG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},JG(e)}function YG(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&XG(e,t)}function XG(e,t){return XG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},XG(e,t)}function ZG(e,t,n){return t=QG(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QG(e){var t=$G(e,`string`);return BG(t)==`symbol`?t:t+``}function $G(e,t){if(BG(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(BG(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var eK=function(e){function t(){return VG(this,t),WG(this,t,arguments)}return YG(t,e),UG(t,[{key:`render`,value:function(){return null}}])}(U.Component);ZG(eK,`displayName`,`ZAxis`),ZG(eK,`defaultProps`,{zAxisId:0,range:[64,64],scale:`auto`,type:`number`});var tK=[`option`,`isActive`];function nK(){return nK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nK.apply(this,arguments)}function rK(e,t){if(e==null)return{};var n=iK(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function iK(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function aK(e){var t=e.option,n=e.isActive,r=rK(e,tK);return typeof t==`string`?U.createElement(Vz,nK({option:U.createElement(Iy,nK({type:t},r)),isActive:n,shapeType:`symbols`},r)):U.createElement(Vz,nK({option:t,isActive:n,shapeType:`symbols`},r))}function oK(e){"@babel/helpers - typeof";return oK=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},oK(e)}function sK(){return sK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sK.apply(this,arguments)}function cK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?cK(Object(n),!0).forEach(function(t){bK(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cK(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uK(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function dK(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,xK(r.key),r)}}function fK(e,t,n){return t&&dK(e.prototype,t),n&&dK(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function pK(e,t,n){return t=_K(t),mK(e,gK()?Reflect.construct(t,n||[],_K(e).constructor):t.apply(e,n))}function mK(e,t){if(t&&(oK(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return hK(e)}function hK(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function gK(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(gK=function(){return!!e})()}function _K(e){return _K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_K(e)}function vK(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&yK(e,t)}function yK(e,t){return yK=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yK(e,t)}function bK(e,t,n){return t=xK(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xK(e){var t=SK(e,`string`);return oK(t)==`symbol`?t:t+``}function SK(e,t){if(oK(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(oK(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var CK=function(e){function t(){var e;uK(this,t);var n=[...arguments];return e=pK(this,t,[].concat(n)),bK(e,`state`,{isAnimationFinished:!1}),bK(e,`handleAnimationEnd`,function(){e.setState({isAnimationFinished:!0})}),bK(e,`handleAnimationStart`,function(){e.setState({isAnimationFinished:!1})}),bK(e,`id`,Vg(`recharts-scatter-`)),e}return vK(t,e),fK(t,[{key:`renderSymbolsStatically`,value:function(e){var t=this,n=this.props,r=n.shape,i=n.activeShape,a=n.activeIndex,o=Q(this.props,!1);return e.map(function(e,n){var s=a===n,c=s?i:r,l=lK(lK({},o),e);return U.createElement(z_,sK({className:`recharts-scatter-symbol`,key:`symbol-${e?.cx}-${e?.cy}-${e?.size}-${n}`},a_(t.props,e,n),{role:`img`}),U.createElement(aK,sK({option:c,isActive:s,key:`symbol-${n}`},l)))})}},{key:`renderSymbolsWithAnimation`,value:function(){var e=this,t=this.props,n=t.points,r=t.isAnimationActive,i=t.animationBegin,a=t.animationDuration,o=t.animationEasing,s=t.animationId,c=this.state.prevPoints;return U.createElement(SL,{begin:i,duration:a,isActive:r,easing:o,from:{t:0},to:{t:1},key:`pie-${s}`,onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(t){var r=t.t,i=n.map(function(e,t){var n=c&&c[t];if(n){var i=Gg(n.cx,e.cx),a=Gg(n.cy,e.cy),o=Gg(n.size,e.size);return lK(lK({},e),{},{cx:i(r),cy:a(r),size:o(r)})}var s=Gg(0,e.size);return lK(lK({},e),{},{size:s(r)})});return U.createElement(z_,null,e.renderSymbolsStatically(i))})}},{key:`renderSymbols`,value:function(){var e=this.props,t=e.points,n=e.isAnimationActive,r=this.state.prevPoints;return n&&t&&t.length&&(!r||!(0,rM.default)(r,t))?this.renderSymbolsWithAnimation():this.renderSymbolsStatically(t)}},{key:`renderErrorBar`,value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,t=e.points,n=e.xAxis,r=e.yAxis,i=e.children,a=v_(i,Kj);return a?a.map(function(e,i){var a=e.props,o=a.direction,s=a.dataKey;return U.cloneElement(e,{key:`${o}-${s}-${t[i]}`,data:t,xAxis:n,yAxis:r,layout:o===`x`?`vertical`:`horizontal`,dataPointFormatter:function(e,t){return{x:e.cx,y:e.cy,value:o===`x`?+e.node.x:+e.node.y,errorVal:gM(e,t)}}})}):null}},{key:`renderLine`,value:function(){var e=this.props,t=e.points,n=e.line,r=e.lineType,i=e.lineJointType,a=Q(this.props,!1),o=Q(n,!1),s,c;if(r===`joint`)s=t.map(function(e){return{x:e.cx,y:e.cy}});else if(r===`fitting`){var l=qg(t),u=l.xmin,d=l.xmax,f=l.a,p=l.b,m=function(e){return f*e+p};s=[{x:u,y:m(u)},{x:d,y:m(d)}]}var h=lK(lK(lK({},a),{},{fill:`none`,stroke:a&&a.fill},o),{},{points:s});return c=U.isValidElement(n)?U.cloneElement(n,h):(0,o_.default)(n)?n(h):U.createElement(VP,sK({},h,{type:i})),U.createElement(z_,{className:`recharts-scatter-line`,key:`recharts-scatter-line`},c)}},{key:`render`,value:function(){var e=this.props,t=e.hide,n=e.points,r=e.line,i=e.className,a=e.xAxis,o=e.yAxis,s=e.left,c=e.top,l=e.width,u=e.height,f=e.id,p=e.isAnimationActive;if(t||!n||!n.length)return null;var m=this.state.isAnimationFinished,h=d(`recharts-scatter`,i),g=a&&a.allowDataOverflow,_=o&&o.allowDataOverflow,v=g||_,y=(0,X.default)(f)?this.id:f;return U.createElement(z_,{className:h,clipPath:v?`url(#clipPath-${y})`:null},g||_?U.createElement(`defs`,null,U.createElement(`clipPath`,{id:`clipPath-${y}`},U.createElement(`rect`,{x:g?s:s-l/2,y:_?c:c-u/2,width:g?l:l*2,height:_?u:u*2}))):null,r&&this.renderLine(),this.renderErrorBar(),U.createElement(z_,{key:`recharts-scatter-symbols`},this.renderSymbols()),(!p||m)&&fP.renderCallByParent(this.props,n))}}],[{key:`getDerivedStateFromProps`,value:function(e,t){return e.animationId===t.prevAnimationId?e.points===t.curPoints?null:{curPoints:e.points}:{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}}}])}(U.PureComponent);bK(CK,`displayName`,`Scatter`),bK(CK,`defaultProps`,{xAxisId:0,yAxisId:0,zAxisId:0,legendType:`circle`,lineType:`joint`,lineJointType:`linear`,data:[],shape:`circle`,hide:!1,isAnimationActive:!tC.isSsr,animationBegin:0,animationDuration:400,animationEasing:`linear`}),bK(CK,`getComposedData`,function(e){var t=e.xAxis,n=e.yAxis,r=e.zAxis,i=e.item,a=e.displayedData,o=e.xAxisTicks,s=e.yAxisTicks,c=e.offset,l=i.props.tooltipType,u=v_(i.props.children,BC),d=(0,X.default)(t.dataKey)?i.props.dataKey:t.dataKey,f=(0,X.default)(n.dataKey)?i.props.dataKey:n.dataKey,p=r&&r.dataKey,m=r?r.range:eK.defaultProps.range,h=m&&m[0],g=t.scale.bandwidth?t.scale.bandwidth():0,_=n.scale.bandwidth?n.scale.bandwidth():0;return lK({points:a.map(function(e,a){var c=gM(e,d),m=gM(e,f),v=!(0,X.default)(p)&&gM(e,p)||`-`,y=[{name:(0,X.default)(t.dataKey)?i.props.name:t.name||t.dataKey,unit:t.unit||``,value:c,payload:e,dataKey:d,type:l},{name:(0,X.default)(n.dataKey)?i.props.name:n.name||n.dataKey,unit:n.unit||``,value:m,payload:e,dataKey:f,type:l}];v!==`-`&&y.push({name:r.name||r.dataKey,unit:r.unit||``,value:v,payload:e,dataKey:p,type:l});var b=VM({axis:t,ticks:o,bandSize:g,entry:e,index:a,dataKey:d}),x=VM({axis:n,ticks:s,bandSize:_,entry:e,index:a,dataKey:f}),S=v===`-`?h:r.scale(v),C=Math.sqrt(Math.max(S,0)/Math.PI);return lK(lK({},e),{},{cx:b,cy:x,x:b-C,y:x-C,xAxis:t,yAxis:n,zAxis:r,width:2*C,height:2*C,size:S,node:{x:c,y:m,z:v},tooltipPayload:y,tooltipPosition:{x:b,y:x},payload:e},u&&u[a]&&u[a].props)})},c)});function wK(e){"@babel/helpers - typeof";return wK=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},wK(e)}function TK(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function EK(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,IK(r.key),r)}}function DK(e,t,n){return t&&EK(e.prototype,t),n&&EK(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function OK(e,t,n){return t=MK(t),kK(e,jK()?Reflect.construct(t,n||[],MK(e).constructor):t.apply(e,n))}function kK(e,t){if(t&&(wK(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return AK(e)}function AK(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function jK(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jK=function(){return!!e})()}function MK(e){return MK=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},MK(e)}function NK(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&PK(e,t)}function PK(e,t){return PK=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},PK(e,t)}function FK(e,t,n){return t=IK(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function IK(e){var t=LK(e,`string`);return wK(t)==`symbol`?t:t+``}function LK(e,t){if(wK(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(wK(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function RK(){return RK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RK.apply(this,arguments)}function zK(e){var t=e.xAxisId,n=wH(),r=TH(),i=vH(t);return i==null?null:U.createElement(xW,RK({},i,{className:d(`recharts-${i.axisType} ${i.axisType}`,i.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(e){return kM(e,!0)}}))}var BK=function(e){function t(){return TK(this,t),OK(this,t,arguments)}return NK(t,e),DK(t,[{key:`render`,value:function(){return U.createElement(zK,this.props)}}])}(U.Component);FK(BK,`displayName`,`XAxis`),FK(BK,`defaultProps`,{allowDecimals:!0,hide:!1,orientation:`bottom`,width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:`category`,padding:{left:0,right:0},allowDataOverflow:!1,scale:`auto`,reversed:!1,allowDuplicatedCategory:!0});function VK(e){"@babel/helpers - typeof";return VK=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},VK(e)}function HK(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function UK(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,$K(r.key),r)}}function WK(e,t,n){return t&&UK(e.prototype,t),n&&UK(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function GK(e,t,n){return t=YK(t),KK(e,JK()?Reflect.construct(t,n||[],YK(e).constructor):t.apply(e,n))}function KK(e,t){if(t&&(VK(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return qK(e)}function qK(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function JK(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(JK=function(){return!!e})()}function YK(e){return YK=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},YK(e)}function XK(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&ZK(e,t)}function ZK(e,t){return ZK=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZK(e,t)}function QK(e,t,n){return t=$K(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $K(e){var t=eq(e,`string`);return VK(t)==`symbol`?t:t+``}function eq(e,t){if(VK(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(VK(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function tq(){return tq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tq.apply(this,arguments)}var nq=function(e){var t=e.yAxisId,n=wH(),r=TH(),i=xH(t);return i==null?null:U.createElement(xW,tq({},i,{className:d(`recharts-${i.axisType} ${i.axisType}`,i.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(e){return kM(e,!0)}}))},rq=function(e){function t(){return HK(this,t),GK(this,t,arguments)}return XK(t,e),WK(t,[{key:`render`,value:function(){return U.createElement(nq,this.props)}}])}(U.Component);QK(rq,`displayName`,`YAxis`),QK(rq,`defaultProps`,{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:`left`,width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:`number`,padding:{top:0,bottom:0},allowDataOverflow:!1,scale:`auto`,reversed:!1});function iq(e){return cq(e)||sq(e)||oq(e)||aq()}function aq(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
107
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oq(e,t){if(e){if(typeof e==`string`)return lq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lq(e,t)}}function sq(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function cq(e){if(Array.isArray(e))return lq(e)}function lq(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var uq=function(e,t,n,r,i){var a=v_(e,$H),o=v_(e,vU),s=[].concat(iq(a),iq(o)),c=v_(e,LU),l=`${r}Id`,u=r[0],d=t;if(s.length&&(d=s.reduce(function(e,t){if(t.props[l]===n&&QB(t.props,`extendDomain`)&&Z(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e},d)),c.length){var f=`${u}1`,p=`${u}2`;d=c.reduce(function(e,t){if(t.props[l]===n&&QB(t.props,`extendDomain`)&&Z(t.props[f])&&Z(t.props[p])){var r=t.props[f],i=t.props[p];return[Math.min(e[0],r,i),Math.max(e[1],r,i)]}return e},d)}return i&&i.length&&(d=i.reduce(function(e,t){return Z(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e},d)),d},dq=new(l(o(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}))())).default,fq=`recharts.syncMouseEvents`;function pq(e){"@babel/helpers - typeof";return pq=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},pq(e)}function mq(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function hq(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,vq(r.key),r)}}function gq(e,t,n){return t&&hq(e.prototype,t),n&&hq(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function _q(e,t,n){return t=vq(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vq(e){var t=yq(e,`string`);return pq(t)==`symbol`?t:t+``}function yq(e,t){if(pq(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(pq(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var bq=function(){function e(){mq(this,e),_q(this,`activeIndex`,0),_q(this,`coordinateList`,[]),_q(this,`layout`,`horizontal`)}return gq(e,[{key:`setDetails`,value:function(e){var t=e.coordinateList,n=t===void 0?null:t,r=e.container,i=r===void 0?null:r,a=e.layout,o=a===void 0?null:a,s=e.offset,c=s===void 0?null:s,l=e.mouseHandlerCallback,u=l===void 0?null:l;this.coordinateList=n??this.coordinateList??[],this.container=i??this.container,this.layout=o??this.layout,this.offset=c??this.offset,this.mouseHandlerCallback=u??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:`focus`,value:function(){this.spoofMouse()}},{key:`keyboardEvent`,value:function(e){if(this.coordinateList.length!==0)switch(e.key){case`ArrowRight`:if(this.layout!==`horizontal`)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case`ArrowLeft`:if(this.layout!==`horizontal`)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break;default:break}}},{key:`setIndex`,value:function(e){this.activeIndex=e}},{key:`spoofMouse`,value:function(){if(this.layout===`horizontal`&&this.coordinateList.length!==0){var e=this.container.getBoundingClientRect(),t=e.x,n=e.y,r=e.height,i=this.coordinateList[this.activeIndex].coordinate,a=window?.scrollX||0,o=window?.scrollY||0,s=t+i+a,c=n+this.offset.top+r/2+o;this.mouseHandlerCallback({pageX:s,pageY:c})}}}])}();function xq(e,t,n){if(n===`number`&&t===!0&&Array.isArray(e)){var r=e?.[0],i=e?.[1];if(r&&i&&Z(r)&&Z(i))return!0}return!1}function Sq(e,t,n,r){var i=r/2;return{stroke:`none`,fill:`#ccc`,x:e===`horizontal`?t.x-i:n.left+.5,y:e===`horizontal`?n.top+.5:t.y-i,width:e===`horizontal`?r:n.width-1,height:e===`horizontal`?n.height-1:r}}function Cq(e){var t=e.cx,n=e.cy,r=e.radius,i=e.startAngle,a=e.endAngle;return{points:[pN(t,n,r,i),pN(t,n,r,a)],cx:t,cy:n,radius:r,startAngle:i,endAngle:a}}function wq(e,t,n){var r,i,a,o;if(e===`horizontal`)r=t.x,a=r,i=n.top,o=n.top+n.height;else if(e===`vertical`)i=t.y,o=i,r=n.left,a=n.left+n.width;else if(t.cx!=null&&t.cy!=null)if(e===`centric`){var s=t.cx,c=t.cy,l=t.innerRadius,u=t.outerRadius,d=t.angle,f=pN(s,c,l,d),p=pN(s,c,u,d);r=f.x,i=f.y,a=p.x,o=p.y}else return Cq(t);return[{x:r,y:i},{x:a,y:o}]}function Tq(e){"@babel/helpers - typeof";return Tq=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Tq(e)}function Eq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Dq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Eq(Object(n),!0).forEach(function(t){Oq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Oq(e,t,n){return t=kq(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kq(e){var t=Aq(e,`string`);return Tq(t)==`symbol`?t:t+``}function Aq(e,t){if(Tq(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Tq(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function jq(e){var t=e.element,n=e.tooltipEventType,r=e.isActive,i=e.activeCoordinate,a=e.activePayload,o=e.offset,s=e.activeTooltipIndex,c=e.tooltipAxisBandSize,l=e.layout,u=e.chartName,f=t.props.cursor??t.type.defaultProps?.cursor;if(!t||!f||!r||!i||u!==`ScatterChart`&&n!==`axis`)return null;var p,m=VP;if(u===`ScatterChart`)p=i,m=mR;else if(u===`BarChart`)p=Sq(l,i,o,c),m=zL;else if(l===`radial`){var h=Cq(i),g=h.cx,_=h.cy,v=h.radius;p={cx:g,cy:_,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:v,outerRadius:v},m=DP}else p={points:wq(l,i,o)},m=VP;var y=Dq(Dq(Dq(Dq({stroke:`#ccc`,pointerEvents:`none`},o),p),Q(f,!1)),{},{payload:a,payloadIndex:s,className:d(`recharts-tooltip-cursor`,f.className)});return(0,U.isValidElement)(f)?(0,U.cloneElement)(f,y):(0,U.createElement)(m,y)}var Mq=[`item`],Nq=[`children`,`className`,`width`,`height`,`style`,`compact`,`title`,`desc`];function Pq(e){"@babel/helpers - typeof";return Pq=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Pq(e)}function Fq(){return Fq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fq.apply(this,arguments)}function Iq(e,t){return zq(e)||Rq(e,t)||eJ(e,t)||Lq()}function Lq(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
108
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rq(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function zq(e){if(Array.isArray(e))return e}function Bq(e,t){if(e==null)return{};var n=Vq(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Vq(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Hq(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Uq(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,oJ(r.key),r)}}function Wq(e,t,n){return t&&Uq(e.prototype,t),n&&Uq(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function Gq(e,t,n){return t=Yq(t),Kq(e,Jq()?Reflect.construct(t,n||[],Yq(e).constructor):t.apply(e,n))}function Kq(e,t){if(t&&(Pq(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return qq(e)}function qq(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Jq(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Jq=function(){return!!e})()}function Yq(e){return Yq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yq(e)}function Xq(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&Zq(e,t)}function Zq(e,t){return Zq=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zq(e,t)}function Qq(e){return nJ(e)||tJ(e)||eJ(e)||$q()}function $q(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
109
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eJ(e,t){if(e){if(typeof e==`string`)return rJ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rJ(e,t)}}function tJ(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function nJ(e){if(Array.isArray(e))return rJ(e)}function rJ(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?iJ(Object(n),!0).forEach(function(t){aJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function aJ(e,t,n){return t=oJ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oJ(e){var t=sJ(e,`string`);return Pq(t)==`symbol`?t:t+``}function sJ(e,t){if(Pq(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Pq(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var cJ={xAxis:[`bottom`,`top`],yAxis:[`left`,`right`]},lJ={width:`100%`,height:`100%`},uJ={x:0,y:0};function dJ(e){return e}var fJ=function(e,t){return t===`horizontal`?e.x:t===`vertical`?e.y:t===`centric`?e.angle:e.radius},pJ=function(e,t,n,r){var i=t.find(function(e){return e&&e.index===n});if(i){if(e===`horizontal`)return{x:i.coordinate,y:r.y};if(e===`vertical`)return{x:r.x,y:i.coordinate};if(e===`centric`){var a=i.coordinate,o=r.radius;return $($($({},r),pN(r.cx,r.cy,o,a)),{},{angle:a,radius:o})}var s=i.coordinate,c=r.angle;return $($($({},r),pN(r.cx,r.cy,s,c)),{},{angle:c,radius:s})}return uJ},mJ=function(e,t){var n=t.graphicalItems,r=t.dataStartIndex,i=t.dataEndIndex,a=(n??[]).reduce(function(e,t){var n=t.props.data;return n&&n.length?[].concat(Qq(e),Qq(n)):e},[]);return a.length>0?a:e&&e.length&&Z(r)&&Z(i)?e.slice(r,i+1):[]};function hJ(e){return e===`number`?[0,`auto`]:void 0}var gJ=function(e,t,n,r){var i=e.graphicalItems,a=e.tooltipAxis,o=mJ(t,e);return n<0||!i||!i.length||n>=o.length?null:i.reduce(function(i,s){var c=s.props.data??t;c&&e.dataStartIndex+e.dataEndIndex!==0&&e.dataEndIndex-e.dataStartIndex>=n&&(c=c.slice(e.dataStartIndex,e.dataEndIndex+1));var l=a.dataKey&&!a.allowDuplicatedCategory?Kg(c===void 0?o:c,a.dataKey,r):c&&c[n]||o[n];return l?[].concat(Qq(i),[QM(s,l)]):i},[])},_J=function(e,t,n,r){var i=r||{x:e.chartX,y:e.chartY},a=fJ(i,n),o=e.orderedTooltipTicks,s=e.tooltipAxis,c=e.tooltipTicks,l=vM(a,o,c,s);if(l>=0&&c){var u=c[l]&&c[l].value;return{activeTooltipIndex:l,activeLabel:u,activePayload:gJ(e,t,l,u),activeCoordinate:pJ(n,o,l,i)}}return null},vJ=function(e,t){var n=t.axes,r=t.graphicalItems,i=t.axisType,a=t.axisIdKey,o=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.layout,u=e.children,d=e.stackOffset,f=DM(l,i);return n.reduce(function(t,n){var p=n.type.defaultProps===void 0?n.props:$($({},n.type.defaultProps),n.props),m=p.type,h=p.dataKey,g=p.allowDataOverflow,_=p.allowDuplicatedCategory,v=p.scale,y=p.ticks,b=p.includeHidden,x=p[a];if(t[x])return t;var S=mJ(e.data,{graphicalItems:r.filter(function(e){return(a in e.props?e.props[a]:e.type.defaultProps?.[a])===x}),dataStartIndex:s,dataEndIndex:c}),C=S.length,w,T,E;xq(p.domain,g,m)&&(w=YM(p.domain,null,g),f&&(m===`number`||v!==`auto`)&&(E=_M(S,h,`category`)));var D=hJ(m);if(!w||w.length===0){var O=p.domain??D;if(h){if(w=_M(S,h,m),m===`category`&&f){var k=Wg(w);_&&k?(T=w,w=(0,kB.default)(0,C)):_||(w=ZM(O,w,n).reduce(function(e,t){return e.indexOf(t)>=0?e:[].concat(Qq(e),[t])},[]))}else if(m===`category`)w=_?w.filter(function(e){return e!==``&&!(0,X.default)(e)}):ZM(O,w,n).reduce(function(e,t){return e.indexOf(t)>=0||t===``||(0,X.default)(t)?e:[].concat(Qq(e),[t])},[]);else if(m===`number`){var A=TM(S,r.filter(function(e){var t=a in e.props?e.props[a]:e.type.defaultProps?.[a],n=`hide`in e.props?e.props.hide:e.type.defaultProps?.hide;return t===x&&(b||!n)}),h,i,l);A&&(w=A)}f&&(m===`number`||v!==`auto`)&&(E=_M(S,h,`category`))}else w=f?(0,kB.default)(0,C):o&&o[x]&&o[x].hasStack&&m===`number`?d===`expand`?[0,1]:KM(o[x].stackGroups,s,c):EM(S,r.filter(function(e){var t=a in e.props?e.props[a]:e.type.defaultProps[a],n=`hide`in e.props?e.props.hide:e.type.defaultProps.hide;return t===x&&(b||!n)}),m,l,!0);if(m===`number`)w=uq(u,w,x,i,y),O&&(w=YM(O,w,g));else if(m===`category`&&O){var j=O;w.every(function(e){return j.indexOf(e)>=0})&&(w=j)}}return $($({},t),{},aJ({},x,$($({},p),{},{axisType:i,domain:w,categoricalDomain:E,duplicateDomain:T,originalDomain:p.domain??D,isCategorical:f,layout:l})))},{})},yJ=function(e,t){var n=t.graphicalItems,r=t.Axis,i=t.axisType,a=t.axisIdKey,o=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.layout,u=e.children,d=mJ(e.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:c}),f=d.length,p=DM(l,i),m=-1;return n.reduce(function(e,t){var h=(t.type.defaultProps===void 0?t.props:$($({},t.type.defaultProps),t.props))[a],g=hJ(`number`);if(!e[h]){m++;var _;return p?_=(0,kB.default)(0,f):o&&o[h]&&o[h].hasStack?(_=KM(o[h].stackGroups,s,c),_=uq(u,_,h,i)):(_=YM(g,EM(d,n.filter(function(e){var t=a in e.props?e.props[a]:e.type.defaultProps?.[a],n=`hide`in e.props?e.props.hide:e.type.defaultProps?.hide;return t===h&&!n}),`number`,l),r.defaultProps.allowDataOverflow),_=uq(u,_,h,i)),$($({},e),{},aJ({},h,$($({axisType:i},r.defaultProps),{},{hide:!0,orientation:(0,Pg.default)(cJ,`${i}.${m%2}`,null),domain:_,originalDomain:g,isCategorical:p,layout:l})))}return e},{})},bJ=function(e,t){var n=t.axisType,r=n===void 0?`xAxis`:n,i=t.AxisComp,a=t.graphicalItems,o=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.children,u=`${r}Id`,d=v_(l,i),f={};return d&&d.length?f=vJ(e,{axes:d,graphicalItems:a,axisType:r,axisIdKey:u,stackGroups:o,dataStartIndex:s,dataEndIndex:c}):a&&a.length&&(f=yJ(e,{Axis:i,graphicalItems:a,axisType:r,axisIdKey:u,stackGroups:o,dataStartIndex:s,dataEndIndex:c})),f},xJ=function(e){var t=Ug(e),n=kM(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:(0,dS.default)(n,function(e){return e.coordinate}),tooltipAxis:t,tooltipAxisBandSize:XM(t,n)}},SJ=function(e){var t=e.children,n=e.defaultShowTooltip,r=y_(t,YB),i=0,a=0;return e.data&&e.data.length!==0&&(a=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(i=r.props.startIndex),r.props.endIndex>=0&&(a=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:a,activeTooltipIndex:-1,isTooltipActive:!!n}},CJ=function(e){return!e||!e.length?!1:e.some(function(e){var t=m_(e&&e.type);return t&&t.indexOf(`Bar`)>=0})},wJ=function(e){return e===`horizontal`?{numericAxisName:`yAxis`,cateAxisName:`xAxis`}:e===`vertical`?{numericAxisName:`xAxis`,cateAxisName:`yAxis`}:e===`centric`?{numericAxisName:`radiusAxis`,cateAxisName:`angleAxis`}:{numericAxisName:`angleAxis`,cateAxisName:`radiusAxis`}},TJ=function(e,t){var n=e.props,r=e.graphicalItems,i=e.xAxisMap,a=i===void 0?{}:i,o=e.yAxisMap,s=o===void 0?{}:o,c=n.width,l=n.height,u=n.children,d=n.margin||{},f=y_(u,YB),p=y_(u,Ux),m=Object.keys(s).reduce(function(e,t){var n=s[t],r=n.orientation;return!n.mirror&&!n.hide?$($({},e),{},aJ({},r,e[r]+n.width)):e},{left:d.left||0,right:d.right||0}),h=$($({},Object.keys(a).reduce(function(e,t){var n=a[t],r=n.orientation;return!n.mirror&&!n.hide?$($({},e),{},aJ({},r,(0,Pg.default)(e,`${r}`)+n.height)):e},{top:d.top||0,bottom:d.bottom||0})),m),g=h.bottom;f&&(h.bottom+=f.props.height||YB.defaultProps.height),p&&t&&(h=SM(h,r,n,t));var _=c-h.left-h.right,v=l-h.top-h.bottom;return $($({brushBottom:g},h),{},{width:Math.max(_,0),height:Math.max(v,0)})},EJ=function(e,t){if(t===`xAxis`)return e[t].width;if(t===`yAxis`)return e[t].height},DJ=function(e){var t=e.chartName,n=e.GraphicalChild,r=e.defaultTooltipEventType,i=r===void 0?`axis`:r,a=e.validateTooltipEventTypes,o=a===void 0?[`axis`]:a,s=e.axisComponents,c=e.legendContent,l=e.formatAxisMap,u=e.defaultProps,f=function(e,t){var n=t.graphicalItems,r=t.stackGroups,i=t.offset,a=t.updateId,o=t.dataStartIndex,c=t.dataEndIndex,l=e.barSize,u=e.layout,d=e.barGap,f=e.barCategoryGap,p=e.maxBarSize,m=wJ(u),h=m.numericAxisName,g=m.cateAxisName,_=CJ(n),v=[];return n.forEach(function(n,m){var y=mJ(e.data,{graphicalItems:[n],dataStartIndex:o,dataEndIndex:c}),b=n.type.defaultProps===void 0?n.props:$($({},n.type.defaultProps),n.props),x=b.dataKey,S=b.maxBarSize,C=b[`${h}Id`],w=b[`${g}Id`],T=s.reduce(function(e,n){var r=t[`${n.axisType}Map`],i=b[`${n.axisType}Id`];!(r&&r[i]||n.axisType===`zAxis`)&&xj(!1);var a=r[i];return $($({},e),{},aJ(aJ({},n.axisType,a),`${n.axisType}Ticks`,kM(a)))},{}),E=T[g],D=T[`${g}Ticks`],O=r&&r[C]&&r[C].hasStack&&WM(n,r[C].stackGroups),k=m_(n.type).indexOf(`Bar`)>=0,A=XM(E,D),j=[],M=_&&bM({barSize:l,stackGroups:r,totalSize:EJ(T,g)});if(k){var N=(0,X.default)(S)?p:S,P=XM(E,D,!0)??N??0;j=xM({barGap:d,barCategoryGap:f,bandSize:P===A?A:P,sizeList:M[w],maxBarSize:N}),P!==A&&(j=j.map(function(e){return $($({},e),{},{position:$($({},e.position),{},{offset:e.position.offset-P/2})})}))}var F=n&&n.type&&n.type.getComposedData;F&&v.push({props:$($({},F($($({},T),{},{displayedData:y,props:e,dataKey:x,item:n,bandSize:A,barPosition:j,offset:i,stackedData:O,layout:u,dataStartIndex:o,dataEndIndex:c}))),{},aJ(aJ(aJ({key:n.key||`item-${m}`},h,T[h]),g,T[g]),`animationId`,a)),childIndex:k_(n,e.children),item:n})}),v},p=function(e,r){var i=e.props,a=e.dataStartIndex,o=e.dataEndIndex,c=e.updateId;if(!b_({props:i}))return null;var u=i.children,d=i.layout,p=i.stackOffset,m=i.data,h=i.reverseStackOrder,g=wJ(d),_=g.numericAxisName,v=g.cateAxisName,y=v_(u,n),b=zM(m,y,`${_}Id`,`${v}Id`,p,h),x=s.reduce(function(e,t){var n=`${t.axisType}Map`;return $($({},e),{},aJ({},n,bJ(i,$($({},t),{},{graphicalItems:y,stackGroups:t.axisType===_&&b,dataStartIndex:a,dataEndIndex:o}))))},{}),S=TJ($($({},x),{},{props:i,graphicalItems:y}),r?.legendBBox);Object.keys(x).forEach(function(e){x[e]=l(i,x[e],S,e.replace(`Map`,``),t)});var C=x[`${v}Map`],w=xJ(C);return $($({formattedGraphicalItems:f(i,$($({},x),{},{dataStartIndex:a,dataEndIndex:o,updateId:c,graphicalItems:y,stackGroups:b,offset:S})),graphicalItems:y,offset:S,stackGroups:b},w),x)},m=function(e){function n(e){var r;return Hq(this,n),r=Gq(this,n,[e]),aJ(r,`eventEmitterSymbol`,Symbol(`rechartsEventEmitter`)),aJ(r,`accessibilityManager`,new bq),aJ(r,`handleLegendBBoxUpdate`,function(e){if(e){var t=r.state,n=t.dataStartIndex,i=t.dataEndIndex,a=t.updateId;r.setState($({legendBBox:e},p({props:r.props,dataStartIndex:n,dataEndIndex:i,updateId:a},$($({},r.state),{},{legendBBox:e}))))}}),aJ(r,`handleReceiveSyncEvent`,function(e,t,n){if(r.props.syncId===e){if(n===r.eventEmitterSymbol&&typeof r.props.syncMethod!=`function`)return;r.applySyncEvent(t)}}),aJ(r,`handleBrushChange`,function(e){var t=e.startIndex,n=e.endIndex;if(t!==r.state.dataStartIndex||n!==r.state.dataEndIndex){var i=r.state.updateId;r.setState(function(){return $({dataStartIndex:t,dataEndIndex:n},p({props:r.props,dataStartIndex:t,dataEndIndex:n,updateId:i},r.state))}),r.triggerSyncEvent({dataStartIndex:t,dataEndIndex:n})}}),aJ(r,`handleMouseEnter`,function(e){var t=r.getMouseInfo(e);if(t){var n=$($({},t),{},{isTooltipActive:!0});r.setState(n),r.triggerSyncEvent(n);var i=r.props.onMouseEnter;(0,o_.default)(i)&&i(n,e)}}),aJ(r,`triggeredAfterMouseMove`,function(e){var t=r.getMouseInfo(e),n=t?$($({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};r.setState(n),r.triggerSyncEvent(n);var i=r.props.onMouseMove;(0,o_.default)(i)&&i(n,e)}),aJ(r,`handleItemMouseEnter`,function(e){r.setState(function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}})}),aJ(r,`handleItemMouseLeave`,function(){r.setState(function(){return{isTooltipActive:!1}})}),aJ(r,`handleMouseMove`,function(e){e.persist(),r.throttleTriggeredAfterMouseMove(e)}),aJ(r,`handleMouseLeave`,function(e){r.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};r.setState(t),r.triggerSyncEvent(t);var n=r.props.onMouseLeave;(0,o_.default)(n)&&n(t,e)}),aJ(r,`handleOuterEvent`,function(e){var t=O_(e),n=(0,Pg.default)(r.props,`${t}`);t&&(0,o_.default)(n)&&n((/.*touch.*/i.test(t)?r.getMouseInfo(e.changedTouches[0]):r.getMouseInfo(e))??{},e)}),aJ(r,`handleClick`,function(e){var t=r.getMouseInfo(e);if(t){var n=$($({},t),{},{isTooltipActive:!0});r.setState(n),r.triggerSyncEvent(n);var i=r.props.onClick;(0,o_.default)(i)&&i(n,e)}}),aJ(r,`handleMouseDown`,function(e){var t=r.props.onMouseDown;(0,o_.default)(t)&&t(r.getMouseInfo(e),e)}),aJ(r,`handleMouseUp`,function(e){var t=r.props.onMouseUp;(0,o_.default)(t)&&t(r.getMouseInfo(e),e)}),aJ(r,`handleTouchMove`,function(e){e.changedTouches!=null&&e.changedTouches.length>0&&r.throttleTriggeredAfterMouseMove(e.changedTouches[0])}),aJ(r,`handleTouchStart`,function(e){e.changedTouches!=null&&e.changedTouches.length>0&&r.handleMouseDown(e.changedTouches[0])}),aJ(r,`handleTouchEnd`,function(e){e.changedTouches!=null&&e.changedTouches.length>0&&r.handleMouseUp(e.changedTouches[0])}),aJ(r,`handleDoubleClick`,function(e){var t=r.props.onDoubleClick;(0,o_.default)(t)&&t(r.getMouseInfo(e),e)}),aJ(r,`handleContextMenu`,function(e){var t=r.props.onContextMenu;(0,o_.default)(t)&&t(r.getMouseInfo(e),e)}),aJ(r,`triggerSyncEvent`,function(e){r.props.syncId!==void 0&&dq.emit(fq,r.props.syncId,e,r.eventEmitterSymbol)}),aJ(r,`applySyncEvent`,function(e){var t=r.props,n=t.layout,i=t.syncMethod,a=r.state.updateId,o=e.dataStartIndex,s=e.dataEndIndex;if(e.dataStartIndex!==void 0||e.dataEndIndex!==void 0)r.setState($({dataStartIndex:o,dataEndIndex:s},p({props:r.props,dataStartIndex:o,dataEndIndex:s,updateId:a},r.state)));else if(e.activeTooltipIndex!==void 0){var c=e.chartX,l=e.chartY,u=e.activeTooltipIndex,d=r.state,f=d.offset,m=d.tooltipTicks;if(!f)return;if(typeof i==`function`)u=i(m,e);else if(i===`value`){u=-1;for(var h=0;h<m.length;h++)if(m[h].value===e.activeLabel){u=h;break}}var g=$($({},f),{},{x:f.left,y:f.top}),_=Math.min(c,g.x+g.width),v=Math.min(l,g.y+g.height),y=m[u]&&m[u].value,b=gJ(r.state,r.props.data,u),x=m[u]?{x:n===`horizontal`?m[u].coordinate:_,y:n===`horizontal`?v:m[u].coordinate}:uJ;r.setState($($({},e),{},{activeLabel:y,activeCoordinate:x,activePayload:b,activeTooltipIndex:u}))}else r.setState(e)}),aJ(r,`renderCursor`,function(e){var n=r.state,i=n.isTooltipActive,a=n.activeCoordinate,o=n.activePayload,s=n.offset,c=n.activeTooltipIndex,l=n.tooltipAxisBandSize,u=r.getTooltipEventType(),d=e.props.active??i,f=r.props.layout,p=e.key||`_recharts-cursor`;return U.createElement(jq,{key:p,activeCoordinate:a,activePayload:o,activeTooltipIndex:c,chartName:t,element:e,isActive:d,layout:f,offset:s,tooltipAxisBandSize:l,tooltipEventType:u})}),aJ(r,`renderPolarAxis`,function(e,t,n){var i=(0,Pg.default)(e,`type.axisType`),a=(0,Pg.default)(r.state,`${i}Map`),o=e.type.defaultProps,s=o===void 0?e.props:$($({},o),e.props),c=a&&a[s[`${i}Id`]];return(0,U.cloneElement)(e,$($({},c),{},{className:d(i,c.className),key:e.key||`${t}-${n}`,ticks:kM(c,!0)}))}),aJ(r,`renderPolarGrid`,function(e){var t=e.props,n=t.radialLines,i=t.polarAngles,a=t.polarRadius,o=r.state,s=o.radiusAxisMap,c=o.angleAxisMap,l=Ug(s),u=Ug(c),d=u.cx,f=u.cy,p=u.innerRadius,m=u.outerRadius;return(0,U.cloneElement)(e,{polarAngles:Array.isArray(i)?i:kM(u,!0).map(function(e){return e.coordinate}),polarRadius:Array.isArray(a)?a:kM(l,!0).map(function(e){return e.coordinate}),cx:d,cy:f,innerRadius:p,outerRadius:m,key:e.key||`polar-grid`,radialLines:n})}),aJ(r,`renderLegend`,function(){var e=r.state.formattedGraphicalItems,t=r.props,n=t.children,i=t.width,a=t.height,o=r.props.margin||{},s=$j({children:n,formattedGraphicalItems:e,legendWidth:i-(o.left||0)-(o.right||0),legendContent:c});if(!s)return null;var l=s.item;return(0,U.cloneElement)(l,$($({},Bq(s,Mq)),{},{chartWidth:i,chartHeight:a,margin:o,onBBoxUpdate:r.handleLegendBBoxUpdate}))}),aJ(r,`renderTooltip`,function(){var e=r.props,t=e.children,n=e.accessibilityLayer,i=y_(t,bC);if(!i)return null;var a=r.state,o=a.isTooltipActive,s=a.activeCoordinate,c=a.activePayload,l=a.activeLabel,u=a.offset,d=i.props.active??o;return(0,U.cloneElement)(i,{viewBox:$($({},u),{},{x:u.left,y:u.top}),active:d,label:l,payload:d?c:[],coordinate:s,accessibilityLayer:n})}),aJ(r,`renderBrush`,function(e){var t=r.props,n=t.margin,i=t.data,a=r.state,o=a.offset,s=a.dataStartIndex,c=a.dataEndIndex,l=a.updateId;return(0,U.cloneElement)(e,{key:e.key||`_recharts-brush`,onChange:jM(r.handleBrushChange,e.props.onChange),data:i,x:Z(e.props.x)?e.props.x:o.left,y:Z(e.props.y)?e.props.y:o.top+o.height+o.brushBottom-(n.bottom||0),width:Z(e.props.width)?e.props.width:o.width,startIndex:s,endIndex:c,updateId:`brush-${l}`})}),aJ(r,`renderReferenceElement`,function(e,t,n){if(!e)return null;var i=r.clipPathId,a=r.state,o=a.xAxisMap,s=a.yAxisMap,c=a.offset,l=e.type.defaultProps||{},u=e.props,d=u.xAxisId,f=d===void 0?l.xAxisId:d,p=u.yAxisId,m=p===void 0?l.yAxisId:p;return(0,U.cloneElement)(e,{key:e.key||`${t}-${n}`,xAxis:o[f],yAxis:s[m],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:i})}),aJ(r,`renderActivePoints`,function(e){var t=e.item,r=e.activePoint,i=e.basePoint,a=e.childIndex,o=e.isRange,s=[],c=t.props.key,l=t.item.type.defaultProps===void 0?t.item.props:$($({},t.item.type.defaultProps),t.item.props),u=l.activeDot,d=l.dataKey,f=$($({index:a,dataKey:d,cx:r.x,cy:r.y,r:4,fill:yM(t.item),strokeWidth:2,stroke:`#fff`,payload:r.payload,value:r.value},Q(u,!1)),r_(u));return s.push(n.renderActiveDot(u,f,`${c}-activePoint-${a}`)),i?s.push(n.renderActiveDot(u,$($({},f),{},{cx:i.x,cy:i.y}),`${c}-basePoint-${a}`)):o&&s.push(null),s}),aJ(r,`renderGraphicChild`,function(e,t,n){var i=r.filterFormatItem(e,t,n);if(!i)return null;var a=r.getTooltipEventType(),o=r.state,s=o.isTooltipActive,c=o.tooltipAxis,l=o.activeTooltipIndex,u=o.activeLabel,d=r.props.children,f=y_(d,bC),p=i.props,m=p.points,h=p.isRange,g=p.baseLine,_=i.item.type.defaultProps===void 0?i.item.props:$($({},i.item.type.defaultProps),i.item.props),v=_.activeDot,y=_.hide,b=_.activeBar,x=_.activeShape,S=!!(!y&&s&&f&&(v||b||x)),C={};a!==`axis`&&f&&f.props.trigger===`click`?C={onClick:jM(r.handleItemMouseEnter,e.props.onClick)}:a!==`axis`&&(C={onMouseLeave:jM(r.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:jM(r.handleItemMouseEnter,e.props.onMouseEnter)});var w=(0,U.cloneElement)(e,$($({},i.props),C));function T(e){return typeof c.dataKey==`function`?c.dataKey(e.payload):null}if(S)if(l>=0){var E,D;if(c.dataKey&&!c.allowDuplicatedCategory){var O=typeof c.dataKey==`function`?T:`payload.${c.dataKey.toString()}`;E=Kg(m,O,u),D=h&&g&&Kg(g,O,u)}else E=m?.[l],D=h&&g&&g[l];if(x||b){var k=e.props.activeIndex===void 0?l:e.props.activeIndex;return[(0,U.cloneElement)(e,$($($({},i.props),C),{},{activeIndex:k})),null,null]}if(!(0,X.default)(E))return[w].concat(Qq(r.renderActivePoints({item:i,activePoint:E,basePoint:D,childIndex:l,isRange:h})))}else{var A=(r.getItemByXY(r.state.activeCoordinate)??{graphicalItem:w}).graphicalItem,j=A.item,M=j===void 0?e:j,N=A.childIndex;return[(0,U.cloneElement)(M,$($($({},i.props),C),{},{activeIndex:N})),null,null]}return h?[w,null,null]:[w,null]}),aJ(r,`renderCustomized`,function(e,t,n){return(0,U.cloneElement)(e,$($({key:`recharts-customized-${n}`},r.props),r.state))}),aJ(r,`renderMap`,{CartesianGrid:{handler:dJ,once:!0},ReferenceArea:{handler:r.renderReferenceElement},ReferenceLine:{handler:dJ},ReferenceDot:{handler:r.renderReferenceElement},XAxis:{handler:dJ},YAxis:{handler:dJ},Brush:{handler:r.renderBrush,once:!0},Bar:{handler:r.renderGraphicChild},Line:{handler:r.renderGraphicChild},Area:{handler:r.renderGraphicChild},Radar:{handler:r.renderGraphicChild},RadialBar:{handler:r.renderGraphicChild},Scatter:{handler:r.renderGraphicChild},Pie:{handler:r.renderGraphicChild},Funnel:{handler:r.renderGraphicChild},Tooltip:{handler:r.renderCursor,once:!0},PolarGrid:{handler:r.renderPolarGrid,once:!0},PolarAngleAxis:{handler:r.renderPolarAxis},PolarRadiusAxis:{handler:r.renderPolarAxis},Customized:{handler:r.renderCustomized}}),r.clipPathId=`${e.id??Vg(`recharts`)}-clip`,r.throttleTriggeredAfterMouseMove=(0,EC.default)(r.triggeredAfterMouseMove,e.throttleDelay??1e3/60),r.state={},r}return Xq(n,e),Wq(n,[{key:`componentDidMount`,value:function(){this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:this.props.margin.left??0,top:this.props.margin.top??0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:`displayDefaultTooltip`,value:function(){var e=this.props,t=e.children,n=e.data,r=e.height,i=e.layout,a=y_(t,bC);if(a){var o=a.props.defaultIndex;if(!(typeof o!=`number`||o<0||o>this.state.tooltipTicks.length-1)){var s=this.state.tooltipTicks[o]&&this.state.tooltipTicks[o].value,c=gJ(this.state,n,o,s),l=this.state.tooltipTicks[o].coordinate,u=(this.state.offset.top+r)/2,d=i===`horizontal`?{x:l,y:u}:{y:l,x:u},f=this.state.formattedGraphicalItems.find(function(e){return e.item.type.name===`Scatter`});f&&(d=$($({},d),f.props.points[o].tooltipPosition),c=f.props.points[o].tooltipPayload);var p={activeTooltipIndex:o,isTooltipActive:!0,activeLabel:s,activePayload:c,activeCoordinate:d};this.setState(p),this.renderCursor(a),this.accessibilityManager.setIndex(o)}}}},{key:`getSnapshotBeforeUpdate`,value:function(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:this.props.margin.left??0,top:this.props.margin.top??0}}),null):null}},{key:`componentDidUpdate`,value:function(e){T_([y_(e.children,bC)],[y_(this.props.children,bC)])||this.displayDefaultTooltip()}},{key:`componentWillUnmount`,value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:`getTooltipEventType`,value:function(){var e=y_(this.props.children,bC);if(e&&typeof e.props.shared==`boolean`){var t=e.props.shared?`axis`:`item`;return o.indexOf(t)>=0?t:i}return i}},{key:`getMouseInfo`,value:function(e){if(!this.container)return null;var t=this.container,n=t.getBoundingClientRect(),r=$C(n),i={chartX:Math.round(e.pageX-r.left),chartY:Math.round(e.pageY-r.top)},a=n.width/t.offsetWidth||1,o=this.inRange(i.chartX,i.chartY,a);if(!o)return null;var s=this.state,c=s.xAxisMap,l=s.yAxisMap,u=this.getTooltipEventType(),d=_J(this.state,this.props.data,this.props.layout,o);if(u!==`axis`&&c&&l){var f=Ug(c).scale,p=Ug(l).scale,m=f&&f.invert?f.invert(i.chartX):null,h=p&&p.invert?p.invert(i.chartY):null;return $($({},i),{},{xValue:m,yValue:h},d)}return d?$($({},i),d):null}},{key:`inRange`,value:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=this.props.layout,i=e/n,a=t/n;if(r===`horizontal`||r===`vertical`){var o=this.state.offset;return i>=o.left&&i<=o.left+o.width&&a>=o.top&&a<=o.top+o.height?{x:i,y:a}:null}var s=this.state,c=s.angleAxisMap,l=s.radiusAxisMap;if(c&&l){var u=Ug(c);return bN({x:i,y:a},u)}return null}},{key:`parseEventsOfWrapper`,value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=y_(e,bC),r={};return n&&t===`axis`&&(r=n.props.trigger===`click`?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),$($({},r_(this.props,this.handleOuterEvent)),r)}},{key:`addListener`,value:function(){dq.on(fq,this.handleReceiveSyncEvent)}},{key:`removeListener`,value:function(){dq.removeListener(fq,this.handleReceiveSyncEvent)}},{key:`filterFormatItem`,value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,i=0,a=r.length;i<a;i++){var o=r[i];if(o.item===e||o.props.key===e.key||t===m_(o.item.type)&&n===o.childIndex)return o}return null}},{key:`renderClipPath`,value:function(){var e=this.clipPathId,t=this.state.offset,n=t.left,r=t.top,i=t.height,a=t.width;return U.createElement(`defs`,null,U.createElement(`clipPath`,{id:e},U.createElement(`rect`,{x:n,y:r,height:i,width:a})))}},{key:`getXScales`,value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce(function(e,t){var n=Iq(t,2),r=n[0],i=n[1];return $($({},e),{},aJ({},r,i.scale))},{}):null}},{key:`getYScales`,value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce(function(e,t){var n=Iq(t,2),r=n[0],i=n[1];return $($({},e),{},aJ({},r,i.scale))},{}):null}},{key:`getXScaleByAxisId`,value:function(e){var t;return(t=this.state.xAxisMap)==null||(t=t[e])==null?void 0:t.scale}},{key:`getYScaleByAxisId`,value:function(e){var t;return(t=this.state.yAxisMap)==null||(t=t[e])==null?void 0:t.scale}},{key:`getItemByXY`,value:function(e){var t=this.state,n=t.formattedGraphicalItems,r=t.activeItem;if(n&&n.length)for(var i=0,a=n.length;i<a;i++){var o=n[i],s=o.props,c=o.item,l=c.type.defaultProps===void 0?c.props:$($({},c.type.defaultProps),c.props),u=m_(c.type);if(u===`Bar`){var d=(s.data||[]).find(function(t){return LL(e,t)});if(d)return{graphicalItem:o,payload:d}}else if(u===`RadialBar`){var f=(s.data||[]).find(function(t){return bN(e,t)});if(f)return{graphicalItem:o,payload:f}}else if(Hz(o,r)||Uz(o,r)||Wz(o,r)){var p=Zz({graphicalItem:o,activeTooltipItem:r,itemData:l.data}),m=l.activeIndex===void 0?p:l.activeIndex;return{graphicalItem:$($({},o),{},{childIndex:m}),payload:Wz(o,r)?l.data[p]:o.props.data[p]}}}return null}},{key:`render`,value:function(){var e=this;if(!b_(this))return null;var t=this.props,n=t.children,r=t.className,i=t.width,a=t.height,o=t.style,s=t.compact,c=t.title,l=t.desc,u=Q(Bq(t,Nq),!1);if(s)return U.createElement(gH,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},U.createElement(P_,Fq({},u,{width:i,height:a,title:c,desc:l}),this.renderClipPath(),D_(n,this.renderMap)));this.props.accessibilityLayer&&(u.tabIndex=this.props.tabIndex??0,u.role=this.props.role??`application`,u.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},u.onFocus=function(){e.accessibilityManager.focus()});var f=this.parseEventsOfWrapper();return U.createElement(gH,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},U.createElement(`div`,Fq({className:d(`recharts-wrapper`,r),style:$({position:`relative`,cursor:`default`,width:i,height:a},o)},f,{ref:function(t){e.container=t}}),U.createElement(P_,Fq({},u,{width:i,height:a,title:c,desc:l,style:lJ}),this.renderClipPath(),D_(n,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}(U.Component);aJ(m,`displayName`,t),aJ(m,`defaultProps`,$({layout:`horizontal`,stackOffset:`none`,barCategoryGap:`10%`,barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:`index`},u)),aJ(m,`getDerivedStateFromProps`,function(e,t){var n=e.dataKey,r=e.data,i=e.children,a=e.width,o=e.height,s=e.layout,c=e.stackOffset,l=e.margin,u=t.dataStartIndex,d=t.dataEndIndex;if(t.updateId===void 0){var f=SJ(e);return $($($({},f),{},{updateId:0},p($($({props:e},f),{},{updateId:0}),t)),{},{prevDataKey:n,prevData:r,prevWidth:a,prevHeight:o,prevLayout:s,prevStackOffset:c,prevMargin:l,prevChildren:i})}if(n!==t.prevDataKey||r!==t.prevData||a!==t.prevWidth||o!==t.prevHeight||s!==t.prevLayout||c!==t.prevStackOffset||!Yg(l,t.prevMargin)){var m=SJ(e),h={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},g=$($({},_J(t,r,s)),{},{updateId:t.updateId+1}),_=$($($({},m),h),g);return $($($({},_),p($({props:e},_),t)),{},{prevDataKey:n,prevData:r,prevWidth:a,prevHeight:o,prevLayout:s,prevStackOffset:c,prevMargin:l,prevChildren:i})}if(!T_(i,t.prevChildren)){var v=y_(i,YB),y=v?v.props?.startIndex??u:u,b=v?v.props?.endIndex??d:d,x=y!==u||b!==d,S=!(0,X.default)(r)&&!x?t.updateId:t.updateId+1;return $($({updateId:S},p($($({props:e},t),{},{updateId:S,dataStartIndex:y,dataEndIndex:b}),t)),{},{prevChildren:i,dataStartIndex:y,dataEndIndex:b})}return null}),aJ(m,`renderActiveDot`,function(e,t,n){var r=(0,U.isValidElement)(e)?(0,U.cloneElement)(e,t):(0,o_.default)(e)?e(t):U.createElement(nR,t);return U.createElement(z_,{className:`recharts-active-dot`,key:n},r)});var h=(0,U.forwardRef)(function(e,t){return U.createElement(m,Fq({},e,{ref:t}))});return h.displayName=m.displayName,h},OJ=DJ({chartName:`BarChart`,GraphicalChild:RV,defaultTooltipEventType:`axis`,validateTooltipEventTypes:[`axis`,`item`],axisComponents:[{axisType:`xAxis`,AxisComp:BK},{axisType:`yAxis`,AxisComp:rq}],formatAxisMap:XV}),kJ=DJ({chartName:`PieChart`,GraphicalChild:gB,validateTooltipEventTypes:[`item`],defaultTooltipEventType:`item`,legendContent:`children`,axisComponents:[{axisType:`angleAxis`,AxisComp:oz},{axisType:`radiusAxis`,AxisComp:BR}],formatAxisMap:hN,defaultProps:{layout:`centric`,startAngle:0,endAngle:360,cx:`50%`,cy:`50%`,innerRadius:0,outerRadius:`80%`}}),AJ=DJ({chartName:`ComposedChart`,GraphicalChild:[gG,zG,RV,CK],axisComponents:[{axisType:`xAxis`,AxisComp:BK},{axisType:`yAxis`,AxisComp:rq},{axisType:`zAxis`,AxisComp:eK}],formatAxisMap:XV}),jJ={light:``,dark:`.dark`},MJ=U.createContext(null);function NJ(){let e=U.useContext(MJ);if(!e)throw Error(`useChart must be used within a <ChartContainer />`);return e}function PJ({id:e,className:t,children:n,config:r,...i}){let a=U.useId(),o=`chart-${e||a.replace(/:/g,``)}`;return(0,G.jsx)(MJ.Provider,{value:{config:r},children:(0,G.jsxs)(`div`,{"data-slot":`chart`,"data-chart":o,className:H(`flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden`,t),...i,children:[(0,G.jsx)(FJ,{id:o,config:r}),(0,G.jsx)(zC,{children:n})]})})}var FJ=({id:e,config:t})=>{let n=Object.entries(t).filter(([,e])=>e.theme||e.color);return n.length?(0,G.jsx)(`style`,{dangerouslySetInnerHTML:{__html:Object.entries(jJ).map(([t,r])=>`
|
|
110
|
+
${r} [data-chart=${e}] {
|
|
111
|
+
${n.map(([e,n])=>{let r=n.theme?.[t]||n.color;return r?` --color-${e}: ${r};`:null}).join(`
|
|
112
|
+
`)}
|
|
113
|
+
}
|
|
114
|
+
`).join(`
|
|
115
|
+
`)}}):null},IJ=bC;function LJ({active:e,payload:t,className:n,indicator:r=`dot`,hideLabel:i=!1,hideIndicator:a=!1,label:o,labelFormatter:s,labelClassName:c,formatter:l,color:u,nameKey:d,labelKey:f}){let{config:p}=NJ(),m=U.useMemo(()=>{if(i||!t?.length)return null;let[e]=t,n=RJ(p,e,`${f||e?.dataKey||e?.name||`value`}`),r=!f&&typeof o==`string`?p[o]?.label||o:n?.label;return s?(0,G.jsx)(`div`,{className:H(`font-medium`,c),children:s(r,t)}):r?(0,G.jsx)(`div`,{className:H(`font-medium`,c),children:r}):null},[o,s,t,i,c,p,f]);if(!e||!t?.length)return null;let h=t.length===1&&r!==`dot`;return(0,G.jsxs)(`div`,{className:H(`grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl`,n),children:[h?null:m,(0,G.jsx)(`div`,{className:`grid gap-1.5`,children:t.filter(e=>e.type!==`none`).map((e,t)=>{let n=RJ(p,e,`${d||e.name||e.dataKey||`value`}`),i=u||e.payload.fill||e.color;return(0,G.jsx)(`div`,{className:H(`flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground`,r===`dot`&&`items-center`),children:l&&e?.value!==void 0&&e.name?l(e.value,e.name,e,t,e.payload):(0,G.jsxs)(G.Fragment,{children:[n?.icon?(0,G.jsx)(n.icon,{}):!a&&(0,G.jsx)(`div`,{className:H(`shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)`,{"h-2.5 w-2.5":r===`dot`,"w-1":r===`line`,"w-0 border-[1.5px] border-dashed bg-transparent":r===`dashed`,"my-0.5":h&&r===`dashed`}),style:{"--color-bg":i,"--color-border":i}}),(0,G.jsxs)(`div`,{className:H(`flex flex-1 justify-between leading-none`,h?`items-end`:`items-center`),children:[(0,G.jsxs)(`div`,{className:`grid gap-1.5`,children:[h?m:null,(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:n?.label||e.name})]}),e.value&&(0,G.jsx)(`span`,{className:`font-mono font-medium text-foreground tabular-nums`,children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})}function RJ(e,t,n){if(typeof t!=`object`||!t)return;let r=`payload`in t&&typeof t.payload==`object`&&t.payload!==null?t.payload:void 0,i=n;return n in t&&typeof t[n]==`string`?i=t[n]:r&&n in r&&typeof r[n]==`string`&&(i=r[n]),i in e?e[i]:e[n]}function zJ(e,t){return t===`count`||t===`errors`||t===`errorRate`?e[t]:t===`path`?0:e.latency[t]}function BJ({procedures:e,navigate:t,filter:n}){let[r,i]=(0,U.useState)(`count`),[a,o]=(0,U.useState)(!1),s=(0,U.useCallback)(e=>{i(t=>(o(t===e?e=>!e:!1),e))},[]),c=(0,U.useMemo)(()=>{let t=Object.entries(e);if(n){let e=n.toLowerCase();t=t.filter(([t])=>t.toLowerCase().includes(e))}let i=a?1:-1;return t.sort((e,t)=>r===`path`?i*e[0].localeCompare(t[0]):i*(zJ(e[1],r)-zJ(t[1],r))),t},[e,r,a,n]),l=(0,U.useMemo)(()=>Math.max(1,...Object.values(e).map(e=>e.count)),[e]);return c.length===0?(0,G.jsx)(`div`,{className:`flex min-h-40 items-center justify-center text-sm text-muted-foreground`,children:`No requests yet`}):(0,G.jsxs)(`div`,{children:[(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-b px-5 py-1.5 text-[10px] uppercase tracking-wider text-muted-foreground`,children:[(0,G.jsx)(VJ,{label:`Procedure`,sortKey:`path`,currentKey:r,asc:a,onSort:s,className:`flex-1`}),(0,G.jsx)(VJ,{label:`Count`,sortKey:`count`,currentKey:r,asc:a,onSort:s,className:`w-20 text-right`}),(0,G.jsx)(`span`,{className:`hidden w-20 lg:block`}),(0,G.jsx)(VJ,{label:`Errors`,sortKey:`errors`,currentKey:r,asc:a,onSort:s,className:`w-14 text-right`}),(0,G.jsx)(VJ,{label:`Rate`,sortKey:`errorRate`,currentKey:r,asc:a,onSort:s,className:`w-12 text-right`}),(0,G.jsx)(VJ,{label:`Avg`,sortKey:`avg`,currentKey:r,asc:a,onSort:s,className:`w-14 text-right`}),(0,G.jsx)(VJ,{label:`p95`,sortKey:`p95`,currentKey:r,asc:a,onSort:s,className:`w-14 text-right`})]}),c.map(([e,n])=>{let r=n.count/l*100,i=n.errors>0;return(0,G.jsxs)(`div`,{className:H(`flex items-center gap-2 border-b border-dashed px-5 py-2 hover:bg-muted/20`,t&&`cursor-pointer`),onClick:()=>t?.(`requests`,void 0,{procedure:e}),children:[(0,G.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-mono text-[11px] font-semibold`,children:e}),(0,G.jsx)(`span`,{className:`w-20 shrink-0 text-right font-mono text-[11px] tabular-nums`,children:Of(n.count)}),(0,G.jsx)(`div`,{className:`hidden w-20 lg:block`,children:(0,G.jsx)(`div`,{className:`h-1.5 w-full rounded-full bg-muted`,children:(0,G.jsx)(`div`,{className:`h-full rounded-full bg-primary/30`,style:{width:`${r}%`}})})}),(0,G.jsx)(`div`,{className:`w-14 shrink-0 text-right`,children:i?(0,G.jsx)(au,{variant:`destructive`,className:`text-[9px]`,onClick:n=>{t&&(n.stopPropagation(),t(`errors`,void 0,{procedure:e}))},children:n.errors}):(0,G.jsx)(`span`,{className:`text-[11px] text-muted-foreground/40`,children:`0`})}),(0,G.jsxs)(`span`,{className:H(`w-12 shrink-0 text-right text-[11px] tabular-nums`,i?`text-destructive`:`text-muted-foreground/40`),children:[n.errorRate.toFixed(1),`%`]}),(0,G.jsx)(`span`,{className:`w-14 shrink-0 text-right font-mono text-[11px] tabular-nums text-muted-foreground`,children:kf(n.latency.avg)}),(0,G.jsx)(`span`,{className:`w-14 shrink-0 text-right font-mono text-[11px] tabular-nums text-muted-foreground`,children:kf(n.latency.p95)})]},e)})]})}function VJ({label:e,sortKey:t,currentKey:n,asc:r,onSort:i,className:a}){return(0,G.jsxs)(`span`,{className:H(`cursor-pointer select-none`,n===t&&`text-primary`,a),onClick:()=>i(t),children:[e,n===t&&(r?` ↑`:` ↓`)]})}function HJ(e){if(!e)return{health:{tone:`healthy`,label:`Waiting for traffic`,description:`Metrics appear as soon as the first request is traced.`},busiest:null,noisiest:null,slowest:null,procedureCount:0};let t=Object.entries(e.procedures),n=t.toSorted((e,t)=>t[1].count-e[1].count)[0],r=t.filter(([,e])=>e.errors>0).toSorted((e,t)=>t[1].errors-e[1].errors)[0],i=t.toSorted((e,t)=>t[1].latency.p95-e[1].latency.p95)[0];return{health:UJ(e,t.length),busiest:n?{path:n[0],value:n[1].count,meta:`${n[1].count} total requests`}:null,noisiest:r?{path:r[0],value:r[1].errors,meta:`${r[1].errorRate.toFixed(1)}% error rate`}:null,slowest:i?{path:i[0],value:i[1].latency.p95,meta:`p95 latency hotspot`}:null,procedureCount:t.length}}function UJ(e,t){return e.errorRate>=5||e.avgLatency>=250?{tone:`critical`,label:`Needs attention`,description:`${e.totalErrors} errors across ${t} procedures.`}:e.errorRate>=1||e.avgLatency>=100?{tone:`degraded`,label:`Watching closely`,description:`Traffic is flowing, but recent failures are above baseline.`}:{tone:`healthy`,label:`Stable`,description:`Latency and error rate are within a healthy range.`}}var WJ={count:{label:`Requests`,color:`var(--chart-1)`},errors:{label:`Errors`,color:`var(--color-destructive)`}},GJ={hour:`2-digit`,minute:`2-digit`,second:`2-digit`};function KJ({data:e,navigate:t}){let n=(0,U.useMemo)(()=>HJ(e),[e]),[r,i]=(0,U.useState)(``),a=(0,U.useMemo)(()=>e?Object.entries(e.procedures):[],[e]),o=(0,U.useMemo)(()=>[...a].sort((e,t)=>t[1].latency.p95-e[1].latency.p95).slice(0,5),[a]),s=(0,U.useMemo)(()=>a.filter(([,e])=>e.errors>0).sort((e,t)=>t[1].errors-e[1].errors).slice(0,5),[a]);if(!e)return(0,G.jsxs)(`div`,{className:`p-5`,children:[(0,G.jsx)(`div`,{className:`grid grid-cols-2 gap-6 py-4 xl:grid-cols-6`,children:Array.from({length:6}).map((e,t)=>(0,G.jsx)(rf,{className:`h-12`},t))}),(0,G.jsx)(rf,{className:`mt-4 h-24`}),(0,G.jsxs)(`div`,{className:`mt-4 grid grid-cols-2 gap-4`,children:[(0,G.jsx)(rf,{className:`h-28`}),(0,G.jsx)(rf,{className:`h-28`})]})]});let c=a.length;return(0,G.jsxs)(`div`,{children:[(0,G.jsxs)(`div`,{className:`grid grid-cols-3 gap-x-0 border-b xl:grid-cols-6`,children:[(0,G.jsx)(JJ,{label:`Requests`,value:Of(e.totalRequests)}),(0,G.jsx)(JJ,{label:`Throughput`,value:`${Of(e.requestsPerSecond)}/s`}),(0,G.jsx)(JJ,{label:`Errors`,value:String(e.totalErrors),sub:`${e.errorRate.toFixed(1)}%`,danger:e.totalErrors>0}),(0,G.jsx)(JJ,{label:`Avg latency`,value:kf(e.avgLatency)}),(0,G.jsx)(JJ,{label:`Uptime`,value:Af(e.uptime)}),(0,G.jsx)(JJ,{label:`Health`,value:n.health.label,className:H(n.health.tone===`healthy`&&`text-emerald-600 dark:text-emerald-400`,n.health.tone===`degraded`&&`text-amber-600 dark:text-amber-400`,n.health.tone===`critical`&&`text-destructive`)})]}),(0,G.jsxs)(`div`,{className:`border-b px-5 py-3`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,G.jsx)(`h3`,{className:`text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:`Traffic`}),(0,G.jsxs)(`span`,{className:`text-[10px] tabular-nums text-muted-foreground`,children:[e.timeSeries.length,`s window`]})]}),(0,G.jsx)(qJ,{timeSeries:e.timeSeries})]}),(0,G.jsxs)(`div`,{className:`grid border-b xl:grid-cols-2`,children:[(0,G.jsxs)(`div`,{className:`border-b px-5 py-3 xl:border-r xl:border-b-0`,children:[(0,G.jsx)(`h3`,{className:`mb-2 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:`Slowest (p95)`}),o.length===0?(0,G.jsx)(`p`,{className:`py-2 text-xs text-muted-foreground`,children:`No data yet`}):(0,G.jsx)(`div`,{className:`flex flex-col`,children:o.map(([e,n])=>{let r=o[0][1].latency.p95,i=n.latency.p95/r*100;return(0,G.jsxs)(`div`,{className:`flex cursor-pointer items-center gap-2 border-b border-dashed py-1.5 last:border-0 hover:bg-muted/20`,onClick:()=>t(`requests`,void 0,{procedure:e}),children:[(0,G.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-mono text-[11px] font-semibold`,children:e}),(0,G.jsx)(`div`,{className:`hidden w-20 sm:block`,children:(0,G.jsx)(`div`,{className:`h-1.5 w-full rounded-full bg-muted`,children:(0,G.jsx)(`div`,{className:`h-full rounded-full bg-chart-1/50`,style:{width:`${i}%`}})})}),(0,G.jsx)(`span`,{className:`w-14 shrink-0 text-right font-mono text-[10px] tabular-nums text-muted-foreground`,children:kf(n.latency.p95)})]},e)})})]}),(0,G.jsxs)(`div`,{className:`px-5 py-3`,children:[(0,G.jsx)(`h3`,{className:`mb-2 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:`Error hotspots`}),s.length===0?(0,G.jsx)(`p`,{className:`py-2 text-xs text-muted-foreground`,children:`No errors`}):(0,G.jsx)(`div`,{className:`flex flex-col`,children:s.map(([e,n])=>(0,G.jsxs)(`div`,{className:`flex cursor-pointer items-center gap-2 border-b border-dashed py-1.5 last:border-0 hover:bg-muted/20`,onClick:()=>t(`errors`,void 0,{procedure:e}),children:[(0,G.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-mono text-[11px] font-semibold`,children:e}),(0,G.jsx)(au,{variant:`destructive`,className:`text-[9px]`,children:n.errors}),(0,G.jsxs)(`span`,{className:`font-mono text-[10px] tabular-nums text-muted-foreground`,children:[n.errorRate.toFixed(1),`%`]})]},e))})]})]}),(0,G.jsxs)(`div`,{children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-3 px-5 pt-4 pb-2`,children:[(0,G.jsx)(`h3`,{className:`text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:`Procedures`}),(0,G.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,G.jsx)(Sp,{value:r,onChange:e=>i(e.target.value),placeholder:`Filter...`,className:`sm:max-w-48`}),(0,G.jsxs)(`span`,{className:`text-[10px] tabular-nums text-muted-foreground`,children:[c,` routes`]})]})]}),(0,G.jsx)(BJ,{procedures:e.procedures,navigate:t,filter:r})]})]})}function qJ({timeSeries:e}){let t=(0,U.useMemo)(()=>e.map(e=>({time:new Date(e.time*1e3).toLocaleTimeString([],GJ),count:e.count,errors:e.errors})),[e]);return t.length===0?(0,G.jsx)(`div`,{className:`flex h-24 items-center justify-center text-xs text-muted-foreground`,children:`Waiting for data...`}):(0,G.jsx)(PJ,{config:WJ,className:`mt-2 h-24 w-full`,children:(0,G.jsxs)(AJ,{data:t,margin:{top:0,right:0,bottom:0,left:0},children:[(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`fillTraffic`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,G.jsx)(`stop`,{offset:`0%`,stopColor:`var(--color-count)`,stopOpacity:.15}),(0,G.jsx)(`stop`,{offset:`100%`,stopColor:`var(--color-count)`,stopOpacity:0})]})}),(0,G.jsx)(HW,{vertical:!1,stroke:`var(--color-border)`,strokeOpacity:.3}),(0,G.jsx)(BK,{dataKey:`time`,tick:{fontSize:8},tickLine:!1,axisLine:!1,interval:`preserveStartEnd`,tickMargin:4}),(0,G.jsx)(rq,{hide:!0}),(0,G.jsx)(IJ,{content:(0,G.jsx)(LJ,{})}),(0,G.jsx)(zG,{type:`monotone`,dataKey:`count`,stroke:`var(--color-count)`,fill:`url(#fillTraffic)`,strokeWidth:1.5,dot:!1,activeDot:{r:2.5,strokeWidth:1.5,fill:`var(--background)`}}),(0,G.jsx)(RV,{dataKey:`errors`,fill:`var(--color-errors)`,fillOpacity:.6,radius:[1,1,0,0],barSize:3})]})})}function JJ({label:e,value:t,sub:n,danger:r,className:i}){return(0,G.jsxs)(`div`,{className:`border-r px-4 py-3 last:border-r-0`,children:[(0,G.jsx)(`div`,{className:`text-[10px] font-semibold text-muted-foreground`,children:e}),(0,G.jsxs)(`div`,{className:`mt-0.5 flex items-baseline gap-1.5`,children:[(0,G.jsx)(`span`,{className:H(`text-lg font-semibold tabular-nums tracking-tight`,r&&`text-destructive`,i),children:t}),n&&(0,G.jsx)(`span`,{className:`text-[11px] text-muted-foreground`,children:n})]})]})}var YJ={db:`#a855f7`,redis:`#ef4444`,http:`#3b82f6`,cache:`#10b981`,queue:`#f59e0b`,email:`#f97316`,ai:`#06b6d4`,custom:`#a1a1aa`};function XJ({requests:e,id:t,navigate:n}){let{copiedId:r,copy:i}=Qf(),a=Number(t),o=e.find(e=>Number.isNaN(a)?e.requestId===t:e.id===a);if(!o)return(0,G.jsx)(`div`,{className:`flex min-h-40 items-center justify-center text-sm text-muted-foreground`,children:`Request not found`});let s=o.procedures.reduce((e,t)=>e+t.spans.length,0);return(0,G.jsxs)(`div`,{className:`flex min-h-full flex-col`,children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2 border-b px-5 py-3`,children:[(0,G.jsxs)(mu,{variant:`ghost`,size:`xs`,onClick:()=>n(`requests`),children:[(0,G.jsx)(Yd,{icon:Nd,"data-icon":`inline-start`}),`Requests`]}),(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:`/`}),(0,G.jsx)(`span`,{className:`font-mono text-xs text-muted-foreground`,children:o.method}),(0,G.jsx)(`span`,{className:`font-mono text-sm font-semibold`,children:o.path}),(0,G.jsx)(au,{variant:o.status>=400?`destructive`:`secondary`,children:o.status}),(0,G.jsx)(au,{variant:`secondary`,children:kf(o.durationMs)}),o.procedures.length>1&&(0,G.jsxs)(au,{variant:`outline`,children:[`batch x `,o.procedures.length]}),s>0&&(0,G.jsxs)(au,{variant:`secondary`,children:[s,` spans`]}),(0,G.jsx)(`span`,{className:`text-[11px] text-muted-foreground`,children:jf(o.timestamp)}),(0,G.jsxs)(`div`,{className:`ml-auto flex gap-1`,children:[(0,G.jsx)(tY,{copied:r===`md-${o.id}`,onClick:()=>i(`md-${o.id}`,hp(o)),children:`md`}),(0,G.jsx)(tY,{copied:r===`timing-${o.id}`,onClick:()=>i(`timing-${o.id}`,gp(o)),children:`timing`}),(0,G.jsx)(tY,{copied:r===`json-${o.id}`,onClick:()=>i(`json-${o.id}`,_p(o)),children:`json`})]})]}),(0,G.jsxs)(`div`,{className:`grid flex-1 xl:grid-cols-[1.65fr_0.9fr]`,children:[(0,G.jsx)(`div`,{className:`xl:border-r`,children:o.procedures.map((e,t)=>(0,G.jsx)(ZJ,{proc:e,idx:t,totalMs:o.durationMs,totalProcs:o.procedures.length},t))}),(0,G.jsxs)(`div`,{children:[(0,G.jsxs)($J,{label:`HTTP Request`,children:[(0,G.jsx)(eY,{label:`id`,value:String(o.id)}),(0,G.jsx)(eY,{label:`method`,value:o.method}),(0,G.jsx)(eY,{label:`path`,value:o.path}),(0,G.jsx)(eY,{label:`status`,value:String(o.status),danger:o.status>=400}),(0,G.jsx)(eY,{label:`duration`,value:kf(o.durationMs)}),(0,G.jsx)(eY,{label:`procedures`,value:String(o.procedures.length)}),(0,G.jsx)(eY,{label:`total spans`,value:String(s)}),(0,G.jsx)(eY,{label:`ip`,value:o.ip||`-`}),(0,G.jsx)(eY,{label:`time`,value:jf(o.timestamp)}),o.sessionId&&(0,G.jsxs)(`div`,{className:`flex items-center justify-between border-b border-dashed py-1.5 last:border-0`,children:[(0,G.jsx)(`span`,{className:`text-[11px] text-muted-foreground`,children:`session`}),(0,G.jsx)(au,{variant:`outline`,className:`cursor-pointer font-mono text-[10px] hover:bg-muted`,onClick:()=>n(`sessions`,o.sessionId),children:o.sessionId.slice(0,12)})]}),o.isBatch&&(0,G.jsx)(eY,{label:`batch`,value:`yes`})]}),s>0&&(0,G.jsx)($J,{label:`Timing breakdown`,children:(0,G.jsx)(QJ,{procedures:o.procedures,totalMs:o.durationMs})}),Object.keys(o.headers??{}).length>0&&(0,G.jsx)($J,{label:`Request headers`,children:Object.entries(o.headers).map(([e,t])=>(0,G.jsx)(eY,{label:e,value:t},e))}),o.userAgent&&(0,G.jsx)($J,{label:`User agent`,children:(0,G.jsx)(`p`,{className:`break-all font-mono text-[11px] text-muted-foreground`,children:o.userAgent})}),Object.keys(o.responseHeaders??{}).length>0&&(0,G.jsx)($J,{label:`Response headers`,children:Object.entries(o.responseHeaders).map(([e,t])=>(0,G.jsx)(eY,{label:e,value:t},e))})]})]})]})}function ZJ({proc:e,idx:t,totalMs:n,totalProcs:r}){let i=e.input!==void 0&&e.input!==null,a=e.output!==void 0&&e.output!==null;return(0,G.jsxs)(`div`,{className:H(r>1&&`border-b last:border-0`),children:[r>1&&(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-b bg-muted/30 px-5 py-2 text-[11px]`,children:[(0,G.jsx)(`span`,{className:H(`size-1.5 rounded-full`,e.status>=400?`bg-destructive`:`bg-emerald-500`)}),(0,G.jsx)(`span`,{className:`font-mono font-semibold`,children:e.procedure}),(0,G.jsx)(au,{variant:e.status>=400?`destructive`:`secondary`,className:`text-[9px]`,children:e.status}),(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:kf(e.durationMs)}),(0,G.jsxs)(`span`,{className:`text-muted-foreground`,children:[`(`,e.spans.length,` spans)`]})]}),(0,G.jsx)($J,{label:r===1?`${e.procedure} — ${e.spans.length} spans, ${kf(e.durationMs)} total`:`Span timeline`,children:e.spans.length>0?(0,G.jsx)(Ff,{spans:e.spans,totalMs:e.durationMs}):(0,G.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No spans recorded.`})}),i&&(0,G.jsx)($J,{label:r>1?`Input (#${t+1})`:`Input`,children:(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap rounded-md bg-muted/30 p-3 font-mono text-[11px] leading-relaxed`,children:JSON.stringify(e.input,null,2)})}),a&&(0,G.jsx)($J,{label:r>1?`Output (#${t+1})`:`Output`,children:(0,G.jsx)(`pre`,{className:`max-h-48 overflow-auto whitespace-pre-wrap rounded-md bg-muted/30 p-3 font-mono text-[11px] leading-relaxed`,children:JSON.stringify(e.output,null,2)})}),e.error&&(0,G.jsx)($J,{label:`Error`,children:(0,G.jsx)(`div`,{className:`rounded-md bg-destructive/10 px-3 py-2 font-mono text-[11px] text-destructive`,children:e.error})})]})}function QJ({procedures:e,totalMs:t}){let n=(0,U.useMemo)(()=>{let n=new Map;for(let t of e)for(let e of t.spans)n.set(e.kind,(n.get(e.kind)??0)+e.durationMs);let r=[...n.values()].reduce((e,t)=>e+t,0),i=Math.max(0,t-r),a=[...n].map(([e,t])=>({name:e,value:t,fill:YJ[e]??`#a1a1aa`}));return i>.1&&a.push({name:`app`,value:i,fill:`#3f3f46`}),a},[e,t]);return(0,G.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,G.jsx)(PJ,{config:{value:{label:`Time`}},className:`h-24 w-24 shrink-0`,children:(0,G.jsxs)(kJ,{children:[(0,G.jsx)(gB,{data:n,dataKey:`value`,nameKey:`name`,cx:`50%`,cy:`50%`,innerRadius:22,outerRadius:38,strokeWidth:1,stroke:`var(--background)`,children:n.map(e=>(0,G.jsx)(BC,{fill:e.fill},e.name))}),(0,G.jsx)(`text`,{x:`50%`,y:`50%`,textAnchor:`middle`,dominantBaseline:`middle`,className:`fill-foreground text-[10px] font-semibold`,children:kf(t)}),(0,G.jsx)(IJ,{content:({active:e,payload:n})=>{if(!e||!n?.[0])return null;let r=n[0].payload;return(0,G.jsxs)(`div`,{className:`rounded-md border bg-background px-2.5 py-1.5 text-xs shadow-sm`,children:[(0,G.jsx)(`span`,{className:`font-semibold`,children:r.name}),(0,G.jsxs)(`span`,{className:`ml-2 text-muted-foreground`,children:[r.value.toFixed(1),`ms`]}),(0,G.jsxs)(`span`,{className:`ml-1 text-muted-foreground`,children:[`(`,(r.value/t*100).toFixed(0),`%)`]})]})}})]})}),(0,G.jsx)(`div`,{className:`flex flex-col gap-1`,children:n.map(e=>(0,G.jsxs)(`div`,{className:`flex items-center gap-1.5 text-[10px]`,children:[(0,G.jsx)(`div`,{className:`size-2 shrink-0 rounded-full`,style:{backgroundColor:e.fill}}),(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:e.name}),(0,G.jsxs)(`span`,{className:`font-mono tabular-nums`,children:[e.value.toFixed(1),`ms`]}),(0,G.jsxs)(`span`,{className:`text-muted-foreground/50`,children:[(e.value/t*100).toFixed(0),`%`]})]},e.name))})]})}function $J({label:e,children:t}){return(0,G.jsxs)(`div`,{className:`border-b px-5 py-4 last:border-b-0`,children:[(0,G.jsx)(`h4`,{className:`mb-3 text-[11px] font-semibold text-muted-foreground`,children:e}),t]})}function eY({label:e,value:t,danger:n}){return(0,G.jsxs)(`div`,{className:`flex items-center justify-between border-b border-dashed py-1.5 last:border-0`,children:[(0,G.jsx)(`span`,{className:`text-[11px] text-muted-foreground`,children:e}),(0,G.jsx)(`span`,{className:H(`max-w-[60%] truncate font-mono text-[11px]`,n&&`text-destructive`),children:t})]})}function tY({copied:e,onClick:t,children:n}){return(0,G.jsxs)(mu,{variant:e?`default`:`outline`,size:`xs`,onClick:t,children:[(0,G.jsx)(Yd,{icon:e?Wd:Id,"data-icon":`inline-start`}),e?`copied`:n]})}var nY={duration:{label:`Duration`,color:`var(--chart-1)`}};function rY({requests:e,navigate:t,initialProcedure:n}){let[r,i]=(0,U.useState)(``),[a,o]=(0,U.useState)(n||`all`),[s,c]=(0,U.useState)(`all`),[l,u]=(0,U.useState)(`all`),[d,f]=(0,U.useState)(`time`),[p,m]=(0,U.useState)(!1),[h,g]=(0,U.useState)(null),_=(0,U.useCallback)(e=>{f(t=>(m(t===e?e=>!e:e===`procedure`),e))},[]),v=(0,U.useMemo)(()=>yh(e.flatMap(e=>e.procedures.map(e=>e.procedure))),[e]),y=(0,U.useMemo)(()=>{let t=_h(e,{query:r,procedure:a,status:s,latency:l}).toReversed(),n=p?1:-1;return t.sort((e,t)=>{switch(d){case`time`:return n*(e.timestamp-t.timestamp);case`procedure`:return n*(e.procedures[0]?.procedure??``).localeCompare(t.procedures[0]?.procedure??``);case`status`:return n*(e.status-t.status);case`duration`:return n*(e.durationMs-t.durationMs);case`spans`:return n*(e.procedures.reduce((e,t)=>e+t.spans.length,0)-t.procedures.reduce((e,t)=>e+t.spans.length,0))}}),t},[e,r,a,s,l,d,p]),b=r.length>0||a!==`all`||s!==`all`||l!==`all`,x=(0,U.useCallback)(()=>{i(``),o(`all`),c(`all`),u(`all`)},[]),S=(0,U.useMemo)(()=>Math.max(...y.map(e=>e.durationMs),.1),[y]),C=h===null?null:y[h];return e.length===0?(0,G.jsxs)(`div`,{className:`flex min-h-60 flex-col items-center justify-center gap-1 text-center`,children:[(0,G.jsx)(`p`,{className:`text-sm font-semibold`,children:`No traced requests yet`}),(0,G.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Requests appear once the collector sees traffic.`})]}):(0,G.jsxs)(`div`,{className:`flex min-h-full flex-col`,children:[(0,G.jsxs)(`div`,{className:`flex flex-col gap-2 border-b px-4 py-3 lg:flex-row lg:items-center lg:justify-between`,children:[(0,G.jsxs)(`div`,{className:`flex flex-1 flex-wrap items-center gap-2`,children:[(0,G.jsx)(Sp,{value:r,onChange:e=>i(e.target.value),placeholder:`Search procedures...`,className:`sm:max-w-56`}),(0,G.jsxs)(Wm,{value:a,onValueChange:e=>o(e??`all`),children:[(0,G.jsx)(qm,{size:`sm`,className:`w-full sm:w-40`,children:(0,G.jsx)(Km,{placeholder:`All procedures`})}),(0,G.jsx)(Jm,{align:`start`,children:(0,G.jsxs)(Gm,{children:[(0,G.jsx)(Ym,{children:`Procedure`}),(0,G.jsx)(Xm,{value:`all`,children:`All procedures`}),v.map(e=>(0,G.jsx)(Xm,{value:e,children:e},e))]})})]}),(0,G.jsxs)(mh,{value:s,onValueChange:e=>c(e||`all`),variant:`outline`,size:`sm`,spacing:1,children:[(0,G.jsx)(hh,{value:`all`,children:`All`}),(0,G.jsx)(hh,{value:`success`,children:`2xx`}),(0,G.jsx)(hh,{value:`client`,children:`4xx`}),(0,G.jsx)(hh,{value:`server`,children:`5xx`})]}),(0,G.jsxs)(mh,{value:l,onValueChange:e=>u(e||`all`),variant:`outline`,size:`sm`,spacing:1,children:[(0,G.jsx)(hh,{value:`all`,children:`All`}),(0,G.jsx)(hh,{value:`fast`,children:`Fast`}),(0,G.jsx)(hh,{value:`slow`,children:`Slow`})]})]}),(0,G.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,G.jsxs)(`span`,{className:`text-[11px] tabular-nums text-muted-foreground`,children:[y.length,` of `,e.length]}),b&&(0,G.jsx)(mu,{variant:`ghost`,size:`xs`,onClick:x,children:`Clear`})]})]}),y.length>0&&(0,G.jsx)(`div`,{className:`border-b px-5`,children:(0,G.jsx)(PJ,{config:nY,className:`h-10 w-full`,children:(0,G.jsxs)(OJ,{data:y.map((e,t)=>({i:t,d:e.durationMs,err:e.status>=400})),margin:{top:4,right:0,bottom:0,left:0},barGap:1,children:[(0,G.jsx)(IJ,{content:({active:e,payload:t})=>{if(!e||!t?.[0])return null;let n=y[t[0].payload.i];return(0,G.jsxs)(`div`,{className:`rounded-md border bg-background px-2.5 py-1.5 text-xs shadow-sm`,children:[(0,G.jsx)(`div`,{className:`font-semibold`,children:n.procedures.map(e=>e.procedure).join(`, `)}),(0,G.jsxs)(`div`,{className:`text-muted-foreground`,children:[kf(n.durationMs),` · `,n.status]})]})}}),(0,G.jsx)(RV,{dataKey:`d`,radius:[2,2,0,0],cursor:`pointer`,onClick:(e,t)=>g(h===t?null:t),children:y.map((e,t)=>(0,G.jsx)(BC,{fill:e.status>=400?`var(--color-destructive)`:`var(--chart-1)`,fillOpacity:h===t?1:e.status>=400?.6:.3},t))})]})})}),y.length===0?(0,G.jsxs)(`div`,{className:`flex min-h-48 flex-col items-center justify-center gap-1 text-center`,children:[(0,G.jsx)(`p`,{className:`text-sm font-semibold`,children:`No matching requests`}),(0,G.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:b?`Adjust filters.`:`Waiting for traffic.`}),b&&(0,G.jsx)(mu,{variant:`outline`,size:`xs`,className:`mt-2`,onClick:x,children:`Clear filters`})]}):(0,G.jsxs)(`div`,{className:`flex flex-1 overflow-hidden`,children:[(0,G.jsxs)(`div`,{className:H(`flex-1 overflow-y-auto`,C&&`hidden xl:block`),children:[(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-b px-5 py-1.5 text-[10px] uppercase tracking-wider text-muted-foreground`,children:[(0,G.jsx)(aY,{label:`Time`,sortKey:`time`,currentKey:d,asc:p,onSort:_,className:`w-14`}),(0,G.jsx)(`span`,{className:`w-2`}),(0,G.jsx)(`span`,{className:`w-8`,children:`Method`}),(0,G.jsx)(aY,{label:`Procedure`,sortKey:`procedure`,currentKey:d,asc:p,onSort:_,className:`flex-1`}),(0,G.jsx)(aY,{label:`Status`,sortKey:`status`,currentKey:d,asc:p,onSort:_,className:`w-12`}),(0,G.jsx)(`span`,{className:`hidden w-28 lg:block`,children:`Waterfall`}),(0,G.jsx)(aY,{label:`Duration`,sortKey:`duration`,currentKey:d,asc:p,onSort:_,className:`w-14 text-right`}),(0,G.jsx)(aY,{label:`Spans`,sortKey:`spans`,currentKey:d,asc:p,onSort:_,className:`w-8 text-right`}),(0,G.jsx)(`span`,{className:`w-16`,children:`Session`})]}),y.map((e,n)=>{let r=e.procedures.reduce((e,t)=>e+t.spans.length,0),i=e.status>=400,a=e.durationMs/S*100;return(0,G.jsxs)(`div`,{className:H(`flex cursor-pointer items-center gap-2 border-b border-dashed px-5 py-2 hover:bg-muted/20`,h===n&&`bg-primary/5`),onClick:()=>g(h===n?null:n),children:[(0,G.jsxs)(Kl,{children:[(0,G.jsx)(ql,{asChild:!0,children:(0,G.jsx)(`span`,{className:`w-14 shrink-0 text-[11px] tabular-nums text-muted-foreground`,children:Mf(e.timestamp)})}),(0,G.jsx)(Jl,{side:`right`,className:`text-xs`,children:jf(e.timestamp)})]}),(0,G.jsx)(`span`,{className:H(`size-1.5 shrink-0 rounded-full`,i?`bg-destructive`:`bg-emerald-500`)}),(0,G.jsx)(`span`,{className:`w-8 shrink-0 font-mono text-[10px] text-muted-foreground`,children:e.method}),(0,G.jsxs)(`span`,{className:`min-w-0 flex-1 truncate font-mono text-[11px] font-semibold`,children:[e.procedures.map(e=>e.procedure).join(`, `),e.isBatch&&(0,G.jsx)(au,{variant:`outline`,className:`ml-1.5 text-[9px]`,children:`batch`})]}),(0,G.jsx)(au,{variant:i?`destructive`:`secondary`,className:`w-12 justify-center text-[9px]`,children:e.status}),(0,G.jsx)(`div`,{className:`hidden w-28 lg:block`,children:(0,G.jsx)(`div`,{className:`h-1.5 w-full rounded-full bg-muted`,children:(0,G.jsx)(`div`,{className:H(`h-full rounded-full`,i?`bg-destructive/50`:`bg-primary/40`),style:{width:`${Math.max(a,2)}%`}})})}),(0,G.jsx)(`span`,{className:`w-14 shrink-0 text-right font-mono text-[11px] tabular-nums text-muted-foreground`,children:kf(e.durationMs)}),(0,G.jsx)(`span`,{className:`w-8 shrink-0 text-right font-mono text-[9px] text-muted-foreground/50`,children:r||``}),(0,G.jsx)(au,{variant:`outline`,className:`w-16 cursor-pointer justify-center font-mono text-[9px] hover:bg-muted`,onClick:n=>{n.stopPropagation(),t(`sessions`,e.sessionId)},children:e.sessionId?.slice(0,8)??`-`})]},e.id)})]}),(0,G.jsx)(`div`,{className:H(`flex w-full flex-col border-l xl:w-[420px] xl:shrink-0`,!C&&`hidden xl:flex`),children:C?(0,G.jsx)(iY,{req:C,onClose:()=>g(null),navigate:t}):(0,G.jsx)(`div`,{className:`flex flex-1 items-center justify-center text-sm text-muted-foreground`,children:`Select a request to view details`})})]})]})}function iY({req:e,onClose:t,navigate:n}){return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-b px-4 py-2`,children:[(0,G.jsx)(`span`,{className:H(`size-1.5 shrink-0 rounded-full`,e.status>=400?`bg-destructive`:`bg-emerald-500`)}),(0,G.jsx)(`span`,{className:`flex-1 truncate font-mono text-[11px] font-semibold`,children:e.procedures.map(e=>e.procedure).join(`, `)}),(0,G.jsx)(au,{variant:e.status>=400?`destructive`:`secondary`,className:`text-[9px]`,children:e.status}),(0,G.jsx)(`span`,{className:`font-mono text-[11px] tabular-nums text-muted-foreground`,children:kf(e.durationMs)}),(0,G.jsx)(mu,{variant:`ghost`,size:`icon-sm`,onClick:t,children:(0,G.jsx)(Yd,{icon:Fd,size:14})})]}),(0,G.jsxs)(`div`,{className:`flex-1 overflow-y-auto`,children:[e.procedures.map((t,n)=>(0,G.jsxs)(`div`,{children:[e.procedures.length>1&&(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-b bg-muted/20 px-4 py-1.5 text-[11px]`,children:[(0,G.jsx)(`span`,{className:`font-mono font-semibold`,children:t.procedure}),(0,G.jsx)(au,{variant:t.status>=400?`destructive`:`secondary`,className:`text-[9px]`,children:t.status}),(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:kf(t.durationMs)})]}),t.spans.length>0&&(0,G.jsx)(oY,{label:`Spans`,children:(0,G.jsx)(Ff,{spans:t.spans,totalMs:t.durationMs})}),t.input!==void 0&&t.input!==null&&(0,G.jsx)(oY,{label:`Input`,children:(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap rounded-md bg-muted/30 p-2.5 font-mono text-[10px] leading-relaxed`,children:JSON.stringify(t.input,null,2)})}),t.output!==void 0&&t.output!==null&&(0,G.jsx)(oY,{label:`Output`,children:(0,G.jsx)(`pre`,{className:`max-h-36 overflow-auto whitespace-pre-wrap rounded-md bg-muted/30 p-2.5 font-mono text-[10px] leading-relaxed`,children:JSON.stringify(t.output,null,2)})}),t.error&&(0,G.jsx)(oY,{label:`Error`,children:(0,G.jsx)(`div`,{className:`rounded-md bg-destructive/10 px-2.5 py-2 font-mono text-[10px] text-destructive`,children:t.error})})]},n)),(0,G.jsxs)(oY,{label:`Request`,children:[(0,G.jsx)(sY,{label:`method`,value:e.method}),(0,G.jsx)(sY,{label:`path`,value:e.path}),(0,G.jsx)(sY,{label:`status`,value:String(e.status),danger:e.status>=400}),(0,G.jsx)(sY,{label:`duration`,value:kf(e.durationMs)}),(0,G.jsx)(sY,{label:`time`,value:jf(e.timestamp)}),(0,G.jsx)(sY,{label:`ip`,value:e.ip||`-`})]}),(0,G.jsx)(`div`,{className:`px-4 py-3`,children:(0,G.jsx)(mu,{variant:`outline`,size:`xs`,className:`w-full`,onClick:()=>n(`requests`,String(e.id)),children:`Open full detail`})})]})]})}function aY({label:e,sortKey:t,currentKey:n,asc:r,onSort:i,className:a}){return(0,G.jsxs)(`span`,{className:H(`cursor-pointer select-none`,n===t&&`text-primary`,a),onClick:()=>i(t),children:[e,n===t&&(r?` ↑`:` ↓`)]})}function oY({label:e,children:t}){return(0,G.jsxs)(`div`,{className:`border-b px-4 py-3 last:border-b-0`,children:[(0,G.jsx)(`h4`,{className:`mb-2 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:e}),t]})}function sY({label:e,value:t,danger:n}){return(0,G.jsxs)(`div`,{className:`flex items-center justify-between py-1 text-[10px]`,children:[(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:e}),(0,G.jsx)(`span`,{className:H(`max-w-[60%] truncate font-mono`,n&&`text-destructive`),children:t})]})}var cY={db:`#a855f7`,redis:`#ef4444`,http:`#3b82f6`,cache:`#10b981`,queue:`#f59e0b`,email:`#f97316`,ai:`#06b6d4`,custom:`#a1a1aa`},lY={duration:{label:`Duration`,color:`var(--chart-1)`}};function uY({requests:e,sessionId:t,navigate:n}){let{copiedId:r,copy:i}=Qf(),[a,o]=(0,U.useState)(null),s=(0,U.useMemo)(()=>e.filter(e=>e.sessionId===t).sort((e,t)=>t.timestamp-e.timestamp),[e,t]),c=(0,U.useMemo)(()=>[...s].reverse(),[s]);if(s.length===0)return(0,G.jsxs)(`div`,{className:`flex min-h-40 items-center justify-center text-sm text-muted-foreground`,children:[`No requests found for session `,t]});let l=c[0],u=c[c.length-1],d=u.timestamp+u.durationMs-l.timestamp,f=s.reduce((e,t)=>e+t.durationMs,0),p=s.filter(e=>e.status>=400).length,m=s.flatMap(e=>e.procedures.flatMap(e=>e.spans)),h=[...new Set(s.flatMap(e=>e.procedures.map(e=>e.procedure)))].sort(),g=Math.max(...s.map(e=>e.durationMs),.1),_=new Map;for(let e of m)_.set(e.kind,(_.get(e.kind)??0)+e.durationMs);let v=Math.max(0,f-[..._.values()].reduce((e,t)=>e+t,0)),y=new Map;for(let e of s){let t=e.status<300?`2xx`:e.status<400?`3xx`:e.status<500?`4xx`:`5xx`;y.set(t,(y.get(t)??0)+1)}let b=a===null?null:s[a];return(0,G.jsxs)(`div`,{className:`flex min-h-full flex-col`,children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2 border-b px-5 py-3`,children:[(0,G.jsxs)(mu,{variant:`ghost`,size:`xs`,onClick:()=>n(`sessions`),children:[(0,G.jsx)(Yd,{icon:Nd,"data-icon":`inline-start`}),`Sessions`]}),(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:`/`}),(0,G.jsx)(`span`,{className:`text-sm font-semibold`,children:`Session`}),(0,G.jsx)(au,{variant:`secondary`,className:`font-mono text-[10px]`,children:t.slice(0,13)}),(0,G.jsxs)(`div`,{className:`ml-auto flex gap-1`,children:[(0,G.jsx)(yY,{copied:r===`md-${t}`,onClick:()=>i(`md-${t}`,vp(s,t)),children:`md`}),(0,G.jsx)(yY,{copied:r===`json-${t}`,onClick:()=>i(`json-${t}`,yp(s,t)),children:`json`})]})]}),(0,G.jsxs)(`div`,{className:`grid grid-cols-3 gap-x-0 border-b xl:grid-cols-6`,children:[(0,G.jsx)(gY,{label:`Requests`,value:String(s.length)}),(0,G.jsx)(gY,{label:`Errors`,value:String(p),danger:p>0}),(0,G.jsx)(gY,{label:`Avg latency`,value:kf(f/s.length)}),(0,G.jsx)(gY,{label:`Total CPU`,value:kf(f)}),(0,G.jsx)(gY,{label:`Duration`,value:kf(d)}),(0,G.jsx)(gY,{label:`Spans`,value:String(m.length)})]}),(0,G.jsx)(mY,{requests:c,totalRequests:s.length,selectedIdx:a,onSelect:e=>o(e===null?null:s.length-1-e)}),(0,G.jsxs)(`div`,{className:`flex flex-1 overflow-hidden`,children:[(0,G.jsx)(`div`,{className:H(`flex-1 overflow-y-auto`,b&&`hidden xl:block`),children:s.map((e,t)=>(0,G.jsx)(dY,{req:e,isSelected:a===t,maxDuration:g,onClick:()=>o(a===t?null:t)},e.id))}),(0,G.jsx)(`div`,{className:H(`flex w-full flex-col border-l xl:w-[420px] xl:shrink-0`,!b&&`hidden xl:flex`),children:b?(0,G.jsx)(fY,{req:b,onClose:()=>o(null),onOpenFull:()=>n(`requests`,String(b.id))}):(0,G.jsx)(pY,{sessionId:t,first:l,last:u,wallClockMs:d,totalMs:f,sessionRequests:s,errorCount:p,byStatus:y,byKind:_,appMs:v,uniqueProcedures:h})})]})]})}function dY({req:e,isSelected:t,maxDuration:n,onClick:r}){let i=e.procedures.reduce((e,t)=>e+t.spans.length,0),a=e.status>=400,o=e.durationMs/n*100;return(0,G.jsxs)(`div`,{className:H(`flex cursor-pointer items-center gap-2 border-b border-dashed px-5 py-2 hover:bg-muted/20`,t&&`bg-primary/5`),onClick:r,children:[(0,G.jsxs)(Kl,{children:[(0,G.jsx)(ql,{asChild:!0,children:(0,G.jsx)(`span`,{className:`w-14 shrink-0 text-[11px] tabular-nums text-muted-foreground`,children:Mf(e.timestamp)})}),(0,G.jsx)(Jl,{side:`right`,className:`text-xs`,children:jf(e.timestamp)})]}),(0,G.jsx)(`span`,{className:H(`size-1.5 shrink-0 rounded-full`,a?`bg-destructive`:`bg-emerald-500`)}),(0,G.jsx)(`span`,{className:`w-8 shrink-0 font-mono text-[10px] text-muted-foreground`,children:e.method}),(0,G.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-mono text-[11px] font-semibold`,children:e.procedures.map(e=>e.procedure).join(`, `)}),(0,G.jsx)(au,{variant:a?`destructive`:`secondary`,className:`text-[9px]`,children:e.status}),(0,G.jsx)(`div`,{className:`hidden w-28 lg:block`,children:(0,G.jsx)(`div`,{className:`h-1.5 w-full rounded-full bg-muted`,children:(0,G.jsx)(`div`,{className:H(`h-full rounded-full`,a?`bg-destructive/50`:`bg-primary/40`),style:{width:`${Math.max(o,2)}%`}})})}),(0,G.jsx)(`span`,{className:`w-14 shrink-0 text-right font-mono text-[11px] tabular-nums text-muted-foreground`,children:kf(e.durationMs)}),(0,G.jsx)(`span`,{className:`w-4 shrink-0 text-right font-mono text-[9px] text-muted-foreground/50`,children:i||``})]})}function fY({req:e,onClose:t,onOpenFull:n}){return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-b px-4 py-2`,children:[(0,G.jsx)(`span`,{className:`flex-1 truncate font-mono text-[11px] font-semibold`,children:e.procedures.map(e=>e.procedure).join(`, `)}),(0,G.jsx)(au,{variant:e.status>=400?`destructive`:`secondary`,className:`text-[9px]`,children:e.status}),(0,G.jsx)(`span`,{className:`font-mono text-[11px] tabular-nums text-muted-foreground`,children:kf(e.durationMs)}),(0,G.jsx)(mu,{variant:`ghost`,size:`icon-sm`,onClick:t,children:(0,G.jsx)(Yd,{icon:Fd,size:14})})]}),(0,G.jsxs)(`div`,{className:`flex-1 overflow-y-auto`,children:[e.procedures.map((t,n)=>(0,G.jsxs)(`div`,{children:[e.procedures.length>1&&(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-b bg-muted/20 px-4 py-1.5 text-[11px]`,children:[(0,G.jsx)(`span`,{className:`font-mono font-semibold`,children:t.procedure}),(0,G.jsx)(au,{variant:t.status>=400?`destructive`:`secondary`,className:`text-[9px]`,children:t.status}),(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:kf(t.durationMs)})]}),t.spans.length>0&&(0,G.jsx)(_Y,{label:`Spans`,children:(0,G.jsx)(Ff,{spans:t.spans,totalMs:t.durationMs})}),t.input!==void 0&&t.input!==null&&(0,G.jsx)(_Y,{label:e.procedures.length>1?`Input — ${t.procedure}`:`Input`,children:(0,G.jsx)(`pre`,{className:`overflow-x-auto whitespace-pre-wrap rounded-md bg-muted/30 p-2.5 font-mono text-[10px] leading-relaxed`,children:JSON.stringify(t.input,null,2)})}),t.output!==void 0&&t.output!==null&&(0,G.jsx)(_Y,{label:e.procedures.length>1?`Output — ${t.procedure}`:`Output`,children:(0,G.jsx)(`pre`,{className:`max-h-36 overflow-auto whitespace-pre-wrap rounded-md bg-muted/30 p-2.5 font-mono text-[10px] leading-relaxed`,children:JSON.stringify(t.output,null,2)})}),t.error&&(0,G.jsx)(_Y,{label:`Error`,children:(0,G.jsx)(`div`,{className:`rounded-md bg-destructive/10 px-2.5 py-2 font-mono text-[10px] text-destructive`,children:t.error})})]},n)),(0,G.jsxs)(_Y,{label:`Request`,children:[(0,G.jsx)(vY,{label:`method`,value:e.method}),(0,G.jsx)(vY,{label:`path`,value:e.path}),(0,G.jsx)(vY,{label:`status`,value:String(e.status),danger:e.status>=400}),(0,G.jsx)(vY,{label:`duration`,value:kf(e.durationMs)}),(0,G.jsx)(vY,{label:`time`,value:jf(e.timestamp)}),(0,G.jsx)(vY,{label:`ip`,value:e.ip||`-`})]}),(0,G.jsx)(`div`,{className:`px-4 py-3`,children:(0,G.jsx)(mu,{variant:`outline`,size:`xs`,className:`w-full`,onClick:n,children:`Open full detail`})})]})]})}function pY({sessionId:e,first:t,last:n,wallClockMs:r,totalMs:i,sessionRequests:a,errorCount:o,byStatus:s,byKind:c,appMs:l,uniqueProcedures:u}){return(0,G.jsxs)(`div`,{className:`flex-1 overflow-y-auto`,children:[(0,G.jsxs)(_Y,{label:`Session`,children:[(0,G.jsx)(vY,{label:`session id`,value:e}),(0,G.jsx)(vY,{label:`first seen`,value:jf(t.timestamp)}),(0,G.jsx)(vY,{label:`last seen`,value:jf(n.timestamp)}),(0,G.jsx)(vY,{label:`wall clock`,value:kf(r)}),(0,G.jsx)(vY,{label:`total cpu`,value:kf(i)}),(0,G.jsx)(vY,{label:`requests`,value:String(a.length)}),(0,G.jsx)(vY,{label:`errors`,value:String(o),danger:o>0}),(0,G.jsx)(vY,{label:`avg latency`,value:kf(i/a.length)}),(0,G.jsx)(vY,{label:`ip`,value:n.ip||`-`}),(0,G.jsx)(vY,{label:`user agent`,value:n.userAgent?.slice(0,80)||`-`})]}),(0,G.jsx)(_Y,{label:`Status`,children:(0,G.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:[...s].sort((e,t)=>e[0].localeCompare(t[0])).map(([e,t])=>(0,G.jsxs)(au,{variant:e===`4xx`||e===`5xx`?`destructive`:`secondary`,className:`text-[10px]`,children:[e,` `,(0,G.jsx)(`span`,{className:`ml-1 opacity-70`,children:t})]},e))})}),c.size>0&&(0,G.jsx)(_Y,{label:`Time by category`,children:(0,G.jsx)(hY,{byKind:c,appMs:l,totalMs:i})}),(0,G.jsx)(_Y,{label:`Procedures`,children:u.map(e=>{let t=a.flatMap(t=>t.procedures.filter(t=>t.procedure===e)),n=t.length,r=t.reduce((e,t)=>e+t.durationMs,0)/n,i=t.filter(e=>e.status>=400).length;return(0,G.jsxs)(`div`,{className:`flex items-center justify-between gap-2 border-b border-dashed py-1.5 last:border-0`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[(0,G.jsx)(`span`,{className:`truncate font-mono text-[10px] font-semibold`,children:e}),i>0&&(0,G.jsx)(au,{variant:`destructive`,className:`text-[9px]`,children:i})]}),(0,G.jsxs)(`div`,{className:`flex shrink-0 gap-2 text-[10px] tabular-nums text-muted-foreground`,children:[(0,G.jsxs)(`span`,{children:[`x`,n]}),(0,G.jsx)(`span`,{className:`font-mono`,children:kf(r)})]})]},e)})})]})}function mY({requests:e,totalRequests:t,selectedIdx:n,onSelect:r}){let i=(0,U.useMemo)(()=>e.map((e,t)=>({index:t,procedure:e.procedures.map(e=>e.procedure).join(`, `),duration:e.durationMs,status:e.status,isError:e.status>=400})),[e]),a=n===null?null:t-1-n,o=(0,U.useCallback)((e,i)=>{r(n===t-1-i?null:i)},[t,n,r]);return(0,G.jsx)(`div`,{className:`border-b px-5`,children:(0,G.jsx)(PJ,{config:lY,className:`h-12 w-full`,children:(0,G.jsxs)(OJ,{data:i,margin:{top:4,right:0,bottom:0,left:0},barGap:1,children:[(0,G.jsx)(IJ,{content:({active:e,payload:t})=>{if(!e||!t?.[0])return null;let n=t[0].payload;return(0,G.jsxs)(`div`,{className:`rounded-md border bg-background px-2.5 py-1.5 text-xs shadow-sm`,children:[(0,G.jsx)(`div`,{className:`font-semibold`,children:n.procedure}),(0,G.jsxs)(`div`,{className:`text-muted-foreground`,children:[kf(n.duration),` · `,n.status]})]})}}),(0,G.jsx)(RV,{dataKey:`duration`,radius:[2,2,0,0],cursor:`pointer`,onClick:o,children:i.map((e,t)=>(0,G.jsx)(BC,{fill:e.isError?`var(--color-destructive)`:`var(--chart-1)`,fillOpacity:a===t?1:e.isError?.6:.3},e.index))})]})})})}function hY({byKind:e,appMs:t,totalMs:n}){let r=(0,U.useMemo)(()=>{let n=[...e].map(([e,t])=>({name:e,value:t,fill:cY[e]??`#a1a1aa`}));return t>.1&&n.push({name:`app`,value:t,fill:`#3f3f46`}),n},[e,t]);return(0,G.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,G.jsx)(PJ,{config:{value:{label:`Time`}},className:`h-24 w-24 shrink-0`,children:(0,G.jsxs)(kJ,{children:[(0,G.jsx)(gB,{data:r,dataKey:`value`,nameKey:`name`,cx:`50%`,cy:`50%`,innerRadius:22,outerRadius:38,strokeWidth:1,stroke:`var(--background)`,children:r.map(e=>(0,G.jsx)(BC,{fill:e.fill},e.name))}),(0,G.jsx)(`text`,{x:`50%`,y:`50%`,textAnchor:`middle`,dominantBaseline:`middle`,className:`fill-foreground text-[10px] font-semibold`,children:kf(n)}),(0,G.jsx)(IJ,{content:({active:e,payload:t})=>{if(!e||!t?.[0])return null;let r=t[0].payload;return(0,G.jsxs)(`div`,{className:`rounded-md border bg-background px-2.5 py-1.5 text-xs shadow-sm`,children:[(0,G.jsx)(`span`,{className:`font-semibold`,children:r.name}),(0,G.jsxs)(`span`,{className:`ml-2 text-muted-foreground`,children:[r.value.toFixed(1),`ms`]}),(0,G.jsxs)(`span`,{className:`ml-1 text-muted-foreground`,children:[`(`,(r.value/n*100).toFixed(0),`%)`]})]})}})]})}),(0,G.jsx)(`div`,{className:`flex flex-col gap-1`,children:r.map(e=>(0,G.jsxs)(`div`,{className:`flex items-center gap-1.5 text-[10px]`,children:[(0,G.jsx)(`div`,{className:`size-2 shrink-0 rounded-full`,style:{backgroundColor:e.fill}}),(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:e.name}),(0,G.jsxs)(`span`,{className:`font-mono tabular-nums`,children:[e.value.toFixed(1),`ms`]}),(0,G.jsxs)(`span`,{className:`text-muted-foreground/50`,children:[(e.value/n*100).toFixed(0),`%`]})]},e.name))})]})}function gY({label:e,value:t,danger:n}){return(0,G.jsxs)(`div`,{className:`border-r px-4 py-2.5 last:border-r-0`,children:[(0,G.jsx)(`div`,{className:`text-[10px] font-semibold text-muted-foreground`,children:e}),(0,G.jsx)(`div`,{className:H(`mt-0.5 text-base font-semibold tabular-nums tracking-tight`,n&&`text-destructive`),children:t})]})}function _Y({label:e,children:t}){return(0,G.jsxs)(`div`,{className:`border-b px-4 py-3 last:border-b-0`,children:[(0,G.jsx)(`h4`,{className:`mb-2 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:e}),t]})}function vY({label:e,value:t,danger:n}){return(0,G.jsxs)(`div`,{className:`flex items-center justify-between py-1 text-[10px]`,children:[(0,G.jsx)(`span`,{className:`text-muted-foreground`,children:e}),(0,G.jsx)(`span`,{className:H(`max-w-[60%] truncate font-mono`,n&&`text-destructive`),children:t})]})}function yY({copied:e,onClick:t,children:n}){return(0,G.jsxs)(mu,{variant:e?`default`:`outline`,size:`xs`,onClick:t,children:[(0,G.jsx)(Yd,{icon:e?Wd:Id,"data-icon":`inline-start`}),e?`copied`:n]})}function bY({className:e,...t}){return(0,G.jsx)(`div`,{"data-slot":`table-container`,className:`relative w-full overflow-x-auto`,children:(0,G.jsx)(`table`,{"data-slot":`table`,className:H(`w-full caption-bottom text-sm`,e),...t})})}function xY({className:e,...t}){return(0,G.jsx)(`thead`,{"data-slot":`table-header`,className:H(`[&_tr]:border-b`,e),...t})}function SY({className:e,...t}){return(0,G.jsx)(`tbody`,{"data-slot":`table-body`,className:H(`[&_tr:last-child]:border-0`,e),...t})}function CY({className:e,...t}){return(0,G.jsx)(`tr`,{"data-slot":`table-row`,className:H(`border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted`,e),...t})}function wY({className:e,...t}){return(0,G.jsx)(`th`,{"data-slot":`table-head`,className:H(`h-10 px-2 text-start align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pe-0`,e),...t})}function TY({className:e,...t}){return(0,G.jsx)(`td`,{"data-slot":`table-cell`,className:H(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pe-0`,e),...t})}function EY({requests:e,navigate:t}){let[n,r]=(0,U.useState)(``),[i,a]=(0,U.useState)(`time`),[o,s]=(0,U.useState)(!1),c=(0,U.useCallback)(e=>{a(t=>(s(t===e?e=>!e:!1),e))},[]),l=(0,U.useMemo)(()=>{let t=new Map;for(let n of e){if(!n.sessionId)continue;let e=t.get(n.sessionId);e?e.push(n):t.set(n.sessionId,[n])}let r=[];for(let[e,n]of t){let t=n.sort((e,t)=>e.timestamp-t.timestamp),i=n.reduce((e,t)=>e+t.durationMs,0),a=n.filter(e=>e.status>=400).length,o=[...new Set(n.flatMap(e=>e.procedures.map(e=>e.procedure)))];r.push({sessionId:e,requestCount:n.length,errorCount:a,totalMs:i,avgMs:i/n.length,firstTimestamp:t[0].timestamp,lastTimestamp:t[t.length-1].timestamp,procedures:o,ip:t[t.length-1].ip,userAgent:t[t.length-1].userAgent})}if(n){let e=n.toLowerCase();r=r.filter(t=>t.sessionId.toLowerCase().includes(e)||t.procedures.some(t=>t.toLowerCase().includes(e))||t.ip.includes(e))}let a=o?1:-1;return r.sort((e,t)=>{switch(i){case`time`:return a*(e.lastTimestamp-t.lastTimestamp);case`requests`:return a*(e.requestCount-t.requestCount);case`errors`:return a*(e.errorCount-t.errorCount);case`duration`:return a*(e.totalMs-t.totalMs);case`avg`:return a*(e.avgMs-t.avgMs)}}),r},[e,n,i,o]),u=(0,U.useMemo)(()=>{let t=new Set;for(let n of e)n.sessionId&&t.add(n.sessionId);return t.size},[e]);return e.length===0?(0,G.jsxs)(`div`,{className:`flex min-h-60 flex-col items-center justify-center gap-1 text-center`,children:[(0,G.jsx)(`p`,{className:`text-sm font-semibold`,children:`No sessions yet`}),(0,G.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Sessions appear when requests with session IDs are captured.`})]}):(0,G.jsxs)(`div`,{children:[(0,G.jsxs)(`div`,{className:`flex flex-col gap-2 border-b px-4 py-3 lg:flex-row lg:items-center lg:justify-between`,children:[(0,G.jsx)(`div`,{className:`flex flex-1 flex-wrap items-center gap-2`,children:(0,G.jsx)(Sp,{value:n,onChange:e=>r(e.target.value),placeholder:`Search sessions...`,className:`sm:max-w-56`})}),(0,G.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,G.jsxs)(`span`,{className:`text-[11px] tabular-nums text-muted-foreground`,children:[l.length,` of `,u,` sessions`]}),n&&(0,G.jsx)(mu,{variant:`ghost`,size:`xs`,onClick:()=>r(``),children:`Clear`})]})]}),l.length===0?(0,G.jsxs)(`div`,{className:`flex min-h-48 flex-col items-center justify-center gap-1 text-center`,children:[(0,G.jsx)(`p`,{className:`text-sm font-semibold`,children:`No matching sessions`}),(0,G.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Adjust your search to find sessions.`})]}):(0,G.jsxs)(bY,{children:[(0,G.jsx)(xY,{children:(0,G.jsxs)(CY,{children:[(0,G.jsx)(wY,{className:`px-3 py-2 text-[11px]`,children:`Session`}),[[`time`,`Last seen`],[`requests`,`Requests`],[`errors`,`Errors`],[`duration`,`Total`],[`avg`,`Avg`]].map(([e,t])=>(0,G.jsxs)(wY,{onClick:()=>c(e),className:H(`cursor-pointer select-none px-3 py-2 text-[11px]`,(e===`requests`||e===`errors`||e===`duration`||e===`avg`)&&`text-right`,i===e&&`text-primary`),children:[t,i===e&&(o?` ↑`:` ↓`)]},e)),(0,G.jsx)(wY,{className:`px-3 py-2 text-[11px]`,children:`Procedures`})]})}),(0,G.jsx)(SY,{children:l.map(e=>(0,G.jsxs)(CY,{onClick:()=>t(`sessions`,e.sessionId),className:`cursor-pointer`,children:[(0,G.jsx)(TY,{className:`px-3 py-2`,children:(0,G.jsx)(au,{variant:`secondary`,className:`font-mono text-[10px]`,children:e.sessionId.slice(0,12)})}),(0,G.jsx)(TY,{className:`px-3 py-2 whitespace-nowrap text-xs tabular-nums text-muted-foreground`,children:(0,G.jsxs)(Kl,{children:[(0,G.jsx)(ql,{className:`cursor-default`,children:Mf(e.lastTimestamp)}),(0,G.jsx)(Jl,{side:`right`,className:`text-xs`,children:jf(e.lastTimestamp)})]})}),(0,G.jsx)(TY,{className:`px-3 py-2 text-right text-xs tabular-nums`,children:e.requestCount}),(0,G.jsx)(TY,{className:`px-3 py-2 text-right`,children:e.errorCount>0?(0,G.jsx)(au,{variant:`destructive`,className:`text-[10px]`,children:e.errorCount}):(0,G.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`0`})}),(0,G.jsx)(TY,{className:`px-3 py-2 text-right text-xs tabular-nums text-muted-foreground`,children:kf(e.totalMs)}),(0,G.jsx)(TY,{className:`px-3 py-2 text-right text-xs tabular-nums text-muted-foreground`,children:kf(e.avgMs)}),(0,G.jsx)(TY,{className:`max-w-[240px] px-3 py-2 truncate text-xs text-muted-foreground`,children:e.procedures.join(`, `)})]},e.sessionId))})]})]})}function DY(){let e=Xf(),{route:t,navigate:n}=tp(),{theme:r,toggle:i}=ap();$f({navigate:n,toggleRefresh:()=>e.setAutoRefresh(!e.autoRefresh)});let a=new Set(e.requests.map(e=>e.sessionId).filter(Boolean)).size;return(0,G.jsxs)(hf,{defaultOpen:!1,children:[(0,G.jsx)(Nf,{route:t,navigate:n,data:e.data,errorCount:e.errors.length,requestCount:e.requests.length,sessionCount:a}),(0,G.jsxs)(vf,{className:`overflow-hidden`,children:[(0,G.jsxs)(`header`,{className:`sticky top-0 z-10 flex h-11 items-center justify-between gap-3 border-b bg-background/95 px-3 backdrop-blur md:px-4`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 items-center gap-3`,children:[(0,G.jsx)(_f,{}),(0,G.jsx)(Pu,{orientation:`vertical`,className:`h-4`}),(0,G.jsx)(`span`,{className:`text-[11px] font-semibold tracking-[0.3em] text-muted-foreground uppercase`,children:`Silgi Analytics`})]}),(0,G.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,G.jsxs)(mu,{variant:e.autoRefresh?`secondary`:`outline`,size:`xs`,onClick:()=>e.setAutoRefresh(!e.autoRefresh),children:[(0,G.jsx)(`span`,{"data-icon":`inline-start`,className:H(`size-1.5 rounded-full`,e.autoRefresh?`bg-emerald-500`:`bg-muted-foreground/40`)}),e.autoRefresh?`Live`:`Paused`]}),e.errors.length>0&&(0,G.jsx)(au,{variant:`destructive`,className:`text-[10px]`,children:e.errors.length}),(0,G.jsx)(mu,{variant:`ghost`,size:`icon-sm`,onClick:i,children:(0,G.jsx)(Yd,{icon:r===`dark`?Ud:Rd})})]})]}),(0,G.jsxs)(`main`,{className:`flex-1 overflow-auto`,children:[t.page===`overview`&&(0,G.jsx)(KJ,{data:e.data,navigate:n}),t.page===`errors`&&!t.id&&(0,G.jsx)(Sh,{errors:e.errors,navigate:n,initialProcedure:t.params.procedure}),t.page===`errors`&&t.id&&(0,G.jsx)(bp,{errors:e.errors,id:t.id,navigate:n}),t.page===`requests`&&!t.id&&(0,G.jsx)(rY,{requests:e.requests,navigate:n,initialProcedure:t.params.procedure}),t.page===`requests`&&t.id&&(0,G.jsx)(XJ,{requests:e.requests,id:t.id,navigate:n}),t.page===`sessions`&&!t.id&&(0,G.jsx)(EY,{requests:e.requests,navigate:n}),t.page===`sessions`&&t.id&&(0,G.jsx)(uY,{requests:e.requests,sessionId:t.id,navigate:n})]})]})]})}(0,eu.createRoot)(document.getElementById(`root`)).render((0,G.jsx)(U.StrictMode,{children:(0,G.jsx)(Gl,{children:(0,G.jsx)(DY,{})})}));</script>
|
|
116
|
+
<style rel="stylesheet" crossorigin>/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
117
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-black:#000;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-snug:1.375;--leading-relaxed:1.625;--radius-md:calc(var(--radius) * .8);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-xs:4px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:"Geist Variable", ui-sans-serif, system-ui, -apple-system, sans-serif;--default-mono-font-family:var(--font-mono);--color-border:var(--border);--color-destructive:var(--destructive)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}html{min-height:100%;font-family:Geist Variable,ui-sans-serif,system-ui,-apple-system,sans-serif}html.theme-transition,html.theme-transition *,html.theme-transition :before,html.theme-transition :after{transition:background-color .2s,border-color .2s,color .15s!important}body{background-color:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;margin:0}#root{min-height:100vh}::selection{background-color:oklch(79.5% .135 80/.25)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:oklch(50% 0 0/.3);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:oklch(50% 0 0/.5)}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.start-1\/2{inset-inline-start:50%}.end-1{inset-inline-end:calc(var(--spacing) * 1)}.end-2{inset-inline-end:calc(var(--spacing) * 2)}.end-3{inset-inline-end:calc(var(--spacing) * 3)}.top-0{top:calc(var(--spacing) * 0)}.top-1\.5{top:calc(var(--spacing) * 1.5)}.top-1\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-3{top:calc(var(--spacing) * 3)}.top-3\.5{top:calc(var(--spacing) * 3.5)}.bottom-0{bottom:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 0)}.left-3{left:calc(var(--spacing) * 3)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-3\.5{margin-inline:calc(var(--spacing) * 3.5)}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.my-1{margin-block:calc(var(--spacing) * 1)}.ms-auto{margin-inline-start:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-auto{margin-top:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-row{display:table-row}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-full{width:100%;height:100%}.h-1{height:calc(var(--spacing) * 1)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-4{height:calc(var(--spacing) * 4)}.h-4\.5{height:calc(var(--spacing) * 4.5)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-24{height:calc(var(--spacing) * 24)}.h-28{height:calc(var(--spacing) * 28)}.h-\[calc\(100\%-1px\)\]{height:calc(100% - 1px)}.h-full{height:100%}.h-px{height:1px}.h-svh{height:100svh}.max-h-\(--available-height\){max-height:var(--available-height)}.max-h-36{max-height:calc(var(--spacing) * 36)}.max-h-48{max-height:calc(var(--spacing) * 48)}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-full{min-height:100%}.min-h-svh{min-height:100svh}.w-\(--anchor-width\){width:var(--anchor-width)}.w-\(--sidebar-width\){width:var(--sidebar-width)}.w-0{width:calc(var(--spacing) * 0)}.w-1{width:calc(var(--spacing) * 1)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-28{width:calc(var(--spacing) * 28)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\(--skeleton-width\){max-width:var(--skeleton-width)}.max-w-\[60\%\]{max-width:60%}.max-w-\[240px\]{max-width:240px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-7{min-width:calc(var(--spacing) * 7)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-9{min-width:calc(var(--spacing) * 9)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-36{min-width:calc(var(--spacing) * 36)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.origin-\(--transform-origin\){transform-origin:var(--transform-origin)}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[calc\(-50\%-2px\)\]{--tw-translate-y:calc(-50% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-45{rotate:45deg}.animate-pulse{animation:var(--animate-pulse)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing) * 1)}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\[2rem_2\.5rem_minmax\(0\,12rem\)_1fr_4\.5rem_3rem\]{grid-template-columns:2rem 2.5rem minmax(0,12rem) 1fr 4.5rem 3rem}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0{gap:calc(var(--spacing) * 0)}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-\[--spacing\(var\(--gap\)\)\]{gap:calc(var(--spacing) * var(--gap))}.gap-x-0{column-gap:calc(var(--spacing) * 0)}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-4xl{border-radius:calc(var(--radius) * 2.6)}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-\[min\(var\(--radius-md\)\,10px\)\]{border-radius:min(var(--radius-md), 10px)}.rounded-\[min\(var\(--radius-md\)\,12px\)\]{border-radius:min(var(--radius-md), 12px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) * .8)}.rounded-xl{border-radius:calc(var(--radius) * 1.4)}.rounded-t-xl{border-top-left-radius:calc(var(--radius) * 1.4);border-top-right-radius:calc(var(--radius) * 1.4)}.rounded-b-xl{border-bottom-right-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\(--color-border\){border-color:var(--color-border)}.border-border,.border-border\/50{border-color:var(--border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--border) 50%, transparent)}}.border-input{border-color:var(--input)}.border-sidebar-border{border-color:var(--sidebar-border)}.border-transparent{border-color:#0000}.bg-\(--color-bg\){background-color:var(--color-bg)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\/15{background-color:#f99c0026}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\/15{background-color:color-mix(in oklab, var(--color-amber-500) 15%, transparent)}}.bg-amber-500\/50{background-color:#f99c0080}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\/50{background-color:color-mix(in oklab, var(--color-amber-500) 50%, transparent)}}.bg-background,.bg-background\/95{background-color:var(--background)}@supports (color:color-mix(in lab, red, red)){.bg-background\/95{background-color:color-mix(in oklab, var(--background) 95%, transparent)}}.bg-black\/10{background-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.bg-black\/10{background-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\/15{background-color:#3080ff26}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\/15{background-color:color-mix(in oklab, var(--color-blue-500) 15%, transparent)}}.bg-blue-500\/50{background-color:#3080ff80}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\/50{background-color:color-mix(in oklab, var(--color-blue-500) 50%, transparent)}}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-chart-1\/50{background-color:var(--chart-1)}@supports (color:color-mix(in lab, red, red)){.bg-chart-1\/50{background-color:color-mix(in oklab, var(--chart-1) 50%, transparent)}}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-cyan-500\/15{background-color:#00b7d726}@supports (color:color-mix(in lab, red, red)){.bg-cyan-500\/15{background-color:color-mix(in oklab, var(--color-cyan-500) 15%, transparent)}}.bg-cyan-500\/50{background-color:#00b7d780}@supports (color:color-mix(in lab, red, red)){.bg-cyan-500\/50{background-color:color-mix(in oklab, var(--color-cyan-500) 50%, transparent)}}.bg-destructive,.bg-destructive\/5{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\/5{background-color:color-mix(in oklab, var(--destructive) 5%, transparent)}}.bg-destructive\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.bg-destructive\/50{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\/50{background-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.bg-destructive\/60{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\/60{background-color:color-mix(in oklab, var(--destructive) 60%, transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-500\/15{background-color:#00bb7f26}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\/15{background-color:color-mix(in oklab, var(--color-emerald-500) 15%, transparent)}}.bg-emerald-500\/50{background-color:#00bb7f80}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\/50{background-color:color-mix(in oklab, var(--color-emerald-500) 50%, transparent)}}.bg-foreground{background-color:var(--foreground)}.bg-muted{background-color:var(--muted)}.bg-muted-foreground\/40{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.bg-muted-foreground\/40{background-color:color-mix(in oklab, var(--muted-foreground) 40%, transparent)}}.bg-muted\/10{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/10{background-color:color-mix(in oklab, var(--muted) 10%, transparent)}}.bg-muted\/20{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/20{background-color:color-mix(in oklab, var(--muted) 20%, transparent)}}.bg-muted\/30{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/30{background-color:color-mix(in oklab, var(--muted) 30%, transparent)}}.bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\/15{background-color:#fe6e0026}@supports (color:color-mix(in lab, red, red)){.bg-orange-500\/15{background-color:color-mix(in oklab, var(--color-orange-500) 15%, transparent)}}.bg-orange-500\/50{background-color:#fe6e0080}@supports (color:color-mix(in lab, red, red)){.bg-orange-500\/50{background-color:color-mix(in oklab, var(--color-orange-500) 50%, transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary,.bg-primary\/5{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.bg-primary\/5{background-color:color-mix(in oklab, var(--primary) 5%, transparent)}}.bg-primary\/10{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.bg-primary\/10{background-color:color-mix(in oklab, var(--primary) 10%, transparent)}}.bg-primary\/30{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.bg-primary\/30{background-color:color-mix(in oklab, var(--primary) 30%, transparent)}}.bg-primary\/40{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.bg-primary\/40{background-color:color-mix(in oklab, var(--primary) 40%, transparent)}}.bg-purple-500{background-color:var(--color-purple-500)}.bg-purple-500\/15{background-color:#ac4bff26}@supports (color:color-mix(in lab, red, red)){.bg-purple-500\/15{background-color:color-mix(in oklab, var(--color-purple-500) 15%, transparent)}}.bg-purple-500\/50{background-color:#ac4bff80}@supports (color:color-mix(in lab, red, red)){.bg-purple-500\/50{background-color:color-mix(in oklab, var(--color-purple-500) 50%, transparent)}}.bg-secondary{background-color:var(--secondary)}.bg-sidebar{background-color:var(--sidebar)}.bg-sidebar-border{background-color:var(--sidebar-border)}.bg-transparent{background-color:#0000}.bg-zinc-400{background-color:var(--color-zinc-400)}.bg-zinc-400\/40{background-color:#9f9fa966}@supports (color:color-mix(in lab, red, red)){.bg-zinc-400\/40{background-color:color-mix(in oklab, var(--color-zinc-400) 40%, transparent)}}.bg-zinc-500\/15{background-color:#71717b26}@supports (color:color-mix(in lab, red, red)){.bg-zinc-500\/15{background-color:color-mix(in oklab, var(--color-zinc-500) 15%, transparent)}}.bg-clip-padding{background-clip:padding-box}.fill-foreground{fill:var(--foreground)}.p-0{padding:calc(var(--spacing) * 0)}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-\[3px\]{padding:3px}.p-px{padding:1px}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.ps-1\.5{padding-inline-start:calc(var(--spacing) * 1.5)}.ps-2\.5{padding-inline-start:calc(var(--spacing) * 2.5)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-8{padding-inline-end:calc(var(--spacing) * 8)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pl-9{padding-left:calc(var(--spacing) * 9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-heading{font-family:Geist Variable,ui-sans-serif,system-ui,-apple-system,sans-serif}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[0\.8rem\]{font-size:.8rem}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\[0\.3em\]{--tw-tracking:.3em;letter-spacing:.3em}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-400{color:var(--color-amber-400)}.text-amber-600{color:var(--color-amber-600)}.text-background{color:var(--background)}.text-blue-400{color:var(--color-blue-400)}.text-card-foreground{color:var(--card-foreground)}.text-chart-1{color:var(--chart-1)}.text-cyan-400{color:var(--color-cyan-400)}.text-destructive,.text-destructive\/90{color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.text-destructive\/90{color:color-mix(in oklab, var(--destructive) 90%, transparent)}}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-600{color:var(--color-emerald-600)}.text-foreground,.text-foreground\/60{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\/60{color:color-mix(in oklab, var(--foreground) 60%, transparent)}}.text-muted-foreground,.text-muted-foreground\/40{color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.text-muted-foreground\/40{color:color-mix(in oklab, var(--muted-foreground) 40%, transparent)}}.text-muted-foreground\/50{color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.text-muted-foreground\/50{color:color-mix(in oklab, var(--muted-foreground) 50%, transparent)}}.text-muted-foreground\/60{color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.text-muted-foreground\/60{color:color-mix(in oklab, var(--muted-foreground) 60%, transparent)}}.text-orange-400{color:var(--color-orange-400)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-400{color:var(--color-purple-400)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\/70{color:var(--sidebar-foreground)}@supports (color:color-mix(in lab, red, red)){.text-sidebar-foreground\/70{color:color-mix(in oklab, var(--sidebar-foreground) 70%, transparent)}}.text-zinc-400{color:var(--color-zinc-400)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline-offset-4{text-underline-offset:4px}.opacity-70{opacity:.7}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-foreground\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.ring-foreground\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.ring-sidebar-ring{--tw-ring-color:var(--sidebar-ring)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[margin\,opacity\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *){opacity:1}@media (hover:hover){.group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *){opacity:1}}.group-has-data-\[sidebar\=menu-action\]\/menu-item\:pe-8:is(:where(.group\/menu-item):has([data-sidebar=menu-action]) *){padding-inline-end:calc(var(--spacing) * 8)}.group-data-\[collapsible\=icon\]\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing) * -8)}.group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\[collapsible\=icon\]\:size-8\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing) * 8)!important;height:calc(var(--spacing) * 8)!important}.group-data-\[collapsible\=icon\]\:w-\(--sidebar-width-icon\):is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)))}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\+2px\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)) + 2px)}.group-data-\[collapsible\=icon\]\:justify-center:is(:where(.group)[data-collapsible=icon] *){justify-content:center}.group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\[collapsible\=icon\]\:p-0\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 0)!important}.group-data-\[collapsible\=icon\]\:p-2\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 2)!important}.group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\[collapsible\=offcanvas\]\:w-0:is(:where(.group)[data-collapsible=offcanvas] *){width:calc(var(--spacing) * 0)}.group-data-\[collapsible\=offcanvas\]\:translate-x-0:is(:where(.group)[data-collapsible=offcanvas] *){--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-data-\[side\=left\]\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing) * -4)}.group-data-\[side\=left\]\:border-e:is(:where(.group)[data-side=left] *){border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.group-data-\[side\=right\]\:left-0:is(:where(.group)[data-side=right] *){left:calc(var(--spacing) * 0)}.group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\[side\=right\]\:border-s:is(:where(.group)[data-side=right] *){border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.group-data-\[size\=sm\]\/card\:p-3:is(:where(.group\/card)[data-size=sm] *){padding:calc(var(--spacing) * 3)}.group-data-\[size\=sm\]\/card\:px-3:is(:where(.group\/card)[data-size=sm] *){padding-inline:calc(var(--spacing) * 3)}.group-data-\[size\=sm\]\/card\:text-sm:is(:where(.group\/card)[data-size=sm] *){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.group-data-\[spacing\=0\]\/toggle-group\:rounded-none:is(:where(.group\/toggle-group)[data-spacing="0"] *){border-radius:0}.group-data-\[spacing\=0\]\/toggle-group\:px-2:is(:where(.group\/toggle-group)[data-spacing="0"] *){padding-inline:calc(var(--spacing) * 2)}.group-data-\[variant\=floating\]\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:var(--radius)}.group-data-\[variant\=floating\]\:shadow-sm:is(:where(.group)[data-variant=floating] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=floating\]\:ring-1:is(:where(.group)[data-variant=floating] *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=floating\]\:ring-sidebar-border:is(:where(.group)[data-variant=floating] *){--tw-ring-color:var(--sidebar-border)}.group-data-\[variant\=line\]\/tabs-list\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *){background-color:#0000}.group-data-horizontal\/tabs\:h-8:is(:where(.group\/tabs):where([data-orientation=horizontal]) *){height:calc(var(--spacing) * 8)}.group-data-vertical\/tabs\:h-fit:is(:where(.group\/tabs):where([data-orientation=vertical]) *){height:fit-content}.group-data-vertical\/tabs\:w-full:is(:where(.group\/tabs):where([data-orientation=vertical]) *){width:100%}.group-data-vertical\/tabs\:flex-col:is(:where(.group\/tabs):where([data-orientation=vertical]) *){flex-direction:column}.group-data-vertical\/tabs\:justify-start:is(:where(.group\/tabs):where([data-orientation=vertical]) *){justify-content:flex-start}@media (hover:hover){.peer-hover\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button):hover~*){color:var(--sidebar-accent-foreground)}}.peer-data-\[size\=default\]\/menu-button\:top-1\.5:is(:where(.peer\/menu-button)[data-size=default]~*){top:calc(var(--spacing) * 1.5)}.peer-data-\[size\=lg\]\/menu-button\:top-2\.5:is(:where(.peer\/menu-button)[data-size=lg]~*){top:calc(var(--spacing) * 2.5)}.peer-data-\[size\=sm\]\/menu-button\:top-1:is(:where(.peer\/menu-button)[data-size=sm]~*){top:calc(var(--spacing) * 1)}.peer-data-active\/menu-button\:text-sidebar-accent-foreground:is(:is(:where(.peer\/menu-button):where([data-state=active]),:where(.peer\/menu-button):where([data-active]:not([data-active=false])))~*){color:var(--sidebar-accent-foreground)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-6::file-selector-button{height:calc(var(--spacing) * 6)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing) * -2)}.after\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.after\:start-1\/2:after{content:var(--tw-content);inset-inline-start:50%}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:bg-foreground:after{content:var(--tw-content);background-color:var(--foreground)}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.group-data-\[collapsible\=offcanvas\]\:after\:start-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);inset-inline-start:100%}.group-data-horizontal\/tabs\:after\:inset-x-0:is(:where(.group\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);inset-inline:calc(var(--spacing) * 0)}.group-data-horizontal\/tabs\:after\:bottom-\[-5px\]:is(:where(.group\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);bottom:-5px}.group-data-horizontal\/tabs\:after\:h-0\.5:is(:where(.group\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);height:calc(var(--spacing) * .5)}.group-data-vertical\/tabs\:after\:inset-y-0:is(:where(.group\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.group-data-vertical\/tabs\:after\:-end-1:is(:where(.group\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);inset-inline-end:calc(var(--spacing) * -1)}.group-data-vertical\/tabs\:after\:w-0\.5:is(:where(.group\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);width:calc(var(--spacing) * .5)}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}.last\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:bg-destructive\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-destructive\/20:hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.hover\:bg-muted:hover,.hover\:bg-muted\/20:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-muted\/20:hover{background-color:color-mix(in oklab, var(--muted) 20%, transparent)}}.hover\:bg-muted\/50:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.hover\:bg-sidebar-accent:hover{background-color:var(--sidebar-accent)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:text-muted-foreground:hover{color:var(--muted-foreground)}.hover\:text-sidebar-accent-foreground:hover{color:var(--sidebar-accent-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\:group-data-\[collapsible\=offcanvas\]\:bg-sidebar:hover:is(:where(.group)[data-collapsible=offcanvas] *){background-color:var(--sidebar)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:var(--sidebar-border)}}.focus\:z-10:focus{z-index:10}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:text-accent-foreground:focus,:is(.not-data-\[variant\=destructive\]\:focus\:\*\*\:text-accent-foreground:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.focus-visible\:z-10:focus-visible{z-index:10}.focus-visible\:border-destructive\/40:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:border-destructive\/40:focus-visible{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-3:focus-visible,.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-ring:focus-visible{outline-color:var(--ring)}.active\:translate-y-px:active{--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.active\:bg-sidebar-accent:active{background-color:var(--sidebar-accent)}.active\:text-sidebar-accent-foreground:active{color:var(--sidebar-accent-foreground)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-input\/50:disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.disabled\:bg-input\/50:disabled{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.disabled\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\[side\=left\]\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\[side\=right\]\:cursor-e-resize{cursor:e-resize}:where([data-slot=button-group]) .in-data-\[slot\=button-group\]\:rounded-lg{border-radius:var(--radius)}.has-data-\[icon\=inline-end\]\:pe-1\.5:has([data-icon=inline-end]){padding-inline-end:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-end\]\:pe-2:has([data-icon=inline-end]){padding-inline-end:calc(var(--spacing) * 2)}.has-data-\[icon\=inline-end\]\:pe-3:has([data-icon=inline-end]){padding-inline-end:calc(var(--spacing) * 3)}.has-data-\[icon\=inline-start\]\:ps-1\.5:has([data-icon=inline-start]){padding-inline-start:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-start\]\:ps-2:has([data-icon=inline-start]){padding-inline-start:calc(var(--spacing) * 2)}.has-data-\[icon\=inline-start\]\:ps-3:has([data-icon=inline-start]){padding-inline-start:calc(var(--spacing) * 3)}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-data-\[slot\=card-description\]\:grid-rows-\[auto_auto\]:has([data-slot=card-description]){grid-template-rows:auto auto}.has-data-\[slot\=card-footer\]\:pb-0:has([data-slot=card-footer]){padding-bottom:calc(var(--spacing) * 0)}.has-data-\[slot\=kbd\]\:pe-1\.5:has([data-slot=kbd]){padding-inline-end:calc(var(--spacing) * 1.5)}.has-data-\[variant\=inset\]\:bg-sidebar:has([data-variant=inset]){background-color:var(--sidebar)}.has-\[\>img\:first-child\]\:pt-0:has(>img:first-child){padding-top:calc(var(--spacing) * 0)}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-expanded\:bg-muted[aria-expanded=true]{background-color:var(--muted)}.aria-expanded\:bg-secondary[aria-expanded=true]{background-color:var(--secondary)}.aria-expanded\:text-foreground[aria-expanded=true]{color:var(--foreground)}.aria-expanded\:text-secondary-foreground[aria-expanded=true]{color:var(--secondary-foreground)}.aria-expanded\:opacity-100[aria-expanded=true]{opacity:1}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-3[aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.aria-pressed\:bg-muted[aria-pressed=true]{background-color:var(--muted)}.data-ending-style\:opacity-0[data-ending-style]{opacity:0}.data-placeholder\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-starting-style\:opacity-0[data-starting-style]{opacity:0}.data-\[align-trigger\=true\]\:animate-none[data-align-trigger=true]{animation:none}.data-\[side\=bottom\]\:inset-x-0[data-side=bottom]{inset-inline:calc(var(--spacing) * 0)}.data-\[side\=bottom\]\:top-1[data-side=bottom]{top:calc(var(--spacing) * 1)}.data-\[side\=bottom\]\:bottom-0[data-side=bottom]{bottom:calc(var(--spacing) * 0)}.data-\[side\=bottom\]\:h-auto[data-side=bottom]{height:auto}.data-\[side\=bottom\]\:border-t[data-side=bottom]{border-top-style:var(--tw-border-style);border-top-width:1px}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\[side\=bottom\]\:data-ending-style\:translate-y-\[2\.5rem\][data-side=bottom][data-ending-style],.data-\[side\=bottom\]\:data-starting-style\:translate-y-\[2\.5rem\][data-side=bottom][data-starting-style]{--tw-translate-y:2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=inline-end\]\:-start-1[data-side=inline-end]{inset-inline-start:calc(var(--spacing) * -1)}.data-\[side\=inline-end\]\:top-1\/2\![data-side=inline-end]{top:50%!important}.data-\[side\=inline-end\]\:-translate-y-1\/2[data-side=inline-end]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=inline-end\]\:slide-in-from-start-2[data-side=inline-end]:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr]){--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\[side\=inline-end\]\:slide-in-from-start-2[data-side=inline-end]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl]){--tw-enter-translate-x:calc(2*var(--spacing))}.data-\[side\=inline-start\]\:-end-1[data-side=inline-start]{inset-inline-end:calc(var(--spacing) * -1)}.data-\[side\=inline-start\]\:top-1\/2\![data-side=inline-start]{top:50%!important}.data-\[side\=inline-start\]\:-translate-y-1\/2[data-side=inline-start]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=inline-start\]\:slide-in-from-end-2[data-side=inline-start]:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr]){--tw-enter-translate-x:calc(2*var(--spacing))}.data-\[side\=inline-start\]\:slide-in-from-end-2[data-side=inline-start]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl]){--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\[side\=left\]\:inset-y-0[data-side=left]{inset-block:calc(var(--spacing) * 0)}.data-\[side\=left\]\:top-1\/2\![data-side=left]{top:50%!important}.data-\[side\=left\]\:-right-1[data-side=left]{right:calc(var(--spacing) * -1)}.data-\[side\=left\]\:left-0[data-side=left]{left:calc(var(--spacing) * 0)}.data-\[side\=left\]\:h-full[data-side=left]{height:100%}.data-\[side\=left\]\:w-3\/4[data-side=left]{width:75%}.data-\[side\=left\]\:-translate-y-1\/2[data-side=left]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=left\]\:border-e[data-side=left]{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\[side\=left\]\:group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\][data-side=left]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width) * -1)}.data-\[side\=left\]\:data-ending-style\:translate-x-\[-2\.5rem\][data-side=left][data-ending-style],.data-\[side\=left\]\:data-starting-style\:translate-x-\[-2\.5rem\][data-side=left][data-starting-style]{--tw-translate-x:-2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=right\]\:inset-y-0[data-side=right]{inset-block:calc(var(--spacing) * 0)}.data-\[side\=right\]\:top-1\/2\![data-side=right]{top:50%!important}.data-\[side\=right\]\:right-0[data-side=right]{right:calc(var(--spacing) * 0)}.data-\[side\=right\]\:-left-1[data-side=right]{left:calc(var(--spacing) * -1)}.data-\[side\=right\]\:h-full[data-side=right]{height:100%}.data-\[side\=right\]\:w-3\/4[data-side=right]{width:75%}.data-\[side\=right\]\:-translate-y-1\/2[data-side=right]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=right\]\:border-s[data-side=right]{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\[side\=right\]\:group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\][data-side=right]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width) * -1)}.data-\[side\=right\]\:data-ending-style\:translate-x-\[2\.5rem\][data-side=right][data-ending-style],.data-\[side\=right\]\:data-starting-style\:translate-x-\[2\.5rem\][data-side=right][data-starting-style]{--tw-translate-x:2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=top\]\:inset-x-0[data-side=top]{inset-inline:calc(var(--spacing) * 0)}.data-\[side\=top\]\:top-0[data-side=top]{top:calc(var(--spacing) * 0)}.data-\[side\=top\]\:-bottom-2\.5[data-side=top]{bottom:calc(var(--spacing) * -2.5)}.data-\[side\=top\]\:h-auto[data-side=top]{height:auto}.data-\[side\=top\]\:border-b[data-side=top]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\[side\=top\]\:data-ending-style\:translate-y-\[-2\.5rem\][data-side=top][data-ending-style],.data-\[side\=top\]\:data-starting-style\:translate-y-\[-2\.5rem\][data-side=top][data-starting-style]{--tw-translate-y:-2.5rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[size\=default\]\:h-8[data-size=default]{height:calc(var(--spacing) * 8)}.data-\[size\=md\]\:text-sm[data-size=md]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.data-\[size\=sm\]\:h-7[data-size=sm]{height:calc(var(--spacing) * 7)}.data-\[size\=sm\]\:gap-3[data-size=sm]{gap:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:rounded-\[min\(var\(--radius-md\)\,10px\)\][data-size=sm]{border-radius:min(var(--radius-md), 10px)}.data-\[size\=sm\]\:py-3[data-size=sm]{padding-block:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:text-xs[data-size=sm]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.data-\[size\=sm\]\:has-data-\[slot\=card-footer\]\:pb-0[data-size=sm]:has([data-slot=card-footer]){padding-bottom:calc(var(--spacing) * 0)}:is(.\*\*\:data-\[slot\=kbd\]\:relative *)[data-slot=kbd]{position:relative}:is(.\*\*\:data-\[slot\=kbd\]\:isolate *)[data-slot=kbd]{isolation:isolate}:is(.\*\*\:data-\[slot\=kbd\]\:z-50 *)[data-slot=kbd]{z-index:50}:is(.\*\*\:data-\[slot\=kbd\]\:rounded-sm *)[data-slot=kbd]{border-radius:calc(var(--radius) * .6)}:is(.\*\:data-\[slot\=select-value\]\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\*\:data-\[slot\=select-value\]\:flex>*)[data-slot=select-value]{display:flex}:is(.\*\:data-\[slot\=select-value\]\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\*\:data-\[slot\=select-value\]\:gap-1\.5>*)[data-slot=select-value]{gap:calc(var(--spacing) * 1.5)}.group-data-horizontal\/toggle-group\:data-\[spacing\=0\]\:first\:rounded-s-lg:is(:where(.group\/toggle-group):where([data-orientation=horizontal]) *)[data-spacing="0"]:first-child{border-start-start-radius:var(--radius);border-end-start-radius:var(--radius)}.group-data-vertical\/toggle-group\:data-\[spacing\=0\]\:first\:rounded-t-lg:is(:where(.group\/toggle-group):where([data-orientation=vertical]) *)[data-spacing="0"]:first-child{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.group-data-horizontal\/toggle-group\:data-\[spacing\=0\]\:last\:rounded-e-lg:is(:where(.group\/toggle-group):where([data-orientation=horizontal]) *)[data-spacing="0"]:last-child{border-start-end-radius:var(--radius);border-end-end-radius:var(--radius)}.group-data-vertical\/toggle-group\:data-\[spacing\=0\]\:last\:rounded-b-lg:is(:where(.group\/toggle-group):where([data-orientation=vertical]) *)[data-spacing="0"]:last-child{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.data-\[state\=delayed-open\]\:animate-in[data-state=delayed-open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=delayed-open\]\:fade-in-0[data-state=delayed-open]{--tw-enter-opacity:0}.data-\[state\=delayed-open\]\:zoom-in-95[data-state=delayed-open]{--tw-enter-scale:.95}.data-\[state\=on\]\:bg-muted[data-state=on],.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:var(--muted)}.data-\[variant\=line\]\:rounded-none[data-variant=line]{border-radius:0}.group-data-horizontal\/toggle-group\:data-\[spacing\=0\]\:data-\[variant\=outline\]\:border-s-0:is(:where(.group\/toggle-group):where([data-orientation=horizontal]) *)[data-spacing="0"][data-variant=outline]{border-inline-start-style:var(--tw-border-style);border-inline-start-width:0}.group-data-vertical\/toggle-group\:data-\[spacing\=0\]\:data-\[variant\=outline\]\:border-t-0:is(:where(.group\/toggle-group):where([data-orientation=vertical]) *)[data-spacing="0"][data-variant=outline]{border-top-style:var(--tw-border-style);border-top-width:0}.group-data-horizontal\/toggle-group\:data-\[spacing\=0\]\:data-\[variant\=outline\]\:first\:border-s:is(:where(.group\/toggle-group):where([data-orientation=horizontal]) *)[data-spacing="0"][data-variant=outline]:first-child{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.group-data-vertical\/toggle-group\:data-\[spacing\=0\]\:data-\[variant\=outline\]\:first\:border-t:is(:where(.group\/toggle-group):where([data-orientation=vertical]) *)[data-spacing="0"][data-variant=outline]:first-child{border-top-style:var(--tw-border-style);border-top-width:1px}@supports ((-webkit-backdrop-filter:var(--tw)) or (backdrop-filter:var(--tw))){.supports-backdrop-filter\:backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}@media (width>=40rem){.sm\:block{display:block}.sm\:flex{display:flex}.sm\:w-40{width:calc(var(--spacing) * 40)}.sm\:max-w-48{max-width:calc(var(--spacing) * 48)}.sm\:max-w-56{max-width:calc(var(--spacing) * 56)}.sm\:max-w-64{max-width:calc(var(--spacing) * 64)}.sm\:max-w-sm{max-width:var(--container-sm)}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.data-\[side\=left\]\:sm\:max-w-sm[data-side=left],.data-\[side\=right\]\:sm\:max-w-sm[data-side=right]{max-width:var(--container-sm)}}@media (width>=48rem){.md\:block{display:block}.md\:flex{display:flex}.md\:px-4{padding-inline:calc(var(--spacing) * 4)}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\:opacity-0{opacity:0}.md\:peer-data-\[variant\=inset\]\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing) * 2)}.md\:peer-data-\[variant\=inset\]\:ms-0:is(:where(.peer)[data-variant=inset]~*){margin-inline-start:calc(var(--spacing) * 0)}.md\:peer-data-\[variant\=inset\]\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:calc(var(--radius) * 1.4)}.md\:peer-data-\[variant\=inset\]\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.md\:peer-data-\[variant\=inset\]\:peer-data-\[state\=collapsed\]\:ms-2:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-inline-start:calc(var(--spacing) * 2)}.md\:after\:hidden:after{content:var(--tw-content);display:none}}@media (width>=64rem){.lg\:block{display:block}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:justify-between{justify-content:space-between}}@media (width>=80rem){.xl\:block{display:block}.xl\:flex{display:flex}.xl\:w-\[420px\]{width:420px}.xl\:shrink-0{flex-shrink:0}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\:grid-cols-\[1\.6fr_1fr\]{grid-template-columns:1.6fr 1fr}.xl\:grid-cols-\[1\.65fr_0\.9fr\]{grid-template-columns:1.65fr .9fr}.xl\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.xl\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}.ltr\:-translate-x-1\/2:where(:not(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=ltr],[dir=ltr] *),.rtl\:-translate-x-1\/2:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:-translate-x-px:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:translate-x-1\/2:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:translate-x-px:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:rotate-180:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){rotate:180deg}.rtl\:group-data-\[collapsible\=offcanvas\]\:-translate-x-0:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):is(:where(.group)[data-collapsible=offcanvas] *){--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}:where([data-side=left]) .rtl\:in-data-\[side\=left\]\:cursor-e-resize:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){cursor:e-resize}:where([data-side=right]) .rtl\:in-data-\[side\=right\]\:cursor-w-resize:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){cursor:w-resize}.rtl\:data-\[side\=left\]\:data-ending-style\:-translate-x-\[-2\.5rem\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)[data-side=left][data-ending-style],.rtl\:data-\[side\=left\]\:data-starting-style\:-translate-x-\[-2\.5rem\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)[data-side=left][data-starting-style]{--tw-translate-x:calc(-2.5rem * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:data-\[side\=right\]\:data-ending-style\:-translate-x-\[2\.5rem\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)[data-side=right][data-ending-style],.rtl\:data-\[side\=right\]\:data-starting-style\:-translate-x-\[2\.5rem\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)[data-side=right][data-starting-style]{--tw-translate-x:calc(2.5rem * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.dark\:border-input:is(.dark *){border-color:var(--input)}.dark\:bg-destructive\/20:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-destructive\/20:is(.dark *){background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.dark\:bg-input\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-input\/30:is(.dark *){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\:text-amber-400:is(.dark *){color:var(--color-amber-400)}.dark\:text-emerald-400:is(.dark *){color:var(--color-emerald-400)}.dark\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media (hover:hover){.dark\:hover\:bg-destructive\/30:is(.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-destructive\/30:is(.dark *):hover{background-color:color-mix(in oklab, var(--destructive) 30%, transparent)}}.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.dark\:hover\:bg-muted\/50:is(.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-muted\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.dark\:hover\:text-foreground:is(.dark *):hover{color:var(--foreground)}}.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:disabled\:bg-input\/80:is(.dark *):disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:disabled\:bg-input\/80:is(.dark *):disabled{background-color:color-mix(in oklab, var(--input) 80%, transparent)}}.dark\:aria-invalid\:border-destructive\/50:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:aria-invalid\:border-destructive\/50:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.data-open\:animate-in:where([data-state=open]),.data-open\:animate-in:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-open\:fade-in-0:where([data-state=open]),.data-open\:fade-in-0:where([data-open]:not([data-open=false])){--tw-enter-opacity:0}.data-open\:zoom-in-95:where([data-state=open]),.data-open\:zoom-in-95:where([data-open]:not([data-open=false])){--tw-enter-scale:.95}@media (hover:hover){:is(.data-open\:hover\:bg-sidebar-accent:where([data-state=open]),.data-open\:hover\:bg-sidebar-accent:where([data-open]:not([data-open=false]))):hover{background-color:var(--sidebar-accent)}:is(.data-open\:hover\:text-sidebar-accent-foreground:where([data-state=open]),.data-open\:hover\:text-sidebar-accent-foreground:where([data-open]:not([data-open=false]))):hover{color:var(--sidebar-accent-foreground)}}.data-closed\:animate-out:where([data-state=closed]),.data-closed\:animate-out:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-closed\:fade-out-0:where([data-state=closed]),.data-closed\:fade-out-0:where([data-closed]:not([data-closed=false])){--tw-exit-opacity:0}.data-closed\:zoom-out-95:where([data-state=closed]),.data-closed\:zoom-out-95:where([data-closed]:not([data-closed=false])){--tw-exit-scale:.95}.data-disabled\:pointer-events-none:where([data-disabled=true]),.data-disabled\:pointer-events-none:where([data-disabled]:not([data-disabled=false])){pointer-events:none}.data-disabled\:opacity-50:where([data-disabled=true]),.data-disabled\:opacity-50:where([data-disabled]:not([data-disabled=false])){opacity:.5}.data-active\:bg-background:where([data-state=active]),.data-active\:bg-background:where([data-active]:not([data-active=false])){background-color:var(--background)}.data-active\:bg-sidebar-accent:where([data-state=active]),.data-active\:bg-sidebar-accent:where([data-active]:not([data-active=false])){background-color:var(--sidebar-accent)}.data-active\:font-medium:where([data-state=active]),.data-active\:font-medium:where([data-active]:not([data-active=false])){--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-active\:text-foreground:where([data-state=active]),.data-active\:text-foreground:where([data-active]:not([data-active=false])){color:var(--foreground)}.data-active\:text-sidebar-accent-foreground:where([data-state=active]),.data-active\:text-sidebar-accent-foreground:where([data-active]:not([data-active=false])){color:var(--sidebar-accent-foreground)}.group-data-\[variant\=default\]\/tabs-list\:data-active\:shadow-sm:is(:where(.group\/tabs-list)[data-variant=default] *):where([data-state=active]),.group-data-\[variant\=default\]\/tabs-list\:data-active\:shadow-sm:is(:where(.group\/tabs-list)[data-variant=default] *):where([data-active]:not([data-active=false])){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.group-data-\[variant\=line\]\/tabs-list\:data-active\:shadow-none:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\[variant\=line\]\/tabs-list\:data-active\:shadow-none:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.group-data-\[variant\=line\]\/tabs-list\:data-active\:after\:opacity-100:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\[variant\=line\]\/tabs-list\:data-active\:after\:opacity-100:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false]))):after{content:var(--tw-content);opacity:1}.dark\:data-active\:border-input:is(.dark *):where([data-state=active]),.dark\:data-active\:border-input:is(.dark *):where([data-active]:not([data-active=false])){border-color:var(--input)}.dark\:data-active\:bg-input\/30:is(.dark *):where([data-state=active]),.dark\:data-active\:bg-input\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:data-active\:bg-input\/30:is(.dark *):where([data-state=active]),.dark\:data-active\:bg-input\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\:data-active\:text-foreground:is(.dark *):where([data-state=active]),.dark\:data-active\:text-foreground:is(.dark *):where([data-active]:not([data-active=false])){color:var(--foreground)}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:border-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:border-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){border-color:#0000}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.data-horizontal\:h-2\.5:where([data-orientation=horizontal]){height:calc(var(--spacing) * 2.5)}.data-horizontal\:h-px:where([data-orientation=horizontal]){height:1px}.data-horizontal\:w-full:where([data-orientation=horizontal]){width:100%}.data-horizontal\:flex-col:where([data-orientation=horizontal]){flex-direction:column}.data-horizontal\:border-t:where([data-orientation=horizontal]){border-top-style:var(--tw-border-style);border-top-width:1px}.data-horizontal\:border-t-transparent:where([data-orientation=horizontal]){border-top-color:#0000}.data-vertical\:h-full:where([data-orientation=vertical]){height:100%}.data-vertical\:w-2\.5:where([data-orientation=vertical]){width:calc(var(--spacing) * 2.5)}.data-vertical\:w-px:where([data-orientation=vertical]){width:1px}.data-vertical\:flex-col:where([data-orientation=vertical]){flex-direction:column}.data-vertical\:items-stretch:where([data-orientation=vertical]){align-items:stretch}.data-vertical\:self-stretch:where([data-orientation=vertical]){align-self:stretch}.data-vertical\:border-s:where([data-orientation=vertical]){border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.data-vertical\:border-s-transparent:where([data-orientation=vertical]){border-inline-start-color:#0000}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--muted-foreground)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--muted)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5 svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[role\=checkbox\]\)\]\:pe-0:has([role=checkbox]){padding-inline-end:calc(var(--spacing) * 0)}.\[\.border-b\]\:pb-4.border-b{padding-bottom:calc(var(--spacing) * 4)}.group-data-\[size\=sm\]\/card\:\[\.border-b\]\:pb-3:is(:where(.group\/card)[data-size=sm] *).border-b{padding-bottom:calc(var(--spacing) * 3)}:is(.\*\:\[a\]\:underline>*):is(a){text-decoration-line:underline}:is(.\*\:\[a\]\:underline-offset-3>*):is(a){text-underline-offset:3px}@media (hover:hover){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.\[a\]\:hover\:bg-muted:is(a):hover{background-color:var(--muted)}.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.\[a\]\:hover\:text-muted-foreground:is(a):hover{color:var(--muted-foreground)}:is(.\*\:\[a\]\:hover\:text-foreground>*):is(a):hover{color:var(--foreground)}}:is(.\*\:\[img\:first-child\]\:rounded-t-xl>*):is(img:first-child){border-top-left-radius:calc(var(--radius) * 1.4);border-top-right-radius:calc(var(--radius) * 1.4)}:is(.\*\:\[img\:last-child\]\:rounded-b-xl>*):is(img:last-child){border-bottom-right-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}:is(.\*\:\[span\]\:last\:flex>*):is(span):last-child{display:flex}:is(.\*\:\[span\]\:last\:items-center>*):is(span):last-child{align-items:center}:is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>span\:last-child\]\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3\!>svg{width:calc(var(--spacing) * 3)!important;height:calc(var(--spacing) * 3)!important}.\[\&\>svg\]\:size-4>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--muted-foreground)}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:var(--sidebar-accent-foreground)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-end-2{inset-inline-end:calc(var(--spacing) * -2)}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=left][data-state=collapsed] .rtl\:\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){cursor:w-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-start-2{inset-inline-start:calc(var(--spacing) * -2)}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right][data-state=collapsed] .rtl\:\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){cursor:e-resize}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(data:font/woff2;base64,d09GMgABAAAAADlkABQAAAAAbWQAADjvAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoNHG59WHCg/SFZBUoQFP01WQVI8BmA/U1RBVIE4AIJAL34RCAq8RK8gC4ISADDUagE2AiQDhBYEIAWIIgeJJQwHG0tkFWybdrHbAbibOptsRJK5Wh2JsJGLU2T2//fjZAxhBdtUrX4IZkOcqq6uMWsMN+QWvMaiKghT2IlNW55jWsY8A7PZDZMjQdgqbGNPapE9UKJHSykjTSnudfUoSF03VLr8ImFyww+561Wo6Ov7v0iLP5PvOyxH9m0Z9Pmpg/xXZFVoHBp3/MMjNPZJLslD39p/3qrunnkfeAFZIgVIAoEkECbC7YlQUURCEjpyu1Ef/v9vzv89msnJxCfiE5lgEQghYlhoGzTI5ZaK+wDtU/t6b/2LG1f1UcNqaRDL/EDb/IeKPXGo23RWo6BgEnVH3FEHHEedNoKKoli9bLf9itWvWP5I5s/w5yL9HQ6Pm/YPq6TitEyVbne9HlPtzphx30Sa5kydVWZtr2VI0kIQLSRAhAQJkOL5yc36NwpMIPEzt+qbGiR7UvW/FrFkzzVmRJABnpcO9vZ3lFgBRokWYEFBEAXRuaewx8YmRtXW/5qr+gcO/ktP9gBYgiIu35BJD+GiO1ITO2tPLaA8IkcoF3meb7/21nBpE1L8dwRi3JDRxCFU0RApgH8/nPvvTzJpmxI+IPbVMtO7qIDgA7JcVB+AVfjnD5898c7lT8PY+CmSlqiGoOj329/hnlnCLUEoiVxAJlyTgKD7l8l9V/CQpMOpnnPhhCNLj5B6UPV7m73Zrl9zIZLtFQqXvElhSelJ5BUSFHgDMnpwSUiM8fj0qpbtf/ii0iVpuQElOHu8gbO26JyL5jz9ti468AOiAH5y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nZjuv5FJQQKBU1DS0MTkfPwMiEYGZhRbKh2Dk4ubjRGjRq0qxFqzbtPDp4Q3w6denm16NXoIoFPcOeqKHvrCDLuM8CBC0DS3Pw4g6wlbA3lXacLGSDMRe5qLcqIoIqNdfFHSRISkn2ZjNKlGMOHVEHNBhB2UtpeSjdDiwWEbQMLl3DYQBBJEGlOZysnJ2BELmotzoigiq1bhezgwRJKcnebEaJcsyhI+pA2HCEvZSWB2fR4gbWyseVvvIsh/id379x+en5nyKfMS03NHg00zPv3fiTxhN6EAAAAA==)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(data:font/woff2;base64,d09GMgABAAAAADvMABQAAAAAg3wAADtWAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoUmG6sGHIEsP0hWQVKFBT9NVkFSPAZgP1NUQVSBOACEeC9+EQgKxEC5JAuDPAAw3iwBNgIkA4Z0BCAFiCIHjjIMBxvHegfYNo2eh9oJUM1lv6+pG4nQ4wiELxgVwcYBgGrelP3/n5JUZMykQNJuHejUHwpkOUpnUo2iDMowlJpCQsoWvNBuV0JGj3ugMB6Ryxgyhkt+ie4yummK5sAQF1mcSsHCU1ykKNuHh+Kp6C3WMmcGAyv90J5h12d+8aWqoGEHhh0YjrSxdHBhK35HutSPdc6f6MXa3E6dM4/XBVULi7IhIfF/5YSjHVpxYtF9xgyP0NgnuSTxz/v39bX2ff16ej40oH8GIYKVOXImOBSQzZyf57f55xItLTMRFRULmyhp4YmAiAiIMRNjc9Eu3OYiXeWPqMWPcjgXLn9u+7mIVKpkMGfvLQkaQ8B4vKuRtXDNirN3rBwlLKH0ZEQZtf6h3Kyhddquwar4ufzuJ/a6W5qe+O9e5z/zNa3YIAlpgASZkEzECfjS/6up9QsbJbYsmaPYIXuI4DbLl3Nakt/u7bizN0aHyJmxZRJgqxqoOgCgVhM3P0kF5aAiukrZvVy2zaXdz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LRj5SBOiLOU7JMEJ8Vekq7lzFynabAQ26CRJ+UNAWVSGVd9klyRSmmT2gaNLnVXsIM+S+oJb/CgyZRQQjFVqLJP3A/fK/vEY9KxweKU8kRCqnCBgur2Na7Br9SmrJ81XtyRkWIjzk1teGM8HVeh8t9Gd2Lj9MFNxT2hmp8cniS7I4Godhc7DgoKuYLJVjrLFBCtmFFcEjVSZ7b8S9bZM6xNj2R9YIrdMpj/YyoRawAAAAA=)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(data:font/woff2;base64,d09GMgABAAAAAG7wABQAAAAA86gAAG54AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoUnG4GIYByHSj9IVkFShzw/TVZBUjwGYD9TVEFUgTgAhQQvfhEICvVs3VgLhDwAMIGnDAE2AiQDiHQEIAWIIgeLGQwHG/7jB9DTdji53qzCqvOHcbcVMrfpk/RmiYWBet8fRYmmtcr//xlJRxy1sFV3HZ5nNBEiZEHIysCRaVGa3WHMgoAVYYNZVaPGUFvyZLa61VNl6si0gRGyq6YxpeFnWhI1IQmkVQesmdyB3DLodghJ0y0Io/UCwWWLzm888MITFfLSKaNHoMNlQtlvQ7txwDP+/uV8Rrs9bjj9b8Hc49qslwPk0COP8u4yF8ohPMgPJCOPUq/PgxyhsU9yiQKbZfXsaqXTA+nNwBFgRMCZOQLk0I4AQT9Pa/s/d2Z2dnc2aliWzaEXWGCJXpHURuopsRZZBlaAIGZj5UdsBPRhrcVX9CkWYjYWJsPTdP5raVqgpaEG1dRi0qjdxe6S3F2SS7xJG20qIlvxPxh/MFH4+8D2mTj+nTJRYcyY+c/r0nrvkz4IaAA9xpAX0T7kF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5z0LxYq/glIYILY46o2xzw15pud4IQY6aIKJ7BjUmkloQ8+asCwpbPMaH8XHj1OQtM7YTEHChxLrLHFHkeQoHHGZa9IV7ntvjvu6szg9V9sTpZljs/kTQzmGjtk5g5ph3hDXtg/lF6QGD+Q3dgvkSpJtmLT+mwiy+PLk41xxhNj63z2b0pWMp4lhwYz+a7xKanmfE9D13z2LzdksTs/npYay0/gX6gIxN85EWupwXyR5rLi85r5HIHrIAA0JbCguQKvssB0CAwseDew4N0GAoMn4POeAbgOwCAAAoNYBQAAvCoAggAAA6/Cjsd5dyg7SlZBatGRBFJaIANH7igcZV6ldS1zR2vPzH9YOM3Imvj1kOySWSqbzCRT5OW/lDFI/4mU7P4rERmeqNrEX2Tsi398ozDCTI3WN0WU70UbaWYrTJblye83mSd/4KNP/IUUwmnD8pLu0fux8nElXBE/vpEJA9IOFeys3PDHKbvf0FGYVu1LjRsrEeBIAoV4G+YN4/mCjPXDZEdIlP1SVRlo+QCIelvlRcdPQnBD0FpkrwEAAAA=)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--background:oklch(98.5% 0 0);--foreground:oklch(14% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14% 0 0);--primary:oklch(58% .16 65);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(96.5% 0 0);--secondary-foreground:oklch(20% 0 0);--muted:oklch(96.5% 0 0);--muted-foreground:oklch(50% 0 0);--accent:oklch(96.5% 0 0);--accent-foreground:oklch(20% 0 0);--destructive:oklch(57.7% .245 27.325);--border:oklch(91.8% 0 0);--input:oklch(91.8% 0 0);--ring:oklch(58% .16 65);--chart-1:oklch(65% .16 75);--chart-2:oklch(57.7% .245 27.325);--chart-3:oklch(58% .15 155);--chart-4:oklch(55% .12 250);--chart-5:oklch(62% .1 320);--radius:.5rem;--sidebar:oklch(98% 0 0);--sidebar-foreground:oklch(14% 0 0);--sidebar-primary:oklch(58% .16 65);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(96.5% 0 0);--sidebar-accent-foreground:oklch(20% 0 0);--sidebar-border:oklch(91.8% 0 0);--sidebar-ring:oklch(58% .16 65)}.dark{--background:oklch(11.5% 0 0);--foreground:oklch(93.5% 0 0);--card:oklch(15.5% .004 265);--card-foreground:oklch(93.5% 0 0);--popover:oklch(15.5% .004 265);--popover-foreground:oklch(93.5% 0 0);--primary:oklch(79.5% .135 80);--primary-foreground:oklch(16% .04 75);--secondary:oklch(21.5% .004 265);--secondary-foreground:oklch(93.5% 0 0);--muted:oklch(19.5% .004 265);--muted-foreground:oklch(54.5% 0 0);--accent:oklch(19.5% .004 265);--accent-foreground:oklch(93.5% 0 0);--destructive:oklch(65% .21 25);--border:oklch(100% 0 0/.08);--input:oklch(100% 0 0/.12);--ring:oklch(79.5% .135 80);--chart-1:oklch(79.5% .135 80);--chart-2:oklch(65% .21 25);--chart-3:oklch(68% .13 160);--chart-4:oklch(60% .15 280);--chart-5:oklch(65% .12 330);--sidebar:oklch(13.5% .004 265);--sidebar-foreground:oklch(93.5% 0 0);--sidebar-primary:oklch(79.5% .135 80);--sidebar-primary-foreground:oklch(16% .04 75);--sidebar-accent:oklch(19.5% .005 265);--sidebar-accent-foreground:oklch(93.5% 0 0);--sidebar-border:oklch(100% 0 0/.08);--sidebar-ring:oklch(54.5% 0 0)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}
|
|
118
|
+
/*$vite$:1*/</style>
|
|
119
|
+
</head>
|
|
120
|
+
<body>
|
|
121
|
+
<div id="root"></div>
|
|
122
|
+
</body>
|
|
123
|
+
</html>
|