PageSourceSearch

https://globaleconomicview.manus.space/assets/index-rHm8K6kd.js

js globaleconomicview.manus.space collected 2026-10-03 05:01:55 UTC 974,347 bytes, 240 lines download raw bytes

vendor: 28,875 bytes, lines 1-9
1function cI(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var ad=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fy={exports:{}},pc={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var TT;function uI(){if(TT)return pc;TT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,s){var l=null;if(s!==void 0&&(l=""+s),i.key!==void 0&&(l=""+i.key),"key"in i){s={};for(var u in i)u!=="key"&&(s[u]=i[u])}else s=i;return i=s.ref,{$$typeof:e,type:r,key:l,ref:i!==void 0?i:null,props:s}}return pc.Fragment=t,pc.jsx=n,pc.jsxs=n,pc}var AT;function fI(){return AT||(AT=1,Fy.exports=uI()),Fy.exports}var g=fI(),wo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},dI=class extends wo{#t;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},iS=new dI,hI={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},pI=class{#t=hI;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,t){return this.#t.setTimeout(e,t)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,t){return this.#t.setInterval(e,t)}clearInterval(e){this.#t.clearInterval(e)}},ro=new pI;function mI(e){setTimeout(e,0)}var yI=typeof window>"u"||"Deno"in globalThis;function an(){}function vI(e,t){return typeof e=="function"?e(t):e}function dx(e){return typeof e=="number"&&e>=0&&e!==1/0}function A5(e,t){return Math.max(e+(t||0)-Date.now(),0)}function vi(e,t){return typeof e=="function"?e(t):e}function Bn(e,t){return typeof e=="function"?e(t):e}function ET(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==oS(l,t.options))return!1}else if(!zc(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||i&&i!==t.state.fetchStatus||s&&!s(t))}function jT(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(bi(t.options.mutationKey)!==bi(s))return!1}else if(!zc(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function oS(e,t){return(t?.queryKeyHashFn||bi)(e)}function bi(e){return JSON.stringify(e,(t,n)=>hx(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function zc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>zc(e[n],t[n])):!1}var gI=Object.prototype.hasOwnProperty;function sS(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=CT(e)&&CT(t);if(!r&&!(hx(e)&&hx(t)))return t;const s=(r?e:Object.keys(e)).length,l=r?t:Object.keys(t),u=l.length,f=r?new Array(u):{};let d=0;for(let m=0;m<u;m++){const p=r?m:l[m],v=e[p],x=t[p];if(v===x){f[p]=v,(r?m<s:gI.call(e,p))&&d++;continue}if(v===null||x===null||typeof v!="object"||typeof x!="object"){f[p]=x;continue}const O=sS(v,x,n+1);f[p]=O,O===v&&d++}return s===u&&d===s?e:f}function Lc(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function CT(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function hx(e){if(!MT(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!MT(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function MT(e){return Object.prototype.toString.call(e)==="[object Object]"}function bI(e){return new Promise(t=>{ro.setTimeout(t,e)})}function px(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?sS(e,t):t}function xI(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function SI(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Hn=Symbol();function E5(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Hn?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function lS(e,t){return typeof e=="function"?e(...t):!!e}function wI(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r||(r=!0,i.aborted?n():i.addEventListener("abort",n,{once:!0})),i)}),e}var Bc=(()=>{let e=()=>yI;return{isServer(){return e()},setIsServer(t){e=t}}})();function mx(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}var OI=mI;function _I(){let e=[],t=0,n=u=>{u()},r=u=>{u()},i=OI;const s=u=>{t?e.push(u):i(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&i(()=>{r(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||l()}return f},batchCalls:u=>(...f)=>{s(()=>{u(...f)})},schedule:s,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{i=u}}}var St=_I(),TI=class extends wo{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#t}},Rd=new TI;function AI(e){return Math.min(1e3*2**e,3e4)}function j5(e){return(e??"online")==="online"?Rd.isOnline():!0}var yx=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function C5(e){let t=!1,n=0,r;const i=mx(),s=()=>i.status!=="pending",l=S=>{if(!s()){const w=new yx(S);v(w),e.onCancel?.(w)}},u=()=>{t=!0},f=()=>{t=!1},d=()=>iS.isFocused()&&(e.networkMode==="always"||Rd.isOnline())&&e.canRun(),m=()=>j5(e.networkMode)&&e.canRun(),p=S=>{s()||(r?.(),i.resolve(S))},v=S=>{s()||(r?.(),i.reject(S))},x=()=>new Promise(S=>{r=w=>{(s()||d())&&S(w)},e.onPause?.()}).then(()=>{r=void 0,s()||e.onContinue?.()}),O=()=>{if(s())return;let S;const w=n===0?e.initialPromise:void 0;try{S=w??e.fn()}catch(T){S=Promise.reject(T)}Promise.resolve(S).then(p).catch(T=>{if(s())return;const C=e.retry??(Bc.isServer()?0:3),M=e.retryDelay??AI,N=typeof M=="function"?M(n,T):M,_=C===!0||typeof C=="number"&&n<C||typeof C=="function"&&C(n,T);if(t||!_){v(T);return}n++,e.onFail?.(n,T),bI(N).then(()=>d()?void 0:x()).then(()=>{t?v(T):O()})})};return{promise:i,status:()=>i.status,cancel:l,continue:()=>(r?.(),i),cancelRetry:u,continueRetry:f,canStart:m,start:()=>(m()?O():x().then(O),i)}}var M5=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),dx(this.gcTime)&&(this.#t=ro.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Bc.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(ro.clearTimeout(this.#t),this.#t=void 0)}};function EI(e){return{onFetch:(t,n)=>{const r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},f=0;const d=async()=>{let m=!1;const p=O=>{wI(O,()=>t.signal,()=>m=!0)},v=E5(t.options,t.fetchOptions),x=async(O,S,w)=>{if(m)return Promise.reject(t.signal.reason);if(S==null&&O.pages.length)return Promise.resolve(O);const C=(()=>{const E={client:t.client,queryKey:t.queryKey,pageParam:S,direction:w?"backward":"forward",meta:t.options.meta};return p(E),E})(),M=await v(C),{maxPages:N}=t.options,_=w?SI:xI;return{pages:_(O.pages,M,N),pageParams:_(O.pageParams,S,N)}};if(i&&s.length){const O=i==="backward",S=O?N5:vx,w={pages:s,pageParams:l},T=S(r,w);u=await x(w,T,O)}else{const O=e??s.length;do{const S=f===0?l[0]??r.initialPageParam:vx(r,u);if(f>0&&S==null)break;u=await x(u,S),f++}while(f<O)}return u};t.options.persister?t.fetchFn=()=>t.options.persister?.(d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=d}}}function vx(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function N5(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function jI(e,t){return t?vx(e,t)!=null:!1}function CI(e,t){return!t||!e.getPreviousPageParam?!1:N5(e,t)!=null}var MI=class extends M5{#t;#e;#n;#r;#a;#i;#s;#o;constructor(e){super(),this.#o=!1,this.#s=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#r=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=PT(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#s,...e},e?._type&&(this.#t=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=PT(this.options);t.data!==void 0&&(this.setState(NT(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const n=px(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:"setState",state:e})}cancel(e){const t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(an).catch(an):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Bn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Hn||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>vi(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!A5(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#o||this.#u()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(d=>d.options.queryFn);f&&this.setOptions(f.options)}const n=new AbortController,r=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},i=()=>{const f=E5(this.options,t),m=(()=>{const p={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(p),p})();return this.#o=!1,this.options.persister?this.options.persister(f,m,this):f(m)},l=(()=>{const f={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:i};return r(f),f})();(this.#t==="infinite"?EI(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#l({type:"fetch",meta:l.fetchOptions?.meta}),this.#i=C5({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:f=>{f instanceof yx&&f.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(f,d)=>{this.#l({type:"failed",failureCount:f,error:d})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const f=await this.#i.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#r.config.onSuccess?.(f,this),this.#r.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof yx){if(f.silent)return this.#i.promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw this.#l({type:"error",error:f}),this.#r.config.onError?.(f,this),this.#r.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#l(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...P5(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...NT(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const i=e.error;return{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),St.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function P5(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:j5(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function NT(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function PT(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Mu=class extends wo{constructor(e,t){super(),this.options=t,this.#t=e,this.#o=null,this.#s=mx(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#r=void 0;#a;#i;#s;#o;#u;#l;#h;#f;#p;#c;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),RT(this.#e,this.options)?this.#d():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return gx(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return gx(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#S(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,n=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Bn(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#e.setOptions(this.options),t._defaulted&&!Lc(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const r=this.hasListeners();r&&DT(this.#e,n,this.options,t)&&this.#d(),this.updateResult(),r&&(this.#e!==n||Bn(this.options.enabled,this.#e)!==Bn(t.enabled,this.#e)||vi(this.options.staleTime,this.#e)!==vi(t.staleTime,this.#e))&&this.#y();const i=this.#v();r&&(this.#e!==n||Bn(this.options.enabled,this.#e)!==Bn(t.enabled,this.#e)||i!==this.#c)&&this.#g(i)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return PI(this,n)&&(this.#r=n,this.#i=this.options,this.#a=this.#e.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#s.status==="pending"&&this.#s.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,r))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#d(e){this.#w();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(an)),t}#y(){this.#x();const e=vi(this.options.staleTime,this.#e);if(Bc.isServer()||this.#r.isStale||!dx(e))return;const n=A5(this.#r.dataUpdatedAt,e)+1;this.#f=ro.setTimeout(()=>{this.#r.isStale||this.updateResult()},n)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#g(e){this.#S(),this.#c=e,!(Bc.isServer()||Bn(this.options.enabled,this.#e)===!1||!dx(this.#c)||this.#c===0)&&(this.#p=ro.setInterval(()=>{(this.options.refetchIntervalInBackground||iS.isFocused())&&this.#d()},this.#c))}#b(){this.#y(),this.#g(this.#v())}#x(){this.#f!==void 0&&(ro.clearTimeout(this.#f),this.#f=void 0)}#S(){this.#p!==void 0&&(ro.clearInterval(this.#p),this.#p=void 0)}createResult(e,t){const n=this.#e,r=this.options,i=this.#r,s=this.#a,l=this.#i,f=e!==n?e.state:this.#n,{state:d}=e;let m={...d},p=!1,v;if(t._optimisticResults){const P=this.hasListeners(),k=!P&&RT(e,t),G=P&&DT(e,n,t,r);(k||G)&&(m={...m,...P5(d.data,e.options)}),t._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:x,errorUpdatedAt:O,status:S}=m;v=m.data;let w=!1;if(t.placeholderData!==void 0&&v===void 0&&S==="pending"){let P;i?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(P=i.data,w=!0):P=typeof t.placeholderData=="function"?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,P!==void 0&&(S="success",v=px(i?.data,P,t),p=!0)}if(t.select&&v!==void 0&&!w)if(i&&v===s?.data&&t.select===this.#u)v=this.#l;else try{this.#u=t.select,v=t.select(v),v=px(i?.data,v,t),this.#l=v,this.#o=null}catch(P){this.#o=P}this.#o&&(x=this.#o,v=this.#l,O=Date.now(),S="error");const T=m.fetchStatus==="fetching",C=S==="pending",M=S==="error",N=C&&T,_=v!==void 0,j={status:S,fetchStatus:m.fetchStatus,isPending:C,isSuccess:S==="success",isError:M,isInitialLoading:N,isLoading:N,data:v,dataUpdatedAt:m.dataUpdatedAt,error:x,errorUpdatedAt:O,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:m.dataUpdateCount>f.dataUpdateCount||m.errorUpdateCount>f.errorUpdateCount,isFetching:T,isRefetching:T&&!C,isLoadingError:M&&!_,isPaused:m.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:M&&_,isStale:cS(e,t),refetch:this.refetch,promise:this.#s,isEnabled:Bn(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const P=j.data!==void 0,k=j.status==="error"&&!P,G=F=>{k?F.reject(j.error):P&&F.resolve(j.data)},q=()=>{const F=this.#s=j.promise=mx();G(F)},L=this.#s;switch(L.status){case"pending":e.queryHash===n.queryHash&&G(L);break;case"fulfilled":(k||j.data!==L.value)&&q();break;case"rejected":(!k||j.error!==L.reason)&&q();break}}return j}updateResult(){const e=this.#r,t=this.createResult(this.#e,this.options);if(this.#a=this.#e.state,this.#i=this.options,this.#a.data!==void 0&&(this.#h=this.#e),Lc(t,e))return;this.#r=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,i=typeof r=="function"?r():r;if(i==="all"||!i&&!this.#m.size)return!0;const s=new Set(i??this.#m);return this.options.throwOnError&&s.add("error"),Object.keys(this.#r).some(l=>{const u=l;return this.#r[u]!==e[u]&&s.has(u)})};this.#O({listeners:n()})}#w(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#O(e){St.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#r)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function NI(e,t){return Bn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Bn(t.retryOnMount,e)===!1)}function RT(e,t){return NI(e,t)||e.state.data!==void 0&&gx(e,t,t.refetchOnMount)}function gx(e,t,n){if(Bn(t.enabled,e)!==!1&&vi(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&cS(e,t)}return!1}function DT(e,t,n,r){return(e!==t||Bn(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&cS(e,n)}function cS(e,t){return Bn(t.enabled,e)!==!1&&e.isStaleByTime(vi(t.staleTime,e))}function PI(e,t){return!Lc(e.getCurrentResult(),t)}var R5=class extends Mu{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,r=super.createResult(e,t),{isFetching:i,isRefetching:s,isError:l,isRefetchError:u}=r,f=n.fetchMeta?.fetchMore?.direction,d=l&&f==="forward",m=i&&f==="forward",p=l&&f==="backward",v=i&&f==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:jI(t,n.data),hasPreviousPage:CI(t,n.data),isFetchNextPageError:d,isFetchingNextPage:m,isFetchPreviousPageError:p,isFetchingPreviousPage:v,isRefetchError:u&&!d&&!p,isRefetching:s&&!m&&!v}}},RI=class extends M5{#t;#e;#n;#r;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||D5(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#a({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=C5({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(s,l)=>{this.#a({type:"failed",failureCount:s,error:l})},onPause:()=>{this.#a({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",i=!this.#r.canStart();try{if(r)t();else{this.#a({type:"pending",variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const l=await this.options.onMutate?.(e,n);l!==this.state.context&&this.#a({type:"pending",context:l,variables:e,isPaused:i})}const s=await this.#r.start();return await this.#n.config.onSuccess?.(s,e,this.state.context,this,n),await this.options.onSuccess?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(s,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(s,null,e,this.state.context,n),this.#a({type:"success",data:s}),s}catch(s){try{await this.#n.config.onError?.(s,e,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onError?.(s,e,this.state.context,n)}catch(l){Promise.reject(l)}try{await this.#n.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onSettled?.(void 0,s,e,this.state.context,n)}catch(l){Promise.reject(l)}throw this.#a({type:"error",error:s}),s}finally{this.#n.runNext(this)}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),St.batch(()=>{this.#e.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function D5(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var DI=class extends wo{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,t,n){const r=new RI({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#t.add(e);const t=id(e);if(typeof t=="string"){const n=this.#e.get(t);n?n.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=id(e);if(typeof t=="string"){const n=this.#e.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=id(e);if(typeof t=="string"){const r=this.#e.get(t)?.find(i=>i.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=id(e);return typeof t=="string"?this.#e.get(t)?.find(r=>
9r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){St.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>jT(t,n))}findAll(e={}){return this.getAll().filter(t=>jT(e,t))}notify(e){St.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return St.batch(()=>Promise.all(e.map(t=>t.continue().catch(an))))}};function id(e){return e.options.scope?.id}var kI=class extends wo{#t;#e=void 0;#n;#r;constructor(t,n){super(),this.#t=t,this.setOptions(n),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#t.defaultMutationOptions(t),Lc(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&bi(n.mutationKey)!==bi(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#a(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#i()}mutate(t,n){return this.#r=n,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#a(){const t=this.#n?.state??D5();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#i(t){St.batch(()=>{if(this.#r&&this.hasListeners()){const n=this.#e.variables,r=this.#e.context,i={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,n,r,i)}catch(s){Promise.reject(s)}
9try{this.#r.onSettled?.(t.data,null,n,r,i)}catch(s){Promise.reject(s)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,n,r,i)}catch(s){Promise.reject(s)}try{this.#r.onSettled?.(void 0,t.error,n,r,i)}catch(s){Promise.reject(s)}}}this.listeners.forEach(n=>{n(this.#e)})})}};function kT(e,t){const n=new Set(t);return e.filter(r=>!n.has(r))}function II(e,t,n){const r=e.slice(0);return r[t]=n,r}var $I=class extends wo{#t;#e;#n;#r;#a;#i;#s;#o;#u;#l=[];constructor(e,t,n){super(),this.#t=e,this.#r=n,this.#n=[],this.#a=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#a.forEach(e=>{e.subscribe(t=>{this.#m(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#a.forEach(e=>{e.destroy()})}setQueries(e,t){this.#n=e,this.#r=t,St.batch(()=>{const n=this.#a,r=this.#c(this.#n);r.forEach(m=>m.observer.setOptions(m.defaultedQueryOptions));const i=r.map(m=>m.observer),s=i.map(m=>m.getCurrentResult()),l=n.length!==i.length,u=i.some((m,p)=>m!==n[p]),f=l||u,d=f?!0:s.some((m,p)=>{const v=this.#e[p];return!v||!Lc(m,v)});!f&&!d||(f&&(this.#l=r,this.#a=i),this.#e=s,this.hasListeners()&&(f&&(kT(n,i).forEach(m=>{m.destroy()}),kT(i,n).forEach(m=>{m.subscribe(p=>{this.#m(m,p)})})),this.#d()))})}getCurrentResult(){return this.#e}getQueries(){return this.#a.map(e=>e.getCurrentQuery())}getObservers(){return this.#a}getOptimisticResult(e,t){const n=this.#c(e),r=n.map(s=>s.observer.getOptimisticResult(s.defaultedQueryOptions)),i=n.map(s=>s.defaultedQueryOptions.queryHash);return[r,s=>this.#f(s??r,t,i),()=>this.#h(r,n)]}#h(e,t){return t.map((n,r)=>{const i=e[r];return n.defaultedQueryOptions.notifyOnChangeProps?i:n.observer.trackResult(i,s=>{t.forEach(l=>{l.observer.trackProp(s)})})})}#f(e,t,n){if(t){const r=this.#u,i=n!==void 0&&r!==void 0&&(r.length!==n.length||n.some((s,l)=>s!==r[l]));return(!this.#i||this.#e!==this.#o||i||t!==this.#s)&&(this.#s=t,this.#o=this.#e,n!==void 0&&(this.#u=n),this.#i=sS(this.#i,t(e))),this.#i}return e}#p(){return this.#r?.combine!==void 0&&this.#a.some((e,t)=>e.options.suspense&&this.#e[t]?.data===void 0)}#c(e){const t=new Map;this.#a.forEach(r=>{const i=r.options.queryHash;if(!i)return;const s=t.get(i);s?s.push(r):t.set(i,[r])});const n=[];return e.forEach(r=>{const i=this.#t.defaultQueryOptions(r),l=t.get(i.queryHash)?.shift()??new Mu(this.#t,i);n.push({defaultedQueryOptions:i,observer:l})}),n}#m(e,t){const n=this.#a.indexOf(e);n!==-1&&(this.#e=II(this.#e,n,t),this.#d())}#d(){if(this.hasListeners()){const e=this.#h(this.#e,this.#l),t=this.#p(),n=this.#i,r=t?n:this.#f(e,this.#r?.combine);(t||n!==r)&&St.batch(()=>{this.listeners.forEach(i=>{i(this.#e)})})}}},qI=class extends wo{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,n){const r=t.queryKey,i=t.queryHash??oS(r,t);let s=this.get(i);return s||(s=new MI({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(s)),s}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#t.get(e.queryHash);t&&(e.destroy(),t===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){St.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>ET(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>ET(e,n)):t}notify(e){St.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){St.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){St.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},zI=class{#t;#e;#n;#r;#a;#i;#s;#o;constructor(e={}){this.#t=e.queryCache||new qI,this.#e=e.mutationCache||new DI,this.#n=e.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#s=iS.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#o=Rd.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#s?.(),this.#s=void 0,this.#o?.(),this.#o=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#t.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(vi(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=this.#t.get(r.queryHash)?.state.data,l=vI(t,s);if(l!==void 0)return this.#t.build(this,r).setData(l,{...n,manual:!0})}
vendor: 7,732 bytes, lines 9-17
9setQueriesData(e,t,n){return St.batch(()=>this.#t.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;St.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#t;return St.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=St.batch(()=>this.#t.findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(an).catch(an)}invalidateQueries(e,t={}){return St.batch(()=>(this.#t.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=St.batch(()=>this.#t.findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(an)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(an)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(vi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(an).catch(an)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(an).catch(an)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Rd.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(bi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{zc(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#a.set(bi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{zc(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=oS(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Hn&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},Yy={exports:{}},Ce={};/**
10 * @license React
11 * react.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var IT;function LI(){if(IT)return Ce;IT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),v=Symbol.iterator;function x(z){return z===null||typeof z!="object"?null:(z=v&&z[v]||z["@@iterator"],typeof z=="function"?z:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,w={};function T(z,Y,Q){this.props=z,this.context=Y,this.refs=w,this.updater=Q||O}T.prototype.isReactComponent={},T.prototype.setState=function(z,Y){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,Y,"setState")},T.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function C(){}C.prototype=T.prototype;function M(z,Y,Q){this.props=z,this.context=Y,this.refs=w,this.updater=Q||O}var N=M.prototype=new C;N.constructor=M,S(N,T.prototype),N.isPureReactComponent=!0;var _=Array.isArray;function E(){}var j={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function k(z,Y,Q){var te=Q.ref;return{$$typeof:e,type:z,key:Y,ref:te!==void 0?te:null,props:Q}}function G(z,Y){return k(z.type,Y,z.props)}function q(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function L(z){var Y={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(Q){return Y[Q]})}var F=/\/+/g;function V(z,Y){return typeof z=="object"&&z!==null&&z.key!=null?L(""+z.key):Y.toString(36)}function X(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(E,E):(z.status="pending",z.then(function(Y){z.status==="pending"&&(z.status="fulfilled",z.value=Y)},function(Y){z.status==="pending"&&(z.status="rejected",z.reason=Y)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function D(z,Y,Q,te,ue){var he=typeof z;(he==="undefined"||he==="boolean")&&(z=null);var pe=!1;if(z===null)pe=!0;else switch(he){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(z.$$typeof){case e:case t:pe=!0;break;case m:return pe=z._init,D(pe(z._payload),Y,Q,te,ue)}}if(pe)return ue=ue(z),pe=te===""?"."+V(z,0):te,_(ue)?(Q="",pe!=null&&(Q=pe.replace(F,"$&/")+"/"),D(ue,Y,Q,"",function(we){return we})):ue!=null&&(q(ue)&&(ue=G(ue,Q+(ue.key==null||z&&z.key===ue.key?"":(""+ue.key).replace(F,"$&/")+"/")+pe)),Y.push(ue)),1;pe=0;var xe=te===""?".":te+":";if(_(z))for(var fe=0;fe<z.length;fe++)te=z[fe],he=xe+V(te,fe),pe+=D(te,Y,Q,he,ue);else if(fe=x(z),typeof fe=="function")for(z=fe.call(z),fe=0;!(te=z.next()).done;)te=te.value,he=xe+V(te,fe++),pe+=D(te,Y,Q,he,ue);else if(he==="object"){if(typeof z.then=="function")return D(X(z),Y,Q,te,ue);throw Y=String(z),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return pe}function U(z,Y,Q){if(z==null)return z;var te=[],ue=0;return D(z,te,"","",function(he){return Y.call(Q,he,ue++)}),te}function B(z){if(z._status===-1){var Y=z._result;Y=Y(),Y.then(function(Q){(z._status===0||z._status===-1)&&(z._status=1,z._result=Q)},function(Q){(z._status===0||z._status===-1)&&(z._status=2,z._result=Q)}),z._status===-1&&(z._status=0,z._result=Y)}if(z._status===1)return z._result.default;throw z._result}var ee=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},se={map:U,forEach:function(z,Y,Q){U(z,function(){Y.apply(this,arguments)},Q)},count:function(z){var Y=0;return U(z,function(){Y++}),Y},toArray:function(z){return U(z,function(Y){return Y})||[]},only:function(z){if(!q(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};return Ce.Activity=p,Ce.Children=se,Ce.Component=T,Ce.Fragment=n,Ce.Profiler=i,Ce.PureComponent=M,
17Ce.StrictMode=r,Ce.Suspense=f,Ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j,Ce.__COMPILER_RUNTIME={__proto__:null,c:function(z){return j.H.useMemoCache(z)}},Ce.cache=function(z){return function(){return z.apply(null,arguments)}},Ce.cacheSignal=function(){return null},Ce.cloneElement=function(z,Y,Q){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var te=S({},z.props),ue=z.key;if(Y!=null)for(he in Y.key!==void 0&&(ue=""+Y.key),Y)!P.call(Y,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&Y.ref===void 0||(te[he]=Y[he]);var he=arguments.length-2;if(he===1)te.children=Q;else if(1<he){for(var pe=Array(he),xe=0;xe<he;xe++)pe[xe]=arguments[xe+2];te.children=pe}return k(z.type,ue,te)},Ce.createContext=function(z){return z={$$typeof:l,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:s,_context:z},z},Ce.createElement=function(z,Y,Q){var te,ue={},he=null;if(Y!=null)for(te in Y.key!==void 0&&(he=""+Y.key),Y)P.call(Y,te)&&te!=="key"&&te!=="__self"&&te!=="__source"&&(ue[te]=Y[te]);var pe=arguments.length-2;if(pe===1)ue.children=Q;else if(1<pe){for(var xe=Array(pe),fe=0;fe<pe;fe++)xe[fe]=arguments[fe+2];ue.children=xe}if(z&&z.defaultProps)for(te in pe=z.defaultProps,pe)ue[te]===void 0&&(ue[te]=pe[te]);return k(z,he,ue)},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(z){return{$$typeof:u,render:z}},Ce.isValidElement=q,Ce.lazy=function(z){return{$$typeof:m,_payload:{_status:-1,_result:z},_init:B}},Ce.memo=function(z,Y){return{$$typeof:d,type:z,compare:Y===void 0?null:Y}},Ce.startTransition=function(z){var Y=j.T,Q={};j.T=Q;try{var te=z(),ue=j.S;ue!==null&&ue(Q,te),typeof te=="object"&&te!==null&&typeof te.then=="function"&&te.then(E,ee)}catch(he){ee(he)}finally{Y!==null&&Q.types!==null&&(Y.types=Q.types),j.T=Y}},Ce.unstable_useCacheRefresh=function(){return j.H.useCacheRefresh()},Ce.use=function(z){return j.H.use(z)},Ce.useActionState=function(z,Y,Q){return j.H.useActionState(z,Y,Q)},Ce.useCallback=function(z,Y){return j.H.useCallback(z,Y)},Ce.useContext=function(z){return j.H.useContext(z)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(z,Y){return j.H.useDeferredValue(z,Y)},Ce.useEffect=function(z,Y){return j.H.useEffect(z,Y)},Ce.useEffectEvent=function(z){return j.H.useEffectEvent(z)},Ce.useId=function(){return j.H.useId()},Ce.useImperativeHandle=function(z,Y,Q){return j.H.useImperativeHandle(z,Y,Q)},Ce.useInsertionEffect=function(z,Y){return j.H.useInsertionEffect(z,Y)},Ce.useLayoutEffect=function(z,Y){return j.H.useLayoutEffect(z,Y)},Ce.useMemo=function(z,Y){return j.H.useMemo(z,Y)},Ce.useOptimistic=function(z,Y){return j.H.useOptimistic(z,Y)},Ce.useReducer=function(z,Y,Q){return j.H.useReducer(z,Y,Q)},Ce.useRef=function(z){return j.H.useRef(z)},Ce.useState=function(z){return j.H.useState(z)},Ce.useSyncExternalStore=function(z,Y,Q){return j.H.useSyncExternalStore(z,Y,Q)},Ce.useTransition=function(){return j.H.useTransition()},Ce.version="19.2.1",Ce}var $T;function zh(){return $T||($T=1,Yy.exports=LI()),Yy.exports}var $=zh();const I=nt($),k5=cI({__proto__:null,default:I},[$]);var I5=$.createContext(void 0),Nu=e=>{const t=$.useContext(I5);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},BI=({client:e,children:t})=>($.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),g.jsx(I5.Provider,{value:e,children:t})),$5=$.createContext(!1),q5=()=>$.useContext($5);$5.Provider;function UI(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var HI=$.createContext(UI()),z5=()=>$.useContext(HI),L5=(e,t,n)=>{const r=n?.state.error&&typeof e.throwOnError=="function"?lS(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},B5=e=>{$.useEffect(()=>{e.clearReset()},[e])},U5=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||lS(n,[e.error,r])),uS=(e,t)=>t.state.data===void 0,H5=e=>{if(e.suspense){const n=i=>i==="static"?i:Math.max(i??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...i)=>n(r(...i)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},GI=(e,t)=>e.isLoading&&e.isFetching&&!t,bx=(e,t)=>e?.suspense&&t.isPending,xx=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function G5({queries:e,...t},n){const r=Nu(n),i=q5(),s=z5(),l=$.useMemo(()=>e.map(S=>{const w=r.defaultQueryOptions(S);return w._optimisticResults=i?"isRestoring":"optimistic",w}),[e,r,i]);l.forEach(S=>{H5(S);const w=r.getQueryCache().get(S.queryHash);L5(S,s,w)}),B5(s);const[u]=$.useState(()=>new $I(r,l,t)),[f,d,m]=u.getOptimisticResult(l,t.combine),p=!i&&t.subscribed!==!1;$.useSyncExternalStore($.useCallback(S=>p?u.subscribe(St.batchCalls(S)):an,[u,p]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),$.useEffect(()=>{u.setQueries(l,t)},[l,t,u]);const x=f.some((S,w)=>bx(l[w],S))?f.flatMap((S,w)=>{const T=l[w];if(T&&bx(T,S)){const C=new Mu(r,T);return xx(T,C,s)}return[]}):[];if(x.length>0)throw Promise.all(x);const O=f.find((S,w)=>{const T=l[w];return T&&U5({result:S,errorResetBoundary:s,throwOnError:T.throwOnError,query:r.getQueryCache().get(T.queryHash),suspense:T.suspense})});if(O?.error)throw O.error;
17return d(m())}function Lh(e,t,n){const r=q5(),i=z5(),s=Nu(n),l=s.defaultQueryOptions(e);s.getDefaultOptions().queries?._experimental_beforeQuery?.(l);const u=s.getQueryCache().get(l.queryHash),f=e.subscribed!==!1;l._optimisticResults=r?"isRestoring":f?"optimistic":void 0,H5(l),L5(l,i,u),B5(i);const d=!s.getQueryCache().get(l.queryHash),[m]=$.useState(()=>new t(s,l)),p=m.getOptimisticResult(l),v=!r&&f;if($.useSyncExternalStore($.useCallback(x=>{const O=v?m.subscribe(St.batchCalls(x)):an;return m.updateResult(),O},[m,v]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),$.useEffect(()=>{m.setOptions(l)},[l,m]),bx(l,p))throw xx(l,m,i);if(U5({result:p,errorResetBoundary:i,throwOnError:l.throwOnError,query:u,suspense:l.suspense}))throw p.error;return s.getDefaultOptions().queries?._experimental_afterQuery?.(l,p),l.experimental_prefetchInRender&&!Bc.isServer()&&GI(p,r)&&(d?xx(l,m,i):u?.promise)?.catch(an).finally(()=>{m.updateResult()}),l.notifyOnChangeProps?p:m.trackResult(p)}function FI(e,t){return Lh(e,Mu,t)}function YI(e,t){return Lh({...e,enabled:!0,suspense:!0,throwOnError:uS,placeholderData:void 0},Mu,t)}function KI(e,t){return Lh({...e,enabled:!0,suspense:!0,throwOnError:uS},R5,t)}function VI(e,t){return G5({...e,queries:e.queries.map(n=>({...n,suspense:!0,throwOnError:uS,enabled:!0,placeholderData:void 0}))},t)}function QI(e,t){const n=Nu(t);n.getQueryState(e.queryKey)||n.prefetchQuery(e)}function XI(e,t){const n=Nu(t);n.getQueryState(e.queryKey)||n.prefetchInfiniteQuery(e)}function WI(e,t){const n=Nu(t),[r]=$.useState(()=>new kI(n,e));$.useEffect(()=>{r.setOptions(e)},[r,e]);const i=$.useSyncExternalStore($.useCallback(l=>r.subscribe(St.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=$.useCallback((l,u)=>{r.mutate(l,u).catch(an)},[r]);if(i.error&&lS(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:s,mutateAsync:i.mutate}}function ZI(e,t){return Lh(e,R5,t)}function po(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}function JI(){return Object.create(null)}const e$=typeof Symbol=="function"&&!!Symbol.asyncIterator;function F5(e){return e$&&po(e)&&Symbol.asyncIterator in e}var t$=Object.create,Y5=Object.defineProperty,n$=Object.getOwnPropertyDescriptor,K5=Object.getOwnPropertyNames,r$=Object.getPrototypeOf,a$=Object.prototype.hasOwnProperty,Pu=(e,t)=>function(){return t||(0,e[K5(e)[0]])((t={exports:{}}).exports,t),t.exports},i$=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=K5(t),s=0,l=i.length,u;s<l;s++)u=i[s],!a$.call(e,u)&&u!==n&&Y5(e,u,{get:(f=>t[f]).bind(null,u),enumerable:!(r=n$(t,u))||r.enumerable});return e},Bh=(e,t,n)=>(n=e!=null?t$(r$(e)):{},i$(Y5(n,"default",{value:e,enumerable:!0}),e));const V5=()=>{},qT=e=>{Object.freeze&&Object.freeze(e)};function Q5(e,t,n){var r;const i=t.join(".");return(r=n[i])!==null&&r!==void 0||(n[i]=new Proxy(V5,{get(s,l){if(!(typeof l!="string"||l==="then"))return Q5(e,[...t,l],n)},apply(s,l,u){const f=t[t.length-1];if(f==="valueOf"||f==="toString"||f==="toJSON")return`tRPC.proxy(${t.slice(0,-1).join(".")})`;let d={args:u,path:t};return f==="call"?d={args:u.length>=2?[u[1]]:[],path:t.slice(0,-1)}:f==="apply"&&(d={args:u.length>=2?u[1]:[],path:t.slice(0,-1)}),qT(d.args),qT(d.path),e(d)}})),n[i]}const Uh=e=>Q5(e,[],JI()),fS=e=>new Proxy(V5,{get(t,n){if(n!=="then")return e(n)}});var X5=Pu({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),o$=Pu({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=X5().default;function r(i,s){if(n(i)!="object"||!i)return i;var l=i[Symbol.toPrimitive];if(l!==void 0){var u=l.call(i,s||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(i)}
17t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),s$=Pu({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=X5().default,r=o$();function i(s){var l=r(s,"string");return n(l)=="symbol"?l:l+""}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports}}),W5=Pu({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=s$();function r(i,s,l){return(s=n(s))in i?Object.defineProperty(i,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):i[s]=l,i}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),dS=Pu({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=W5();function r(s,l){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(s);l&&(f=f.filter(function(d){return Object.getOwnPropertyDescriptor(s,d).enumerable})),u.push.apply(u,f)}return u}function i(s){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?r(Object(u),!0).forEach(function(f){n(s,f,u[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(f){Object.defineProperty(s,f,Object.getOwnPropertyDescriptor(u,f))})}return s}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports}});Bh(dS());Bh(W5());var od=Bh(dS());function l$(e,t){if("error"in e){const r=t.deserialize(e.error);return{ok:!1,error:(0,od.default)((0,od.default)({},e),{},{error:r})}}return{ok:!0,result:(0,od.default)((0,od.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}var Ky=class extends Error{constructor(){super("Unable to transform response from server")}};function c$(e,t){let n;try{n=l$(e,t)}catch{throw new Ky}if(!n.ok&&(!po(n.error.error)||typeof n.error.error.code!="number"))throw new Ky;if(n.ok&&!po(n.result))throw new Ky;return n}Bh(dS());function Hh(e){const t={subscribe(n){let r=null,i=!1,s=!1,l=!1;function u(){if(r===null){l=!0;return}s||(s=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=e({next(f){var d;i||(d=n.next)===null||d===void 0||d.call(n,f)},error(f){var d;i||(i=!0,(d=n.error)===null||d===void 0||d.call(n,f),u())},complete(){var f;i||(i=!0,(f=n.complete)===null||f===void 0||f.call(n),u())}}),l&&u(),{unsubscribe:u}},pipe(...n){return n.reduce(u$,t)}};return t}function u$(e,t){return t(e)}function f$(e){const t=new AbortController;return new Promise((r,i)=>{let s=!1;function l(){s||(s=!0,u.unsubscribe())}t.signal.addEventListener("abort",()=>{i(t.signal.reason)});const u=e.subscribe({next(f){s=!0,r(f),l()},error(f){i(f)},complete(){t.abort(),l()}})})}var d$=Object.create,Z5=Object.defineProperty,h$=Object.getOwnPropertyDescriptor,J5=Object.getOwnPropertyNames,p$=Object.getPrototypeOf,m$=Object.prototype.hasOwnProperty,Oi=(e,t)=>function(){return t||(0,e[J5(e)[0]])((t={exports:{}}).exports,t),t.exports},y$=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=J5(t),s=0,l=i.length,u;s<l;s++)u=i[s],!m$.call(e,u)&&u!==n&&Z5(e,u,{get:(f=>t[f]).bind(null,u),enumerable:!(r=h$(t,u))||r.enumerable});return e},Oo=(e,t,n)=>(n=e!=null?d$(p$(e)):{},y$(t||!e||!e.__esModule?Z5(n,"default",{value:e,enumerable:!0}):n,e)),v$=Oi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,t){function n(r,i){if(r==null)return{};var s={};for(var l in r)if({}.hasOwnProperty.call(r,l)){if(i.includes(l))continue;s[l]=r[l]}return s}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),g$=Oi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var n=v$();function r(i,s){if(i==null)return{};var l,u,f=n(i,s);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(i);for(u=0;u<d.length;u++)l=d[u],s.includes(l)||{}.propertyIsEnumerable.call(i,l)&&(f[l]=i[l])}return f}
17t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),eR=Oi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),b$=Oi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=eR().default;function r(i,s){if(n(i)!="object"||!i)return i;var l=i[Symbol.toPrimitive];if(l!==void 0){var u=l.call(i,s||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(i)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),x$=Oi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=eR().default,r=b$();function i(s){var l=r(s,"string");return n(l)=="symbol"?l:l+""}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports}}),S$=Oi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=x$();function r(i,s,l){return(s=n(s))in i?Object.defineProperty(i,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):i[s]=l,i}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Ru=Oi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=S$();function r(s,l){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(s);l&&(f=f.filter(function(d){return Object.getOwnPropertyDescriptor(s,d).enumerable})),u.push.apply(u,f)}return u}function i(s){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?r(Object(u),!0).forEach(function(f){n(s,f,u[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(f){Object.defineProperty(s,f,Object.getOwnPropertyDescriptor(u,f))})}return s}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports}}),w$=Oo(g$(),1),zT=Oo(Ru(),1);const O$=["cursor","direction"];function $r(e,t,n){const r=e.flatMap(i=>i.split("."));if(!t&&(!n||n==="any"))return r.length?[r]:[];if(n==="infinite"&&po(t)&&("direction"in t||"cursor"in t)){const{cursor:i,direction:s}=t,l=(0,w$.default)(t,O$);return[r,{input:l,type:"infinite"}]}return[r,(0,zT.default)((0,zT.default)({},typeof t<"u"&&t!==Hn&&{input:t}),n&&n!=="any"&&{type:n})]}function Cd(e){return $r(e,void 0,"any")}var _$=Object.create,tR=Object.defineProperty,T$=Object.getOwnPropertyDescriptor,nR=Object.getOwnPropertyNames,A$=Object.getPrototypeOf,E$=Object.prototype.hasOwnProperty,Vr=(e,t)=>function(){return t||(0,e[nR(e)[0]])((t={exports:{}}).exports,t),t.exports},j$=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=nR(t),s=0,l=i.length,u;s<l;s++)u=i[s],!E$.call(e,u)&&u!==n&&tR(e,u,{get:(f=>t[f]).bind(null,u),enumerable:!(r=T$(t,u))||r.enumerable});return e},_t=(e,t,n)=>(n=e!=null?_$(A$(e)):{},j$(tR(n,"default",{value:e,enumerable:!0}),e)),rR=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),C$=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=rR().default;
17function r(i,s){if(n(i)!="object"||!i)return i;var l=i[Symbol.toPrimitive];if(l!==void 0){var u=l.call(i,s||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(i)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),M$=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=rR().default,r=C$();function i(s){var l=r(s,"string");return n(l)=="symbol"?l:l+""}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports}}),_o=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=M$();function r(i,s,l){return(s=n(s))in i?Object.defineProperty(i,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):i[s]=l,i}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Ar=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=_o();function r(s,l){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(s);l&&(f=f.filter(function(d){return Object.getOwnPropertyDescriptor(s,d).enumerable})),u.push.apply(u,f)}return u}function i(s){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?r(Object(u),!0).forEach(function(f){n(s,f,u[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(f){Object.defineProperty(s,f,Object.getOwnPropertyDescriptor(u,f))})}return s}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports}});function N$(e){return t=>{let n=0,r=null;const i=[];function s(){r||(r=t.subscribe({next(u){for(const d of i){var f;(f=d.next)===null||f===void 0||f.call(d,u)}},error(u){for(const d of i){var f;(f=d.error)===null||f===void 0||f.call(d,u)}},complete(){for(const f of i){var u;(u=f.complete)===null||u===void 0||u.call(f)}}}))}function l(){if(n===0&&r){const u=r;r=null,u.unsubscribe()}}return Hh(u=>(n++,i.push(u),s(),{unsubscribe(){n--,l();const f=i.findIndex(d=>d===u);f>-1&&i.splice(f,1)}}))}}function P$(e){let t=e;const n=[],r=l=>{t!==void 0&&l.next(t),n.push(l)},i=l=>{n.splice(n.indexOf(l),1)},s=Hh(l=>(r(l),()=>{i(l)}));return s.next=l=>{if(t!==l){t=l;for(const u of n)u.next(l)}},s.get=()=>t,s}function R$(e){return Hh(t=>{function n(i=0,s=e.op){const l=e.links[i];if(!l)throw new Error("No more links to execute - did you forget to add an ending link?");return l({op:s,next(f){return n(i+1,f)}})}return n().subscribe(t)})}var sd=_t(_o()),xs=_t(Ar());function D$(e){return e instanceof Uc}function k$(e){return po(e)&&po(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function I$(e,t){return typeof e=="string"?e:po(e)&&typeof e.message=="string"?e.message:t}var Uc=class Md extends Error{constructor(t,n){var r,i;const s=n?.cause;super(t,{cause:s}),(0,sd.default)(this,"cause",void 0),(0,sd.default)(this,"shape",void 0),(0,sd.default)(this,"data",void 0),(0,sd.default)(this,"meta",void 0),this.meta=n?.meta,this.cause=s,this.shape=n==null||(r=n.result)===null||r===void 0?void 0:r.error,this.data=n==null||(i=n.result)===null||i===void 0?void 0:i.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,Md.prototype)}static from(t,n={}){const r=t;return D$(r)?(n.meta&&(r.meta=(0,xs.default)((0,xs.default)({},r.meta),n.meta)),r):k$(r)?new Md(r.error.message,(0,xs.default)((0,xs.default)({},n),{},{result:r,cause:n.cause})):new Md(I$(r,"Unknown error"),(0,xs.default)((0,xs.default)({},n),{},{cause:r}))}};function $$(e){const t=e;return t?"input"in t?t:{input:t,output:t}:{input:{serialize:n=>n,deserialize:n=>n},output:{serialize:n=>n,deserialize:n=>n}}}const LT=e=>typeof e=="function";function q$(e){if(e)return e;if(typeof window<"u"&&LT(window.fetch))return window.fetch;if(typeof globalThis<"u"&&LT(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var Pc=_t(Ar());function z$(e){return{url:e.url.toString(),fetch:e.fetch,transformer:$$(e.transformer),methodOverride:e.methodOverride}}function L$(e){const t={};for(let n=0;n<e.length;n++){const r=e[n];t[n]=r}return t}const B$={query:"GET",mutation:"POST",subscription:"PATCH"};function aR(e){return"input"in e?e.transformer.input.serialize(e.input):L$(e.input
17s.map(t=>e.transformer.input.serialize(t)))}const iR=e=>{const t=e.url.split("?");let r=t[0].replace(/\/$/,"")+"/"+e.path;const i=[];if(t[1]&&i.push(t[1]),"inputs"in e&&i.push("batch=1"),e.type==="query"||e.type==="subscription"){const s=aR(e);s!==void 0&&e.methodOverride!=="POST"&&i.push(`input=${encodeURIComponent(JSON.stringify(s))}`)}return i.length&&(r+="?"+i.join("&")),r},U$=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=aR(e);return t!==void 0?JSON.stringify(t):void 0},H$=e=>K$((0,Pc.default)((0,Pc.default)({},e),{},{contentTypeHeader:"application/json",getUrl:iR,getBody:U$}));var G$=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const F$=e=>{var t;if(e?.aborted)throw(t=e.throwIfAborted)===null||t===void 0||t.call(e),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new G$};async function Y$(e){var t,n;F$(e.signal);const r=e.getUrl(e),i=e.getBody(e),s=(t=e.methodOverride)!==null&&t!==void 0?t:B$[e.type],l=await(async()=>{const f=await e.headers();return Symbol.iterator in f?Object.fromEntries(f):f})(),u=(0,Pc.default)((0,Pc.default)((0,Pc.default)({},e.contentTypeHeader&&s!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{[(n=e.trpcAcceptHeaderKey)!==null&&n!==void 0?n:"trpc-accept"]:e.trpcAcceptHeader}:void 0),l);return q$(e.fetch)(r,{method:s,signal:e.signal,body:i,headers:u})}async function K$(e){const t={},n=await Y$(e);t.response=n;const r=await n.json();return t.responseJSON=r,{json:r,meta:t}}_t(Ar());const BT=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function UT(e){let t=null,n=null;const r=()=>{clearTimeout(n),n=null,t=null};function i(u){const f=[[]];let d=0;for(;;){const v=u[d];if(!v)break;const x=f[f.length-1];if(v.aborted){var m;(m=v.reject)===null||m===void 0||m.call(v,new Error("Aborted")),d++;continue}if(e.validate(x.concat(v).map(S=>S.key))){x.push(v),d++;continue}if(x.length===0){var p;(p=v.reject)===null||p===void 0||p.call(v,new Error("Input is too big for a single dispatch")),d++;continue}f.push([])}return f}function s(){const u=i(t);r();for(const f of u){if(!f.length)continue;const d={items:f};for(const p of f)p.batch=d;e.fetch(d.items.map(p=>p.key)).then(async p=>{await Promise.all(p.map(async(x,O)=>{const S=d.items[O];try{var w;const C=await Promise.resolve(x);(w=S.resolve)===null||w===void 0||w.call(S,C)}catch(C){var T;(T=S.reject)===null||T===void 0||T.call(S,C)}S.batch=null,S.reject=null,S.resolve=null}));for(const x of d.items){var v;(v=x.reject)===null||v===void 0||v.call(x,new Error("Missing result")),x.batch=null}}).catch(p=>{for(const x of d.items){var v;(v=x.reject)===null||v===void 0||v.call(x,p),x.batch=null}})}}function l(u){var f;const d={aborted:!1,key:u,batch:null,resolve:BT,reject:BT},m=new Promise((p,v)=>{var x;d.reject=v,d.resolve=p,(x=t)!==null&&x!==void 0||(t=[]),t.push(d)});return(f=n)!==null&&f!==void 0||(n=setTimeout(s)),m}return{load:l}}function V$(...e){const t=new AbortController,n=e.length;let r=0;const i=()=>{++r===n&&t.abort()};for(const s of e)s?.aborted?i():s?.addEventListener("abort",i,{once:!0});return t.signal}var ld=_t(Ar());function Q$(e){var t,n;const r=z$(e),i=(t=e.maxURLLength)!==null&&t!==void 0?t:1/0,s=(n=e.maxItems)!==null&&n!==void 0?n:1/0;return()=>{const l=m=>({validate(p){if(i===1/0&&s===1/0)return!0;if(p.length>s)return!1;const v=p.map(S=>S.path).join(","),x=p.map(S=>S.input);return iR((0,ld.default)((0,ld.default)({},r),{},{type:m,path:v,inputs:x,signal:null})).length<=i},async fetch(p){const v=p.map(C=>C.path).join(","),x=p.map(C=>C.input),O=V$(...p.map(C=>C.signal)),S=await H$((0,ld.default)((0,ld.default)({},r),{},{path:v,inputs:x,type:m,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:p}):e.headers:{}},signal:O}));return(Array.isArray(S.json)?S.json:p.map(()=>S.json)).map(C=>({meta:S.meta,json:C}))}}),u=UT(l("query")),f=UT(l("mutation")),d={query:u,mutation:f};return({op:m})=>Hh(p=>{/* istanbul ignore if -- @preserve */if(m.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const x=d[m.type].load(m);let O;return x.then(S=>{O=S;const w=c$(S.json,r.transformer.output);if(!w.ok){p.error(Uc.from(w.error,{meta:S.meta}));return}p.next({context:S.meta,result:w.result}),p.complete()}).catch(S=>{p.error(Uc.from(S,{meta:O?.meta}))}),()=>{}})}}_t(Ar());const oR=(e,...t)=>typeof e=="function"?e(...t):e;_t(_o());
17function X$(){let e,t;return{promise:new Promise((r,i)=>{e=r,t=i}),resolve:e,reject:t}}async function W$(e){const t=await oR(e.url);if(!e.connectionParams)return t;const r=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+r}async function Z$(e,t){const n={method:"connectionParams",data:await oR(e)};return t.encode(n)}_t(_o());var ci=_t(_o());function J$(e){const{promise:t,resolve:n,reject:r}=X$();return e.addEventListener("open",()=>{e.removeEventListener("error",r),n()}),e.addEventListener("error",r),t}function eq(e,{intervalMs:t,pongTimeoutMs:n}){let r,i;function s(){r=setTimeout(()=>{e.send("PING"),i=setTimeout(()=>{e.close()},n)},t)}function l(){clearTimeout(r),s()}function u(){clearTimeout(i),l()}e.addEventListener("open",s),e.addEventListener("message",({data:f})=>{clearTimeout(r),s(),f==="PONG"&&u()}),e.addEventListener("close",()=>{clearTimeout(r),clearTimeout(i)})}var tq=class Sx{constructor(t){var n;if((0,ci.default)(this,"id",++Sx.connectCount),(0,ci.default)(this,"WebSocketPonyfill",void 0),(0,ci.default)(this,"urlOptions",void 0),(0,ci.default)(this,"keepAliveOpts",void 0),(0,ci.default)(this,"encoder",void 0),(0,ci.default)(this,"wsObservable",P$(null)),(0,ci.default)(this,"openPromise",null),this.WebSocketPonyfill=(n=t.WebSocketPonyfill)!==null&&n!==void 0?n:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=t.urlOptions,this.keepAliveOpts=t.keepAlive,this.encoder=t.encoder}get ws(){return this.wsObservable.get()}set ws(t){this.wsObservable.next(t)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var t=this;if(t.openPromise)return t.openPromise;t.id=++Sx.connectCount;const n=W$(t.urlOptions).then(r=>new t.WebSocketPonyfill(r));t.openPromise=n.then(async r=>{t.ws=r,r.binaryType="arraybuffer",r.addEventListener("message",function({data:i}){i==="PING"&&this.send("PONG")}),t.keepAliveOpts.enabled&&eq(r,t.keepAliveOpts),r.addEventListener("close",()=>{t.ws===r&&(t.ws=null)}),await J$(r),t.urlOptions.connectionParams&&r.send(await Z$(t.urlOptions.connectionParams,t.encoder))});try{await t.openPromise}finally{t.openPromise=null}}async close(){var t=this;try{await t.openPromise}finally{var n;(n=t.ws)===null||n===void 0||n.close()}}};(0,ci.default)(tq,"connectCount",0);_t(_o());_t(Ar());var Vy=_t(_o()),HT=_t(Ar()),Gh=class{constructor(e){(0,Vy.default)(this,"links",void 0),(0,Vy.default)(this,"runtime",void 0),(0,Vy.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return R$({links:this.links,op:(0,HT.default)((0,HT.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(N$())}async requestAsPromise(e){var t=this;try{const n=t.$request(e);return(await f$(n)).result.data}catch(n){throw Uc.from(n)}}query(e,t,n){return this.requestAsPromise({type:"query",path:e,input:t,context:n?.context,signal:n?.signal})}mutation(e,t,n){return this.requestAsPromise({type:"mutation",path:e,input:t,context:n?.context,signal:n?.signal})}subscription(e,t,n){return this.$request({type:"subscription",path:e,input:t,context:n.context,signal:n.signal}).subscribe({next(i){switch(i.result.type){case"state":{var s;(s=n.onConnectionStateChange)===null||s===void 0||s.call(n,i.result);break}case"started":{var l;(l=n.onStarted)===null||l===void 0||l.call(n,{context:i.context});break}case"stopped":{var u;(u=n.onStopped)===null||u===void 0||u.call(n);break}case"data":case void 0:{var f;(f=n.onData)===null||f===void 0||f.call(n,i.result.data);break}}},error(i){var s;(s=n.onError)===null||s===void 0||s.call(n,i)},complete(){var i;(i=n.onComplete)===null||i===void 0||i.call(n)}})}};const sR=Symbol.for("trpc_untypedClient"),nq={query:"query",mutate:"mutation",subscribe:"subscription"},rq=e=>nq[e];function lR(e){const t=Uh(({path:n,args:r})=>{const i=[...n],s=rq(i.pop()),l=i.join(".");return e[s](l,...r)});return fS(n=>n===sR?e:t[n])}function aq(e){const t=new Gh(e);return lR(t)}function hS(e){return e[sR]}_t(Ar());_t(Ar());var iq=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(i){var s,l,u,f=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,u=Symbol.iterator);f--;){if(l&&(s=i[l])!=null)return s.call(i);if(u&&(s=i[u])!=null)return new r(s.call(i));l="@@asyncIterator",u="@@iterator"}throw new TypeError("Object is not async iterable")}function r(i){function s(l){if(Object(l)!==l)return Promise.reject(new TypeError(l+" is not an object."));var u=l.done;return Promise.resolve(l.value).then(function(f){return{value:f,done:u}})}return r=function(u){this.s=u,this.n=u.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(u){var f=this.s.return;return f===void 0?Promise.resolve({value:u,done:!0}
17):s(f.apply(this.s,arguments))},throw:function(u){var f=this.s.return;return f===void 0?Promise.reject(u):s(f.apply(this.s,arguments))}},new r(i)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}});_t(iq());_t(Ar());var oq=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){function n(){var r=typeof SuppressedError=="function"?SuppressedError:function(u,f){var d=Error();return d.name="SuppressedError",d.error=u,d.suppressed=f,d},i={},s=[];function l(u,f){if(f!=null){if(Object(f)!==f)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(u)var d=f[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(d===void 0&&(d=f[Symbol.dispose||Symbol.for("Symbol.dispose")],u))var m=d;if(typeof d!="function")throw new TypeError("Object is not disposable.");m&&(d=function(){try{m.call(f)}catch(v){return Promise.reject(v)}}),s.push({v:f,d,a:u})}else u&&s.push({d:f,a:u});return f}return{e:i,u:l.bind(null,!1),a:l.bind(null,!0),d:function(){var f,d=this.e,m=0;function p(){for(;f=s.pop();)try{if(!f.a&&m===1)return m=0,s.push(f),Promise.resolve().then(p);if(f.d){var x=f.d.call(f.v);if(f.a)return m|=2,Promise.resolve(x).then(p,v)}else m|=1}catch(O){return v(O)}if(m===1)return d!==i?Promise.reject(d):Promise.resolve();if(d!==i)throw d}function v(x){return d=d!==i?new r(x,d):x,p()}return p()}}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),cR=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){function n(r,i){this.v=r,this.k=i}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),sq=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=cR();function r(i){return new n(i,0)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),lq=Vr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=cR();function r(s){return function(){return new i(s.apply(this,arguments))}}function i(s){var l,u;function f(m,p){try{var v=s[m](p),x=v.value,O=x instanceof n;Promise.resolve(O?x.v:x).then(function(S){if(O){var w=m==="return"?"return":"next";if(!x.k||S.done)return f(w,S);S=s[w](S).value}d(v.done?"return":"normal",S)},function(S){f("throw",S)})}catch(S){d("throw",S)}}function d(m,p){switch(m){case"return":l.resolve({value:p,done:!0});break;case"throw":l.reject(p);break;default:l.resolve({value:p,done:!1})}(l=l.next)?f(l.key,l.arg):u=null}this._invoke=function(m,p){return new Promise(function(v,x){var O={key:m,arg:p,resolve:v,reject:x,next:null};u?u=u.next=O:(l=u=O,f(m,p))})},typeof s.return!="function"&&(this.return=void 0)}i.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},i.prototype.next=function(s){return this._invoke("next",s)},i.prototype.throw=function(s){return this._invoke("throw",s)},i.prototype.return=function(s){return this._invoke("return",s)},t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}});_t(oq());_t(sq());_t(lq());_t(Ar());function cq(e){return Uh(({path:t,args:n})=>{var r;const i=[...t],s=i.pop();if(s==="useMutation")return e[s](i,...n);if(s==="_def")return{path:i};const[l,...u]=n,f=(r=u[0])!==null&&r!==void 0?r:{};return e[s](i,l,f)})}var Qy;const uq=["client","ssrContext","ssrState","abortOnUnmount"],fq=(Qy=$.createContext)===null||Qy===void 0?void 0:Qy.call(k5,null),dq=e=>{switch(e){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invalidate":case"refetch":case"reset":return"any"}};function hq(e){return Uh(t=>{const n=[...t.path],r=n.pop(),i=[...t.args],s=i.shift(),l=dq(r),u=$r(n,s,l);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(n,u,i[0]),queryOptions:()=>e.queryOptions(n,u,...i),fetch:()=>e.fetchQuery(u,...i),fetchInfinite:()=>e.fetchInfiniteQuery(u,i[0]),prefetch:()=>e.prefetchQuery(u,...i),prefetchInfinite:()=>e.prefetchInfiniteQuery(u,i[0]),ensureData:()=>e.ensureQueryData(u,...i),invalidate:()=>e.invalidateQueries(u,...i),reset:()=>e.resetQueries(u,...i),refetch:()=>e.refetchQueries(u,...i),cancel:()=>e.cancelQuery(u,...i),setData:()=>{e.setQueryData(u,i[0],i[1])},setQueriesData:()=>e.setQueriesData(u,i[0],i[1],i[2]),setInfiniteData:()=>{e.setInfiniteQueryData(u,i[0],i[1])},getData:()=>e.getQueryData(u),getInfiniteData:()=>e.getInfiniteQueryData(u),setMutationDefaults:()=>e.setMutationDefaults(Cd(n),s),getMutationDefaults:()=>e.getMutationDefaults(Cd(n)),isMutating:()=>e.isMutating({mutationKey:Cd(n)})}[r]()})}function pq(e){const t=lR(e.client),n=hq(e);return fS(r=>{const i=r;return i==="client"?t:uq.includes(i)?e[i]:n[r]})}var mq=Oo(Ru(),1);function GT(e){const t=e instanceof Gh?e:hS(e);return Uh(n=>{const r=n.path,i=r.join("."),[s,l]=n.args;return(0,mq.default)({queryKey:$r(r,s,"query"),queryFn:()=>t.query(i,s,l?.trpc)},l)})}var Xy=Oo(Ru(),1);function fn(e,t,n){var r;const i=e[0];let s=(r=e[1])===null||r===void 0?void 0:r.input;if(n){var l;s=(0,Xy.default)((0,Xy.default)((0,Xy.default)({},(l=s)!==null&&l!==void 0?l:{}),n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})}return[i.join("."),s,t?.trpc]}var yq=Oi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(i){var s,l,u,f=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,u=Symbol.iterator);f--;){if(l&&(s=i[l])!=null)return s.call(i);if(u&&(s=i[u])!=null)return new r(s.call(i));l="@@asyncIterator",u="@@iterator"}throw new TypeError("Object is not async iterable")}function r(i){function s(l){if(Object(l)!==l)return Promise.reject(new TypeError(l+" is not an object."));var u=l.done;return Promise.resolve(l.value).then(function(f){return{value:f,done:u}})}return r=function(u){this.s=u,this.n=u.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(u){var f=this.s.return;return f===void 0?Promise.resolve({value:u,done:!0}
17):s(f.apply(this.s,arguments))},throw:function(u){var f=this.s.return;return f===void 0?Promise.reject(u):s(f.apply(this.s,arguments))}},new r(i)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),vq=Oo(yq(),1);function wx(e){return{path:e.path.join(".")}}function mc(e){const t=wx(e);return $.useMemo(()=>t,[t])}async function uR(e,t,n){const i=t.getQueryCache().build(t,{queryKey:n});i.setState({data:[],status:"success"});const s=[];var l=!1,u=!1,f;try{for(var d=(0,vq.default)(e),m;l=!(m=await d.next()).done;l=!1){const p=m.value;s.push(p),i.setState({data:[...s]})}}catch(p){u=!0,f=p}finally{try{l&&d.return!=null&&await d.return()}finally{if(u)throw f}}return s}var Fe=Oo(Ru(),1);function gq(e){const{client:t,queryClient:n}=e,r=t instanceof Gh?t:hS(t);return{infiniteQueryOptions:(i,s,l)=>{var u,f;const d=((u=s[1])===null||u===void 0?void 0:u.input)===Hn,m=async p=>{var v;const x=(0,Fe.default)((0,Fe.default)({},l),{},{trpc:(0,Fe.default)((0,Fe.default)({},l?.trpc),!(l==null||(v=l.trpc)===null||v===void 0)&&v.abortOnUnmount?{signal:p.signal}:{signal:null})});return await r.query(...fn(s,x,{direction:p.direction,pageParam:p.pageParam}))};return Object.assign((0,Fe.default)((0,Fe.default)({},l),{},{initialData:l?.initialData,queryKey:s,queryFn:d?Hn:m,initialPageParam:(f=l?.initialCursor)!==null&&f!==void 0?f:null}),{trpc:wx({path:i})})},queryOptions:(i,s,l)=>{var u;const f=((u=s[1])===null||u===void 0?void 0:u.input)===Hn,d=async m=>{var p;const v=(0,Fe.default)((0,Fe.default)({},l),{},{trpc:(0,Fe.default)((0,Fe.default)({},l?.trpc),!(l==null||(p=l.trpc)===null||p===void 0)&&p.abortOnUnmount?{signal:m.signal}:{signal:null})}),x=await r.query(...fn(s,v));return F5(x)?uR(x,n,s):x};return Object.assign((0,Fe.default)((0,Fe.default)({},l),{},{initialData:l?.initialData,queryKey:s,queryFn:f?Hn:d}),{trpc:wx({path:i})})},fetchQuery:(i,s)=>n.fetchQuery((0,Fe.default)((0,Fe.default)({},s),{},{queryKey:i,queryFn:()=>r.query(...fn(i,s))})),fetchInfiniteQuery:(i,s)=>{var l;return n.fetchInfiniteQuery((0,Fe.default)((0,Fe.default)({},s),{},{queryKey:i,queryFn:({pageParam:u,direction:f})=>r.query(...fn(i,s,{pageParam:u,direction:f})),initialPageParam:(l=s?.initialCursor)!==null&&l!==void 0?l:null}))},prefetchQuery:(i,s)=>n.prefetchQuery((0,Fe.default)((0,Fe.default)({},s),{},{queryKey:i,queryFn:()=>r.query(...fn(i,s))})),prefetchInfiniteQuery:(i,s)=>{var l;return n.prefetchInfiniteQuery((0,Fe.default)((0,Fe.default)({},s),{},{queryKey:i,queryFn:({pageParam:u,direction:f})=>r.query(...fn(i,s,{pageParam:u,direction:f})),initialPageParam:(l=s?.initialCursor)!==null&&l!==void 0?l:null}))},ensureQueryData:(i,s)=>n.ensureQueryData((0,Fe.default)((0,Fe.default)({},s),{},{queryKey:i,queryFn:()=>r.query(...fn(i,s))})),invalidateQueries:(i,s,l)=>n.invalidateQueries((0,Fe.default)((0,Fe.default)({},s),{},{queryKey:i}),l),resetQueries:(i,s,l)=>n.resetQueries((0,Fe.default)((0,Fe.default)({},s),{},{queryKey:i}),l),refetchQueries:(i,s,l)=>n.refetchQueries((0,Fe.default)((0,Fe.default)({},s),{},{queryKey:i}),l),cancelQuery:(i,s)=>n.cancelQueries({queryKey:i},s),setQueryData:(i,s,l)=>n.setQueryData(i,s,l),setQueriesData:(i,s,l,u)=>n.setQueriesData((0,Fe.default)((0,Fe.default)({},s),{},{queryKey:i}),l,u),getQueryData:i=>n.getQueryData(i),setInfiniteQueryData:(i,s,l)=>n.setQueryData(i,s,l),getInfiniteQueryData:i=>n.getQueryData(i),setMutationDefaults:(i,s)=>{const l=i[0],u=f=>r.mutation(...fn([l,{input:f}],e));return n.setMutationDefaults(i,typeof s=="function"?s({canonicalMutationFn:u}):s)},getMutationDefaults:i=>n.getMutationDefaults(i),isMutating:i=>n.isMutating((0,Fe.default)((0,Fe.default)({},i),{},{exact:!0}))}}var me=Oo(Ru());const FT=(e,t)=>new Proxy(e,{get(r,i){return t(i),r[i]}});function bq(e){var t,n;const r=(t=void 0)!==null&&t!==void 0?t:_=>_.originalFn(),i=(n=void 0)!==null&&n!==void 0?n:fq,s=aq,l=_=>{var E;const{abortOnUnmount:j=!1,queryClient:P,ssrContext:k}=_,[G,q]=$.useState((E=_.ssrState)!==null&&E!==void 0?E:!1),L=_.client instanceof Gh?_.client:hS(_.client),F=$.useMemo(()=>gq({client:L,queryClient:P}),[L,P]),V=$.useMemo(()=>(0,me.default)({abortOnUnmount:j,queryClient:P,client:L,ssrContext:k??null,ssrState:G},F),[j,L,F,P,k,G]);return $.useEffect(()=>{q(X=>X?"mounted":!1)},[]),g.jsx(i.Provider,{value:V,children:_.children})};function u(){const _=$.useContext(i);if(!_)throw new Error("Unable to find tRPC Context. Did you forget to wrap your Ap
17p inside `withTRPC` HoC?");return _}function f(_,E){var j;const{queryClient:P,ssrState:k}=u();return k&&k!=="mounted"&&((j=P.getQueryCache().find({queryKey:_}))===null||j===void 0?void 0:j.state.status)==="error"?(0,me.default)({retryOnMount:!1},E):E}function d(_,E,j){var P,k,G,q,L;const F=u(),{abortOnUnmount:V,client:X,ssrState:D,queryClient:U,prefetchQuery:B}=F,ee=$r(_,E,"query"),se=U.getQueryDefaults(ee),z=E===Hn;typeof window>"u"&&D==="prepass"&&(j==null||(P=j.trpc)===null||P===void 0?void 0:P.ssr)!==!1&&((k=j?.enabled)!==null&&k!==void 0?k:se?.enabled)!==!1&&!z&&!U.getQueryCache().find({queryKey:ee})&&B(ee,j);const Y=f(ee,(0,me.default)((0,me.default)({},se),j)),Q=(G=(q=j==null||(L=j.trpc)===null||L===void 0?void 0:L.abortOnUnmount)!==null&&q!==void 0?q:void 0)!==null&&G!==void 0?G:V,te=FI((0,me.default)((0,me.default)({},Y),{},{queryKey:ee,queryFn:z?E:async ue=>{const he=(0,me.default)((0,me.default)({},Y),{},{trpc:(0,me.default)((0,me.default)({},Y?.trpc),Q?{signal:ue.signal}:{signal:null})}),pe=await X.query(...fn(ee,he));return F5(pe)?uR(pe,U,ee):pe}}),U);return te.trpc=mc({path:_}),te}function m(_,E,j){var P,k,G;const q=u(),L=$r(_,E,"query"),F=E===Hn,V=(P=(k=j==null||(G=j.trpc)===null||G===void 0?void 0:G.abortOnUnmount)!==null&&k!==void 0?k:void 0)!==null&&P!==void 0?P:q.abortOnUnmount;QI((0,me.default)((0,me.default)({},j),{},{queryKey:L,queryFn:F?E:X=>{const D={trpc:(0,me.default)((0,me.default)({},j?.trpc),V?{signal:X.signal}:{})};return q.client.query(...fn(L,D))}}))}function p(_,E,j){var P,k,G;const q=u(),L=$r(_,E,"query"),F=(P=(k=j==null||(G=j.trpc)===null||G===void 0?void 0:G.abortOnUnmount)!==null&&k!==void 0?k:void 0)!==null&&P!==void 0?P:q.abortOnUnmount,V=YI((0,me.default)((0,me.default)({},j),{},{queryKey:L,queryFn:X=>{const D=(0,me.default)((0,me.default)({},j),{},{trpc:(0,me.default)((0,me.default)({},j?.trpc),F?{signal:X.signal}:{signal:null})});return q.client.query(...fn(L,D))}}),q.queryClient);return V.trpc=mc({path:_}),[V.data,V]}function v(_,E){const{client:j,queryClient:P}=u(),k=Cd(_),G=P.defaultMutationOptions(P.getMutationDefaults(k)),q=WI((0,me.default)((0,me.default)({},E),{},{mutationKey:k,mutationFn:L=>j.mutation(...fn([_,{input:L}],E)),onSuccess(...L){var F,V;return r({originalFn:()=>{var D,U,B;return(D=E==null||(U=E.onSuccess)===null||U===void 0?void 0:U.call(E,...L))!==null&&D!==void 0?D:G==null||(B=G.onSuccess)===null||B===void 0?void 0:B.call(G,...L)},queryClient:P,meta:(F=(V=E?.meta)!==null&&V!==void 0?V:G?.meta)!==null&&F!==void 0?F:{}})}}),P);return q.trpc=mc({path:_}),q}const x={data:void 0,error:null,status:"idle"},O={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function S(_,E,j){var P;const k=(P=j?.enabled)!==null&&P!==void 0?P:E!==Hn,G=bi($r(_,E,"any")),{client:q}=u(),L=$.useRef(j);$.useEffect(()=>{L.current=j});const[F]=$.useState(new Set([])),V=$.useCallback(z=>{F.add(z)},[F]),X=$.useRef(null),D=$.useCallback(z=>{const Y=B.current,Q=B.current=z(Y);let te=!1;for(const ue of F)if(Y[ue]!==Q[ue]){te=!0;break}te&&se(FT(Q,V))},[V,F]),U=$.useCallback(()=>{var z;if((z=X.current)===null||z===void 0||z.unsubscribe(),!k){D(()=>(0,me.default)((0,me.default)({},x),{},{reset:U}));return}D(()=>(0,me.default)((0,me.default)({},O),{},{reset:U}));const Y=q.subscription(_.join("."),E??void 0,{onStarted:()=>{var Q,te;(Q=(te=L.current).onStarted)===null||Q===void 0||Q.call(te),D(ue=>(0,me.default)((0,me.default)({},ue),{},{status:"pending",error:null}))},onData:Q=>{var te,ue;(te=(ue=L.current).onData)===null||te===void 0||te.call(ue,Q),D(he=>(0,me.default)((0,me.default)({},he),{},{status:"pending",data:Q,error:null}))},onError:Q=>{var te,ue;(te=(ue=L.current).onError)===null||te===void 0||te.call(ue,Q),D(he=>(0,me.default)((0,me.default)({},he),{},{status:"error",error:Q}))},onConnectionStateChange:Q=>{D(te=>{switch(Q.state){case"idle":return(0,me.default)((0,me.default)({},te),{},{status:Q.state,error:null,data:void 0});case"connecting":return(0,me.default)((0,me.default)({},te),{},{error:Q.error,status:Q.state});case"pending":return te}})},onComplete:()=>{var Q,te;(Q=(te=L.current).onComplete)===null||Q===void 0||Q.call(te),D(ue=>(0,me.default)((0,me.default)({},ue),{},{status:"idle",error:null,data:void 0}))}});X.current=Y},[q,G,k,D]);$.useEffect(()=>(U(),()=>{var z;(z=X.current)===null||z===void 0||z.unsubscribe()}),[U]);const B=$.useRef(k?(0,me.default)((0,me.default)({},O),{},{reset:U}):(0,me.default)((0,me.default)({},x),{},{reset:U})),[ee,se]=$.useState(FT(B.current,V));return ee}function w(_,E,j){var P,k,G,q,L;const{client:F,ssrState:V,prefetchInfiniteQuery:X,queryClient:D,abortOnUnmount:U}=u(),B=$r(_,E,"infinite"),ee=D.getQueryDefaults(B),se=E===Hn;typeof window>"u"&&V==="prepass"&&(j==null||(P=j.trpc)===null||P===void 0?void 0:P.ssr)!==!1&&((k=j?.enabled)!==null&&k!==void 0?k:ee?.enabled)!==!1&&!se&&!D.getQueryCache().find({queryKey:B})&&X(B,(0,me.default)((0,me.default)({},ee),j));const z=f(B,(0,me.default)((0,me.default)({},ee),j)),Y=(G=j==null||(q=j.trpc)===null||q===void 0?void 0:q.abortOnUnmount)!==null&&G!==void 0?G:U,Q=
17ZI((0,me.default)((0,me.default)({},z),{},{initialPageParam:(L=j.initialCursor)!==null&&L!==void 0?L:null,persister:j.persister,queryKey:B,queryFn:se?E:te=>{var ue;const he=(0,me.default)((0,me.default)({},z),{},{trpc:(0,me.default)((0,me.default)({},z?.trpc),Y?{signal:te.signal}:{signal:null})});return F.query(...fn(B,he,{pageParam:(ue=te.pageParam)!==null&&ue!==void 0?ue:j.initialCursor,direction:te.direction}))}}),D);return Q.trpc=mc({path:_}),Q}function T(_,E,j){var P,k,G;const q=u(),L=$r(_,E,"infinite"),F=q.queryClient.getQueryDefaults(L),V=E===Hn,X=f(L,(0,me.default)((0,me.default)({},F),j)),D=(P=j==null||(k=j.trpc)===null||k===void 0?void 0:k.abortOnUnmount)!==null&&P!==void 0?P:q.abortOnUnmount;XI((0,me.default)((0,me.default)({},j),{},{initialPageParam:(G=j.initialCursor)!==null&&G!==void 0?G:null,queryKey:L,queryFn:V?E:U=>{var B;const ee=(0,me.default)((0,me.default)({},X),{},{trpc:(0,me.default)((0,me.default)({},X?.trpc),D?{signal:U.signal}:{})});return q.client.query(...fn(L,ee,{pageParam:(B=U.pageParam)!==null&&B!==void 0?B:j.initialCursor,direction:U.direction}))}}))}function C(_,E,j){var P,k,G;const q=u(),L=$r(_,E,"infinite"),F=q.queryClient.getQueryDefaults(L),V=f(L,(0,me.default)((0,me.default)({},F),j)),X=(P=j==null||(k=j.trpc)===null||k===void 0?void 0:k.abortOnUnmount)!==null&&P!==void 0?P:q.abortOnUnmount,D=KI((0,me.default)((0,me.default)({},j),{},{initialPageParam:(G=j.initialCursor)!==null&&G!==void 0?G:null,queryKey:L,queryFn:U=>{var B;const ee=(0,me.default)((0,me.default)({},V),{},{trpc:(0,me.default)((0,me.default)({},V?.trpc),X?{signal:U.signal}:{})});return q.client.query(...fn(L,ee,{pageParam:(B=U.pageParam)!==null&&B!==void 0?B:j.initialCursor,direction:U.direction}))}}),q.queryClient);return D.trpc=mc({path:_}),[D.data,D]}return{Provider:l,createClient:s,useContext:u,useUtils:u,useQuery:d,usePrefetchQuery:m,useSuspenseQuery:p,useQueries:(_,E)=>{const{ssrState:j,queryClient:P,prefetchQuery:k,client:G}=u(),q=GT(G),L=_(q);if(typeof window>"u"&&j==="prepass")for(const V of L){var F;const X=V;((F=X.trpc)===null||F===void 0?void 0:F.ssr)!==!1&&!P.getQueryCache().find({queryKey:X.queryKey})&&k(X.queryKey,X)}return G5({queries:L.map(V=>(0,me.default)((0,me.default)({},V),{},{queryKey:V.queryKey})),combine:E?.combine},P)}
vendor: 5,587 bytes, lines 17-33
17,useSuspenseQueries:_=>{const{queryClient:E,client:j}=u(),P=GT(j),k=_(P),G=VI({queries:k.map(q=>(0,me.default)((0,me.default)({},q),{},{queryFn:q.queryFn,queryKey:q.queryKey}))},E);return[G.map(q=>q.data),G]},useMutation:v,useSubscription:S,useInfiniteQuery:w,usePrefetchInfiniteQuery:T,useSuspenseInfiniteQuery:C}}function xq(e){const t=cq(e);return fS(n=>n==="useContext"||n==="useUtils"?()=>{const r=e.useUtils();return $.useMemo(()=>pq(r),[r])}:e.hasOwnProperty(n)?e[n]:t[n])}function Sq(e){const t=bq();return xq(t)}const mo=Sq(),wq="Please login (10001)";var Wy={exports:{}},yc={},Zy={exports:{}},Jy={};/**
18 * @license React
19 * scheduler.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var YT;function Oq(){return YT||(YT=1,(function(e){function t(D,U){var B=D.length;D.push(U);e:for(;0<B;){var ee=B-1>>>1,se=D[ee];if(0<i(se,U))D[ee]=U,D[B]=se,B=ee;else break e}}function n(D){return D.length===0?null:D[0]}function r(D){if(D.length===0)return null;var U=D[0],B=D.pop();if(B!==U){D[0]=B;e:for(var ee=0,se=D.length,z=se>>>1;ee<z;){var Y=2*(ee+1)-1,Q=D[Y],te=Y+1,ue=D[te];if(0>i(Q,B))te<se&&0>i(ue,Q)?(D[ee]=ue,D[te]=B,ee=te):(D[ee]=Q,D[Y]=B,ee=Y);else if(te<se&&0>i(ue,B))D[ee]=ue,D[te]=B,ee=te;else break e}}return U}function i(D,U){var B=D.sortIndex-U.sortIndex;return B!==0?B:D.id-U.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],d=[],m=1,p=null,v=3,x=!1,O=!1,S=!1,w=!1,T=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function N(D){for(var U=n(d);U!==null;){if(U.callback===null)r(d);else if(U.startTime<=D)r(d),U.sortIndex=U.expirationTime,t(f,U);else break;U=n(d)}}function _(D){if(S=!1,N(D),!O)if(n(f)!==null)O=!0,E||(E=!0,L());else{var U=n(d);U!==null&&X(_,U.startTime-D)}}var E=!1,j=-1,P=5,k=-1;function G(){return w?!0:!(e.unstable_now()-k<P)}function q(){if(w=!1,E){var D=e.unstable_now();k=D;var U=!0;try{e:{O=!1,S&&(S=!1,C(j),j=-1),x=!0;var B=v;try{t:{for(N(D),p=n(f);p!==null&&!(p.expirationTime>D&&G());){var ee=p.callback;if(typeof ee=="function"){p.callback=null,v=p.priorityLevel;var se=ee(p.expirationTime<=D);if(D=e.unstable_now(),typeof se=="function"){p.callback=se,N(D),U=!0;break t}p===n(f)&&r(f),N(D)}else r(f);p=n(f)}if(p!==null)U=!0;else{var z=n(d);z!==null&&X(_,z.startTime-D),U=!1}}break e}finally{p=null,v=B,x=!1}U=void 0}}finally{U?L():E=!1}}}var L;if(typeof M=="function")L=function(){M(q)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,V=F.port2;F.port1.onmessage=q,L=function(){V.postMessage(null)}}else L=function(){T(q,0)};function X(D,U){j=T(function(){D(e.unstable_now())},U)}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(D){D.callback=null},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(D){switch(v){case 1:case 2:case 3:var U=3;break;default:U=v}var B=v;v=U;try{return D()}finally{v=B}},e.unstable_requestPaint=function(){w=!0},e.unstable_runWithPriority=function(D,U){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var B=v;v=D;try{return U()}finally{v=B}},e.unstable_scheduleCallback=function(D,U,B){var ee=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?ee+B:ee):B=ee,D){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=B+se,D={id:m++,callback:U,priorityLevel:D,startTime:B,expirationTime:se,sortIndex:-1},B>ee?(D.sortIndex=B,t(d,D),n(f)===null&&D===n(d)&&(S?(C(j),j=-1):S=!0,X(_,B-ee))):(D.sortIndex=se,t(f,D),O||x||(O=!0,E||(E=!0,L()))),D},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(D){var U=v;return function(){var B=v;v=U;try{return D.apply(this,arguments)}finally{v=B}}}})(Jy)),Jy}var KT;function _q(){return KT||(KT=1,Zy.exports=Oq()),Zy.exports}var ev={exports:{}},nn={};/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var VT;function Tq(){if(VT)return nn;VT=1;var e=zh();function t(f){var d="https://react.dev/errors/"+f;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)d+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+f+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for("react.portal");function s(f,d,m){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:p==null?null:""+p,children:f,containerInfo:d,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(f,d){if(f==="font")return"";
vendor: 4,486 bytes, lines 33-41
33if(typeof d=="string")return d==="use-credentials"?d:""}return nn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,nn.createPortal=function(f,d){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(t(299));return s(f,d,null,m)},nn.flushSync=function(f){var d=l.T,m=r.p;try{if(l.T=null,r.p=2,f)return f()}finally{l.T=d,r.p=m,r.d.f()}},nn.preconnect=function(f,d){typeof f=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,r.d.C(f,d))},nn.prefetchDNS=function(f){typeof f=="string"&&r.d.D(f)},nn.preinit=function(f,d){if(typeof f=="string"&&d&&typeof d.as=="string"){var m=d.as,p=u(m,d.crossOrigin),v=typeof d.integrity=="string"?d.integrity:void 0,x=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;m==="style"?r.d.S(f,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:p,integrity:v,fetchPriority:x}):m==="script"&&r.d.X(f,{crossOrigin:p,integrity:v,fetchPriority:x,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},nn.preinitModule=function(f,d){if(typeof f=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var m=u(d.as,d.crossOrigin);r.d.M(f,{crossOrigin:m,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&r.d.M(f)},nn.preload=function(f,d){if(typeof f=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var m=d.as,p=u(m,d.crossOrigin);r.d.L(f,m,{crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},nn.preloadModule=function(f,d){if(typeof f=="string")if(d){var m=u(d.as,d.crossOrigin);r.d.m(f,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:m,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else r.d.m(f)},nn.requestFormReset=function(f){r.d.r(f)},nn.unstable_batchedUpdates=function(f,d){return f(d)},nn.useFormState=function(f,d,m){return l.H.useFormState(f,d,m)},nn.useFormStatus=function(){return l.H.useHostTransitionStatus()},nn.version="19.2.1",nn}var QT;function fR(){if(QT)return ev.exports;QT=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),ev.exports=Tq(),ev.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var XT;function Aq(){if(XT)return yc;XT=1;var e=_q(),t=zh(),n=fR();function r(a){var o="https://react.dev/errors/"+a;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)o+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+a+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function s(a){var o=a,c=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,(o.flags&4098)!==0&&(c=o.return),a=o.return;while(a)}return o.tag===3?c:null}function l(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function u(a){if(a.tag===31){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function f(a){if(s(a)!==a)throw Error(r(188))}function d(a){var o=a.alternate;if(!o){if(o=s(a),o===null)throw Error(r(188));return o!==a?null:a}for(var c=a,h=o;;){var y=c.return;if(y===null)break;var b=y.alternate;if(b===null){if(h=y.return,h!==null){c=h;continue}break}if(y.child===b.child){for(b=y.child;b;){if(b===c)return f(y),a;if(b===h)return f(y),o;b=b.sibling}throw Error(r(188))}if(c.return!==h.return)c=y,h=b;else{for(var A=!1,R=y.child;R;){if(R===c){A=!0,c=y,h=b;break}if(R===h){A=!0,h=y,c=b;break}
vendor: 12,812 bytes, lines 41-48
41R=R.sibling}if(!A){for(R=b.child;R;){if(R===c){A=!0,c=b,h=y;break}if(R===h){A=!0,h=b,c=y;break}R=R.sibling}if(!A)throw Error(r(189))}}if(c.alternate!==h)throw Error(r(190))}if(c.tag!==3)throw Error(r(188));return c.stateNode.current===c?a:o}function m(a){var o=a.tag;if(o===5||o===26||o===27||o===6)return a;for(a=a.child;a!==null;){if(o=m(a),o!==null)return o;a=a.sibling}return null}var p=Object.assign,v=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),M=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),G=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function L(a){return a===null||typeof a!="object"?null:(a=q&&a[q]||a["@@iterator"],typeof a=="function"?a:null)}var F=Symbol.for("react.client.reference");function V(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===F?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case S:return"Fragment";case T:return"Profiler";case w:return"StrictMode";case _:return"Suspense";case E:return"SuspenseList";case k:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case O:return"Portal";case M:return a.displayName||"Context";case C:return(a._context.displayName||"Context")+".Consumer";case N:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case j:return o=a.displayName||null,o!==null?o:V(a.type)||"Memo";case P:o=a._payload,a=a._init;try{return V(a(o))}catch{}}return null}var X=Array.isArray,D=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},ee=[],se=-1;function z(a){return{current:a}}function Y(a){0>se||(a.current=ee[se],ee[se]=null,se--)}function Q(a,o){se++,ee[se]=a.current,a.current=o}var te=z(null),ue=z(null),he=z(null),pe=z(null);function xe(a,o){switch(Q(he,o),Q(ue,a),Q(te,null),o.nodeType){case 9:case 11:a=(a=o.documentElement)&&(a=a.namespaceURI)?V2(a):0;break;default:if(a=o.tagName,o=o.namespaceURI)o=V2(o),a=Q2(o,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Y(te),Q(te,a)}function fe(){Y(te),Y(ue),Y(he)}function we(a){a.memoizedState!==null&&Q(pe,a);var o=te.current,c=Q2(o,a.type);o!==c&&(Q(ue,a),Q(te,c))}function Oe(a){ue.current===a&&(Y(te),Y(ue)),pe.current===a&&(Y(pe),uc._currentValue=B)}var ce,Ue;function je(a){if(ce===void 0)try{throw Error()}catch(c){var o=c.stack.trim().match(/\n( *(at )?)/);ce=o&&o[1]||"",Ue=-1<c.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<c.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+ce+a+Ue}var lt=!1;function it(a,o){if(!a||lt)return"";lt=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(o){var le=function(){throw Error()};if(Object.defineProperty(le.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(le,[])}catch(re){var ne=re}Reflect.construct(a,[],le)}else{try{le.call()}catch(re){ne=re}a.call(le.prototype)}}else{try{throw Error()}catch(re){ne=re}(le=a())&&typeof le.catch=="function"&&le.catch(function(){})}}catch(re){if(re&&ne&&typeof re.stack=="string")return[re.stack,ne.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=h.DetermineComponentFrameRoot(),A=b[0],R=b[1];if(A&&R){var H=A.split(`
44`),J=R.split(`
45`);for(y=h=0;h<H.length&&!H[h].includes("DetermineComponentFrameRoot");)h++;for(;y<J.length&&!J[y].includes("DetermineComponentFrameRoot");)y++;if(h===H.length||y===J.length)for(h=H.length-1,y=J.length-1;1<=h&&0<=y&&H[h]!==J[y];)y--;for(;1<=h&&0<=y;h--,y--)if(H[h]!==J[y]){if(h!==1||y!==1)do if(h--,y--,0>y||H[h]!==J[y]){var ae=`
46`+H[h].replace(" at new "," at ");return a.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",a.displayName)),ae}while(1<=h&&0<=y);break}}}finally{lt=!1,Error.prepareStackTrace=c}return(c=a?a.displayName||a.name:"")?je(c):""}function vt(a,o){switch(a.tag){case 26:case 27:case 5:return je(a.type);case 16:return je("Lazy");case 13:return a.child!==o&&o!==null?je("Suspense Fallback"):je("Suspense");case 19:return je("SuspenseList");case 0:case 15:return it(a.type,!1);case 11:return it(a.type.render,!1);case 1:return it(a.type,!0);case 31:return je("Activity");default:return""}}function mn(a){try{var o="",c=null;do o+=vt(a,c),c=a,a=a.return;while(a);return o}catch(h){return`
47Error generating stack: `+h.message+`
48`+h.stack}}var Tt=Object.prototype.hasOwnProperty,jr=e.unstable_scheduleCallback,Mn=e.unstable_cancelCallback,mt=e.unstable_shouldYield,Vn=e.unstable_requestPaint,zt=e.unstable_now,Po=e.unstable_getCurrentPriorityLevel,Mi=e.unstable_ImmediatePriority,Hu=e.unstable_UserBlockingPriority,Ni=e.unstable_NormalPriority,Ol=e.unstable_LowPriority,Wr=e.unstable_IdlePriority,Gu=e.log,Ia=e.unstable_setDisableYieldValue,Pi=null,cn=null;function hr(a){if(typeof Gu=="function"&&Ia(a),cn&&typeof cn.setStrictMode=="function")try{cn.setStrictMode(Pi,a)}catch{}}var en=Math.clz32?Math.clz32:Cr,Dp=Math.log,_l=Math.LN2;function Cr(a){return a>>>=0,a===0?32:31-(Dp(a)/_l|0)|0}var Ro=256,Do=262144,Ri=4194304;function Mr(a){var o=a&42;if(o!==0)return o;switch(a&-a){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 a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Ee(a,o,c){var h=a.pendingLanes;if(h===0)return 0;var y=0,b=a.suspendedLanes,A=a.pingedLanes;a=a.warmLanes;var R=h&134217727;return R!==0?(h=R&~b,h!==0?y=Mr(h):(A&=R,A!==0?y=Mr(A):c||(c=R&~a,c!==0&&(y=Mr(c))))):(R=h&~b,R!==0?y=Mr(R):A!==0?y=Mr(A):c||(c=h&~a,c!==0&&(y=Mr(c)))),y===0?0:o!==0&&o!==y&&(o&b)===0&&(b=y&-y,c=o&-o,b>=c||b===32&&(c&4194048)!==0)?o:y}function dt(a,o){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&o)===0}function Lt(a,o){switch(a){case 1:case 2:case 4:case 8:case 64:return o+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 o+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 tn(){var a=Ri;return Ri<<=1,(Ri&62914560)===0&&(Ri=4194304),a}function $a(a){for(var o=[],c=0;31>c;c++)o.push(a);return o}function yt(a,o){a.pendingLanes|=o,o!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function yn(a,o,c,h,y,b){var A=a.pendingLanes;a.pendingLanes=c,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=c,a.entangledLanes&=c,a.errorRecoveryDisabledLanes&=c,a.shellSuspendCounter=0;var R=a.entanglements,H=a.expirationTimes,J=a.hiddenUpdates;for(c=A&~c;0<c;){var ae=31-en(c),le=1<<ae;R[ae]=0,H[ae]=-1;var ne=J[ae];if(ne!==null)for(J[ae]=null,ae=0;ae<ne.length;ae++){var re=ne[ae];re!==null&&(re.lane&=-536870913)}c&=~le}h!==0&&Di(a,h,0),b!==0&&y===0&&a.tag!==0&&(a.suspendedLanes|=b&~(A&~o))}function Di(a,o,c){a.pendingLanes|=o,a.suspendedLanes&=~o;var h=31-en(o);a.entangledLanes|=o,a.entanglements[h]=a.entanglements[h]|1073741824|c&261930}function vn(a,o){var c=a.entangledLanes|=o;for(a=a.entanglements;c;){var h=31-en(c),y=1<<h;y&o|a[h]&o&&(a[h]|=o),c&=~y}}function gn(a,o){var c=o&-o;return c=(c&42)!==0?1:ko(c),(c&(a.suspendedLanes|o))!==0?0:c}function ko(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=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:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function pr(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function kp(){var a=U.p;return a!==0?a:(a=window.event,a===void 0?32:gT(a.type))}function Dw(a,o){var c=U.p;try{return U.p=a,o()}finally{U.p=c}}var qa=Math.random().toString(36).slice(2),Ft="__reactFiber$"+qa,bn="__reactProps$"+qa,Io="__reactContainer$"+qa,Ip="__reactEvents$"+qa,Zk="__reactListeners$"+qa,Jk="__reactHandles$"+qa,kw="__reactResources$"+qa,Tl="__reactMarker$"+qa;function $p(a){delete a[Ft],delete a[bn],delete a[Ip],delete a[Zk],delete a[Jk]}function $o(a){var o=a[Ft];if(o)return o;for(var c=a.parentNode;c;){if(o=c[Io]||c[Ft]){if(c=o.alternate,o.child!==null||c!==null&&c.child!==null)for(a=nT(a);a!==null;){if(c=a[Ft])return c;a=nT(a)}return o}a=c,c=a.parentNode}return null}function qo(a){if(a=a[Ft]||a[Io]){var o=a.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return a}return null}function Al(a){var o=a.tag;if(o===5||o===26||o===27||o===6)return a.stateNode;throw Error(r(33))}function zo(a){var o=a[kw];return o||(o=a[kw]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function Bt(a){a[Tl]=!0}var Iw=new Set,$w={};function ki(a,o){Lo(a,o),Lo(a+"Capture",o)}function Lo(a,o){for($w[a]=o,a=0;a<o.length;a++)Iw.add(o[a])}var e6=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]*$"),qw={},zw={};function t6(a){return Tt.call(zw,a)?!0:Tt.call(qw,a)?!1:e6.test(a)?zw[a]=!0:(qw[a]=!0,!1)}function Fu(a,o,c){if(t6(o))if(c===null)a.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":a.removeAttribute(o);return;case"boolean":var h=o.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){a.removeAttribute(o);return}}a.setAttribute(o,""+c)}}function Yu(a,o,c){if(c===null)a.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(o);return}a.setAttribute(o,""+c)}}function Zr(a,o,c,h){if(h===null)a.removeAttribute(c);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(c);return}a.setAttributeNS(o,c,""+h)}}function Qn(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Lw(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function n6(a,o,c){var h=Object.getOwnPropertyDescriptor(a.constructor.prototype,o);if(!a.hasOwnProperty(o)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var y=h.get,b=h.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return y.call(this)},set:function(A){c=""+A,b.call(this,A)}}),Object.defineProperty(a,o,{enumerable:h.enumerable}),{getValue:function(){return c},setValue:function(A){c=""+A},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function qp(a){if(!a._valueTracker){var o=Lw(a)?"checked":"value";a._valueTracker=n6(a,o,""+a[o])}}function Bw(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var c=o.getValue(),h="";return a&&(h=Lw(a)?a.checked?"true":"false":a.value),a=h,a!==c?(o.setValue(a),!0):!1}function Ku(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var r6=/[\n"\\]/g;function Xn(a){return a.replace(r6,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function zp(a,o,c,h,y,b,A,R){a.name="",A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?a.type=A:a.removeAttribute("type"),o!=null?A==="number"?(o===0&&a.value===""||a.value!=o)&&(a.value=""+Qn(o)):a.value!==""+Qn(o)&&(a.value=""+Qn(o)):A!=="submit"&&A!=="reset"||a.removeAttribute("value"),o!=null?Lp(a,A,Qn(o)):c!=null?Lp(a,A,Qn(c)):h!=null&&a.removeAttribute("value"),y==null&&b!=null&&(a.defaultChecked=!!b),y!=null&&(a.checked=y&&t
vendor: 5,690 bytes, line 48
48ypeof y!="function"&&typeof y!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?a.name=""+Qn(R):a.removeAttribute("name")}function Uw(a,o,c,h,y,b,A,R){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(a.type=b),o!=null||c!=null){if(!(b!=="submit"&&b!=="reset"||o!=null)){qp(a);return}c=c!=null?""+Qn(c):"",o=o!=null?""+Qn(o):c,R||o===a.value||(a.value=o),a.defaultValue=o}h=h??y,h=typeof h!="function"&&typeof h!="symbol"&&!!h,a.checked=R?a.checked:!!h,a.defaultChecked=!!h,A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(a.name=A),qp(a)}function Lp(a,o,c){o==="number"&&Ku(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}function Bo(a,o,c,h){if(a=a.options,o){o={};for(var y=0;y<c.length;y++)o["$"+c[y]]=!0;for(c=0;c<a.length;c++)y=o.hasOwnProperty("$"+a[c].value),a[c].selected!==y&&(a[c].selected=y),y&&h&&(a[c].defaultSelected=!0)}else{for(c=""+Qn(c),o=null,y=0;y<a.length;y++){if(a[y].value===c){a[y].selected=!0,h&&(a[y].defaultSelected=!0);return}o!==null||a[y].disabled||(o=a[y])}o!==null&&(o.selected=!0)}}function Hw(a,o,c){if(o!=null&&(o=""+Qn(o),o!==a.value&&(a.value=o),c==null)){a.defaultValue!==o&&(a.defaultValue=o);return}a.defaultValue=c!=null?""+Qn(c):""}function Gw(a,o,c,h){if(o==null){if(h!=null){if(c!=null)throw Error(r(92));if(X(h)){if(1<h.length)throw Error(r(93));h=h[0]}c=h}c==null&&(c=""),o=c}c=Qn(o),a.defaultValue=c,h=a.textContent,h===c&&h!==""&&h!==null&&(a.value=h),qp(a)}function Uo(a,o){if(o){var c=a.firstChild;if(c&&c===a.lastChild&&c.nodeType===3){c.nodeValue=o;return}}a.textContent=o}var a6=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 Fw(a,o,c){var h=o.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?h?a.setProperty(o,""):o==="float"?a.cssFloat="":a[o]="":h?a.setProperty(o,c):typeof c!="number"||c===0||a6.has(o)?o==="float"?a.cssFloat=c:a[o]=(""+c).trim():a[o]=c+"px"}function Yw(a,o,c){if(o!=null&&typeof o!="object")throw Error(r(62));if(a=a.style,c!=null){for(var h in c)!c.hasOwnProperty(h)||o!=null&&o.hasOwnProperty(h)||(h.indexOf("--")===0?a.setProperty(h,""):h==="float"?a.cssFloat="":a[h]="");for(var y in o)h=o[y],o.hasOwnProperty(y)&&c[y]!==h&&Fw(a,y,h)}else for(var b in o)o.hasOwnProperty(b)&&Fw(a,b,o[b])}function Bp(a){if(a.indexOf("-")===-1)return!1;switch(a){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 i6=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
48-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"]]),o6=/^[\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 Vu(a){return o6.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function Jr(){}var Up=null;function Hp(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var Ho=null,Go=null;function Kw(a){var o=qo(a);if(o&&(a=o.stateNode)){var c=a[bn]||null;e:switch(a=o.stateNode,o.type){case"input":if(zp(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),o=c.name,c.type==="radio"&&o!=null){for(c=a;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+Xn(""+o)+'"][type="radio"]'),o=0;o<c.length;o++){var h=c[o];if(h!==a&&h.form===a.form){var y=h[bn]||null;if(!y)throw Error(r(90));zp(h,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(o=0;o<c.length;o++)h=c[o],h.form===a.form&&Bw(h)}break e;case"textarea":Hw(a,c.value,c.defaultValue);break e;case"select":o=c.value,o!=null&&Bo(a,!!c.multiple,o,!1)}}}var Gp=!1;function Vw(a,o,c){if(Gp)return a(o,c);Gp=!0;try{var h=a(o);return h}finally{if(Gp=!1,(Ho!==null||Go!==null)&&(If(),Ho&&(o=Ho,a=Go,Go=Ho=null,Kw(o),a)))for(o=0;o<a.length;o++)Kw(a[o])}}function El(a,o){var c=a.stateNode;if(c===null)return null;var h=c[bn]||null;if(h===null)return null;c=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(a=a.type,h=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!h;break e;default:a=!1}if(a)return null;if(c&&typeof c!="function")throw Error(r(231,o,typeof c));return c}var ea=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fp=!1;if(ea)try{var jl={};Object.defineProperty(jl,"passive",{get:function(){Fp=!0}}),window.addEventListener("test",jl,jl),window.removeEventListener("test",jl,jl)}catch{Fp=!1}var za=null,Yp=null,Qu=null;function Qw(){if(Qu)return Qu;var a,o=Yp,c=o.length,h,y="value"in za?za.value:za.textContent,b=y.length;for(a=0;a<c&&o[a]===y[a];a++);var A=c-a;for(h=1;h<=A&&o[c-h]===y[b-h];h++);return Qu=y.slice(a,1<h?1-h:void 0)}function Xu(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function Wu(){return!0}function Xw(){return!1}function xn(a){function o(c,h,y,b,A){this._reactName=c,this._targetInst=y,this.type=h,this.nativeEvent=b,this.target=A,this.currentTarget=null;for(var R in a)a.hasOwnProperty(R)&&(c=a[R],this[R]=c?c(b):b[R]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Wu:Xw,this.isPropagationStopped=Xw,this}return p(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=Wu)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=Wu)},persist:function(){},isPersistent:Wu}),o}var Ii={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zu=xn(Ii),Cl=p({},Ii,{view:0,detail:0}),s6=xn(Cl),Kp,Vp,Ml,Ju=p({},Cl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xp,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Ml&&(Ml&&a.type==="mousemove"?(Kp=a.screenX-Ml.screenX,Vp=a.screenY-Ml.screenY):Vp=Kp=0,Ml=a),Kp)},movementY:function(a){return"movementY"in a?a.movementY:Vp}}),Ww=xn(Ju),l6=p({},Ju,{dataTransfer:0}),c6=xn(l6),u6=p({},Cl,{relatedTarget:0}),Qp=xn(u6),f6=p({},Ii,{animationName:0,elapsedTime:0,pseudoElement:0}),d6=xn(f6),h6=p({},Ii,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),p6=xn(h6),m6=p({},Ii,{data:0}),Zw=xn(m6),y6={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v6={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"},g6={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function b6(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=g6[a])?!!o[a]:!1}function Xp(){return b6}var x6=p({}
vendor: 5,271 bytes, line 48
48,Cl,{key:function(a){if(a.key){var o=y6[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=Xu(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?v6[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xp,charCode:function(a){return a.type==="keypress"?Xu(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?Xu(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),S6=xn(x6),w6=p({},Ju,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jw=xn(w6),O6=p({},Cl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xp}),_6=xn(O6),T6=p({},Ii,{propertyName:0,elapsedTime:0,pseudoElement:0}),A6=xn(T6),E6=p({},Ju,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),j6=xn(E6),C6=p({},Ii,{newState:0,oldState:0}),M6=xn(C6),N6=[9,13,27,32],Wp=ea&&"CompositionEvent"in window,Nl=null;ea&&"documentMode"in document&&(Nl=document.documentMode);var P6=ea&&"TextEvent"in window&&!Nl,eO=ea&&(!Wp||Nl&&8<Nl&&11>=Nl),tO=" ",nO=!1;function rO(a,o){switch(a){case"keyup":return N6.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function aO(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Fo=!1;function R6(a,o){switch(a){case"compositionend":return aO(o);case"keypress":return o.which!==32?null:(nO=!0,tO);case"textInput":return a=o.data,a===tO&&nO?null:a;default:return null}}function D6(a,o){if(Fo)return a==="compositionend"||!Wp&&rO(a,o)?(a=Qw(),Qu=Yp=za=null,Fo=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return eO&&o.locale!=="ko"?null:o.data;default:return null}}var k6={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 iO(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!k6[a.type]:o==="textarea"}function oO(a,o,c,h){Ho?Go?Go.push(h):Go=[h]:Ho=h,o=Hf(o,"onChange"),0<o.length&&(c=new Zu("onChange","change",null,c,h),a.push({event:c,listeners:o}))}var Pl=null,Rl=null;function I6(a){U2(a,0)}function ef(a){var o=Al(a);if(Bw(o))return a}function sO(a,o){if(a==="change")return o}var lO=!1;if(ea){var Zp;if(ea){var Jp="oninput"in document;if(!Jp){var cO=document.createElement("div");cO.setAttribute("oninput","return;"),Jp=typeof cO.oninput=="function"}Zp=Jp}else Zp=!1;lO=Zp&&(!document.documentMode||9<document.documentMode)}function uO(){Pl&&(Pl.detachEvent("onpropertychange",fO),Rl=Pl=null)}function fO(a){if(a.propertyName==="value"&&ef(Rl)){var o=[];oO(o,Rl,a,Hp(a)),Vw(I6,o)}}function $6(a,o,c){a==="focusin"?(uO(),Pl=o,Rl=c,Pl.attachEvent("onpropertychange",fO)):a==="focusout"&&uO()}function q6(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return ef(Rl)}function z6(a,o){if(a==="click")return ef(o)}function L6(a,o){if(a==="input"||a==="change")return ef(o)}function B6(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var Nn=typeof Object.is=="function"?Object.is:B6;function Dl(a,o){if(Nn(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var c=Object.keys(a),h=Object.keys(o);if(c.length!==h.length)return!1;for(h=0;h<c.length;h++){var y=c[h];if(!Tt.call(o,y)||!Nn(a[y],o[y]))return!1}return!0}function dO(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function hO(a,o){var c=dO(a);a=0;for(var h;c;){if(c.nodeType===3){if(h=a+c.textContent.length,a<=o&&h>=o)return{node:c,offset:o-a};a=h}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=dO(c)}}function pO(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?pO(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function mO(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var o=Ku(a.document);o instanceof a.HTMLIFrameElement;){try{var c=typeof o.contentWindow.location.href=="string"}catch{c=!1}if(c)a=o.contentWindow;else break;o=Ku(a.document)}return o}function em(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}var U6=ea&&"documentMode"in document&&11>=document.documentMode,Yo=null,tm=null,kl=null,nm=!1;function yO(a,o,c){var h=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;nm||Yo==null||Yo!==Ku(h)||(h=Yo,"selectionStart"in h&&em(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focu
vendor: 2,781 bytes, line 48
48sNode:h.focusNode,focusOffset:h.focusOffset}),kl&&Dl(kl,h)||(kl=h,h=Hf(tm,"onSelect"),0<h.length&&(o=new Zu("onSelect","select",null,o,c),a.push({event:o,listeners:h}),o.target=Yo)))}function $i(a,o){var c={};return c[a.toLowerCase()]=o.toLowerCase(),c["Webkit"+a]="webkit"+o,c["Moz"+a]="moz"+o,c}var Ko={animationend:$i("Animation","AnimationEnd"),animationiteration:$i("Animation","AnimationIteration"),animationstart:$i("Animation","AnimationStart"),transitionrun:$i("Transition","TransitionRun"),transitionstart:$i("Transition","TransitionStart"),transitioncancel:$i("Transition","TransitionCancel"),transitionend:$i("Transition","TransitionEnd")},rm={},vO={};ea&&(vO=document.createElement("div").style,"AnimationEvent"in window||(delete Ko.animationend.animation,delete Ko.animationiteration.animation,delete Ko.animationstart.animation),"TransitionEvent"in window||delete Ko.transitionend.transition);function qi(a){if(rm[a])return rm[a];if(!Ko[a])return a;var o=Ko[a],c;for(c in o)if(o.hasOwnProperty(c)&&c in vO)return rm[a]=o[c];return a}var gO=qi("animationend"),bO=qi("animationiteration"),xO=qi("animationstart"),H6=qi("transitionrun"),G6=qi("transitionstart"),F6=qi("transitioncancel"),SO=qi("transitionend"),wO=new Map,am="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(" ");am.push("scrollEnd");function mr(a,o){wO.set(a,o),ki(o,[a])}var tf=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},Wn=[],Vo=0,im=0;function nf(){for(var a=Vo,o=im=Vo=0;o<a;){var c=Wn[o];Wn[o++]=null;var h=Wn[o];Wn[o++]=null;var y=Wn[o];Wn[o++]=null;var b=Wn[o];if(Wn[o++]=null,h!==null&&y!==null){var A=h.pending;A===null?y.next=y:(y.next=A.next,A.next=y),h.pending=y}b!==0&&OO(c,y,b)}}function rf(a,o,c,h){Wn[Vo++]=a,Wn[Vo++]=o,Wn[Vo++]=c,Wn[Vo++]=h,im|=h,a.lanes|=h,a=a.alternate,a!==null&&(a.lanes|=h)}
vendor: 1,344 bytes, line 48
48function om(a,o,c,h){return rf(a,o,c,h),af(a)}function zi(a,o){return rf(a,null,null,o),af(a)}function OO(a,o,c){a.lanes|=c;var h=a.alternate;h!==null&&(h.lanes|=c);for(var y=!1,b=a.return;b!==null;)b.childLanes|=c,h=b.alternate,h!==null&&(h.childLanes|=c),b.tag===22&&(a=b.stateNode,a===null||a._visibility&1||(y=!0)),a=b,b=b.return;return a.tag===3?(b=a.stateNode,y&&o!==null&&(y=31-en(c),a=b.hiddenUpdates,h=a[y],h===null?a[y]=[o]:h.push(o),o.lane=c|536870912),b):null}function af(a){if(50<rc)throw rc=0,my=null,Error(r(185));for(var o=a.return;o!==null;)a=o,o=a.return;return a.tag===3?a.stateNode:null}var Qo={};function Y6(a,o,c,h){this.tag=a,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pn(a,o,c,h){return new Y6(a,o,c,h)}function sm(a){return a=a.prototype,!(!a||!a.isReactComponent)}function ta(a,o){var c=a.alternate;return c===null?(c=Pn(a.tag,o,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=o,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deleti
vendor: 14,430 bytes, line 48
48ons=null),c.flags=a.flags&65011712,c.childLanes=a.childLanes,c.lanes=a.lanes,c.child=a.child,c.memoizedProps=a.memoizedProps,c.memoizedState=a.memoizedState,c.updateQueue=a.updateQueue,o=a.dependencies,c.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},c.sibling=a.sibling,c.index=a.index,c.ref=a.ref,c.refCleanup=a.refCleanup,c}function _O(a,o){a.flags&=65011714;var c=a.alternate;return c===null?(a.childLanes=0,a.lanes=o,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,o=c.dependencies,a.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),a}function of(a,o,c,h,y,b){var A=0;if(h=a,typeof a=="function")sm(a)&&(A=1);else if(typeof a=="string")A=W8(a,c,te.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case k:return a=Pn(31,c,o,y),a.elementType=k,a.lanes=b,a;case S:return Li(c.children,y,b,o);case w:A=8,y|=24;break;case T:return a=Pn(12,c,o,y|2),a.elementType=T,a.lanes=b,a;case _:return a=Pn(13,c,o,y),a.elementType=_,a.lanes=b,a;case E:return a=Pn(19,c,o,y),a.elementType=E,a.lanes=b,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case M:A=10;break e;case C:A=9;break e;case N:A=11;break e;case j:A=14;break e;case P:A=16,h=null;break e}A=29,c=Error(r(130,a===null?"null":typeof a,"")),h=null}return o=Pn(A,c,o,y),o.elementType=a,o.type=h,o.lanes=b,o}function Li(a,o,c,h){return a=Pn(7,a,h,o),a.lanes=c,a}function lm(a,o,c){return a=Pn(6,a,null,o),a.lanes=c,a}function TO(a){var o=Pn(18,null,null,0);return o.stateNode=a,o}function cm(a,o,c){return o=Pn(4,a.children!==null?a.children:[],a.key,o),o.lanes=c,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}var AO=new WeakMap;function Zn(a,o){if(typeof a=="object"&&a!==null){var c=AO.get(a);return c!==void 0?c:(o={value:a,source:o,stack:mn(o)},AO.set(a,o),o)}return{value:a,source:o,stack:mn(o)}}var Xo=[],Wo=0,sf=null,Il=0,Jn=[],er=0,La=null,Nr=1,Pr="";function na(a,o){Xo[Wo++]=Il,Xo[Wo++]=sf,sf=a,Il=o}function EO(a,o,c){Jn[er++]=Nr,Jn[er++]=Pr,Jn[er++]=La,La=a;var h=Nr;a=Pr;var y=32-en(h)-1;h&=~(1<<y),c+=1;var b=32-en(o)+y;if(30<b){var A=y-y%5;b=(h&(1<<A)-1).toString(32),h>>=A,y-=A,Nr=1<<32-en(o)+y|c<<y|h,Pr=b+a}else Nr=1<<b|c<<y|h,Pr=a}function um(a){a.return!==null&&(na(a,1),EO(a,1,0))}function fm(a){for(;a===sf;)sf=Xo[--Wo],Xo[Wo]=null,Il=Xo[--Wo],Xo[Wo]=null;for(;a===La;)La=Jn[--er],Jn[er]=null,Pr=Jn[--er],Jn[er]=null,Nr=Jn[--er],Jn[er]=null}function jO(a,o){Jn[er++]=Nr,Jn[er++]=Pr,Jn[er++]=La,Nr=o.id,Pr=o.overflow,La=a}var Yt=null,ct=null,Be=!1,Ba=null,tr=!1,dm=Error(r(519));function Ua(a){var o=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $l(Zn(o,a)),dm}function CO(a){var o=a.stateNode,c=a.type,h=a.memoizedProps;switch(o[Ft]=a,o[bn]=h,c){case"dialog":$e("cancel",o),$e("close",o);break;case"iframe":case"object":case"embed":$e("load",o);break;case"video":case"audio":for(c=0;c<ic.length;c++)$e(ic[c],o);break;case"source":$e("error",o);break;case"img":case"image":case"link":$e("error",o),$e("load",o);break;case"details":$e("toggle",o);break;case"input":$e("invalid",o),Uw(o,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0);break;case"select":$e("invalid",o);break;case"textarea":$e("invalid",o),Gw(o,h.value,h.defaultValue,h.children)}c=h.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||o.textContent===""+c||h.suppressHydrationWarning===!0||Y2(o.textContent,c)?(h.popover!=null&&($e("beforetoggle",o),$e("toggle",o)),h.onScroll!=null&&$e("scroll",o),h.onScrollEnd!=null&&$e("scrollend",o),h.onClick!=null&&(o.onclick=Jr),o=!0):o=!1,o||Ua(a,!0)}function MO(a){for(Yt=a.return;Yt;)switch(Yt.tag){case 5:case 31:case 13:tr=!1;return;case 27:case 3:tr=!0;return;default:Yt=Yt.return}}function Zo(a){if(a!==Yt)return!1;if(!Be)return MO(a),Be=!0,!1;var o=a.tag,c;if((c=o!==3&&o!==27)&&((c=o===5)&&(c=a.type,c=!(c!=="form"&&c!=="button")||My(a.type,a.memoizedProps)),c=!c),c&&ct&&Ua(a),MO(a),o===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));ct=tT(a)}else if(o===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));ct=tT(a)}else o===27?(o=ct,ni(a.type)?(a=ky,ky=null,ct=a):ct=o):ct=Yt?rr(a.stateNode.nextSibling):null;return!0}function Bi(){ct=Yt=null,Be=!1}function hm(){var a=Ba;return a!==null&&(_n===null?_n=a:_n.push.apply(_n,a),Ba=null),a}function $l(a){Ba===null?Ba=[a]:Ba.push(a)}var pm=z(null),Ui=null,ra=null;function Ha(a,o,c){Q(pm,o._currentValue),o._currentValue=c}function aa(a){a._currentValue=pm.current,Y(pm)}function mm(a,o,c){for(;a!==null;){var h=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),a===c)break;a=a.return}}function ym(a,o,c,h){var y=a.child;for(y!==null&&(y.return=a);y!==null;){var b=y.dependencies;if(b!==null){var A=y.child;b=b.firstContext;e:for(;b!==null;){var R=b;b=y;for(var H=0;H<o.length;H++)if(R.context===o[H]){b.lanes|=c,R=b.alternate,R!==null&&(R.lanes|=c),mm(b.return,c,a),h||(A=null);break e}b=R.next}}else if(y.tag===18){if(A=y.return,A===null)throw Error(r(341));A.lanes|=c,b=A.alternate,b!==null&&(b.lanes|=c),mm(A,c,a),A=null}else A=y.child;if(A!==null)A.return=y;else for(A=y;A!==null;){if(A===a){A=null;break}if(y=A.sibling,y!==null){y.return=A.return,A=y;break}A=A.return}y=A}}function Jo(a,o,c,h){a=null;for(var y=o,b=!1;y!==null;){if(!b){if((y.flags&524288)!==0)b=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var A=y.alternate;if(A===null)throw Error(r(387));if(A=A.memoizedProps,A!==null){var R=y.type;Nn(y.pendingProps.value,A.value)||(a!==null?a.push(R):a=[R])}}else if(y===pe.current){if(A=y.alternate,A===null)throw Error(r(387));A.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(a!==null?a.push(uc):a=[uc])}y=y.return}a!==null&&ym(o,a,c,h),o.flags|=262144}function lf(a){for(a=a.firstContext;a!==null;){if(!Nn(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function Hi(a){Ui=a,ra=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function Kt(a){return NO(Ui,a)}function cf(a,o){return Ui===null&&Hi(a),NO(a,o)}function NO(a,o){var c=o._currentValue;if(o={context:o,memoizedValue:c,next:null},ra===null){if(a===null)throw Error(r(308));ra=o,a.dependencies={lanes:0,firstContext:o},a.flags|=524288}else ra=ra.next=o;return c}var K6=typeof AbortController<"u"?AbortController:function(){var a=[],o=this.signal={aborted:!1,addEventListener:function(c,h){a.push(h)}};this.abort=function(){o.aborted=!0,a.forEach(function(c){return c()})}},V6=e.unstable_scheduleCallback,Q6=e.unstable_NormalPriority,At={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vm(){return{controller:new K6,data:new Map,refCount:0}}function ql(a){a.refCount--,a.refCount===0&&V6(Q6,function(){a.controller.abort()})}var zl=null,gm=0,es=0,ts=null;function X6(a,o){if(zl===null){var c=zl=[];gm=0,es=Sy(),ts={status:"pending",value:void 0,then:function(h){c.push(h)}}}return gm++,o.then(PO,PO),o}function PO(){if(--gm===0&&zl!==null){ts!==null&&(ts.status="fulfilled");var a=zl;zl=null,es=0,ts=null;for(var o=0;o<a.length;o++)(0,a[o])()}}function W6(a,o){var c=[],h={status:"pending",value:null,reason:null,then:function(y){c.push(y)}};return a.then(function(){h.status="fulfilled",h.value=o;for(var y=0;y<c.length;y++)(0,c[y])(o)},function(y){for(h.status="rejected",h.reason=y,y=0;y<c.length;y++)(0,c[y])(void 0)}),h}var RO=D.S;D.S=function(a,o){y2=zt(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&X6(a,o),RO!==null&&RO(a,o)};var Gi=z(null);function bm(){var a=Gi.current;return a!==null?a:rt.pooledCache}function uf(a,o){o===null?Q(Gi,Gi.current):Q(Gi,o.pool)}function DO(){var a=bm();return a===null?null:{parent:At._currentValue,pool:a}}var ns=Error(r(460)),xm=Error(r(474)),ff=Error(r(542)),df={then:function(){}};function kO(a){return a=a.status,a==="fulfilled"||a==="rejected"}function IO(a,o,c){switch(c=a[c],c===void 0?a.push(o):c!==o&&(o.then(Jr,Jr),o=c),o.status){case"fulfilled":return o.value;case"rejected":throw a=o.reason,qO(a),a;default:if(typeof o.status=="string")o.then(Jr,Jr);else{if(a=rt,a!==null&&100<a.shellSuspendCounter)throw Error(r(482));a=o,a.status="pending",a.then(function(h){if(o.status==="pending"){var y=o;y.status="fulfilled",y.value=h}},function(h){if(o.status==="pending"){var y=o;y.status="rejected",y.reason=h}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw a=o.reason,qO(a),a}throw Yi=o,ns}}function Fi(a){try{var o=a._init;return o(a._payload)}catch(c){throw c!==null&&typeof c=="object"&&typeof c.then=="function"?(Yi=c,ns):c}}var Yi=null;function $O(){if(Yi===null)throw Error(r(459));var a=Yi;return Yi=null,a}function qO(a){if(a===ns||a===ff)throw Error(r(483))}var rs=null,Ll=0;function hf(a){var o=Ll;return Ll+=1,rs===null&&(rs=[]),IO(rs,a,o)}function Bl(a,o){o=o.props.ref,a.ref=o!==void 0?o:null}function pf(a,o){throw o.$$typeof===v?Error(r(525)):(a=Object.prototype.toString.call(o),Error(r(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a)))}function zO(a){function o(W,K){if(a){var Z=W.deletions;Z===null?(W.deletions=[K],W.flags|=16):Z.push(K)}}function c(W,K){if(!a)return null;for(;K!==null;)o(W,K),K=K.sibling;return null}function h(W){for(var K=new Map;W!==null;)W.key!==null?K.set(W.key,W):K.set(W.index,W),W=W.sibling;return K}function y(W,K){return W=ta(W,K),W.index=0,W.sibling=null,W}function b(W,K,Z){return W.index=Z,a?(Z=W.alternate,Z!==null?(Z=Z.index,Z<K?(W.flags|=67108866,K):Z):(W.flags|=67108866,K)):(W.flags|=1048576,K)}function A(W){return a&&W.alternate===null&&(W.flags|=67108866),W}function R(W,K,Z,oe){return K===null||K.tag!==6?(K=lm(Z,W.mode,oe),K.return=W,K):(K=y(K,Z),K.return=W,K)}function H(W,K,Z,oe){var _e=Z.type;return _e===S?ae(W,K,Z.props.children,oe,Z.key):K!==null&&(K.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===P&&Fi(_e)===K.type)?(K=y(K,Z.props),Bl(K,Z),K.return=W,K):(K=of(Z.type,Z.key,Z.props,null,W.mode,oe),Bl(K,Z),K.return=W,K)}function J(W,K,Z,oe){return K===null||K.tag!==4||K.stateNode.containerInfo!==Z.containerInfo||K.stateNode.implementation!==Z.implementation?(K=cm(Z,W.mode,oe),K.return=W,K):(K=y(K,Z.children||[]),K.return=W,K)}function ae(W,K,Z,oe,_e){return K===null||K.tag!==7?(K=Li(Z,W.mode,oe,_e),K.return=W,K):(K=y(K,Z),K.return=W,K)}function le(W,K,Z){if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return K=lm(""+K,W.mode,Z),K.return=W,K;if(typeof K=="object"&&K!==null){switch(K.$$typeof){case x:return Z=of(K.type,K.key,K.props,null,W.mode,Z),Bl(Z,K),Z.return=W,Z;case O:return K=cm(K,W.mode,Z),K.return=W,K;case P:return K=Fi(K),le(W,K,Z)}if(X(K)||L(K))return K=Li(K,W.mode,Z,null),K.return=W,K;if(typeof K.then=="function")return le(W,hf(K),Z);if(K.$$typeof===M)return le(W,cf(W,K),Z);pf(W,K)}return null}function ne(W,K,Z,oe){var _e=K!==null?K.key:null;if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return _e!==null?null:R(W,K,""+Z,oe);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case x:return Z.key===_e?H(W,K,Z,oe):null;case O:return Z.key===_e?J(W,K,Z,oe):null;case P:return Z=Fi(Z),ne(W,K,Z,oe)}if(X(Z)||L(Z))return _e!==null?null:ae(W,K,Z,oe,null);if(typeof Z.then=="function")return ne(W,K,hf(Z),oe);if(Z.$$typeof===M)return ne(W,K,cf(W,Z),oe);pf(W,Z)}return null}function re(W,K,Z,oe,_e){if(typeof oe=="string"&&oe!==""||typeof oe=="number"||typeof oe=="bigint")return W=W.get(Z)||null,R(K,W,""+oe,_e);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case x:return W=W.get(oe.key===null?Z:oe.key)||null,H(K,W,oe,_e);case O:return W=W.get(oe.key===null?Z:oe.key)||null,J(K,W,oe,_e);case P:return oe=Fi(oe),re(W,K,Z,oe,_e)}if(X(oe)||L(oe))return W=W.get(Z)||null,ae(K,W,oe,_e,null);if(typeof oe.then=="function")return re(W,K,Z,hf(oe),_e);if(oe.$$typeof===M)return re(W,K,Z,cf(K,oe),_e);pf(K,oe)}return null}function ve(W,K,Z,oe){for(var _e=null,He=null,Se=K,Pe=K=0,Le=null;Se!==null&&Pe<Z.length;Pe++){Se.index>Pe?(Le=Se,Se=null):Le=Se.sibling;var Ge=ne(W,Se,Z[Pe],oe);if(Ge===null){Se===null&&(Se=Le);break}a&&Se&&Ge.alternate===null&&o(W,Se),K=b(Ge,K,Pe),He===null?_e=Ge:He.sibling=Ge,He=Ge,Se=Le}if(Pe===Z.length)return c(W,Se),Be&&na(W,Pe),_e;if(Se===null){for(;Pe<Z.length;Pe++)Se=le(W,Z[Pe],oe),Se!==null&&(K=b(Se,K,Pe),He===null?_e=Se:He.sibling=Se,He=Se);return Be&&na(W,Pe),_e}for(Se=h(Se);Pe<Z.length;Pe++)Le=re(Se,W,Pe,Z[Pe],oe),Le!==null&&(a&&Le.alternate!==null&&Se.delete(Le.key===null?Pe:Le.key),K=b(Le,K,Pe),He===null?_e=Le:He.sibling=Le,He=Le);return a&&Se.forEach(function(si){return o(W,si)}),Be&&na(W,Pe),_e}function Te(W,K,Z,oe){if(Z==null)throw Error(r(151));for(var _e=null,He=null,Se=K,Pe=K=0,Le=null,Ge=Z.next();Se!==null&&!Ge.done;Pe++,Ge=Z.next()){Se.index>Pe?(Le=Se,Se=null):Le=Se.sibling;var si=ne(W,Se,Ge.value,oe);if(si===null){Se===null&&(Se=Le);break}a&&Se&&si.alternate===null&&o(W,Se),K=b(si,K,Pe),He===null?_e=si:He.sibling=si,He=si,Se=Le}if(Ge.done)return c(W,Se),Be&&na(W,Pe),_e;if(Se===null){for(;!Ge.done;Pe++,Ge=Z.next())Ge=le(W,Ge.value,oe),Ge!==null&&(K=b(Ge,K,Pe),He===null?_e=Ge:He.sibling=Ge,He=Ge);return Be&&na(W,Pe),_e}for(Se=h(Se);!Ge.done;Pe++,Ge=Z.next())Ge=re(Se,W,Pe,Ge.value,oe),Ge!==null&&(a&&Ge.alternate!==null&&Se.delete(Ge.key===null?Pe:Ge.key),K=b(Ge,K,Pe),He===null?_e=Ge:He.sibling=Ge,He=Ge);return a&&Se.forEach(function(lI){return o(W,lI)}),Be&&na(W,Pe),_e}function et(W,K,Z,oe){if(typeof Z=="object"&&Z!==null&&Z.type===S&&Z.key===null&&(Z=Z.props.children),typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case x:e:{for(var _e=Z.key;K!==null;){if(K.key===_e){if(_e=Z.type,_e===S){if(K.tag===7){c(W,K.sibling),oe=y(K,Z.props.children),oe.return=W,W=oe;break e}}else if(K.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===P&&Fi(_e)===K.type){c(W,K.sibling),oe=y(K,Z.props),Bl(oe,Z),oe.return=W,W=oe;break e}c(W,K);break}else o(W,K);K=K.sibling}Z.type===S?(oe=Li(Z.props.children,W.mode,oe,Z.key),oe.return=W,W=oe):(oe=of(Z.type,Z.key,Z.props,null,W.mode,oe),Bl(oe,Z),oe.return=W,W=oe)}return A(W);case O:e:{for(_e=Z.key;K!==null;
vendor: 7,717 bytes, line 48
48){if(K.key===_e)if(K.tag===4&&K.stateNode.containerInfo===Z.containerInfo&&K.stateNode.implementation===Z.implementation){c(W,K.sibling),oe=y(K,Z.children||[]),oe.return=W,W=oe;break e}else{c(W,K);break}else o(W,K);K=K.sibling}oe=cm(Z,W.mode,oe),oe.return=W,W=oe}return A(W);case P:return Z=Fi(Z),et(W,K,Z,oe)}if(X(Z))return ve(W,K,Z,oe);if(L(Z)){if(_e=L(Z),typeof _e!="function")throw Error(r(150));return Z=_e.call(Z),Te(W,K,Z,oe)}if(typeof Z.then=="function")return et(W,K,hf(Z),oe);if(Z.$$typeof===M)return et(W,K,cf(W,Z),oe);pf(W,Z)}return typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint"?(Z=""+Z,K!==null&&K.tag===6?(c(W,K.sibling),oe=y(K,Z),oe.return=W,W=oe):(c(W,K),oe=lm(Z,W.mode,oe),oe.return=W,W=oe),A(W)):c(W,K)}return function(W,K,Z,oe){try{Ll=0;var _e=et(W,K,Z,oe);return rs=null,_e}catch(Se){if(Se===ns||Se===ff)throw Se;var He=Pn(29,Se,null,W.mode);return He.lanes=oe,He.return=W,He}finally{}}}var Ki=zO(!0),LO=zO(!1),Ga=!1;function Sm(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function wm(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Fa(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Ya(a,o,c){var h=a.updateQueue;if(h===null)return null;if(h=h.shared,(Ke&2)!==0){var y=h.pending;return y===null?o.next=o:(o.next=y.next,y.next=o),h.pending=o,o=af(a),OO(a,null,c),o}return rf(a,h,o,c),af(a)}function Ul(a,o,c){if(o=o.updateQueue,o!==null&&(o=o.shared,(c&4194048)!==0)){var h=o.lanes;h&=a.pendingLanes,c|=h,o.lanes=c,vn(a,c)}}function Om(a,o){var c=a.updateQueue,h=a.alternate;if(h!==null&&(h=h.updateQueue,c===h)){var y=null,b=null;if(c=c.firstBaseUpdate,c!==null){do{var A={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};b===null?y=b=A:b=b.next=A,c=c.next}while(c!==null);b===null?y=b=o:b=b.next=o}else y=b=o;c={baseState:h.baseState,firstBaseUpdate:y,lastBaseUpdate:b,shared:h.shared,callbacks:h.callbacks},a.updateQueue=c;return}a=c.lastBaseUpdate,a===null?c.firstBaseUpdate=o:a.next=o,c.lastBaseUpdate=o}var _m=!1;function Hl(){if(_m){var a=ts;if(a!==null)throw a}}function Gl(a,o,c,h){_m=!1;var y=a.updateQueue;Ga=!1;var b=y.firstBaseUpdate,A=y.lastBaseUpdate,R=y.shared.pending;if(R!==null){y.shared.pending=null;var H=R,J=H.next;H.next=null,A===null?b=J:A.next=J,A=H;var ae=a.alternate;ae!==null&&(ae=ae.updateQueue,R=ae.lastBaseUpdate,R!==A&&(R===null?ae.firstBaseUpdate=J:R.next=J,ae.lastBaseUpdate=H))}if(b!==null){var le=y.baseState;A=0,ae=J=H=null,R=b;do{var ne=R.lane&-536870913,re=ne!==R.lane;if(re?(ze&ne)===ne:(h&ne)===ne){ne!==0&&ne===es&&(_m=!0),ae!==null&&(ae=ae.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var ve=a,Te=R;ne=o;var et=c;switch(Te.tag){case 1:if(ve=Te.payload,typeof ve=="function"){le=ve.call(et,le,ne);break e}le=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=Te.payload,ne=typeof ve=="function"?ve.call(et,le,ne):ve,ne==null)break e;le=p({},le,ne);break e;case 2:Ga=!0}}ne=R.callback,ne!==null&&(a.flags|=64,re&&(a.flags|=8192),re=y.callbacks,re===null?y.callbacks=[ne]:re.push(ne))}else re={lane:ne,tag:R.tag,payload:R.payload,callback:R.callback,next:null},ae===null?(J=ae=re,H=le):ae=ae.next=re,A|=ne;if(R=R.next,R===null){if(R=y.shared.pending,R===null)break;re=R,R=re.next,re.next=null,y.lastBaseUpdate=re,y.shared.pending=null}}while(!0);ae===null&&(H=le),y.baseState=H,y.firstBaseUpdate=J,y.lastBaseUpdate=ae,b===null&&(y.shared.lanes=0),Wa|=A,a.lanes=A,a.memoizedState=le}}function BO(a,o){if(typeof a!="function")throw Error(r(191,a));a.call(o)}function UO(a,o){var c=a.callbacks;if(c!==null)for(a.callbacks=null,a=0;a<c.length;a++)BO(c[a],o)}var as=z(null),mf=z(0);function HO(a,o){a=ha,Q(mf,a),Q(as,o),ha=a|o.baseLanes}function Tm(){Q(mf,ha),Q(as,as.current)}function Am(){ha=mf.current,Y(as),Y(mf)}var Rn=z(null),nr=null;function Ka(a){var o=a.alternate;Q(wt,wt.current&1),Q(Rn,a),nr===null&&(o===null||as.current!==null||o.memoizedState!==null)&&(nr=a)}function Em(a){Q(wt,wt.current),Q(Rn,a),nr===null&&(nr=a)}function GO(a){a.tag===22?(Q(wt,wt.current),Q(Rn,a),nr===null&&(nr=a)):Va()}function Va(){Q(wt,wt.current),Q(Rn,Rn.current)}function Dn(a){Y(Rn),nr===a&&(nr=null),Y(wt)}var wt=z(0);function yf(a){for(var o=a;o!==null;){if(o.tag===13){var c=o.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||Ry(c)||Dy(c)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var ia=0,Me=null,Ze=null,Et=null,vf=!1,is=!1,Vi=!1,gf=0,Fl=0,os=null,Z6=0;function gt(){throw Error(r(321))}function jm(a,o){if(o===null)return!1;for(var c=0;c<o.length&&c<a.length;c++)if(!Nn(a[c],o[c]))return!1;return!0}function Cm(a,o,c,h,y,b){return ia=b,Me=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,D.H=a===null||a.memoizedState===null?E_:Gm,Vi=!1,b=c(h,y),Vi=!1,is&&(b=YO(o,c,h,y)),FO(a),b}function FO(a){D.H=Vl;var o=Ze!==null&&Ze.next!==null;if(ia=0,Et=Ze=Me=null,vf=!1,Fl=0,os=null,o)throw Error(r(300));a===null||jt||(a=a.dependencies,a!==null&&lf(a)&&(jt=!0))}function YO(a,o,c,h){Me=a;var y=0;do{if(is&&(os=null),Fl=0,is=!1,25<=y)throw Error(r(301));if(y+=1,Et=Ze=null,a.updateQueue!=null){var b=a.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}D.H=j_,b=o(c,h)}while(is);return b}function J6(){var a=D.H,o=a.useState()[0];return o=typeof o.then=="function"?Yl(o):o,a=a.useState()[0],(Ze!==null?Ze.memoizedState:null)!==a&&(Me.flags|=1024),o}function Mm(){var a=gf!==0;return gf=0,a}function Nm(a,o,c){o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~c}function Pm(a){if(vf){for(a=a.memoizedState;a!==null;){var o=a.queue;o!==null&&(o.pending=null),a=a.next}vf=!1}ia=0,Et=Ze=Me=null,is=!1,Fl=gf=0,os=null}function un(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Et===null?Me.memoizedState=Et=a:Et=Et.next=a,Et}function Ot(){if(Ze===null){var a=Me.alternate;a=a!==null?a.memoizedState:null}else a=Ze.next;var o=Et===null?Me.memoizedState:Et.next;if(o!==null)Et=o,Ze=a;else{if(a===null)throw Me.alternate===null?Error(r(467)):Error(r(310));Ze=a,a={memoizedState:Ze.memoizedState,baseState:Ze.baseState,baseQueue:Ze.baseQueue,queue:Ze.queue,next:null},Et===null?Me.memoizedState=Et=a:Et=Et.next=a}return Et}function bf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yl(a){var o=Fl;return Fl+=1,os===null&&(os=[]),a=IO(os,a,o),o=Me,(Et===null?o.memoizedState:Et.next)===null&&(o=o.alternate,D.H=o===null||o.memoizedState===null?E_:Gm),a}function xf(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return Yl(a);if(a.$$typeof===M)return Kt(a)}throw Error(r(438,String(a)))}function Rm(a){var o=null,c=Me.updateQueue;if(c!==null&&(o=c.memoCache),o==null){var h=Me.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(o={data:h.data.map(function(y){return y.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),c===null&&(c=bf(),Me.updateQueue=c),c.memoCache=o,c=o.data[o.index],c===void 0)for(c=o.data[o.index]=Array(a),h=0;h<a;h++)c[h]=G;return o.index++,c}function oa(a,o){return typeof o=="function"?o(a):o}function Sf(a){var o=Ot();return Dm(o,Ze,a)}
vendor: 15,458 bytes, line 48
48function Dm(a,o,c){var h=a.queue;if(h===null)throw Error(r(311));h.lastRenderedReducer=c;var y=a.baseQueue,b=h.pending;if(b!==null){if(y!==null){var A=y.next;y.next=b.next,b.next=A}o.baseQueue=y=b,h.pending=null}if(b=a.baseState,y===null)a.memoizedState=b;else{o=y.next;var R=A=null,H=null,J=o,ae=!1;do{var le=J.lane&-536870913;if(le!==J.lane?(ze&le)===le:(ia&le)===le){var ne=J.revertLane;if(ne===0)H!==null&&(H=H.next={lane:0,revertLane:0,gesture:null,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null}),le===es&&(ae=!0);else if((ia&ne)===ne){J=J.next,ne===es&&(ae=!0);continue}else le={lane:0,revertLane:J.revertLane,gesture:null,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},H===null?(R=H=le,A=b):H=H.next=le,Me.lanes|=ne,Wa|=ne;le=J.action,Vi&&c(b,le),b=J.hasEagerState?J.eagerState:c(b,le)}else ne={lane:le,revertLane:J.revertLane,gesture:J.gesture,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},H===null?(R=H=ne,A=b):H=H.next=ne,Me.lanes|=le,Wa|=le;J=J.next}while(J!==null&&J!==o);if(H===null?A=b:H.next=R,!Nn(b,a.memoizedState)&&(jt=!0,ae&&(c=ts,c!==null)))throw c;a.memoizedState=b,a.baseState=A,a.baseQueue=H,h.lastRenderedState=b}return y===null&&(h.lanes=0),[a.memoizedState,h.dispatch]}function km(a){var o=Ot(),c=o.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=a;var h=c.dispatch,y=c.pending,b=o.memoizedState;if(y!==null){c.pending=null;var A=y=y.next;do b=a(b,A.action),A=A.next;while(A!==y);Nn(b,o.memoizedState)||(jt=!0),o.memoizedState=b,o.baseQueue===null&&(o.baseState=b),c.lastRenderedState=b}return[b,h]}function KO(a,o,c){var h=Me,y=Ot(),b=Be;if(b){if(c===void 0)throw Error(r(407));c=c()}else c=o();var A=!Nn((Ze||y).memoizedState,c);if(A&&(y.memoizedState=c,jt=!0),y=y.queue,qm(XO.bind(null,h,y,a),[a]),y.getSnapshot!==o||A||Et!==null&&Et.memoizedState.tag&1){if(h.flags|=2048,ss(9,{destroy:void 0},QO.bind(null,h,y,c,o),null),rt===null)throw Error(r(349));b||(ia&127)!==0||VO(h,o,c)}return c}function VO(a,o,c){a.flags|=16384,a={getSnapshot:o,value:c},o=Me.updateQueue,o===null?(o=bf(),Me.updateQueue=o,o.stores=[a]):(c=o.stores,c===null?o.stores=[a]:c.push(a))}function QO(a,o,c,h){o.value=c,o.getSnapshot=h,WO(o)&&ZO(a)}function XO(a,o,c){return c(function(){WO(o)&&ZO(a)})}function WO(a){var o=a.getSnapshot;a=a.value;try{var c=o();return!Nn(a,c)}catch{return!0}}function ZO(a){var o=zi(a,2);o!==null&&Tn(o,a,2)}function Im(a){var o=un();if(typeof a=="function"){var c=a;if(a=c(),Vi){hr(!0);try{c()}finally{hr(!1)}}}return o.memoizedState=o.baseState=a,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oa,lastRenderedState:a},o}function JO(a,o,c,h){return a.baseState=c,Dm(a,Ze,typeof h=="function"?h:oa)}function e8(a,o,c,h,y){if(_f(a))throw Error(r(485));if(a=o.action,a!==null){var b={payload:y,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(A){b.listeners.push(A)}};D.T!==null?c(!0):b.isTransition=!1,h(b),c=o.pending,c===null?(b.next=o.pending=b,e_(o,b)):(b.next=c.next,o.pending=c.next=b)}}function e_(a,o){var c=o.action,h=o.payload,y=a.state;if(o.isTransition){var b=D.T,A={};D.T=A;try{var R=c(y,h),H=D.S;H!==null&&H(A,R),t_(a,o,R)}catch(J){$m(a,o,J)}finally{b!==null&&A.types!==null&&(b.types=A.types),D.T=b}}else try{b=c(y,h),t_(a,o,b)}catch(J){$m(a,o,J)}}function t_(a,o,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(h){n_(a,o,h)},function(h){return $m(a,o,h)}):n_(a,o,c)}function n_(a,o,c){o.status="fulfilled",o.value=c,r_(o),a.state=c,o=a.pending,o!==null&&(c=o.next,c===o?a.pending=null:(c=c.next,o.next=c,e_(a,c)))}function $m(a,o,c){var h=a.pending;if(a.pending=null,h!==null){h=h.next;do o.status="rejected",o.reason=c,r_(o),o=o.next;while(o!==h)}a.action=null}function r_(a){a=a.listeners;for(var o=0;o<a.length;o++)(0,a[o])()}function a_(a,o){return o}function i_(a,o){if(Be){var c=rt.formState;if(c!==null){e:{var h=Me;if(Be){if(ct){t:{for(var y=ct,b=tr;y.nodeType!==8;){if(!b){y=null;break t}if(y=rr(y.nextSibling),y===null){y=null;break t}}b=y.data,y=b==="F!"||b==="F"?y:null}if(y){ct=rr(y.nextSibling),h=y.data==="F!";break e}}Ua(h)}h=!1}h&&(o=c[0])}}return c=un(),c.memoizedState=c.baseState=o,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a_,lastRenderedState:o},c.queue=h,c=__.bind(null,Me,h),h.dispatch=c,h=Im(!1),b=Hm.bind(null,Me,!1,h.queue),h=un(),y={state:o,dispatch:null,action:a,pending:null},h.queue=y,c=e8.bind(null,Me,y,b,c),y.dispatch=c,h.memoizedState=a,[o,c,!1]}function o_(a){var o=Ot();return s_(o,Ze,a)}function s_(a,o,c){if(o=Dm(a,o,a_)[0],a=Sf(oa)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var h=Yl(o)}catch(A){throw A===ns?ff:A}else h=o;o=Ot();var y=o.queue,b=y.dispatch;return c!==o.memoizedState&&(Me.flags|=2048,ss(9,{destroy:void 0},t8.bind(null,y,c),null)),[h,b,a]}function t8(a,o){a.action=o}function l_(a){var o=Ot(),c=Ze;if(c!==null)return s_(o,c,a);Ot(),o=o.memoizedState,c=Ot();var h=c.queue.dispatch;return c.memoizedState=a,[o,h,!1]}function ss(a,o,c,h){return a={tag:a,create:c,deps:h,inst:o,next:null},o=Me.updateQueue,o===null&&(o=bf(),Me.updateQueue=o),c=o.lastEffect,c===null?o.lastEffect=a.next=a:(h=c.next,c.next=a,a.next=h,o.lastEffect=a),a}function c_(){return Ot().memoizedState}function wf(a,o,c,h){var y=un();Me.flags|=a,y.memoizedState=ss(1|o,{destroy:void 0},c,h===void 0?null:h)}function Of(a,o,c,h){var y=Ot();h=h===void 0?null:h;var b=y.memoizedState.inst;Ze!==null&&h!==null&&jm(h,Ze.memoizedState.deps)?y.memoizedState=ss(o,b,c,h):(Me.flags|=a,y.memoizedState=ss(1|o,b,c,h))}function u_(a,o){wf(8390656,8,a,o)}function qm(a,o){Of(2048,8,a,o)}function n8(a){Me.flags|=4;var o=Me.updateQueue;if(o===null)o=bf(),Me.updateQueue=o,o.events=[a];else{var c=o.events;c===null?o.events=[a]:c.push(a)}}function f_(a){var o=Ot().memoizedState;return n8({ref:o,nextImpl:a}),function(){if((Ke&2)!==0)throw Error(r(440));return o.impl.apply(void 0,arguments)}}function d_(a,o){return Of(4,2,a,o)}function h_(a,o){return Of(4,4,a,o)}function p_(a,o){if(typeof o=="function"){a=a();var c=o(a);return function(){typeof c=="function"?c():o(null)}}if(o!=null)return a=a(),o.current=a,function(){o.current=null}}function m_(a,o,c){c=c!=null?c.concat([a]):null,Of(4,4,p_.bind(null,o,a),c)}function zm(){}function y_(a,o){var c=Ot();o=o===void 0?null:o;var h=c.memoizedState;return o!==null&&jm(o,h[1])?h[0]:(c.memoizedState=[a,o],a)}function v_(a,o){var c=Ot();o=o===void 0?null:o;var h=c.memoizedState;if(o!==null&&jm(o,h[1]))return h[0];if(h=a(),Vi){hr(!0);try{a()}finally{hr(!1)}}return c.memoizedState=[h,o],h}function Lm(a,o,c){return c===void 0||(ia&1073741824)!==0&&(ze&261930)===0?a.memoizedState=o:(a.memoizedState=c,a=g2(),Me.lanes|=a,Wa|=a,c)}function g_(a,o,c,h){return Nn(c,o)?c:as.current!==null?(a=Lm(a,c,h),Nn(a,o)||(jt=!0),a):(ia&42)===0||(ia&1073741824)!==0&&(ze&261930)===0?(jt=!0,a.memoizedState=c):(a=g2(),Me.lanes|=a,Wa|=a,o)}function b_(a,o,c,h,y){var b=U.p;U.p=b!==0&&8>b?b:8;var A=D.T,R={};D.T=R,Hm(a,!1,o,c);try{var H=y(),J=D.S;if(J!==null&&J(R,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var ae=W6(H,h);Kl(a,o,ae,$n(a))}else Kl(a,o,h,$n(a))}catch(le){Kl(a,o,{then:function(){},status:"rejected",reason:le},$n())}finally{U.p=b,A!==null&&R.types!==null&&(A.types=R.types),D.T=A}}function r8(){}function Bm(a,o,c,h){if(a.tag!==5)throw Error(r(476));var y=x_(a).queue;b_(a,y,o,B,c===null?r8:function(){return S_(a),c(h)})}function x_(a){var o=a.memoizedState;if(o!==null)return o;o={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:oa,lastRenderedState:B},next:null};var c={};return o.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:oa,lastRenderedState:c},next:null},a.memoizedState=o,a=a.alternate,a!==null&&(a.memoizedState=o),o}function S_(a){var o=x_(a);o.next===null&&(o=a.alternate.memoizedState),Kl(a,o.next.queue,{},$n())}function Um(){return Kt(uc)}function w_(){return Ot().memoizedState}function O_(){return Ot().memoizedState}function a8(a){for(var o=a.return;o!==null;){switch(o.tag){case 24:case 3:var c=$n();a=Fa(c);var h=Ya(o,a,c);h!==null&&(Tn(h,o,c),Ul(h,o,c)),o={cache:vm()},a.payload=o;return}o=o.return}}function i8(a,o,c){var h=$n();c={lane:h,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},_f(a)?T_(o,c):(c=om(a,o,c,h),c!==null&&(Tn(c,a,h),A_(c,o,h)))}function __(a,o,c){var h=$n();Kl(a,o,c,h)}function Kl(a,o,c,h){var y={lane:h,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null};if(_f(a))T_(o,y);else{var b=a.alternate;if(a.lanes===0&&(b===null||b.lanes===0)&&(b=o.lastRenderedReducer,b!==null))try{var A=o.lastRenderedState,R=b(A,c);if(y.hasEagerState=!0,y.eagerState=R,Nn(R,A))return rf(a,o,y,0),rt===null&&nf(),!1}catch{}finally{}if(c=om(a,o,y,h),c!==null)return Tn(c,a,h),A_(c,o,h),!0}return!1}function Hm(a,o,c,h){if(h={lane:2,revertLane:Sy(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},_f(a)){if(o)throw Error(r(479))}else o=om(a,c,h,2),o!==null&&Tn(o,a,2)}function _f(a){var o=a.alternate;return a===Me||o!==null&&o===Me}function T_(a,o){is=vf=!0;var c=a.pending;c===null?o.next=o:(o.next=c.next,c.next=o),a.pending=o}function A_(a,o,c){if((c&4194048)!==0){var h=o.lanes;h&=a.pendingLanes,c|=h,o.lanes=c,vn(a,c)}}var Vl={readContext:Kt,use:xf,useCallback:gt,useContext:gt,useEffect:gt,useImperativeHandle:gt,useLayoutEffect:gt,useInsertionEffect:gt,useMemo:gt,useReducer:gt,useRef:gt,useState:gt,useDebugValue:gt,useDeferredValue:gt,useTransition:gt,useSyncExternalStore:gt,useId:gt,useHostTransitionStatus:gt,useFormState:gt,useActionState:gt,useOptimistic:gt,useMemoCache:gt,useCacheRefresh:gt};Vl.useEffectEvent=gt;var E_={readContext:Kt,use:xf,useCallback:function(a,o){return un().memoizedState=[a,o===void 0?null:o],a},useContext:Kt,useEffect:u_,useImperativeHandle:function(a,o,c){c=c!=null?c.concat([a]):null,wf(4194308,4,p_.bind(null,o,a),c)},useLayoutEffect:function(a,o){return wf(4194308,4,a,o)},useInsertionEffect:function(a,o){wf(4,2,a,o)},useMemo:function(a,o){var c=un();o=o===void 0?null:o;var h=a();if(Vi){hr(!0);try{a()}finally{hr(!1)}}return c.memoizedState=[h,o],h},useReducer:function(a,o,c){var h=un();if(c!==void 0){var y=c(o);if(Vi){hr(!0);try{c(o)}finally{hr(!1)}}}else y=o;return h.memoizedState=h.baseState=y,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:y},h.queue=a,a=a.dispatch=i8.bind(null,Me,a),[h.memoizedState,a]},useRef:function(a){var o=un();return a={current:a},o.memoizedState=a},useState:function(a){a=Im(a);var o=a.queue,c=__.bind(null,Me,o);return o.dispatch=c,[a.memoizedState,c]},useDebugValue:zm,useDeferredValue:function(a,o){var c=un();return Lm(c,a,o)},useTransition:function(){var a=Im(!1);return a=b_.bind(null,Me,a.queue,!0,!1),un().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,o,c){var h=Me,y=un();if(Be){if(c===void 0)throw Error(r(407));c=c()}else{if(c=o(),rt===null)throw Error(r(349));(ze&127)!==0||VO(h,o,c)}y.memoizedState=c;var b={value:c,getSnapshot:o};return y.queue=b,u_(XO.bind(null,h,b,a),[a]),h.flags|=2048,ss(9,{destroy:void 0},QO.bind(null,h,b,c,o),null),c},useId:function(){var a=un(),o=rt.identifierPrefix;if(Be){var c=Pr,h=Nr;c=(h&~(1<<32-en(h)-1)).toString(32)+c,o="_"+o+"R_"+c,c=gf++,0<c&&(o+="H"+c.toString(32)),o+="_"}else c=Z6++,o="_"+o+"r_"+c.toString(32)+"_";return a.memoizedState=o},useHostTransitionStatus:Um,useFormState:i_,useActionState:i_,useOptimistic:function(a){var o=un();o.memoizedState=o.baseState=a;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=c,o=Hm.bind(null,Me,!0,c),c.dispatch=o,[a,o]},useMemoCache:Rm,useCacheRefresh:function(){return un().memoizedState=a8.bind(null,Me)},useEffectEvent:function(a){var o=un(),c={impl:a};return o.memoizedState=c,function(){if((Ke&2)!==0)throw Error(r(440));return c.impl.apply(void 0,arguments)}}},Gm={readContext:Kt,use:xf,useCallback:y_,useContext:Kt,useEffect:qm,useImperativeHandle:m_,useInsertionEffect:d_,useLayoutEffect:h_,useMemo:v_,useReducer:Sf,useRef:c_,useState:function(){return Sf(oa)},useDebugValue:zm,useDeferredValue:function(a,o){var c=Ot();return g_(c,Ze.memoizedState,a,o)},useTransition:function(){var a=Sf(oa)[0],o=Ot().memoizedState;return[typeof a=="boolean"?a:Yl(a),o]},useSyncExternalStore:KO,useId:w_,useHostTransitionStatus:Um,useFormState:o_,useActionState:o_,useOptimistic:function(a,o){var c=Ot();return JO(c,Ze,a,o)},useMemoCache:Rm,useCacheRefresh:O_};Gm.useEffectEvent=f_;var j_={readContext:Kt,use:xf,useCallback:y_,useContext:Kt,useEffect:qm,useImperativeHandle:m_,useInsertionEffect:d_,useLayoutEffect:h_,useMemo:v_,useReducer:km,useRef:c_,useState:function(){return km(oa)},useDebugValue:zm,useDeferredValue:function(a,o){var c=Ot();return Ze===null?Lm(c,a,o):g_(c,Ze.memoizedState,a,o)},useTransition:function(){var a=km(oa)[0],o=Ot().memoizedState;return[typeof a=="boolean"?a:Yl(a),o]},useSyncExternalStore:KO,useId:w_,useHostTransitionStatus:Um,useFormState:l_,useActionState:l_,useOptimistic:function(a,o){var c=Ot();return Ze!==null?JO(c,Ze,a,o):(c.baseState=a,[a,c.queue.dispatch])},useMemoCache:Rm,useCacheRefresh:O_};j_.useEffectEvent=f_;function Fm(a,o,c,h){o=a.memoizedState,c=c(h,o),c=c==null?o:p({},o,c),a.memoizedState=c,a.lanes===0&&(a.updateQueue.baseState=c)}var Ym={enqueueSetState:function(a,o,c){a=a._reactInternals;var h=$n(),y=Fa(h);y.payload=o,c!=null&&(y.callback=c),o=Ya(a,y,h),o!==null&&(Tn(o,a,h),Ul(o,a,h))},enqueueReplaceState:function(a,o,c){a=a._reactInternals;var h=$n(),y=Fa(h);y.tag=1,y.payload=o,c!=null&&(y.callback=c),o=Ya(a,y,h),o!==null&&(Tn(o,a,h),Ul(o,a,h))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var c=$n(),h=Fa(c);h.tag=2,o!=null&&(h.callback=o),o=Ya(a,h,c),o!==null&&(Tn(o,a,c),Ul(o,a,c))}};function C_(a,o,c,h,y,b,A){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(h,b,A):o.prototype&&o.prototype.isPureReactComponent?!Dl(c,h)||!Dl(y,b):!0}function M_(a,o,c,h){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(c,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(c,h),o.state!==a&&Ym.enqueueReplaceState(o,o.state,null)}function Qi(a,o){var c=o;if("ref"in o){c={};for(var h in o)h!=="ref"&&(c[h]=o[h])}if(a=a.defaultProps){c===o&&(c=p({},c));for(var y in a)c[y]===void 0&&(c[y]=a[y])}return c}function N_(a){tf(a)}function P_(a){console.error(a)}function R_(a){tf(a)}function Tf(a,o){try{var c=a.onUncaughtError;c(o.value,{componentStack:o.stack})}catch(h){setTimeout(function(){throw h})}}function D_(a,o,c){try{var h=a.onCaughtError;h(c.value,{componentStack:c.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(y){setTimeout(function(){throw y})}}function Km(a,o,c){return c=Fa(c),c.tag=3,c.payload={element:null},c.callback=function(){Tf(a,o)},c}function k_(a){return a=Fa(a),a.tag=3,a}function I_(a,o,c,h){var y=c.type.getDerivedStateFromError;if(typeof y=="function"){var b=h.value;a.payload=function(){return y(b)},a.callback=function(){D_(o,c,h)}}var A=c.stateNode;A!==null&&typeof A.componentDidCatch=="function"&&(a.callback=function(){D_(o,c,h),typeof y!="function"&&(Za===null?Za=new Set([this]):Za.add(this));var R=h.stack;this.componentDidCatch(h.value,{componentStack:R!==null?R:""})})}
vendor: 4,085 bytes, line 48
48function o8(a,o,c,h,y){if(c.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(o=c.alternate,o!==null&&Jo(o,c,y,!0),c=Rn.current,c!==null){switch(c.tag){case 31:case 13:return nr===null?$f():c.alternate===null&&bt===0&&(bt=3),c.flags&=-257,c.flags|=65536,c.lanes=y,h===df?c.flags|=16384:(o=c.updateQueue,o===null?c.updateQueue=new Set([h]):o.add(h),gy(a,h,y)),!1;case 22:return c.flags|=65536,h===df?c.flags|=16384:(o=c.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([h])},c.updateQueue=o):(c=o.retryQueue,c===null?o.retryQueue=new Set([h]):c.add(h)),gy(a,h,y)),!1}throw Error(r(435,c.tag))}return gy(a,h,y),$f(),!1}if(Be)return o=Rn.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=y,h!==dm&&(a=Error(r(422),{cause:h}),$l(Zn(a,c)))):(h!==dm&&(o=Error(r(423),{cause:h}),$l(Zn(o,c))),a=a.current.alternate,a.flags|=65536,y&=-y,a.lanes|=y,h=Zn(h,c),y=Km(a.stateNode,h,y),Om(a,y),bt!==4&&(bt=2)),!1;var b=Error(r(520),{cause:h});if(b=Zn(b,c),nc===null?nc=[b]:nc.push(b),bt!==4&&(bt=2),o===null)return!0;h=Zn(h,c),c=o;do{switch(c.tag){case 3:return c.flags|=65536,a=y&-y,c.lanes|=a,a=Km(c.stateNode,h,a),Om(c,a),!1;case 1:if(o=c.type,b=c.stateNode,(c.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(Za===null||!Za.has(b))))return c.flags|=65536,y&=-y,c.lanes|=y,y=k_(y),I_(y,a,c,h),Om(c,y),!1}c=c.return}while(c!==null);return!1}var Vm=Error(r(461)),jt=!1;function Vt(a,o,c,h){o.child=a===null?LO(o,null,c,h):Ki(o,a.child,c,h)}function $_(a,o,c,h,y){c=c.render;var b=o.ref;if("ref"in h){var A={};for(var R in h)R!=="ref"&&(A[R]=h[R])}else A=h;return Hi(o),h=Cm(a,o,c,A,b,y),R=Mm(),a!==null&&!jt?(Nm(a,o,y),sa(a,o,y)):(Be&&R&&um(o),o.flags|=1,Vt(a,o,h,y),o.child)}function q_(a,o,c,h,y){if(a===null){var b=c.type;return typeof b=="function"&&!sm(b)&&b.defaultProps===void 0&&c.compare===null?(o.tag=15,o.type=b,z_(a,o,b,h,y)):(a=of(c.type,null,h,o,o.mode,y),a.ref=o.ref,a.return=o,o.child=a)}if(b=a.child,!ny(a,y)){var A=b.memoizedProps;if(c=c.compare,c=c!==null?c:Dl,c(A,h)&&a.ref===o.ref)return sa(a,o,y)}return o.flags|=1,a=ta(b,h),a.ref=o.ref,a.return=o,o.child=a}function z_(a,o,c,h,y){if(a!==null){var b=a.memoizedProps;if(Dl(b,h)&&a.ref===o.ref)if(jt=!1,o.pendingProps=h=b,ny(a,y))(a.flags&131072)!==0&&(jt=!0);else return o.lanes=a.lanes,sa(a,o,y)}return Qm(a,o,c,h,y)}function L_(a,o,c,h){var y=h.children,b=a!==null?a.memoizedState:null;if(a===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),h.mode==="hidden"){if((o.flags&128)!==0){if(b=b!==null?b.baseLanes|c:c,a!==null){for(h=o.child=a.child,y=0;h!==null;)y=y|h.lanes|h.childLanes,h=h.sibling;h=y&~b}else h=0,o.child=null;return B_(a,o,b,c,h)}if((c&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},a!==null&&uf(o,b!==null?b.cachePool:null),b!==null?HO(o,b):Tm(),GO(o);else return h=o.lanes=536870912,B_(a,o,b!==null?b.baseLanes|c:c,c,h)}else b!==null?(uf(o,b.cachePool),HO(o,b),Va(),o.memoizedState=null):(a!==null&&uf(o,null),Tm(),Va());return Vt(a,o,y,c),o.child}function Ql(a,o){return a!==null&&a.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function B_(a,o,c,h,y){var b=bm();return b=b===null?null:{parent:At._currentValue,pool:b},o.memoizedState={baseLanes:c,cachePool:b},a!==null&&uf(o,null),Tm(),GO(o),a!==null&&Jo(a,o,h,!0),o.childLanes=y,null}function Af(a,o){return o=jf({mode:o.mode,children:o.children},a.mode),o.ref=a.ref,a.child=o,o.return=a,o}function U_(a,o,c){return Ki(o,a.child,null,c),a=Af(o,o.pendingProps),a.flags|=2,Dn(o),o.memoizedState=null,a}function s8(a,o,c){var h=o.pendingProps,y=(o.flags&128)!==0;if(o.flags&=-129,a===null){if(Be){if(h.mode==="hidden")return a=Af(o,h),o.lanes=536870912,Ql(null,a);if(Em(o),(a=ct)?(a=eT(a,tr),a=a!==null&&a.data==="&"?a:null,a!==null&&(o.memoizedState={dehydrated:a,treeContext:La!==null?{id:Nr,overflow:Pr}:null,retryLane:536870912,hydrationErrors:null}
vendor: 5,062 bytes, line 48
48,c=TO(a),c.return=o,o.child=c,Yt=o,ct=null)):a=null,a===null)throw Ua(o);return o.lanes=536870912,null}return Af(o,h)}var b=a.memoizedState;if(b!==null){var A=b.dehydrated;if(Em(o),y)if(o.flags&256)o.flags&=-257,o=U_(a,o,c);else if(o.memoizedState!==null)o.child=a.child,o.flags|=128,o=null;else throw Error(r(558));else if(jt||Jo(a,o,c,!1),y=(c&a.childLanes)!==0,jt||y){if(h=rt,h!==null&&(A=gn(h,c),A!==0&&A!==b.retryLane))throw b.retryLane=A,zi(a,A),Tn(h,a,A),Vm;$f(),o=U_(a,o,c)}else a=b.treeContext,ct=rr(A.nextSibling),Yt=o,Be=!0,Ba=null,tr=!1,a!==null&&jO(o,a),o=Af(o,h),o.flags|=4096;return o}return a=ta(a.child,{mode:h.mode,children:h.children}),a.ref=o.ref,o.child=a,a.return=o,a}function Ef(a,o){var c=o.ref;if(c===null)a!==null&&a.ref!==null&&(o.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(r(284));(a===null||a.ref!==c)&&(o.flags|=4194816)}}function Qm(a,o,c,h,y){return Hi(o),c=Cm(a,o,c,h,void 0,y),h=Mm(),a!==null&&!jt?(Nm(a,o,y),sa(a,o,y)):(Be&&h&&um(o),o.flags|=1,Vt(a,o,c,y),o.child)}function H_(a,o,c,h,y,b){return Hi(o),o.updateQueue=null,c=YO(o,h,c,y),FO(a),h=Mm(),a!==null&&!jt?(Nm(a,o,b),sa(a,o,b)):(Be&&h&&um(o),o.flags|=1,Vt(a,o,c,b),o.child)}function G_(a,o,c,h,y){if(Hi(o),o.stateNode===null){var b=Qo,A=c.contextType;typeof A=="object"&&A!==null&&(b=Kt(A)),b=new c(h,b),o.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=Ym,o.stateNode=b,b._reactInternals=o,b=o.stateNode,b.props=h,b.state=o.memoizedState,b.refs={},Sm(o),A=c.contextType,b.context=typeof A=="object"&&A!==null?Kt(A):Qo,b.state=o.memoizedState,A=c.getDerivedStateFromProps,typeof A=="function"&&(Fm(o,c,A,h),b.state=o.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(A=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),A!==b.state&&Ym.enqueueReplaceState(b,b.state,null),Gl(o,h,b,y),Hl(),b.state=o.memoizedState),typeof b.componentDidMount=="function"&&(o.flags|=4194308),h=!0}else if(a===null){b=o.stateNode;var R=o.memoizedProps,H=Qi(c,R);b.props=H;var J=b.context,ae=c.contextType;A=Qo,typeof ae=="object"&&ae!==null&&(A=Kt(ae));var le=c.getDerivedStateFromProps;ae=typeof le=="function"||typeof b.getSnapshotBeforeUpdate=="function",R=o.pendingProps!==R,ae||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(R||J!==A)&&M_(o,b,h,A),Ga=!1;var ne=o.memoizedState;b.state=ne,Gl(o,h,b,y),Hl(),J=o.memoizedState,R||ne!==J||Ga?(typeof le=="function"&&(Fm(o,c,le,h),J=o.memoizedState),(H=Ga||C_(o,c,H,h,ne,J,A))?(ae||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(o.flags|=4194308)):(typeof b.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=J),b.props=h,b.state=J,b.context=A,h=H):(typeof b.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{b=o.stateNode,wm(a,o),A=o.memoizedProps,ae=Qi(c,A),b.props=ae,le=o.pendingProps,ne=b.context,J=c.contextType,H=Qo,typeof J=="object"&&J!==null&&(H=Kt(J)),R=c.getDerivedStateFromProps,(J=typeof R=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(A!==le||ne!==H)&&M_(o,b,h,H),Ga=!1,ne=o.memoizedState,b.state=ne,Gl(o,h,b,y),Hl();var re=o.memoizedState;A!==le||ne!==re||Ga||a!==null&&a.dependencies!==null&&lf(a.dependencies)?(typeof R=="function"&&(Fm(o,c,R,h),re=o.memoizedState),(ae=Ga||C_(o,c,ae,h,ne,re,H)||a!==null&&a.dependencies!==null&&lf(a.dependencies))?(J||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(h,re,H),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(h,re,H)),typeof b.componentDidUpdate=="function"&&(o.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof b.componentDidUpdate!="function"||A===a.memoizedProps&&ne===a.memoizedState||(o.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||A===a.memoizedProps&&ne===a.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=re),b.props=h,b.state=re,b.context=H,h=ae):(typeof b.componentDidUpdate!="function"||A===a.memoizedProps&&ne===a.memoizedState||(o.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||A===a.memoizedProps&&ne===a.memoizedState||(o.flags|=1024),h=!1)}return b=h,Ef(a,o),h=(o.flags&128)!==0,b||h?(b=o.stateNode,c=h&&typeof c.getDerivedStateFromError!="function"?null:b.render(),o.flags|=1,a!==null&&h?(o.child=Ki(o,a.child,null,y),o.child=Ki(o,null,c,y)):Vt(a,o,c,y),o.memoizedState=b.state,a=o.child):a=sa(a,o,y),a}
vendor: 5,649 bytes, line 48
48function F_(a,o,c,h){return Bi(),o.flags|=256,Vt(a,o,c,h),o.child}var Xm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wm(a){return{baseLanes:a,cachePool:DO()}}function Zm(a,o,c){return a=a!==null?a.childLanes&~c:0,o&&(a|=In),a}function Y_(a,o,c){var h=o.pendingProps,y=!1,b=(o.flags&128)!==0,A;if((A=b)||(A=a!==null&&a.memoizedState===null?!1:(wt.current&2)!==0),A&&(y=!0,o.flags&=-129),A=(o.flags&32)!==0,o.flags&=-33,a===null){if(Be){if(y?Ka(o):Va(),(a=ct)?(a=eT(a,tr),a=a!==null&&a.data!=="&"?a:null,a!==null&&(o.memoizedState={dehydrated:a,treeContext:La!==null?{id:Nr,overflow:Pr}:null,retryLane:536870912,hydrationErrors:null},c=TO(a),c.return=o,o.child=c,Yt=o,ct=null)):a=null,a===null)throw Ua(o);return Dy(a)?o.lanes=32:o.lanes=536870912,null}var R=h.children;return h=h.fallback,y?(Va(),y=o.mode,R=jf({mode:"hidden",children:R},y),h=Li(h,y,c,null),R.return=o,h.return=o,R.sibling=h,o.child=R,h=o.child,h.memoizedState=Wm(c),h.childLanes=Zm(a,A,c),o.memoizedState=Xm,Ql(null,h)):(Ka(o),Jm(o,R))}var H=a.memoizedState;if(H!==null&&(R=H.dehydrated,R!==null)){if(b)o.flags&256?(Ka(o),o.flags&=-257,o=ey(a,o,c)):o.memoizedState!==null?(Va(),o.child=a.child,o.flags|=128,o=null):(Va(),R=h.fallback,y=o.mode,h=jf({mode:"visible",children:h.children},y),R=Li(R,y,c,null),R.flags|=2,h.return=o,R.return=o,h.sibling=R,o.child=h,Ki(o,a.child,null,c),h=o.child,h.memoizedState=Wm(c),h.childLanes=Zm(a,A,c),o.memoizedState=Xm,o=Ql(null,h));else if(Ka(o),Dy(R)){if(A=R.nextSibling&&R.nextSibling.dataset,A)var J=A.dgst;A=J,h=Error(r(419)),h.stack="",h.digest=A,$l({value:h,source:null,stack:null}),o=ey(a,o,c)}else if(jt||Jo(a,o,c,!1),A=(c&a.childLanes)!==0,jt||A){if(A=rt,A!==null&&(h=gn(A,c),h!==0&&h!==H.retryLane))throw H.retryLane=h,zi(a,h),Tn(A,a,h),Vm;Ry(R)||$f(),o=ey(a,o,c)}else Ry(R)?(o.flags|=192,o.child=a.child,o=null):(a=H.treeContext,ct=rr(R.nextSibling),Yt=o,Be=!0,Ba=null,tr=!1,a!==null&&jO(o,a),o=Jm(o,h.children),o.flags|=4096);return o}return y?(Va(),R=h.fallback,y=o.mode,H=a.child,J=H.sibling,h=ta(H,{mode:"hidden",children:h.children}),h.subtreeFlags=H.subtreeFlags&65011712,J!==null?R=ta(J,R):(R=Li(R,y,c,null),R.flags|=2),R.return=o,h.return=o,h.sibling=R,o.child=h,Ql(null,h),h=o.child,R=a.child.memoizedState,R===null?R=Wm(c):(y=R.cachePool,y!==null?(H=At._currentValue,y=y.parent!==H?{parent:H,pool:H}:y):y=DO(),R={baseLanes:R.baseLanes|c,cachePool:y}),h.memoizedState=R,h.childLanes=Zm(a,A,c),o.memoizedState=Xm,Ql(a.child,h)):(Ka(o),c=a.child,a=c.sibling,c=ta(c,{mode:"visible",children:h.children}),c.return=o,c.sibling=null,a!==null&&(A=o.deletions,A===null?(o.deletions=[a],o.flags|=16):A.push(a)),o.child=c,o.memoizedState=null,c)}function Jm(a,o){return o=jf({mode:"visible",children:o},a.mode),o.return=a,a.child=o}function jf(a,o){return a=Pn(22,a,null,o),a.lanes=0,a}function ey(a,o,c){return Ki(o,a.child,null,c),a=Jm(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function K_(a,o,c){a.lanes|=o;var h=a.alternate;h!==null&&(h.lanes|=o),mm(a.return,o,c)}function ty(a,o,c,h,y,b){var A=a.memoizedState;A===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:c,tailMode:y,treeForkCount:b}:(A.isBackwards=o,A.rendering=null,A.renderingStartTime=0,A.last=h,A.tail=c,A.tailMode=y,A.treeForkCount=b)}function V_(a,o,c){var h=o.pendingProps,y=h.revealOrder,b=h.tail;h=h.children;var A=wt.current,R=(A&2)!==0;if(R?(A=A&1|2,o.flags|=128):A&=1,Q(wt,A),Vt(a,o,h,c),h=Be?Il:0,!R&&a!==null&&(a.flags&128)!==0)e:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&K_(a,c,o);else if(a.tag===19)K_(a,c,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break e;for(;a.sibling===null;){if(a.return===null||a.return===o)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(y){case"forwards":for(c=o.child,y=null;c!==null;)a=c.alternate,a!==null&&yf(a)===null&&(y=c),c=c.sibling;c=y,c===null?(y=o.child,o.child=null):(y=c.sibling,c.sibling=null),ty(o,!1,y,c,b,h);break;case"backwards":case"unstable_legacy-backwards":for(c=null,y=o.child,o.child=null;y!==null;){if(a=y.alternate,a!==null&&yf(a)===null){o.child=y;break}a=y.sibling,y.sibling=c,c=y,y=a}ty(o,!0,c,null,b,h);break;case"together":ty(o,!1,null,null,void 0,h);break;default:o.memoizedState=null}return o.child}function sa(a,o,c){if(a!==null&&(o.dependencies=a.dependencies),Wa|=o.lanes,(c&o.childLanes)===0)if(a!==null){if(Jo(a,o,c,!1),(c&o.childLanes)===0)return null}else return null;if(a!==null&&o.child!==a.child)throw Error(r(153));if(o.child!==null){for(a=o.child,c=ta(a,a.pendingProps),o.child=c,c.return=o;a.sibling!==null;)a=a.sibling,c=c.sibling=ta(a,a.pendingProps),c.return=o;c.sibling=null}return o.child}function ny(a,o){return(a.lanes&o)!==0?!0:(a=a.dependencies,!!(a!==null&&lf(a)))}function l8(a,o,c){switch(o.tag){case 3:xe(o,o.stateNode.containerInfo),Ha(o,At,a.memoizedState.cache),Bi();break;case 27:case 5:we(o);break;case 4:xe(o,o.stateNode.containerInfo);break;case 10:Ha(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,Em(o),null;break;case 13:var h=o.memoizedState;if(h!==null)return h.dehydrated!==null?(Ka(o),o.flags|=128,null):(c&o.child.childLanes)!==0?Y_(a,o,c):(Ka(o),a=sa(a,o,c),a!==null?a.sibling:null);Ka(o);break;case 19:var y=(a.flags&128)!==0;if(h=(c&o.childLanes)!==0,h||(Jo(a,o,c,!1),h=(c&o.childLanes)!==0),y){if(h)return V_(a,o,c);o.flags|=128}if(y=o.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),Q(wt,wt.current),h)break;return null;case 22:return o.lanes=0,L_(a,o,c,o.pendingProps);case 24:Ha(o,At,a.memoizedState.cache)}return sa(a,o,c)}
vendor: 3,430 bytes, line 48
48function Q_(a,o,c){if(a!==null)if(a.memoizedProps!==o.pendingProps)jt=!0;else{if(!ny(a,c)&&(o.flags&128)===0)return jt=!1,l8(a,o,c);jt=(a.flags&131072)!==0}else jt=!1,Be&&(o.flags&1048576)!==0&&EO(o,Il,o.index);switch(o.lanes=0,o.tag){case 16:e:{var h=o.pendingProps;if(a=Fi(o.elementType),o.type=a,typeof a=="function")sm(a)?(h=Qi(a,h),o.tag=1,o=G_(null,o,a,h,c)):(o.tag=0,o=Qm(null,o,a,h,c));else{if(a!=null){var y=a.$$typeof;if(y===N){o.tag=11,o=$_(null,o,a,h,c);break e}else if(y===j){o.tag=14,o=q_(null,o,a,h,c);break e}}throw o=V(a)||a,Error(r(306,o,""))}}return o;case 0:return Qm(a,o,o.type,o.pendingProps,c);case 1:return h=o.type,y=Qi(h,o.pendingProps),G_(a,o,h,y,c);case 3:e:{if(xe(o,o.stateNode.containerInfo),a===null)throw Error(r(387));h=o.pendingProps;var b=o.memoizedState;y=b.element,wm(a,o),Gl(o,h,null,c);var A=o.memoizedState;if(h=A.cache,Ha(o,At,h),h!==b.cache&&ym(o,[At],c,!0),Hl(),h=A.element,b.isDehydrated)if(b={element:h,isDehydrated:!1,cache:A.cache},o.updateQueue.baseState=b,o.memoizedState=b,o.flags&256){o=F_(a,o,h,c);break e}else if(h!==y){y=Zn(Error(r(424)),o),$l(y),o=F_(a,o,h,c);break e}else{switch(a=o.stateNode.containerInfo,a.nodeType){case 9:a=a.body;break;default:a=a.nodeName==="HTML"?a.ownerDocument.body:a}for(ct=rr(a.firstChild),Yt=o,Be=!0,Ba=null,tr=!0,c=LO(o,null,h,c),o.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(Bi(),h===y){o=sa(a,o,c);break e}Vt(a,o,h,c)}o=o.child}return o;case 26:return Ef(a,o),a===null?(c=oT(o.type,null,o.pendingProps,null))?o.memoizedState=c:Be||(c=o.type,a=o.pendingProps,h=Gf(he.current).createElement(c),h[Ft]=o,h[bn]=a,Qt(h,c,a),Bt(h),o.stateNode=h):o.memoizedState=oT(o.type,a.memoizedProps,o.pendingProps,a.memoizedState),null;case 27:return we(o),a===null&&Be&&(h=o.stateNode=rT(o.type,o.pendingProps,he.current),Yt=o,tr=!0,y=ct,ni(o.type)?(ky=y,ct=rr(h.firstChild)):ct=y),Vt(a,o,o.pendingProps.children,c),Ef(a,o),a===null&&(o.flags|=4194304),o.child;case 5:return a===null&&Be&&((y=h=ct)&&(h=q8(h,o.type,o.pendingProps,tr),h!==null?(o.stateNode=h,Yt=o,ct=rr(h.firstChild),tr=!1,y=!0):y=!1),y||Ua(o)),we(o),y=o.type,b=o.pendingProps,A=a!==null?a.memoizedProps:null,h=b.children,My(y,b)?h=null:A!==null&&My(y,A)&&(o.flags|=32),o.memoizedState!==null&&(y=Cm(a,o,J6,null,null,c),uc._currentValue=y),Ef(a,o),Vt(a,o,h,c),o.child;case 6:return a===null&&Be&&((a=c=ct)&&(c=z8(c,o.pendingProps,tr),c!==null?(o.stateNode=c,Yt=o,ct=null,a=!0):a=!1),a||Ua(o)),null;case 13:return Y_(a,o,c);case 4:return xe(o,o.stateNode.containerInfo),h=o.pendingProps,a===null?o.child=Ki(o,null,h,c):Vt(a,o,h,c),o.child;case 11:return $_(a,o,o.type,o.pendingProps,c);case 7:return Vt(a,o,o.pendingProps,c),o.child;case 8:return Vt(a,o,o.pendingProps.children,c),o.child;case 12:return Vt(a,o,o.pendingProps.children,c),o.child;case 10:return h=o.pendingProps,Ha(o,o.type,h.value),Vt(a,o,h.children,c),o.child;case 9:return y=o.type._context,h=o.pendingProps.children,Hi(o),y=Kt(y),h=h(y),o.flags|=1,Vt(a,o,h,c),o.child;case 14:return q_(a,o,o.type,o.pendingProps,c);case 15:return z_(a,o,o.type,o.pendingProps,c);case 19:return V_(a,o,c);case 31:return s8(a,o,c);case 22:return L_(a,o,c,o.pendingProps);case 24:return Hi(o),h=Kt(At),a===null?(y=bm(),y===null&&(y=rt,b=vm(),y.pooledCache=b,b.refCount++,b!==null&&(y.pooledCacheLanes|=c),y=b),o.memoizedState={parent:h,cache:y},Sm(o),Ha(o,At,y)):((a.lanes&c)!==0&&(wm(a,o),Gl(o,null,null,c),Hl()),y=a.memoizedState,b
vendor: 6,205 bytes, line 48
48=o.memoizedState,y.parent!==h?(y={parent:h,cache:h},o.memoizedState=y,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=y),Ha(o,At,h)):(h=b.cache,Ha(o,At,h),h!==y.cache&&ym(o,[At],c,!0))),Vt(a,o,o.pendingProps.children,c),o.child;case 29:throw o.pendingProps}throw Error(r(156,o.tag))}function la(a){a.flags|=4}function ry(a,o,c,h,y){if((o=(a.mode&32)!==0)&&(o=!1),o){if(a.flags|=16777216,(y&335544128)===y)if(a.stateNode.complete)a.flags|=8192;else if(w2())a.flags|=8192;else throw Yi=df,xm}else a.flags&=-16777217}function X_(a,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!fT(o))if(w2())a.flags|=8192;else throw Yi=df,xm}function Cf(a,o){o!==null&&(a.flags|=4),a.flags&16384&&(o=a.tag!==22?tn():536870912,a.lanes|=o,fs|=o)}function Xl(a,o){if(!Be)switch(a.tailMode){case"hidden":o=a.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?a.tail=null:c.sibling=null;break;case"collapsed":c=a.tail;for(var h=null;c!==null;)c.alternate!==null&&(h=c),c=c.sibling;h===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:h.sibling=null}}function ut(a){var o=a.alternate!==null&&a.alternate.child===a.child,c=0,h=0;if(o)for(var y=a.child;y!==null;)c|=y.lanes|y.childLanes,h|=y.subtreeFlags&65011712,h|=y.flags&65011712,y.return=a,y=y.sibling;else for(y=a.child;y!==null;)c|=y.lanes|y.childLanes,h|=y.subtreeFlags,h|=y.flags,y.return=a,y=y.sibling;return a.subtreeFlags|=h,a.childLanes=c,o}function c8(a,o,c){var h=o.pendingProps;switch(fm(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ut(o),null;case 1:return ut(o),null;case 3:return c=o.stateNode,h=null,a!==null&&(h=a.memoizedState.cache),o.memoizedState.cache!==h&&(o.flags|=2048),aa(At),fe(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(a===null||a.child===null)&&(Zo(o)?la(o):a===null||a.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,hm())),ut(o),null;case 26:var y=o.type,b=o.memoizedState;return a===null?(la(o),b!==null?(ut(o),X_(o,b)):(ut(o),ry(o,y,null,h,c))):b?b!==a.memoizedState?(la(o),ut(o),X_(o,b)):(ut(o),o.flags&=-16777217):(a=a.memoizedProps,a!==h&&la(o),ut(o),ry(o,y,a,h,c)),null;case 27:if(Oe(o),c=he.current,y=o.type,a!==null&&o.stateNode!=null)a.memoizedProps!==h&&la(o);else{if(!h){if(o.stateNode===null)throw Error(r(166));return ut(o),null}a=te.current,Zo(o)?CO(o):(a=rT(y,h,c),o.stateNode=a,la(o))}return ut(o),null;case 5:if(Oe(o),y=o.type,a!==null&&o.stateNode!=null)a.memoizedProps!==h&&la(o);else{if(!h){if(o.stateNode===null)throw Error(r(166));return ut(o),null}if(b=te.current,Zo(o))CO(o);else{var A=Gf(he.current);switch(b){case 1:b=A.createElementNS("http://www.w3.org/2000/svg",y);break;case 2:b=A.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;default:switch(y){case"svg":b=A.createElementNS("http://www.w3.org/2000/svg",y);break;case"math":b=A.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;case"script":b=A.createElement("div"),b.innerHTML="<script><\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof h.is=="string"?A.createElement("select",{is:h.is}):A.createElement("select"),h.multiple?b.multiple=!0:h.size&&(b.size=h.size);break;default:b=typeof h.is=="string"?A.createElement(y,{is:h.is}):A.createElement(y)}}b[Ft]=o,b[bn]=h;e:for(A=o.child;A!==null;){if(A.tag===5||A.tag===6)b.appendChild(A.stateNode);else if(A.tag!==4&&A.tag!==27&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===o)break e;for(;A.sibling===null;){if(A.return===null||A.return===o)break e;A=A.return}A.sibling.return=A.return,A=A.sibling}o.stateNode=b;e:switch(Qt(b,y,h),y){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}h&&la(o)}}return ut(o),ry(o,o.type,a===null?null:a.memoizedProps,o.pendingProps,c),null;case 6:if(a&&o.stateNode!=null)a.memoizedProps!==h&&la(o);else{if(typeof h!="string"&&o.stateNode===null)throw Error(r(166));if(a=he.current,Zo(o)){if(a=o.stateNode,c=o.memoizedProps,h=null,y=Yt,y!==null)switch(y.tag){case 27:case 5:h=y.memoizedProps}a[Ft]=o,a=!!(a.nodeValue===c||h!==null&&h.suppressHydrationWarning===!0||Y2(a.nodeValue,c)),a||Ua(o,!0)}else a=Gf(a).createTextNode(h),a[Ft]=o,o.stateNode=a}return ut(o),null;case 31:if(c=o.memoizedState,a===null||a.memoizedState!==null){if(h=Zo(o),c!==null){if(a===null){if(!h)throw Error(r(318));if(a=o.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(557));a[Ft]=o}else Bi(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;ut(o),a=!1}else c=hm(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=c),a=!0;if(!a)return o.flags&256?(Dn(o),o):(Dn(o),null);if((o.flags&128)!==0)throw Error(r(558))}return ut(o),null;case 13:if(h=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(y=Zo(o),h!==null&&h.dehydrated!==null){if(a===null){if(!y)throw Error(r(318));if(y=o.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(r(317));y[Ft]=o}else Bi(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;ut(o),y=!1}else y=hm(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=y),y=!0;if(!y)return o.flags&256?(Dn(o),o):(Dn(o),null)}return Dn(o),(o.flags&128)!==0?(o.lanes=c,o):(c=h!==null,a=a!==null&&a.memoizedState!==null,c&&(h=o.child,y=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(y=h.alternate.memoizedState.cachePool.pool),b=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(b=h.memoizedState.cachePool.pool),b!==y&&(h.flags|=2048)),c!==a&&c&&(o.child.flags|=8192),Cf(o,o.updateQueue),ut(o),null);case 4:return fe(),a===null&&Ty(o.stateNode.containerInfo),ut(o),null;case 10:return aa(o.type),ut(o),null;case 19:if(Y(wt),h=o.memoizedState,h===null)return ut(o),null;if(y=(o.flags&128)!==0,b=h.rendering,b===null)if(y)Xl(h,!1);else{if(bt!==0||a!==null&&(a.flags&128)!==0)for(a=o.child;a!==null;){if(b=yf(a),b!==null){for(o.flags|=128,Xl(h,!1),a=b.updateQueue,o.updateQueue=a,Cf(o,a),o.subtreeFlags=0,a=c,c=o.child;c!==null;)_O(c,a),c=c.sibling;return Q(wt,wt.current&1|2),Be&&na(o,h.treeForkCount),o.child}a=a.sibling}h.tail!==null&&zt()>
vendor: 19,888 bytes, line 48
48Df&&(o.flags|=128,y=!0,Xl(h,!1),o.lanes=4194304)}else{if(!y)if(a=yf(b),a!==null){if(o.flags|=128,y=!0,a=a.updateQueue,o.updateQueue=a,Cf(o,a),Xl(h,!0),h.tail===null&&h.tailMode==="hidden"&&!b.alternate&&!Be)return ut(o),null}else 2*zt()-h.renderingStartTime>Df&&c!==536870912&&(o.flags|=128,y=!0,Xl(h,!1),o.lanes=4194304);h.isBackwards?(b.sibling=o.child,o.child=b):(a=h.last,a!==null?a.sibling=b:o.child=b,h.last=b)}return h.tail!==null?(a=h.tail,h.rendering=a,h.tail=a.sibling,h.renderingStartTime=zt(),a.sibling=null,c=wt.current,Q(wt,y?c&1|2:c&1),Be&&na(o,h.treeForkCount),a):(ut(o),null);case 22:case 23:return Dn(o),Am(),h=o.memoizedState!==null,a!==null?a.memoizedState!==null!==h&&(o.flags|=8192):h&&(o.flags|=8192),h?(c&536870912)!==0&&(o.flags&128)===0&&(ut(o),o.subtreeFlags&6&&(o.flags|=8192)):ut(o),c=o.updateQueue,c!==null&&Cf(o,c.retryQueue),c=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),h=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(h=o.memoizedState.cachePool.pool),h!==c&&(o.flags|=2048),a!==null&&Y(Gi),null;case 24:return c=null,a!==null&&(c=a.memoizedState.cache),o.memoizedState.cache!==c&&(o.flags|=2048),aa(At),ut(o),null;case 25:return null;case 30:return null}throw Error(r(156,o.tag))}function u8(a,o){switch(fm(o),o.tag){case 1:return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return aa(At),fe(),a=o.flags,(a&65536)!==0&&(a&128)===0?(o.flags=a&-65537|128,o):null;case 26:case 27:case 5:return Oe(o),null;case 31:if(o.memoizedState!==null){if(Dn(o),o.alternate===null)throw Error(r(340));Bi()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 13:if(Dn(o),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(r(340));Bi()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return Y(wt),null;case 4:return fe(),null;case 10:return aa(o.type),null;case 22:case 23:return Dn(o),Am(),a!==null&&Y(Gi),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 24:return aa(At),null;case 25:return null;default:return null}}function W_(a,o){switch(fm(o),o.tag){case 3:aa(At),fe();break;case 26:case 27:case 5:Oe(o);break;case 4:fe();break;case 31:o.memoizedState!==null&&Dn(o);break;case 13:Dn(o);break;case 19:Y(wt);break;case 10:aa(o.type);break;case 22:case 23:Dn(o),Am(),a!==null&&Y(Gi);break;case 24:aa(At)}}function Wl(a,o){try{var c=o.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var y=h.next;c=y;do{if((c.tag&a)===a){h=void 0;var b=c.create,A=c.inst;h=b(),A.destroy=h}c=c.next}while(c!==y)}}catch(R){We(o,o.return,R)}}function Qa(a,o,c){try{var h=o.updateQueue,y=h!==null?h.lastEffect:null;if(y!==null){var b=y.next;h=b;do{if((h.tag&a)===a){var A=h.inst,R=A.destroy;if(R!==void 0){A.destroy=void 0,y=o;var H=c,J=R;try{J()}catch(ae){We(y,H,ae)}}}h=h.next}while(h!==b)}}catch(ae){We(o,o.return,ae)}}function Z_(a){var o=a.updateQueue;if(o!==null){var c=a.stateNode;try{UO(o,c)}catch(h){We(a,a.return,h)}}}function J_(a,o,c){c.props=Qi(a.type,a.memoizedProps),c.state=a.memoizedState;try{c.componentWillUnmount()}catch(h){We(a,o,h)}}function Zl(a,o){try{var c=a.ref;if(c!==null){switch(a.tag){case 26:case 27:case 5:var h=a.stateNode;break;case 30:h=a.stateNode;break;default:h=a.stateNode}typeof c=="function"?a.refCleanup=c(h):c.current=h}}catch(y){We(a,o,y)}}function Rr(a,o){var c=a.ref,h=a.refCleanup;if(c!==null)if(typeof h=="function")try{h()}catch(y){We(a,o,y)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(y){We(a,o,y)}else c.current=null}function e2(a){var o=a.type,c=a.memoizedProps,h=a.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":c.autoFocus&&h.focus();break e;case"img":c.src?h.src=c.src:c.srcSet&&(h.srcset=c.srcSet)}}catch(y){We(a,a.return,y)}}function ay(a,o,c){try{var h=a.stateNode;P8(h,a.type,c,o),h[bn]=o}catch(y){We(a,a.return,y)}}function t2(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&ni(a.type)||a.tag===4}function iy(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||t2(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&ni(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function oy(a,o,c){var h=a.tag;if(h===5||h===6)a=a.stateNode,o?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(a,o):(o=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,o.appendChild(a),c=c._reactRootContainer,c!=null||o.onclick!==null||(o.onclick=Jr));else if(h!==4&&(h===27&&ni(a.type)&&(c=a.stateNode,o=null),a=a.child,a!==null))for(oy(a,o,c),a=a.sibling;a!==null;)oy(a,o,c),a=a.sibling}function Mf(a,o,c){var h=a.tag;if(h===5||h===6)a=a.stateNode,o?c.insertBefore(a,o):c.appendChild(a);else if(h!==4&&(h===27&&ni(a.type)&&(c=a.stateNode),a=a.child,a!==null))for(Mf(a,o,c),a=a.sibling;a!==null;)Mf(a,o,c),a=a.sibling}function n2(a){var o=a.stateNode,c=a.memoizedProps;try{for(var h=a.type,y=o.attributes;y.length;)o.removeAttributeNode(y[0]);Qt(o,h,c),o[Ft]=a,o[bn]=c}catch(b){We(a,a.return,b)}}var ca=!1,Ct=!1,sy=!1,r2=typeof WeakSet=="function"?WeakSet:Set,Ut=null;function f8(a,o){if(a=a.containerInfo,jy=Wf,a=mO(a),em(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else e:{c=(c=a.ownerDocument)&&c.defaultView||window;var h=c.getSelection&&c.getSelection();if(h&&h.rangeCount!==0){c=h.anchorNode;var y=h.anchorOffset,b=h.focusNode;h=h.focusOffset;try{c.nodeType,b.nodeType}catch{c=null;break e}var A=0,R=-1,H=-1,J=0,ae=0,le=a,ne=null;t:for(;;){for(var re;le!==c||y!==0&&le.nodeType!==3||(R=A+y),le!==b||h!==0&&le.nodeType!==3||(H=A+h),le.nodeType===3&&(A+=le.nodeValue.length),(re=le.firstChild)!==null;)ne=le,le=re;for(;;){if(le===a)break t;if(ne===c&&++J===y&&(R=A),ne===b&&++ae===h&&(H=A),(re=le.nextSibling)!==null)break;le=ne,ne=le.parentNode}le=re}c=R===-1||H===-1?null:{start:R,end:H}}else c=null}c=c||{start:0,end:0}}else c=null;for(Cy={focusedElem:a,selectionRange:c},Wf=!1,Ut=o;Ut!==null;)if(o=Ut,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,Ut=a;else for(;Ut!==null;){switch(o=Ut,b=o.alternate,a=o.flags,o.tag){case 0:if((a&4)!==0&&(a=o.updateQueue,a=a!==null?a.events:null,a!==null))for(c=0;c<a.length;c++)y=a[c],y.ref.impl=y.nextImpl;break;case 11:case 15:break;case 1:if((a&1024)!==0&&b!==null){a=void 0,c=o,y=b.memoizedProps,b=b.memoizedState,h=c.stateNode;try{var ve=Qi(c.type,y);a=h.getSnapshotBeforeUpdate(ve,b),h.__reactInternalSnapshotBeforeUpdate=a}catch(Te){We(c,c.return,Te)}}break;case 3:if((a&1024)!==0){if(a=o.stateNode.containerInfo,c=a.nodeType,c===9)Py(a);else if(c===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Py(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(r(163))}if(a=o.sibling,a!==null){a.return=o.return,Ut=a;break}Ut=o.return}}function a2(a,o,c){var h=c.flags;switch(c.tag){case 0:case 11:case 15:fa(a,c),h&4&&Wl(5,c);break;case 1:if(fa(a,c),h&4)if(a=c.stateNode,o===null)try{a.componentDidMount()}catch(A){We(c,c.return,A)}else{var y=Qi(c.type,o.memoizedProps);o=o.memoizedState;try{a.componentDidUpdate(y,o,a.__reactInternalSnapshotBeforeUpdate)}catch(A){We(c,c.return,A)}}h&64&&Z_(c),h&512&&Zl(c,c.return);break;case 3:if(fa(a,c),h&64&&(a=c.updateQueue,a!==null)){if(o=null,c.child!==null)switch(c.child.tag){case 27:case 5:o=c.child.stateNode;break;case 1:o=c.child.stateNode}try{UO(a,o)}catch(A){We(c,c.return,A)}}break;case 27:o===null&&h&4&&n2(c);case 26:case 5:fa(a,c),o===null&&h&4&&e2(c),h&512&&Zl(c,c.return);break;case 12:fa(a,c);break;case 31:fa(a,c),h&4&&s2(a,c);break;case 13:fa(a,c),h&4&&l2(a,c),h&64&&(a=c.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(c=x8.bind(null,c),L8(a,c))));break;case 22:if(h=c.memoizedState!==null||ca,!h){o=o!==null&&o.memoizedState!==null||Ct,y=ca;var b=Ct;ca=h,(Ct=o)&&!b?da(a,c,(c.subtreeFlags&8772)!==0):fa(a,c),ca=y,Ct=b}break;case 30:break;default:fa(a,c)}}function i2(a){var o=a.alternate;o!==null&&(a.alternate=null,i2(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&$p(o)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var ht=null,Sn=!1;function ua(a,o,c){for(c=c.child;c!==null;)o2(a,o,c),c=c.sibling}function o2(a,o,c){if(cn&&typeof cn.onCommitFiberUnmount=="function")try{cn.onCommitFiberUnmount(Pi,c)}catch{}switch(c.tag){case 26:Ct||Rr(c,o),ua(a,o,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Ct||Rr(c,o);var h=ht,y=Sn;ni(c.type)&&(ht=c.stateNode,Sn=!1),ua(a,o,c),sc(c.stateNode),ht=h,Sn=y;break;case 5:Ct||Rr(c,o);case 6:if(h=ht,y=Sn,ht=null,ua(a,o,c),ht=h,Sn=y,ht!==null)if(Sn)try{(ht.nodeType===9?ht.body:ht.nodeName==="HTML"?ht.ownerDocument.body:ht).removeChild(c.stateNode)}catch(b){We(c,o,b)}else try{ht.removeChild(c.stateNode)}catch(b){We(c,o,b)}break;case 18:ht!==null&&(Sn?(a=ht,Z2(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,c.stateNode),bs(a)):Z2(ht,c.stateNode));break;case 4:h=ht,y=Sn,ht=c.stateNode.containerInfo,Sn=!0,ua(a,o,c),ht=h,Sn=y;break;case 0:case 11:case 14:case 15:Qa(2,c,o),Ct||Qa(4,c,o),ua(a,o,c);break;case 1:Ct||(Rr(c,o),h=c.stateNode,typeof h.componentWillUnmount=="function"&&J_(c,o,h)),ua(a,o,c);break;case 21:ua(a,o,c);break;case 22:Ct=(h=Ct)||c.memoizedState!==null,ua(a,o,c),Ct=h;break;default:ua(a,o,c)}}function s2(a,o){if(o.memoizedState===null&&(a=o.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{bs(a)}catch(c){We(o,o.return,c)}}}function l2(a,o){if(o.memoizedState===null&&(a=o.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{bs(a)}catch(c){We(o,o.return,c)}}function d8(a){switch(a.tag){case 31:case 13:case 19:var o=a.stateNode;return o===null&&(o=a.stateNode=new r2),o;case 22:return a=a.stateNode,o=a._retryCache,o===null&&(o=a._retryCache=new r2),o;default:throw Error(r(435,a.tag))}}function Nf(a,o){var c=d8(a);o.forEach(function(h){if(!c.has(h)){c.add(h);var y=S8.bind(null,a,h);h.then(y,y)}})}function wn(a,o){var c=o.deletions;if(c!==null)for(var h=0;h<c.length;h++){var y=c[h],b=a,A=o,R=A;e:for(;R!==null;){switch(R.tag){case 27:if(ni(R.type)){ht=R.stateNode,Sn=!1;break e}break;case 5:ht=R.stateNode,Sn=!1;break e;case 3:case 4:ht=R.stateNode.containerInfo,Sn=!0;break e}R=R.return}if(ht===null)throw Error(r(160));o2(b,A,y),ht=null,Sn=!1,b=y.alternate,b!==null&&(b.return=null),y.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)c2(o,a),o=o.sibling}var yr=null;function c2(a,o){var c=a.alternate,h=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:wn(o,a),On(a),h&4&&(Qa(3,a,a.return),Wl(3,a),Qa(5,a,a.return));break;case 1:wn(o,a),On(a),h&512&&(Ct||c===null||Rr(c,c.return)),h&64&&ca&&(a=a.updateQueue,a!==null&&(h=a.callbacks,h!==null&&(c=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=c===null?h:c.concat(h))));break;case 26:var y=yr;if(wn(o,a),On(a),h&512&&(Ct||c===null||Rr(c,c.return)),h&4){var b=c!==null?c.memoizedState:null;if(h=a.memoizedState,c===null)if(h===null)if(a.stateNode===null){e:{h=a.type,c=a.memoizedProps,y=y.ownerDocument||y;t:switch(h){case"title":b=y.getElementsByTagName("title")[0],(!b||b[Tl]||b[Ft]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=y.createElement(h),y.head.insertBefore(b,y.querySelector("head > title"))),Qt(b,h,c),b[Ft]=a,Bt(b),h=b;break e;case"link":var A=cT("link","href",y).get(h+(c.href||""));if(A){for(var R=0;R<A.length;R++)if(b=A[R],b.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&b.getAttribute("rel")===(c.rel==null?null:c.rel)&&b.getAttribute("title")===(c.title==null?null:c.title)&&b.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){A.splice(R,1);break t}}b=y.createElement(h),Qt(b,h,c),y.head.appendChild(b);break;case"meta":if(A=cT("meta","content",y).get(h+(c.content||""))){for(R=0;R<A.length;R++)if(b=A[R],b.getAttribute("content")===(c.content==null?null:""+c.content)&&b.getAttribute("name")===(c.name==null?null:c.name)&&b.getAttribute("property")===(c.property==null?null:c.property)&&b.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&b.getAttribute("charset")===(c.charSet==null?null:c.charSet)){A.splice(R,1);break t}}b=y.createElement(h),Qt(b,h,c),y.head.appendChild(b);break;default:throw Error(r(468,h))}b[Ft]=a,Bt(b),h=b}a.stateNode=h}else uT(y,a.type,a.stateNode);else a.stateNode=lT(y,h,a.memoizedProps);else b!==h?(b===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):b.count--,h===null?uT(y,a.type,a.stateNode):lT(y,h,a.memoizedProps)):h===null&&a.stateNode!==null&&ay(a,a.memoizedProps,c.memoizedProps)}break;case 27:wn(o,a),On(a),h&512&&(Ct||c===null||Rr(c,c.return)),c!==null&&h&4&&ay(a,a.memoizedProps,c.memoizedProps);break;case 5:if(wn(o,a),On(a),h&512&&(Ct||c===null||Rr(c,c.return)),a.flags&32){y=a.stateNode;try{Uo(y,"")}catch(ve){We(a,a.return,ve)}}h&4&&a.stateNode!=null&&(y=a.memoizedProps,ay(a,y,c!==null?c.memoizedProps:y)),h&1024&&(sy=!0);break;case 6:if(wn(o,a),On(a),h&4){if(a.stateNode===null)throw Error(r(162));h=a.memoizedProps,c=a.stateNode;try{c.nodeValue=h}catch(ve){We(a,a.return,ve)}}break;case 3:if(Kf=null,y=yr,yr=Ff(o.containerInfo),wn(o,a),yr=y,On(a),h&4&&c!==null&&c.memoizedState.isDehydrated)try{bs(o.containerInfo)}catch(ve){We(a,a.return,ve)}sy&&(sy=!1,u2(a));break;case 4:h=yr,yr=Ff(a.stateNode.containerInfo),wn(o,a),On(a),yr=h;break;case 12:wn(o,a),On(a);break;case 31:wn(o,a),On(a),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,Nf(a,h)));break;case 13:wn(o,a),On(a),a.child.flags&8192&&a.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(Rf=zt()),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,Nf(a,h)));break;case 22:y=a.memoizedState!==null;var H=c!==null&&c.memoizedState!==null,J=ca,ae=Ct;if(ca=J||y,Ct=ae||H,wn(o,a),Ct=ae,ca=J,On(a),h&8192)e:for(o=a.stateNode,o._visibility=y?o._visibility&-2:o._visibility|1,y&&(c===null||H||ca||Ct||Xi(a)),c=null,o=a;;){if(o.tag===5||o.tag===26){if(c===null){H=c=o;try{if(b=H.stateNode,y)A=b.style,typeof A.setProperty=="function"?A.setProperty("display","none","important"):A.display="none";else{R=H.stateNode;var le=H.memoizedProps.style,ne=le!=null&&le.hasOwnProperty("display")?le.display:null;R.style.display=ne==null||typeof ne=="boolean"?"":(""+ne).trim()}}catch(ve){We(H,H.return,ve)}}}else if(o.tag===6){if(c===null){H=o;try{H.stateNode.nodeValue=y?"":H.memoizedProps}catch(ve){We(H,H.return,ve)}}}else if(o.tag===18){if(c===null){H=o;try{var re=H.stateNode;y?J2(re,!0):J2(H.stateNode,!1)}catch(ve){We(H,H.return,ve)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===a)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break e;for(;o.sibling===null;){if(o.return===null||o.return===a)break e;c===o&&(c=null),o=o.return}c===o&&(c=null),o.sibling.return=o.return,o=o.sibling}h&4&&(h=a.updateQueue,h!==null&&(c=h.retryQueue,c!==null&&(h.retryQueue=null,Nf(a,c))));break;case 19:wn(o,a),On(a),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,Nf(a,h)));break;case 30:break;case 21:break;default:wn(o,a),On(a)}}function On(a){var o=a.flags;if(o&2){try{for(var c,h=a.return;h!==null;){if(t2(h)){c=h;break}h=h.return}if(c==null)throw Error(r(160));switch(c.tag){case 27:var y=c.stateNode,b=iy(a);Mf(a,b,y);break;case 5:var A=c.stateNode;c.flags&32&&(Uo(A,""),c.flags&=-33);var R=iy(a);Mf(a,R,A);break;case 3:case 4:var H=c.stateNode.containerInfo,J=iy(a);oy(a,J,H);break;default:throw Error(r(161))}}catch(ae){We(a,a.return,ae)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function u2(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var o=a;u2(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),a=a.sibling}}function fa(a,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)a2(a,o.alternate,o),o=o.sibling}function Xi(a){for(a=a.child;a!==null;){var o=a;switch(o.tag){case 0:case 11:case 14:case 15:Qa(4,o,o.return),Xi(o);break;case 1:Rr(o,o.return);var c=o.stateNode;typeof c.componentWillUnmount=="function"&&J_(o,o.return,c),Xi(o);break;case 27:sc(o.stateNode);case 26:case 5:Rr(o,o.return),Xi(o);break;case 22:o.memoizedState===null&&Xi(o);break;case 30:Xi(o);break;default:Xi(o)}a=a.sibling}}function da(a,o,c){for(c=c&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var h=o.alternate,y=a,b=o,A=b.flags;switch(b.tag){case 0:case 11:case 15:da(y,b,c),Wl(4,b);break;case 1:if(da(y,b,c),h=b,y=h.stateNode,typeof y.componentDidMount=="function")try{y.componentDidMount()}catch(J){We(h,h.return,J)}if(h=b,y=h.updateQueue,y!==null){var R=h.stateNode;try{var H=y.shared.hiddenCallbacks;if(H!==null)for(y.shared.hiddenCallbacks=null,y=0;y<H.length;y++)BO(H[y],R)}catch(J){We(h,h.return,J)}}c&&A&64&&Z_(b),Zl(b,b.return);break;case 27:n2(b);case 26:case 5:da(y,b,c),c&&h===null&&A&4&&e2(b),Zl(b,b.return);break;case 12:da(y,b,c);break;case 31:da(y,b,c),c&&A&4&&s2(y,b);break;case 13:da(y,b,c),c&&A&4&&l2(y,b);break;case 22:b.memoizedState===null&&da(y,b,c),Zl(b,b.return);break;case 30:break;default:da(y,b,c)}o=o.sibling}}function ly(a,o){var c=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),a=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(a=o.memoizedState.cachePool.pool),a!==c&&(a!=null&&a.refCount++,c!=null&&ql(c))}function cy(a,o){a=null,o.alternate!==null&&(a=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==a&&(o.refCount++,a!=null&&ql(a))}function vr(a,o,c,h){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)f2(a,o,c,h),o=o.sibling}function f2(a,o,c,h){var y=o.flags;switch(o.tag){case 0:case 11:case 15:vr(a,o,c,h),y&2048&&Wl(9,o);break;case 1:vr(a,o,c,h);break;case 3:vr(a,o,c,h),y&2048&&(a=null,o.alternate!==null&&(a=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==a&&(o.refCount++,a!=null&&ql(a)));break;case 12:if(y&2048){vr(a,o,c,h),a=o.stateNode;try{var b=o.memoizedProps,A=b.id,R=b.onPostCommit;typeof R=="function"&&R(A,o.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(H){We(o,o.return,H)}}else vr(a,o,c,h);break;case 31:vr(a,o,c,h);break;case 13:vr(a,o,c,h);break;case 23:break;case 22:b=o.stateNode,A=o.alternate,o.memoizedState!==null?b._visibility&2?vr(a,o,c,h):Jl(a,o):b._visibility&2?vr(a,o,c,h):(b._visibility|=2,ls(a,o,c,h,(o.subtreeFlags&10256)!==0||!1)),y&2048&&ly(A,o);break;case 24:vr(a,o,c,h),y&2048&&cy(o.alternate,o);break;default:vr(a,o,c,h)}}function ls(a,o,c,h,y){for(y=y&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var b=a,A=o,R=c,H=h,J=A.flags;switch(A.tag){case 0:case 11:case 15:ls(b,A,R,H,y),Wl(8,A);break;case 23:break;case 22:var ae=A.stateNode;A.memoizedState!==null?ae._visibility&2?ls(b,A,R,H,y):Jl(b,A):(ae._visibility|=2,ls(b,A,R,H,y)),y&&J&2048&&ly(A.alternate,A);break;case 24:ls(b,A,R,H,y),y&&J&2048&&cy(A.alternate,A);break;default:ls(b,A,R,H,y)}o=o.sibling}}function Jl(a,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var c=a,h=o,y=h.flags;switch(h.tag){case 22:Jl(c,h),y&2048&&ly(h.alternate,h);break;case 24:Jl(c,h),y&2048&&cy(h.alternate,h);break;default:Jl(c,h)}o=o.sibling}}var ec=8192;function cs(a,o,c){if(a.subtreeFlags&ec)for(a=a.child;a!==null;)d2(a,o,c),a=a.sibling}function d2(a,o,c){switch(a.tag){case 26:cs(a,o,c),a.flags&ec&&a.memoizedState!==null&&Z8(c,yr,a.memoizedState,a.memoizedProps);break;case 5:cs(a,o,c);break;case 3:case 4:var h=yr;yr=Ff(a.stateNode.containerInfo),cs(a,o,c),yr=h;break;case 22:a.memoizedState===null&&(h=a.alternate,h!==null&&h.memoizedState!==null?(h=ec,ec=16777216,cs(a,o,c),ec=h):cs(a,o,c));break;default:cs(a,o,c)}}function h2(a){var o=a.alternate;if(o!==null&&(a=o.child,a!==null)){o.child=null;do o=a.sibling,a.sibling=null,a=o;while(a!==null)}}
vendor: 6,400 bytes, line 48
48function tc(a){var o=a.deletions;if((a.flags&16)!==0){if(o!==null)for(var c=0;c<o.length;c++){var h=o[c];Ut=h,m2(h,a)}h2(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)p2(a),a=a.sibling}function p2(a){switch(a.tag){case 0:case 11:case 15:tc(a),a.flags&2048&&Qa(9,a,a.return);break;case 3:tc(a);break;case 12:tc(a);break;case 22:var o=a.stateNode;a.memoizedState!==null&&o._visibility&2&&(a.return===null||a.return.tag!==13)?(o._visibility&=-3,Pf(a)):tc(a);break;default:tc(a)}}function Pf(a){var o=a.deletions;if((a.flags&16)!==0){if(o!==null)for(var c=0;c<o.length;c++){var h=o[c];Ut=h,m2(h,a)}h2(a)}for(a=a.child;a!==null;){switch(o=a,o.tag){case 0:case 11:case 15:Qa(8,o,o.return),Pf(o);break;case 22:c=o.stateNode,c._visibility&2&&(c._visibility&=-3,Pf(o));break;default:Pf(o)}a=a.sibling}}function m2(a,o){for(;Ut!==null;){var c=Ut;switch(c.tag){case 0:case 11:case 15:Qa(8,c,o);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var h=c.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:ql(c.memoizedState.cache)}if(h=c.child,h!==null)h.return=c,Ut=h;else e:for(c=a;Ut!==null;){h=Ut;var y=h.sibling,b=h.return;if(i2(h),h===c){Ut=null;break e}if(y!==null){y.return=b,Ut=y;break e}Ut=b}}}var h8={getCacheForType:function(a){var o=Kt(At),c=o.data.get(a);return c===void 0&&(c=a(),o.data.set(a,c)),c},cacheSignal:function(){return Kt(At).controller.signal}},p8=typeof WeakMap=="function"?WeakMap:Map,Ke=0,rt=null,Ie=null,ze=0,Xe=0,kn=null,Xa=!1,us=!1,uy=!1,ha=0,bt=0,Wa=0,Wi=0,fy=0,In=0,fs=0,nc=null,_n=null,dy=!1,Rf=0,y2=0,Df=1/0,kf=null,Za=null,Pt=0,Ja=null,ds=null,pa=0,hy=0,py=null,v2=null,rc=0,my=null;function $n(){return(Ke&2)!==0&&ze!==0?ze&-ze:D.T!==null?Sy():kp()}function g2(){if(In===0)if((ze&536870912)===0||Be){var a=Do;Do<<=1,(Do&3932160)===0&&(Do=262144),In=a}else In=536870912;return a=Rn.current,a!==null&&(a.flags|=32),In}function Tn(a,o,c){(a===rt&&(Xe===2||Xe===9)||a.cancelPendingCommit!==null)&&(hs(a,0),ei(a,ze,In,!1)),yt(a,c),((Ke&2)===0||a!==rt)&&(a===rt&&((Ke&2)===0&&(Wi|=c),bt===4&&ei(a,ze,In,!1)),Dr(a))}function b2(a,o,c){if((Ke&6)!==0)throw Error(r(327));var h=!c&&(o&127)===0&&(o&a.expiredLanes)===0||dt(a,o),y=h?v8(a,o):vy(a,o,!0),b=h;do{if(y===0){us&&!h&&ei(a,o,0,!1);break}else{if(c=a.current.alternate,b&&!m8(c)){y=vy(a,o,!1),b=!1;continue}if(y===2){if(b=o,a.errorRecoveryDisabledLanes&b)var A=0;else A=a.pendingLanes&-536870913,A=A!==0?A:A&536870912?536870912:0;if(A!==0){o=A;e:{var R=a;y=nc;var H=R.current.memoizedState.isDehydrated;if(H&&(hs(R,A).flags|=256),A=vy(R,A,!1),A!==2){if(uy&&!H){R.errorRecoveryDisabledLanes|=b,Wi|=b,y=4;break e}b=_n,_n=y,b!==null&&(_n===null?_n=b:_n.push.apply(_n,b))}y=A}if(b=!1,y!==2)continue}}if(y===1){hs(a,0),ei(a,o,0,!0);break}e:{switch(h=a,b=y,b){case 0:case 1:throw Error(r(345));case 4:if((o&4194048)!==o)break;case 6:ei(h,o,In,!Xa);break e;case 2:_n=null;break;case 3:case 5:break;default:throw Error(r(329))}if((o&62914560)===o&&(y=Rf+300-zt(),10<y)){if(ei(h,o,In,!Xa),Ee(h,0,!0)!==0)break e;pa=o,h.timeoutHandle=X2(x2.bind(null,h,c,_n,kf,dy,o,In,Wi,fs,Xa,b,"Throttled",-0,0),y);break e}x2(h,c,_n,kf,dy,o,In,Wi,fs,Xa,b,null,-0,0)}}break}while(!0);Dr(a)}function x2(a,o,c,h,y,b,A,R,H,J,ae,le,ne,re){if(a.timeoutHandle=-1,le=o.subtreeFlags,le&8192||(le&16785408)===16785408){le={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Jr},d2(o,b,le);var ve=(b&62914560)===b?Rf-zt():(b&4194048)===b?y2-zt():0;if(ve=J8(le,ve),ve!==null){pa=b,a.cancelPendingCommit=ve(j2.bind(null,a,o,b,c,h,y,A,R,H,ae,le,null,ne,re)),ei(a,b,A,!J);return}}j2(a,o,b,c,h,y,A,R,H)}function m8(a){for(var o=a;;){var c=o.tag;if((c===0||c===11||c===15)&&o.flags&16384&&(c=o.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var h=0;h<c.length;h++){var y=c[h],b=y.getSnapshot;y=y.value;try{if(!Nn(b(),y))return!1}catch{return!1}}if(c=o.child,o.subtreeFlags&16384&&c!==null)c.return=o,o=c;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function ei(a,o,c,h){o&=~fy,o&=~Wi,a.suspendedLanes|=o,a.pingedLanes&=~o,h&&(a.warmLanes|=o),h=a.expirationTimes;for(var y=o;0<y;){var b=31-en(y),A=1<<b;h[b]=-1,y&=~A}c!==0&&Di(a,c,o)}function If(){return(Ke&6)===0?(ac(0),!1):!0}function yy(){if(Ie!==null){if(Xe===0)var a=Ie.return;else a=Ie,ra=Ui=null,Pm(a),rs=null,Ll=0,a=Ie;for(;a!==null;)W_(a.alternate,a),a=a.return;Ie=null}}function hs(a,o){var c=a.timeoutHandle;c!==-1&&(a.timeoutHandle=-1,k8(c)),c=a.cancelPendingCommit,c!==null&&(a.cancelPendingCommit=null,c()),pa=0,yy(),rt=a,Ie=c=ta(a.current,null),ze=o,Xe=0,kn=null,Xa=!1,us=dt(a,o),uy=!1,fs=In=fy=Wi=Wa=bt=0,_n=nc=null,dy=!1,(o&8)!==0&&(o|=o&32);var h=a.entangledLanes;if(h!==0)for(a=a.entanglements,h&=o;0<h;){var y=31-en(h),b=1<<y;o|=a[y],h&=~b}return ha=o,nf(),c}function S2(a,o){Me=null,D.H=Vl,o===ns||o===ff?(o=$O(),Xe=3):o===xm?(o=$O(),Xe=4):Xe=o===Vm?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,kn=o,Ie===null&&(bt=1,Tf(a,Zn(o,a.current)))}function w2(){var a=Rn.current;return a===null?!0:(ze&4194048)===ze?nr===null:(ze&62914560)===ze||(ze&536870912)!==0?a===nr:!1}function O2(){var a=D.H;return D.H=Vl,a===null?Vl:a}function _2(){var a=D.A;return D.A=h8,a}function $f(){bt=4,Xa||(ze&4194048)!==ze&&Rn.current!==null||(us=!0),(Wa&134217727)===0&&(Wi&134217727)===0||rt===null||ei(rt,ze,In,!1)}function vy(a,o,c){var h=Ke;Ke|=2;var y=O2(),b=_2();(rt!==a||ze!==o)&&(kf=null,hs(a,o)),o=!1;var A=bt;e:do try{if(Xe!==0&&Ie!==null){var R=Ie,H=kn;switch(Xe){case 8:yy(),A=6;break e;case 3:case 2:case 9:case 6:Rn.current===null&&(o=!0);var J=Xe;if(Xe=0,kn=null,ps(a,R,H,J),c&&us){A=0;break e}break;default:J=Xe,Xe=0,kn=null,ps(a,R,H,J)}}y8(),A=bt;break}catch(ae){S2(a,ae)}while(!0);return o&&a.shellSuspendCounter++,ra=Ui=null,Ke=h,D.H=y,D.A=b,Ie===null&&(rt=null,ze=0,nf()),A}function y8(){for(;Ie!==null;)T2(Ie)}function v8(a,o){var c=Ke;Ke|=2;var h=O2(),y=_2();rt!==a||ze!==o?(kf=null,Df=zt()+500,hs(a,o)):us=dt(a,o);e:do try{if(Xe!==0&&Ie!==null){o=Ie;var b=kn;t:switch(Xe){case 1:Xe=0,kn=null,ps(a,o,b,1);break;case 2:case 9:if(kO(b)){Xe=0,kn=null,A2(o);break}o=function(){Xe!==2&&Xe!==9||rt!==a||(Xe=7),Dr(a)},b.then(o,o);break e;case 3:Xe=7;break e;case 4:Xe=5;break e;case 7:kO(b)?(Xe=0,kn=null,A2(o)):(Xe=0,kn=null,ps(a,o,b,7));break;case 5:var A=null;
vendor: 1,585 bytes, line 48
48switch(Ie.tag){case 26:A=Ie.memoizedState;case 5:case 27:var R=Ie;if(A?fT(A):R.stateNode.complete){Xe=0,kn=null;var H=R.sibling;if(H!==null)Ie=H;else{var J=R.return;J!==null?(Ie=J,qf(J)):Ie=null}break t}}Xe=0,kn=null,ps(a,o,b,5);break;case 6:Xe=0,kn=null,ps(a,o,b,6);break;case 8:yy(),bt=6;break e;default:throw Error(r(462))}}g8();break}catch(ae){S2(a,ae)}while(!0);return ra=Ui=null,D.H=h,D.A=y,Ke=c,Ie!==null?0:(rt=null,ze=0,nf(),bt)}function g8(){for(;Ie!==null&&!mt();)T2(Ie)}function T2(a){var o=Q_(a.alternate,a,ha);a.memoizedProps=a.pendingProps,o===null?qf(a):Ie=o}function A2(a){var o=a,c=o.alternate;switch(o.tag){case 15:case 0:o=H_(c,o,o.pendingProps,o.type,void 0,ze);break;case 11:o=H_(c,o,o.pendingProps,o.type.render,o.ref,ze);break;case 5:Pm(o);default:W_(c,o),o=Ie=_O(o,ha),o=Q_(c,o,ha)}a.memoizedProps=a.pendingProps,o===null?qf(a):Ie=o}function ps(a,o,c,h){ra=Ui=null,Pm(o),rs=null,Ll=0;var y=o.return;try{if(o8(a,y,o,c,ze)){bt=1,Tf(a,Zn(c,a.current)),Ie=null;return}}catch(b){if(y!==null)throw Ie=y,b;bt=1,Tf(a,Zn(c,a.current)),Ie=null;return}o.flags&32768?(Be||h===1?a=!0:us||(ze&536870912)!==0?a=!1:(Xa=a=!0,(h===2||h===9||h===3||h===6)&&(h=Rn.current,h!==null&&h.tag===13&&(h.flags|=16384))),E2(o,a)):qf(o)}function qf(a){var o=a;do{if((o.flags&32768)!==0){E2(o,Xa);return}a=o.return;var c=c8(o.alternate,o,ha);if(c!==null){Ie=c;return}if(o=o.sibling,o!==null){Ie=o;return}Ie=o=a}while(o!==null);bt===0&&(bt=5)}function E2(a,o){do{var c=u8(a.alternate,a);if(c!==null){c.flags&=32767,Ie=c;return}if(c=a.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deleti
vendor: 15,206 bytes, line 48
48ons=null),!o&&(a=a.sibling,a!==null)){Ie=a;return}Ie=a=c}while(a!==null);bt=6,Ie=null}function j2(a,o,c,h,y,b,A,R,H){a.cancelPendingCommit=null;do zf();while(Pt!==0);if((Ke&6)!==0)throw Error(r(327));if(o!==null){if(o===a.current)throw Error(r(177));if(b=o.lanes|o.childLanes,b|=im,yn(a,c,b,A,R,H),a===rt&&(Ie=rt=null,ze=0),ds=o,Ja=a,pa=c,hy=b,py=y,v2=h,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,w8(Ni,function(){return R2(),null})):(a.callbackNode=null,a.callbackPriority=0),h=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||h){h=D.T,D.T=null,y=U.p,U.p=2,A=Ke,Ke|=4;try{f8(a,o,c)}finally{Ke=A,U.p=y,D.T=h}}Pt=1,C2(),M2(),N2()}}function C2(){if(Pt===1){Pt=0;var a=Ja,o=ds,c=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||c){c=D.T,D.T=null;var h=U.p;U.p=2;var y=Ke;Ke|=4;try{c2(o,a);var b=Cy,A=mO(a.containerInfo),R=b.focusedElem,H=b.selectionRange;if(A!==R&&R&&R.ownerDocument&&pO(R.ownerDocument.documentElement,R)){if(H!==null&&em(R)){var J=H.start,ae=H.end;if(ae===void 0&&(ae=J),"selectionStart"in R)R.selectionStart=J,R.selectionEnd=Math.min(ae,R.value.length);else{var le=R.ownerDocument||document,ne=le&&le.defaultView||window;if(ne.getSelection){var re=ne.getSelection(),ve=R.textContent.length,Te=Math.min(H.start,ve),et=H.end===void 0?Te:Math.min(H.end,ve);!re.extend&&Te>et&&(A=et,et=Te,Te=A);var W=hO(R,Te),K=hO(R,et);if(W&&K&&(re.rangeCount!==1||re.anchorNode!==W.node||re.anchorOffset!==W.offset||re.focusNode!==K.node||re.focusOffset!==K.offset)){var Z=le.createRange();Z.setStart(W.node,W.offset),re.removeAllRanges(),Te>et?(re.addRange(Z),re.extend(K.node,K.offset)):(Z.setEnd(K.node,K.offset),re.addRange(Z))}}}}for(le=[],re=R;re=re.parentNode;)re.nodeType===1&&le.push({element:re,left:re.scrollLeft,top:re.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<le.length;R++){var oe=le[R];oe.element.scrollLeft=oe.left,oe.element.scrollTop=oe.top}}Wf=!!jy,Cy=jy=null}finally{Ke=y,U.p=h,D.T=c}}a.current=o,Pt=2}}function M2(){if(Pt===2){Pt=0;var a=Ja,o=ds,c=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||c){c=D.T,D.T=null;var h=U.p;U.p=2;var y=Ke;Ke|=4;try{a2(a,o.alternate,o)}finally{Ke=y,U.p=h,D.T=c}}Pt=3}}function N2(){if(Pt===4||Pt===3){Pt=0,Vn();var a=Ja,o=ds,c=pa,h=v2;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?Pt=5:(Pt=0,ds=Ja=null,P2(a,a.pendingLanes));var y=a.pendingLanes;if(y===0&&(Za=null),pr(c),o=o.stateNode,cn&&typeof cn.onCommitFiberRoot=="function")try{cn.onCommitFiberRoot(Pi,o,void 0,(o.current.flags&128)===128)}catch{}if(h!==null){o=D.T,y=U.p,U.p=2,D.T=null;try{for(var b=a.onRecoverableError,A=0;A<h.length;A++){var R=h[A];b(R.value,{componentStack:R.stack})}}finally{D.T=o,U.p=y}}(pa&3)!==0&&zf(),Dr(a),y=a.pendingLanes,(c&261930)!==0&&(y&42)!==0?a===my?rc++:(rc=0,my=a):rc=0,ac(0)}}function P2(a,o){(a.pooledCacheLanes&=o)===0&&(o=a.pooledCache,o!=null&&(a.pooledCache=null,ql(o)))}function zf(){return C2(),M2(),N2(),R2()}function R2(){if(Pt!==5)return!1;var a=Ja,o=hy;hy=0;var c=pr(pa),h=D.T,y=U.p;try{U.p=32>c?32:c,D.T=null,c=py,py=null;var b=Ja,A=pa;if(Pt=0,ds=Ja=null,pa=0,(Ke&6)!==0)throw Error(r(331));var R=Ke;if(Ke|=4,p2(b.current),f2(b,b.current,A,c),Ke=R,ac(0,!1),cn&&typeof cn.onPostCommitFiberRoot=="function")try{cn.onPostCommitFiberRoot(Pi,b)}catch{}return!0}finally{U.p=y,D.T=h,P2(a,o)}}function D2(a,o,c){o=Zn(c,o),o=Km(a.stateNode,o,2),a=Ya(a,o,2),a!==null&&(yt(a,2),Dr(a))}function We(a,o,c){if(a.tag===3)D2(a,a,c);else for(;o!==null;){if(o.tag===3){D2(o,a,c);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(Za===null||!Za.has(h))){a=Zn(c,a),c=k_(2),h=Ya(o,c,2),h!==null&&(I_(c,h,o,a),yt(h,2),Dr(h));break}}o=o.return}}function gy(a,o,c){var h=a.pingCache;if(h===null){h=a.pingCache=new p8;var y=new Set;h.set(o,y)}else y=h.get(o),y===void 0&&(y=new Set,h.set(o,y));y.has(c)||(uy=!0,y.add(c),a=b8.bind(null,a,o,c),o.then(a,a))}function b8(a,o,c){var h=a.pingCache;h!==null&&h.delete(o),a.pingedLanes|=a.suspendedLanes&c,a.warmLanes&=~c,rt===a&&(ze&c)===c&&(bt===4||bt===3&&(ze&62914560)===ze&&300>zt()-Rf?(Ke&2)===0&&hs(a,0):fy|=c,fs===ze&&(fs=0)),Dr(a)}function k2(a,o){o===0&&(o=tn()),a=zi(a,o),a!==null&&(yt(a,o),Dr(a))}function x8(a){var o=a.memoizedState,c=0;o!==null&&(c=o.retryLane),k2(a,c)}function S8(a,o){var c=0;switch(a.tag){case 31:case 13:var h=a.stateNode,y=a.memoizedState;y!==null&&(c=y.retryLane);break;case 19:h=a.stateNode;break;case 22:h=a.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(o),k2(a,c)}function w8(a,o){return jr(a,o)}var Lf=null,ms=null,by=!1,Bf=!1,xy=!1,ti=0;function Dr(a){a!==ms&&a.next===null&&(ms===null?Lf=ms=a:ms=ms.next=a),Bf=!0,by||(by=!0,_8())}function ac(a,o){if(!xy&&Bf){xy=!0;do for(var c=!1,h=Lf;h!==null;){if(a!==0){var y=h.pendingLanes;if(y===0)var b=0;else{var A=h.suspendedLanes,R=h.pingedLanes;b=(1<<31-en(42|a)+1)-1,b&=y&~(A&~R),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(c=!0,z2(h,b))}else b=ze,b=Ee(h,h===rt?b:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(b&3)===0||dt(h,b)||(c=!0,z2(h,b));h=h.next}while(c);xy=!1}}function O8(){I2()}function I2(){Bf=by=!1;var a=0;ti!==0&&D8()&&(a=ti);for(var o=zt(),c=null,h=Lf;h!==null;){var y=h.next,b=$2(h,o);b===0?(h.next=null,c===null?Lf=y:c.next=y,y===null&&(ms=c)):(c=h,(a!==0||(b&3)!==0)&&(Bf=!0)),h=y}Pt!==0&&Pt!==5||ac(a),ti!==0&&(ti=0)}function $2(a,o){for(var c=a.suspendedLanes,h=a.pingedLanes,y=a.expirationTimes,b=a.pendingLanes&-62914561;0<b;){var A=31-en(b),R=1<<A,H=y[A];H===-1?((R&c)===0||(R&h)!==0)&&(y[A]=Lt(R,o)):H<=o&&(a.expiredLanes|=R),b&=~R}if(o=rt,c=ze,c=Ee(a,a===o?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),h=a.callbackNode,c===0||a===o&&(Xe===2||Xe===9)||a.cancelPendingCommit!==null)return h!==null&&h!==null&&Mn(h),a.callbackNode=null,a.callbackPriority=0;if((c&3)===0||dt(a,c)){if(o=c&-c,o===a.callbackPriority)return o;switch(h!==null&&Mn(h),pr(c)){case 2:case 8:c=Hu;break;case 32:c=Ni;break;case 268435456:c=Wr;break;default:c=Ni}return h=q2.bind(null,a),c=jr(c,h),a.callbackPriority=o,a.callbackNode=c,o}return h!==null&&h!==null&&Mn(h),a.callbackPriority=2,a.callbackNode=null,2}function q2(a,o){if(Pt!==0&&Pt!==5)return a.callbackNode=null,a.callbackPriority=0,null;var c=a.callbackNode;if(zf()&&a.callbackNode!==c)return null;var h=ze;return h=Ee(a,a===rt?h:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),h===0?null:(b2(a,h,o),$2(a,zt()),a.callbackNode!=null&&a.callbackNode===c?q2.bind(null,a):null)}function z2(a,o){if(zf())return null;b2(a,o,!0)}function _8(){I8(function(){(Ke&6)!==0?jr(Mi,O8):I2()})}function Sy(){if(ti===0){var a=es;a===0&&(a=Ro,Ro<<=1,(Ro&261888)===0&&(Ro=256)),ti=a}return ti}function L2(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:Vu(""+a)}function B2(a,o){var c=o.ownerDocument.createElement("input");return c.name=o.name,c.value=o.value,a.id&&c.setAttribute("form",a.id),o.parentNode.insertBefore(c,o),a=new FormData(a),c.parentNode.removeChild(c),a}function T8(a,o,c,h,y){if(o==="submit"&&c&&c.stateNode===y){var b=L2((y[bn]||null).action),A=h.submitter;A&&(o=(o=A[bn]||null)?L2(o.formAction):A.getAttribute("formAction"),o!==null&&(b=o,A=null));var R=new Zu("action","action",null,h,y);a.push({event:R,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(ti!==0){var H=A?B2(y,A):new FormData(y);Bm(c,{pending:!0,data:H,method:y.method,action:b},null,H)}}else typeof b=="function"&&(R.preventDefault(),H=A?B2(y,A):new FormData(y),Bm(c,{pending:!0,data:H,method:y.method,action:b},b,H))},currentTarget:y}]})}}for(var wy=0;wy<am.length;wy++){var Oy=am[wy],A8=Oy.toLowerCase(),E8=Oy[0].toUpperCase()+Oy.slice(1);mr(A8,"on"+E8)}mr(gO,"onAnimationEnd"),mr(bO,"onAnimationIteration"),mr(xO,"onAnimationStart"),mr("dblclick","onDoubleClick"),mr("focusin","onFocus"),mr("focusout","onBlur"),mr(H6,"onTransitionRun"),mr(G6,"onTransitionStart"),mr(F6,"onTransitionCancel"),mr(SO,"onTransitionEnd"),Lo("onMouseEnter",["mouseout","mouseover"]),Lo("onMouseLeave",["mouseout","mouseover"]),Lo("onPointerEnter",["pointerout","pointerover"]),Lo("onPointerLeave",["pointerout","pointerover"]),ki("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ki("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ki("onBeforeInput",["compositionend","keypress","textInput","paste"]),ki("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ki("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ki("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ic="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(" "),j8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ic));function U2(a,o){o=(o&4)!==0;for(var c=0;c<a.length;c++){var h=a[c],y=h.event;h=h.listeners;e:{var b=void 0;if(o)for(var A=h.length-1;0<=A;A--){var R=h[A],H=R.instance,J=R.currentTarget;if(R=R.listener,H!==b&&y.isPropagationStopped())break e;b=R,y.currentTarget=J;try{b(y)}catch(ae){tf(ae)}y.currentTarget=null,b=H}else for(A=0;A<h.length;A++){if(R=h[A],H=R.instance,J=R.currentTarget,R=R.listener,H!==b&&y.isPropagationStopped())break e;b=R,y.currentTarget=J;try{b(y)}catch(ae){tf(ae)}y.currentTarget=null,b=H}}}}function $e(a,o){var c=o[Ip];c===void 0&&(c=o[Ip]=new Set);var h=a+"__bubble";c.has(h)||(H2(o,a,2,!1),c.add(h))}function _y(a,o,c){var h=0;o&&(h|=4),H2(c,a,h,o)}var Uf="_reactListening"+Math.random().toString(36).slice(2);function Ty(a){if(!a[Uf]){a[Uf]=!0,Iw.forEach(function(c){c!=="selectionchange"&&(j8.has(c)||_y(c,!1,a),_y(c,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[Uf]||(o[Uf]=!0,_y("selectionchange",!1,o))}}function H2(a,o,c,h){switch(gT(o)){case 2:var y=nI;break;case 8:y=rI;break;default:y=Ly}c=y.bind(null,o,c,a),y=void 0,!Fp||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(y=!0),h?y!==void 0?a.addEventListener(o,c,{capture:!0,passive:y}):a.addEventListener(o,c,!0):y!==void 0?a.addEventListener(o,c,{passive:y}):a.addEventListener(o,c,!1)}function Ay(a,o,c,h,y){var b=h;if((o&1)===0&&(o&2)===0&&h!==null)e:for(;;){if(h===null)return;var A=h.tag;if(A===3||A===4){var R=h.stateNode.containerInfo;if(R===y)break;if(A===4)for(A=h.return;A!==null;){var H=A.tag;if((H===3||H===4)&&A.stateNode.containerInfo===y)return;A=A.return}for(;R!==null;){if(A=$o(R),A===null)return;if(H=A.tag,H===5||H===6||H===26||H===27){h=b=A;continue e}R=R.parentNode}}h=h.return}Vw(function(){var J=b,ae=Hp(c),le=[];e:{var ne=wO.get(a);if(ne!==void 0){var re=Zu,ve=a;switch(a){case"keypress":if(Xu(c)===0)break e;case"keydown":case"keyup":re=S6;break;case"focusin":ve="focus",re=Qp;break;case"focusout":ve="blur",re=Qp;break;case"beforeblur":case"afterblur":re=Qp;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":re=Ww;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":re=c6;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":re=_6;break;case gO:case bO:case xO:re=d6;break;case SO:re=A6;break;case"scroll":case"scrollend":re=s6;break;case"wheel":re=j6;break;case"copy":case"cut":case"paste":re=p6;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":re=Jw;break;case"toggle":case"beforetoggle":re=M6}var Te=(o&4)!==0,et=!Te&&(a==="scroll"||a==="scrollend"),W=Te?ne!==null?ne+"Capture":null:ne;Te=[];for(var K=J,Z;K!==null;){var oe=K;if(Z=oe.stateNode,oe=oe.tag,oe!==5&&oe!==26&&oe!==27||Z===null||W===null||(oe=El(K,W),oe!=null&&Te.push(oc(K,oe,Z))),et)break;K=K.return}0<Te.length&&(ne=new re(ne,ve,null,c,ae),le.push({event:ne,listeners:Te}))}}if((o&7)===0){e:{if(ne=a==="mouseover"||a==="pointerover",re=a==="mouseout"||a==="pointerout",ne&&c!==Up&&(ve=c.relatedTarget||c.fromElement)&&($o(ve)||ve[Io]))break e;if((re||ne)&&(ne=ae.window===ae?ae:(ne=ae.ownerDocument)?ne.defaultView||ne.parentWindow:window,re?(ve=c.relatedTarget||c.toElement,re=J,ve=ve?$o(ve):null,ve!==null&&(et=s(ve),Te=ve.tag,ve!==et||Te!==5&&Te!==27&&Te!==6)&&(ve=null)):(re=null,ve=J),re!==ve)){if(Te=Ww,oe="onMouseLeave",W="onMouseEnter",K="mouse",(a==="pointerout"||a==="pointerover")&&(Te=Jw,oe="onPointerLeave",W="onPointerEnter",K="pointer"),et=re==null?ne:Al(re),Z=ve==null?ne:Al(ve),ne=new Te(oe,K+"leave",re,c,ae),ne.target=et,ne.relatedTarget=Z,oe=null,$o(ae)===J&&(Te=new Te(W,K+"enter",ve,c,ae),Te.target=Z,Te.relatedTarget=et,oe=Te),et=oe,re&&ve)t:{for(Te=C8,W=re,K=ve,Z=0,oe=W;oe;oe=Te(oe))Z++;oe=0;for(var _e=K;_e;_e=Te(_e))oe++;for(;0<Z-oe;)W=Te(W),Z--;for(;0<oe-Z;)K=Te(K),oe--;for(;Z--;){if(W===K||K!==null&&W===K.alternate){Te=W;break t}W=Te(W),K=Te(K)}Te=null}else Te=null;re!==null&&G2(le,ne,re,Te,!1),ve!==null&&et!==null&&G2(le,et,ve,Te,!0)}}e:{if(ne=J?Al(J):window,re=ne.nodeName&&ne.nodeName.toLowerCase(),re==="select"||re==="input"&&ne.type==="file")var He=sO;else if(iO(ne))if(lO)He=L6;else{He=q6;var Se=$6}else re=ne.nodeName,!re||re.toLowerCase()!=="input"||ne.type!=="checkbox"&&ne.type!=="radio"?J&&Bp(J.elementType)&&(He=sO):He=z6;if(He&&(He=He(a,J))){oO(le,He,c,ae);break e}Se&&Se(a,ne,J),a==="focusout"&&J&&ne.type==="number"&&J.memoizedProps.value!=null&&Lp(ne,"number",ne.value)}switch(Se=J?Al(J):window,a){case"focusin":(iO(Se)||Se.contentEditable==="true")&&(Yo=Se,tm=J,kl=null);break;case"focusout":kl=tm=Yo=null;break;case"mousedown":nm=!0;break;case"contextmenu":case"mouseup":case"dragend":nm=!1,yO(le,c,ae);break;case"selectionchange":if(U6)break;case"keydown":case"keyup":yO(le,c,ae)}var Pe;if(Wp)e:{switch(a){case"compositionstart":var Le="onCompositionStart";break e;case"compositionend":Le="onCompositionEnd";break e;case"compositionupdate":Le="onCompositionUpdate";break e}Le=void 0}else Fo?rO(a,c)&&(Le="onCompositionEnd"):a==="keydown"&&c.keyCode===229&&(Le="onCompositionStart");Le&&(eO&&c.locale!=="ko"&&(Fo||Le!=="onCompositionStart"?Le==="onCompositionEnd"&&Fo&&(Pe=Qw()):(za=ae,Yp="value"in za?za.value:za.textContent,Fo=!0)),Se=Hf(J,Le),0<Se.length&&(Le=new Zw(Le,a,null,c,ae),le.push({event:Le,listeners:Se}),Pe?Le.data=Pe:(Pe=aO(c),Pe!==null&&(Le.data=Pe)))),(Pe=P6?R6(a,c):D6(a,c))&&(Le=Hf(J,"onBeforeInput"),0<Le.length&&(Se=new Zw("onBeforeInput","beforeinput",null,c,ae),le.push({event:Se,listeners:Le}),Se.data=Pe)),T8(le,a,J,c,ae)}U2(le,o)})}function oc(a,o,c){return{instance:a,listener:o,currentTarget:c}}function Hf(a,o){for(var c=o+"Capture",h=[];a!==null;){var y=a,b=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||b===null||(y=El(a,c),y!=null&&h.unshift(oc(a,y,b)),y=El(a,o),y!=null&&h.push(oc(a,y,b))),a.tag===3)return h;a=a.return}return[]}function C8(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}
vendor: 4,750 bytes, lines 48-49
48function G2(a,o,c,h,y){for(var b=o._reactName,A=[];c!==null&&c!==h;){var R=c,H=R.alternate,J=R.stateNode;if(R=R.tag,H!==null&&H===h)break;R!==5&&R!==26&&R!==27||J===null||(H=J,y?(J=El(c,b),J!=null&&A.unshift(oc(c,J,H))):y||(J=El(c,b),J!=null&&A.push(oc(c,J,H)))),c=c.return}A.length!==0&&a.push({event:o,listeners:A})}var M8=/\r\n?/g,N8=/\u0000|\uFFFD/g;function F2(a){return(typeof a=="string"?a:""+a).replace(M8,`
49`).replace(N8,"")}function Y2(a,o){return o=F2(o),F2(a)===o}function Je(a,o,c,h,y,b){switch(c){case"children":typeof h=="string"?o==="body"||o==="textarea"&&h===""||Uo(a,h):(typeof h=="number"||typeof h=="bigint")&&o!=="body"&&Uo(a,""+h);break;case"className":Yu(a,"class",h);break;case"tabIndex":Yu(a,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":Yu(a,c,h);break;case"style":Yw(a,h,b);break;case"data":if(o!=="object"){Yu(a,"data",h);break}case"src":case"href":if(h===""&&(o!=="a"||c!=="href")){a.removeAttribute(c);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){a.removeAttribute(c);break}h=Vu(""+h),a.setAttribute(c,h);break;case"action":case"formAction":if(typeof h=="function"){a.setAttribute(c,"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 b=="function"&&(c==="formAction"?(o!=="input"&&Je(a,o,"name",y.name,y,null),Je(a,o,"formEncType",y.formEncType,y,null),Je(a,o,"formMethod",y.formMethod,y,null),Je(a,o,"formTarget",y.formTarget,y,null)):(Je(a,o,"encType",y.encType,y,null),Je(a,o,"method",y.method,y,null),Je(a,o,"target",y.target,y,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){a.removeAttribute(c);break}h=Vu(""+h),a.setAttribute(c,h);break;case"onClick":h!=null&&(a.onclick=Jr);break;case"onScroll":h!=null&&$e("scroll",a);break;case"onScrollEnd":h!=null&&$e("scrollend",a);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(c=h.__html,c!=null){if(y.children!=null)throw Error(r(60));a.innerHTML=c}}break;case"multiple":a.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":a.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){a.removeAttribute("xlink:href");break}c=Vu(""+h),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?a.setAttribute(c,""+h):a.removeAttribute(c);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":h&&typeof h!="function"&&typeof h!="symbol"?a.setAttribute(c,""):a.removeAttribute(c);break;case"capture":case"download":h===!0?a.setAttribute(c,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?a.setAttribute(c,h):a.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?a.setAttribute(c,h):a.removeAttribute(c);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?a.removeAttribute(c):a.setAttribute(c,h);break;case"popover":$e("beforetoggle",a),$e("toggle",a),Fu(a,"popover",h);break;case"xlinkActuate":Zr(a,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":Zr(a,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":Zr(a,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":Zr(a,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":Zr(a,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":Zr(a,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":Zr(a,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":Zr(a,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":Zr(a,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":Fu(a,"is",h);break;case"innerText":case"textContent":break;
vendor: 10,602 bytes, line 49
49default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=i6.get(c)||c,Fu(a,c,h))}}function Ey(a,o,c,h,y,b){switch(c){case"style":Yw(a,h,b);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(c=h.__html,c!=null){if(y.children!=null)throw Error(r(60));a.innerHTML=c}}break;case"children":typeof h=="string"?Uo(a,h):(typeof h=="number"||typeof h=="bigint")&&Uo(a,""+h);break;case"onScroll":h!=null&&$e("scroll",a);break;case"onScrollEnd":h!=null&&$e("scrollend",a);break;case"onClick":h!=null&&(a.onclick=Jr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!$w.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(y=c.endsWith("Capture"),o=c.slice(2,y?c.length-7:void 0),b=a[bn]||null,b=b!=null?b[c]:null,typeof b=="function"&&a.removeEventListener(o,b,y),typeof h=="function")){typeof b!="function"&&b!==null&&(c in a?a[c]=null:a.hasAttribute(c)&&a.removeAttribute(c)),a.addEventListener(o,h,y);break e}c in a?a[c]=h:h===!0?a.setAttribute(c,""):Fu(a,c,h)}}}function Qt(a,o,c){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$e("error",a),$e("load",a);var h=!1,y=!1,b;for(b in c)if(c.hasOwnProperty(b)){var A=c[b];if(A!=null)switch(b){case"src":h=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,o));default:Je(a,o,b,A,c,null)}}y&&Je(a,o,"srcSet",c.srcSet,c,null),h&&Je(a,o,"src",c.src,c,null);return;case"input":$e("invalid",a);var R=b=A=y=null,H=null,J=null;for(h in c)if(c.hasOwnProperty(h)){var ae=c[h];if(ae!=null)switch(h){case"name":y=ae;break;case"type":A=ae;break;case"checked":H=ae;break;case"defaultChecked":J=ae;break;case"value":b=ae;break;case"defaultValue":R=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(r(137,o));break;default:Je(a,o,h,ae,c,null)}}Uw(a,b,R,H,J,A,y,!1);return;case"select":$e("invalid",a),h=A=b=null;for(y in c)if(c.hasOwnProperty(y)&&(R=c[y],R!=null))switch(y){case"value":b=R;break;case"defaultValue":A=R;break;case"multiple":h=R;default:Je(a,o,y,R,c,null)}o=b,c=A,a.multiple=!!h,o!=null?Bo(a,!!h,o,!1):c!=null&&Bo(a,!!h,c,!0);return;case"textarea":$e("invalid",a),b=y=h=null;for(A in c)if(c.hasOwnProperty(A)&&(R=c[A],R!=null))switch(A){case"value":h=R;break;case"defaultValue":y=R;break;case"children":b=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(91));break;default:Je(a,o,A,R,c,null)}Gw(a,h,y,b);return;case"option":for(H in c)if(c.hasOwnProperty(H)&&(h=c[H],h!=null))switch(H){case"selected":a.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:Je(a,o,H,h,c,null)}return;case"dialog":$e("beforetoggle",a),$e("toggle",a),$e("cancel",a),$e("close",a);break;case"iframe":case"object":$e("load",a);break;case"video":case"audio":for(h=0;h<ic.length;h++)$e(ic[h],a);break;case"image":$e("error",a),$e("load",a);break;case"details":$e("toggle",a);break;case"embed":case"source":case"link":$e("error",a),$e("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(J in c)if(c.hasOwnProperty(J)&&(h=c[J],h!=null))switch(J){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,o));default:Je(a,o,J,h,c,null)}return;default:if(Bp(o)){for(ae in c)c.hasOwnProperty(ae)&&(h=c[ae],h!==void 0&&Ey(a,o,ae,h,c,void 0));return}}for(R in c)c.hasOwnProperty(R)&&(h=c[R],h!=null&&Je(a,o,R,h,c,null))}function P8(a,o,c,h){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,b=null,A=null,R=null,H=null,J=null,ae=null;for(re in c){var le=c[re];if(c.hasOwnProperty(re)&&le!=null)switch(re){case"checked":break;case"value":break;case"defaultValue":H=le;default:h.hasOwnProperty(re)||Je(a,o,re,null,h,le)}}for(var ne in h){var re=h[ne];if(le=c[ne],h.hasOwnProperty(ne)&&(re!=null||le!=null))switch(ne){case"type":b=re;break;case"name":y=re;break;case"checked":J=re;break;case"defaultChecked":ae=re;break;case"value":A=re;break;case"defaultValue":R=re;break;case"children":case"dangerouslySetInnerHTML":if(re!=null)throw Error(r(137,o));break;default:re!==le&&Je(a,o,ne,re,h,le)}}zp(a,A,R,H,J,ae,b,y);return;case"select":re=A=R=ne=null;for(b in c)if(H=c[b],c.hasOwnProperty(b)&&H!=null)switch(b){case"value":break;case"multiple":re=H;default:h.hasOwnProperty(b)||Je(a,o,b,null,h,H)}for(y in h)if(b=h[y],H=c[y],h.hasOwnProperty(y)&&(b!=null||H!=null))switch(y){case"value":ne=b;break;case"defaultValue":R=b;break;case"multiple":A=b;default:b!==H&&Je(a,o,y,b,h,H)}o=R,c=A,h=re,ne!=null?Bo(a,!!c,ne,!1):!!h!=!!c&&(o!=null?Bo(a,!!c,o,!0):Bo(a,!!c,c?[]:"",!1));return;case"textarea":re=ne=null;for(R in c)if(y=c[R],c.hasOwnProperty(R)&&y!=null&&!h.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:Je(a,o,R,null,h,y)}for(A in h)if(y=h[A],b=c[A],h.hasOwnProperty(A)&&(y!=null||b!=null))switch(A){case"value":ne=y;break;case"defaultValue":re=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(r(91));break;default:y!==b&&Je(a,o,A,y,h,b)}Hw(a,ne,re);return;case"option":for(var ve in c)if(ne=c[ve],c.hasOwnProperty(ve)&&ne!=null&&!h.hasOwnProperty(ve))switch(ve){case"selected":a.selected=!1;break;default:Je(a,o,ve,null,h,ne)}for(H in h)if(ne=h[H],re=c[H],h.hasOwnProperty(H)&&ne!==re&&(ne!=null||re!=null))switch(H){case"selected":a.selected=ne&&typeof ne!="function"&&typeof ne!="symbol";break;default:Je(a,o,H,ne,h,re)}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 Te in c)ne=c[Te],c.hasOwnProperty(Te)&&ne!=null&&!h.hasOwnProperty(Te)&&Je(a,o,Te,null,h,ne);for(J in h)if(ne=h[J],re=c[J],h.hasOwnProperty(J)&&ne!==re&&(ne!=null||re!=null))switch(J){case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(r(137,o));break;default:Je(a,o,J,ne,h,re)}return;default:if(Bp(o)){for(var et in c)ne=c[et],c.hasOwnProperty(et)&&ne!==void 0&&!h.hasOwnProperty(et)&&Ey(a,o,et,void 0,h,ne);for(ae in h)ne=h[ae],re=c[ae],!h.hasOwnProperty(ae)||ne===re||ne===void 0&&re===void 0||Ey(a,o,ae,ne,h,re);return}}for(var W in c)ne=c[W],c.hasOwnProperty(W)&&ne!=null&&!h.hasOwnProperty(W)&&Je(a,o,W,null,h,ne);for(le in h)ne=h[le],re=c[le],!h.hasOwnProperty(le)||ne===re||ne==null&&re==null||Je(a,o,le,ne,h,re)}function K2(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function R8(){if(typeof performance.getEntriesByType=="function"){for(var a=0,o=0,c=performance.getEntriesByType("resource"),h=0;h<c.length;h++){var y=c[h],b=y.transferSize,A=y.initiatorType,R=y.duration;if(b&&R&&K2(A)){for(A=0,R=y.responseEnd,h+=1;h<c.length;h++){var H=c[h],J=H.startTime;if(J>R)break;var ae=H.transferSize,le=H.initiatorType;ae&&K2(le)&&(H=H.responseEnd,A+=ae*(H<R?1:(R-J)/(H-J)))}if(--h,o+=8*(b+A)/(y.duration/1e3),a++,10<a)break}}if(0<a)return o/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}var jy=null,Cy=null;function Gf(a){return a.nodeType===9?a:a.ownerDocument}function V2(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Q2(a,o){if(a===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&o==="foreignObject"?0:a}function My(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Ny=null;function D8(){var a=window.event;return a&&a.type==="popstate"?a===Ny?!1:(Ny=a,!0):(Ny=null,!1)}var X2=typeof setTimeout=="function"?setTimeout:void 0,k8=typeof clearTimeout=="function"?clearTimeout:void 0,W2=typeof Promise=="function"?Promise:void 0,I8=typeof queueMicrotask=="function"?queueMicrotask:typeof W2<"u"?function(a){return W2.resolve(null).then(a).catch($8)}:X2;function $8(a){setTimeout(function(){throw a})}function ni(a){return a==="head"}function Z2(a,o){var c=o,h=0;do{var y=c.nextSibling;if(a.removeChild(c),y&&y.nodeType===8)if(c=y.data,c==="/$"||c==="/&"){if(h===0){a.removeChild(y),bs(o);return}h--}else if(c==="$"||c==="$?"||c==="$~"||c==="$!"||c==="&")h++;else if(c==="html")sc(a.ownerDocument.documentElement);else if(c==="head"){c=a.ownerDocument.head,sc(c);for(var b=c.firstChild;b;){var A=b.nextSibling,R=b.nodeName;b[Tl]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&b.rel.toLowerCase()==="stylesheet"||c.removeChild(b),b=A}}else c==="body"&&sc(a.ownerDocument.body);c=y}while(c);bs(o)}function J2(a,o){var c=a;a=0;do{var h=c.nextSibling;if(c.nodeType===1?o?(c._stashedDisplay=c.style.display,c.style.display="none"):(c.style.display=c._stashedDisplay||"",c.getAttribute("style")===""&&c.removeAttribute("style")):c.nodeType===3&&(o?(c._stashedText=c.nodeValue,c.nodeValue=""):c.nodeValue=c._stashedText||""),h&&h.nodeType===8)if(c=h.data,c==="/$"){if(a===0)break;a--}else c!=="$"&&c!=="$?"&&c!=="$~"&&c!=="$!"||a++;c=h}while(c)}function Py(a){var o=a.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var c=o;switch(o=o.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":Py(c),$p(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}a.removeChild(c)}}function q8(a,o,c,h){for(;a.nodeType===1;){var y=c;if(a.nodeName.toLowerCase()!==o.toLowerCase()){if(!h&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(h){if(!a[Tl])switch(o){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(b=a.getAttribute("rel"),b==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(b!==y.rel||a.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||a.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||a.getAttribute("title")!==(y.title==null?null:y.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(b=a.getAttribute("src"),(b!==(y.src==null?null:y.src)||a.getAttribute("type")!==(y.type==null?null:y.type)||a.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&b&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(o==="input"&&a.type==="hidden"){var b=y.name==null?null:""+y.name;if(y.type==="hidden"&&a.getAttribute("name")===b)return a}else return a;
vendor: 9,779 bytes, line 49
49if(a=rr(a.nextSibling),a===null)break}return null}function z8(a,o,c){if(o==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!c||(a=rr(a.nextSibling),a===null))return null;return a}function eT(a,o){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!o||(a=rr(a.nextSibling),a===null))return null;return a}function Ry(a){return a.data==="$?"||a.data==="$~"}function Dy(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState!=="loading"}function L8(a,o){var c=a.ownerDocument;if(a.data==="$~")a._reactRetry=o;else if(a.data!=="$?"||c.readyState!=="loading")o();else{var h=function(){o(),c.removeEventListener("DOMContentLoaded",h)};c.addEventListener("DOMContentLoaded",h),a._reactRetry=h}}function rr(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return a}var ky=null;function tT(a){a=a.nextSibling;for(var o=0;a;){if(a.nodeType===8){var c=a.data;if(c==="/$"||c==="/&"){if(o===0)return rr(a.nextSibling);o--}else c!=="$"&&c!=="$!"&&c!=="$?"&&c!=="$~"&&c!=="&"||o++}a=a.nextSibling}return null}function nT(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var c=a.data;if(c==="$"||c==="$!"||c==="$?"||c==="$~"||c==="&"){if(o===0)return a;o--}else c!=="/$"&&c!=="/&"||o++}a=a.previousSibling}return null}function rT(a,o,c){switch(o=Gf(c),a){case"html":if(a=o.documentElement,!a)throw Error(r(452));return a;case"head":if(a=o.head,!a)throw Error(r(453));return a;case"body":if(a=o.body,!a)throw Error(r(454));return a;default:throw Error(r(451))}}function sc(a){for(var o=a.attributes;o.length;)a.removeAttributeNode(o[0]);$p(a)}var ar=new Map,aT=new Set;function Ff(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var ma=U.d;U.d={f:B8,r:U8,D:H8,C:G8,L:F8,m:Y8,X:V8,S:K8,M:Q8};function B8(){var a=ma.f(),o=If();return a||o}function U8(a){var o=qo(a);o!==null&&o.tag===5&&o.type==="form"?S_(o):ma.r(a)}var ys=typeof document>"u"?null:document;function iT(a,o,c){var h=ys;if(h&&typeof o=="string"&&o){var y=Xn(o);y='link[rel="'+a+'"][href="'+y+'"]',typeof c=="string"&&(y+='[crossorigin="'+c+'"]'),aT.has(y)||(aT.add(y),a={rel:a,crossOrigin:c,href:o},h.querySelector(y)===null&&(o=h.createElement("link"),Qt(o,"link",a),Bt(o),h.head.appendChild(o)))}}function H8(a){ma.D(a),iT("dns-prefetch",a,null)}function G8(a,o){ma.C(a,o),iT("preconnect",a,o)}function F8(a,o,c){ma.L(a,o,c);var h=ys;if(h&&a&&o){var y='link[rel="preload"][as="'+Xn(o)+'"]';o==="image"&&c&&c.imageSrcSet?(y+='[imagesrcset="'+Xn(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(y+='[imagesizes="'+Xn(c.imageSizes)+'"]')):y+='[href="'+Xn(a)+'"]';var b=y;switch(o){case"style":b=vs(a);break;case"script":b=gs(a)}ar.has(b)||(a=p({rel:"preload",href:o==="image"&&c&&c.imageSrcSet?void 0:a,as:o},c),ar.set(b,a),h.querySelector(y)!==null||o==="style"&&h.querySelector(lc(b))||o==="script"&&h.querySelector(cc(b))||(o=h.createElement("link"),Qt(o,"link",a),Bt(o),h.head.appendChild(o)))}}function Y8(a,o){ma.m(a,o);var c=ys;if(c&&a){var h=o&&typeof o.as=="string"?o.as:"script",y='link[rel="modulepreload"][as="'+Xn(h)+'"][href="'+Xn(a)+'"]',b=y;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=gs(a)}if(!ar.has(b)&&(a=p({rel:"modulepreload",href:a},o),ar.set(b,a),c.querySelector(y)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(cc(b)))return}h=c.createElement("link"),Qt(h,"link",a),Bt(h),c.head.appendChild(h)}}}function K8(a,o,c){ma.S(a,o,c);var h=ys;if(h&&a){var y=zo(h).hoistableStyles,b=vs(a);o=o||"default";var A=y.get(b);if(!A){var R={loading:0,preload:null};if(A=h.querySelector(lc(b)))R.loading=5;else{a=p({rel:"stylesheet",href:a,"data-precedence":o},c),(c=ar.get(b))&&Iy(a,c);var H=A=h.createElement("link");Bt(H),Qt(H,"link",a),H._p=new Promise(function(J,ae){H.onload=J,H.onerror=ae}),H.addEventListener("load",function(){R.loading|=1}),H.addEventListener("error",function(){R.loading|=2}),R.loading|=4,Yf(A,o,h)}A={type:"stylesheet",instance:A,count:1,state:R},y.set(b,A)}}}function V8(a,o){ma.X(a,o);var c=ys;if(c&&a){var h=zo(c).hoistableScripts,y=gs(a),b=h.get(y);b||(b=c.querySelector(cc(y)),b||(a=p({src:a,async:!0},o),(o=ar.get(y))&&$y(a,o),b=c.createElement("script"),Bt(b),Qt(b,"link",a),c.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},h.set(y,b))}}function Q8(a,o){ma.M(a,o);var c=ys;if(c&&a){var h=zo(c).hoistableScripts,y=gs(a),b=h.get(y);b||(b=c.querySelector(cc(y)),b||(a=p({src:a,async:!0,type:"module"},o),(o=ar.get(y))&&$y(a,o),b=c.createElement("script"),Bt(b),Qt(b,"link",a),c.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},h.set(y,b))}}function oT(a,o,c,h){var y=(y=he.current)?Ff(y):null;if(!y)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(o=vs(c.href),c=zo(y).hoistableStyles,h=c.get(o),h||(h={type:"style",instance:null,count:0,state:null},c.set(o,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){a=vs(c.href);var b=zo(y).hoistableStyles,A=b.get(a);if(A||(y=y.ownerDocument||y,A={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(a,A),(b=y.querySelector(lc(a)))&&!b._p&&(A.instance=b,A.state.loading=5),ar.has(a)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},ar.set(a,c),b||X8(y,a,c,A.state))),o&&h===null)throw Error(r(528,""));return A}if(o&&h!==null)throw Error(r(529,""));return null;case"script":return o=c.async,c=c.src,typeof c=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=gs(c),c=zo(y).hoistableScripts,h=c.get(o),h||(h={type:"script",instance:null,count:0,state:null},c.set(o,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function vs(a){return'href="'+Xn(a)+'"'}function lc(a){return'link[rel="stylesheet"]['+a+"]"}function sT(a){return p({},a,{"data-precedence":a.precedence,precedence:null})}function X8(a,o,c,h){a.querySelector('link[rel="preload"][as="style"]['+o+"]")?h.loading=1:(o=a.createElement("link"),h.preload=o,o.addEventListener("load",function(){return h.loading|=1}),o.addEventListener("error",function(){return h.loading|=2}),Qt(o,"link",c),Bt(o),a.head.appendChild(o))}function gs(a){return'[src="'+Xn(a)+'"]'}function cc(a){return"script[async]"+a}function lT(a,o,c){if(o.count++,o.instance===null)switch(o.type){case"style":var h=a.querySelector('style[data-href~="'+Xn(c.href)+'"]');if(h)return o.instance=h,Bt(h),h;var y=p({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return h=(a.ownerDocument||a).createElement("style"),Bt(h),Qt(h,"style",y),Yf(h,c.precedence,a),o.instance=h;case"stylesheet":y=vs(c.href);var b=a.querySelector(lc(y));if(b)return o.state.loading|=4,o.instance=b,Bt(b),b;h=sT(c),(y=ar.get(y))&&Iy(h,y),b=(a.ownerDocument||a).createElement("link"),Bt(b);var A=b;return A._p=new Promise(function(R,H){A.onload=R,A.onerror=H}),Qt(b,"link",h),o.state.loading|=4,Yf(b,c.precedence,a),o.instance=b;case"script":return b=gs(c.src),(y=a.querySelector(cc(b)))?(o.instance=y,Bt(y),y):(h=c,(y=ar.get(b))&&(h=p({},c),$y(h,y)),a=a.ownerDocument||a,y=a.createElement("script"),Bt(y),Qt(y,"link",h),a.head.appendChild(y),o.instance=y);case"void":return null;default:throw Error(r(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(h=o.instance,o.state.loading|=4,Yf(h,c.precedence,a));return o.instance}function Yf(a,o,c){for(var h=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=h.length?h[h.length-1]:null,b=y,A=0;A<h.length;A++){var R=h[A];if(R.dataset.precedence===o)b=R;else if(b!==y)break}b?b.parentNode.insertBefore(a,b.nextSibling):(o=c.nodeType===9?c.head:c,o.insertBefore(a,o.firstChild))}function Iy(a,o){a.crossOrigin==null&&(a.crossOrigin=o.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=o.referrerPolicy),a.title==null&&(a.title=o.title)}function $y(a,o){a.crossOrigin==null&&(a.crossOrigin=o.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=o.referrerPolicy),a.integrity==null&&(a.integrity=o.integrity)}var Kf=null;function cT(a,o,c){if(Kf===null){var h=new Map,y=Kf=new Map;y.set(c,h)}else y=Kf,h=y.get(c),h||(h=new Map,y.set(c,h));if(h.has(a))return h;for(h.set(a,null),c=c.getElementsByTagName(a),y=0;y<c.length;y++){var b=c[y];if(!(b[Tl]||b[Ft]||a==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var A=b.getAttribute(o)||"";A=a+A;var R=h.get(A);R?R.push(b):h.set(A,[b])}}return h}function uT(a,o,c){a=a.ownerDocument||a,a.head.insertBefore(c,o==="title"?a.querySelector("head > title"):null)}function W8(a,o,c){if(c===1||o.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return a=o.disabled,typeof o.precedence=="string"&&a==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function fT(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function Z8(a,o,c,h){if(c.type==="stylesheet"&&(typeof h.media!="str
49ing"||matchMedia(h.media).matches!==!1)&&(c.state.loading&4)===0){if(c.instance===null){var y=vs(h.href),b=o.querySelector(lc(y));if(b){o=b._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(a.count++,a=Vf.bind(a),o.then(a,a)),c.state.loading|=4,c.instance=b,Bt(b);return}b=o.ownerDocument||o,h=sT(h),(y=ar.get(y))&&Iy(h,y),b=b.createElement("link"),Bt(b);var A=b;A._p=new Promise(function(R,H){A.onload=R,A.onerror=H}),Qt(b,"link",h),c.instance=b}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(c,o),(o=c.state.preload)&&(c.state.loading&3)===0&&(a.count++,c=Vf.bind(a),o.addEventListener("load",c),o.addEventListener("error",c))}}var qy=0;function J8(a,o){return a.stylesheets&&a.count===0&&Xf(a,a.stylesheets),0<a.count||0<a.imgCount?function(c){var h=setTimeout(function(){if(a.stylesheets&&Xf(a,a.stylesheets),a.unsuspend){var b=a.unsuspend;a.unsuspend=null,b()}},6e4+o);0<a.imgBytes&&qy===0&&(qy=62500*R8());var y=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&Xf(a,a.stylesheets),a.unsuspend)){var b=a.unsuspend;a.unsuspend=null,b()}},(a.imgBytes>qy?50:800)+o);return a.unsuspend=c,function(){a.unsuspend=null,clearTimeout(h),clearTimeout(y)}}:null}function Vf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var Qf=null;function Xf(a,o){a.stylesheets=null,a.unsuspend!==null&&(a.count++,Qf=new Map,o.forEach(eI,a),Qf=null,Vf.call(a))}function eI(a,o){if(!(o.state.loading&4)){var c=Qf.get(a);if(c)var h=c.get(null);else{c=new Map,Qf.set(a,c);for(var y=a.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<y.length;b++){var A=y[b];(A.nodeName==="LINK"||A.getAttribute("media")!=="not all")&&(c.set(A.dataset.precedence,A),h=A)}h&&c.set(null,h)}y=o.instance,A=y.getAttribute("data-precedence"),b=c.get(A)||h,b===h&&c.set(null,y),c.set(A,y),this.count++,h=Vf.bind(this),y.addEventListener("load",h),y.addEventListener("error",h),b?b.parentNode.insertBefore(y,b.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(y,a.firstChild)),o.state.loading|=4}}var uc={$$typeof:M,Provider:null,Consumer:null,_currentValue:B,_currentValue2:B,_threadCount:0};function tI(a,o,c,h,y,b,A,R,H){this.tag=1,this.containerInfo=a,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=$a(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$a(0),this.hiddenUpdates=$a(null),this.identifierPrefix=h,this.onUncaughtError=y,this.onCaughtError=b,this.onRecoverableError=A,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,this.incompleteTransitions=new Map}function dT(a,o,c,h,y,b,A,R,H,J,ae,le){return a=new tI(a,o,c,A,H,J,ae,le,R),o=1,b===!0&&(o|=24),b=Pn(3,null,null,o),a.current=b,b.stateNode=a,o=vm(),o.refCount++,a.pooledCache=o,o.refCount++,b.memoizedState={element:h,isDehydrated:c,cache:o},Sm(b),a}function hT(a){return a?(a=Qo,a):Qo}function pT(a,o,c,h,y,b){y=hT(y),h.context===null?h.context=y:h.pendingContext=y,h=Fa(o),h.payload={element:c},b=b===void 0?null:b,b!==null&&(h.callback=b),c=Ya(a,h,o),c!==null&&(Tn(c,a,o),Ul(c,a,o))}function mT(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var c=a.retryLane;a.retryLane=c!==0&&c<o?c:o}}function zy(a,o){mT(a,o),(a=a.alternate)&&mT(a,o)}function yT(a){if(a.tag===13||a.tag===31){var o=zi(a,67108864);o!==null&&Tn(o,a,67108864),zy(a,67108864)}}function vT(a){if(a.tag===13||a.tag===31){var o=$n();o=ko(o);var c=zi(a,o);c!==null&&Tn(c,a,o),zy(a,o)}}var Wf=!0;function nI(a,o,c,h){var y=D.T;D.T=null;var b=U.p;try{U.p=2,Ly(a,o,c,h)}finally{U.p=b,D.T=y}}function rI(a,o,c,h){var y=D.T;D.T=null;var b=U.p;try{U.p=8,Ly(a,o,c,h)}finally{U.p=b,D.T=y}}function Ly(a,o,c,h){if(Wf){var y=By(h);if(y===null)Ay(a,o,h,Zf,c),bT(a,h);else if(iI(y,a,o,c,h))h.stopPropagation();else if(bT(a,h),o&4&&-1<aI.indexOf(a)){for(;y!==null;){var b=qo(y);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var A=Mr(b.pendingLanes);if(A!==0){var R=b;
vendor: 9,657 bytes, line 49
49for(R.pendingLanes|=2,R.entangledLanes|=2;A;){var H=1<<31-en(A);R.entanglements[1]|=H,A&=~H}Dr(b),(Ke&6)===0&&(Df=zt()+500,ac(0))}}break;case 31:case 13:R=zi(b,2),R!==null&&Tn(R,b,2),If(),zy(b,2)}if(b=By(h),b===null&&Ay(a,o,h,Zf,c),b===y)break;y=b}y!==null&&h.stopPropagation()}else Ay(a,o,h,null,c)}}function By(a){return a=Hp(a),Uy(a)}var Zf=null;function Uy(a){if(Zf=null,a=$o(a),a!==null){var o=s(a);if(o===null)a=null;else{var c=o.tag;if(c===13){if(a=l(o),a!==null)return a;a=null}else if(c===31){if(a=u(o),a!==null)return a;a=null}else if(c===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null)}}return Zf=a,null}function gT(a){switch(a){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(Po()){case Mi:return 2;case Hu:return 8;case Ni:case Ol:return 32;case Wr:return 268435456;default:return 32}default:return 32}}var Hy=!1,ri=null,ai=null,ii=null,fc=new Map,dc=new Map,oi=[],aI="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 bT(a,o){switch(a){case"focusin":case"focusout":ri=null;break;case"dragenter":case"dragleave":ai=null;break;case"mouseover":case"mouseout":ii=null;break;case"pointerover":case"pointerout":fc.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":dc.delete(o.pointerId)}}function hc(a,o,c,h,y,b){return a===null||a.nativeEvent!==b?(a={blockedOn:o,domEventName:c,eventSystemFlags:h,nativeEvent:b,targetContainers:[y]},o!==null&&(o=qo(o),o!==null&&yT(o)),a):(a.eventSystemFlags|=h,o=a.targetContainers,y!==null&&o.indexOf(y)===-1&&o.push(y),a)}function iI(a,o,c,h,y){switch(o){case"focusin":return ri=hc(ri,a,o,c,h,y),!0;case"dragenter":return ai=hc(ai,a,o,c,h,y),!0;case"mouseover":return ii=hc(ii,a,o,c,h,y),!0;case"pointerover":var b=y.pointerId;return fc.set(b,hc(fc.get(b)||null,a,o,c,h,y)),!0;case"gotpointercapture":return b=y.pointerId,dc.set(b,hc(dc.get(b)||null,a,o,c,h,y)),!0}return!1}function xT(a){var o=$o(a.target);if(o!==null){var c=s(o);if(c!==null){if(o=c.tag,o===13){if(o=l(c),o!==null){a.blockedOn=o,Dw(a.priority,function(){vT(c)});return}}else if(o===31){if(o=u(c),o!==null){a.blockedOn=o,Dw(a.priority,function(){vT(c)});return}}else if(o===3&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Jf(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var c=By(a.nativeEvent);if(c===null){c=a.nativeEvent;var h=new c.constructor(c.type,c);Up=h,c.target.dispatchEvent(h),Up=null}else return o=qo(c),o!==null&&yT(o),a.blockedOn=c,!1;o.shift()}return!0}function ST(a,o,c){Jf(a)&&c.delete(o)}function oI(){Hy=!1,ri!==null&&Jf(ri)&&(ri=null),ai!==null&&Jf(ai)&&(ai=null),ii!==null&&Jf(ii)&&(ii=null),fc.forEach(ST),dc.forEach(ST)}function ed(a,o){a.blockedOn===o&&(a.blockedOn=null,Hy||(Hy=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,oI)))}var td=null;function wT(a){td!==a&&(td=a,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){td===a&&(td=null);for(var o=0;o<a.length;o+=3){var c=a[o],h=a[o+1],y=a[o+2];if(typeof h!="function"){if(Uy(h||c)===null)continue;break}var b=qo(c);b!==null&&(a.splice(o,3),o-=3,Bm(b,{pending:!0,data:y,method:c.method,action:h},h,y))}}))}function bs(a){function o(H){return ed(H,a)}ri!==null&&ed(ri,a),ai!==null&&ed(ai,a),ii!==null&&ed(ii,a),fc.forEach(o),dc.forEach(o);for(var c=0;c<oi.length;c++){var h=oi[c];h.blockedOn===a&&(h.blockedOn=null)}for(;0<oi.length&&(c=oi[0],c.blockedOn===null);)xT(c),c.blockedOn===null&&oi.shift();if(c=(a.ownerDocument||a).$$reactFormReplay,c!=null)for(h=0;h<c.length;h+=3){var y=c[h],b=c[h+1],A=y[bn]||null;if(typeof b=="function")A||wT(c);else if(A){var R=null;if(b&&b.hasAttribute("formAction")){if(y=b,A=b[bn]||null)R=A.formAction;else if(Uy(y)!==null)continue}else R=A.action;typeof R=="function"?c[h+1]=R:(c.splice(h,3),h-=3),wT(c)}}}function OT(){function a(b){b.canIntercept&&b.info==="react-transition"&&b.intercept({handler:function(){return new Promise(function(A){return y=A})},focusReset:"manual",scroll:"manual"})}function o(){y!==null&&(y(),y=null),h||setTimeout(c,20)}function c(){if(!h&&!navigation.transition){var b=navigation.currentEntry;b&&b.url!=null&&navigation.navigate(b.url,{state:b.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var h=!1,y=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(c,100),function(){h=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),y!==null&&(y(),y=null)}}}function Gy(a){this._internalRoot=a}nd.prototype.render=Gy.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(r(409));var c=o.current,h=$n();pT(c,h,a,o,null,null)},nd.prototype.unmount=Gy.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;pT(a.current,2,null,a,null,null),If(),o[Io]=null}};function nd(a){this._internalRoot=a}nd.prototype.unstable_scheduleHydration=function(a){if(a){var o=kp();a={blockedOn:null,target:a,priority:o};for(var c=0;c<oi.length&&o!==0&&o<oi[c].priority;c++);oi.splice(c,0,a),c===0&&xT(a)}};var _T=t.version;if(_T!=="19.2.1")throw Error(r(527,_T,"19.2.1"));U.findDOMNode=function(a){var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error(r(188)):(a=Object.keys(a).join(","),Error(r(268,a)));return a=d(o),a=a!==null?m(a):null,a=a===null?null:a.stateNode,a};var sI={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rd.isDisabled&&rd.supportsFiber)try{Pi=rd.inject(sI),cn=rd}catch{}}return yc.createRoot=function(a,o){if(!i(a))throw Error(r(299));var c=!1,h="",y=N_,b=P_,A=R_;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onUncaughtError!==void 0&&(y=o.onUncaughtError),o.onCaughtError!==void 0&&(b=o.onCaughtError),o.onRecoverableError!==void 0&&(A=o.onRecoverableError)),o=dT(a,1,!1,null,null,c,h,null,y,b,A,OT),a[Io]=o.current,Ty(a),new Gy(o)},yc.hydrateRoot=function(a,o,c){if(!i(a))throw Error(r(299));var h=!1,y="",b=N_,A=P_,R=R_,H=null;return c!=null&&(c.unstable_strictMode===!0&&(h=!0),c.identifierPrefix!==void 0&&(y=c.identifierPrefix),c.onUncaughtError!==void 0&&(b=c.onUncaughtError),c.onCaughtError!==void 0&&(A=c.onCaughtError),c.onRecoverableError!==void 0&&(R=c.onRecoverableError),c.formState!==void 0&&(H=c.formState)),o=dT(a,1,!0,o,c??null,h,y,H,b,A,R,OT),o.context=hT(null),c=o.current,h=$n(),h=ko(h),y=Fa(h),y.callback=null,Ya(c,y,h),c=h,o.current.lanes=c,yt(o,c),Dr(o),a[Io]=o.current,Ty(a),new nd(o)},yc.version="19.2.1",yc}var WT;function Eq(){if(WT)return Wy.exports;WT=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Wy.exports=Aq(),Wy.exports}var jq=Eq(),Cq=(function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(t,n){this.keyToValue.set(t,n),this.valueToKey.set(n,t)},e.prototype.getByKey=function(t){return this.keyToValue.get(t)},e.prototype.getByValue=function(t){return this.valueToKey.get(t)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e})(),dR=(function(){function e(t){this.generateIdentifier=t,this.kv=new Cq}return e.prototype.register=function(t,n){this.kv.getByValue(t)||(n||(n=this.generateIdentifier(t)),this.kv.set(n,t))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(t){return this.kv.getByValue(t)},e.prototype.getValue=function(t){return this.kv.getByKey(t)},e})(),Mq=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}
49t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),Nq=(function(e){Mq(t,e);function t(){var n=e.call(this,function(r){return r.name})||this;return n.classToAllowedProps=new Map,n}return t.prototype.register=function(n,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(n,r.allowProps),e.prototype.register.call(this,n,r.identifier)):e.prototype.register.call(this,n,r)},t.prototype.getAllowedProps=function(n){return this.classToAllowedProps.get(n)},t})(dR),Pq=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],l;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(u){l={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s};function Rq(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function Dq(e,t){var n=Rq(e);if("find"in n)return n.find(t);for(var r=n,i=0;i<r.length;i++){var s=r[i];if(t(s))return s}}function Is(e,t){Object.entries(e).forEach(function(n){var r=Pq(n,2),i=r[0],s=r[1];return t(s,i)})}function Nd(e,t){return e.indexOf(t)!==-1}function ZT(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var kq=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return Dq(this.transfomers,function(n){return n.isApplicable(t)})},e.prototype.findByName=function(t){return this.transfomers[t]},e})(),Iq=function(e){return Object.prototype.toString.call(e).slice(8,-1)},hR=function(e){return typeof e>"u"},$q=function(e){return e===null},Hc=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},Ox=function(e){return Hc(e)&&Object.keys(e).length===0},xi=function(e){return Array.isArray(e)},qq=function(e){return typeof e=="string"},zq=function(e){return typeof e=="number"&&!isNaN(e)},Lq=function(e){return typeof e=="boolean"},Bq=function(e){return e instanceof RegExp},Gc=function(e){return e instanceof Map},Fc=function(e){return e instanceof Set},pR=function(e){return Iq(e)==="Symbol"},Uq=function(e){return e instanceof Date&&!isNaN(e.valueOf())},Hq=function(e){return e instanceof Error},JT=function(e){return typeof e=="number"&&isNaN(e)},Gq=function(e){return Lq(e)||$q(e)||hR(e)||zq(e)||qq(e)||pR(e)},Fq=function(e){return typeof e=="bigint"},Yq=function(e){return e===1/0||e===-1/0},Kq=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},Vq=function(e){return e instanceof URL},mR=function(e){return e.replace(/\./g,"\\.")},tv=function(e){return e.map(String).map(mR).join(".")},Rc=function(e){for(var t=[],n="",r=0;r<e.length;r++){var i=e.charAt(r),s=i==="\\"&&e.charAt(r+1)===".";if(s){n+=".",r++;continue}var l=i===".";if(l){t.push(n),n="";continue}n+=i}var u=n;return t.push(u),t},_x=function(){return _x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},_x.apply(this,arguments)},Tx=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],l;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(u){l={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s},Ax=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};function kr(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var yR=[kr(hR,"undefined",function(){return null},function(){}),kr(Fq,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),kr(Uq,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),kr(Hq,"Error",function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n},function(e,t){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n}),kr(Bq,"regexp",function(e){return""+e},function(e){var t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}
49),kr(Fc,"set",function(e){return Ax([],Tx(e.values()))},function(e){return new Set(e)}),kr(Gc,"map",function(e){return Ax([],Tx(e.entries()))},function(e){return new Map(e)}),kr(function(e){return JT(e)||Yq(e)},"number",function(e){return JT(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),kr(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),kr(Vq,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function Fh(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var vR=Fh(function(e,t){if(pR(e)){var n=!!t.symbolRegistry.getIdentifier(e);return n}return!1},function(e,t){var n=t.symbolRegistry.getIdentifier(e);return["symbol",n]},function(e){return e.description},function(e,t,n){var r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),Qq=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),gR=Fh(Kq,function(e){return["typed-array",e.constructor.name]},function(e){return Ax([],Tx(e))},function(e,t){var n=Qq[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function bR(e,t){if(e?.constructor){var n=!!t.classRegistry.getIdentifier(e.constructor);return n}return!1}var xR=Fh(bR,function(e,t){var n=t.classRegistry.getIdentifier(e.constructor);return["class",n]},function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return _x({},e);var r={};return n.forEach(function(i){r[i]=e[i]}),r},function(e,t,n){var r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),SR=Fh(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return["custom",n.name]},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return n.serialize(e)},function(e,t,n){var r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),Xq=[xR,vR,SR,gR],eA=function(e,t){var n=ZT(Xq,function(i){return i.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=ZT(yR,function(i){return i.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},wR={};yR.forEach(function(e){wR[e.annotation]=e});var Wq=function(e,t,n){if(xi(t))switch(t[0]){case"symbol":return vR.untransform(e,t,n);case"class":return xR.untransform(e,t,n);case"custom":return SR.untransform(e,t,n);case"typed-array":return gR.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{var r=wR[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},As=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function OR(e){if(Nd(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Nd(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Nd(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Zq=function(e,t){OR(t);for(var n=0;n<t.length;n++){var r=t[n];if(Fc(e))e=As(e,+r);else if(Gc(e)){var i=+r,s=+t[++n]==0?"key":"value",l=As(e,i);switch(s){case"key":e=l;break;case"value":e=e.get(l);break}}else e=e[r]}return e},Ex=function(e,t,n){if(OR(t),t.length===0)return n(e);for(var r=e,i=0;i<t.length-1;i++){var s=t[i];if(xi(r)){var l=+s;r=r[l]}else if(Hc(r))r=r[s];else if(Fc(r)){var u=+s;r=As(r,u)}else if(Gc(r)){var f=i===t.length-2;if(f)break;var u=+s,d=+t[++i]==0?"key":"value",m=As(r,u);switch(d){case"key":r=m;break;case"value":r=r.get(m);break}}}var p=t[t.length-1];if(xi(r)?r[+p]=n(r[+p]):Hc(r)&&(r[p]=n(r[p])),Fc(r)){var v=As(r,+p),x=n(v);v!==x&&(r.delete(v),r.add(x))}if(Gc(r)){var u=+t[t.length-2],O=As(r,u),d=+p==0?"key":"value";switch(d){case"key":{var S=n(O);r.set(S,r.get(O)),S!==O&&r.delete(O);break}case"value":{r.set(O,n(r.get(O)));break}}}return e},ba=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],l;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(u){l={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s},pi=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};function jx(e,t,n){if(n===void 0&&(n=[]),!!e){if(!xi(e)){Is(e,function(l,u){return jx(l,t,pi(pi([],ba(n)),ba(Rc(u))))});return}var r=ba(e,2),i=r[0],s=r[1];s&&Is(s,function(l,u){jx(l,t,pi(pi([],ba(n)),ba(Rc(u))))}),t(i,n)}}function Jq(e,t,n){return jx(t,function(r,i){e=Ex(e,i,function(s){return Wq(s,r,n)})}),e}function ez(e,t){function n(l,u){var f=Zq(e,Rc(u));
49l.map(Rc).forEach(function(d){e=Ex(e,d,function(){return f})})}if(xi(t)){var r=ba(t,2),i=r[0],s=r[1];i.forEach(function(l){e=Ex(e,Rc(l),function(){return e})}),s&&Is(s,n)}else Is(t,n);return e}var tz=function(e,t){return Hc(e)||xi(e)||Gc(e)||Fc(e)||bR(e,t)};function nz(e,t,n){var r=n.get(e);r?r.push(t):n.set(e,[t])}function rz(e,t){var n={},r=void 0;return e.forEach(function(i){if(!(i.length<=1)){t||(i=i.map(function(f){return f.map(String)}).sort(function(f,d){return f.length-d.length}));var s=ba(i),l=s[0],u=s.slice(1);l.length===0?r=u.map(tv):n[tv(l)]=u.map(tv)}}),r?Ox(n)?[r]:[r,n]:Ox(n)?void 0:n}var _R=function(e,t,n,r,i,s,l){var u;i===void 0&&(i=[]),s===void 0&&(s=[]),l===void 0&&(l=new Map);var f=Gq(e);if(!f){nz(e,i,t);var d=l.get(e);if(d)return r?{transformedValue:null}:d}if(!tz(e,n)){var m=eA(e,n),p=m?{transformedValue:m.value,annotations:[m.type]}:{transformedValue:e};return f||l.set(e,p),p}if(Nd(s,e))return{transformedValue:null};var v=eA(e,n),x=(u=v?.value)!==null&&u!==void 0?u:e,O=xi(x)?[]:{},S={};Is(x,function(T,C){var M=_R(T,t,n,r,pi(pi([],ba(i)),[C]),pi(pi([],ba(s)),[e]),l);O[C]=M.transformedValue,xi(M.annotations)?S[C]=M.annotations:Hc(M.annotations)&&Is(M.annotations,function(N,_){S[mR(C)+"."+_]=N})});var w=Ox(S)?{transformedValue:O,annotations:v?[v.type]:void 0}:{transformedValue:O,annotations:v?[v.type,S]:S};return f||l.set(e,w),w};function TR(e){return Object.prototype.toString.call(e).slice(8,-1)}function tA(e){return TR(e)==="Array"}function az(e){if(TR(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function iz(e,t,n,r,i){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),i&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function Cx(e,t={}){if(tA(e))return e.map(i=>Cx(i,t));if(!az(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((i,s)=>{if(tA(t.props)&&!t.props.includes(s))return i;const l=e[s],u=Cx(l,t);return iz(i,s,u,e,t.nonenumerable),i},{})}var no=function(){return no=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},no.apply(this,arguments)},oz=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],l;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(u){l={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s},sz=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},Pa=(function(){function e(t){var n=t===void 0?{}:t,r=n.dedupe,i=r===void 0?!1:r;this.classRegistry=new Nq,this.symbolRegistry=new dR(function(s){var l;return(l=s.description)!==null&&l!==void 0?l:""}),this.customTransformerRegistry=new kq,this.allowedErrorProps=[],this.dedupe=i}return e.prototype.serialize=function(t){var n=new Map,r=_R(t,n,this,this.dedupe),i={json:r.transformedValue};r.annotations&&(i.meta=no(no({},i.meta),{values:r.annotations}));var s=rz(n,this.dedupe);return s&&(i.meta=no(no({},i.meta),{referentialEqualities:s})),i},e.prototype.deserialize=function(t){var n=t.json,r=t.meta,i=Cx(n);return r?.values&&(i=Jq(i,r.values,this)),r?.referentialEqualities&&(i=ez(i,r.referentialEqualities)),i},e.prototype.stringify=function(t){return JSON.stringify(this.serialize(t))},e.prototype.parse=function(t){return this.deserialize(JSON.parse(t))},e.prototype.registerClass=function(t,n){this.classRegistry.register(t,n)},e.prototype.registerSymbol=function(t,n){this.symbolRegistry.register(t,n)},e.prototype.registerCustom=function(t,n){this.customTransformerRegistry.register(no({name:n},t))},e.prototype.allowErrorProps=function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];(t=this.allowedErrorProps).push.apply(t,sz([],oz(n)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e})();Pa.serialize;Pa.deserialize;Pa.stringify;Pa.parse;Pa.registerClass;Pa.registerCustom;Pa.registerSymbol;Pa.allowErrorProps;var lz=(e,t,n,r,i,s,l,u)=>{let f=document.documentElement,d=["light","dark"];
vendor: 7,440 bytes, line 49
49function m(x){(Array.isArray(e)?e:[e]).forEach(O=>{let S=O==="class",w=S&&s?i.map(T=>s[T]||T):i;S?(f.classList.remove(...w),f.classList.add(s&&s[x]?s[x]:x)):f.setAttribute(O,x)}),p(x)}function p(x){u&&d.includes(x)&&(f.style.colorScheme=x)}function v(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)m(r);else try{let x=localStorage.getItem(t)||n,O=l&&x==="system"?v():x;m(O)}catch{}},cz=$.createContext(void 0),uz={setTheme:e=>{},themes:[]},fz=()=>{var e;return(e=$.useContext(cz))!=null?e:uz};$.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:l,themes:u,nonce:f,scriptProps:d})=>{let m=JSON.stringify([n,t,s,e,u,l,r,i]).slice(1,-1);return $.createElement("script",{...d,suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(${lz.toString()})(${m})`}})});var pS=fR();const dz=nt(pS);function hz(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const pz=e=>{switch(e){case"success":return vz;case"info":return bz;case"warning":return gz;case"error":return xz;default:return null}},mz=Array(12).fill(0),yz=({visible:e,className:t})=>I.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},I.createElement("div",{className:"sonner-spinner"},mz.map((n,r)=>I.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),vz=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),gz=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},I.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),bz=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),xz=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Sz=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},I.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),I.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),wz=()=>{const[e,t]=I.useState(document.hidden);return I.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let Mx=1;class Oz{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...i}=t,s=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:Mx++,l=this.toasts.find(f=>f.id===s),u=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),l?this.toasts=this.toasts.map(f=>f.id===s?(this.publish({...f,...t,id:s,title:r}),{...f,...t,id:s,dismissible:u,title:r}):f):this.addToast({title:r,...i,dismissible:u,id:s}),s},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const i=Promise.resolve(t instanceof Function?t():t);let s=r!==void 0,l;const u=i.then(async d=>{if(l=["resolve",d],I.isValidElement(d))s=!1,this.create({id:r,type:"default",message:d});else if(Tz(d)&&!d.ok){s=!1;const p=typeof n.error=="function"?await n.error(`HTTP error! status: ${d.status}`):n.error,v=typeof n.description=="function"?await n.description(`HTTP error! status: ${d.status}`):n.description,O=typeof p=="object"&&!I.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:v,...O})}else if(d instanceof Error){s=!1;const p=typeof n.error=="function"?await n.error(d):n.error,v=typeof n.description=="function"?await n.description(d):n.description,O=typeof p=="object"&&!I.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:v,...O})}else if(n.success!==void 0){s=!1;const p=typeof n.success=="function"?await n.success(d):n.success,v=typeof n.description=="function"?await n.description(d):n.description,O=typeof p=="object"&&!I.isValidElement(p)?p:{message:p};this.create({id:r,type:"success",description:v,...O})}}).catch(async d=>{if(l=["reject",d],n.error!==void 0){s=!1;const m=typeof n.error=="function"?await n.error(d):n.error,p=typeof n.description=="function"?await n.description(d):n.description,x=typeof m=="object"&&!I.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:p,...x})}}).finally(()=>{s&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),f=()=>new Promise((d,m)=>u.then(()=>l[0]==="reject"?m(l[1]):d(l[1])).catch(m));return typeof r!="string"&&typeof r!="number"?{unwrap:f}:Object.assign(r,{unwrap:f})},this.custom=(t,n)=>{const r=n?.id||Mx++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const An=new Oz,_z=(e,t)=>{const n=t?.id||Mx++;return An.addToast({title:e,...t,id:n}),n},Tz=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Az=_z,Ez=()=>An.toasts,jz=()=>An.getActiveToasts();Object.assign(Az,{success:An.success,info:An.info,warning:An.warning,error:An.error,custom:An.custom,message:An.message,promise:An.promise,dismiss:An.dismiss,loading:An.loading},{getHistory:Ez,getToasts:jz});hz
vendor: 14,873 bytes, line 49
49("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function 
vendor: 617 bytes, line 49
49cd(e){return e.label!==void 0}const Cz=3,Mz="24px",Nz="16px",nA=4e3,Pz=356,Rz=14,Dz=45,kz=200;function Ir(...e){return e.filter(Boolean).join(" ")}function Iz(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const $z=e=>{var t,n,r,i,s,l,u,f,d;const{invert:m,toast:p,unstyled:v,interacting:x,setHeights:O,visibleToasts:S,heights:w,index:T,toasts:C,expanded:M,removeToast:N,defaultRichColors:_,closeButton:E,style:j,cancelButtonStyle:P,actionButtonStyle:k,className:G="",descriptionClassName:q="",duration:L,position:F,gap:V,expandByDefault:X,classNames:D,icons:U,closeButtonAriaLabel:B="Close toast"}
vendor: 5,108 bytes, line 49
49=e,[ee,se]=I.useState(null),[z,Y]=I.useState(null),[Q,te]=I.useState(!1),[ue,he]=I.useState(!1),[pe,xe]=I.useState(!1),[fe,we]=I.useState(!1),[Oe,ce]=I.useState(!1),[Ue,je]=I.useState(0),[lt,it]=I.useState(0),vt=I.useRef(p.duration||L||nA),mn=I.useRef(null),Tt=I.useRef(null),jr=T===0,Mn=T+1<=S,mt=p.type,Vn=p.dismissible!==!1,zt=p.className||"",Po=p.descriptionClassName||"",Mi=I.useMemo(()=>w.findIndex(Ee=>Ee.toastId===p.id)||0,[w,p.id]),Hu=I.useMemo(()=>{var Ee;return(Ee=p.closeButton)!=null?Ee:E},[p.closeButton,E]),Ni=I.useMemo(()=>p.duration||L||nA,[p.duration,L]),Ol=I.useRef(0),Wr=I.useRef(0),Gu=I.useRef(0),Ia=I.useRef(null),[Pi,cn]=F.split("-"),hr=I.useMemo(()=>w.reduce((Ee,dt,Lt)=>Lt>=Mi?Ee:Ee+dt.height,0),[w,Mi]),en=wz(),Dp=p.invert||m,_l=mt==="loading";Wr.current=I.useMemo(()=>Mi*V+hr,[Mi,hr]),I.useEffect(()=>{vt.current=Ni},[Ni]),I.useEffect(()=>{te(!0)},[]),I.useEffect(()=>{const Ee=Tt.current;if(Ee){const dt=Ee.getBoundingClientRect().height;return it(dt),O(Lt=>[{toastId:p.id,height:dt,position:p.position},...Lt]),()=>O(Lt=>Lt.filter(tn=>tn.toastId!==p.id))}},[O,p.id]),I.useLayoutEffect(()=>{if(!Q)return;const Ee=Tt.current,dt=Ee.style.height;Ee.style.height="auto";const Lt=Ee.getBoundingClientRect().height;Ee.style.height=dt,it(Lt),O(tn=>tn.find(yt=>yt.toastId===p.id)?tn.map(yt=>yt.toastId===p.id?{...yt,height:Lt}:yt):[{toastId:p.id,height:Lt,position:p.position},...tn])},[Q,p.title,p.description,O,p.id,p.jsx,p.action,p.cancel]);const Cr=I.useCallback(()=>{he(!0),je(Wr.current),O(Ee=>Ee.filter(dt=>dt.toastId!==p.id)),setTimeout(()=>{N(p)},kz)},[p,N,O,Wr]);I.useEffect(()=>{if(p.promise&&mt==="loading"||p.duration===1/0||p.type==="loading")return;let Ee;return M||x||en?(()=>{if(Gu.current<Ol.current){const tn=new Date().getTime()-Ol.current;vt.current=vt.current-tn}Gu.current=new Date().getTime()})():(()=>{vt.current!==1/0&&(Ol.current=new Date().getTime(),Ee=setTimeout(()=>{p.onAutoClose==null||p.onAutoClose.call(p,p),Cr()},vt.current))})(),()=>clearTimeout(Ee)},[M,x,p,mt,en,Cr]),I.useEffect(()=>{p.delete&&(Cr(),p.onDismiss==null||p.onDismiss.call(p,p))},[Cr,p.delete]);function Ro(){var Ee;if(U?.loading){var dt;return I.createElement("div",{className:Ir(D?.loader,p==null||(dt=p.classNames)==null?void 0:dt.loader,"sonner-loader"),"data-visible":mt==="loading"},U.loading)}return I.createElement(yz,{className:Ir(D?.loader,p==null||(Ee=p.classNames)==null?void 0:Ee.loader),visible:mt==="loading"})}const Do=p.icon||U?.[mt]||pz(mt);var Ri,Mr;return I.createElement("li",{tabIndex:0,ref:Tt,className:Ir(G,zt,D?.toast,p==null||(t=p.classNames)==null?void 0:t.toast,D?.default,D?.[mt],p==null||(n=p.classNames)==null?void 0:n[mt]),"data-sonner-toast":"","data-rich-colors":(Ri=p.richColors)!=null?Ri:_,"data-styled":!(p.jsx||p.unstyled||v),"data-mounted":Q,"data-promise":!!p.promise,"data-swiped":Oe,"data-removed":ue,"data-visible":Mn,"data-y-position":Pi,"data-x-position":cn,"data-index":T,"data-front":jr,"data-swiping":pe,"data-dismissible":Vn,"data-type":mt,"data-invert":Dp,"data-swipe-out":fe,"data-swipe-direction":z,"data-expanded":!!(M||X&&Q),"data-testid":p.testId,style:{"--index":T,"--toasts-before":T,"--z-index":C.length-T,"--offset":`${ue?Ue:Wr.current}px`,"--initial-height":X?"auto":`${lt}px`,...j,...p.style},onDragEnd:()=>{xe(!1),se(null),Ia.current=null},onPointerDown:Ee=>{Ee.button!==2&&(_l||!Vn||(mn.current=new Date,je(Wr.current),Ee.target.setPointerCapture(Ee.pointerId),Ee.target.tagName!=="BUTTON"&&(xe(!0),Ia.current={x:Ee.clientX,y:Ee.clientY})))},onPointerUp:()=>{var Ee,dt,Lt;if(fe||!Vn)return;Ia.current=null;const tn=Number(((Ee=Tt.current)==null?void 0:Ee.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),$a=Number(((dt=Tt.current)==null?void 0:dt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),yt=new Date().getTime()-((Lt=mn.current)==null?void 0:Lt.getTime()),yn=ee==="x"?tn:$a,Di=Math.abs(yn)/yt;if(Math.abs(yn)>=Dz||Di>.11){je(Wr.current),p.onDismiss==null||p.onDismiss.call(p,p),Y(ee==="x"?tn>0?"right":"left":$a>0?"down":"up"),Cr(),we(!0);return}else{var vn,gn;(vn=Tt.current)==null||vn.style.setProperty("--swipe-amount-x","0px"),(gn=Tt.current)==null||gn.style.setProperty("--swipe-amount-y","0px")}ce(!1),xe(!1),se(null)},onPointerMove:Ee=>{var dt,Lt,tn;if(!Ia.current||!Vn||((dt=window.getSelection())==null?void 0:dt.toString().length)>0)return;const yt=Ee.clientY-Ia.current.y,yn=Ee.clientX-Ia.current.x;var Di;const vn=(Di=e.swipeDirections)!=null?Di:Iz(F);!ee&&(Math.abs(yn)>1||Math.abs(yt)>1)&&se(Math.abs(yn)>Math.abs(yt)?"x":"y");let gn={x:0,y:0};const ko=pr=>1/(1.5+Math.abs(pr)/20);if(ee==="y"){if(vn.includes("top")||vn.includes("bottom"))if(vn.includes("top")&&yt<0||vn.includes("bottom")&&yt>0)gn.y=yt;else{const pr=yt*ko(yt);gn.y=Math.abs(pr)<Math.abs(yt)?pr:yt}}else if(ee==="x"&&(vn.includes("left")||vn.includes("right")))if(vn.includes("left")&&yn<0||vn.includes("right")&&yn>0)gn.x=yn;else{const pr=yn*ko(yn);gn.x=Math.abs(pr)<Math.abs(yn)?pr:yn}(Math.abs(gn.x)>0||Math.abs(gn.y)>0)&&ce(!0),(Lt=Tt.current)==null||Lt.style.setProperty("--swipe-amount-x",`${gn.x}
49px`),(tn=Tt.current)==null||tn.style.setProperty("--swipe-amount-y",`${gn.y}px`)}},Hu&&!p.jsx&&mt!=="loading"?I.createElement("button",{"aria-label":B,"data-disabled":_l,"data-close-button":!0,onClick:_l||!Vn?()=>{}:()=>{Cr(),p.onDismiss==null||p.onDismiss.call(p,p)},className:Ir(D?.closeButton,p==null||(r=p.classNames)==null?void 0:r.closeButton)},(Mr=U?.close)!=null?Mr:Sz):null,(mt||p.icon||p.promise)&&p.icon!==null&&(U?.[mt]!==null||p.icon)?I.createElement("div",{"data-icon":"",className:Ir(D?.icon,p==null||(i=p.classNames)==null?void 0:i.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||Ro():null,p.type!=="loading"?Do:null):null,I.createElement("div",{"data-content":"",className:Ir(D?.content,p==null||(s=p.classNames)==null?void 0:s.content)},I.createElement("div",{"data-title":"",className:Ir(D?.title,p==null||(l=p.classNames)==null?void 0:l.title)},p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title),p.description?I.createElement("div",{"data-description":"",className:Ir(q,Po,D?.description,p==null||(u=p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),I.isValidElement(p.cancel)?p.cancel:p.cancel&&cd(p.cancel)?I.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||P,onClick:Ee=>{cd(p.cancel)&&Vn&&(p.cancel.onClick==null||p.cancel.onClick.call(p.cancel,Ee),Cr())},className:Ir(D?.cancelButton,p==null||(f=p.classNames)==null?void 0:f.cancelButton)},p.cancel.label):null,I.isValidElement(p.action)?p.action:p.action&&cd(p.action)?I.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||k,onClick:Ee=>{cd(p.action)&&(p.action.onClick==null||p.action.onClick.call(p.action,Ee),!Ee.defaultPrevented&&Cr())},className:Ir(D?.actionButton,p==null||(d=p.classNames)==null?void 0:d.actionButton)},p.action.label):null)};function rA(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function qz(e,t){const n={};return[e,t].forEach((r,i)=>{const s=i===1,l=s?"--mobile-offset":"--offset",u=s?Nz:Mz;function f(d){["top","right","bottom","left"].forEach(m=>{n[`${l}-${m}`]=typeof d=="number"?`${d}px`:d})}typeof r=="number"||typeof r=="string"?f(r):typeof r=="object"?["top","right","bottom","left"].forEach(d=>{r[d]===void 0?n[`${l}-${d}`]=u:n[`${l}-${d}`]=typeof r[d]=="number"?`${r[d]}px`:r[d]}):f(u)}),n}const zz=I.forwardRef(function(t,n){const{id:r,invert:i,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:u,closeButton:f,className:d,offset:m,mobileOffset:p,theme:v="light",richColors:x,duration:O,style:S,visibleToasts:w=Cz,toastOptions:T,dir:C=rA(),gap:M=Rz,icons:N,containerAriaLabel:_="Notifications"}=t,[E,j]=I.useState([]),P=I.useMemo(()=>r?E.filter(Q=>Q.toasterId===r):E.filter(Q=>!Q.toasterId),[E,r]),k=I.useMemo(()=>Array.from(new Set([s].concat(P.filter(Q=>Q.position).map(Q=>Q.position)))),[P,s]),[G,q]=I.useState([]),[L,F]=I.useState(!1),[V,X]=I.useState(!1),[D,U]=I.useState(v!=="system"?v:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=I.useRef(null),ee=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),se=I.useRef(null),z=I.useRef(!1),Y=I.useCallback(Q=>{j(te=>{var ue;return(ue=te.find(he=>he.id===Q.id))!=null&&ue.delete||An.dismiss(Q.id),te.filter(({id:he})=>he!==Q.id)})},[]);return I.useEffect(()=>An.subscribe(Q=>{if(Q.dismiss){requestAnimationFrame(()=>{j(te=>te.map(ue=>ue.id===Q.id?{...ue,delete:!0}:ue))});return}setTimeout(()=>{dz.flushSync(()=>{j(te=>{const ue=te.findIndex(he=>he.id===Q.id);return ue!==-1?[...te.slice(0,ue),{...te[ue],...Q},...te.slice(ue+1)]:[Q,...te]})})})}),[E]),I.useEffect(()=>{if(v!=="system"){U(v);return}if(v==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?U("dark"):U("light")),typeof window>"u")return;const Q=window.matchMedia("(prefers-color-scheme: dark)");try{Q.addEventListener("change",({matches:te})=>{U(te?"dark":"light")})}catch{Q.addListener(({matches:ue})=>{try{U(ue?"dark":"light")}catch(he){console.error(he)}})}},[v]),I.useEffect(()=>{E.length<=1&&F(!1)},[E]),I.useEffect(()=>{const Q=te=>{var ue;if(l.every(xe=>te[xe]||te.code===xe)){var pe;F(!0),(pe=B.current)==null||pe.focus()}te.code==="Escape"&&(document.activeElement===B.current||(ue=B.current)!=null&&ue.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",Q),()=>document.removeEventListener("keydown",Q)},[l]),I.useEffect(()=>{if(B.current)return()=>{se.current&&(se.current.focus({preventScroll:!0}),se.current=null,z.current=!1)}},[B.current]),I.createElement("section",{ref:n,"aria-label":`${_} ${ee}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((Q,te)=>{var ue;const[he,pe]=Q.split("-");return P.length?I.createElement("ol",{key:Q,dir:C==="auto"?rA():C,tabIndex:-1,ref:B,className:d,"data-sonner-toaster":!0,"data-sonner-theme":D,"data-y-position":he,"data-x-position":pe,style:{"--front-toast-height":`${((ue=G[0])==null?void 0:ue.height)||0}px`,"--width":`${Pz}px`,"--gap":`${M}px`,...S,...qz(m,p)},onBlur:xe=>{z.current&&!xe.currentTarget.contains(xe.relatedTarget)&&(z.current=!1,se.current&&(se.current.focus({preventScroll:!0}),se.current=null))},onFocus:xe=>{xe.target instanceof HTMLElement&&xe.target.dataset.dismissible==="false"||z.current||(z.current=!0,se.current=xe.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{V||F(!1)},onDragEnd:()=>F(!1),onPointerDown:xe=>{xe.target instanceof HTMLElement&&xe.target.dataset.dismissible==="false"||X(!0)},onPointerUp:()=>X(!1)},P.filter(xe=>!xe.position&&te===0||xe.position===Q).map((xe,fe)=>{var we,Oe;return I.createElement($z,{key:xe.id,icons:N,index:fe,toast:xe,defaultRichColors:x,duration:(we=T?.duration)!=null?we:O,className:T?.className,descriptionClassName:T?.descriptionClassName,invert:i,visibleToasts:w,closeButton:(Oe=T?.closeButton)!=null?Oe:f,interacting:V,position:Q,style:T?.style,unstyled:T?.unstyled,classNames:T?.classNames,cancelButtonStyle:T?.cancelButtonStyle,actionButtonStyle:T?.actionButtonStyle,closeButtonAriaLabel:T?.closeButtonAriaLabel,removeToast:Y,toasts:P.filter(ce=>ce.position==xe.position),heights:G.filter(ce=>ce.position==xe.position),setHeights:q,expandByDefault:u,gap:M,expanded:L,swipeDirections:t.swipeDirections})})):null}))}),Lz=({...e})=>{const{theme:t="system"}=fz();return g.jsx(zz,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function ga(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e?.(i),n===!1||!i.defaultPrevented)return t?.(i)}}function aA(e,t){if(typeof e=="function")return e(t);
vendor: 8,982 bytes, line 49
49e!=null&&(e.current=t)}function AR(...e){return t=>{let n=!1;const r=e.map(i=>{const s=aA(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():aA(e[i],null)}}}}function To(...e){return $.useCallback(AR(...e),e)}function ER(e,t=[]){let n=[];function r(s,l){const u=$.createContext(l),f=n.length;n=[...n,l];const d=p=>{const{scope:v,children:x,...O}=p,S=v?.[e]?.[f]||u,w=$.useMemo(()=>O,Object.values(O));return g.jsx(S.Provider,{value:w,children:x})};d.displayName=s+"Provider";function m(p,v){const x=v?.[e]?.[f]||u,O=$.useContext(x);if(O)return O;if(l!==void 0)return l;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[d,m]}const i=()=>{const s=n.map(l=>$.createContext(l));return function(u){const f=u?.[e]||s;return $.useMemo(()=>({[`__scope${e}`]:{...u,[e]:f}}),[u,f])}};return i.scopeName=e,[r,Bz(i,...t)]}function Bz(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=r.reduce((u,{useScope:f,scopeName:d})=>{const p=f(s)[`__scope${d}`];return{...u,...p}},{});return $.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function jR(e){const t=Hz(e),n=$.forwardRef((r,i)=>{const{children:s,...l}=r,u=$.Children.toArray(s),f=u.find(Fz);if(f){const d=f.props.children,m=u.map(p=>p===f?$.Children.count(d)>1?$.Children.only(null):$.isValidElement(d)?d.props.children:null:p);return g.jsx(t,{...l,ref:i,children:$.isValidElement(d)?$.cloneElement(d,void 0,m):null})}return g.jsx(t,{...l,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var Uz=jR("Slot");function Hz(e){const t=$.forwardRef((n,r)=>{const{children:i,...s}=n;if($.isValidElement(i)){const l=Kz(i),u=Yz(s,i.props);return i.type!==$.Fragment&&(u.ref=r?AR(r,l):l),$.cloneElement(i,u)}return $.Children.count(i)>1?$.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var CR=Symbol("radix.slottable");function Gz(e){const t=({children:n})=>g.jsx(g.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=CR,t}function Fz(e){return $.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===CR}function Yz(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...u)=>{const f=s(...u);return i(...u),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function Kz(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Vz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ao=Vz.reduce((e,t)=>{const n=jR(`Primitive.${t}`),r=$.forwardRef((i,s)=>{const{asChild:l,...u}=i,f=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(f,{...u,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Qz(e,t){e&&pS.flushSync(()=>e.dispatchEvent(t))}function Yh(e){const t=$.useRef(e);return $.useEffect(()=>{t.current=e}),$.useMemo(()=>(...n)=>t.current?.(...n),[])}function Xz(e,t=globalThis?.document){const n=Yh(e);$.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Wz="DismissableLayer",Nx="dismissableLayer.update",Zz="dismissableLayer.pointerDownOutside",Jz="dismissableLayer.focusOutside",iA,MR=$.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),NR=$.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:l,onDismiss:u,...f}=e,d=$.useContext(MR),[m,p]=$.useState(null),v=m?.ownerDocument??globalThis?.document,[,x]=$.useState({}),O=To(t,j=>p(j)),S=Array.from(d.layers),[w]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),T=S.indexOf(w),C=m?S.indexOf(m):-1,M=d.layersWithOutsidePointerEventsDisabled.size>0,N=C>=T,_=nL(j=>{const P=j.target,k=[...d.branches].some(G=>G.contains(P));!N||k||(i?.(j),l?.(j),j.defaultPrevented||u?.())},v),E=rL(j=>{const P=j.target;[...d.branches].some(G=>G.contains(P))||(s?.(j),l?.(j),j.defaultPrevented||u?.())},v);return Xz(j=>{C===d.layers.size-1&&(r?.(j),!j.defaultPrevented&&u&&(j.preventDefault(),u()))},v),$.useEffect(()=>{if(m)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(iA=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(m)),d.layers.add(m),oA(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=iA)}},[m,v,n,d]),$.useEffect(()=>()=>{m&&(d.layers.delete(m),d.layersWithOutsidePointerEventsDisabled.delete(m),oA())},[m,d]),$.useEffect(()=>{const j=()=>x({});return document.addEventListener(Nx,j),()=>document.removeEventListener(Nx,j)},[]),g.jsx(Ao.div,{...f,ref:O,style:{pointerEvents:M?N?"auto":"none":void 0,...e.style},onFocusCapture:ga(e.onFocusCapture,E.onFocusCapture),onBlurCapture:ga(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:ga(e.onPointerDownCapture,_.onPointerDownCapture)})});NR.displayName=Wz;var eL="DismissableLayerBranch",tL=$.forwardRef((e,t)=>{const n=$.useContext(MR),r=$.useRef(null),i=To(t,r);return $.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),g.jsx(Ao.div,{...e,ref:i})});tL.displayName=eL;function nL(e,t=globalThis?.document){const n=Yh(e),r=$.useRef(!1),i=$.useRef(()=>{});return $.useEffect(()=>{const s=u=>{if(u.target&&!r.current){let f=function(){PR(Zz,n,d,{discrete:!0})};const d={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=f,t.addEventListener("click",i.current,{once:!0})):f()}else t.removeEventListener("click",i.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function rL(e,t=globalThis?.document){const n=Yh(e),r=$.useRef(!1);return $.useEffect(()=>{const i=s=>{s.target&&!r.current&&PR(Jz,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function oA(){const e=new CustomEvent(Nx);document.dispatchEvent(e)}function PR(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Qz(i,s):i.dispatchEvent(s)}var Yc=globalThis?.document?$.useLayoutEffect:()=>{};const aL=["top","right","bottom","left"],Si=Math.min,Un=Math.max,Dd=Math.round,ud=Math.floor,Ur=e=>({x:e,y:e}),iL={left:"right",right:"left",bottom:"top",top:"bottom"},oL={start:"end",end:"start"};function Px(e,t,n){return Un(e,Si(t,n))}function Ea(e,t){return typeof e=="function"?e(t):e}function ja(e){return e.split("-")[0]}function cl(e){return e.split("-")[1]}function mS(e){return e==="x"?"y":"x"}function yS(e){return e==="y"?"height":"width"}const sL=new Set(["top","bottom"]);function qr(e){return sL.has(ja(e))?"y":"x"}function vS(e){return mS(qr(e))}function lL(e,t,n){n===void 0&&(n=!1);const r=cl(e),i=vS(e),s=yS(i);let l=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=kd(l)),[l,kd(l)]}function cL(e){const t=kd(e);return[Rx(e),t,Rx(t)]}function Rx(e){return e.replace(/start|end/g,t=>oL[t])}const sA=["left","right"],lA=["right","left"],uL=["top","bottom"],fL=["bottom","top"];function dL(e,t,n){switch(e){case"top":case"bottom":return n?t?lA:sA:t?sA:lA;case"left":case"right":return t?uL:fL;default:return[]}}function hL(e,t,n,r){const i=cl(e);let s=dL(ja(e),n==="start",r);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(Rx)))),s}function kd(e){return e.replace(/left|right|bottom|top/g,t=>iL[t])}function pL(e){return{top:0,right:0,bottom:0,left:0,...e}}function RR(e){return typeof e!="number"?pL(e):{top:e,right:e,bottom:e,left:e}}function Id(e){const{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 cA(e,t,n){let{reference:r,floating:i}=e;const s=qr(t),l=vS(t),u=yS(l),f=ja(t),d=s==="y",m=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,v=r[u]/2-i[u]/2;let x;switch(f){case"top":x={x:m,y:r.y-i.height};break;case"bottom":x={x:m,y:r.y+r.height};break;case"right":x={x:r.x+r.width,y:p};break;case"left":x={x:r.x-i.width,y:p};break;default:x={x:r.x,y:r.y}}switch(cl(t)){case"start":x[l]-=v*(n&&d?-1:1);break;case"end":x[l]+=v*(n&&d?-1:1);break}return x}const mL=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:l}
vendor: 15,576 bytes, line 49
49=n,u=s.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(t));let d=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:m,y:p}=cA(d,r,f),v=r,x={},O=0;for(let S=0;S<u.length;S++){const{name:w,fn:T}=u[S],{x:C,y:M,data:N,reset:_}=await T({x:m,y:p,initialPlacement:r,placement:v,strategy:i,middlewareData:x,rects:d,platform:l,elements:{reference:e,floating:t}});m=C??m,p=M??p,x={...x,[w]:{...x[w],...N}},_&&O<=50&&(O++,typeof _=="object"&&(_.placement&&(v=_.placement),_.rects&&(d=_.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):_.rects),{x:m,y:p}=cA(d,v,f)),S=-1)}return{x:m,y:p,placement:v,strategy:i,middlewareData:x}};async function Kc(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:l,elements:u,strategy:f}=e,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:v=!1,padding:x=0}=Ea(t,e),O=RR(x),w=u[v?p==="floating"?"reference":"floating":p],T=Id(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(u.floating)),boundary:d,rootBoundary:m,strategy:f})),C=p==="floating"?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,M=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u.floating)),N=await(s.isElement==null?void 0:s.isElement(M))?await(s.getScale==null?void 0:s.getScale(M))||{x:1,y:1}:{x:1,y:1},_=Id(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:C,offsetParent:M,strategy:f}):C);return{top:(T.top-_.top+O.top)/N.y,bottom:(_.bottom-T.bottom+O.bottom)/N.y,left:(T.left-_.left+O.left)/N.x,right:(_.right-T.right+O.right)/N.x}}const yL=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:l,elements:u,middlewareData:f}=t,{element:d,padding:m=0}=Ea(e,t)||{};if(d==null)return{};const p=RR(m),v={x:n,y:r},x=vS(i),O=yS(x),S=await l.getDimensions(d),w=x==="y",T=w?"top":"left",C=w?"bottom":"right",M=w?"clientHeight":"clientWidth",N=s.reference[O]+s.reference[x]-v[x]-s.floating[O],_=v[x]-s.reference[x],E=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d));let j=E?E[M]:0;(!j||!await(l.isElement==null?void 0:l.isElement(E)))&&(j=u.floating[M]||s.floating[O]);const P=N/2-_/2,k=j/2-S[O]/2-1,G=Si(p[T],k),q=Si(p[C],k),L=G,F=j-S[O]-q,V=j/2-S[O]/2+P,X=Px(L,V,F),D=!f.arrow&&cl(i)!=null&&V!==X&&s.reference[O]/2-(V<L?G:q)-S[O]/2<0,U=D?V<L?V-L:V-F:0;return{[x]:v[x]+U,data:{[x]:X,centerOffset:V-X-U,...D&&{alignmentOffset:U}},reset:D}}}),vL=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:l,initialPlacement:u,platform:f,elements:d}=t,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:v,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...w}=Ea(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const T=ja(i),C=qr(u),M=ja(u)===u,N=await(f.isRTL==null?void 0:f.isRTL(d.floating)),_=v||(M||!S?[kd(u)]:cL(u)),E=O!=="none";!v&&E&&_.push(...hL(u,S,O,N));const j=[u,..._],P=await Kc(t,w),k=[];let G=((r=s.flip)==null?void 0:r.overflows)||[];if(m&&k.push(P[T]),p){const V=lL(i,l,N);k.push(P[V[0]],P[V[1]])}if(G=[...G,{placement:i,overflows:k}],!k.every(V=>V<=0)){var q,L;const V=(((q=s.flip)==null?void 0:q.index)||0)+1,X=j[V];if(X&&(!(p==="alignment"?C!==qr(X):!1)||G.every(B=>qr(B.placement)===C?B.overflows[0]>0:!0)))return{data:{index:V,overflows:G},reset:{placement:X}};let D=(L=G.filter(U=>U.overflows[0]<=0).sort((U,B)=>U.overflows[1]-B.overflows[1])[0])==null?void 0:L.placement;if(!D)switch(x){case"bestFit":{var F;const U=(F=G.filter(B=>{if(E){const ee=qr(B.placement);return ee===C||ee==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(ee=>ee>0).reduce((ee,se)=>ee+se,0)]).sort((B,ee)=>B[1]-ee[1])[0])==null?void 0:F[0];U&&(D=U);break}case"initialPlacement":D=u;break}if(i!==D)return{reset:{placement:D}}}return{}}}};function uA(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function fA(e){return aL.some(t=>e[t]>=0)}const gL=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Ea(e,t);switch(r){case"referenceHidden":{const s=await Kc(t,{...i,elementContext:"reference"}),l=uA(s,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:fA(l)}}}case"escaped":{const s=await Kc(t,{...i,altBoundary:!0}),l=uA(s,n.floating);return{data:{escapedOffsets:l,escaped:fA(l)}}}default:return{}}}}},DR=new Set(["left","top"]);async function bL(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),l=ja(n),u=cl(n),f=qr(n)==="y",d=DR.has(l)?-1:1,m=s&&f?-1:1,p=Ea(t,e);let{mainAxis:v,crossAxis:x,alignmentAxis:O}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return u&&typeof O=="number"&&(x=u==="end"?O*-1:O),f?{x:x*m,y:v*d}:{x:v*d,y:x*m}}const xL=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:l,middlewareData:u}=t,f=await bL(t,e);return l===((n=u.offset)==null?void 0:n.placement)&&(r=u.arrow)!=null&&r.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:l}}}}},SL=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:w=>{let{x:T,y:C}=w;return{x:T,y:C}}},...f}=Ea(e,t),d={x:n,y:r},m=await Kc(t,f),p=qr(ja(i)),v=mS(p);let x=d[v],O=d[p];if(s){const w=v==="y"?"top":"left",T=v==="y"?"bottom":"right",C=x+m[w],M=x-m[T];x=Px(C,x,M)}if(l){const w=p==="y"?"top":"left",T=p==="y"?"bottom":"right",C=O+m[w],M=O-m[T];O=Px(C,O,M)}const S=u.fn({...t,[v]:x,[p]:O});return{...S,data:{x:S.x-n,y:S.y-r,enabled:{[v]:s,[p]:l}}}}}},wL=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:l}=t,{offset:u=0,mainAxis:f=!0,crossAxis:d=!0}=Ea(e,t),m={x:n,y:r},p=qr(i),v=mS(p);let x=m[v],O=m[p];const S=Ea(u,t),w=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(f){const M=v==="y"?"height":"width",N=s.reference[v]-s.floating[M]+w.mainAxis,_=s.reference[v]+s.reference[M]-w.mainAxis;x<N?x=N:x>_&&(x=_)}if(d){var T,C;const M=v==="y"?"width":"height",N=DR.has(ja(i)),_=s.reference[p]-s.floating[M]+(N&&((T=l.offset)==null?void 0:T[p])||0)+(N?0:w.crossAxis),E=s.reference[p]+s.reference[M]+(N?0:((C=l.offset)==null?void 0:C[p])||0)-(N?w.crossAxis:0);O<_?O=_:O>E&&(O=E)}return{[v]:x,[p]:O}}}},OL=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:l,elements:u}=t,{apply:f=()=>{},...d}=Ea(e,t),m=await Kc(t,d),p=ja(i),v=cl(i),x=qr(i)==="y",{width:O,height:S}=s.floating;let w,T;p==="top"||p==="bottom"?(w=p,T=v===(await(l.isRTL==null?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(T=p,w=v==="end"?"top":"bottom");const C=S-m.top-m.bottom,M=O-m.left-m.right,N=Si(S-m[w],C),_=Si(O-m[T],M),E=!t.middlewareData.shift;let j=N,P=_;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=M),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(j=C),E&&!v){const G=Un(m.left,0),q=Un(m.right,0),L=Un(m.top,0),F=Un(m.bottom,0);x?P=O-2*(G!==0||q!==0?G+q:Un(m.left,m.right)):j=S-2*(L!==0||F!==0?L+F:Un(m.top,m.bottom))}await f({...t,availableWidth:P,availableHeight:j});const k=await l.getDimensions(u.floating);return O!==k.width||S!==k.height?{reset:{rects:!0}}:{}}}};function Kh(){return typeof window<"u"}function ul(e){return kR(e)?(e.nodeName||"").toLowerCase():"#document"}function Fn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qr(e){var t;return(t=(kR(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function kR(e){return Kh()?e instanceof Node||e instanceof Fn(e).Node:!1}function Or(e){return Kh()?e instanceof Element||e instanceof Fn(e).Element:!1}function Fr(e){return Kh()?e instanceof HTMLElement||e instanceof Fn(e).HTMLElement:!1}function dA(e){return!Kh()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Fn(e).ShadowRoot}const _L=new Set(["inline","contents"]);function Du(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=_r(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!_L.has(i)}const TL=new Set(["table","td","th"]);function AL(e){return TL.has(ul(e))}const EL=[":popover-open",":modal"];function Vh(e){return EL.some(t=>{try{return e.matches(t)}catch{return!1}})}const jL=["transform","translate","scale","rotate","perspective"],CL=["transform","translate","scale","rotate","perspective","filter"],ML=["paint","layout","strict","content"];function gS(e){const t=bS(),n=Or(e)?_r(e):e;return jL.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||CL.some(r=>(n.willChange||"").includes(r))||ML.some(r=>(n.contain||"").includes(r))}function NL(e){let t=wi(e);for(;Fr(t)&&!$s(t);){if(gS(t))return t;if(Vh(t))return null;t=wi(t)}return null}function bS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const PL=new Set(["html","body","#document"]);function $s(e){return PL.has(ul(e))}function _r(e){return Fn(e).getComputedStyle(e)}function Qh(e){return Or(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function wi(e){if(ul(e)==="html")return e;const t=e.assignedSlot||e.parentNode||dA(e)&&e.host||Qr(e);return dA(t)?t.host:t}function IR(e){const t=wi(e);return $s(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fr(t)&&Du(t)?t:IR(t)}function Vc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=IR(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),l=Fn(i);if(s){const u=Dx(l);return t.concat(l,l.visualViewport||[],Du(i)?i:[],u&&n?Vc(u):[])}return t.concat(i,Vc(i,[],n))}function Dx(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $R(e){const t=_r(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Fr(e),s=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=Dd(n)!==s||Dd(r)!==l;return u&&(n=s,r=l),{width:n,height:r,$:u}}function xS(e){return Or(e)?e:e.contextElement}function Ms(e){const t=xS(e);if(!Fr(t))return Ur(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=$R(t);let l=(s?Dd(n.width):n.width)/r,u=(s?Dd(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const RL=Ur(0);function qR(e){const t=Fn(e);return!bS()||!t.visualViewport?RL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function DL(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Fn(e)?!1:t}function yo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=xS(e);let l=Ur(1);t&&(r?Or(r)&&(l=Ms(r)):l=Ms(e));const u=DL(s,n,r)?qR(s):Ur(0);let f=(i.left+u.x)/l.x,d=(i.top+u.y)/l.y,m=i.width/l.x,p=i.height/l.y;if(s){const v=Fn(s),x=r&&Or(r)?Fn(r):r;let O=v,S=Dx(O);for(;S&&r&&x!==O;){const w=Ms(S),T=S.getBoundingClientRect(),C=_r(S),M=T.left+(S.clientLeft+parseFloat(C.paddingLeft))*w.x,N=T.top+(S.clientTop+parseFloat(C.paddingTop))*w.y;f*=w.x,d*=w.y,m*=w.x,p*=w.y,f+=M,d+=N,O=Fn(S),S=Dx(O)}}return Id({width:m,height:p,x:f,y:d})}function Xh(e,t){const n=Qh(e).scrollLeft;return t?t.left+n:yo(Qr(e)).left+n}function zR(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Xh(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function kL(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",l=Qr(r),u=t?Vh(t.floating):!1;if(r===l||u&&s)return n;let f={scrollLeft:0,scrollTop:0},d=Ur(1);const m=Ur(0),p=Fr(r);if((p||!p&&!s)&&((ul(r)!=="body"||Du(l))&&(f=Qh(r)),Fr(r))){const x=yo(r);d=Ms(r),m.x=x.x+r.clientLeft,m.y=x.y+r.clientTop}const v=l&&!p&&!s?zR(l,f):Ur(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-f.scrollLeft*d.x+m.x+v.x,y:n.y*d.y-f.scrollTop*d.y+m.y+v.y}}function IL(e){return Array.from(e.getClientRects())}function $L(e){const t=Qr(e),n=Qh(e),r=e.ownerDocument.body,i=Un(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Un(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Xh(e);const u=-n.scrollTop;return _r(r).direction==="rtl"&&(l+=Un(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:l,y:u}}const hA=25;function qL(e,t){const n=Fn(e),r=Qr(e),i=n.visualViewport;let s=r.clientWidth,l=r.clientHeight,u=0,f=0;if(i){s=i.width,l=i.height;const m=bS();(!m||m&&t==="fixed")&&(u=i.offsetLeft,f=i.offsetTop)}const d=Xh(r);if(d<=0){const m=r.ownerDocument,p=m.body,v=getComputedStyle(p),x=m.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,O=Math.abs(r.clientWidth-p.clientWidth-x);O<=hA&&(s-=O)}else d<=hA&&(s+=d);return{width:s,height:l,x:u,y:f}}const zL=new Set(["absolute","fixed"]);function LL(e,t){const n=yo(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=Fr(e)?Ms(e):Ur(1),l=e.clientWidth*s.x,u=e.clientHeight*s.y,f=i*s.x,d=r*s.y;return{width:l,height:u,x:f,y:d}}function pA(e,t,n){let r;if(t==="viewport")r=qL(e,n);else if(t==="document")r=$L(Qr(e));else if(Or(t))r=LL(t,n);else{const i=qR(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Id(r)}function LR(e,t){const n=wi(e);return n===t||!Or(n)||$s(n)?!1:_r(n).position==="fixed"||LR(n,t)}function BL(e,t){const n=t.get(e);if(n)return n;let r=Vc(e,[],!1).filter(u=>Or(u)&&ul(u)!=="body"),i=null;const s=_r(e).position==="fixed";let l=s?wi(e):e;for(;Or(l)&&!$s(l);){const u=_r(l),f=gS(l);!f&&u.position==="fixed"&&(i=null),(s?!f&&!i:!f&&u.position==="static"&&!!i&&zL.has(i.position)||Du(l)&&!f&&LR(e,l))?r=r.filter(m=>m!==l):i=u,l=wi(l)}return t.set(e,r),r}function UL(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const l=[...n==="clippingAncestors"?Vh(t)?[]:BL(t,this._c):[].concat(n),r],u=l[0],f=l.reduce((d,m)=>{const p=pA(t,m,i);return d.top=Un(p.top,d.top),d.right=Si(p.right,d.right),d.bottom=Si(p.bottom,d.bottom),d.left=Un(p.left,d.left),d},pA(t,u,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function HL(e){const{width:t,height:n}=$R(e);return{width:t,height:n}}function GL(e,t,n){const r=Fr(t),i=Qr(t),s=n==="fixed",l=yo(e,!0,s,t);let u={scrollLeft:0,scrollTop:0};const f=Ur(0);function d(){f.x=Xh(i)}if(r||!r&&!s)if((ul(t)!=="body"||Du(i))&&(u=Qh(t)),r){const x=yo(t,!0,s,t);f.x=x.x+t.clientLeft,f.y=x.y+t.clientTop}else i&&d();s&&!r&&i&&d();const m=i&&!r&&!s?zR(i,u):Ur(0),p=l.left+u.scrollLeft-f.x-m.x,v=l.top+u.scrollTop-f.y-m.y;return{x:p,y:v,width:l.width,height:l.height}}function nv(e){return _r(e).position==="static"}function mA(e,t){if(!Fr(e)||_r(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Qr(e)===n&&(n=n.ownerDocument.body),n}function BR(e,t){const n=Fn(e);if(Vh(e))return n;if(!Fr(e)){let i=wi(e);for(;i&&!$s(i);){if(Or(i)&&!nv(i))return i;i=wi(i)}return n}let r=mA(e,t);for(;r&&AL(r)&&nv(r);)r=mA(r,t);return r&&$s(r)&&nv(r)&&!gS(r)?n:r||NL(e)||n}const FL=async function(e){const t=this.getOffsetParent||BR,n=this.getDimensions,r=await n(e.floating);return{reference:GL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function YL(e){return _r(e).direction==="rtl"}const KL={convertOffsetParentRelativeRectToViewportRelativeRect:kL,getDocumentElement:Qr,getClippingRect:UL,getOffsetParent:BR,getElementRects:FL,getClientRects:IL,getDimensions:HL,get
vendor: 4,673 bytes, line 49
49Scale:Ms,isElement:Or,isRTL:YL};function UR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function VL(e,t){let n=null,r;const i=Qr(e);function s(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function l(u,f){u===void 0&&(u=!1),f===void 0&&(f=1),s();const d=e.getBoundingClientRect(),{left:m,top:p,width:v,height:x}=d;if(u||t(),!v||!x)return;const O=ud(p),S=ud(i.clientWidth-(m+v)),w=ud(i.clientHeight-(p+x)),T=ud(m),M={rootMargin:-O+"px "+-S+"px "+-w+"px "+-T+"px",threshold:Un(0,Si(1,f))||1};let N=!0;function _(E){const j=E[0].intersectionRatio;if(j!==f){if(!N)return l();j?l(!1,j):r=setTimeout(()=>{l(!1,1e-7)},1e3)}j===1&&!UR(d,e.getBoundingClientRect())&&l(),N=!1}try{n=new IntersectionObserver(_,{...M,root:i.ownerDocument})}catch{n=new IntersectionObserver(_,M)}n.observe(e)}return l(!0),s}function QL(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,d=xS(e),m=i||s?[...d?Vc(d):[],...Vc(t)]:[];m.forEach(T=>{i&&T.addEventListener("scroll",n,{passive:!0}),s&&T.addEventListener("resize",n)});const p=d&&u?VL(d,n):null;let v=-1,x=null;l&&(x=new ResizeObserver(T=>{let[C]=T;C&&C.target===d&&x&&(x.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var M;(M=x)==null||M.observe(t)})),n()}),d&&!f&&x.observe(d),x.observe(t));let O,S=f?yo(e):null;f&&w();function w(){const T=yo(e);S&&!UR(S,T)&&n(),S=T,O=requestAnimationFrame(w)}return n(),()=>{var T;m.forEach(C=>{i&&C.removeEventListener("scroll",n),s&&C.removeEventListener("resize",n)}),p?.(),(T=x)==null||T.disconnect(),x=null,f&&cancelAnimationFrame(O)}}const XL=xL,WL=SL,ZL=vL,JL=OL,e9=gL,yA=yL,t9=wL,n9=(e,t,n)=>{const r=new Map,i={platform:KL,...n},s={...i.platform,_c:r};return mL(e,t,{...i,platform:s})};var r9=typeof document<"u",a9=function(){},Pd=r9?$.useLayoutEffect:a9;function $d(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(!$d(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;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!$d(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function HR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vA(e,t){const n=HR(e);return Math.round(t*n)/n}function rv(e){const t=$.useRef(e);return Pd(()=>{t.current=e}),t}function i9(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:l}={},transform:u=!0,whileElementsMounted:f,open:d}=e,[m,p]=$.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,x]=$.useState(r);$d(v,r)||x(r);const[O,S]=$.useState(null),[w,T]=$.useState(null),C=$.useCallback(B=>{B!==E.current&&(E.current=B,S(B))},[]),M=$.useCallback(B=>{B!==j.current&&(j.current=B,T(B))},[]),N=s||O,_=l||w,E=$.useRef(null),j=$.useRef(null),P=$.useRef(m),k=f!=null,G=rv(f),q=rv(i),L=rv(d),F=$.useCallback(()=>{if(!E.current||!j.current)return;const B={placement:t,strategy:n,middleware:v};q.current&&(B.platform=q.current),n9(E.current,j.current,B).then(ee=>{const se={...ee,isPositioned:L.current!==!1};V.current&&!$d(P.current,se)&&(P.current=se,pS.flushSync(()=>{p(se)}))})},[v,t,n,q,L]);Pd(()=>{d===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,p(B=>({...B,isPositioned:!1})))},[d]);const V=$.useRef(!1);Pd(()=>(V.current=!0,()=>{V.current=!1}),[]),Pd(()=>{if(N&&(E.current=N),_&&(j.current=_),N&&_){if(G.current)return G.current(N,_,F);F()}},[N,_,F,G,k]);const X=$.useMemo(()=>({reference:E,floating:j,setReference:C,setFloating:M}),[C,M]),D=$.useMemo(()=>({reference:N,floating:_}),[N,_]),U=$.useMemo(()=>{const B={position:n,left:0,top:0};if(!D.floating)return B;const ee=vA(D.floating,m.x),se=vA(D.floating,m.y);return u?{...B,transform:"translate("+ee+"px, "+se+"px)",...HR(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ee,top:se}},[n,u,D.floating,m.x,m.y]);return $.useMemo(()=>({...m,update:F,refs:X,elements:D,floatingStyles:U}),[m,F,X,D,U])}const o9=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?yA({element:r.current,padding:i}).fn(n):{}:r?yA({element:r,padding:i}).fn(n):{}}}},s9=(e,t)=>({...XL(e),options:[e,t]}),l9=(e,t)=>
vendor: 10,096 bytes, line 49
49({...WL(e),options:[e,t]}),c9=(e,t)=>({...t9(e),options:[e,t]}),u9=(e,t)=>({...ZL(e),options:[e,t]}),f9=(e,t)=>({...JL(e),options:[e,t]}),d9=(e,t)=>({...e9(e),options:[e,t]}),h9=(e,t)=>({...o9(e),options:[e,t]});var p9="Arrow",GR=$.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return g.jsx(Ao.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:g.jsx("polygon",{points:"0,0 30,0 15,10"})})});GR.displayName=p9;var m9=GR;function y9(e){const[t,n]=$.useState(void 0);return Yc(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let l,u;if("borderBoxSize"in s){const f=s.borderBoxSize,d=Array.isArray(f)?f[0]:f;l=d.inlineSize,u=d.blockSize}else l=e.offsetWidth,u=e.offsetHeight;n({width:l,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var FR="Popper",[YR,KR]=ER(FR),[jie,VR]=YR(FR),QR="PopperAnchor",XR=$.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=VR(QR,n),l=$.useRef(null),u=To(t,l),f=$.useRef(null);return $.useEffect(()=>{const d=f.current;f.current=r?.current||l.current,d!==f.current&&s.onAnchorChange(f.current)}),r?null:g.jsx(Ao.div,{...i,ref:u})});XR.displayName=QR;var SS="PopperContent",[v9,g9]=YR(SS),WR=$.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:l=0,arrowPadding:u=0,avoidCollisions:f=!0,collisionBoundary:d=[],collisionPadding:m=0,sticky:p="partial",hideWhenDetached:v=!1,updatePositionStrategy:x="optimized",onPlaced:O,...S}=e,w=VR(SS,n),[T,C]=$.useState(null),M=To(t,pe=>C(pe)),[N,_]=$.useState(null),E=y9(N),j=E?.width??0,P=E?.height??0,k=r+(s!=="center"?"-"+s:""),G=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},q=Array.isArray(d)?d:[d],L=q.length>0,F={padding:G,boundary:q.filter(x9),altBoundary:L},{refs:V,floatingStyles:X,placement:D,isPositioned:U,middlewareData:B}=i9({strategy:"fixed",placement:k,whileElementsMounted:(...pe)=>QL(...pe,{animationFrame:x==="always"}),elements:{reference:w.anchor},middleware:[s9({mainAxis:i+P,alignmentAxis:l}),f&&l9({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?c9():void 0,...F}),f&&u9({...F}),f9({...F,apply:({elements:pe,rects:xe,availableWidth:fe,availableHeight:we})=>{const{width:Oe,height:ce}=xe.reference,Ue=pe.floating.style;Ue.setProperty("--radix-popper-available-width",`${fe}px`),Ue.setProperty("--radix-popper-available-height",`${we}px`),Ue.setProperty("--radix-popper-anchor-width",`${Oe}px`),Ue.setProperty("--radix-popper-anchor-height",`${ce}px`)}}),N&&h9({element:N,padding:u}),S9({arrowWidth:j,arrowHeight:P}),v&&d9({strategy:"referenceHidden",...F})]}),[ee,se]=e3(D),z=Yh(O);Yc(()=>{U&&z?.()},[U,z]);const Y=B.arrow?.x,Q=B.arrow?.y,te=B.arrow?.centerOffset!==0,[ue,he]=$.useState();return Yc(()=>{T&&he(window.getComputedStyle(T).zIndex)},[T]),g.jsx("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...X,transform:U?X.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:g.jsx(v9,{scope:n,placedSide:ee,onArrowChange:_,arrowX:Y,arrowY:Q,shouldHideArrow:te,children:g.jsx(Ao.div,{"data-side":ee,"data-align":se,...S,ref:M,style:{...S.style,animation:U?void 0:"none"}})})})});WR.displayName=SS;var ZR="PopperArrow",b9={top:"bottom",right:"left",bottom:"top",left:"right"},JR=$.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=g9(ZR,r),l=b9[s.placedSide];return g.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:g.jsx(m9,{...i,ref:n,style:{...i.style,display:"block"}})})});JR.displayName=ZR;function x9(e){return e!==null}var S9=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:i}=t,l=i.arrow?.centerOffset!==0,u=l?0:e.arrowWidth,f=l?0:e.arrowHeight,[d,m]=e3(n),p={start:"0%",center:"50%",end:"100%"}[m],v=(i.arrow?.x??0)+u/2,x=(i.arrow?.y??0)+f/2;let O="",S="";return d==="bottom"?(O=l?p:`${v}px`,S=`${-f}px`):d==="top"?(O=l?p:`${v}px`,S=`${r.floating.height+f}px`):d==="right"?(O=`${-f}px`,S=l?p:`${x}px`):d==="left"&&(O=`${r.floating.width+f}px`,S=l?p:`${x}px`),{data:{x:O,y:S}}}});function e3(e){const[t,n="center"]=e.split("-");return[t,n]}var w9=XR,O9=WR,_9=JR;function T9(e,t){return $.useReducer((n,r)=>t[n][r]??n,e)}var t3=e=>{const{present:t,children:n}=e,r=A9(t),i=typeof n=="function"?n({present:r.isPresent}):$.Children.only(n),s=To(r.ref,E9(i));return typeof n=="function"||r.isPresent?$.cloneElement(i,{ref:s}):null};t3.displayName="Presence";function A9(e){const[t,n]=$.useState(),r=$.useRef(null),i=$.useRef(e),s=$.useRef("none"),l=e?"mounted":"unmounted",[u,f]=T9(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return $.useEffect(()=>{const d=fd(r.current);s.current=u==="mounted"?d:"none"},[u]),Yc(()=>{const d=r.current,m=i.current;if(m!==e){const v=s.current,x=fd(d);e?f("MOUNT"):x==="none"||d?.display==="none"?f("UNMOUNT"):f(m&&v!==x?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,f]),Yc(()=>{if(t){let d;const m=t.ownerDocument.defaultView??window,p=x=>{const S=fd(r.current).includes(CSS.escape(x.animationName));if(x.target===t&&S&&(f("ANIMATION_END"),!i.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",d=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},v=x=>{x.target===t&&(s.current=fd(r.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{m.clearTimeout(d),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:$.useCallback(d=>{r.current=d?getComputedStyle(d):null,n(d)},[])}}function fd(e){return e?.animationName||"none"}function E9(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var j9=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),C9="VisuallyHidden",n3=$.forwardRef((e,t)=>g.jsx(Ao.span,{...e,ref:t,style:{...j9,...e.style}}));n3.displayName=C9;var M9=n3,[Wh]=ER("Tooltip",[KR]),wS=KR(),r3="TooltipProvider",N9=700,gA="tooltip.open",[P9,a3]=Wh(r3),i3=e=>{const{__scopeTooltip:t,delayDuration:n=N9,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,l=$.useRef(!0),u=$.useRef(!1),f=$.useRef(0);return $.useEffect(()=>{const d=f.current;return()=>window.clearTimeout(d)},[]),g.jsx(P9,{scope:t,isOpenDelayedRef:l,delayDuration:n,onOpen:$.useCallback(()=>{window.clearTimeout(f.current),l.current=!1},[]),onClose:$.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:u,onPointerInTransitChange:$.useCallback(d=>{u.current=d},[]),disableHoverableContent:i,children:s})};i3.displayName=r3;var o3="Tooltip",[Cie,Zh]=Wh(o3),kx="TooltipTrigger",R9=$.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Zh(kx,n),s=a3(kx,n),l=wS(n),u=$.useRef(null),f=To(t,u,i.onTriggerChange),d=$.useRef(!1),m=$.useRef(!1),p=$.useCallback(()=>d.current=!1,[]);return $.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),g.jsx(w9,{asChild:!0,...l,children:g.jsx(Ao.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:f,onPointerMove:ga(e.onPointerMove,v=>{v.pointerType!=="touch"&&!m.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),m.current=!0)}),onPointerLeave:ga(e.onPointerLeave,()=>{i.onTriggerLeave(),m.current=!1}),onPointerDown:ga(e.onPointerDown,()=>{i.open&&i.onClose(),d.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:ga(e.onFocus,()=>{d.current||i.onOpen()}),onBlur:ga(e.onBlur,i.onClose),onClick:ga(e.onClick,i.onClose)})})});R9.displayName=kx;var D9="TooltipPortal",[Mie,k9]=Wh(D9,{forceMount:void 0}),qs="TooltipContent",I9=$.forwardRef((e,t)=>{const n=k9(qs,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,l=Zh(qs,e.__scopeTooltip);return g.jsx(t3,{present:r||l.open,children:l.disableHoverableContent?g.jsx(s3,{side:i,...s,ref:t}):g.jsx($9,{side:i,...s,ref:t})})}),$9=$.forwardRef((e,t)=>{const n=Zh(qs,e.__scopeTooltip),r=a3(qs,e.__scopeTooltip),i=$.useRef(null),s=To(t,i),[l,u]=$.useState(null),{trigger:f,onClose:d}=n,m=i.current,{onPointerInTransitChange:p}=r,v=$.useCallback(()=>{u(null),p(!1)},[p]),x=$.useCallback((O,S)=>{const w=O.currentTarget,T={x:O.clientX,y:O.clientY},C=U9(T,w.getBoundingClientRect()),M=H9(T,C),N=G9(S.getBoundingClientRect()),_=Y9([...M,...N]);u(_),p(!0)},[p]);return $.useEffect(()=>()=>v(),[v]),$.useEffect(()=>{if(f&&m){const O=w=>x(w,m),S=w=>x(w,f);return f.addEventListener("pointerleave",O),m.addEventListener("pointerleave",S),()=>{f.removeEventListener("pointerleave",O),m.removeEventListener("pointerleave",S)}}},[f,m,x,v]),$.useEffect(()=>{if(l){const O=S=>{const w=S.target,T={x:S.clientX,y:S.clientY},C=f?.contains(w)||m?.contains(w),M=!F9(T,l);C?v():M&&(v(),d())};return document.addEventListener("pointermove",O),()=>document.removeEventListener("pointermove",O)}},[f,m,l,d,v]),g.jsx(s3,{...e,ref:s})}),[q9,z9]=Wh(o3,{isInside:!1}),L9=Gz("TooltipContent"),s3=$.forwardRef((e,t)=>
vendor: 7,930 bytes, line 49
49{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:l,...u}=e,f=Zh(qs,n),d=wS(n),{onClose:m}=f;return $.useEffect(()=>(document.addEventListener(gA,m),()=>document.removeEventListener(gA,m)),[m]),$.useEffect(()=>{if(f.trigger){const p=v=>{v.target?.contains(f.trigger)&&m()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[f.trigger,m]),g.jsx(NR,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:p=>p.preventDefault(),onDismiss:m,children:g.jsxs(O9,{"data-state":f.stateAttribute,...d,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[g.jsx(L9,{children:r}),g.jsx(q9,{scope:n,isInside:!0,children:g.jsx(M9,{id:f.contentId,role:"tooltip",children:i||r})})]})})});I9.displayName=qs;var l3="TooltipArrow",B9=$.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=wS(n);return z9(l3,n).isInside?null:g.jsx(_9,{...i,...r,ref:t})});B9.displayName=l3;function U9(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function H9(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function G9(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function F9(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,l=t.length-1;s<t.length;l=s++){const u=t[s],f=t[l],d=u.x,m=u.y,p=f.x,v=f.y;m>r!=v>r&&n<(p-d)*(r-m)/(v-m)+d&&(i=!i)}return i}function Y9(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),K9(t)}function K9(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],l=t[t.length-2];if((s.x-l.x)*(i.y-l.y)>=(s.y-l.y)*(i.x-l.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],l=n[n.length-2];if((s.x-l.x)*(i.y-l.y)>=(s.y-l.y)*(i.x-l.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var V9=i3;function c3(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=c3(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function qe(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=c3(e))&&(r&&(r+=" "),r+=t);return r}const OS="-",Q9=e=>{const t=W9(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const u=l.split(OS);return u[0]===""&&u.length!==1&&u.shift(),u3(u,t)||X9(l)},getConflictingClassGroupIds:(l,u)=>{const f=n[l]||[];return u&&r[l]?[...f,...r[l]]:f}}},u3=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?u3(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(OS);return t.validators.find(({validator:l})=>l(s))?.classGroupId},bA=/^\[(.+)\]$/,X9=e=>{if(bA.test(e)){const t=bA.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},W9=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)Ix(n[i],r,i,t);return r},Ix=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:xA(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(Z9(i)){Ix(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,l])=>{Ix(l,xA(t,s),n,r)})})},xA=(e,t)=>{let n=e;return t.split(OS).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Z9=e=>e.isThemeGetter,J9=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,l)=>{n.set(s,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let l=n.get(s);if(l!==void 0)return l;if((l=r.get(s))!==void 0)return i(s,l),l},set(s,l){n.has(s)?n.set(s,l):i(s,l)}}},$x="!",qx=":",eB=qx.length,tB=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const s=[];let l=0,u=0,f=0,d;for(let O=0;O<i.length;O++){let S=i[O];if(l===0&&u===0){if(S===qx){s.push(i.slice(f,O)),f=O+eB;continue}if(S==="/"){d=O;continue}}S==="["?l++:S==="]"?l--:S==="("?u++:S===")"&&u--}const m=s.length===0?i:i.substring(f),p=nB(m),v=p!==m,x=d&&d>f?d-f:void 0;return{modifiers:s,hasImportantModifier:v,baseClassName:p,maybePostfixModifierPosition:x}};if(t){const i=t+qx,s=r;r=l=>l.startsWith(i)?s(l.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=s=>n({className:s,parseClassName:i})}return r},nB=e=>e.endsWith($x)?e.substring(0,e.length-1):e.startsWith($x)?e.substring(1):e,rB=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let s=[];return r.forEach(l=>{l[0]==="["||t[l]?(i.push(...s.sort(),l),s=[]):s.push(l)}),i.push(...s.sort()),i}},aB=e=>({cache:J9(e.cacheSize),parseClassName:tB(e),sortModifiers:rB(e),...Q9(e)}),iB=/\s+/,oB=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:s}=t,l=[],u=e.trim().split(iB);let f="";for(let d=u.length-1;d>=0;d-=1){const m=u[d],{isExternal:p,modifiers:v,hasImportantModifier:x,baseClassName:O,maybePostfixModifierPosition:S}=n(m);if(p){f=m+(f.length>0?" "+f:f);continue}let w=!!S,T=r(w?O.substring(0,S):O);if(!T){if(!w){f=m+(f.length>0?" "+f:f);continue}if(T=r(O),!T){f=m+(f.length>0?" "+f:f);continue}w=!1}const C=s(v).join(":"),M=x?C+$x:C,N=M+T;if(l.includes(N))continue;l.push(N);const _=i(T,w);for(let E=0;E<_.length;++E){const j=_[E];l.push(M+j)}f=m+(f.length>0?" "+f:f)}return f};function sB(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=f3(t))&&(r&&(r+=" "),r+=n);return r}const f3=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=f3(e[r]))&&(n&&(n+=" "),n+=t);return n};function lB(e,...t){let n,r,i,s=l;function l(f){const d=t.reduce((m,p)=>p(m),e());return n=aB(d),r=n.cache.get,i=n.cache.set,s=u,u(f)}function u(f){const d=r(f);if(d)return d;const m=oB(f,n);return i(f,m),m}return function(){return s(sB.apply(null,arguments))}}const Rt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},d3=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,h3=/^\((?:(\w[\w-]*):)?(.+)\)$/i,cB=/^\d+\/\d+$/,uB=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fB=/\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$/,dB=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,hB=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pB=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ss=e=>cB.test(e),De=e=>!!e&&!Number.isNaN(Number(e)),li=e=>!!e&&Number.isInteger(Number(e)),av=e=>e.endsWith("%")&&De(e.slice(0,-1)),ya=e=>uB.test(e),mB=()=>!0,yB=e=>fB.test(e)&&!dB.test(e),p3=()=>!1,vB=e=>hB.test(e),gB=e=>pB.test(e),bB=e=>!ge(e)&&!be(e),xB=e=>fl(e,v3,p3),ge=e=>d3.test(e),Zi=e=>fl(e,g3,yB),iv=e=>fl(e,TB,De),SA=e=>fl(e,m3,p3),SB=e=>fl(e,y3,gB),dd=e=>fl(e,b3,vB),be=e=>h3.test(e),vc=e=>dl(e,g3),wB=e=>dl(e,AB),wA=e=>dl(e,m3),OB=e=>dl(e,v3),_B=e=>dl(e,y3),hd=e=>
vendor: 4,518 bytes, line 49
49dl(e,b3,!0),fl=(e,t,n)=>{const r=d3.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},dl=(e,t,n=!1)=>{const r=h3.exec(e);return r?r[1]?t(r[1]):n:!1},m3=e=>e==="position"||e==="percentage",y3=e=>e==="image"||e==="url",v3=e=>e==="length"||e==="size"||e==="bg-size",g3=e=>e==="length",TB=e=>e==="number",AB=e=>e==="family-name",b3=e=>e==="shadow",EB=()=>{const e=Rt("color"),t=Rt("font"),n=Rt("text"),r=Rt("font-weight"),i=Rt("tracking"),s=Rt("leading"),l=Rt("breakpoint"),u=Rt("container"),f=Rt("spacing"),d=Rt("radius"),m=Rt("shadow"),p=Rt("inset-shadow"),v=Rt("text-shadow"),x=Rt("drop-shadow"),O=Rt("blur"),S=Rt("perspective"),w=Rt("aspect"),T=Rt("ease"),C=Rt("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],_=()=>[...N(),be,ge],E=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],P=()=>[be,ge,f],k=()=>[Ss,"full","auto",...P()],G=()=>[li,"none","subgrid",be,ge],q=()=>["auto",{span:["full",li,be,ge]},li,be,ge],L=()=>[li,"auto",be,ge],F=()=>["auto","min","max","fr",be,ge],V=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],X=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...P()],U=()=>[Ss,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],B=()=>[e,be,ge],ee=()=>[...N(),wA,SA,{position:[be,ge]}],se=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",OB,xB,{size:[be,ge]}],Y=()=>[av,vc,Zi],Q=()=>["","none","full",d,be,ge],te=()=>["",De,vc,Zi],ue=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[De,av,wA,SA],xe=()=>["","none",O,be,ge],fe=()=>["none",De,be,ge],we=()=>["none",De,be,ge],Oe=()=>[De,be,ge],ce=()=>[Ss,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ya],breakpoint:[ya],color:[mB],container:[ya],"drop-shadow":[ya],ease:["in","out","in-out"],font:[bB],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ya],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ya],shadow:[ya],spacing:["px",De],text:[ya],"text-shadow":[ya],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ss,ge,be,w]}],container:["container"],columns:[{columns:[De,ge,be,u]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:_()}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[li,"auto",be,ge]}],basis:[{basis:[Ss,"full","auto",u,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[De,Ss,"auto","initial","none",ge]}],grow:[{grow:["",De,be,ge]}],shrink:[{shrink:["",De,be,ge]}],order:[{order:[li,"first","last","none",be,ge]}],"grid-cols":[{"grid-cols":G()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":L()}
vendor: 11,052 bytes, line 49
49],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":G()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...V(),"normal"]}],"justify-items":[{"justify-items":[...X(),"normal"]}],"justify-self":[{"justify-self":["auto",...X()]}],"align-content":[{content:["normal",...V()]}],"align-items":[{items:[...X(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...X(),{baseline:["","last"]}]}],"place-content":[{"place-content":V()}],"place-items":[{"place-items":[...X(),"baseline"]}],"place-self":[{"place-self":["auto",...X()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],w:[{w:[u,"screen",...U()]}],"min-w":[{"min-w":[u,"screen","none",...U()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[l]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",n,vc,Zi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,be,iv]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",av,ge]}],"font-family":[{font:[wB,ge,t]}],"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,be,ge]}],"line-clamp":[{"line-clamp":[De,"none",be,iv]}],leading:[{leading:[s,...P()]}],"list-image":[{"list-image":["none",be,ge]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",be,ge]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:[De,"from-font","auto",be,Zi]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[De,"auto",be,ge]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be,ge]}],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",be,ge]}],"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:se()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},li,be,ge],radial:["",be,ge],conic:[li,be,ge]},_B,SB]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:Y()}],"gradient-via-pos":[{via:Y()}],"gradient-to-pos":[{to:Y()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:Q()}],"rounded-s":[{"rounded-s":Q()}],"rounded-e":[{"rounded-e":Q()}],"rounded-t":[{"rounded-t":Q()}],"rounded-r":[{"rounded-r":Q()}],"rounded-b":[{"rounded-b":Q()}],"rounded-l":[{"rounded-l":Q()}],"rounded-ss":[{"rounded-ss":Q()}],"rounded-se":[{"rounded-se":Q()}],"rounded-ee":[{"rounded-ee":Q()}],"rounded-es":[{"rounded-es":Q()}],"rounded-tl":[{"rounded-tl":Q()}],"rounded-tr":[{"rounded-tr":Q()}],"rounded-br":[{"rounded-br":Q()}],"rounded-bl":[{"rounded-bl":Q()}],"border-w":[{border:te()}],"border-w-x":[{"border-x":te()}],"border-w-y":[{"border-y":te()}],"border-w-s":[{"border-s":te()}],"border-w-e":[{"border-e":te()}],"border-w-t":[{"border-t":te()}],"border-w-r":[{"border-r":te()}],"border-w-b":[{"border-b":te()}],"border-w-l":[{"border-l":te()}],"divide-x":[{"divide-x":te()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":te()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ue(),"hidden","none"]}],"divide-style":[{divide:[...ue(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[...ue(),"none","hidden"]}],"outline-offset":[{"outline-offset":[De,be,ge]}],"outline-w":[{outline:["",De,vc,Zi]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",m,hd,dd]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",p,hd,dd]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[De,Zi]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":te()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",v,hd,dd]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[De,be,ge]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"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":[De]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[be,ge]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"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":N()}],"mask-image-conic-pos":[{"mask-conic":[De]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ee()}],"mask-repeat":[{mask:se()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",be,ge]}],filter:[{filter:["","none",be,ge]}],blur:[{blur:xe()}],brightness:[{brightness:[De,be,ge]}],contrast:[{contrast:[De,be,ge]}],"drop-shadow":[{"drop-shadow":["","none",x,hd,dd]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",De,be,ge]}],"hue-rotate":[{"hue-rotate":[De,be,ge]}],invert:[{invert:["",De,be,ge]}],saturate:[{saturate:[De,be,ge]}],sepia:[{sepia:["",De,be,ge]}],"backdrop-filter":[{"backdrop-filter":["","none",be,ge]}],"backdrop-blur":[{"backdrop-blur":xe()}],"backdrop-brightness":[{"backdrop-brightness":[De,be,ge]}],"backdrop-contrast":[{"backdrop-contrast":[De,be,ge]}],"backdrop-grayscale":[{"backdrop-grayscale":["",De,be,ge]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[De,be,ge]}],"backdrop-invert":[{"backdrop-invert":["",De,be,ge]}],"backdrop-opacity":[{"backdrop-opacity":[De,be,ge]}],"backdrop-saturate":[{"backdrop-saturate":[De,be,ge]}],"backdrop-sepia":[{"backdrop-sepia":["",De,be,ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",be,ge]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[De,"initial",be,ge]}],ease:[{ease:["linear","initial",T,be,ge]}],delay:[{delay:[De,be,ge]}],animate:[{animate:["none",C,be,ge]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,be,ge]}],"perspective-origin":[{"perspective-origin":_()}],rotate:[{rotate:fe()}],"rotate-x":[{"rotate-x":fe()}],"rotate-y":[{"rotate-y":fe()}],"rotate-z":[{"rotate-z":fe()}],scale:[{scale:we()}],"scale-x":[{"scale-x":we()}],"scale-y":[{"scale-y":we()}],"scale-z":[{"scale-z":we()}],"scale-3d":["scale-3d"],skew:[{skew:Oe()}],"skew-x":[{"skew-x":Oe()}],"skew-y":[{"skew-y":Oe()}],transform:[{transform:[be,ge,"","none","gpu","cpu"]}],"transform-origin":[{origin:_()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ce()}],"translate-x":[{"translate-x":ce()}],"translate-y":[{"translate-y":ce()}],"translate-z":[{"translate-z":ce()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}
vendor: 7,387 bytes, lines 49-54
49],"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",be,ge]}],"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":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"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",be,ge]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[De,vc,Zi,iv]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-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-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-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-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"]}},jB=lB(EB);function Jh(...e){return jB(qe(e))}function CB({delayDuration:e=0,...t}){return g.jsx(V9,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}const OA=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,_A=qe,MB=(e,t)=>n=>{var r;if(t?.variants==null)return _A(e,n?.class,n?.className);const{variants:i,defaultVariants:s}=t,l=Object.keys(i).map(d=>{const m=n?.[d],p=s?.[d];if(m===null)return null;const v=OA(m)||OA(p);return i[d][v]}),u=n&&Object.entries(n).reduce((d,m)=>{let[p,v]=m;return v===void 0||(d[p]=v),d},{}),f=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,m)=>{let{class:p,className:v,...x}=m;return Object.entries(x).every(O=>{let[S,w]=O;return Array.isArray(w)?w.includes({...s,...u}[S]):{...s,...u}[S]===w})?[...d,p,v]:d},[]);return _A(e,l,f,n?.class,n?.className)},NB=MB("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function PB({className:e,variant:t,size:n,asChild:r=!1,...i}){const s=r?Uz:"button";return g.jsx(s,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Jh(NB({variant:t,size:n,className:e})),...i})}function RB({className:e,...t}){return g.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Jh("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function DB({className:e,...t}){return g.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Jh("px-6",e),...t})}/**
50 * @license lucide-react v0.453.0 - ISC
51 *
52 * This source code is licensed under the ISC license.
53 * See the LICENSE file in the root directory of this source tree.
54 */const kB=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),x3=(...e)=>
vendor: 6,416 bytes, lines 54-139
54e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/**
55 * @license lucide-react v0.453.0 - ISC
56 *
57 * This source code is licensed under the ISC license.
58 * See the LICENSE file in the root directory of this source tree.
59 */var IB={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
60 * @license lucide-react v0.453.0 - ISC
61 *
62 * This source code is licensed under the ISC license.
63 * See the LICENSE file in the root directory of this source tree.
64 */const $B=$.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:l,...u},f)=>$.createElement("svg",{ref:f,...IB,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:x3("lucide",i),...u},[...l.map(([d,m])=>$.createElement(d,m)),...Array.isArray(s)?s:[s]]));/**
65 * @license lucide-react v0.453.0 - ISC
66 *
67 * This source code is licensed under the ISC license.
68 * See the LICENSE file in the root directory of this source tree.
69 */const $t=(e,t)=>{const n=$.forwardRef(({className:r,...i},s)=>$.createElement($B,{ref:s,iconNode:t,className:x3(`lucide-${kB(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
70 * @license lucide-react v0.453.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const qB=$t("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
75 * @license lucide-react v0.453.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */const S3=$t("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
80 * @license lucide-react v0.453.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const w3=$t("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
85 * @license lucide-react v0.453.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const TA=$t("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
90 * @license lucide-react v0.453.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const zB=$t("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
95 * @license lucide-react v0.453.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const LB=$t("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
100 * @license lucide-react v0.453.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const O3=$t("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
105 * @license lucide-react v0.453.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const BB=$t("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
110 * @license lucide-react v0.453.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const UB=$t("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
115 * @license lucide-react v0.453.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const HB=$t("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
120 * @license lucide-react v0.453.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const _3=$t("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
125 * @license lucide-react v0.453.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const GB=$t("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
130 * @license lucide-react v0.453.0 - ISC
131 *
132 * This source code is licensed under the ISC license.
133 * See the LICENSE file in the root directory of this source tree.
134 */const FB=$t("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
135 * @license lucide-react v0.453.0 - ISC
136 *
137 * This source code is licensed under the ISC license.
138 * See the LICENSE file in the root directory of this source tree.
139 */const YB=$t("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
139y:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/**
140 * @license lucide-react v0.453.0 - ISC
141 *
142 * This source code is licensed under the ISC license.
143 * See the LICENSE file in the root directory of this source tree.
144 */const KB=$t("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
145 * @license lucide-react v0.453.0 - ISC
146 *
147 * This source code is licensed under the ISC license.
148 * See the LICENSE file in the root directory of this source tree.
149 */const VB=$t("Timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]);/**
150 * @license lucide-react v0.453.0 - ISC
151 *
152 * This source code is licensed under the ISC license.
153 * See the LICENSE file in the root directory of this source tree.
154 */const _S=$t("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/**
155 * @license lucide-react v0.453.0 - ISC
156 *
157 * This source code is licensed under the ISC license.
158 * See the LICENSE file in the root directory of this source tree.
159 */const TS=$t("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
160 * @license lucide-react v0.453.0 - ISC
161 *
162 * This source code is licensed under the ISC license.
163 * See the LICENSE file in the root directory of this source tree.
164 */const ep=$t("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);function QB(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,i,s,l=[],u="",f=e.split("/");for(f[0]||f.shift();i=f.shift();)n=i[0],n==="*"?(l.push(n),u+=i[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=i.indexOf("?",1),s=i.indexOf(".",1),l.push(i.substring(1,~r?r:~s?s:i.length)),u+=~r&&!~s?"(?:/([^/]+?))?":"/([^/]+?)",~s&&(u+=(~r?"?":"")+"\\"+i.substring(s))):u+="/"+i;return{keys:l,pattern:new RegExp("^"+u+(t?"(?=$|/)":"/?$"),"i")}}var ov={exports:{}},sv={};/**
165 * @license React
166 * use-sync-external-store-shim.production.js
167 *
168 * Copyright (c) Meta Platforms, Inc. and affiliates.
169 *
170 * This source code is licensed under the MIT license found in the
171 * LICENSE file in the root directory of this source tree.
172 */var AA;function XB(){if(AA)return sv;AA=1;var e=zh();function t(p,v){return p===v&&(p!==0||1/p===1/v)||p!==p&&v!==v}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,s=e.useLayoutEffect,l=e.useDebugValue;function u(p,v){var x=v(),O=r({inst:{value:x,getSnapshot:v}}),S=O[0].inst,w=O[1];return s(function(){S.value=x,S.getSnapshot=v,f(S)&&w({inst:S})},[p,x,v]),i(function(){return f(S)&&w({inst:S}),p(function(){f(S)&&w({inst:S})})},[p]),l(x),x}function f(p){var v=p.getSnapshot;p=p.value;try{var x=v();return!n(p,x)}catch{return!0}}function d(p,v){return v()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:u;return sv.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,sv}var EA;function WB(){return EA||(EA=1,ov.exports=XB()),ov.exports}var ZB=WB();const JB=k5.useInsertionEffect,e7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",t7=e7?$.useLayoutEffect:$.useEffect,n7=JB||t7,T3=e=>{const t=$.useRef([e,(...n)=>t[0](...n)]).current;return n7(()=>{t[0]=e}),t[1]},r7="popstate",AS="pushState",ES="replaceState",a7="hashchange",jA=[r7,AS,ES,a7],i7=e=>{for(const t of jA)addEventListener(t,e);return()=>{for(const t of jA)removeEventListener(t,e)}},A3=(e,t)=>
172ZB.useSyncExternalStore(i7,e,t),o7=()=>location.search,s7=({ssrSearch:e=""}={})=>A3(o7,()=>e),CA=()=>location.pathname,l7=({ssrPath:e}={})=>A3(CA,e?()=>e:CA),c7=(e,{replace:t=!1,state:n=null}={})=>history[t?ES:AS](n,"",e),u7=(e={})=>[l7(e),c7],MA=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[MA]>"u"){for(const e of[AS,ES]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,MA,{value:!0})}const f7=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",E3=(e="")=>e==="/"?"":e,d7=(e,t)=>e[0]==="~"?e.slice(1):E3(t)+e,h7=(e="",t)=>f7(NA(E3(e)),NA(t)),NA=e=>{try{return decodeURI(e)}catch{return e}},j3={hook:u7,searchHook:s7,parser:QB,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},C3=$.createContext(j3),ku=()=>$.useContext(C3),M3={},N3=$.createContext(M3),p7=()=>$.useContext(N3),tp=e=>{const[t,n]=e.hook(e);return[h7(e.base,t),T3((r,i)=>n(d7(r,e.base),i))]},m7=()=>tp(ku()),P3=(e,t,n,r)=>{const{pattern:i,keys:s}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),l=i.exec(n)||[],[u,...f]=l;return u!==void 0?[!0,(()=>{const d=s!==!1?Object.fromEntries(s.map((p,v)=>[p,f[v]])):l.groups;let m={...f};return d&&Object.assign(m,d),m})(),...r?[u]:[]]:[!1,null]},y7=({children:e,...t})=>{const n=ku(),r=t.hook?j3:n;let i=r;const[s,l]=t.ssrPath?.split("?")??[];l&&(t.ssrSearch=l,t.ssrPath=s),t.hrefs=t.hrefs??t.hook?.hrefs;let u=$.useRef({}),f=u.current,d=f;for(let m in r){const p=m==="base"?r[m]+(t[m]||""):t[m]||r[m];f===d&&p!==d[m]&&(u.current=d={...d}),d[m]=p,(p!==r[m]||p!==i[m])&&(i=d)}return $.createElement(C3.Provider,{value:i,children:e})},PA=({children:e,component:t},n)=>t?$.createElement(t,{params:n}):typeof e=="function"?e(n):e,v7=e=>{let t=$.useRef(M3);const n=t.current;return t.current=Object.keys(e).length!==Object.keys(n).length||Object.entries(e).some(([r,i])=>i!==n[r])?e:n},lv=({path:e,nest:t,match:n,...r})=>{const i=ku(),[s]=tp(i),[l,u,f]=n??P3(i.parser,e,s,t),d=v7({...p7(),...u});if(!l)return null;const m=f?$.createElement(y7,{base:f},PA(r,d)):PA(r,d);return $.createElement(N3.Provider,{value:d,children:m})};$.forwardRef((e,t)=>{const n=ku(),[r,i]=tp(n),{to:s="",href:l=s,onClick:u,asChild:f,children:d,className:m,replace:p,state:v,...x}=e,O=T3(w=>{w.ctrlKey||w.metaKey||w.altKey||w.shiftKey||w.button!==0||(u?.(w),w.defaultPrevented||(w.preventDefault(),i(l,e)))}),S=n.hrefs(l[0]==="~"?l.slice(1):n.base+l,n);return f&&$.isValidElement(d)?$.cloneElement(d,{onClick:O,href:S}):$.createElement("a",{...x,onClick:O,href:S,className:m?.call?m(r===l):m,children:d,ref:t})});const zx=e=>Array.isArray(e)?e.flatMap(t=>zx(t&&t.type===$.Fragment?t.props.children:t)):[e],g7=({children:e,location:t})=>{const n=ku(),[r]=tp(n);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),zx(e).forEach(s=>{if($.isValidElement(s)&&s.props.path){const l=s.props.path;window.__WOUTER_ROUTES__.includes(l)||window.__WOUTER_ROUTES__.push(l)}}));for(const i of zx(e)){let s=0;if($.isValidElement(i)&&(s=P3(n.parser,i.props.path,t||r,i.props.nest))[0])return $.cloneElement(i,{match:s})}return null};function RA(){const[,e]=m7(),t=()=>{e("/")};return g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:g.jsx(RB,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:g.jsxs(DB,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:g.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),g.jsx(LB,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),g.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),g.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),g.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",g.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",id:"not-found-button-group",className:"flex flex-col sm:flex-row gap-3 justify-center",children:g.jsxs(PB,{"data-loc":"client/src/pages/NotFound.tsx:40",onClick:t,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[g.jsx(HB,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class b7 extends $.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?g.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:g.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[g.jsx(ep,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),g.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),g.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:g.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),g.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Jh("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[g.jsx(FB,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const x7=$.createContext(void 0);function S7({children:e,defaultTheme:t="light",switchable:n=!1}){const[r,i]=$.useState(()=>n&&localStorage.getItem("theme")||t);$.useEffect(()=>{const l=document.documentElement;
172r==="dark"?l.classList.add("dark"):l.classList.remove("dark"),n&&localStorage.setItem("theme",r)},[r,n]);const s=n?()=>{i(l=>l==="light"?"dark":"light")}:void 0;return g.jsx(x7.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:s,switchable:n},children:e})}function w7(){const[e,t]=$.useState(new Date);$.useEffect(()=>{const i=setInterval(()=>t(new Date),1e3);return()=>clearInterval(i)},[]);const n=i=>i.toLocaleTimeString("ar-SA",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}),r=i=>i.toLocaleDateString("ar-SA",{weekday:"long",year:"numeric",month:"long",day:"numeric"});return g.jsx("header",{"data-loc":"client/src/components/Header.tsx:36",className:"sticky top-0 z-50 border-b border-[#1f2937] bg-[#0a0e1a]/95 backdrop-blur-md",children:g.jsxs("div",{"data-loc":"client/src/components/Header.tsx:37",className:"container flex items-center justify-between py-3",children:[g.jsxs("div",{"data-loc":"client/src/components/Header.tsx:39",className:"flex items-center gap-3",children:[g.jsx("div",{"data-loc":"client/src/components/Header.tsx:40",className:"flex items-center justify-center w-10 h-10 rounded-lg bg-blue-500/10 border border-blue-500/20",children:g.jsx("img",{"data-loc":"client/src/components/Header.tsx:41",src:"https://d2xsxph8kpxj0f.cloudfront.net/310519663122694487/6ESGdf3Zd9fBHKyyezWMZk/logo-icon-KJKErKnarLx8nnAAWZydbp.webp",alt:"Logo",className:"w-7 h-7"})}),g.jsxs("div",{"data-loc":"client/src/components/Header.tsx:47",children:[g.jsx("h1",{"data-loc":"client/src/components/Header.tsx:48",className:"text-lg font-bold text-white leading-tight",children:"نبض الأسواق العالمية"}),g.jsx("p",{"data-loc":"client/src/components/Header.tsx:51",className:"text-xs text-gray-400",children:"لوحة البيانات الاقتصادية والمالية"})]})]}),g.jsxs("div",{"data-loc":"client/src/components/Header.tsx:56",className:"flex items-center gap-4",children:[g.jsxs("div",{"data-loc":"client/src/components/Header.tsx:57",className:"hidden sm:flex items-center gap-2 px-3 py-1.5 rounded-full bg-green-500/10 border border-green-500/20",children:[g.jsx(qB,{"data-loc":"client/src/components/Header.tsx:58",className:"w-3.5 h-3.5 text-green-400 animate-pulse"}),g.jsx("span",{"data-loc":"client/src/components/Header.tsx:59",className:"text-xs font-medium text-green-400",children:"مباشر"})]}),g.jsxs("div",{"data-loc":"client/src/components/Header.tsx:61",className:"text-left",children:[g.jsx("p",{"data-loc":"client/src/components/Header.tsx:62",className:"text-sm font-semibold text-white tabular-nums",children:n(e)}),g.jsx("p",{"data-loc":"client/src/components/Header.tsx:65",className:"text-[10px] text-gray-500",children:r(e)})]})]})]})})}function O7(){return g.jsx("footer",{"data-loc":"client/src/components/Footer.tsx:8",className:"border-t border-[#1f2937] bg-[#0a0e1a] mt-8",children:g.jsx("div",{"data-loc":"client/src/components/Footer.tsx:9",className:"container py-6",children:g.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:10",className:"flex flex-col sm:flex-row items-center justify-between gap-4",children:[g.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:12",className:"flex items-center gap-3",children:[g.jsx("div",{"data-loc":"client/src/components/Footer.tsx:13",className:"w-8 h-8 rounded-full bg-gradient-to-br from-blue-500 to-blue-700 flex items-center justify-center",children:g.jsx("span",{"data-loc":"client/src/components/Footer.tsx:14",className:"text-white text-xs font-bold",children:"ع"})}),g.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:16",children:[g.jsx("p",{"data-loc":"client/src/components/Footer.tsx:17",className:"text-sm font-semibold text-gray-200",children:"تصميم وتطوير: علاء آل مرعي"}),g.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:20",className:"flex items-center gap-1.5 mt-0.5",children:[g.jsx("svg",{"data-loc":"client/src/components/Footer.tsx:21",className:"w-3.5 h-3.5 text-yellow-400",viewBox:"0 0 24 24",fill:"currentColor",children:g.jsx("path",{"data-loc":"client/src/components/Footer.tsx:26",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z"})}),g.jsx("a",{"data-loc":"client/src/components/Footer.tsx:28",href:"https://www.snapchat.com/add/alaa299992",target:"_blank",rel:"noopener noreferrer",className:"text-xs text-yellow-400 hover:text-yellow-300 transition-colors",children:"snap: alaa299992"})]})]})]}),g.jsx("p",{"data-loc":"client/src/components/Footer.tsx:41",className:"text-[10px] text-gray-600 text-center sm:text-left max-w-xs",children:"بيانات الأسواق والعملات حية من Yahoo Finance. بيانات السياسة النقدية والاقتصاد الكلي تقريبية. لا تمثل ملاحظة استثمارية."})]})})})}const _7=300*1e3;function T7(){const{data:e,isLoading:t,error:n,dataUpdatedAt:r}=mo.market.all.useQuery(void 0,{refetchInterval:_7,refetchIntervalInBackgroun
vendor: 2,285 bytes, line 172
172d:!0,staleTime:24e4,retry:3,retryDelay:i=>Math.min(1e3*2**i,3e4)});return{data:e,isLoading:t,error:n??null,lastUpdated:r?new Date(r):null}}var cv,DA;function Cn(){if(DA)return cv;DA=1;var e=Array.isArray;return cv=e,cv}var uv,kA;function R3(){if(kA)return uv;kA=1;var e=typeof ad=="object"&&ad&&ad.Object===Object&&ad;return uv=e,uv}var fv,IA;function Xr(){if(IA)return fv;IA=1;var e=R3(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return fv=n,fv}var dv,$A;function Iu(){if($A)return dv;$A=1;var e=Xr(),t=e.Symbol;return dv=t,dv}var hv,qA;function A7(){if(qA)return hv;qA=1;var e=Iu(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;function s(l){var u=n.call(l,i),f=l[i];try{l[i]=void 0;var d=!0}catch{}var m=r.call(l);return d&&(u?l[i]=f:delete l[i]),m}return hv=s,hv}var pv,zA;function E7(){if(zA)return pv;zA=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return pv=n,pv}var mv,LA;function Ra(){if(LA)return mv;LA=1;var e=Iu(),t=A7(),n=E7(),r="[object Null]",i="[object Undefined]",s=e?e.toStringTag:void 0;function l(u){return u==null?u===void 0?i:r:s&&s in Object(u)?t(u):n(u)}return mv=l,mv}var yv,BA;function Da(){if(BA)return yv;BA=1;function e(t){return t!=null&&typeof t=="object"}return yv=e,yv}var vv,UA;function hl(){if(UA)return vv;UA=1;var e=Ra(),t=Da(),n="[object Symbol]";function r(i){return typeof i=="symbol"||t(i)&&e(i)==n}return vv=r,vv}var gv,HA;function jS(){if(HA)return gv;HA=1;var e=Cn(),t=hl(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function i(s,l){if(e(s))return!1;var u=typeof s;return u=="number"||u=="symbol"||u=="boolean"||s==null||t(s)?!0:r.test(s)||!n.test(s)||l!=null&&s in Object(l)}return gv=i,gv}var bv,GA;function _i(){if(GA)return bv;GA=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return bv=e,bv}var xv,FA;function CS(){if(FA)return xv;FA=1;var e=Ra(),t=_i(),n="[object AsyncFunction]",r="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!t(u))return!1;var f=e(u);return f==r||f==i||f==n||f==s}return xv=l,xv}var Sv,YA;function j7(){if(YA)return Sv;YA=1;var e=Xr(),t=e["__core-js_shared__"];return Sv=t,Sv}var wv,KA;function C7(){if(KA)return wv;KA=1;
vendor: 4,932 bytes, line 172
172var e=j7(),t=(function(){var r=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function n(r){return!!t&&t in r}return wv=n,wv}var Ov,VA;function D3(){if(VA)return Ov;VA=1;var e=Function.prototype,t=e.toString;function n(r){if(r!=null){try{return t.call(r)}catch{}try{return r+""}catch{}}return""}return Ov=n,Ov}var _v,QA;function M7(){if(QA)return _v;QA=1;var e=CS(),t=C7(),n=_i(),r=D3(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,f=l.toString,d=u.hasOwnProperty,m=RegExp("^"+f.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(v){if(!n(v)||t(v))return!1;var x=e(v)?m:s;return x.test(r(v))}return _v=p,_v}var Tv,XA;function N7(){if(XA)return Tv;XA=1;function e(t,n){return t?.[n]}return Tv=e,Tv}var Av,WA;function Eo(){if(WA)return Av;WA=1;var e=M7(),t=N7();function n(r,i){var s=t(r,i);return e(s)?s:void 0}return Av=n,Av}var Ev,ZA;function np(){if(ZA)return Ev;ZA=1;var e=Eo(),t=e(Object,"create");return Ev=t,Ev}var jv,JA;function P7(){if(JA)return jv;JA=1;var e=np();function t(){this.__data__=e?e(null):{},this.size=0}return jv=t,jv}var Cv,eE;function R7(){if(eE)return Cv;eE=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return Cv=e,Cv}var Mv,tE;function D7(){if(tE)return Mv;tE=1;var e=np(),t="__lodash_hash_undefined__",n=Object.prototype,r=n.hasOwnProperty;function i(s){var l=this.__data__;if(e){var u=l[s];return u===t?void 0:u}return r.call(l,s)?l[s]:void 0}return Mv=i,Mv}var Nv,nE;function k7(){if(nE)return Nv;nE=1;var e=np(),t=Object.prototype,n=t.hasOwnProperty;function r(i){var s=this.__data__;return e?s[i]!==void 0:n.call(s,i)}return Nv=r,Nv}var Pv,rE;function I7(){if(rE)return Pv;rE=1;var e=np(),t="__lodash_hash_undefined__";function n(r,i){var s=this.__data__;return this.size+=this.has(r)?0:1,s[r]=e&&i===void 0?t:i,this}return Pv=n,Pv}var Rv,aE;function $7(){if(aE)return Rv;aE=1;var e=P7(),t=R7(),n=D7(),r=k7(),i=I7();function s(l){var u=-1,f=l==null?0:l.length;for(this.clear();++u<f;){var d=l[u];this.set(d[0],d[1])}}return s.prototype.clear=e,s.prototype.delete=t,s.prototype.get=n,s.prototype.has=r,s.prototype.set=i,Rv=s,Rv}var Dv,iE;function q7(){if(iE)return Dv;iE=1;function e(){this.__data__=[],this.size=0}return Dv=e,Dv}var kv,oE;function MS(){if(oE)return kv;oE=1;function e(t,n){return t===n||t!==t&&n!==n}return kv=e,kv}var Iv,sE;function rp(){if(sE)return Iv;sE=1;var e=MS();function t(n,r){for(var i=n.length;i--;)if(e(n[i][0],r))return i;return-1}return Iv=t,Iv}var $v,lE;function z7(){if(lE)return $v;lE=1;var e=rp(),t=Array.prototype,n=t.splice;function r(i){var s=this.__data__,l=e(s,i);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():n.call(s,l,1),--this.size,!0}return $v=r,$v}var qv,cE;function L7(){if(cE)return qv;cE=1;var e=rp();function t(n){var r=this.__data__,i=e(r,n);return i<0?void 0:r[i][1]}return qv=t,qv}var zv,uE;function B7(){if(uE)return zv;uE=1;var e=rp();function t(n){return e(this.__data__,n)>-1}return zv=t,zv}var Lv,fE;function U7(){if(fE)return Lv;fE=1;var e=rp();function t(n,r){var i=this.__data__,s=e(i,n);return s<0?(++this.size,i.push([n,r])):i[s][1]=r,this}return Lv=t,Lv}var Bv,dE;function ap(){if(dE)return Bv;dE=1;var e=q7(),t=z7(),n=L7(),r=B7(),i=U7();function s(l){var u=-1,f=l==null?0:l.length;for(this.clear();++u<f;){var d=l[u];this.set(d[0],d[1])}}return s.prototype.clear=e,s.prototype.delete=t,s.prototype.get=n,s.prototype.has=r,s.prototype.set=i,Bv=s,Bv}var Uv,hE;function NS(){if(hE)return Uv;hE=1;var e=Eo(),t=Xr(),n=e(t,"Map");return Uv=n,Uv}var Hv,pE;function H7(){if(pE)return Hv;pE=1;var e=$7(),t=ap(),n=NS();function r(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return Hv=r,Hv}var Gv,mE;function G7(){if(mE)return Gv;mE=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return Gv=e,Gv}var Fv,yE;function ip(){if(yE)return Fv;yE=1;var e=G7();function t(n,r){var i=n.__data__;return e(r)?i[typeof r=="string"?"string":"hash"]:i.map}return Fv=t,Fv}var Yv,vE;function F7(){if(vE)return Yv;vE=1;var e=ip();function t(n){var r=e(this,n).delete(n);return this.size-=r?1:0,r}return Yv=t,Yv}var Kv,gE;function Y7(){if(gE)return Kv;gE=1;var e=ip();function t(n){return e(this,n).get(n)}return Kv=t,Kv}var Vv,bE;function K7(){if(bE)return Vv;bE=1;var e=ip();function t(n){return e(this,n).has(n)}return Vv=t,Vv}var Qv,xE;function V7(){if(xE)return Qv;xE=1;var e=ip();function t(n,r){var i=e(this,n),s=i.size;return i.set(n,r),this.size+=i.size==s?0:1,this}return Qv=t,Qv}var Xv,SE;function PS(){if(SE)return Xv;SE=1;var e=H7(),t=F7(),n=Y7(),r=K7(),i=V7();function s(l){var u=-1,f=l==null?0:l.length;for(this.clear();++u<f;){var d=l[u];this.set(d[0],d[1])}}return s.prototype.clear=e,s.prototype.delete=t,s.prototype.get=n,s.prototype.has=r,s.prototype.set=i,
vendor: 10,803 bytes, lines 172-180
172Xv=s,Xv}var Wv,wE;function k3(){if(wE)return Wv;wE=1;var e=PS(),t="Expected a function";function n(r,i){if(typeof r!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var s=function(){var l=arguments,u=i?i.apply(this,l):l[0],f=s.cache;if(f.has(u))return f.get(u);var d=r.apply(this,l);return s.cache=f.set(u,d)||f,d};return s.cache=new(n.Cache||e),s}return n.Cache=e,Wv=n,Wv}var Zv,OE;function Q7(){if(OE)return Zv;OE=1;var e=k3(),t=500;function n(r){var i=e(r,function(l){return s.size===t&&s.clear(),l}),s=i.cache;return i}return Zv=n,Zv}var Jv,_E;function X7(){if(_E)return Jv;_E=1;var e=Q7(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(i){var s=[];return i.charCodeAt(0)===46&&s.push(""),i.replace(t,function(l,u,f,d){s.push(f?d.replace(n,"$1"):u||l)}),s});return Jv=r,Jv}var eg,TE;function RS(){if(TE)return eg;TE=1;function e(t,n){for(var r=-1,i=t==null?0:t.length,s=Array(i);++r<i;)s[r]=n(t[r],r,t);return s}return eg=e,eg}var tg,AE;function W7(){if(AE)return tg;AE=1;var e=Iu(),t=RS(),n=Cn(),r=hl(),i=e?e.prototype:void 0,s=i?i.toString:void 0;function l(u){if(typeof u=="string")return u;if(n(u))return t(u,l)+"";if(r(u))return s?s.call(u):"";var f=u+"";return f=="0"&&1/u==-1/0?"-0":f}return tg=l,tg}var ng,EE;function I3(){if(EE)return ng;EE=1;var e=W7();function t(n){return n==null?"":e(n)}return ng=t,ng}var rg,jE;function $3(){if(jE)return rg;jE=1;var e=Cn(),t=jS(),n=X7(),r=I3();function i(s,l){return e(s)?s:t(s,l)?[s]:n(r(s))}return rg=i,rg}var ag,CE;function op(){if(CE)return ag;CE=1;var e=hl();function t(n){if(typeof n=="string"||e(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}return ag=t,ag}var ig,ME;function DS(){if(ME)return ig;ME=1;var e=$3(),t=op();function n(r,i){i=e(i,r);for(var s=0,l=i.length;r!=null&&s<l;)r=r[t(i[s++])];return s&&s==l?r:void 0}return ig=n,ig}var og,NE;function q3(){if(NE)return og;NE=1;var e=DS();function t(n,r,i){var s=n==null?void 0:e(n,r);return s===void 0?i:s}return og=t,og}var Z7=q3();const cr=nt(Z7);var sg,PE;function J7(){if(PE)return sg;PE=1;function e(t){return t==null}return sg=e,sg}var eU=J7();const ke=nt(eU);var lg,RE;function tU(){if(RE)return lg;RE=1;var e=Ra(),t=Cn(),n=Da(),r="[object String]";function i(s){return typeof s=="string"||!t(s)&&n(s)&&e(s)==r}return lg=i,lg}var nU=tU();const vo=nt(nU);var rU=CS();const Ne=nt(rU);var aU=_i();const pl=nt(aU);var cg={exports:{}},Ve={};/**
173 * @license React
174 * react-is.production.min.js
175 *
176 * Copyright (c) Facebook, Inc. and its affiliates.
177 *
178 * This source code is licensed under the MIT license found in the
179 * LICENSE file in the root directory of this source tree.
180 */var DE;function iU(){if(DE)return Ve;DE=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),O;O=Symbol.for("react.module.reference");function S(w){if(typeof w=="object"&&w!==null){var T=w.$$typeof;switch(T){case e:switch(w=w.type,w){case n:case i:case r:case d:case m:return w;default:switch(w=w&&w.$$typeof,w){case u:case l:case f:case v:case p:case s:return w;default:return T}}case t:return T}}}return Ve.ContextConsumer=l,Ve.ContextProvider=s,Ve.Element=e,Ve.ForwardRef=f,Ve.Fragment=n,Ve.Lazy=v,Ve.Memo=p,Ve.Portal=t,Ve.Profiler=i,Ve.StrictMode=r,Ve.Suspense=d,Ve.SuspenseList=m,Ve.isAsyncMode=function(){return!1},Ve.isConcurrentMode=function(){return!1},Ve.isContextConsumer=function(w){return S(w)===l},Ve.isContextProvider=function(w){return S(w)===s},Ve.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},Ve.isForwardRef=function(w){return S(w)===f},Ve.isFragment=function(w){return S(w)===n},Ve.isLazy=function(w){return S(w)===v},Ve.isMemo=function(w){return S(w)===p},Ve.isPortal=function(w){return S(w)===t},Ve.isProfiler=function(w){return S(w)===i},Ve.isStrictMode=function(w){return S(w)===r},Ve.isSuspense=function(w){return S(w)===d},Ve.isSuspenseList=function(w){return S(w)===m},Ve.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===i||w===r||w===d||w===m||w===x||typeof w=="object"&&w!==null&&(w.$$typeof===v||w.$$typeof===p||w.$$typeof===s||w.$$typeof===l||w.$$typeof===f||w.$$typeof===O||w.getModuleId!==void 0)},Ve.typeOf=S,Ve}var kE;function oU(){return kE||(kE=1,cg.exports=iU()),cg.exports}var sU=oU(),ug,IE;function z3(){if(IE)return ug;IE=1;var e=Ra(),t=Da(),n="[object Number]";function r(i){return typeof i=="number"||t(i)&&e(i)==n}return ug=r,ug}var fg,$E;function lU(){if($E)return fg;$E=1;var e=z3();function t(n){return e(n)&&n!=+n}return fg=t,fg}var cU=lU();const ml=nt(cU);var uU=z3();const fU=nt(uU);var wr=function(t){return t===0?0:t>0?1:-1},ao=function(t){return vo(t)&&t.indexOf("%")===t.length-1},de=function(t){return fU(t)&&!ml(t)},dU=function(t){return ke(t)},It=function(t){return de(t)||vo(t)},hU=0,yl=function(t){var n=++hU;return"".concat(t||"").concat(n)},go=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!de(t)&&!vo(t))return r;var s;if(ao(t)){var l=t.indexOf("%");s=n*parseFloat(t.slice(0,l))/100}else s=+t;return ml(s)&&(s=r),i&&s>n&&(s=n),s},hi=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},pU=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},i=0;i<n;i++)if(!r[t[i]])r[t[i]]=!0;else return!0;return!1},Zt=function(t,n){return de(t)&&de(n)?function(r){return t+r*(n-t)}:function(){return n}};function qd(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):cr(r,t))===n})}var mU=function(t,n){return de(t)&&de(n)?t-n:vo(t)&&vo(n)?t.localeCompare(n):t instanceof Date&&n instanceof Date?t.getTime()-n.getTime():String(t).localeCompare(String(n))};function Ns(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}function Lx(e){"@babel/helpers - typeof";return Lx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lx(e)}var yU=["viewBox","children"],vU=["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"],qE=["points","pathLength"],dg={svg:yU,polygon:qE,polyline:qE},kS=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onF
180ocus","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"],zd=function(t,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var r=t;if($.isValidElement(t)&&(r=t.props),!pl(r))return null;var i={};return Object.keys(r).forEach(function(s){kS.includes(s)&&(i[s]=n||function(l){return r[s](r,l)})}),i},gU=function(t,n,r){return function(i){return t(n,r,i),null}},Ld=function(t,n,r){if(!pl(t)||Lx(t)!=="object")return null;var i=null;return Object.keys(t).forEach(function(s){var l=t[s];kS.includes(s)&&typeof l=="function"&&(i||(i={}),i[s]=gU(l,n,r))}),i},bU=["children"],xU=["children"];function zE(e,t){if(e==null)return{};var n=SU(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function SU(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){"@babel/helpers - typeof";return Bx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bx(e)}var LE={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"}
vendor: 6,132 bytes, line 180
180,Oa=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},BE=null,hg=null,IS=function e(t){if(t===BE&&Array.isArray(hg))return hg;var n=[];return $.Children.forEach(t,function(r){ke(r)||(sU.isFragment(r)?n=n.concat(e(r.props.children)):n.push(r))}),hg=n,BE=t,n};function ur(e,t){var n=[],r=[];return Array.isArray(t)?r=t.map(function(i){return Oa(i)}):r=[Oa(t)],IS(e).forEach(function(i){var s=cr(i,"type.displayName")||cr(i,"type.name");r.indexOf(s)!==-1&&n.push(i)}),n}function Ln(e,t){var n=ur(e,t);return n&&n[0]}var UE=function(t){if(!t||!t.props)return!1;var n=t.props,r=n.width,i=n.height;return!(!de(r)||r<=0||!de(i)||i<=0)},wU=["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"],OU=function(t){return t&&t.type&&vo(t.type)&&wU.indexOf(t.type)>=0},L3=function(t){return t&&Bx(t)==="object"&&"clipDot"in t},_U=function(t,n,r,i){var s,l=(s=dg?.[i])!==null&&s!==void 0?s:[];return n.startsWith("data-")||!Ne(t)&&(i&&l.includes(n)||vU.includes(n))||r&&kS.includes(n)},Re=function(t,n,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var i=t;if($.isValidElement(t)&&(i=t.props),!pl(i))return null;var s={};return Object.keys(i).forEach(function(l){var u;_U((u=i)===null||u===void 0?void 0:u[l],l,n,r)&&(s[l]=i[l])}),s},Ux=function e(t,n){if(t===n)return!0;var r=$.Children.count(t);if(r!==$.Children.count(n))return!1;if(r===0)return!0;if(r===1)return HE(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var i=0;i<r;i++){var s=t[i],l=n[i];if(Array.isArray(s)||Array.isArray(l)){if(!e(s,l))return!1}else if(!HE(s,l))return!1}return!0},HE=function(t,n){if(ke(t)&&ke(n))return!0;if(!ke(t)&&!ke(n)){var r=t.props||{},i=r.children,s=zE(r,bU),l=n.props||{},u=l.children,f=zE(l,xU);return i&&u?Ns(s,f)&&Ux(i,u):!i&&!u?Ns(s,f):!1}return!1},GE=function(t,n){var r=[],i={};return IS(t).forEach(function(s,l){if(OU(s))r.push(s);else if(s){var u=Oa(s.type),f=n[u]||{},d=f.handler,m=f.once;if(d&&(!m||!i[u])){var p=d(s,u,l);r.push(p),i[u]=!0}}}),r},TU=function(t){var n=t&&t.type;return n&&LE[n]?LE[n]:null},AU=function(t,n){return IS(n).indexOf(t)},EU=["children","width","height","viewBox","className","style","title","desc"];function Hx(){return Hx=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},Hx.apply(this,arguments)}function jU(e,t){if(e==null)return{};var n=CU(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function CU(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 Gx(e){var t=e.children,n=e.width,r=e.height,i=e.viewBox,s=e.className,l=e.style,u=e.title,f=e.desc,d=jU(e,EU),m=i||{width:n,height:r,x:0,y:0},p=qe("recharts-surface",s);return I.createElement("svg",Hx({},Re(d,!0,"svg"),{className:p,width:n,height:r,style:l,viewBox:"".concat(m.x," ").concat(m.y," ").concat(m.width," ").concat(m.height)}),I.createElement("title",null,u),I.createElement("desc",null,f),t)}var MU=["children","className"];function Fx(){return Fx=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},Fx.apply(this,arguments)}function NU(e,t){if(e==null)return{};var n=PU(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function PU(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 st=I.forwardRef(function(e,t){var n=e.children,r=e.className,i=NU(e,MU),s=qe("recharts-layer",r);return I.createElement("g",Fx({className:s},Re(i,!0),{ref:t}),n)}),_a=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),s=2;s<r;s++)i[s-2]=arguments[s]},pg,FE;function RU(){if(FE)return pg;FE=1;function e(t,n,r){var i=-1,s=t.length;n<0&&(n=-n>s?0:s+n),r=r>s?s:r,r<0&&(r+=s),s=n>r?0:r-n>>>0,n>>>=0;for(var l=Array(s);++i<s;)l[i]=t[i+n];return l}return pg=e,pg}var mg,YE;function DU(){if(YE)return mg;YE=1;var e=RU();function t(n,r,i){var s=n.length;return i=i===void 0?s:i,!r&&i>=s?n:e(n,r,i)}return mg=t,mg}var yg,KE;function B3(){if(KE)return yg;KE=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,s="\\ufe0e\\ufe0f",l="\\u200d",u=RegExp("["+l+e+i+s+"]");function f(d){return u.test(d)}return yg=f,yg}var vg,VE;function kU(){if(VE)return vg;VE=1;function e(t){return t.split("")}return vg=e,vg}var gg,QE;function IU(){if(QE)return gg;QE=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i=t+n+r,s="\\ufe0e\\ufe0f",l="["+e+"]",u="["+i+"]",f="\\ud83c[\\udffb-\\udfff]",d="(?:"+u+"|"+f+")",m="[^"+e+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",x="\\u200d",O=d+"?",S="["+s+"]?",w="(?:"+x+"(?:"+[m,p,v].join("|")+")"+S+O+")*",T=S+O+w,C="(?:"+[m+u+"?",u,p,v,l].join("|")+")",M=RegExp(f+"
180(?="+f+")|"+C+T,"g");function N(_){return _.match(M)||[]}return gg=N,gg}var bg,XE;function $U(){if(XE)return bg;XE=1;var e=kU(),t=B3(),n=IU();function r(i){return t(i)?n(i):e(i)}return bg=r,bg}var xg,WE;function qU(){if(WE)return xg;WE=1;var e=DU(),t=B3(),n=$U(),r=I3();function i(s){return function(l){l=r(l);var u=t(l)?n(l):void 0,f=u?u[0]:l.charAt(0),d=u?e(u,1).join(""):l.slice(1);return f[s]()+d}}return xg=i,xg}var Sg,ZE;function zU(){if(ZE)return Sg;ZE=1;var e=qU(),t=e("toUpperCase");return Sg=t,Sg}var LU=zU();const sp=nt(LU);function ot(e){return function(){return e}}const U3=Math.cos,Bd=Math.sin,Er=Math.sqrt,Ud=Math.PI,lp=2*Ud,Yx=Math.PI,Kx=2*Yx,eo=1e-6,BU=Kx-eo;function H3(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function UU(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return H3;const n=10**t;return function(r){this._+=r[0];for(let i=1,s=r.length;i<s;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}class HU{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?H3:UU(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,r,i){this._append`Q${+t},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(t,n,r,i,s,l){this._append`C${+t},${+n},${+r},${+i},${this._x1=+s},${this._y1=+l}`}arcTo(t,n,r,i,s){if(t=+t,n=+n,r=+r,i=+i,s=+s,s<0)throw new Error(`negative radius: ${s}`);let l=this._x1,u=this._y1,f=r-t,d=i-n,m=l-t,p=u-n,v=m*m+p*p;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(v>eo)if(!(Math.abs(p*f-d*m)>eo)||!s)this._append`L${this._x1=t},${this._y1=n}`;else{let x=r-l,O=i-u,S=f*f+d*d,w=x*x+O*O,T=Math.sqrt(S),C=Math.sqrt(v),M=s*Math.tan((Yx-Math.acos((S+v-w)/(2*T*C)))/2),N=M/C,_=M/T;Math.abs(N-1)>eo&&this._append`L${t+N*m},${n+N*p}`,this._append`A${s},${s},0,0,${+(p*x>m*O)},${this._x1=t+_*f},${this._y1=n+_*d}`}}arc(t,n,r,i,s,l){if(t=+t,n=+n,r=+r,l=!!l,r<0)throw new Error(`negative radius: ${r}`);let u=r*Math.cos(i),f=r*Math.sin(i),d=t+u,m=n+f,p=1^l,v=l?i-s:s-i;this._x1===null?this._append`M${d},${m}`:(Math.abs(this._x1-d)>eo||Math.abs(this._y1-m)>eo)&&this._append`L${d},${m}`,r&&(v<0&&(v=v%Kx+Kx),v>BU?this._append`A${r},${r},0,1,${p},${t-u},${n-f}A${r},${r},0,1,${p},${this._x1=d},${this._y1=m}`:v>eo&&this._append`A${r},${r},0,${+(v>=Yx)},${p},${this._x1=t+r*Math.cos(s)},${this._y1=n+r*Math.sin(s)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function $S(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new HU(t)}function qS(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function G3(e){this._context=e}G3.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 cp(e){return new G3(e)}function F3(e){return e[0]}function Y3(e){return e[1]}function K3(e,t){var n=ot(!0),r=null,i=cp,s=null,l=$S(u);e=typeof e=="function"?e:e===void 0?F3:ot(e),t=typeof t=="function"?t:t===void 0?Y3:ot(t);function u(f){var d,m=(f=qS(f)).length,p,v=!1,x;for(r==null&&(s=i(x=l())),d=0;d<=m;++d)!(d<m&&n(p=f[d],d,f))===v&&((v=!v)?s.lineStart():s.lineEnd()),v&&s.point(+e(p,d,f),+t(p,d,f));if(x)return s=null,x+""||null}return u.x=function(f){return arguments.length?(e=typeof f=="function"?f:ot(+f),u):e},u.y=function(f){return arguments.length?(t=typeof f=="function"?f:ot(+f),u):t},u.defined=function(f){return arguments.length?(n=typeof f=="function"?f:ot(!!f),u):n},u.curve=function(f){return arguments.length?(i=f,r!=null&&(s=i(r)),u):i},u.context=function(f){return arguments.length?(f==null?r=s=null:s=i(r=f),u):r},u}
180function pd(e,t,n){var r=null,i=ot(!0),s=null,l=cp,u=null,f=$S(d);e=typeof e=="function"?e:e===void 0?F3:ot(+e),t=typeof t=="function"?t:ot(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?Y3:ot(+n);function d(p){var v,x,O,S=(p=qS(p)).length,w,T=!1,C,M=new Array(S),N=new Array(S);for(s==null&&(u=l(C=f())),v=0;v<=S;++v){if(!(v<S&&i(w=p[v],v,p))===T)if(T=!T)x=v,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),O=v-1;O>=x;--O)u.point(M[O],N[O]);u.lineEnd(),u.areaEnd()}T&&(M[v]=+e(w,v,p),N[v]=+t(w,v,p),u.point(r?+r(w,v,p):M[v],n?+n(w,v,p):N[v]))}if(C)return u=null,C+""||null}function m(){return K3().defined(i).curve(l).context(s)}return d.x=function(p){return arguments.length?(e=typeof p=="function"?p:ot(+p),r=null,d):e},d.x0=function(p){return arguments.length?(e=typeof p=="function"?p:ot(+p),d):e},d.x1=function(p){return arguments.length?(r=p==null?null:typeof p=="function"?p:ot(+p),d):r},d.y=function(p){return arguments.length?(t=typeof p=="function"?p:ot(+p),n=null,d):t},d.y0=function(p){return arguments.length?(t=typeof p=="function"?p:ot(+p),d):t},d.y1=function(p){return arguments.length?(n=p==null?null:typeof p=="function"?p:ot(+p),d):n},d.lineX0=d.lineY0=function(){return m().x(e).y(t)},d.lineY1=function(){return m().x(e).y(n)},d.lineX1=function(){return m().x(r).y(t)},d.defined=function(p){return arguments.length?(i=typeof p=="function"?p:ot(!!p),d):i},d.curve=function(p){return arguments.length?(l=p,s!=null&&(u=l(s)),d):l},d.context=function(p){return arguments.length?(p==null?s=u=null:u=l(s=p),d):s},d}class V3{constructor(t,n){this._context=t,this._x=n}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(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function GU(e){return new V3(e,!0)}function FU(e){return new V3(e,!1)}const zS={draw(e,t){const n=Er(t/Ud);e.moveTo(n,0),e.arc(0,0,n,0,lp)}},YU={draw(e,t){const n=Er(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()}},Q3=Er(1/3),KU=Q3*2,VU={draw(e,t){const n=Er(t/KU),r=n*Q3;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},QU={draw(e,t){const n=Er(t),r=-n/2;e.rect(r,r,n,n)}},XU=.8908130915292852,X3=Bd(Ud/10)/Bd(7*Ud/10),WU=Bd(lp/10)*X3,ZU=-U3(lp/10)*X3,JU={draw(e,t){const n=Er(t*XU),r=WU*n,i=ZU*n;e.moveTo(0,-n),e.lineTo(r,i);for(let s=1;s<5;++s){const l=lp*s/5,u=U3(l),f=Bd(l);e.lineTo(f*n,-u*n),e.lineTo(u*r-f*i,f*r+u*i)}e.closePath()}},wg=Er(3),eH={draw(e,t){const n=-Er(t/(wg*3));e.moveTo(0,n*2),e.lineTo(-wg*n,-n),e.lineTo(wg*n,-n),e.closePath()}},ir=-.5,or=Er(3)/2,Vx=1/Er(12),tH=(Vx/2+1)*3,nH={draw(e,t){const n=Er(t/tH),r=n/2,i=n*Vx,s=r,l=n*Vx+n,u=-s,f=l;e.moveTo(r,i),e.lineTo(s,l),e.lineTo(u,f),e.lineTo(ir*r-or*i,or*r+ir*i),e.lineTo(ir*s-or*l,or*s+ir*l),e.lineTo(ir*u-or*f,or*u+ir*f),e.lineTo(ir*r+or*i,ir*i-or*r),e.lineTo(ir*s+or*l,ir*l-or*s),e.lineTo(ir*u+or*f,ir*f-or*u),e.closePath()}};function rH(e,t){let n=null,r=$S(i);e=typeof e=="function"?e:ot(e||zS),t=typeof t=="function"?t:ot(t===void 0?64:+t);function i(){let s;if(n||(n=s=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),s)return n=null,s+""||null}return i.type=function(s){return arguments.length?(e=typeof s=="function"?s:ot(s),i):e},i.size=function(s){return arguments.length?(t=typeof s=="function"?s:ot(+s),i):t},i.context=function(s){return arguments.length?(n=s??null,i):n},i}function Hd(){}function Gd(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 W3(e){this._context=e}W3.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:Gd(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:Gd(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function aH(e){return new W3(e)}function Z3(e){this._context=e}Z3.prototype={areaStart:Hd,areaEnd:Hd,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:Gd(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function iH(e){return new Z3(e)}function J3(e){this._context=e}J3.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:Gd(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function oH(e){return new J3(e)}function e4(e){this._context=e}e4.prototype={areaStart:Hd,areaEnd:Hd,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 sH(e){return new e4(e)}function JE(e){return e<0?-1:1}
180function ej(e,t,n){var r=e._x1-e._x0,i=t-e._x1,s=(e._y1-e._y0)/(r||i<0&&-0),l=(n-e._y1)/(i||r<0&&-0),u=(s*i+l*r)/(r+i);return(JE(s)+JE(l))*Math.min(Math.abs(s),Math.abs(l),.5*Math.abs(u))||0}function tj(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Og(e,t,n){var r=e._x0,i=e._y0,s=e._x1,l=e._y1,u=(s-r)/3;e._context.bezierCurveTo(r+u,i+u*t,s-u,l-u*n,s,l)}function Fd(e){this._context=e}Fd.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:Og(this,this._t0,tj(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,Og(this,tj(this,n=ej(this,e,t)),n);break;default:Og(this,this._t0,n=ej(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function t4(e){this._context=new n4(e)}(t4.prototype=Object.create(Fd.prototype)).point=function(e,t){Fd.prototype.point.call(this,t,e)};function n4(e){this._context=e}n4.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,s){this._context.bezierCurveTo(t,e,r,n,s,i)}};function lH(e){return new Fd(e)}function cH(e){return new t4(e)}function r4(e){this._context=e}r4.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=nj(e),i=nj(t),s=0,l=1;l<n;++s,++l)this._context.bezierCurveTo(r[0][s],i[0][s],r[1][s],i[1][s],e[l],t[l]);(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 nj(e){var t,n=e.length-1,r,i=new Array(n),s=new Array(n),l=new Array(n);for(i[0]=0,s[0]=2,l[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,s[t]=4,l[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,s[n-1]=7,l[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/s[t-1],s[t]-=r,l[t]-=r*l[t-1];for(i[n-1]=l[n-1]/s[n-1],t=n-2;t>=0;--t)i[t]=(l[t]-i[t+1])/s[t];for(s[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)s[t]=2*e[t+1]-i[t+1];return[i,s]}function uH(e){return new r4(e)}function up(e,t){this._context=e,this._t=t}up.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 fH(e){return new up(e,.5)}function dH(e){return new up(e,0)}function hH(e){return new up(e,1)}function zs(e,t){if((l=e.length)>1)for(var n=1,r,i,s=e[t[0]],l,u=s.length;n<l;++n)for(i=s,s=e[t[n]],r=0;r<u;++r)s[r][1]+=s[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function Qx(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function pH(e,t){return e[t]}function mH(e){const t=[];return t.key=e,t}function yH(){var e=ot([]),t=Qx,n=zs,r=pH;function i(s){var l=Array.from(e.apply(this,arguments),mH),u,f=l.length,d=-1,m;for(const p of s)for(u=0,++d;u<f;++u)(l[u][d]=[0,+r(p,l[u].key,d,s)]).data=p;for(u=0,m=qS(t(l));u<f;++u)l[m[u]].index=u;return n(l,m),l}return i.keys=function(s){return arguments.length?(e=typeof s=="function"?s:ot(Array.from(s)),i):e},i.value=function(s){return arguments.length?(r=typeof s=="function"?s:ot(+s),i):r},i.order=function(s){return arguments.length?(t=s==null?Qx:typeof s=="function"?s:ot(Array.from(s)),i):t},i.offset=function(s){return arguments.length?(n=s??zs,i):n},i}function vH(e,t){if((r=e.length)>0){for(var n,r,i=0,s=e[0].length,l;i<s;++i){for(l=n=0;n<r;++n)l+=e[n][i][1]||0;if(l)for(n=0;n<r;++n)e[n][i][1]/=l}zs(e,t)}}function gH(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,s=r.length;n<s;++n){for(var l=0,u=0;l<i;++l)u+=e[l][n][1]||0;r[n][1]+=r[n][0]=-u/2}zs(e,t)}}function bH(e,t){if(!(!((l=e.length)>0)||!((s=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,s,l;r<s;++r){for(var u=0,f=0,d=0;u<l;++u){for(var m=e[t[u]],p=m[r][1]||0,v=m[r-1][1]||0,x=(p-v)/2,O=0;O<u;++O){var S=e[t[O]],w=S[r][1]||0,T=S[r-1][1]||0;x+=w-T}f+=p,d+=x*p}i[r-1][1]+=i[r-1][0]=n,f&&(n-=d/f)}i[r-1][1]+=i[r-1][0]=n,zs(e,t)}}function Qc(e){"@babel/helpers - typeof";return Qc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qc(e)}var xH=["type","size","sizeType"];function Xx(){return Xx=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},Xx.apply(this,arguments)}function rj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
vendor: 13,579 bytes, lines 180-183
180t%2?rj(Object(n),!0).forEach(function(r){SH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rj(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function SH(e,t,n){return t=wH(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wH(e){var t=OH(e,"string");return Qc(t)=="symbol"?t:t+""}function OH(e,t){if(Qc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Qc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _H(e,t){if(e==null)return{};var n=TH(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function TH(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 a4={symbolCircle:zS,symbolCross:YU,symbolDiamond:VU,symbolSquare:QU,symbolStar:JU,symbolTriangle:eH,symbolWye:nH},AH=Math.PI/180,EH=function(t){var n="symbol".concat(sp(t));return a4[n]||zS},jH=function(t,n,r){if(n==="area")return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var i=18*AH;return 1.25*t*t*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},CH=function(t,n){a4["symbol".concat(sp(t))]=n},LS=function(t){var n=t.type,r=n===void 0?"circle":n,i=t.size,s=i===void 0?64:i,l=t.sizeType,u=l===void 0?"area":l,f=_H(t,xH),d=aj(aj({},f),{},{type:r,size:s,sizeType:u}),m=function(){var w=EH(r),T=rH().type(w).size(jH(s,u,r));return T()},p=d.className,v=d.cx,x=d.cy,O=Re(d,!0);return v===+v&&x===+x&&s===+s?I.createElement("path",Xx({},O,{className:qe("recharts-symbols",p),transform:"translate(".concat(v,", ").concat(x,")"),d:m()})):null};LS.registerSymbol=CH;function Ls(e){"@babel/helpers - typeof";return Ls=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ls(e)}function Wx(){return Wx=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},Wx.apply(this,arguments)}function ij(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function MH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ij(Object(n),!0).forEach(function(r){Xc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ij(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function NH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PH(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,o4(r.key),r)}}function RH(e,t,n){return t&&PH(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function DH(e,t,n){return t=Yd(t),kH(e,i4()?Reflect.construct(t,n||[],Yd(e).constructor):t.apply(e,n))}function kH(e,t){if(t&&(Ls(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return IH(e)}function IH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(i4=function(){return!!e})()}function Yd(e){return Yd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Yd(e)}function $H(e,t){if(typeof t!="function"&&t!==null)throw new 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&&Zx(e,t)}function Zx(e,t){return Zx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Zx(e,t)}function Xc(e,t,n){return t=o4(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o4(e){var t=qH(e,"string");return Ls(t)=="symbol"?t:t+""}function qH(e,t){if(Ls(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ls(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var sr=32,BS=(function(e){function t(){return NH(this,t),DH(this,t,arguments)}return $H(t,e),RH(t,[{key:"renderIcon",value:function(r){var i=this.props.inactiveColor,s=sr/2,l=sr/6,u=sr/3,f=r.inactive?i:r.color;if(r.type==="plainline")return I.createElement("line",{strokeWidth:4,fill:"none",stroke:f,strokeDasharray:r.payload.strokeDasharray,x1:0,y1:s,x2:sr,y2:s,className:"recharts-legend-icon"});if(r.type==="line")return I.createElement("path",{strokeWidth:4,fill:"none",stroke:f,d:"M0,".concat(s,"h").concat(u,`
181            A`).concat(l,",").concat(l,",0,1,1,").concat(2*u,",").concat(s,`
182            H`).concat(sr,"M").concat(2*u,",").concat(s,`
183            A`).concat(l,",").concat(l,",0,1,1,").concat(u,",").concat(s),className:"recharts-legend-icon"});if(r.type==="rect")return I.createElement("path",{stroke:"none",fill:f,d:"M0,".concat(sr/8,"h").concat(sr,"v").concat(sr*3/4,"h").concat(-sr,"z"),className:"recharts-legend-icon"});if(I.isValidElement(r.legendIcon)){var d=MH({},r);return delete d.legendIcon,I.cloneElement(r.legendIcon,d)}return I.createElement(LS,{fill:f,cx:s,cy:s,size:sr,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,i=this.props,s=i.payload,l=i.iconSize,u=i.layout,f=i.formatter,d=i.inactiveColor,m={x:0,y:0,width:sr,height:sr},p={display:u==="horizontal"?"inline-block":"block",marginRight:10},v={display:"inline-block",verticalAlign:"middle",marginRight:4};return s.map(function(x,O){var S=x.formatter||f,w=qe(Xc(Xc({"recharts-legend-item":!0},"legend-item-".concat(O),!0),"inactive",x.inactive));if(x.type==="none")return null;var T=Ne(x.value)?null:x.value;_a(!Ne(x.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 C=x.inactive?d:x.color;return I.createElement("li",Wx({className:w,style:p,key:"legend-item-".concat(O)},Ld(r.props,x,O)),I.createElement(Gx,{width:l,height:l,viewBox:m,style:v},r.renderIcon(x)),I.createElement("span",{className:"recharts-legend-item-text",style:{color:C}},S?S(T,x,O):T))})}},{key:"render",value:function(){var r=this.props,i=r.payload,s=r.layout,l=r.align;if(!i||!i.length)return null;var u={padding:0,margin:0,textAlign:s==="horizontal"?l:"left"};return I.createElement("ul",{className:"recharts-default-legend",style:u},this.renderItems())}}])})($.PureComponent);Xc(BS,"displayName","Legend");Xc(BS,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var _g,oj;function zH(){if(oj)return _g;oj=1;var e=ap();function t(){this.__data__=new e,this.size=0}return _g=t,_g}var Tg,sj;function LH(){if(sj)return Tg;sj=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return Tg=e,Tg}var Ag,lj;function BH(){if(lj)return Ag;lj=1;function e(t){return this.__data__.get(t)}return Ag=e,Ag}var Eg,cj;function UH(){if(cj)return Eg;cj=1;function e(t){return this.__data__.has(t)}return Eg=e,Eg}var jg,uj;function HH(){if(uj)return jg;uj=1;var e=ap(),t=NS(),n=PS(),r=200;function i(s,l){var u=this.__data__;if(u instanceof e){var f=u.__data__;if(!t||f.length<r-1)return f.push([s,l]),this.size=++u.size,this;u=this.__data__=new n(f)}return u.set(s,l),this.size=u.size,this}return jg=i,jg}var Cg,fj;function s4(){if(fj)return Cg;fj=1;var e=ap(),t=zH(),n=LH(),r=BH(),i=UH(),s=HH();function l(u){var f=this.__data__=new e(u);this.size=f.size}return l.prototype.clear=t,l.prototype.delete=n,l.prototype.get=r,l.prototype.has=i,l.prototype.set=s,Cg=l,Cg}var Mg,dj;function GH(){if(dj)return Mg;dj=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return Mg=t,Mg}var Ng,hj;function FH(){if(hj)return Ng;hj=1;function e(t){return this.__data__.has(t)}return Ng=e,Ng}var Pg,pj;function l4(){if(pj)return Pg;pj=1;var e=PS(),t=GH(),n=FH();function r(i){var s=-1,l=i==null?0:i.length;for(this.__data__=new e;++s<l;)this.add(i[s])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,Pg=r,Pg}var Rg,mj;function c4(){if(mj)return Rg;mj=1;function e(t,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(n(t[r],r,t))return!0;return!1}return Rg=e,Rg}var Dg,yj;function u4(){if(yj)return Dg;yj=1;function e(t,n){return t.has(n)}return Dg=e,Dg}var kg,vj;function f4(){if(vj)return kg;vj=1;var e=l4(),t=c4(),n=u4(),r=1,i=2;function s(l,u,f,d,m,p){var v=f&r,x=l.length,O=u.length;if(x!=O&&!(v&&O>x))return!1;var S=p.get(l),w=p.get(u);if(S&&w)return S==u&&w==l;var T=-1,C=!0,M=f&i?new e:void 0;for(p.set(l,u),p.set(u,l);++T<x;){var N=l[T],_=u[T];if(d)var E=v?d(_,N,T,u,l,p):d(N,_,T,l,u,p);if(E!==void 0){if(E)continue;C=!1;break}if(M){if(!t(u,function(j,P){if(!n(M,P)&&(N===j||m(N,j,f,d,p)))return M.push(P)})){C=!1;break}}else if(!(N===_||m(N,_,f,d,p))){C=!1;break}}return p.delete(l),p.delete(u),C}return kg=s,kg}var Ig,gj;function YH(){if(gj)return Ig;gj=1;var e=Xr(),t=e.Uint8Array;return Ig=t,Ig}var $g,bj;function KH(){if(bj)return $g;bj=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(i,s){r[++n]=[s,i]}),r}return $g=e,$g}var qg,xj;function US(){if(xj)return qg;xj=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(i){r[++n]=i}),r}return qg=e,qg}var zg,Sj;function VH(){if(Sj)return zg;Sj=1;var e=Iu(),t=YH(),n=MS(),r=f4(),i=KH(),s=US(),l=1,u=2,f="[object Boolean]",d="[object Date]",m="[object Error]",p="[object Map]",v="[object Number]",x="[object RegExp]",O="[object Set]",S="[object String]",w="[object Symbol]",T="[object ArrayBuffer]",C="[object DataView]",M=e?e.prototype:void 0,N=M?M.valueOf:void 0;function _(E,j,P,k,G,q,L){switch(P){case C:if(E.byteLength!=j.byteLength||E.byteOffset!=j.byteOffset)return!1;E=E.buffer,j=j.buffer;case T:return!(E.byteLength!=j.byteLength||!q(new t(E),new t(j)));case f:case d:case v:return n(+E,+j);case m:return E.name==j.name&&E.message==j.message;case x:case S:return E==j+"";case p:var F=i;case O:var V=k&l;if(F||(F=s),E.size!=j.size&&!V)return!1;var X=L.get(E);if(X)return X==j;k|=u,L.set(E,j);var D=r(F(E),F(j),k,G,q,L);return L.delete(E),D;case w:if(N)return N.call(E)==N.call(j)}return!1}return zg=_,zg}var Lg,wj;function d4(){if(wj)return Lg;wj=1;function e(t,n){for(var r=-1,i=n.length,s=t.length;++r<i;)t[s+r]=n[r];return t}return Lg=e,Lg}var Bg,Oj;function QH(){if(Oj)return Bg;Oj=1;var e=d4(),t=Cn();function n(r,i,s){var l=i(r);return t(r)?l:e(l,s(r))}return Bg=n,Bg}var Ug,_j;function XH(){if(_j)return Ug;_j=1;function e(t,n){for(var r=-1,i=t==null?0:t.length,s=0,l=[];++r<i;){var u=t[r];n(u,r,t)&&(l[s++]=u)}return l}return Ug=e,Ug}var Hg,Tj;function WH(){if(Tj)return Hg;Tj=1;function e(){return[]}return Hg=e,Hg}var Gg,Aj;function ZH(){if(Aj)return Gg;Aj=1;var e=XH(),t=WH(),n=Object.prototype,r=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(l){return l==null?[]:(l=Object(l),e(i(l),function(u){return r.call(l,u)}))}:t;return Gg=s,Gg}var Fg,Ej;function JH(){if(Ej)return Fg;Ej=1;function e(t,n){for(var r=-1,i=Array(t);++r<t;)i[r]=n(r);return i}return Fg=e,Fg}var Yg,jj;function eG(){if(jj)return Yg;jj=1;var e=Ra(),t=Da(),n="[object Arguments]";function r(i){return t(i)&&e(i)==n}return Yg=r,Yg}var Kg,Cj;function HS(){if(Cj)return Kg;Cj=1;var e=eG(),t=Da(),n=Object.prototype,r=n.hasOwnProperty,i=n.propertyIsEnumerable,s=e((function(){return arguments})())?e:function(l){return t(l)&&r.call(l,"callee")&&!i.call(l,"callee")};return Kg=s,Kg}var jc={exports:{}},Vg,Mj;function tG(){if(Mj)return Vg;Mj=1;function e(){return!1}return Vg=e,Vg}jc.exports;var Nj;function h4(){return Nj||(Nj=1,(function(e,t){var n=Xr(),r=tG(),i=t&&!t.nodeType&&t,s=i&&!0&&e&&!e.nodeType&&e,l=s&&s.exports===i,u=l?n.Buffer:void 0,f=u?u.isBuffer:void 0,d=f||r;e.exports=d})(jc,jc.exports)),jc.exports}var Qg,Pj;function GS(){if(Pj)return Qg;Pj=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(r,i){var s=typeof r;return i=i??e,!!i&&(s=="number"||s!="symbol"&&t.test(r))&&r>-1&&r%1==0&&r<i}return Qg=n,Qg}var Xg,Rj;function FS(){if(Rj)return Xg;Rj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return Xg=t,Xg}var Wg,Dj;function nG(){if(Dj)return Wg;Dj=1;var e=Ra(),t=FS(),n=Da(),r="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",f="[object Function]",d="[object Map]",m="[object Number]",p="[object Object]",v="[object RegExp]",x="[object Set]",O="[object String]",S="[object WeakMap]",w="[object ArrayBuffer]",T="[object DataView]",C="[object Float32Array]",M="[object Float64Array
183]",N="[object Int8Array]",_="[object Int16Array]",E="[object Int32Array]",j="[object Uint8Array]",P="[object Uint8ClampedArray]",k="[object Uint16Array]",G="[object Uint32Array]",q={};q[C]=q[M]=q[N]=q[_]=q[E]=q[j]=q[P]=q[k]=q[G]=!0,q[r]=q[i]=q[w]=q[s]=q[T]=q[l]=q[u]=q[f]=q[d]=q[m]=q[p]=q[v]=q[x]=q[O]=q[S]=!1;function L(F){return n(F)&&t(F.length)&&!!q[e(F)]}return Wg=L,Wg}var Zg,kj;function p4(){if(kj)return Zg;kj=1;function e(t){return function(n){return t(n)}}return Zg=e,Zg}var Cc={exports:{}};Cc.exports;var Ij;function rG(){return Ij||(Ij=1,(function(e,t){var n=R3(),r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===r,l=s&&n.process,u=(function(){try{var f=i&&i.require&&i.require("util").types;return f||l&&l.binding&&l.binding("util")}catch{}})();e.exports=u})(Cc,Cc.exports)),Cc.exports}var Jg,$j;function m4(){if($j)return Jg;$j=1;var e=nG(),t=p4(),n=rG(),r=n&&n.isTypedArray,i=r?t(r):e;return Jg=i,Jg}var e0,qj;function aG(){if(qj)return e0;qj=1;var e=JH(),t=HS(),n=Cn(),r=h4(),i=GS(),s=m4(),l=Object.prototype,u=l.hasOwnProperty;function f(d,m){var p=n(d),v=!p&&t(d),x=!p&&!v&&r(d),O=!p&&!v&&!x&&s(d),S=p||v||x||O,w=S?e(d.length,String):[],T=w.length;for(var C in d)(m||u.call(d,C))&&!(S&&(C=="length"||x&&(C=="offset"||C=="parent")||O&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||i(C,T)))&&w.push(C);return w}return e0=f,e0}var t0,zj;function iG(){if(zj)return t0;zj=1;var e=Object.prototype;function t(n){var r=n&&n.constructor,i=typeof r=="function"&&r.prototype||e;return n===i}return t0=t,t0}var n0,Lj;function y4(){if(Lj)return n0;Lj=1;function e(t,n){return function(r){return t(n(r))}}return n0=e,n0}var r0,Bj;function oG(){if(Bj)return r0;Bj=1;var e=y4(),t=e(Object.keys,Object);return r0=t,r0}var a0,Uj;function sG(){if(Uj)return a0;Uj=1;var e=iG(),t=oG(),n=Object.prototype,r=n.hasOwnProperty;function i(s){if(!e(s))return t(s);var l=[];for(var u in Object(s))r.call(s,u)&&u!="constructor"&&l.push(u);return l}return a0=i,a0}var i0,Hj;function $u(){if(Hj)return i0;Hj=1;var e=CS(),t=FS();function n(r){return r!=null&&t(r.length)&&!e(r)}return i0=n,i0}var o0,Gj;function fp(){if(Gj)return o0;Gj=1;var e=aG(),t=sG(),n=$u();function r(i){return n(i)?e(i):t(i)}return o0=r,o0}var s0,Fj;function lG(){if(Fj)return s0;Fj=1;var e=QH(),t=ZH(),n=fp();function r(i){return e(i,n,t)}return s0=r,s0}var l0,Yj;function cG(){if(Yj)return l0;Yj=1;var e=lG(),t=1,n=Object.prototype,r=n.hasOwnProperty;function i(s,l,u,f,d,m){var p=u&t,v=e(s),x=v.length,O=e(l),S=O.length;if(x!=S&&!p)return!1;for(var w=x;w--;){var T=v[w];if(!(p?T in l:r.call(l,T)))return!1}var C=m.get(s),M=m.get(l);if(C&&M)return C==l&&M==s;var N=!0;m.set(s,l),m.set(l,s);for(var _=p;++w<x;){T=v[w];var E=s[T],j=l[T];if(f)var P=p?f(j,E,T,l,s,m):f(E,j,T,s,l,m);if(!(P===void 0?E===j||d(E,j,u,f,m):P)){N=!1;break}_||(_=T=="constructor")}if(N&&!_){var k=s.constructor,G=l.constructor;k!=G&&"constructor"in s&&"constructor"in l&&!(typeof k=="function"&&k instanceof k&&typeof G=="function"&&G instanceof G)&&(N=!1)}return m.delete(s),m.delete(l),N}return l0=i,l0}var c0,Kj;function uG(){if(Kj)return c0;Kj=1;var e=Eo(),t=Xr(),n=e(t,"DataView");return c0=n,c0}var u0,Vj;function fG(){if(Vj)return u0;Vj=1;var e=Eo(),t=Xr(),n=e(t,"Promise");return u0=n,u0}var f0,Qj;function v4(){if(Qj)return f0;Qj=1;var e=Eo(),t=Xr(),n=e(t,"Set");return f0=n,f0}var d0,Xj;function dG(){if(Xj)return d0;Xj=1;var e=Eo(),t=Xr(),n=e(t,"WeakMap");return d0=n,d0}var h0,Wj;function hG(){if(Wj)return h0;Wj=1;var e=uG(),t=NS(),n=fG(),r=v4(),i=dG(),s=Ra(),l=D3(),u="[object Map]",f="[object Object]",d="[object Promise]",m="[object Set]",p="[object WeakMap]",v="[object DataView]",x=l(e),O=l(t),S=l(n),w=l(r),T=l(i),C=s;return(e&&C(new e(new ArrayBuffer(1)))!=v||t&&C(new t)!=u||n&&C(n.resolve())!=d||r&&C(new r)!=m||i&&C(new i)!=p)&&(C=function(M){var N=s(M),_=N==f?M.constructor:void 0,E=_?l(_):"";if(E)switch(E){case x:return v;case O:return u;case S:return d;case w:return m;case T:return p}return N}),h0=C,h0}var p0,Zj;function pG(){if(Zj)return p0;Zj=1;var e=s4(),t=f4(),n=VH(),r=cG(),i=hG(),s=Cn(),l=h4(),u=m4(),f=1,d="[object Arguments]",m="[object Array]",p="[object Object]",v=Object.prototype,x=v.hasOwnProperty;function O(S,w,T,C,M,N){var _=s(S),E=s(w),j=_?m:i(S),P=E?m:i(w);j=j==d?p:j,P=P==d?p:P;var k=j==p,G=P==p,q=j==P;if(q&&l(S)){if(!l(w))return!1;_=!0,k=!1}if(q&&!k)return N||(N=new e),_||u(S)?t(S,w,T,C,M,N):n(S,w,j,T,C,M,N);if(!(T&f)){var L=k&&x.call(S,"__wrapped__"),F=G&&x.call(w,"__wrapped__");
vendor: 45,780 bytes, lines 183-191
183if(L||F){var V=L?S.value():S,X=F?w.value():w;return N||(N=new e),M(V,X,T,C,N)}}return q?(N||(N=new e),r(S,w,T,C,M,N)):!1}return p0=O,p0}var m0,Jj;function YS(){if(Jj)return m0;Jj=1;var e=pG(),t=Da();function n(r,i,s,l,u){return r===i?!0:r==null||i==null||!t(r)&&!t(i)?r!==r&&i!==i:e(r,i,s,l,n,u)}return m0=n,m0}var y0,eC;function mG(){if(eC)return y0;eC=1;var e=s4(),t=YS(),n=1,r=2;function i(s,l,u,f){var d=u.length,m=d,p=!f;if(s==null)return!m;for(s=Object(s);d--;){var v=u[d];if(p&&v[2]?v[1]!==s[v[0]]:!(v[0]in s))return!1}for(;++d<m;){v=u[d];var x=v[0],O=s[x],S=v[1];if(p&&v[2]){if(O===void 0&&!(x in s))return!1}else{var w=new e;if(f)var T=f(O,S,x,s,l,w);if(!(T===void 0?t(S,O,n|r,f,w):T))return!1}}return!0}return y0=i,y0}var v0,tC;function g4(){if(tC)return v0;tC=1;var e=_i();function t(n){return n===n&&!e(n)}return v0=t,v0}var g0,nC;function yG(){if(nC)return g0;nC=1;var e=g4(),t=fp();function n(r){for(var i=t(r),s=i.length;s--;){var l=i[s],u=r[l];i[s]=[l,u,e(u)]}return i}return g0=n,g0}var b0,rC;function b4(){if(rC)return b0;rC=1;function e(t,n){return function(r){return r==null?!1:r[t]===n&&(n!==void 0||t in Object(r))}}return b0=e,b0}var x0,aC;function vG(){if(aC)return x0;aC=1;var e=mG(),t=yG(),n=b4();function r(i){var s=t(i);return s.length==1&&s[0][2]?n(s[0][0],s[0][1]):function(l){return l===i||e(l,i,s)}}return x0=r,x0}var S0,iC;function gG(){if(iC)return S0;iC=1;function e(t,n){return t!=null&&n in Object(t)}return S0=e,S0}var w0,oC;function bG(){if(oC)return w0;oC=1;var e=$3(),t=HS(),n=Cn(),r=GS(),i=FS(),s=op();function l(u,f,d){f=e(f,u);for(var m=-1,p=f.length,v=!1;++m<p;){var x=s(f[m]);if(!(v=u!=null&&d(u,x)))break;u=u[x]}return v||++m!=p?v:(p=u==null?0:u.length,!!p&&i(p)&&r(x,p)&&(n(u)||t(u)))}return w0=l,w0}var O0,sC;function xG(){if(sC)return O0;sC=1;var e=gG(),t=bG();function n(r,i){return r!=null&&t(r,i,e)}return O0=n,O0}var _0,lC;function SG(){if(lC)return _0;lC=1;var e=YS(),t=q3(),n=xG(),r=jS(),i=g4(),s=b4(),l=op(),u=1,f=2;function d(m,p){return r(m)&&i(p)?s(l(m),p):function(v){var x=t(v,m);return x===void 0&&x===p?n(v,m):e(p,x,u|f)}}return _0=d,_0}var T0,cC;function vl(){if(cC)return T0;cC=1;function e(t){return t}return T0=e,T0}var A0,uC;function wG(){if(uC)return A0;uC=1;function e(t){return function(n){return n?.[t]}}return A0=e,A0}var E0,fC;function OG(){if(fC)return E0;fC=1;var e=DS();function t(n){return function(r){return e(r,n)}}return E0=t,E0}var j0,dC;function _G(){if(dC)return j0;dC=1;var e=wG(),t=OG(),n=jS(),r=op();function i(s){return n(s)?e(r(s)):t(s)}return j0=i,j0}var C0,hC;function Ti(){if(hC)return C0;hC=1;var e=vG(),t=SG(),n=vl(),r=Cn(),i=_G();function s(l){return typeof l=="function"?l:l==null?n:typeof l=="object"?r(l)?t(l[0],l[1]):e(l):i(l)}return C0=s,C0}var M0,pC;function x4(){if(pC)return M0;pC=1;function e(t,n,r,i){for(var s=t.length,l=r+(i?1:-1);i?l--:++l<s;)if(n(t[l],l,t))return l;return-1}return M0=e,M0}var N0,mC;function TG(){if(mC)return N0;mC=1;function e(t){return t!==t}return N0=e,N0}var P0,yC;function AG(){if(yC)return P0;yC=1;function e(t,n,r){for(var i=r-1,s=t.length;++i<s;)if(t[i]===n)return i;return-1}return P0=e,P0}var R0,vC;function EG(){if(vC)return R0;vC=1;var e=x4(),t=TG(),n=AG();function r(i,s,l){return s===s?n(i,s,l):e(i,t,l)}return R0=r,R0}var D0,gC;function jG(){if(gC)return D0;gC=1;var e=EG();function t(n,r){var i=n==null?0:n.length;return!!i&&e(n,r,0)>-1}return D0=t,D0}var k0,bC;function CG(){if(bC)return k0;bC=1;function e(t,n,r){for(var i=-1,s=t==null?0:t.length;++i<s;)if(r(n,t[i]))return!0;return!1}return k0=e,k0}var I0,xC;function MG(){if(xC)return I0;xC=1;function e(){}return I0=e,I0}var $0,SC;function NG(){if(SC)return $0;SC=1;var e=v4(),t=MG(),n=US(),r=1/0,i=e&&1/n(new e([,-0]))[1]==r?function(s){return new e(s)}:t;return $0=i,$0}var q0,wC;function PG(){if(wC)return q0;wC=1;var e=l4(),t=jG(),n=CG(),r=u4(),i=NG(),s=US(),l=200;function u(f,d,m){var p=-1,v=t,x=f.length,O=!0,S=[],w=S;if(m)O=!1,v=n;else if(x>=l){var T=d?null:i(f);if(T)return s(T);O=!1,v=r,w=new e}else w=d?[]:S;e:for(;++p<x;){var C=f[p],M=d?d(C):C;if(C=m||C!==0?C:0,O&&M===M){for(var N=w.length;N--;)if(w[N]===M)continue e;d&&w.push(M),S.push(C)}else v(w,M,m)||(w!==S&&w.push(M),S.push(C))}return S}return q0=u,q0}var z0,OC;function RG(){if(OC)return z0;OC=1;var e=Ti(),t=PG();function n(r,i){return r&&r.length?t(r,e(i,2)):[]}return z0=n,z0}var DG=RG();const _C=nt(DG);function S4(e,t,n){return t===!0?_C(e,n):Ne(t)?_C(e,t):e}function Bs(e){"@babel/helpers - typeof";return Bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bs(e)}var kG=["ref"];function TC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function va(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?TC(Object(n),!0).forEach(function(r){dp(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TC(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function IG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AC(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,O4(r.key),r)}}function $G(e,t,n){return t&&AC(e.prototype,t),n&&AC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function qG(e,t,n){return t=Kd(t),zG(e,w4()?Reflect.construct(t,n||[],Kd(e).constructor):t.apply(e,n))}function zG(e,t){if(t&&(Bs(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return LG(e)}function LG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(w4=function(){return!!e})()}function Kd(e){return Kd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Kd(e)}function BG(e,t){if(typeof t!="function"&&t!==null)throw new 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&&Jx(e,t)}function Jx(e,t){return Jx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Jx(e,t)}function dp(e,t,n){return t=O4(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O4(e){var t=UG(e,"string");return Bs(t)=="symbol"?t:t+""}function UG(e,t){if(Bs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Bs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function HG(e,t){if(e==null)return{};var n=GG(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function GG(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 FG(e){return e.value}function YG(e,t){if(I.isValidElement(e))return I.cloneElement(e,t);if(typeof e=="function")return I.createElement(e,t);t.ref;var n=HG(t,kG);return I.createElement(BS,n)}var EC=1,Ps=(function(e){function t(){var n;IG(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=qG(this,t,[].concat(i)),dp(n,"lastBoundingBox",{width:-1,height:-1}),n}return BG(t,e),$G(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();return r.height=this.wrapperNode.offsetHeight,r.width=this.wrapperNode.offsetWidth,r}return null}},{key:"updateBBox",value:function(){var r=this.props.onBBoxUpdate,i=this.getBBox();i?(Math.abs(i.width-this.lastBoundingBox.width)>EC||Math.abs(i.height-this.lastBoundingBox.height)>EC)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,r&&r(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?va({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var i=this.props,s=i.layout,l=i.align,u=i.verticalAlign,f=i.margin,d=i.chartWidth,m=i.chartHeight,p,v;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(l==="center"&&s==="vertical"){var x=this.getBBoxSnapshot();p={left:((d||0)-x.width)/2}}else p=l==="right"?{right:f&&f.right||0}:{left:f&&f.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(u==="middle"){var O=this.getBBoxSnapshot();v={top:((m||0)-O.height)/2}}else v=u==="bottom"?{bottom:f&&f.bottom||0}:{top:f&&f.top||0};return va(va({},p),v)}},{key:"render",value:function(){var r=this,i=this.props,s=i.content,l=i.width,u=i.height,f=i.wrapperStyle,d=i.payloadUniqBy,m=i.payload,p=va(va({position:"absolute",width:l||"auto",height:u||"auto"},this.getDefaultPosition(f)),f);return I.createElement("div",{className:"recharts-legend-wrapper",style:p,ref:function(x){r.wrapperNode=x}},YG(s,va(va({},this.props),{},{payload:S4(m,d,FG)})))}}],[{key:"getWithHeight",value:function(r,i){var s=va(va({},this.defaultProps),r.props),l=s.layout;return l==="vertical"&&de(r.props.height)?{height:r.props.height}:l==="horizontal"?{width:r.props.width||i}:null}}])})($.PureComponent);dp(Ps,"displayName","Legend");dp(Ps,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var L0,jC;function KG(){if(jC)return L0;jC=1;var e=Iu(),t=HS(),n=Cn(),r=e?e.isConcatSpreadable:void 0;function i(s){return n(s)||t(s)||!!(r&&s&&s[r])}return L0=i,L0}var B0,CC;function _4(){if(CC)return B0;CC=1;var e=d4(),t=KG();function n(r,i,s,l,u){var f=-1,d=r.length;for(s||(s=t),u||(u=[]);++f<d;){var m=r[f];i>0&&s(m)?i>1?n(m,i-1,s,l,u):e(u,m):l||(u[u.length]=m)}return u}return B0=n,B0}var U0,MC;function VG(){if(MC)return U0;MC=1;function e(t){return function(n,r,i){for(var s=-1,l=Object(n),u=i(n),f=u.length;f--;){var d=u[t?f:++s];if(r(l[d],d,l)===!1)break}return n}}return U0=e,U0}var H0,NC;function QG(){if(NC)return H0;NC=1;var e=VG(),t=e();return H0=t,H0}var G0,PC;function T4(){if(PC)return G0;PC=1;var e=QG(),t=fp();function n(r,i){return r&&e(r,i,t)}return G0=n,G0}var F0,RC;function XG(){if(RC)return F0;RC=1;var e=$u();function t(n,r){return function(i,s){if(i==null)return i;if(!e(i))return n(i,s);for(var l=i.length,u=r?l:-1,f=Object(i);(r?u--:++u<l)&&s(f[u],u,f)!==!1;);return i}}return F0=t,F0}var Y0,DC;function KS(){if(DC)return Y0;DC=1;var e=T4(),t=XG(),n=t(e);return Y0=n,Y0}var K0,kC;function A4(){if(kC)return K0;kC=1;var e=KS(),t=$u();function n(r,i){var s=-1,l=t(r)?Array(r.length):[];return e(r,function(u,f,d){l[++s]=i(u,f,d)}),l}return K0=n,K0}var V0,IC;function WG(){if(IC)return V0;IC=1;function e(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}return V0=e,V0}var Q0,$C;function ZG(){if($C)return Q0;$C=1;var e=hl();function t(n,r){if(n!==r){var i=n!==void 0,s=n===null,l=n===n,u=e(n),f=r!==void 0,d=r===null,m=r===r,p=e(r);if(!d&&!p&&!u&&n>r||u&&f&&m&&!d&&!p||s&&f&&m||!i&&m||!l)return 1;if(!s&&!u&&!p&&n<r||p&&i&&l&&!s&&!u||d&&i&&l||!f&&l||!m)return-1}return 0}return Q0=t,Q0}var X0,qC;function JG(){if(qC)return X0;qC=1;var e=ZG();function t(n,r,i){for(var s=-1,l=n.criteria,u=r.criteria,f=l.length,d=i.length;++s<f;){var m=e(l[s],u[s]);if(m){if(s>=d)return m;var p=i[s];return m*(p=="desc"?-1:1)}}return n.index-r.index}return X0=t,X0}var W0,zC;function eF(){if(zC)return W0;zC=1;var e=RS(),t=DS(),n=Ti(),r=A4(),i=WG(),s=p4(),l=JG(),u=vl(),f=Cn();function d(m,p,v){p.length?p=e(p,function(S){return f(S)?function(w){return t(w,S.length===1?S[0]:S)}:S}):p=[u];var x=-1;p=e(p,s(n));var O=r(m,function(S,w,T){var C=e(p,function(M){return M(S)});return{criteria:C,index:++x,value:S}});return i(O,function(S,w){return l(S,w,v)})}return W0=d,W0}var Z0,LC;function tF(){if(LC)return Z0;LC=1;function e(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}return Z0=e,Z0}var J0,BC;function nF(){if(BC)return J0;BC=1;var e=tF(),t=Math.max;function n(r,i,s){return i=t(i===void 0?r.length-1:i,0),function(){for(var l=arguments,u=-1,f=t(l.length-i,0),d=Array(f);++u<f;)d[u]=l[i+u];u=-1;for(var m=Array(i+1);++u<i;)m[u]=l[u];return m[i]=s(d),e(r,this,m)}}return J0=n,J0}var eb,UC;function rF(){if(UC)return eb;UC=1;function e(t){return function(){return t}}return eb=e,eb}var tb,HC;function E4(){if(HC)return tb;HC=1;var e=Eo(),t=(function(){try{var n=e(Object,"defineProperty");return n({},"",{}),n}catch{}})();return tb=t,tb}var nb,GC;function aF(){if(GC)return nb;GC=1;var e=rF(),t=E4(),n=vl(),r=t?function(i,s){return t(i,"toString",{configurable:!0,enumerable:!1,value:e(s),writable:!0})}:n;return nb=r,nb}var rb,FC;function iF(){if(FC)return rb;FC=1;var e=800,t=16,n=Date.now;function r(i){var s=0,l=0;return function(){var u=n(),f=t-(u-l);if(l=u,f>0){if(++s>=e)return arguments[0]}else s=0;return i.apply(void 0,arguments)}}return rb=r,rb}var ab,YC;function oF(){if(YC)return ab;YC=1;var e=aF(),t=iF(),n=t(e);return ab=n,ab}var ib,KC;function sF(){if(KC)return ib;KC=1;var e=vl(),t=nF(),n=oF();function r(i,s){return n(t(i,s,e),i+"")}return ib=r,ib}var ob,VC;function hp(){if(VC)return ob;VC=1;var e=MS(),t=$u(),n=GS(),r=_i();function i(s,l,u){if(!r(u))return!1;var f=typeof l;return(f=="number"?t(u)&&n(l,u.length):f=="string"&&l in u)?e(u[l],s):!1}return ob=i,ob}var sb,QC;function lF(){if(QC)return sb;QC=1;var e=_4(),t=eF(),n=sF(),r=hp(),i=n(function(s,l){if(s==null)return[];var u=l.length;return u>1&&r(s,l[0],l[1])?l=[]:u>2&&r(l[0],l[1],l[2])&&(l=[l[0]]),t(s,e(l,1),[])});return sb=i,sb}var cF=lF();const VS=nt(cF);function Wc(e){"@babel/helpers - typeof";return Wc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wc(e)}function e1(){return e1=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},e1.apply(this,arguments)}function uF(e,t){return pF(e)||hF(e,t)||dF(e,t)||fF()}function fF(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
184In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dF(e,t){if(e){if(typeof e=="string")return XC(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 XC(e,t)}}function XC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hF(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function pF(e){if(Array.isArray(e))return e}function WC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function lb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?WC(Object(n),!0).forEach(function(r){mF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WC(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function mF(e,t,n){return t=yF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yF(e){var t=vF(e,"string");return Wc(t)=="symbol"?t:t+""}function vF(e,t){if(Wc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Wc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gF(e){return Array.isArray(e)&&It(e[0])&&It(e[1])?e.join(" ~ "):e}var bF=function(t){var n=t.separator,r=n===void 0?" : ":n,i=t.contentStyle,s=i===void 0?{}:i,l=t.itemStyle,u=l===void 0?{}:l,f=t.labelStyle,d=f===void 0?{}:f,m=t.payload,p=t.formatter,v=t.itemSorter,x=t.wrapperClassName,O=t.labelClassName,S=t.label,w=t.labelFormatter,T=t.accessibilityLayer,C=T===void 0?!1:T,M=function(){if(m&&m.length){var L={padding:0,margin:0},F=(v?VS(m,v):m).map(function(V,X){if(V.type==="none")return null;var D=lb({display:"block",paddingTop:4,paddingBottom:4,color:V.color||"#000"},u),U=V.formatter||p||gF,B=V.value,ee=V.name,se=B,z=ee;if(U&&se!=null&&z!=null){var Y=U(B,ee,V,X,m);if(Array.isArray(Y)){var Q=uF(Y,2);se=Q[0],z=Q[1]}else se=Y}return I.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(X),style:D},It(z)?I.createElement("span",{className:"recharts-tooltip-item-name"},z):null,It(z)?I.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,I.createElement("span",{className:"recharts-tooltip-item-value"},se),I.createElement("span",{className:"recharts-tooltip-item-unit"},V.unit||""))});return I.createElement("ul",{className:"recharts-tooltip-item-list",style:L},F)}return null},N=lb({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},s),_=lb({margin:0},d),E=!ke(S),j=E?S:"",P=qe("recharts-default-tooltip",x),k=qe("recharts-tooltip-label",O);E&&w&&m!==void 0&&m!==null&&(j=w(S,m));var G=C?{role:"status","aria-live":"assertive"}:{};return I.createElement("div",e1({className:P,style:N},G),I.createElement("p",{className:k,style:_},I.isValidElement(j)?j:"".concat(j)),M())};function Zc(e){"@babel/helpers - typeof";return Zc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zc(e)}function md(e,t,n){return t=xF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xF(e){var t=SF(e,"string");return Zc(t)=="symbol"?t:t+""}function SF(e,t){if(Zc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var gc="recharts-tooltip-wrapper",wF={visibility:"hidden"};function OF(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return qe(gc,md(md(md(md({},"".concat(gc,"-right"),de(n)&&t&&de(t.x)&&n>=t.x),"".concat(gc,"-left"),de(n)&&t&&de(t.x)&&n<t.x),"".concat(gc,"-bottom"),de(r)&&t&&de(t.y)&&r>=t.y),"".concat(gc,"-top"),de(r)&&t&&de(t.y)&&r<t.y))}function ZC(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,i=e.offsetTopLeft,s=e.position,l=e.reverseDirection,u=e.tooltipDimension,f=e.viewBox,d=e.viewBoxDimension;if(s&&de(s[r]))return s[r];var m=n[r]-u-i,p=n[r]+i;if(t[r])return l[r]?m:p;if(l[r]){var v=m,x=f[r];return v<x?Math.max(p,f[r]):Math.max(m,f[r])}var O=p+u,S=f[r]+d;return O>S?Math.max(m,f[r]):Math.max(p,f[r])}function _F(e){var t=e.translateX,n=e.translateY,r=e.useTranslate3d;return{transform:r?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}function TF(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.offsetTopLeft,i=e.position,s=e.reverseDirection,l=e.tooltipBox,u=e.useTranslate3d,f=e.viewBox,d,m,p;return l.height>0&&l.width>0&&n?(m=ZC({allowEscapeViewBox:t,coordinate:n,key:"x",offsetTopLeft:r,position:i,reverseDirection:s,tooltipDimension:l.width,viewBox:f,viewBoxDimension:f.width}),p=ZC({allowEscapeViewBox:t,coordinate:n,key:"y",offsetTopLeft:r,position:i,reverseDirection:s,tooltipDimension:l.height,viewBox:f,viewBoxDimension:f.height}),d=_F({translateX:m,translateY:p,useTranslate3d:u})):d=wF,{cssProperties:d,cssClasses:OF({translateX:m,translateY:p,coordinate:n})}}function Us(e){"@babel/helpers - typeof";return Us=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Us(e)}function JC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function eM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?JC(Object(n),!0).forEach(function(r){n1(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JC(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function AF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EF(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,C4(r.key),r)}}function jF(e,t,n){return t&&EF(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function CF(e,t,n){return t=Vd(t),MF(e,j4()?Reflect.construct(t,n||[],Vd(e).constructor):t.apply(e,n))}function MF(e,t){if(t&&(Us(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return NF(e)}function NF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(j4=function(){return!!e})()}function Vd(e){return Vd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Vd(e)}function PF(e,t){if(typeof t!="function"&&t!==null)throw new 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&&t1(e,t)}function t1(e,t){return t1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},t1(e,t)}function n1(e,t,n){return t=C4(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C4(e){var t=RF(e,"string");return Us(t)=="symbol"?t:t+""}function RF(e,t){if(Us(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Us(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var tM=1,DF=(function(e){function t(){var n;AF(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=CF(this,t,[].concat(i)),n1(n,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),n1(n,"handleKeyDown",function(l){if(l.key==="Escape"){var u,f,d,m;n.setState({dismissed:!0,dismissedAtCoordinate:{x:(u=(f=n.props.coordinate)===null||f===void 0?void 0:f.x)!==null&&u!==void 0?u:0,y:(d=(m=n.props.coordinate)===null||m===void 0?void 0:m.y)!==null&&d!==void 0?d:0}})}}),n}return PF(t,e),jF(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-this.state.lastBoundingBox.width)>tM||Math.abs(r.height-this.state.lastBoundingBox.height)>tM)&&this.setState({lastBoundingBox:{width:r.width,height:r.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(){var r,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var r=this,i=this.props,s=i.active,l=i.allowEscapeViewBox,u=i.animationDuration,f=i.animationEasing,d=i.children,m=i.coordinate,p=i.hasPayload,v=i.isAnimationActive,x=i.offset,O=i.position,S=i.reverseDirection,w=i.useTranslate3d,T=i.viewBox,C=i.wrapperStyle,M=TF({allowEscapeViewBox:l,coordinate:m,offsetTopLeft:x,position:O,reverseDirection:S,tooltipBox:this.state.lastBoundingBox,useTranslate3d:w,viewBox:T}),N=M.cssClasses,_=M.cssProperties,E=eM(eM({transition:v&&s?"transform ".concat(u,"ms ").concat(f):void 0},_),{},{pointerEvents:"none",visibility:!this.state.dismissed&&s&&p?"visible":"hidden",position:"absolute",top:0,left:0},C);return I.createElement("div",{tabIndex:-1,className:N,style:E,ref:function(P){r.wrapperNode=P}},d)}}])})($.PureComponent),kF=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},jo={isSsr:kF()};function Hs(e){"@babel/helpers - typeof";return Hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hs(e)}function nM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nM(Object(n),!0).forEach(function(r){QS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function IF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $F(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,N4(r.key),r)}}function qF(e,t,n){return t&&$F(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function zF(e,t,n){return t=Qd(t),LF(e,M4()?Reflect.construct(t,n||[],Qd(e).constructor):t.apply(e,n))}function LF(e,t){if(t&&(Hs(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return BF(e)}function BF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(M4=function(){return!!e})()}function Qd(e){return Qd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Qd(e)}function UF(e,t){if(typeof t!="function"&&t!==null)throw new 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&&r1(e,t)}function r1(e,t){return r1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},r1(e,t)}function QS(e,t,n){return t=N4(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N4(e){var t=HF(e,"string");return Hs(t)=="symbol"?t:t+""}function HF(e,t){if(Hs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Hs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function GF(e){return e.dataKey}function FF(e,t){return I.isValidElement(e)?I.cloneElement(e,t):typeof e=="function"?I.createElement(e,t):I.createElement(bF,t)}var Wt=(function(e){function t(){return IF(this,t),zF(this,t,arguments)}return UF(t,e),qF(t,[{key:"render",value:function(){var r=this,i=this.props,s=i.active,l=i.allowEscapeViewBox,u=i.animationDuration,f=i.animationEasing,d=i.content,m=i.coordinate,p=i.filterNull,v=i.isAnimationActive,x=i.offset,O=i.payload,S=i.payloadUniqBy,w=i.position,T=i.reverseDirection,C=i.useTranslate3d,M=i.viewBox,N=i.wrapperStyle,_=O??[];p&&_.length&&(_=S4(O.filter(function(j){return j.value!=null&&(j.hide!==!0||r.props.includeHidden)}),S,GF));var E=_.length>0;return I.createElement(DF,{allowEscapeViewBox:l,animationDuration:u,animationEasing:f,isAnimationActive:v,active:s,coordinate:m,hasPayload:E,offset:x,position:w,reverseDirection:T,useTranslate3d:C,viewBox:M,wrapperStyle:N},FF(d,rM(rM({},this.props),{},{payload:_})))}}])})($.PureComponent);QS(Wt,"displayName","Tooltip");QS(Wt,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!jo.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 cb,aM;function YF(){if(aM)return cb;aM=1;var e=Xr(),t=function(){return e.Date.now()};return cb=t,cb}var ub,iM;function KF(){if(iM)return ub;iM=1;var e=/\s/;function t(n){for(var r=n.length;r--&&e.test(n.charAt(r)););return r}return ub=t,ub}var fb,oM;function VF(){if(oM)return fb;oM=1;var e=KF(),t=/^\s+/;function n(r){return r&&r.slice(0,e(r)+1).replace(t,"")}return fb=n,fb}var db,sM;function P4(){if(sM)return db;sM=1;var e=VF(),t=_i(),n=hl(),r=NaN,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;function f(d){if(typeof d=="number")return d;if(n(d))return r;if(t(d)){var m=typeof d.valueOf=="function"?d.valueOf():d;d=t(m)?m+"":m}if(typeof d!="string")return d===0?d:+d;d=e(d);var p=s.test(d);return p||l.test(d)?u(d.slice(2),p?2:8):i.test(d)?r:+d}return db=f,db}var hb,lM;function QF(){if(lM)return hb;lM=1;var e=_i(),t=YF(),n=P4(),r="Expected a function",i=Math.max,s=Math.min;function l(u,f,d){var m,p,v,x,O,S,w=0,T=!1,C=!1,M=!0;if(typeof u!="function")throw new TypeError(r);f=n(f)||0,e(d)&&(T=!!d.leading,C="maxWait"in d,v=C?i(n(d.maxWait)||0,f):v,M="trailing"in d?!!d.trailing:M);function N(F){var V=m,X=p;return m=p=void 0,w=F,x=u.apply(X,V),x}function _(F){return w=F,O=setTimeout(P,f),T?N(F):x}function E(F){var V=F-S,X=F-w,D=f-V;return C?s(D,v-X):D}function j(F){var V=F-S,X=F-w;return S===void 0||V>=f||V<0||C&&X>=v}function P(){var F=t();if(j(F))return k(F);O=setTimeout(P,E(F))}function k(F){return O=void 0,M&&m?N(F):(m=p=void 0,x)}function G(){O!==void 0&&clearTimeout(O),w=0,m=S=p=O=void 0}function q(){return O===void 0?x:k(t())}function L(){var F=t(),V=j(F);if(m=arguments,p=this,S=F,V){if(O===void 0)return _(S);if(C)return clearTimeout(O),O=setTimeout(P,f),N(S)}return O===void 0&&(O=setTimeout(P,f)),x}return L.cancel=G,L.flush=q,L}return hb=l,hb}var pb,cM;function XF(){if(cM)return pb;cM=1;var e=QF(),t=_i(),n="Expected a function";function r(i,s,l){var u=!0,f=!0;if(typeof i!="function")throw new TypeError(n);return t(l)&&(u="leading"in l?!!l.leading:u,f="trailing"in l?!!l.trailing:f),e(i,s,{leading:u,maxWait:s,trailing:f})}return pb=r,pb}var WF=XF();const R4=nt(WF);function Jc(e){"@babel/helpers - typeof";return Jc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jc(e)}function uM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function yd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uM(Object(n),!0).forEach(function(r){ZF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ZF(e,t,n){return t=JF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JF(e){var t=eY(e,"string");return Jc(t)=="symbol"?t:t+""}function eY(e,t){if(Jc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Jc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function tY(e,t){return iY(e)||aY(e,t)||rY(e,t)||nY()}function nY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
185In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rY(e,t){if(e){if(typeof e=="string")return fM(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 fM(e,t)}}function fM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aY(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function iY(e){if(Array.isArray(e))return e}var Tr=$.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,i=r===void 0?{width:-1,height:-1}:r,s=e.width,l=s===void 0?"100%":s,u=e.height,f=u===void 0?"100%":u,d=e.minWidth,m=d===void 0?0:d,p=e.minHeight,v=e.maxHeight,x=e.children,O=e.debounce,S=O===void 0?0:O,w=e.id,T=e.className,C=e.onResize,M=e.style,N=M===void 0?{}:M,_=$.useRef(null),E=$.useRef();E.current=C,$.useImperativeHandle(t,function(){return Object.defineProperty(_.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),_.current},configurable:!0})});var j=$.useState({containerWidth:i.width,containerHeight:i.height}),P=tY(j,2),k=P[0],G=P[1],q=$.useCallback(function(F,V){G(function(X){var D=Math.round(F),U=Math.round(V);return X.containerWidth===D&&X.containerHeight===U?X:{containerWidth:D,containerHeight:U}})},[]);$.useEffect(function(){var F=function(ee){var se,z=ee[0].contentRect,Y=z.width,Q=z.height;q(Y,Q),(se=E.current)===null||se===void 0||se.call(E,Y,Q)};S>0&&(F=R4(F,S,{trailing:!0,leading:!1}));var V=new ResizeObserver(F),X=_.current.getBoundingClientRect(),D=X.width,U=X.height;return q(D,U),V.observe(_.current),function(){V.disconnect()}},[q,S]);var L=$.useMemo(function(){var F=k.containerWidth,V=k.containerHeight;if(F<0||V<0)return null;_a(ao(l)||ao(f),`The width(%s) and height(%s) are both fixed numbers,
186       maybe you don't need to use a ResponsiveContainer.`,l,f),_a(!n||n>0,"The aspect(%s) must be greater than zero.",n);var X=ao(l)?F:l,D=ao(f)?V:f;n&&n>0&&(X?D=X/n:D&&(X=D*n),v&&D>v&&(D=v)),_a(X>0||D>0,`The width(%s) and height(%s) of chart should be greater than 0,
187       please check the style of container, or the props width(%s) and height(%s),
188       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
189       height and width.`,X,D,l,f,m,p,n);var U=!Array.isArray(x)&&Oa(x.type).endsWith("Chart");return I.Children.map(x,function(B){return I.isValidElement(B)?$.cloneElement(B,yd({width:X,height:D},U?{style:yd({height:"100%",width:"100%",maxHeight:D,maxWidth:X},B.props.style)}:{})):B})},[n,x,f,v,p,m,k,l]);return I.createElement("div",{id:w?"".concat(w):void 0,className:qe("recharts-responsive-container",T),style:yd(yd({},N),{},{width:l,height:f,minWidth:m,minHeight:p,maxHeight:v}),ref:_},L)}),pp=function(t){return null};pp.displayName="Cell";function eu(e){"@babel/helpers - typeof";return eu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eu(e)}function dM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function a1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dM(Object(n),!0).forEach(function(r){oY(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oY(e,t,n){return t=sY(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sY(e){var t=lY(e,"string");return eu(t)=="symbol"?t:t+""}function lY(e,t){if(eu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(eu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ws={widthCache:{},cacheCount:0},cY=2e3,uY={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},hM="recharts_measurement_span";function fY(e){var t=a1({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var Dc=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||jo.isSsr)return{width:0,height:0};var r=fY(n),i=JSON.stringify({text:t,copyStyle:r});if(ws.widthCache[i])return ws.widthCache[i];try{var s=document.getElementById(hM);s||(s=document.createElement("span"),s.setAttribute("id",hM),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var l=a1(a1({},uY),r);Object.assign(s.style,l),s.textContent="".concat(t);var u=s.getBoundingClientRect(),f={width:u.width,height:u.height};return ws.widthCache[i]=f,++ws.cacheCount>cY&&(ws.cacheCount=0,ws.widthCache={}),f}catch{return{width:0,height:0}}},dY=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function tu(e){"@babel/helpers - typeof";return tu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tu(e)}function Xd(e,t){return yY(e)||mY(e,t)||pY(e,t)||hY()}function hY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
190In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pY(e,t){if(e){if(typeof e=="string")return pM(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 pM(e,t)}}function pM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mY(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function yY(e){if(Array.isArray(e))return e}function vY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mM(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,bY(r.key),r)}}function gY(e,t,n){return t&&mM(e.prototype,t),n&&mM(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bY(e){var t=xY(e,"string");return tu(t)=="symbol"?t:t+""}function xY(e,t){if(tu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(tu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var yM=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,vM=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,SY=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,wY=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,D4={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},OY=Object.keys(D4),Es="NaN";function _Y(e,t){return e*D4[t]}var vd=(function(){function e(t,n){vY(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!SY.test(n)&&(this.num=NaN,this.unit=""),OY.includes(n)&&(this.num=_Y(t,n),this.unit="px")}return gY(e,[{key:"add",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num+n.num,this.unit)}},{key:"subtract",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num-n.num,this.unit)}},{key:"multiply",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num*n.num,this.unit||n.unit)}},{key:"divide",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num/n.num,this.unit||n.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(n){var r,i=(r=wY.exec(n))!==null&&r!==void 0?r:[],s=Xd(i,3),l=s[1],u=s[2];return new e(parseFloat(l),u??"")}}])})();function k4(e){if(e.includes(Es))return Es;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=yM.exec(t))!==null&&n!==void 0?n:[],i=Xd(r,4),s=i[1],l=i[2],u=i[3],f=vd.parse(s??""),d=vd.parse(u??""),m=l==="*"?f.multiply(d):f.divide(d);if(m.isNaN())return Es;t=t.replace(yM,m.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var p,v=(p=vM.exec(t))!==null&&p!==void 0?p:[],x=Xd(v,4),O=x[1],S=x[2],w=x[3],T=vd.parse(O??""),C=vd.parse(w??""),M=S==="+"?T.add(C):T.subtract(C);if(M.isNaN())return Es;t=t.replace(vM,M.toString())}return t}var gM=/\(([^()]*)\)/;function TY(e){for(var t=e;t.includes("(");){var n=gM.exec(t),r=Xd(n,2),i=r[1];t=t.replace(gM,k4(i))}return t}function AY(e){var t=e.replace(/\s+/g,"");return t=TY(t),t=k4(t),t}function EY(e){try{return AY(e)}catch{return Es}}function mb(e){var t=EY(e.slice(5,-1));return t===Es?"":t}var jY=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],CY=["dx","dy","angle","className","breakAll"];function i1(){return i1=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},i1.apply(this,arguments)}function bM(e,t){if(e==null)return{};var n=MY(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function MY(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 xM(e,t){return DY(e)||RY(e,t)||PY(e,t)||NY()}function NY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
191In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function PY(e,t){if(e){if(typeof e=="string")return SM(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 SM(e,t)}}function SM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function RY(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function DY(e){if(Array.isArray(e))return e}var I4=/[ \f\n\r\t\v\u2028\u2029]+/,$4=function(t){var n=t.children,r=t.breakAll,i=t.style;try{var s=[];ke(n)||(r?s=n.toString().split(""):s=n.toString().split(I4));var l=s.map(function(f){return{word:f,width:Dc(f,i).width}}
191),u=r?0:Dc(" ",i).width;return{wordsWithComputedWidth:l,spaceWidth:u}}catch{return null}},kY=function(t,n,r,i,s){var l=t.maxLines,u=t.children,f=t.style,d=t.breakAll,m=de(l),p=u,v=function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return X.reduce(function(D,U){var B=U.word,ee=U.width,se=D[D.length-1];if(se&&(i==null||s||se.width+ee+r<Number(i)))se.words.push(B),se.width+=ee+r;else{var z={words:[B],width:ee};D.push(z)}return D},[])},x=v(n),O=function(X){return X.reduce(function(D,U){return D.width>U.width?D:U})};if(!m)return x;for(var S="…",w=function(X){var D=p.slice(0,X),U=$4({breakAll:d,style:f,children:D+S}).wordsWithComputedWidth,B=v(U),ee=B.length>l||O(B).width>Number(i);return[ee,B]},T=0,C=p.length-1,M=0,N;T<=C&&M<=p.length-1;){var _=Math.floor((T+C)/2),E=_-1,j=w(E),P=xM(j,2),k=P[0],G=P[1],q=w(_),L=xM(q,1),F=L[0];if(!k&&!F&&(T=_+1),k&&F&&(C=_-1),!k&&F){N=G;break}M++}return N||x},wM=function(t){var n=ke(t)?[]:t.toString().split(I4);return[{words:n}]},IY=function(t){var n=t.width,r=t.scaleToFit,i=t.children,s=t.style,l=t.breakAll,u=t.maxLines;if((n||r)&&!jo.isSsr){var f,d,m=$4({breakAll:l,children:i,style:s});if(m){var p=m.wordsWithComputedWidth,v=m.spaceWidth;f=p,d=v}else return wM(i);return kY({breakAll:l,children:i,maxLines:u,style:s},f,d,n,r)}return wM(i)},OM="#808080",Wd=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,s=i===void 0?0:i,l=t.lineHeight,u=l===void 0?"1em":l,f=t.capHeight,d=f===void 0?"0.71em":f,m=t.scaleToFit,p=m===void 0?!1:m,v=t.textAnchor,x=v===void 0?"start":v,O=t.verticalAnchor,S=O===void 0?"end":O,w=t.fill,T=w===void 0?OM:w,C=bM(t,jY),M=$.useMemo(function(){return IY({breakAll:C.breakAll,children:C.children,maxLines:C.maxLines,scaleToFit:p,style:C.style,width:C.width})},[C.breakAll,C.children,C.maxLines,p,C.style,C.width]),N=C.dx,_=C.dy,E=C.angle,j=C.className,P=C.breakAll,k=bM(C,CY);if(!It(r)||!It(s))return null;var G=r+(de(N)?N:0),q=s+(de(_)?_:0),L;switch(S){case"start":L=mb("calc(".concat(d,")"));break;case"middle":L=mb("calc(".concat((M.length-1)/2," * -").concat(u," + (").concat(d," / 2))"));break;default:L=mb("calc(".concat(M.length-1," * -").concat(u,")"));break}var F=[];if(p){var V=M[0].width,X=C.width;F.push("scale(".concat((de(X)?X/V:1)/V,")"))}return E&&F.push("rotate(".concat(E,", ").concat(G,", ").concat(q,")")),F.length&&(k.transform=F.join(" ")),I.createElement("text",i1({},Re(k,!0),{x:G,y:q,className:qe("recharts-text",j),textAnchor:x,fill:T.includes("url")?OM:T}),M.map(function(D,U){var B=D.words.join(P?"":" ");return I.createElement("tspan",{x:G,dy:U===0?L:u,key:"".concat(B,"-").concat(U)},B)}))};function gi(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function $Y(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function XS(e){let t,n,r;e.length!==2?(t=gi,n=(u,f)=>gi(e(u),f),r=(u,f)=>e(u)-f):(t=e===gi||e===$Y?e:qY,n=e,r=e);function i(u,f,d=0,m=u.length){if(d<m){if(t(f,f)!==0)return m;do{const p=d+m>>>1;n(u[p],f)<0?d=p+1:m=p}while(d<m)}return d}function s(u,f,d=0,m=u.length){if(d<m){if(t(f,f)!==0)return m;do{const p=d+m>>>1;n(u[p],f)<=0?d=p+1:m=p}while(d<m)}return d}function l(u,f,d=0,m=u.length){const p=i(u,f,d,m-1);return p>d&&r(u[p-1],f)>-r(u[p],f)?p-1:p}return{left:i,center:l,right:s}}function qY(){return 0}function q4(e){return e===null?NaN:+e}function*zY(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const LY=XS(gi),qu=LY.right;XS(q4).center;class _M extends Map{constructor(t,n=HY){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(TM(this,t))}has(t){return super.has(TM(this,t))}set(t,n){return super.set(BY(this,t),n)}delete(t){return super.delete(UY(this,t))}}function TM({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function BY({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function UY({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function HY(e){return e!==null&&typeof e=="object"?e.valueOf():e}function GY(e=gi){if(e===gi)return z4;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function z4(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const FY=Math.sqrt(50),YY=Math.sqrt(10),KY=Math.sqrt(2);
191function Zd(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),s=r/Math.pow(10,i),l=s>=FY?10:s>=YY?5:s>=KY?2:1;let u,f,d;return i<0?(d=Math.pow(10,-i)/l,u=Math.round(e*d),f=Math.round(t*d),u/d<e&&++u,f/d>t&&--f,d=-d):(d=Math.pow(10,i)*l,u=Math.round(e/d),f=Math.round(t/d),u*d<e&&++u,f*d>t&&--f),f<u&&.5<=n&&n<2?Zd(e,t,n*2):[u,f,d]}function o1(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[i,s,l]=r?Zd(t,e,n):Zd(e,t,n);if(!(s>=i))return[];const u=s-i+1,f=new Array(u);if(r)if(l<0)for(let d=0;d<u;++d)f[d]=(s-d)/-l;else for(let d=0;d<u;++d)f[d]=(s-d)*l;else if(l<0)for(let d=0;d<u;++d)f[d]=(i+d)/-l;else for(let d=0;d<u;++d)f[d]=(i+d)*l;return f}function s1(e,t,n){return t=+t,e=+e,n=+n,Zd(e,t,n)[2]}function l1(e,t,n){t=+t,e=+e,n=+n;const r=t<e,i=r?s1(t,e,n):s1(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function AM(e,t){let n;for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);return n}function EM(e,t){let n;for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);return n}function L4(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?z4:GY(i);r>n;){if(r-n>600){const f=r-n+1,d=t-n+1,m=Math.log(f),p=.5*Math.exp(2*m/3),v=.5*Math.sqrt(m*p*(f-p)/f)*(d-f/2<0?-1:1),x=Math.max(n,Math.floor(t-d*p/f+v)),O=Math.min(r,Math.floor(t+(f-d)*p/f+v));L4(e,t,x,O,i)}const s=e[t];let l=n,u=r;for(bc(e,n,t),i(e[r],s)>0&&bc(e,n,r);l<u;){for(bc(e,l,u),++l,--u;i(e[l],s)<0;)++l;for(;i(e[u],s)>0;)--u}i(e[n],s)===0?bc(e,n,u):(++u,bc(e,u,r)),u<=t&&(n=u+1),t<=u&&(r=u-1)}return e}function bc(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function VY(e,t,n){if(e=Float64Array.from(zY(e)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return EM(e);if(t>=1)return AM(e);var r,i=(r-1)*t,s=Math.floor(i),l=AM(L4(e,s).subarray(0,s+1)),u=EM(e.subarray(s+1));return l+(u-l)*(i-s)}}function QY(e,t,n=q4){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,s=Math.floor(i),l=+n(e[s],s,e),u=+n(e[s+1],s+1,e);return l+(u-l)*(i-s)}}function XY(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,s=new Array(i);++r<i;)s[r]=e+r*n;return s}function dr(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function ka(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}const c1=Symbol("implicit");function WS(){var e=new _M,t=[],n=[],r=c1;function i(s){let l=e.get(s);if(l===void 0){if(r!==c1)return r;e.set(s,l=t.push(s)-1)}return n[l%n.length]}return i.domain=function(s){if(!arguments.length)return t.slice();t=[],e=new _M;for(const l of s)e.has(l)||e.set(l,t.push(l)-1);return i},i.range=function(s){return arguments.length?(n=Array.from(s),i):n.slice()},i.unknown=function(s){return arguments.length?(r=s,i):r},i.copy=function(){return WS(t,n).unknown(r)},dr.apply(i,arguments),i}function nu(){var e=WS().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,s,l,u=!1,f=0,d=0,m=.5;delete e.unknown;function p(){var v=t().length,x=i<r,O=x?i:r,S=x?r:i;s=(S-O)/Math.max(1,v-f+d*2),u&&(s=Math.floor(s)),O+=(S-O-s*(v-f))*m,l=s*(1-f),u&&(O=Math.round(O),l=Math.round(l));var w=XY(v).map(function(T){return O+s*T});return n(x?w.reverse():w)}return e.domain=function(v){return arguments.length?(t(v),p()):t()},e.range=function(v){return arguments.length?([r,i]=v,r=+r,i=+i,p()):[r,i]},e.rangeRound=function(v){return[r,i]=v,r=+r,i=+i,u=!0,p()},e.bandwidth=function(){return l},e.step=function(){return s},e.round=function(v){return arguments.length?(u=!!v,p()):u},e.padding=function(v){return arguments.length?(f=Math.min(1,d=+v),p()):f},e.paddingInner=function(v){return arguments.length?(f=Math.min(1,v),p()):f},e.paddingOuter=function(v){return arguments.length?(d=+v,p()):d},e.align=function(v){return arguments.length?(m=Math.max(0,Math.min(1,v)),p()):m},e.copy=function(){return nu(t(),[r,i]).round(u).paddingInner(f).paddingOuter(d).align(m)},dr.apply(p(),arguments)}function B4(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return B4(t())},e}function kc(){return B4(nu.apply(null,arguments).paddingInner(1))}function ZS(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function U4(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function zu(){}var ru=.7,Jd=1/ru,Rs="\\s*([+-]?\\d+)\\s*",au="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Hr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",WY=/^#([0-9a-f]{3,8})$/,ZY=new RegExp(`^rgb\\(${Rs},${Rs},${Rs}\\)$`),JY=new RegExp(`^rgb\\(${Hr},${Hr},${Hr}\\)$`),eK=new RegExp(`^rgba\\(${Rs},${Rs},${Rs},${au}\\)$`),tK=new RegExp(`^rgba\\(${Hr},${Hr},${Hr},${au}\\)$`),nK=new RegExp(`^hsl\\(${au},${Hr},${Hr}\\)$`),rK=new RegExp(`^hsla\\(${au},${Hr},${Hr},${au}\\)$`),jM={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};ZS(zu,iu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:CM,formatHex:CM,formatHex8:aK,formatHsl:iK,formatRgb:MM,toString:MM});function CM(){return this.rgb().formatHex()}function aK(){return this.rgb().formatHex8()}function iK(){return H4(this).formatHsl()}function MM(){return this.rgb().formatRgb()}function iu(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=WY.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?NM(t):n===3?new En(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?gd(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?gd(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=ZY.exec(e))?new En(t[1],t[2],t[3],1):(t=JY.exec(e))?new En(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=eK.exec(e))?gd(t[1],t[2],t[3],t[4]):(t=tK.exec(e))?gd(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=nK.exec(e))?DM(t[1],t[2]/100,t[3]/100,1):(t=rK.exec(e))?DM(t[1],t[2]/100,t[3]/100,t[4]):jM.hasOwnProperty(e)?NM(jM[e]):e==="transparent"?new En(NaN,NaN,NaN,0):null}function NM(e){return new En(e>>16&255,e>>8&255,e&255,1)}function gd(e,t,n,r){return r<=0&&(e=t=n=NaN),new En(e,t,n,r)}function oK(e){return e instanceof zu||(e=iu(e)),e?(e=e.rgb(),new En(e.r,e.g,e.b,e.opacity)):new En}function u1(e,t,n,r){return arguments.length===1?oK(e):new En(e,t,n,r??1)}function En(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}ZS(En,u1,U4(zu,{brighter(e){return e=e==null?Jd:Math.pow(Jd,e),new En(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?ru:Math.pow(ru,e),new En(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new En(fo(this.r),fo(this.g),fo(this.b),eh(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:PM,formatHex:PM,formatHex8:sK,formatRgb:RM,toString:RM}));function PM(){return`#${io(this.r)}${io(this.g)}${io(this.b)}`}function sK(){return`#${io(this.r)}${io(this.g)}${io(this.b)}${io((isNaN(this.opacity)?1:this.opacity)*255)}`}function RM(){const e=eh(this.opacity);return`${e===1?"rgb(":"rgba("}${fo(this.r)}, ${fo(this.g)}, ${fo(this.b)}${e===1?")":`, ${e})`}`}function eh(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function fo(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function io(e){return e=fo(e),(e<16?"0":"")+e.toString(16)}function DM(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Sr(e,t,n,r)}function H4(e){if(e instanceof Sr)return new Sr(e.h,e.s,e.l,e.opacity);if(e instanceof zu||(e=iu(e)),!e)return new Sr;if(e instanceof Sr)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),s=Math.max(t,n,r),l=NaN,u=s-i,f=(s+i)/2;return u?(t===s?l=(n-r)/u+(n<r)*6:n===s?l=(r-t)/u+2:l=(t-n)/u+4,u/=f<.5?s+i:2-s-i,l*=60):u
vendor: 5,134 bytes, line 191
191=f>0&&f<1?0:l,new Sr(l,u,f,e.opacity)}function lK(e,t,n,r){return arguments.length===1?H4(e):new Sr(e,t,n,r??1)}function Sr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ZS(Sr,lK,U4(zu,{brighter(e){return e=e==null?Jd:Math.pow(Jd,e),new Sr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?ru:Math.pow(ru,e),new Sr(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 En(yb(e>=240?e-240:e+120,i,r),yb(e,i,r),yb(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Sr(kM(this.h),bd(this.s),bd(this.l),eh(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=eh(this.opacity);return`${e===1?"hsl(":"hsla("}${kM(this.h)}, ${bd(this.s)*100}%, ${bd(this.l)*100}%${e===1?")":`, ${e})`}`}}));function kM(e){return e=(e||0)%360,e<0?e+360:e}function bd(e){return Math.max(0,Math.min(1,e||0))}function yb(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const JS=e=>()=>e;function cK(e,t){return function(n){return e+n*t}}function uK(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function fK(e){return(e=+e)==1?G4:function(t,n){return n-t?uK(t,n,e):JS(isNaN(t)?n:t)}}function G4(e,t){var n=t-e;return n?cK(e,n):JS(isNaN(e)?t:e)}const IM=(function e(t){var n=fK(t);function r(i,s){var l=n((i=u1(i)).r,(s=u1(s)).r),u=n(i.g,s.g),f=n(i.b,s.b),d=G4(i.opacity,s.opacity);return function(m){return i.r=l(m),i.g=u(m),i.b=f(m),i.opacity=d(m),i+""}}return r.gamma=e,r})(1);function dK(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(s){for(i=0;i<n;++i)r[i]=e[i]*(1-s)+t[i]*s;return r}}function hK(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function pK(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=new Array(r),s=new Array(n),l;for(l=0;l<r;++l)i[l]=gl(e[l],t[l]);for(;l<n;++l)s[l]=t[l];return function(u){for(l=0;l<r;++l)s[l]=i[l](u);return s}}function mK(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function th(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function yK(e,t){var n={},r={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?n[i]=gl(e[i],t[i]):r[i]=t[i];return function(s){for(i in n)r[i]=n[i](s);return r}}var f1=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,vb=new RegExp(f1.source,"g");function vK(e){return function(){return e}}function gK(e){return function(t){return e(t)+""}}function bK(e,t){var n=f1.lastIndex=vb.lastIndex=0,r,i,s,l=-1,u=[],f=[];for(e=e+"",t=t+"";(r=f1.exec(e))&&(i=vb.exec(t));)(s=i.index)>n&&(s=t.slice(n,s),u[l]?u[l]+=s:u[++l]=s),(r=r[0])===(i=i[0])?u[l]?u[l]+=i:u[++l]=i:(u[++l]=null,f.push({i:l,x:th(r,i)})),n=vb.lastIndex;return n<t.length&&(s=t.slice(n),u[l]?u[l]+=s:u[++l]=s),u.length<2?f[0]?gK(f[0].x):vK(t):(t=f.length,function(d){for(var m=0,p;m<t;++m)u[(p=f[m]).i]=p.x(d);return u.join("")})}function gl(e,t){var n=typeof t,r;return t==null||n==="boolean"?JS(t):(n==="number"?th:n==="string"?(r=iu(t))?(t=r,IM):bK:t instanceof iu?IM:t instanceof Date?mK:hK(t)?dK:Array.isArray(t)?pK:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?yK:th)(e,t)}function ew(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function xK(e,t){t===void 0&&(t=e,e=gl);for(var n=0,r=t.length-1,i=t[0],s=new Array(r<0?0:r);n<r;)s[n]=e(i,i=t[++n]);return function(l){var u=Math.max(0,Math.min(r-1,Math.floor(l*=r)));return s[u](l-u)}}function SK(e){return function(){return e}}function nh(e){return+e}var $M=[0,1];function hn(e){return e}function d1(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:SK(isNaN(t)?NaN:.5)}function wK(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function OK(e,t,n){var r=e[0],i=e[1],s=t[0],l=t[1];return i<r?(r=d1(i,r),s=n(l,s)):(r=d1(r,i),s=n(s,l)),function(u){return s(r(u))}}function _K(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),s=new Array(r),l=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++l<r;)i[l]=d1(e[l],e[l+1]),s[l]=n(t[l],t[l+1]);return function(u){var f=qu(e,u,1,r)-1;return s[f](i[f](u))}}function Lu(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function mp(){var e=$M,t=$M,n=gl,r,i,s,l=hn,u,f,d;function m(){var v=Math.min(e.length,t.length);return l!==hn&&(l=wK(e[0],e[v-1])),u=v>2?_K:OK,f=d=null,p}function p(v){return v==null||isNaN(v=+v)?s:(f||(f=u(e.map(r),t,n)))(r(l(v)))}return p.invert=function(v){return l(i((d||(d=u(t,e.map(r),th)))(v)))},p.domain=function(v){return arguments.length?(e=Array.from(v,nh),m()):e.slice()},p.range=function(v){return arguments.length?(t=Array.from(v),m()):t.slice()},p.rangeRound=function(v){return t=Array.from(v),n=ew,m()},p.clamp=function(v){return arguments.length?(l=v?!0:hn,m()):l!==hn},p.interpolate=function(v){return arguments.length?(n=v,m()):n},p.unknown=function(v){return arguments.length?(s=v,p):s}
vendor: 2,433 bytes, line 191
191,function(v,x){return r=v,i=x,m()}}function tw(){return mp()(hn,hn)}function TK(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function rh(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Gs(e){return e=rh(Math.abs(e)),e?e[1]:NaN}function AK(e,t){return function(n,r){for(var i=n.length,s=[],l=0,u=e[0],f=0;i>0&&u>0&&(f+u+1>r&&(u=Math.max(1,r-f)),s.push(n.substring(i-=u,i+u)),!((f+=u+1)>r));)u=e[l=(l+1)%e.length];return s.reverse().join(t)}}function EK(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var jK=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ou(e){if(!(t=jK.exec(e)))throw new Error("invalid format: "+e);var t;return new nw({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]})}ou.prototype=nw.prototype;function nw(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+""}nw.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 CK(e){e: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 e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var F4;function MK(e,t){var n=rh(e,t);if(!n)return e+"";var r=n[0],i=n[1],s=i-(F4=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,l=r.length;return s===l?r:s>l?r+new Array(s-l+1).join("0"):s>0?r.slice(0,s)+"."+r.slice(s):"0."+new Array(1-s).join("0")+rh(e,Math.max(0,t+s-1))[0]}function qM(e,t){var n=rh(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const zM={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:TK,e:(e,t)=>
vendor: 4,448 bytes, line 191
191e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>qM(e*100,t),r:qM,s:MK,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function LM(e){return e}var BM=Array.prototype.map,UM=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function NK(e){var t=e.grouping===void 0||e.thousands===void 0?LM:AK(BM.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+"",s=e.numerals===void 0?LM:EK(BM.call(e.numerals,String)),l=e.percent===void 0?"%":e.percent+"",u=e.minus===void 0?"−":e.minus+"",f=e.nan===void 0?"NaN":e.nan+"";function d(p){p=ou(p);var v=p.fill,x=p.align,O=p.sign,S=p.symbol,w=p.zero,T=p.width,C=p.comma,M=p.precision,N=p.trim,_=p.type;_==="n"?(C=!0,_="g"):zM[_]||(M===void 0&&(M=12),N=!0,_="g"),(w||v==="0"&&x==="=")&&(w=!0,v="0",x="=");var E=S==="$"?n:S==="#"&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",j=S==="$"?r:/[%p]/.test(_)?l:"",P=zM[_],k=/[defgprs%]/.test(_);M=M===void 0?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,M)):Math.max(0,Math.min(20,M));function G(q){var L=E,F=j,V,X,D;if(_==="c")F=P(q)+F,q="";else{q=+q;var U=q<0||1/q<0;if(q=isNaN(q)?f:P(Math.abs(q),M),N&&(q=CK(q)),U&&+q==0&&O!=="+"&&(U=!1),L=(U?O==="("?O:u:O==="-"||O==="("?"":O)+L,F=(_==="s"?UM[8+F4/3]:"")+F+(U&&O==="("?")":""),k){for(V=-1,X=q.length;++V<X;)if(D=q.charCodeAt(V),48>D||D>57){F=(D===46?i+q.slice(V+1):q.slice(V))+F,q=q.slice(0,V);break}}}C&&!w&&(q=t(q,1/0));var B=L.length+q.length+F.length,ee=B<T?new Array(T-B+1).join(v):"";switch(C&&w&&(q=t(ee+q,ee.length?T-F.length:1/0),ee=""),x){case"<":q=L+q+F+ee;break;case"=":q=L+ee+q+F;break;case"^":q=ee.slice(0,B=ee.length>>1)+L+q+F+ee.slice(B);break;default:q=ee+L+q+F;break}return s(q)}return G.toString=function(){return p+""},G}function m(p,v){var x=d((p=ou(p),p.type="f",p)),O=Math.max(-8,Math.min(8,Math.floor(Gs(v)/3)))*3,S=Math.pow(10,-O),w=UM[8+O/3];return function(T){return x(S*T)+w}}return{format:d,formatPrefix:m}}var xd,rw,Y4;PK({thousands:",",grouping:[3],currency:["$",""]});function PK(e){return xd=NK(e),rw=xd.format,Y4=xd.formatPrefix,xd}function RK(e){return Math.max(0,-Gs(Math.abs(e)))}function DK(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Gs(t)/3)))*3-Gs(Math.abs(e)))}function kK(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Gs(t)-Gs(e))+1}function K4(e,t,n,r){var i=l1(e,t,n),s;switch(r=ou(r??",f"),r.type){case"s":{var l=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(s=DK(i,l))&&(r.precision=s),Y4(r,l)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(s=kK(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=s-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(s=RK(i))&&(r.precision=s-(r.type==="%")*2);break}}return rw(r)}function Ai(e){var t=e.domain;return e.ticks=function(n){var r=t();return o1(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return K4(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,s=r.length-1,l=r[i],u=r[s],f,d,m=10;for(u<l&&(d=l,l=u,u=d,d=i,i=s,s=d);m-- >0;){if(d=s1(l,u,n),d===f)return r[i]=l,r[s]=u,t(r);if(d>0)l=Math.floor(l/d)*d,u=Math.ceil(u/d)*d;else if(d<0)l=Math.ceil(l*d)/d,u=Math.floor(u*d)/d;else break;f=d}return e},e}function ah(){var e=tw();return e.copy=function(){return Lu(e,ah())},dr.apply(e,arguments),Ai(e)}function V4(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,nh),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return V4(e).unknown(t)},e=arguments.length?Array.from(e,nh):[0,1],Ai(n)}function Q4(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],s=e[r],l;return s<i&&(l=n,n=r,r=l,l=i,i=s,s=l),e[n]=t.floor(i),e[r]=t.ceil(s),e}function HM(e){return Math.log(e)}function GM(e){return Math.exp(e)}function IK(e){return-Math.log(-e)}function $K(e){return-Math.exp(-e)}function qK(e){return isFinite(e)?+("1e"+e):e<0?0:e}function zK(e){return e===10?qK:e===Math.E?Math.exp:t=>Math.pow(e,t)}function LK(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 FM(e){return(t,n)=>-e(-t,n)}function aw(e){const t=e(HM,GM),n=t.domain;let r=10,i,s;function l(){return i=LK(r),s=zK(r),n()[0]<0?(i=FM(i),s=FM(s),e(IK,$K)):e(H
vendor: 4,287 bytes, line 191
191M,GM),t}return t.base=function(u){return arguments.length?(r=+u,l()):r},t.domain=function(u){return arguments.length?(n(u),l()):n()},t.ticks=u=>{const f=n();let d=f[0],m=f[f.length-1];const p=m<d;p&&([d,m]=[m,d]);let v=i(d),x=i(m),O,S;const w=u==null?10:+u;let T=[];if(!(r%1)&&x-v<w){if(v=Math.floor(v),x=Math.ceil(x),d>0){for(;v<=x;++v)for(O=1;O<r;++O)if(S=v<0?O/s(-v):O*s(v),!(S<d)){if(S>m)break;T.push(S)}}else for(;v<=x;++v)for(O=r-1;O>=1;--O)if(S=v>0?O/s(-v):O*s(v),!(S<d)){if(S>m)break;T.push(S)}T.length*2<w&&(T=o1(d,m,w))}else T=o1(v,x,Math.min(x-v,w)).map(s);return p?T.reverse():T},t.tickFormat=(u,f)=>{if(u==null&&(u=10),f==null&&(f=r===10?"s":","),typeof f!="function"&&(!(r%1)&&(f=ou(f)).precision==null&&(f.trim=!0),f=rw(f)),u===1/0)return f;const d=Math.max(1,r*u/t.ticks().length);return m=>{let p=m/s(Math.round(i(m)));return p*r<r-.5&&(p*=r),p<=d?f(m):""}},t.nice=()=>n(Q4(n(),{floor:u=>s(Math.floor(i(u))),ceil:u=>s(Math.ceil(i(u)))})),t}function X4(){const e=aw(mp()).domain([1,10]);return e.copy=()=>Lu(e,X4()).base(e.base()),dr.apply(e,arguments),e}function YM(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function KM(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function iw(e){var t=1,n=e(YM(t),KM(t));return n.constant=function(r){return arguments.length?e(YM(t=+r),KM(t)):t},Ai(n)}function W4(){var e=iw(mp());return e.copy=function(){return Lu(e,W4()).constant(e.constant())},dr.apply(e,arguments)}function VM(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function BK(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function UK(e){return e<0?-e*e:e*e}function ow(e){var t=e(hn,hn),n=1;function r(){return n===1?e(hn,hn):n===.5?e(BK,UK):e(VM(n),VM(1/n))}return t.exponent=function(i){return arguments.length?(n=+i,r()):n},Ai(t)}function sw(){var e=ow(mp());return e.copy=function(){return Lu(e,sw()).exponent(e.exponent())},dr.apply(e,arguments),e}function HK(){return sw.apply(null,arguments).exponent(.5)}function QM(e){return Math.sign(e)*e*e}function GK(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function Z4(){var e=tw(),t=[0,1],n=!1,r;function i(s){var l=GK(e(s));return isNaN(l)?r:n?Math.round(l):l}return i.invert=function(s){return e.invert(QM(s))},i.domain=function(s){return arguments.length?(e.domain(s),i):e.domain()},i.range=function(s){return arguments.length?(e.range((t=Array.from(s,nh)).map(QM)),i):t.slice()},i.rangeRound=function(s){return i.range(s).round(!0)},i.round=function(s){return arguments.length?(n=!!s,i):n},i.clamp=function(s){return arguments.length?(e.clamp(s),i):e.clamp()},i.unknown=function(s){return arguments.length?(r=s,i):r},i.copy=function(){return Z4(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},dr.apply(i,arguments),Ai(i)}function J4(){var e=[],t=[],n=[],r;function i(){var l=0,u=Math.max(1,t.length);for(n=new Array(u-1);++l<u;)n[l-1]=QY(e,l/u);return s}function s(l){return l==null||isNaN(l=+l)?r:t[qu(n,l)]}return s.invertExtent=function(l){var u=t.indexOf(l);return u<0?[NaN,NaN]:[u>0?n[u-1]:e[0],u<n.length?n[u]:e[e.length-1]]},s.domain=function(l){if(!arguments.length)return e.slice();e=[];for(let u of l)u!=null&&!isNaN(u=+u)&&e.push(u);return e.sort(gi),i()},s.range=function(l){return arguments.length?(t=Array.from(l),i()):t.slice()},s.unknown=function(l){return arguments.length?(r=l,s):r},s.quantiles=function(){return n.slice()},s.copy=function(){return J4().domain(e).range(t).unknown(r)},dr.apply(s,arguments)}function eD(){var e=0,t=1,n=1,r=[.5],i=[0,1],s;function l(f){return f!=null&&f<=f?i[qu(r,f,0,n)]:s}function u(){var f=-1;for(r=new Array(n);++f<n;)r[f]=((f+1)*t-(f-n)*e)/(n+1);return l}return l.domain=function(f){return arguments.length?([e,t]=f,e=+e,t=+t,u()):[e,t]},l.range=function(f){return arguments.length?(n=(i=Array.from(f)).length-1,u()):i.slice()},l.invertExtent=function(f){var d=i.indexOf(f);return d<0?[NaN,NaN]:d<1?[e,r[0]]:d>=n?[r[n-1],t]:[r[d-1],r[d]]},l.unknown=function(f){return arguments.length&&(s=f),l},l.thresholds=function(){return r.slice()},l.copy=function(){return eD().domain([e,t]).range(i).unknown(s)},dr.apply(Ai(l),arguments)}function tD(){var e=[.5],t=[0,1],n,r=1;function i(s){return s!=null&&s<=s?t[qu(e,s,0,r)]:n}return i.domain=function(s){return arguments.length?(e=Array.from(s),r=M
vendor: 4,078 bytes, line 191
191ath.min(e.length,t.length-1),i):e.slice()},i.range=function(s){return arguments.length?(t=Array.from(s),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(s){var l=t.indexOf(s);return[e[l-1],e[l]]},i.unknown=function(s){return arguments.length?(n=s,i):n},i.copy=function(){return tD().domain(e).range(t).unknown(n)},dr.apply(i,arguments)}const gb=new Date,bb=new Date;function qt(e,t,n,r){function i(s){return e(s=arguments.length===0?new Date:new Date(+s)),s}return i.floor=s=>(e(s=new Date(+s)),s),i.ceil=s=>(e(s=new Date(s-1)),t(s,1),e(s),s),i.round=s=>{const l=i(s),u=i.ceil(s);return s-l<u-s?l:u},i.offset=(s,l)=>(t(s=new Date(+s),l==null?1:Math.floor(l)),s),i.range=(s,l,u)=>{const f=[];if(s=i.ceil(s),u=u==null?1:Math.floor(u),!(s<l)||!(u>0))return f;let d;do f.push(d=new Date(+s)),t(s,u),e(s);while(d<s&&s<l);return f},i.filter=s=>qt(l=>{if(l>=l)for(;e(l),!s(l);)l.setTime(l-1)},(l,u)=>{if(l>=l)if(u<0)for(;++u<=0;)for(;t(l,-1),!s(l););else for(;--u>=0;)for(;t(l,1),!s(l););}),n&&(i.count=(s,l)=>(gb.setTime(+s),bb.setTime(+l),e(gb),e(bb),Math.floor(n(gb,bb))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?l=>r(l)%s===0:l=>i.count(0,l)%s===0):i)),i}const ih=qt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);ih.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?qt(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):ih);ih.range;const xa=1e3,lr=xa*60,Sa=lr*60,Ca=Sa*24,lw=Ca*7,XM=Ca*30,xb=Ca*365,oo=qt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*xa)},(e,t)=>(t-e)/xa,e=>e.getUTCSeconds());oo.range;const cw=qt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*xa)},(e,t)=>{e.setTime(+e+t*lr)},(e,t)=>(t-e)/lr,e=>e.getMinutes());cw.range;const uw=qt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*lr)},(e,t)=>(t-e)/lr,e=>e.getUTCMinutes());uw.range;const fw=qt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*xa-e.getMinutes()*lr)},(e,t)=>{e.setTime(+e+t*Sa)},(e,t)=>(t-e)/Sa,e=>e.getHours());fw.range;const dw=qt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Sa)},(e,t)=>(t-e)/Sa,e=>e.getUTCHours());dw.range;const Bu=qt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*lr)/Ca,e=>e.getDate()-1);Bu.range;const yp=qt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Ca,e=>e.getUTCDate()-1);yp.range;const nD=qt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Ca,e=>Math.floor(e/Ca));nD.range;function Co(e){return qt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*lr)/lw)}const vp=Co(0),oh=Co(1),FK=Co(2),YK=Co(3),Fs=Co(4),KK=Co(5),VK=Co(6);vp.range;oh.range;FK.range;YK.range;Fs.range;KK.range;VK.range;function Mo(e){return qt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/lw)}const gp=Mo(0),sh=Mo(1),QK=Mo(2),XK=Mo(3),Ys=Mo(4),WK=Mo(5),ZK=Mo(6);gp.range;sh.range;QK.range;XK.range;Ys.range;WK.range;ZK.range;const hw=qt(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());hw.range;const pw=qt(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());pw.range;const Ma=qt(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());Ma.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:qt(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)});Ma.range;const Na=qt(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());Na.every=e=>
vendor: 4,244 bytes, line 191
191!isFinite(e=Math.floor(e))||!(e>0)?null:qt(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)});Na.range;function rD(e,t,n,r,i,s){const l=[[oo,1,xa],[oo,5,5*xa],[oo,15,15*xa],[oo,30,30*xa],[s,1,lr],[s,5,5*lr],[s,15,15*lr],[s,30,30*lr],[i,1,Sa],[i,3,3*Sa],[i,6,6*Sa],[i,12,12*Sa],[r,1,Ca],[r,2,2*Ca],[n,1,lw],[t,1,XM],[t,3,3*XM],[e,1,xb]];function u(d,m,p){const v=m<d;v&&([d,m]=[m,d]);const x=p&&typeof p.range=="function"?p:f(d,m,p),O=x?x.range(d,+m+1):[];return v?O.reverse():O}function f(d,m,p){const v=Math.abs(m-d)/p,x=XS(([,,w])=>w).right(l,v);if(x===l.length)return e.every(l1(d/xb,m/xb,p));if(x===0)return ih.every(Math.max(l1(d,m,p),1));const[O,S]=l[v/l[x-1][2]<l[x][2]/v?x-1:x];return O.every(S)}return[u,f]}const[JK,eV]=rD(Na,pw,gp,nD,dw,uw),[tV,nV]=rD(Ma,hw,vp,Bu,fw,cw);function Sb(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 wb(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 xc(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function rV(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,s=e.days,l=e.shortDays,u=e.months,f=e.shortMonths,d=Sc(i),m=wc(i),p=Sc(s),v=wc(s),x=Sc(l),O=wc(l),S=Sc(u),w=wc(u),T=Sc(f),C=wc(f),M={a:U,A:B,b:ee,B:se,c:null,d:nN,e:nN,f:AV,g:IV,G:qV,H:OV,I:_V,j:TV,L:aD,m:EV,M:jV,p:z,q:Y,Q:iN,s:oN,S:CV,u:MV,U:NV,V:PV,w:RV,W:DV,x:null,X:null,y:kV,Y:$V,Z:zV,"%":aN},N={a:Q,A:te,b:ue,B:he,c:null,d:rN,e:rN,f:HV,g:JV,G:tQ,H:LV,I:BV,j:UV,L:oD,m:GV,M:FV,p:pe,q:xe,Q:iN,s:oN,S:YV,u:KV,U:VV,V:QV,w:XV,W:WV,x:null,X:null,y:ZV,Y:eQ,Z:nQ,"%":aN},_={a:G,A:q,b:L,B:F,c:V,d:eN,e:eN,f:bV,g:JM,G:ZM,H:tN,I:tN,j:mV,L:gV,m:pV,M:yV,p:k,q:hV,Q:SV,s:wV,S:vV,u:lV,U:cV,V:uV,w:sV,W:fV,x:X,X:D,y:JM,Y:ZM,Z:dV,"%":xV};M.x=E(n,M),M.X=E(r,M),M.c=E(t,M),N.x=E(n,N),N.X=E(r,N),N.c=E(t,N);function E(fe,we){return function(Oe){var ce=[],Ue=-1,je=0,lt=fe.length,it,vt,mn;for(Oe instanceof Date||(Oe=new Date(+Oe));++Ue<lt;)fe.charCodeAt(Ue)===37&&(ce.push(fe.slice(je,Ue)),(vt=WM[it=fe.charAt(++Ue)])!=null?it=fe.charAt(++Ue):vt=it==="e"?" ":"0",(mn=we[it])&&(it=mn(Oe,vt)),ce.push(it),je=Ue+1);return ce.push(fe.slice(je,Ue)),ce.join("")}}function j(fe,we){return function(Oe){var ce=xc(1900,void 0,1),Ue=P(ce,fe,Oe+="",0),je,lt;if(Ue!=Oe.length)return null;if("Q"in ce)return new Date(ce.Q);if("s"in ce)return new Date(ce.s*1e3+("L"in ce?ce.L:0));if(we&&!("Z"in ce)&&(ce.Z=0),"p"in ce&&(ce.H=ce.H%12+ce.p*12),ce.m===void 0&&(ce.m="q"in ce?ce.q:0),"V"in ce){if(ce.V<1||ce.V>53)return null;"w"in ce||(ce.w=1),"Z"in ce?(je=wb(xc(ce.y,0,1)),lt=je.getUTCDay(),je=lt>4||lt===0?sh.ceil(je):sh(je),je=yp.offset(je,(ce.V-1)*7),ce.y=je.getUTCFullYear(),ce.m=je.getUTCMonth(),ce.d=je.getUTCDate()+(ce.w+6)%7):(je=Sb(xc(ce.y,0,1)),lt=je.getDay(),je=lt>4||lt===0?oh.ceil(je):oh(je),je=Bu.offset(je,(ce.V-1)*7),ce.y=je.getFullYear(),ce.m=je.getMonth(),ce.d=je.getDate()+(ce.w+6)%7)}else("W"in ce||"U"in ce)&&("w"in ce||(ce.w="u"in ce?ce.u%7:"W"in ce?1:0),lt="Z"in ce?wb(xc(ce.y,0,1)).getUTCDay():Sb(xc(ce.y,0,1)).getDay(),ce.m=0,ce.d="W"in ce?(ce.w+6)%7+ce.W*7-(lt+5)%7:ce.w+ce.U*7-(lt+6)%7);return"Z"in ce?(ce.H+=ce.Z/100|0,ce.M+=ce.Z%100,wb(ce)):Sb(ce)}}function P(fe,we,Oe,ce){for(var Ue=0,je=we.length,lt=Oe.length,it,vt;Ue<je;){if(ce>=lt)return-1;if(it=we.charCodeAt(Ue++),it===37){if(it=we.charAt(Ue++),vt=_[it in WM?we.charAt(Ue++):it],!vt||(ce=vt(fe,Oe,ce))<0)return-1}else if(it!=Oe.charCodeAt(ce++))return-1}return ce}function k(fe,we,Oe){var ce=d.exec(we.slice(Oe));return ce?(fe.p=m.get(ce[0].toLowerCase()),Oe+ce[0].length):-1}function G(fe,we,Oe){var ce=x.exec(we.slice(Oe));return ce?(fe.w=O.get(ce[0].toLowerCase()),Oe+ce[0].length):-1}function q(fe,we,Oe){var ce=p.exec(we.slice(Oe));return ce?(fe.w=v.get(ce[0].toLowerCase()),Oe+ce[0].length):-1}function L(fe,we,Oe){var ce=T.exec(we.slice(Oe));return ce?(fe.m=C.get(ce[0].toLowerCase()),Oe+ce[0].length):-1}function F(fe,we,Oe){var ce=S.exec(we.slice(Oe));return ce?(fe.m=w.get(ce[0].toLowerCase()),Oe+ce[0].length):-1}function V(fe,we,Oe){return P(fe,t,we,Oe)}
vendor: 5,579 bytes, line 191
191function X(fe,we,Oe){return P(fe,n,we,Oe)}function D(fe,we,Oe){return P(fe,r,we,Oe)}function U(fe){return l[fe.getDay()]}function B(fe){return s[fe.getDay()]}function ee(fe){return f[fe.getMonth()]}function se(fe){return u[fe.getMonth()]}function z(fe){return i[+(fe.getHours()>=12)]}function Y(fe){return 1+~~(fe.getMonth()/3)}function Q(fe){return l[fe.getUTCDay()]}function te(fe){return s[fe.getUTCDay()]}function ue(fe){return f[fe.getUTCMonth()]}function he(fe){return u[fe.getUTCMonth()]}function pe(fe){return i[+(fe.getUTCHours()>=12)]}function xe(fe){return 1+~~(fe.getUTCMonth()/3)}return{format:function(fe){var we=E(fe+="",M);return we.toString=function(){return fe},we},parse:function(fe){var we=j(fe+="",!1);return we.toString=function(){return fe},we},utcFormat:function(fe){var we=E(fe+="",N);return we.toString=function(){return fe},we},utcParse:function(fe){var we=j(fe+="",!0);return we.toString=function(){return fe},we}}}var WM={"-":"",_:" ",0:"0"},Gt=/^\s*\d+/,aV=/^%/,iV=/[\\^$*+?|[\]().{}]/g;function Ye(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",s=i.length;return r+(s<n?new Array(n-s+1).join(t)+i:i)}function oV(e){return e.replace(iV,"\\$&")}function Sc(e){return new RegExp("^(?:"+e.map(oV).join("|")+")","i")}function wc(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function sV(e,t,n){var r=Gt.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function lV(e,t,n){var r=Gt.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function cV(e,t,n){var r=Gt.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function uV(e,t,n){var r=Gt.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function fV(e,t,n){var r=Gt.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function ZM(e,t,n){var r=Gt.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function JM(e,t,n){var r=Gt.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function dV(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 hV(e,t,n){var r=Gt.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function pV(e,t,n){var r=Gt.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function eN(e,t,n){var r=Gt.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function mV(e,t,n){var r=Gt.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function tN(e,t,n){var r=Gt.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function yV(e,t,n){var r=Gt.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function vV(e,t,n){var r=Gt.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function gV(e,t,n){var r=Gt.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function bV(e,t,n){var r=Gt.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function xV(e,t,n){var r=aV.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function SV(e,t,n){var r=Gt.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function wV(e,t,n){var r=Gt.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function nN(e,t){return Ye(e.getDate(),t,2)}function OV(e,t){return Ye(e.getHours(),t,2)}function _V(e,t){return Ye(e.getHours()%12||12,t,2)}function TV(e,t){return Ye(1+Bu.count(Ma(e),e),t,3)}function aD(e,t){return Ye(e.getMilliseconds(),t,3)}function AV(e,t){return aD(e,t)+"000"}function EV(e,t){return Ye(e.getMonth()+1,t,2)}function jV(e,t){return Ye(e.getMinutes(),t,2)}function CV(e,t){return Ye(e.getSeconds(),t,2)}function MV(e){var t=e.getDay();return t===0?7:t}function NV(e,t){return Ye(vp.count(Ma(e)-1,e),t,2)}function iD(e){var t=e.getDay();return t>=4||t===0?Fs(e):Fs.ceil(e)}function PV(e,t){return e=iD(e),Ye(Fs.count(Ma(e),e)+(Ma(e).getDay()===4),t,2)}function RV(e){return e.getDay()}function DV(e,t){return Ye(oh.count(Ma(e)-1,e),t,2)}function kV(e,t){return Ye(e.getFullYear()%100,t,2)}function IV(e,t){return e=iD(e),Ye(e.getFullYear()%100,t,2)}function $V(e,t){return Ye(e.getFullYear()%1e4,t,4)}function qV(e,t){var n=e.getDay();return e=n>=4||n===0?Fs(e):Fs.ceil(e),Ye(e.getFullYear()%1e4,t,4)}function zV(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Ye(t/60|0,"0",2)+Ye(t%60,"0",2)}function rN(e,t){return Ye(e.getUTCDate(),t,2)}function LV(e,t){return Ye(e.getUTCHours(),t,2)}function BV(e,t){return Ye(e.getUTCHours()%12||12,t,2)}function UV(e,t){return Ye(1+yp.count(Na(e),e),t,3)}function oD(e,t){return Ye(e.getUTCMilliseconds(),t,3)}function HV(e,t){return oD(e,t)+"000"}function GV(e,t){return Ye(e.getUTCMonth()+1,t,2)}function FV(e,t){return Ye(e.getUTCMinutes(),t,2)}function YV(e,t){return Ye(e.getUTCSeconds(),t,2)}function KV(e){var t=e.getUTCDay();return t===0?7:t}function VV(e,t){return Ye(gp.count(Na(e)-1,e),t,2)}function sD(e){var t=e.getUTCDay();return t>=4||t===0?Ys(e):Ys.ceil(e)}function QV(e,t){return e=sD(e),Ye(Ys.count(Na(e),e)+(Na(e).getUTCDay()===4),t,2)}function XV(e){return e.getUTCDay()}function WV(e,t){return Ye(sh.count(Na(e)-1,e),t,2)}function ZV(e,t){return Ye(e.getUTCFullYear()%100,t,2)}function JV(e,t){return e=sD(e),Ye(e.getUTCFullYear()%100,t,2)}function eQ(e,t){return Ye(e.getUTCFullYear()%1e4,t,4)}function tQ(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Ys(e):Ys.ceil(e),Ye(e.getUTCFullYear()%1e4,t,4)}function nQ(){return"+0000"}function aN(){return"%"}function iN(e){return+e}function oN(e){return Math.floor(+e/1e3)}var Os,lD,cD;rQ({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
191ay","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 rQ(e){return Os=rV(e),lD=Os.format,Os.parse,cD=Os.utcFormat,Os.utcParse,Os}function aQ(e){return new Date(e)}function iQ(e){return e instanceof Date?+e:+new Date(+e)}function mw(e,t,n,r,i,s,l,u,f,d){var m=tw(),p=m.invert,v=m.domain,x=d(".%L"),O=d(":%S"),S=d("%I:%M"),w=d("%I %p"),T=d("%a %d"),C=d("%b %d"),M=d("%B"),N=d("%Y");function _(E){return(f(E)<E?x:u(E)<E?O:l(E)<E?S:s(E)<E?w:r(E)<E?i(E)<E?T:C:n(E)<E?M:N)(E)}return m.invert=function(E){return new Date(p(E))},m.domain=function(E){return arguments.length?v(Array.from(E,iQ)):v().map(aQ)},m.ticks=function(E){var j=v();return e(j[0],j[j.length-1],E??10)},m.tickFormat=function(E,j){return j==null?_:d(j)},m.nice=function(E){var j=v();return(!E||typeof E.range!="function")&&(E=t(j[0],j[j.length-1],E??10)),E?v(Q4(j,E)):m},m.copy=function(){return Lu(m,mw(e,t,n,r,i,s,l,u,f,d))},m}function oQ(){return dr.apply(mw(tV,nV,Ma,hw,vp,Bu,fw,cw,oo,lD).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function sQ(){return dr.apply(mw(JK,eV,Na,pw,gp,yp,dw,uw,oo,cD).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function bp(){var e=0,t=1,n,r,i,s,l=hn,u=!1,f;function d(p){return p==null||isNaN(p=+p)?f:l(i===0?.5:(p=(s(p)-n)*i,u?Math.max(0,Math.min(1,p)):p))}d.domain=function(p){return arguments.length?([e,t]=p,n=s(e=+e),r=s(t=+t),i=n===r?0:1/(r-n),d):[e,t]},d.clamp=function(p){return arguments.length?(u=!!p,d):u},d.interpolator=function(p){return arguments.length?(l=p,d):l};function m(p){return function(v){var x,O;return arguments.length?([x,O]=v,l=p(x,O),d):[l(0),l(1)]}}return d.range=m(gl),d.rangeRound=m(ew),d.unknown=function(p){return arguments.length?(f=p,d):f},function(p){return s=p,n=p(e),r=p(t),i=n===r?0:1/(r-n),d}}function Ei(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function uD(){var e=Ai(bp()(hn));return e.copy=function(){return Ei(e,uD())},ka.apply(e,arguments)}function fD(){var e=aw(bp()).domain([1,10]);return e.copy=function(){return Ei(e,fD()).base(e.base())},ka.apply(e,arguments)}function dD(){var e=iw(bp());return e.copy=function(){return Ei(e,dD()).constant(e.constant())},ka.apply(e,arguments)}function yw(){var e=ow(bp());return e.copy=function(){return Ei(e,yw()).exponent(e.exponent())},ka.apply(e,arguments)}function lQ(){return yw.apply(null,arguments).exponent(.5)}function hD(){var e=[],t=hn;function n(r){if(r!=null&&!isNaN(r=+r))return t((qu(e,r,1)-1)/(e.length-1))}return n.domain=function(r){if(!arguments.length)return e.slice();e=[];for(let i of r)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort(gi),n},n.interpolator=function(r){return arguments.length?(t=r,n):t},n.range=function(){return e.map((r,i)=>t(i/(e.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(i,s)=>VY(e,s/r))},n.copy=function(){return hD(t).domain(e)},ka.apply(n,arguments)}function xp(){var e=0,t=.5,n=1,r=1,i,s,l,u,f,d=hn,m,p=!1,v;function x(S){return isNaN(S=+S)?v:(S=.5+((S=+m(S))-s)*(r*S<r*s?u:f),d(p?Math.max(0,Math.min(1,S)):S))}x.domain=function(S){return arguments.length?([e,t,n]=S,i=m(e=+e),s=m(t=+t),l=m(n=+n),u=i===s?0:.5/(s-i),f=s===l?0:.5/(l-s),r=s<i?-1:1,x):[e,t,n]},x.clamp=function(S){return arguments.length?(p=!!S,x):p},x.interpolator=function(S){return arguments.length?(d=S,x):d};function O(S){return function(w){var T,C,M;return arguments.length?([T,C,M]=w,d=xK(S,[T,C,M]),x):[d(0),d(.5),d(1)]}}return x.range=O(gl),x.rangeRound=O(ew),x.unknown=function(S){return arguments.length?(v=S,x):v},function(S){return m=S,i=S(e),s=S(t),l=S(n),u=i===s?0:.5/(s-i),f=s===l?0:.5/(l-s),r=s<i?-1:1,x}}function pD(){var e=Ai(xp()(hn));return e.copy=function(){return Ei(e,pD())},ka.apply(e,arguments)}function mD(){var e=aw(xp()).domain([.1,1,10]);return e.copy=function(){return Ei(e,mD()).base(e.base())},ka.apply(e,arguments)}function yD(){var e=iw(xp());return e.copy=function(){return Ei(e,yD()).constant(e.constant())},ka.apply(e,arguments)}function vw(){var e=ow(xp());return e.copy=function(){return Ei(e,vw()).exponent(e.exponent())},ka.apply(e,arguments)}function cQ(){return vw.apply(null,arguments).exponent(.5)}const sN=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:nu,scaleDiverging:pD,scaleDivergingLog:mD,scaleDivergingPow:vw,scaleDivergingSqrt:cQ,scaleDivergingSymlog:yD,scaleIdentity:V4,scaleImplicit:c1,scaleLinear:ah,scaleLog:X4,scaleOrdinal:WS,scalePoint:kc,scalePow:sw,scaleQuantile:J4,scaleQuantize:eD,scaleRadial:Z4,scaleSequential:uD,scaleSequentialLog:fD,scaleSequentialPow:yw,scaleSequentialQuantile:hD,scaleSequentialSqrt:lQ,scaleSequentialSymlog:dD,scaleSqrt:HK,scaleSymlog:W4,scaleThreshold:tD,scaleTime:oQ,scaleUtc:sQ,tickFormat:K4},Symbol.toStringTag,{value:"Module"}));var Ob,lN;function vD(){if(lN)return Ob;lN=1;var e=hl();function t(n,r,i){for(var s=-1,l=n.length;++s<l;){var u=n[s],f=r(u);if(f!=null&&(d===void 0?f===f&&!e(f):i(f,d)))var d=f,m=u}return m}return Ob=t,Ob}var _b,cN;function uQ(){if(cN)return _b;cN=1;function e(t,n){return t>n}return _b=e,_b}var Tb,uN;function fQ(){if(uN)return Tb;uN=1;var e=vD(),t=uQ(),n=vl();function r(i){return i&&i.length?e(i,n,t):void 0}return Tb=r,Tb}var dQ=fQ();const mi=nt(dQ);var Ab,fN;
vendor: 65,340 bytes, lines 191-217
191function hQ(){if(fN)return Ab;fN=1;function e(t,n){return t<n}return Ab=e,Ab}var Eb,dN;function pQ(){if(dN)return Eb;dN=1;var e=vD(),t=hQ(),n=vl();function r(i){return i&&i.length?e(i,n,t):void 0}return Eb=r,Eb}var mQ=pQ();const Sp=nt(mQ);var jb,hN;function yQ(){if(hN)return jb;hN=1;var e=RS(),t=Ti(),n=A4(),r=Cn();function i(s,l){var u=r(s)?e:n;return u(s,t(l,3))}return jb=i,jb}var Cb,pN;function vQ(){if(pN)return Cb;pN=1;var e=_4(),t=yQ();function n(r,i){return e(t(r,i),1)}return Cb=n,Cb}var gQ=vQ();const bQ=nt(gQ);var Mb,mN;function xQ(){if(mN)return Mb;mN=1;var e=YS();function t(n,r){return e(n,r)}return Mb=t,Mb}var SQ=xQ();const Ks=nt(SQ);var bl=1e9,wQ={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},bw,pt=!0,fr="[DecimalError] ",ho=fr+"Invalid argument: ",gw=fr+"Exponent out of range: ",xl=Math.floor,to=Math.pow,OQ=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Gn,Ht=1e7,ft=7,gD=9007199254740991,lh=xl(gD/ft),ye={};ye.absoluteValue=ye.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};ye.comparedTo=ye.cmp=function(e){var t,n,r,i,s=this;if(e=new s.constructor(e),s.s!==e.s)return s.s||-e.s;if(s.e!==e.e)return s.e>e.e^s.s<0?1:-1;for(r=s.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(s.d[t]!==e.d[t])return s.d[t]>e.d[t]^s.s<0?1:-1;return r===i?0:r>i^s.s<0?1:-1};ye.decimalPlaces=ye.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*ft;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};ye.dividedBy=ye.div=function(e){return Ta(this,new this.constructor(e))};ye.dividedToIntegerBy=ye.idiv=function(e){var t=this,n=t.constructor;return at(Ta(t,new n(e),0,1),n.precision)};ye.equals=ye.eq=function(e){return!this.cmp(e)};ye.exponent=function(){return Nt(this)};ye.greaterThan=ye.gt=function(e){return this.cmp(e)>0};ye.greaterThanOrEqualTo=ye.gte=function(e){return this.cmp(e)>=0};ye.isInteger=ye.isint=function(){return this.e>this.d.length-2};ye.isNegative=ye.isneg=function(){return this.s<0};ye.isPositive=ye.ispos=function(){return this.s>0};ye.isZero=function(){return this.s===0};ye.lessThan=ye.lt=function(e){return this.cmp(e)<0};ye.lessThanOrEqualTo=ye.lte=function(e){return this.cmp(e)<1};ye.logarithm=ye.log=function(e){var t,n=this,r=n.constructor,i=r.precision,s=i+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(Gn))throw Error(fr+"NaN");if(n.s<1)throw Error(fr+(n.s?"NaN":"-Infinity"));return n.eq(Gn)?new r(0):(pt=!1,t=Ta(su(n,s),su(e,s),s),pt=!0,at(t,i))};ye.minus=ye.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?SD(t,e):bD(t,(e.s=-e.s,e))};ye.modulo=ye.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(e=new r(e),!e.s)throw Error(fr+"NaN");return n.s?(pt=!1,t=Ta(n,e,0,1).times(e),pt=!0,n.minus(t)):at(new r(n),i)};ye.naturalExponential=ye.exp=function(){return xD(this)};ye.naturalLogarithm=ye.ln=function(){return su(this)};ye.negated=ye.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};ye.plus=ye.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?bD(t,e):SD(t,(e.s=-e.s,e))};ye.precision=ye.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(ho+e);if(t=Nt(i)+1,r=i.d.length-1,n=r*ft+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};ye.squareRoot=ye.sqrt=function(){var e,t,n,r,i,s,l,u=this,f=u.constructor;if(u.s<1){if(!u.s)return new f(0);throw Error(fr+"NaN")}for(e=Nt(u),pt=!1,i=Math.sqrt(+u),i==0||i==1/0?(t=zr(u.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=xl((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),r=new f(t)):r=new f(i.toString()),n=f.precision,i=l=n+3;;)if(s=r,r=s.plus(Ta(u,s,l+2)).times(.5),zr(s.d).slice(0,l)===(t=zr(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),i==l&&t=="4999"){if(at(s,n+1,0),s.times(s).eq(u)){r=s;break}}else if(t!="9999")break;l+=4}return pt=!0,at(r,n)};ye.times=ye.mul=function(e){var t,n,r,i,s,l,u,f,d,m=this,p=m.constructor,v=m.d,x=(e=new p(e)).d;if(!m.s||!e.s)return new p(0);for(e.s*=m.s,n=m.e+e.e,f=v.length,d=x.length,f<d&&(s=v,v=x,x=s,l=f,f=d,d=l),s=[],l=f+d,r=l;r--;)s.push(0);for(r=d;--r>=0;){for(t=0,i=f+r;i>r;)u=s[i]+x[r]*v[i-r-1]+t,s[i--]=u%Ht|0,t=u/Ht|0;s[i]=(s[i]+t)%Ht|0}for(;!s[--l];)s.pop();return t?++n:s.shift(),e.d=s,e.e=n,pt?at(e,p.precision):e};ye.toDecimalPlaces=ye.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(Yr(e,0,bl),t===void 0?t=r.rounding:Yr(t,0,8),at(n,e+Nt(n)+1,t))};ye.toExponential=function(e,t){var n,r=this,i=r.constructor;return e===void 0?n=bo(r,!0):(Yr(e,0,bl),t===void 0?t=i.rounding:Yr(t,0,8),r=at(new i(r),e+1,t),n=bo(r,!0,e+1)),n};ye.toFixed=function(e,t){var n,r,i=this,s=i.constructor;return e===void 0?bo(i):(Yr(e,0,bl),t===void 0?t=s.rounding:Yr(t,0,8),r=at(new s(i),e+Nt(i)+1,t),n=bo(r.abs(),!1,e+Nt(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)};ye.toInteger=ye.toint=function(){var e=this,t=e.constructor;return at(new t(e),Nt(e)+1,t.rounding)};ye.toNumber=function(){return+this};ye.toPower=ye.pow=function(e){var t,n,r,i,s,l,u=this,f=u.constructor,d=12,m=+(e=new f(e));if(!e.s)return new f(Gn);if(u=new f(u),!u.s){if(e.s<1)throw Error(fr+"Infinity");return u}if(u.eq(Gn))return u;if(r=f.precision,e.eq(Gn))return at(u,r);if(t=e.e,n=e.d.length-1,l=t>=n,s=u.s,l){if((n=m<0?-m:m)<=gD){for(i=new f(Gn),t=Math.ceil(r/ft+4),pt=!1;n%2&&(i=i.times(u),vN(i.d,t)),n=xl(n/2),n!==0;)u=u.times(u),vN(u.d,t);return pt=!0,e.s<0?new f(Gn).div(i):at(i,r)}}else if(s<0)throw Error(fr+"NaN");return s=s<0&&e.d[Math.max(t,n)]&1?-1:1,u.s=1,pt=!1,i=e.times(su(u,r+d)),pt=!0,i=xD(i),i.s=s,i};ye.toPrecision=function(e,t){var n,r,i=this,s=i.constructor;return e===void 0?(n=Nt(i),r=bo(i,n<=s.toExpNeg||n>=s.toExpPos)):(Yr(e,1,bl),t===void 0?t=s.rounding:Yr(t,0,8),i=at(new s(i),e,t),n=Nt(i),r=bo(i,e<=n||n<=s.toExpNeg,e)),r};ye.toSignificantDigits=ye.tosd=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(Yr(e,1,bl),t===void 0?t=r.rounding:Yr(t,0,8)),at(new r(n),e,t)};ye.toString=ye.valueOf=ye.val=ye.toJSON=ye[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Nt(e),n=e.constructor;return bo(e,t<=n.toExpNeg||t>=n.toExpPos)};function bD(e,t){var n,r,i,s,l,u,f,d,m=e.constructor,p=m.precision;if(!e.s||!t.s)return t.s||(t=new m(e)),pt?at(t,p):t;if(f=e.d,d=t.d,l=e.e,i=t.e,f=f.slice(),s=l-i,s){for(s<0?(r=f,s=-s,u=d.length):(r=d,i=l,u=f.length),l=Math.ceil(p/ft),u=l>u?l+1:u+1,s>u&&(s=u,r.length=1),r.reverse();s--;)r.push(0);r.reverse()}for(u=f.length,s=d.length,u-s<0&&(s=u,r=d,d=f,f=r),n=0;s;)n=(f[--s]=f[s]+d[s]+n)/Ht|0,f[s]%=Ht;for(n&&(f.unshift(n),++i),u=f.length;f[--u]==0;)f.pop();return t.d=f,t.e=i,pt?at(t,p):t}function Yr(e,t,n){if(e!==~~e||e<t||e>n)throw Error(ho+e)}function zr(e){var t,n,r,i=e.length-1,s="",l=e[0];if(i>0){for(s+=l,t=1;t<i;t++)r=e[t]+"",n=ft-r.length,n&&(s+=fi(n)),s+=r;l=e[t],r=l+"",n=ft-r.length,n&&(s+=fi(n))}else if(l===0)return"0";for(;l%10===0;)l/=10;return s+l}var Ta=(function(){function e(r,i){var s,l=0,u=r.length;for(r=r.slice();u--;)s=r[u]*i+l,r[u]=s%Ht|0,l=s/Ht|0;return l&&r.unshift(l),r}function t(r,i,s,l){var u,f;if(s!=l)f=s>l?1:-1;else for(u=f=0;u<s;u++)if(r[u]!=i[u]){f=r[u]>i[u]?1:-1;break}return f}function n(r,i,s){for(var l=0;s--;)r[s]-=l,l=r[s]<i[s]?1:0,r[s]=l*Ht+r[s]-i[s];for(;!r[0]&&r.length>1;)r.shift()}return function(r,i,s,l){var u,f,d,m,p,v,x,O,S,w,T,C,M,N,_,E,j,P,k=r.constructor,G=r.s==i.s?1:-1,q=r.d,L=i.d;if(!r.s)return new k(r);if(!i.s)throw Error(fr+"Division by zero");for(f=r.e-i.e,j=L.length,_=q.length,x=new k(G),O=x.d=[],d=0;L[d]==(q[d]||0);)++d;if(L[d]>(q[d]||0)&&--f,s==null?C=s=k.precision:l?C=s+(Nt(r)-Nt(i))+1:C=s,C<0)return new k(0);if(C=C/ft+2|0,d=0,j==1)for(m=0,L=L[0],C++;(d<_||m)&&C--;d++)M=m*Ht+(q[d]||0),O[d]=M/L|0,m=M%L|0;else{for(m=Ht/(L[0]+1)|0,m>1&&(L=e(L,m),q=e(q,m),j=L.length,_=q.length),N=j,S=q.slice(0,j),w=S.length;w<j;)S[w++]=0;P=L.slice(),P.unshift(0),E=L[0],L[1]>=Ht/2&&++E;do m=0,u=t(L,S,j,w),u<0?(T=S[0],j!=w&&(T=T*Ht+(S[1]||0)),m=T/E|0,m>1?(m>=Ht&&(m=Ht-1),p=e(L,m),v=p.length,w=S.length,u=t(p,S,v,w),u==1&&(m--,n(p,j<v?P:L,v))):(m==0&&(u=m=1),p=L.slice()),v=p.length,v<w&&p.unshift(0),n(S,p,w),u==-1&&(w=S.length,u=t(L,S,j,w),u<1&&(m++,n(S,j<w?P:L,w))),w=S.length):u===0&&(m++,S=[0]),O[d++]=m,u&&S[0]?S[w++]=q[N]||0:(S=[q[N]],w=1);while((N++<_||S[0]!==void 0)&&C--)}return O[0]||O.shift(),x.e=f,at(x,l?s+Nt(x)+1:s)}})();function xD(e,t){var n,r,i,s,l,u,f=0,d=0,m=e.constructor,p=m.precision;if(Nt(e)>16)throw Error(gw+Nt(e));if(!e.s)return new m(Gn);for(pt=!1,u=p,l=new m(.03125);e.abs().gte(.1);)e=e.times(l),d+=5;for(r=Math.log(to(2,d))/Math.LN10*2+5|0,u+=r,n=i=s=new m(Gn),m.precision=u;;){if(i=at(i.times(e),u),n=n.times(++f),l=s.plus(Ta(i,n,u)),zr(l.d).slice(0,u)===zr(s.d).slice(0,u)){for(;d--;)s=at(s.times(s),u);return m.precision=p,t==null?(pt=!0,at(s,p)):s}s=l}}function Nt(e){for(var t=e.e*ft,n=e.d[0];n>=10;n/=10)t++;return t}function Nb(e,t,n){if(t>e.LN10.sd())throw pt=!0,n&&(e.precision=n),Error(fr+"LN10 precision limit exceeded");return at(new e(e.LN10),t)}function fi(e){for(var t="";e--;)t+="0";return t}function su(e,t){var n,r,i,s,l,u,f,d,m,p=1,v=10,x=e,O=x.d,S=x.constructor,w=S.precision;if(x.s<1)throw Error(fr+(x.s?"NaN":"-Infinity"));if(x.eq(Gn))return new S(0);if(t==null?(pt=!1,d=w):d=t,x.eq(10))return t==null&&(pt=!0),Nb(S,d);if(d+=v,S.precision=d,n=zr(O),r=n.charAt(0),s=Nt(x),Math.abs(s)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)x=x.times(e),n=zr(x.d),r=n.charAt(0),p++;s=Nt(x),r>1?(x=new S("0."+n),s++):x=new S(r+"."+n.slice(1))}else return f=Nb(S,d+2,w).times(s+""),x=su(new S(r+"."+n.slice(1)),d-v).plus(f),S.precision=w,t==null?(pt=!0,at(x,w)):x;for(u=l=x=Ta(x.minus(Gn),x.plus(Gn),d),m=at(x.times(x),d),i=3;;){if(l=at(l.times(m),d),f=u.plus(Ta(l,new S(i),d)),zr(f.d).slice(0,d)===zr(u.d).slice(0,d))return u=u.times(2),s!==0&&(u=u.plus(Nb(S,d+2,w).times(s+""))),u=Ta(u,new S(p),d),S.precision=w,t==null?(pt=!0,at(u,w)):u;u=f,i+=2}}function yN(e,t){var n,r,i;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(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(r,i),t){if(i-=r,n=n-r-1,e.e=xl(n/ft),e.d=[],r=(n+1)%ft,n<0&&(r+=ft),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=ft;r<i;)e.d.push(+t.slice(r,r+=ft));t=t.slice(r),r=ft-t.length}else r-=i;for(;r--;)t+="0";if(e.d.push(+t),pt&&(e.e>lh||e.e<-lh))throw Error(gw+n)}else e.s=0,e.e=0,e.d=[0];return e}function at(e,t,n){var r,i,s,l,u,f,d,m,p=e.d;for(l=1,s=p[0];s>=10;s/=10)l++;if(r=t-l,r<0)r+=ft,i=t,d=p[m=0];else{if(m=Math.ceil((r+1)/ft),s=p.length,m>=s)return e;for(d=s=p[m],l=1;s>=10;s/=10)l++;r%=ft,i=r-ft+l}if(n!==void 0&&(s=to(10,l-i-1),u=d/s%10|0,f=t<0||p[m+1]!==void 0||d%s,f=n<4?(u||f)&&(n==0||n==(e.s<0?3:2)):u>5||u==5&&(n==4||f||n==6&&(r>0?i>0?d/to(10,l-i):0:p[m-1])%10&1||n==(e.s<0?8:7))),t<1||!p[0])return f?(s=Nt(e),p.length=1,t=t-s-1,p[0]=to(10,(ft-t%ft)%ft),e.e=xl(-t/ft)||0):(p.length=1,p[0]=e.e=e.s=0),e;if(r==0?(p.length=m,s=1,m--):(p.length=m+1,s=to(10,ft-r),p[m]=i>0?(d/to(10,l-i)%to(10,i)|0)*s:0),f)for(;;)if(m==0){(p[0]+=s)==Ht&&(p[0]=1,++e.e);break}else{if(p[m]+=s,p[m]!=Ht)break;p[m--]=0,s=1}for(r=p.length;p[--r]===0;)p.pop();if(pt&&(e.e>lh||e.e<-lh))throw Error(gw+Nt(e));return e}function SD(e,t){var n,r,i,s,l,u,f,d,m,p,v=e.constructor,x=v.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new v(e),pt?at(t,x):t;if(f=e.d,p=t.d,r=t.e,d=e.e,f=f.slice(),l=d-r,l){for(m=l<0,m?(n=f,l=-l,u=p.length):(n=p,r=d,u=f.length),i=Math.max(Math.ceil(x/ft),u)+2,l>i&&(l=i,n.length=1),n.reverse(),i=l;i--;)n.push(0);n.reverse()}else{for(i=f.length,u=p.length,m=i<u,m&&(u=i),i=0;i<u;i++)if(f[i]!=p[i]){m=f[i]<p[i];break}l=0}for(m&&(n=f,f=p,p=n,t.s=-t.s),u=f.length,i=p.length-u;i>0;--i)f[u++]=0;for(i=p.length;i>l;){if(f[--i]<p[i]){for(s=i;s&&f[--s]===0;)f[s]=Ht-1;--f[s],f[i]+=Ht}f[i]-=p[i]}for(;f[--u]===0;)f.pop();for(;f[0]===0;f.shift())--r;return f[0]?(t.d=f,t.e=r,pt?at(t,x):t):new v(0)}function bo(e,t,n){var r,i=Nt(e),s=zr(e.d),l=s.length;return t?(n&&(r=n-l)>0?s=s.charAt(0)+"."+s.slice(1)+fi(r):l>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(i<0?"e":"e+")+i):i<0?(s="0."+fi(-i-1)+s,n&&(r=n-l)>0&&(s+=fi(r))):i>=l?(s+=fi(i+1-l),n&&(r=n-i-1)>0&&(s=s+"."+fi(r))):((r=i+1)<l&&(s=s.slice(0,r)+"."+s.slice(r)),n&&(r=n-l)>0&&(i+1===l&&(s+="."),s+=fi(r))),e.s<0?"-"+s:s}function vN(e,t){if(e.length>t)return e.length=t,!0}function wD(e){var t,n,r;function i(s){var l=this;if(!(l instanceof i))return new i(s);if(l.constructor=i,s instanceof i){l.s=s.s,l.e=s.e,l.d=(s=s.d)?s.slice():s;return}if(typeof s=="number"){if(s*0!==0)throw Error(ho+s);if(s>0)l.s=1;else if(s<0)s=-s,l.s=-1;else{l.s=0,l.e=0,l.d=[0];return}if(s===~~s&&s<1e7){l.e=0,l.d=[s];return}return yN(l,s.toString())}else if(typeof s!="string")throw Error(ho+s);if(s.charCodeAt(0)===45?(s=s.slice(1),l.s=-1):l.s=1,OQ.test(s))yN(l,s);else throw Error(ho+s)}if(i.prototype=ye,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=wD,i.config=i.set=_Q,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 _Q(e){if(!e||typeof e!="object")throw Error(fr+"Object expected");var t,n,r,i=["precision",1,bl,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((r=e[n=i[t]])!==void 0)if(xl(r)===r&&r>=i[t+1]&&r<=i[t+2])this[n]=r;else throw Error(ho+n+": "+r);if((r=e[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(ho+n+": "+r);return this}var bw=wD(wQ);Gn=new bw(1);const tt=bw;function TQ(e){return CQ(e)||jQ(e)||EQ(e)||AQ()}function AQ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
192In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EQ(e,t){if(e){if(typeof e=="string")return h1(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 h1(e,t)}}function jQ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function CQ(e){if(Array.isArray(e))return h1(e)}function h1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var MQ=function(t){return t},OD={},_D=function(t){return t===OD},gN=function(t){return function n(){return arguments.length===0||arguments.length===1&&_D(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},NQ=function e(t,n){return t===1?n:gN(function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];var l=i.filter(function(u){return u!==OD}).length;return l>=t?n.apply(void 0,i):e(t-l,gN(function(){for(var u=arguments.length,f=new Array(u),d=0;d<u;d++)f[d]=arguments[d];var m=i.map(function(p){return _D(p)?f.shift():p});return n.apply(void 0,TQ(m).concat(f))}))})},wp=function(t){return NQ(t.length,t)},p1=function(t,n){for(var r=[],i=t;i<n;++i)r[i-t]=i;return r},PQ=wp(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),RQ=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return MQ;var i=n.reverse(),s=i[0],l=i.slice(1);return function(){return l.reduce(function(u,f){return f(u)},s.apply(void 0,arguments))}},m1=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},TD=function(t){var n=null,r=null;return function(){for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return n&&s.every(function(u,f){return u===n[f]})||(n=s,r=t.apply(void 0,s)),r}};function DQ(e){var t;return e===0?t=1:t=Math.floor(new tt(e).abs().log(10).toNumber())+1,t}function kQ(e,t,n){for(var r=new tt(e),i=0,s=[];r.lt(t)&&i<1e5;)s.push(r.toNumber()),r=r.add(n),i++;return s}var IQ=wp(function(e,t,n){var r=+e,i=+t;return r+n*(i-r)}),$Q=wp(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),qQ=wp(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const Op={rangeStep:kQ,getDigitCount:DQ,interpolateNumber:IQ,uninterpolateNumber:$Q,uninterpolateTruncation:qQ};function y1(e){return BQ(e)||LQ(e)||AD(e)||zQ()}function zQ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
193In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function LQ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function BQ(e){if(Array.isArray(e))return v1(e)}function lu(e,t){return GQ(e)||HQ(e,t)||AD(e,t)||UQ()}function UQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
194In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function AD(e,t){if(e){if(typeof e=="string")return v1(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 v1(e,t)}}function v1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function HQ(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,s=void 0;try{for(var l=e[Symbol.iterator](),u;!(r=(u=l.next()).done)&&(n.push(u.value),!(t&&n.length===t));r=!0);}catch(f){i=!0,s=f}finally{try{!r&&l.return!=null&&l.return()}finally{if(i)throw s}}return n}}function GQ(e){if(Array.isArray(e))return e}function ED(e){var t=lu(e,2),n=t[0],r=t[1],i=n,s=r;return n>r&&(i=r,s=n),[i,s]}function jD(e,t,n){if(e.lte(0))return new tt(0);var r=Op.getDigitCount(e.toNumber()),i=new tt(10).pow(r),s=e.div(i),l=r!==1?.05:.1,u=new tt(Math.ceil(s.div(l).toNumber())).add(n).mul(l),f=u.mul(i);return t?f:new tt(Math.ceil(f))}function FQ(e,t,n){var r=1,i=new tt(e);if(!i.isint()&&n){var s=Math.abs(e);s<1?(r=new tt(10).pow(Op.getDigitCount(e)-1),i=new tt(Math.floor(i.div(r).toNumber())).mul(r)):s>1&&(i=new tt(Math.floor(e)))}else e===0?i=new tt(Math.floor((t-1)/2)):n||(i=new tt(Math.floor(e)));var l=Math.floor((t-1)/2),u=RQ(PQ(function(f){return i.add(new tt(f-l).mul(r)).toNumber()}),p1);return u(0,t)}function CD(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 tt(0),tickMin:new tt(0),tickMax:new tt(0)};var s=jD(new tt(t).sub(e).div(n-1),r,i),l;e<=0&&t>=0?l=new tt(0):(l=new tt(e).add(t).div(2),l=l.sub(new tt(l).mod(s)));var u=Math.ceil(l.sub(e).div(s).toNumber()),f=Math.ceil(new tt(t).sub(l).div(s).toNumber()),d=u+f+1;return d>n?CD(e,t,n,r,i+1):(d<n&&(f=t>0?f+(n-d):f,u=t>0?u:u+(n-d)),{step:s,tickMin:l.sub(new tt(u).mul(s)),tickMax:l.add(new tt(f).mul(s))})}function YQ(e){var t=lu(e,2),n=t[0],r=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=Math.max(i,2),u=ED([n,r]),f=lu(u,2),d=f[0],m=f[1];if(d===-1/0||m===1/0){var p=m===1/0?[d].concat(y1(p1(0,i-1).map(function(){return 1/0}))):[].concat(y1(p1(0,i-1).map(function(){return-1/0})),[m]);return n>r?m1(p):p}if(d===m)return FQ(d,i,s);var v=CD(d,m,l,s),x=v.step,O=v.tickMin,S=v.tickMax,w=Op.rangeStep(O,S.add(new tt(.1).mul(x)),x);return n>r?m1(w):w}function KQ(e,t){var n=lu(e,2),r=n[0],i=n[1],s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=ED([r,i]),u=lu(l,2),f=u[0],d=u[1];if(f===-1/0||d===1/0)return[r,i];if(f===d)return[f];var m=Math.max(t,2),p=jD(new tt(d).sub(f).div(m-1),s,0),v=[].concat(y1(Op.rangeStep(new tt(f),new tt(d).sub(new tt(.99).mul(p)),p)),[d]);return r>i?m1(v):v}var VQ=TD(YQ),QQ=TD(KQ),XQ="Invariant failed";function xo(e,t){throw new Error(XQ)}var WQ=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Vs(e){"@babel/helpers - typeof";return Vs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vs(e)}function ch(){return ch=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},ch.apply(this,arguments)}function ZQ(e,t){return nX(e)||tX(e,t)||eX(e,t)||JQ()}function JQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
195In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eX(e,t){if(e){if(typeof e=="string")return bN(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 bN(e,t)}}function bN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tX(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function nX(e){if(Array.isArray(e))return e}function rX(e,t){if(e==null)return{};var n=aX(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function aX(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 iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oX(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,PD(r.key),r)}}function sX(e,t,n){return t&&oX(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function lX(e,t,n){return t=uh(t),cX(e,MD()?Reflect.construct(t,n||[],uh(e).constructor):t.apply(e,n))}function cX(e,t){if(t&&(Vs(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return uX(e)}function uX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MD(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(MD=function(){return!!e})()}function uh(e){return uh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},uh(e)}function fX(e,t){if(typeof t!="function"&&t!==null)throw new 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&&g1(e,t)}function g1(e,t){return g1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},g1(e,t)}function ND(e,t,n){return t=PD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PD(e){var t=dX(e,"string");return Vs(t)=="symbol"?t:t+""}function dX(e,t){if(Vs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Vs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Uu=(function(e){function t(){return iX(this,t),lX(this,t,arguments)}return fX(t,e),sX(t,[{key:"render",value:function(){var r=this.props,i=r.offset,s=r.layout,l=r.width,u=r.dataKey,f=r.data,d=r.dataPointFormatter,m=r.xAxis,p=r.yAxis,v=rX(r,WQ),x=Re(v,!1);this.props.direction==="x"&&m.type!=="number"&&xo();var O=f.map(function(S){var w=d(S,u),T=w.x,C=w.y,M=w.value,N=w.errorVal;if(!N)return null;var _=[],E,j;if(Array.isArray(N)){var P=ZQ(N,2);E=P[0],j=P[1]}else E=j=N;if(s==="vertical"){var k=m.scale,G=C+i,q=G+l,L=G-l,F=k(M-E),V=k(M+j);_.push({x1:V,y1:q,x2:V,y2:L}),_.push({x1:F,y1:G,x2:V,y2:G}),_.push({x1:F,y1:q,x2:F,y2:L})}else if(s==="horizontal"){var X=p.scale,D=T+i,U=D-l,B=D+l,ee=X(M-E),se=X(M+j);_.push({x1:U,y1:se,x2:B,y2:se}),_.push({x1:D,y1:ee,x2:D,y2:se}),_.push({x1:U,y1:ee,x2:B,y2:ee})}return I.createElement(st,ch({className:"recharts-errorBar",key:"bar-".concat(_.map(function(z){return"".concat(z.x1,"-").concat(z.x2,"-").concat(z.y1,"-").concat(z.y2)}))},x),_.map(function(z){return I.createElement("line",ch({},z,{key:"line-".concat(z.x1,"-").concat(z.x2,"-").concat(z.y1,"-").concat(z.y2)}))}))});return I.createElement(st,{className:"recharts-errorBars"},O)}}])})(I.Component);ND(Uu,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});ND(Uu,"displayName","ErrorBar");function cu(e){"@babel/helpers - typeof";return cu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cu(e)}function xN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ji(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xN(Object(n),!0).forEach(function(r){hX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function hX(e,t,n){return t=pX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pX(e){var t=mX(e,"string");return cu(t)=="symbol"?t:t+""}function mX(e,t){if(cu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(cu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var RD=function(t){var n=t.children,r=t.formattedGraphicalItems,i=t.legendWidth,s=t.legendContent,l=Ln(n,Ps);if(!l)return null;var u=Ps.defaultProps,f=u!==void 0?Ji(Ji({},u),l.props):{},d;return l.props&&l.props.payload?d=l.props&&l.props.payload:s==="children"?d=(r||[]).reduce(function(m,p){var v=p.item,x=p.props,O=x.sectors||x.data||[];return m.concat(O.map(function(S){return{type:l.props.iconType||v.props.legendType,value:S.name,color:S.fill,payload:S}}))},[]):d=(r||[]).map(function(m){var p=m.item,v=p.type.defaultProps,x=v!==void 0?Ji(Ji({},v),p.props):{},O=x.dataKey,S=x.name,w=x.legendType,T=x.hide;return{inactive:T,dataKey:O,type:f.iconType||w||"square",color:xw(p),value:S||O,payload:x}}),Ji(Ji(Ji({},f),Ps.getWithHeight(l,i)),{},{payload:d,item:l})};function uu(e){"@babel/helpers - typeof";return uu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uu(e)}function SN(e){return bX(e)||gX(e)||vX(e)||yX()}function yX(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
196In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vX(e,t){if(e){if(typeof e=="string")return b1(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 b1(e,t)}}function gX(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bX(e){if(Array.isArray(e))return b1(e)}function b1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wN(Object(n),!0).forEach(function(r){Ds(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ds(e,t,n){return t=xX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xX(e){var t=SX(e,"string");return uu(t)=="symbol"?t:t+""}function SX(e,t){if(uu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(uu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pn(e,t,n){return ke(e)||ke(t)?n:It(t)?cr(e,t,n):Ne(t)?t(e):n}function Ic(e,t,n,r){var i=bQ(e,function(u){return pn(u,t)});if(n==="number"){var s=i.filter(function(u){return de(u)||parseFloat(u)});return s.length?[Sp(s),mi(s)]:[1/0,-1/0]}var l=r?i.filter(function(u){return!ke(u)}):i;return l.map(function(u){return It(u)||u instanceof Date?u:""})}var wX=function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0,l=-1,u=(n=r?.length)!==null&&n!==void 0?n:0;if(u<=1)return 0;if(s&&s.axisType==="angleAxis"&&Math.abs(Math.abs(s.range[1]-s.range[0])-360)<=1e-6)for(var f=s.range,d=0;d<u;d++){var m=d>0?i[d-1].coordinate:i[u-1].coordinate,p=i[d].coordinate,v=d>=u-1?i[0].coordinate:i[d+1].coordinate,x=void 0;if(wr(p-m)!==wr(v-p)){var O=[];if(wr(v-p)===wr(f[1]-f[0])){x=v;var S=p+f[1]-f[0];O[0]=Math.min(S,(S+m)/2),O[1]=Math.max(S,(S+m)/2)}else{x=m;var w=v+f[1]-f[0];O[0]=Math.min(p,(w+p)/2),O[1]=Math.max(p,(w+p)/2)}var T=[Math.min(p,(x+p)/2),Math.max(p,(x+p)/2)];if(t>T[0]&&t<=T[1]||t>=O[0]&&t<=O[1]){l=i[d].index;break}}else{var C=Math.min(m,v),M=Math.max(m,v);if(t>(C+p)/2&&t<=(M+p)/2){l=i[d].index;break}}}else for(var N=0;N<u;N++)if(N===0&&t<=(r[N].coordinate+r[N+1].coordinate)/2||N>0&&N<u-1&&t>(r[N].coordinate+r[N-1].coordinate)/2&&t<=(r[N].coordinate+r[N+1].coordinate)/2||N===u-1&&t>(r[N].coordinate+r[N-1].coordinate)/2){l=r[N].index;break}return l},xw=function(t){var n,r=t,i=r.type.displayName,s=(n=t.type)!==null&&n!==void 0&&n.defaultProps?xt(xt({},t.type.defaultProps),t.props):t.props,l=s.stroke,u=s.fill,f;switch(i){case"Line":f=l;break;case"Area":case"Radar":f=l&&l!=="none"?l:u;break;default:f=u;break}return f},OX=function(t){var n=t.barSize,r=t.totalSize,i=t.stackGroups,s=i===void 0?{}:i;if(!s)return{};for(var l={},u=Object.keys(s),f=0,d=u.length;f<d;f++)for(var m=s[u[f]].stackGroups,p=Object.keys(m),v=0,x=p.length;v<x;v++){var O=m[p[v]],S=O.items,w=O.cateAxisId,T=S.filter(function(j){return Oa(j.type).indexOf("Bar")>=0});if(T&&T.length){var C=T[0].type.defaultProps,M=C!==void 0?xt(xt({},C),T[0].props):T[0].props,N=M.barSize,_=M[w];l[_]||(l[_]=[]);var E=ke(N)?n:N;l[_].push({item:T[0],stackList:T.slice(1),barSize:ke(E)?void 0:go(E,r,0)})}}return l},_X=function(t){var n=t.barGap,r=t.barCategoryGap,i=t.bandSize,s=t.sizeList,l=s===void 0?[]:s,u=t.maxBarSize,f=l.length;if(f<1)return null;var d=go(n,i,0,!0),m,p=[];if(l[0].barSize===+l[0].barSize){var v=!1,x=i/f,O=l.reduce(function(N,_){return N+_.barSize||0},0);O+=(f-1)*d,O>=i&&(O-=(f-1)*d,d=0),O>=i&&x>0&&(v=!0,x*=.9,O=f*x);var S=(i-O)/2>>0,w={offset:S-d,size:0};m=l.reduce(function(N,_){var E={item:_.item,position:{offset:w.offset+w.size+d,size:v?x:_.barSize}},j=[].concat(SN(N),[E]);return w=j[j.length-1].position,_.stackList&&_.stackList.length&&_.stackList.forEach(function(P){j.push({item:P,position:w})}),j},p)}else{var T=go(r,i,0,!0);i-2*T-(f-1)*d<=0&&(d=0);var C=(i-2*T-(f-1)*d)/f;C>1&&(C>>=0);var M=u===+u?Math.min(C,u):C;m=l.reduce(function(N,_,E){var j=[].concat(SN(N),[{item:_.item,position:{offset:T+(C+d)*E+(C-M)/2,size:M}}]);return _.stackList&&_.stackList.length&&_.stackList.forEach(function(P){j.push({item:P,position:j[j.length-1].position})}),j},p)}return m},TX=function(t,n,r,i){var s=r.children,l=r.width,u=r.margin,f=l-(u.left||0)-(u.right||0),d=RD({children:s,legendWidth:f});if(d){var m=i||{},p=m.width,v=m.height,x=d.align,O=d.verticalAlign,S=d.layout;if((S==="vertical"||S==="horizontal"&&O==="middle")&&x!=="center"&&de(t[x]))return xt(xt({},t),{},Ds({},x,t[x]+(p||0)));if((S==="horizontal"||S==="vertical"&&x==="center")&&O!=="middle"&&de(t[O]))return xt(xt({},t),{},Ds({},O,t[O]+(v||0)))}return t},AX=function(t,n,r){return ke(n)?!0:t==="horizontal"?n==="yAxis":t==="vertical"||r==="x"?n==="xAxis":r==="y"?n==="yAxis":!0},DD=function(t,n,r,i,s){var l=n.props.children,u=ur(l,Uu).filter(function(d){return AX(i,s,d.props.direction)});if(u&&u.length){var f=u.map(function(d){return d.props.dataKey});return t.reduce(function(d,m){var p=pn(m,r);if(ke(p))return d;var v=Array.isArray(p)?[Sp(p),mi(p)]:[p,p],x=f.reduce(function(O,S){var w=pn(m,S,0),T=v[0]-Math.abs(Array.isArray(w)?w[0]:w),C=v[1]+Math.abs(Array.isArray(w)?w[1]:w);return[Math.min(T,O[0]),Math.max(C,O[1])]},[1/0,-1/0]);return[Math.min(x[0],d[0]),Math.max(x[1],d[1])]},[1/0,-1/0])}return null},EX=function(t,n,r,i,s){var l=n.map(function(u){return DD(t,u,r,s,i)}).filter(function(u){return!ke(u)});return l&&l.length?l.reduce(function(u,f){return[Math.min(u[0],f[0]),Math.max(u[1],f[1])]},[1/0,-1/0]):null},kD=function(t,n,r,i,s){var l=n.map(function(f){var d=f.props.dataKey;return r==="number"&&d&&DD(t,f,d,i)||Ic(t,d,r,s)});if(r==="number")return l.reduce(function(f,d){return[Math.min(f[0],d[0]),Math.max(f[1],d[1])]},[1/0,-1/0]);var u={};return l.reduce(function(f,d){for(var m=0,p=d.length;m<p;m++)u[d[m]]||(u[d[m]]=!0,f.push(d[m]));return f},[])},ID=function(t,n){return t==="horizontal"&&n==="xAxis"||t==="vertical"&&n==="yAxis"||t==="centric"&&n==="angleAxis"||t==="radial"&&n==="radiusAxis"},$D=function(t,n,r,i){if(i)return t.map(function(f){return f.coordinate});var s,l,u=t.map(function(f){return f.coordinate===n&&(s=!0),f.coordinate===r&&(l=!0),f.coordinate});return s||u.push(n),l||u.push(r),u},wa=function(t,n,r){if(!t)return null;var i=t.scale,s=t.duplicateDomain,l=t.type,u=t.range,f=t.realScaleType==="scaleBand"?i.bandwidth()/2:2,d=(n||r)&&l==="category"&&i.bandwidth?i.bandwidth()/f:0;if(d=t.axisType==="angleAxis"&&u?.length>=2?wr(u[0]-u[1])*2*d:d,n&&(t.ticks||t.niceTicks)){var m=(t.ticks||t.niceTicks).map(function(p){var v=s?s.indexOf(p):p;return{coordinate:i(v)+d,value:p,offset:d}});return m.filter(function(p){return!ml(p.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(p,v){return{coordinate:i(p)+d,value:p,index:v,offset:d}}):i.ticks&&!r?i.ticks(t.tickCount).map(function(p){return{coordinate:i(p)+d,value:p,offset:d}}):i.domain().map(function(p,v){return{coordinate:i(p)+d,value:s?s[p]:p,index:v,offset:d}})},Pb=new WeakMap,Sd=function(t,n){if(typeof n!="function")return t;Pb.has(t)||Pb.set(t,new WeakMap);var r=Pb.get(t);if(r.has(n))return r.get(n);var i=function(){t.apply(void 0,arguments),n.apply(void 0,arguments)};return r.set(n,i),i},jX=function(t,n,r){var i=t.scale,s=t.type,l=t.layout,u=t.axisType;if(i==="auto")return l==="radial"&&u==="radiusAxis"?{scale:nu(),realScaleType:"band"}:l==="radial"&&u==="angleAxis"?{scale:ah(),realScaleType:"linear"}:s==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:kc(),realScaleType:"point"}:s==="category"?{scale:nu(),realScaleType:"band"}:{scale:ah(),realScaleType:"linear"};if(vo(i)){var f="scale".concat(sp(i));return{scale:(sN[f]||kc)(),realScaleType:sN[f]?f:"point"}}return Ne(i)?{scale:i}:{scale:kc(),realScaleType:"point"}},ON=1e-4,CX=function(t){var n=t.domain();if(!(!n||n.length<=2)){var r=n.length,i=t.range(),s=Math.min(i[0],i[1])-ON,l=Math.max(i[0],i[1])+ON,u=t(n[0]),f=t(n[r-1]);(u<s||u>l||f<s||f>l)&&t.domain([n[0],n[r-1]])}},MX=function(t,n){if(!t)return null;for(var r=0,i=t.length;r<i;r++)if(t[r].item===n)return t[r].position;return null},NX=function(t,n){if(!n||n.length!==2||!de(n[0])||!de(n[1]))return t;var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]),s=[t[0],t[1]];return(!de(t[0])||t[0]<r)&&(s[0]=r),(!de(t[1])||t[1]>i)&&(s[1]=i),s[0]>i&&(s[0]=i),s[1]<r&&(s[1]=r),s},PX=function(t){var n=t.length;if(!(n<=0))for(var r=0,i=t[0].length;r<i;++r)for(var s=0,l=0,u=0;u<n;++u){var f=ml(t[u][r][1])?t[u][r][0]:t[u][r][1];f>=0?(t[u][r][0]=s,t[u][r][1]=s+f,s=t[u][r][1]):(t[u][r][0]=l,t[u][r][1]=l+f,l=t[u][r][1])}},RX=function(t){var n=t.length;if(!(n<=0))for(var r=0,i=t[0].length;r<i;++r)for(var s=0,l=0;l<n;++l){var u=ml(t[l][r][1])?t[l][r][0]:t[l][r][1];u>=0?(t[l][r][0]=s,t[l][r][1]=s+u,s=t[l][r][1]):(t[l][r][0]=0,t[l][r][1]=0)}},DX={sign:PX,expand:vH,none:zs,silhouette:gH,wiggle:bH,positive:RX},kX=function(t,n,r){var i=n.map(function(u){return u.props.dataKey}),s=DX[r],l=yH().keys(i).value(function(u,f){return+pn(u,f,0)}).order(Qx).offset(s);return l(t)},IX=function(t,n,r,i,s,l){if(!t)return null;var u=l?n.reverse():n,f={},d=u.reduce(function(p,v){var x,O=(x=v.type)!==null&&x!==void 0&&x.defaultProps?xt(xt({},v.type.defaultProps),v.props):v.props,S=O.stackId,w=O.hide;if(w)return p;var T=O[r],C=p[T]||{hasStack:!1,stackGroups:{}};if(It(S)){var M=C.stackGroups[S]||{numericAxisId:r,cateAxisId:i,items:[]};M.items.push(v),C.hasStack=!0,C.stackGroups[S]=M}else C.stackGroups[yl("_stackId_")]={numericAxisId:r,cateAxisId:i,items:[v]};return xt(xt({},p),{},Ds({},T,C))},f),m={};return Object.keys(d).reduce(function(p,v){var x=d[v];if(x.hasStack){var O={};x.stackGroups=Object.keys(x.stackGroups).reduce(function(S,w){var T=x.stackGroups[w];return xt(xt({},S),{},Ds({},w,{numericAxisId:r,cateAxisId:i,items:T.items,stackedData:kX(t,T.items,s)}))},O)}return xt(xt({},p),{},Ds({},v,x))},m)},$X=function(t,n){var r=n.realScaleType,i=n.type,s=n.tickCount,l=n.originalDomain,u=n.allowDecimals,f=r||n.scale;if(f!=="auto"&&f!=="linear")return null;if(s&&i==="number"&&l&&(l[0]==="auto"||l[1]==="auto")){var d=t.domain();if(!d.length)return null;var m=VQ(d,s,u);return t.domain([Sp(m),mi(m)]),{niceTicks:m}}if(s&&i==="number"){var p=t.domain(),v=QQ(p,s,u);return{niceTicks:v}}return null};function fh(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,s=e.index,l=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!ke(i[t.dataKey])){var u=qd(n,"value",i[t.dataKey]);if(u)return u.coordinate+r/2}return n[s]?n[s].coordinate+r/2:null}var f=pn(i,ke(l)?t.dataKey:l);return ke(f)?null:t.scale(f)}var _N=function(t){var n=t.axis,r=t.ticks,i=t.offset,s=t.bandSize,l=t.entry,u=t.index;if(n.type==="category")return r[u]?r[u].coordinate+i:null;var f=pn(l,n.dataKey,n.domain[u]);return ke(f)?null:n.scale(f)-s/2+i},qX=function(t){var n=t.numericAxis,r=n.scale.domain();if(n.type==="number"){var i=Math.min(r[0],r[1]),s=Math.max(r[0],r[1]);return i<=0&&s>=0?0:s<0?s:i}return r[0]},zX=function(t,n){var r,i=(r=t.type)!==null&&r!==void 0&&r.defaultProps?xt(xt({},t.type.defaultProps),t.props):t.props,s=i.stackId;if(It(s)){var l=n[s];if(l){var u=l.items.indexOf(t);return u>=0?l.stackedData[u]:null}}return null},LX=function(t){return t.reduce(function(n,r){return[Sp(r.concat([n[0]]).filter(de)),mi(r.concat([n[1]]).filter(de))]},[1/0,-1/0])},qD=function(t,n,r){return Object.keys(t).reduce(function(i,s){var l=t[s],u=l.stackedData,f=u.reduce(function(d,m){var p=LX(m.slice(n,r+1));return[Math.min(d[0],p[0]),Math.max(d[1],p[1])]},[1/0,-1/0]);return[Math.min(f[0],i[0]),Math.max(f[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},TN=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,AN=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,x1=function(t,n,r){if(Ne(t))return t(n,r);if(!Array.isArray(t))return n;var i=[];if(de(t[0]))i[0]=r?t[0]:Math.min(t[0],n[0]);else if(TN.test(t[0])){var s=+TN.exec(t[0])[1];i[0]=n[0]-s}else Ne(t[0])?i[0]=t[0](n[0]):i[0]=n[0];if(de(t[1]))i[1]=r?t[1]:Math.max(t[1],n[1]);else if(AN.test(t[1])){var l=+AN.exec(t[1])[1];i[1]=n[1]+l}else Ne(t[1])?i[1]=t[1](n[1]):i[1]=n[1];return i},dh=function(t,n,r){if(t&&t.scale&&t.scale.bandwidth){var i=t.scale.bandwidth();if(!r||i>0)return i}if(t&&n&&n.length>=2){for(var s=VS(n,function(p){return p.coordinate}),l=1/0,u=1,f=s.length;u<f;u++){var d=s[u],m=s[u-1];l=Math.min((d.coordinate||0)-(m.coordinate||0),l)}return l===1/0?0:l}return r?void 0:0},EN=function(t,n,r){return!t||!t.length||Ks(t,cr(r,"type.defaultProps.domain"))?n:t},zD=function(t,n){var r=t.type.defaultProps?xt(xt({},t.type.defaultProps),t.props):t.props,i=r.dataKey,s=r.name,l=r.unit,u=r.formatter,f=r.tooltipType,d=r.chartType,m=r.hide;return xt(xt({},Re(t,!1)),{},{dataKey:i,unit:l,formatter:u,name:s||i,color:xw(t),value:pn(n,i),type:f,payload:n,chartType:d,hide:m})};function fu(e){"@babel/helpers - typeof";return fu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fu(e)}function jN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jN(Object(n),!0).forEach(function(r){BX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function BX(e,t,n){return t=UX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function UX(e){var t=HX(e,"string");return fu(t)=="symbol"?t:t+""}function HX(e,t){if(fu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(fu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var hh=Math.PI/180,GX=function(t){return t*180/Math.PI},Jt=function(t,n,r,i){return{x:t+Math.cos(-hh*i)*r,y:n+Math.sin(-hh*i)*r}},FX=function(t,n){var r=t.x,i=t.y,s=n.x,l=n.y;return Math.sqrt(Math.pow(r-s,2)+Math.pow(i-l,2))},YX=function(t,n){var r=t.x,i=t.y,s=n.cx,l=n.cy,u=FX({x:r,y:i},{x:s,y:l});if(u<=0)return{radius:u};var f=(r-s)/u,d=Math.acos(f);return i>l&&(d=2*Math.PI-d),{radius:u,angle:GX(d),angleInRadian:d}},KX=function(t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),s=Math.floor(r/360),l=Math.min(i,s);return{startAngle:n-l*360,endAngle:r-l*360}},VX=function(t,n){var r=n.startAngle,i=n.endAngle,s=Math.floor(r/360),l=Math.floor(i/360),u=Math.min(s,l);return t+u*360},MN=function(t,n){var r=t.x,i=t.y,s=YX({x:r,y:i},n),l=s.radius,u=s.angle,f=n.innerRadius,d=n.outerRadius;if(l<f||l>d)return!1;if(l===0)return!0;var m=KX(n),p=m.startAngle,v=m.endAngle,x=u,O;if(p<=v){for(;x>v;)x-=360;for(;x<p;)x+=360;O=x>=p&&x<=v}else{for(;x>p;)x-=360;for(;x<v;)x+=360;O=x>=v&&x<=p}return O?CN(CN({},n),{},{radius:l,angle:VX(x,n)}):null};function du(e){"@babel/helpers - typeof";return du=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},du(e)}var QX=["offset"];function XX(e){return eW(e)||JX(e)||ZX(e)||WX()}function WX(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
197In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZX(e,t){if(e){if(typeof e=="string")return S1(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 S1(e,t)}}function JX(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eW(e){if(Array.isArray(e))return S1(e)}function S1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tW(e,t){if(e==null)return{};var n=nW(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function nW(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 NN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?NN(Object(n),!0).forEach(function(r){rW(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):NN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function rW(e,t,n){return t=aW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aW(e){var t=iW(e,"string");return du(t)=="symbol"?t:t+""}function iW(e,t){if(du(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(du(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hu(){return hu=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},hu.apply(this,arguments)}var oW=function(t){var n=t.value,r=t.formatter,i=ke(t.children)?n:t.children;return Ne(r)?r(i):i},sW=function(t,n){var r=wr(n-t),i=Math.min(Math.abs(n-t),360);return r*i},lW=function(t,n,r){var i=t.position,s=t.viewBox,l=t.offset,u=t.className,f=s,d=f.cx,m=f.cy,p=f.innerRadius,v=f.outerRadius,x=f.startAngle,O=f.endAngle,S=f.clockWise,w=(p+v)/2,T=sW(x,O),C=T>=0?1:-1,M,N;i==="insideStart"?(M=x+C*l,N=S):i==="insideEnd"?(M=O-C*l,N=!S):i==="end"&&(M=O+C*l,N=S),N=T<=0?N:!N;var _=Jt(d,m,w,M),E=Jt(d,m,w,M+(N?1:-1)*359),j="M".concat(_.x,",").concat(_.y,`
198    A`).concat(w,",").concat(w,",0,1,").concat(N?0:1,`,
199    `).concat(E.x,",").concat(E.y),P=ke(t.id)?yl("recharts-radial-line-"):t.id;return I.createElement("text",hu({},r,{dominantBaseline:"central",className:qe("recharts-radial-bar-label",u)}),I.createElement("defs",null,I.createElement("path",{id:P,d:j})),I.createElement("textPath",{xlinkHref:"#".concat(P)},n))},cW=function(t){var n=t.viewBox,r=t.offset,i=t.position,s=n,l=s.cx,u=s.cy,f=s.innerRadius,d=s.outerRadius,m=s.startAngle,p=s.endAngle,v=(m+p)/2;if(i==="outside"){var x=Jt(l,u,d+r,v),O=x.x,S=x.y;return{x:O,y:S,textAnchor:O>=l?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:l,y:u,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:l,y:u,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:l,y:u,textAnchor:"middle",verticalAnchor:"end"};var w=(f+d)/2,T=Jt(l,u,w,v),C=T.x,M=T.y;return{x:C,y:M,textAnchor:"middle",verticalAnchor:"middle"}},uW=function(t){var n=t.viewBox,r=t.parentViewBox,i=t.offset,s=t.position,l=n,u=l.x,f=l.y,d=l.width,m=l.height,p=m>=0?1:-1,v=p*i,x=p>0?"end":"start",O=p>0?"start":"end",S=d>=0?1:-1,w=S*i,T=S>0?"end":"start",C=S>0?"start":"end";if(s==="top"){var M={x:u+d/2,y:f-p*i,textAnchor:"middle",verticalAnchor:x};return kt(kt({},M),r?{height:Math.max(f-r.y,0),width:d}:{})}if(s==="bottom"){var N={x:u+d/2,y:f+m+v,textAnchor:"middle",verticalAnchor:O};return kt(kt({},N),r?{height:Math.max(r.y+r.height-(f+m),0),width:d}:{})}if(s==="left"){var _={x:u-w,y:f+m/2,textAnchor:T,verticalAnchor:"middle"};return kt(kt({},_),r?{width:Math.max(_.x-r.x,0),height:m}:{})}if(s==="right"){var E={x:u+d+w,y:f+m/2,textAnchor:C,verticalAnchor:"middle"};return kt(kt({},E),r?{width:Math.max(r.x+r.width-E.x,0),height:m}:{})}var j=r?{width:d,height:m}:{};return s==="insideLeft"?kt({x:u+w,y:f+m/2,textAnchor:C,verticalAnchor:"middle"},j):s==="insideRight"?kt({x:u+d-w,y:f+m/2,textAnchor:T,verticalAnchor:"middle"},j):s==="insideTop"?kt({x:u+d/2,y:f+v,textAnchor:"middle",verticalAnchor:O},j):s==="insideBottom"?kt({x:u+d/2,y:f+m-v,textAnchor:"middle",verticalAnchor:x},j):s==="insideTopLeft"?kt({x:u+w,y:f+v,textAnchor:C,verticalAnchor:O},j):s==="insideTopRight"?kt({x:u+d-w,y:f+v,textAnchor:T,verticalAnchor:O},j):s==="insideBottomLeft"?kt({x:u+w,y:f+m-v,textAnchor:C,verticalAnchor:x},j):s==="insideBottomRight"?kt({x:u+d-w,y:f+m-v,textAnchor:T,verticalAnchor:x},j):pl(s)&&(de(s.x)||ao(s.x))&&(de(s.y)||ao(s.y))?kt({x:u+go(s.x,d),y:f+go(s.y,m),textAnchor:"end",verticalAnchor:"end"},j):kt({x:u+d/2,y:f+m/2,textAnchor:"middle",verticalAnchor:"middle"},j)},fW=function(t){return"cx"in t&&de(t.cx)};function on(e){var t=e.offset,n=t===void 0?5:t,r=tW(e,QX),i=kt({offset:n},r),s=i.viewBox,l=i.position,u=i.value,f=i.children,d=i.content,m=i.className,p=m===void 0?"":m,v=i.textBreakAll;if(!s||ke(u)&&ke(f)&&!$.isValidElement(d)&&!Ne(d))return null;if($.isValidElement(d))return $.cloneElement(d,i);var x;if(Ne(d)){if(x=$.createElement(d,i),$.isValidElement(x))return x}else x=oW(i);var O=fW(s),S=Re(i,!0);if(O&&(l==="insideStart"||l==="insideEnd"||l==="end"))return lW(i,x,S);var w=O?cW(i):uW(i);return I.createElement(Wd,hu({className:qe("recharts-label",p)},S,w,{breakAll:v}),x)}on.displayName="Label";var LD=function(t){var n=t.cx,r=t.cy,i=t.angle,s=t.startAngle,l=t.endAngle,u=t.r,f=t.radius,d=t.innerRadius,m=t.outerRadius,p=t.x,v=t.y,x=t.top,O=t.left,S=t.width,w=t.height,T=t.clockWise,C=t.labelViewBox;if(C)return C;if(de(S)&&de(w)){if(de(p)&&de(v))return{x:p,y:v,width:S,height:w};if(de(x)&&de(O))return{x,y:O,width:S,height:w}}return de(p)&&de(v)?{x:p,y:v,width:0,height:0}:de(n)&&de(r)?{cx:n,cy:r,startAngle:s||i||0,endAngle:l||i||0,innerRadius:d||0,outerRadius:m||f||u||0,clockWise:T}:t.viewBox?t.viewBox:{}},dW=function(t,n){return t?t===!0?I.createElement(on,{key:"label-implicit",viewBox:n}):It(t)?I.createElement(on,{key:"label-implicit",viewBox:n,value:t}):$.isValidElement(t)?t.type===on?$.cloneElement(t,{key:"label-implicit",viewBox:n}):I.createElement(on,{key:"label-implicit",content:t,viewBox:n}):Ne(t)?I.createElement(on,{key:"label-implicit",content:t,viewBox:n}):pl(t)?I.createElement(on,hu({viewBox:n},t,{key:"label-implicit"})):null:null},hW=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&r&&!t.label)return null;var i=t.children,s=LD(t),l=ur(i,on).map(function(f,d){return $.cloneElement(f,{viewBox:n||s,key:"label-".concat(d)})});if(!r)return l;var u=dW(t.label,n||s);return[u].concat(XX(l))};on.parseViewBox=LD;on.renderCallByParent=hW;var Rb,PN;function pW(){if(PN)return Rb;PN=1;function e(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}return Rb=e,Rb}var mW=pW();const yW=nt(mW);function pu(e){"@babel/helpers - typeof";return pu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pu(e)}var vW=["valueAccessor"],gW=["data","dataKey","clockWise","id","textBreakAll"];function bW(e){return OW(e)||wW(e)||SW(e)||xW()}function xW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
200In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function SW(e,t){if(e){if(typeof e=="string")return w1(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 w1(e,t)}}function wW(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function OW(e){if(Array.isArray(e))return w1(e)}function w1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ph(){return ph=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},ph.apply(this,arguments)}function RN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function DN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?RN(Object(n),!0).forEach(function(r){_W(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _W(e,t,n){return t=TW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TW(e){var t=AW(e,"string");return pu(t)=="symbol"?t:t+""}function AW(e,t){if(pu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(pu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kN(e,t){if(e==null)return{};var n=EW(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function EW(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 jW=function(t){return Array.isArray(t.value)?yW(t.value):t.value};function Aa(e){var t=e.valueAccessor,n=t===void 0?jW:t,r=kN(e,vW),i=r.data,s=r.dataKey,l=r.clockWise,u=r.id,f=r.textBreakAll,d=kN(r,gW);return!i||!i.length?null:I.createElement(st,{className:"recharts-label-list"},i.map(function(m,p){var v=ke(s)?n(m,p):pn(m&&m.payload,s),x=ke(u)?{}:{id:"".concat(u,"-").concat(p)};return I.createElement(on,ph({},Re(m,!0),d,x,{parentViewBox:m.parentViewBox,value:v,textBreakAll:f,viewBox:on.parseViewBox(ke(l)?m:DN(DN({},m),{},{clockWise:l})),key:"label-".concat(p),index:p}))}))}Aa.displayName="LabelList";function CW(e,t){return e?e===!0?I.createElement(Aa,{key:"labelList-implicit",data:t}):I.isValidElement(e)||Ne(e)?I.createElement(Aa,{key:"labelList-implicit",data:t,content:e}):pl(e)?I.createElement(Aa,ph({data:t},e,{key:"labelList-implicit"})):null:null}function MW(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=ur(r,Aa).map(function(l,u){return $.cloneElement(l,{data:t,key:"labelList-".concat(u)})});if(!n)return i;var s=CW(e.label,t);return[s].concat(bW(i))}Aa.renderCallByParent=MW;function mu(e){"@babel/helpers - typeof";return mu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mu(e)}function O1(){return O1=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},O1.apply(this,arguments)}function IN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $N(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?IN(Object(n),!0).forEach(function(r){NW(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function NW(e,t,n){return t=PW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PW(e){var t=RW(e,"string");return mu(t)=="symbol"?t:t+""}function RW(e,t){if(mu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(mu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var DW=function(t,n){var r=wr(n-t),i=Math.min(Math.abs(n-t),359.999);return r*i},wd=function(t){var n=t.cx,r=t.cy,i=t.radius,s=t.angle,l=t.sign,u=t.isExternal,f=t.cornerRadius,d=t.cornerIsExternal,m=f*(u?1:-1)+i,p=Math.asin(f/m)/hh,v=d?s:s+l*p,x=Jt(n,r,m,v),O=Jt(n,r,i,v),S=d?s-l*p:s,w=Jt(n,r,m*Math.cos(p*hh),S);return{center:x,circleTangency:O,lineTangency:w,theta:p}},BD=function(t){var n=t.cx,r=t.cy,i=t.innerRadius,s=t.outerRadius,l=t.startAngle,u=t.endAngle,f=DW(l,u),d=l+f,m=Jt(n,r,s,l),p=Jt(n,r,s,d),v="M ".concat(m.x,",").concat(m.y,`
201    A `).concat(s,",").concat(s,`,0,
202    `).concat(+(Math.abs(f)>180),",").concat(+(l>d),`,
203    `).concat(p.x,",").concat(p.y,`
204  `);if(i>0){var x=Jt(n,r,i,l),O=Jt(n,r,i,d);v+="L ".concat(O.x,",").concat(O.y,`
205            A `).concat(i,",").concat(i,`,0,
206            `).concat(+(Math.abs(f)>180),",").concat(+(l<=d),`,
207            `).concat(x.x,",").concat(x.y," Z")}else v+="L ".concat(n,",").concat(r," Z");return v},kW=function(t){var n=t.cx,r=t.cy,i=t.innerRadius,s=t.outerRadius,l=t.cornerRadius,u=t.forceCornerRadius,f=t.cornerIsExternal,d=t.startAngle,m=t.endAngle,p=wr(m-d),v=wd({cx:n,cy:r,radius:s,angle:d,sign:p,cornerRadius:l,cornerIsExternal:f}),x=v.circleTangency,O=v.lineTangency,S=v.theta,w=wd({cx:n,cy:r,radius:s,angle:m,sign:-p,cornerRadius:l,cornerIsExternal:f}),T=w.circleTangency,C=w.lineTangency,M=w.theta,N=f?Math.abs(d-m):Math.abs(d-m)-S-M;if(N<0)return u?"M ".concat(O.x,",").concat(O.y,`
208        a`).concat(l,",").concat(l,",0,0,1,").concat(l*2,`,0
209        a`).concat(l,",").concat(l,",0,0,1,").concat(-l*2,`,0
210      `):BD({cx:n,cy:r,innerRadius:i,outerRadius:s,startAngle:d,endAngle:m});var _="M ".concat(O.x,",").concat(O.y,`
211    A`).concat(l,",").concat(l,",0,0,").concat(+(p<0),",").concat(x.x,",").concat(x.y,`
212    A`).concat(s,",").concat(s,",0,").concat(+(N>180),",").concat(+(p<0),",").concat(T.x,",").concat(T.y,`
213    A`).concat(l,",").concat(l,",0,0,").concat(+(p<0),",").concat(C.x,",").concat(C.y,`
214  `);if(i>0){var E=wd({cx:n,cy:r,radius:i,angle:d,sign:p,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),j=E.circleTangency,P=E.lineTangency,k=E.theta,G=wd({cx:n,cy:r,radius:i,angle:m,sign:-p,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),q=G.circleTangency,L=G.lineTangency,F=G.theta,V=f?Math.abs(d-m):Math.abs(d-m)-k-F;if(V<0&&l===0)return"".concat(_,"L").concat(n,",").concat(r,"Z");_+="L".concat(L.x,",").concat(L.y,`
215      A`).concat(l,",").concat(l,",0,0,").concat(+(p<0),",").concat(q.x,",").concat(q.y,`
216      A`).concat(i,",").concat(i,",0,").concat(+(V>180),",").concat(+(p>0),",").concat(j.x,",").concat(j.y,`
217      A`).concat(l,",").concat(l,",0,0,").concat(+(p<0),",").concat(P.x,",").concat(P.y,"Z")}else _+="L".concat(n,",").concat(r,"Z");return _},IW={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},UD=function(t){var n=$N($N({},IW),t),r=n.cx,i=n.cy,s=n.innerRadius,l=n.outerRadius,u=n.cornerRadius,f=n.forceCornerRadius,d=n.cornerIsExternal,m=n.startAngle,p=n.endAngle,v=n.className;if(l<s||m===p)return null;var x=qe("recharts-sector",v),O=l-s,S=go(u,O,0,!0),w;return S>0&&Math.abs(m-p)<360?w=kW({cx:r,cy:i,innerRadius:s,outerRadius:l,cornerRadius:Math.min(S,O/2),forceCornerRadius:f,cornerIsExternal:d,startAngle:m,endAngle:p}):w=BD({cx:r,cy:i,innerRadius:s,outerRadius:l,startAngle:m,endAngle:p}),I.createElement("path",O1({},Re(n,!0),{className:x,d:w,role:"img"}))};function yu(e){"@babel/helpers - typeof";return yu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yu(e)}function _1(){return _1=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},_1.apply(this,arguments)}function qN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function zN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qN(Object(n),!0).forEach(function(r){$W(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $W(e,t,n){return t=qW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qW(e){var t=zW(e,"string");return yu(t)=="symbol"?t:t+""}function zW(e,t){if(yu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(yu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var LN={curveBasisClosed:iH,curveBasisOpen:oH,curveBasis:aH,curveBumpX:GU,curveBumpY:FU,curveLinearClosed:sH,curveLinear:cp,curveMonotoneX:lH,curveMonotoneY:cH,curveNatural:uH,curveStep:fH,curveStepAfter:hH,curveStepBefore:dH},Od=function(t){return t.x===+t.x&&t.y===+t.y},Oc=function(t){return t.x},_c=function(t){return t.y},LW=function(t,n){if(Ne(t))return t;var r="curve".concat(sp(t));return(r==="curveMonotone"||r==="curveBump")&&n?LN["".concat(r).concat(n==="vertical"?"Y":"X")]:LN[r]||cp},BW=function(t){var n=t.type,r=n===void 0?"linear":n,i=t.points,s=i===void 0?[]:i,l=t.baseLine,u=t.layout,f=t.connectNulls,d=f===void 0?!1:f,m=LW(r,u),p=d?s.filter(function(S){return Od(S)}):s,v;if(Array.isArray(l)){var x=d?l.filter(function(S){return Od(S)}):l,O=p.map(function(S,w){return zN(zN({},S),{},{base:x[w]})});return u==="vertical"?v=pd().y(_c).x1(Oc).x0(function(S){return S.base.x}):v=pd().x(Oc).y1(_c).y0(function(S){return S.base.y}),v.defined(Od).curve(m),v(O)}return u==="vertical"&&de(l)?v=pd().y(_c).x1(Oc).x0(l):de(l)?v=pd().x(Oc).y1(_c).y0(l):v=K3().x(Oc).y(_c),v.defined(Od).curve(m),v(p)},ks=function(t){var n=t.className,r=t.points,i=t.path,s=t.pathRef;if((!r||!r.length)&&!i)return null;var l=r&&r.length?BW(t):i;return $.createElement("path",_1({},Re(t,!1),zd(t),{className:qe("recharts-curve",n),d:l,ref:s}))},Db={exports:{}},kb,BN;function UW(){if(BN)return kb;BN=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return kb=e,kb}var Ib,UN;function HW(){if(UN)return Ib;UN=1;var e=UW();function t(){}function n(){}return n.resetWarningCache=t,Ib=function(){function r(l,u,f,d,m,p){if(p!==e){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}r.isRequired=r;function i(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},Ib}var HN;function GW(){return HN||(HN=1,Db.exports=HW()()),Db.exports}var FW=GW();const Qe=nt(FW);var YW=Object.getOwnPropertyNames,KW=Object.getOwnPropertySymbols,VW=Object.prototype.hasOwnProperty;function GN(e,t){return function(r,i,s){return e(r,i,s)&&t(r,i,s)}}function _d(e){return function(n,r,i){if(!n||!r||typeof n!="object"||typeof r!="object")return e(n,r,i);var s=i.cache,l=s.get(n),u=s.get(r);if(l&&u)return l===r&&u===n;s.set(n,r),s.set(r,n);var f=e(n,r,i);return s.delete(n),s.delete(r),f}}function QW(e){return e?.[Symbol.toStringTag]}function FN(e){return YW(e).concat(KW(e))}var XW=Object.hasOwn||(function(e,t){return VW.call(e,t)});function No(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var WW="__v",ZW="__o",JW="_owner",YN=Object.getOwnPropertyDescriptor,KN=Object.keys;function eZ(e,t,n){var 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 tZ(e,t){return No(e.getTime(),t.getTime())}function nZ(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function rZ(e,t){return e===t}function VN(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var i=new Array(r),s=e.entries(),l,u,f=0;(l=s.next())&&!l.done;){for(var d=t.entries(),m=!1,p=0;(u=d.next())&&!u.done;){if(i[p]){p++;continue}var v=l.value,x=u.value;if(n.equals(v[0],x[0],f,p,e,t,n)&&n.equals(v[1],x[1],v[0],x[0],e,t,n)){m=i[p]=!0;break}p++}if(!m)return!1;f++}return!0}var aZ=No;
217function iZ(e,t,n){var r=KN(e),i=r.length;if(KN(t).length!==i)return!1;for(;i-- >0;)if(!HD(e,t,n,r[i]))return!1;return!0}function Tc(e,t,n){var r=FN(e),i=r.length;if(FN(t).length!==i)return!1;for(var s,l,u;i-- >0;)if(s=r[i],!HD(e,t,n,s)||(l=YN(e,s),u=YN(t,s),(l||u)&&(!l||!u||l.configurable!==u.configurable||l.enumerable!==u.enumerable||l.writable!==u.writable)))return!1;return!0}function oZ(e,t){return No(e.valueOf(),t.valueOf())}function sZ(e,t){return e.source===t.source&&e.flags===t.flags}function QN(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var i=new Array(r),s=e.values(),l,u;(l=s.next())&&!l.done;){for(var f=t.values(),d=!1,m=0;(u=f.next())&&!u.done;){if(!i[m]&&n.equals(l.value,u.value,l.value,u.value,e,t,n)){d=i[m]=!0;break}m++}if(!d)return!1}return!0}function lZ(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function cZ(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 HD(e,t,n,r){return(r===JW||r===ZW||r===WW)&&(e.$$typeof||t.$$typeof)?!0:XW(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var uZ="[object Arguments]",fZ="[object Boolean]",dZ="[object Date]",hZ="[object Error]",pZ="[object Map]",mZ="[object Number]",yZ="[object Object]",vZ="[object RegExp]",gZ="[object Set]",bZ="[object String]",xZ="[object URL]",SZ=Array.isArray,XN=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,WN=Object.assign,wZ=Object.prototype.toString.call.bind(Object.prototype.toString);function OZ(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areErrorsEqual,i=e.areFunctionsEqual,s=e.areMapsEqual,l=e.areNumbersEqual,u=e.areObjectsEqual,f=e.arePrimitiveWrappersEqual,d=e.areRegExpsEqual,m=e.areSetsEqual,p=e.areTypedArraysEqual,v=e.areUrlsEqual,x=e.unknownTagComparators;return function(S,w,T){if(S===w)return!0;if(S==null||w==null)return!1;var C=typeof S;if(C!==typeof w)return!1;if(C!=="object")return C==="number"?l(S,w,T):C==="function"?i(S,w,T):!1;var M=S.constructor;if(M!==w.constructor)return!1;if(M===Object)return u(S,w,T);if(SZ(S))return t(S,w,T);if(XN!=null&&XN(S))return p(S,w,T);if(M===Date)return n(S,w,T);if(M===RegExp)return d(S,w,T);if(M===Map)return s(S,w,T);if(M===Set)return m(S,w,T);var N=wZ(S);if(N===dZ)return n(S,w,T);if(N===vZ)return d(S,w,T);if(N===pZ)return s(S,w,T);if(N===gZ)return m(S,w,T);if(N===yZ)return typeof S.then!="function"&&typeof w.then!="function"&&u(S,w,T);if(N===xZ)return v(S,w,T);if(N===hZ)return r(S,w,T);if(N===uZ)return u(S,w,T);if(N===fZ||N===mZ||N===bZ)return f(S,w,T);if(x){var _=x[N];if(!_){var E=QW(S);E&&(_=x[E])}if(_)return _(S,w,T)}return!1}}function _Z(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,i={areArraysEqual:r?Tc:eZ,areDatesEqual:tZ,areErrorsEqual:nZ,areFunctionsEqual:rZ,areMapsEqual:r?GN(VN,Tc):VN,areNumbersEqual:aZ,areObjectsEqual:r?Tc:iZ,arePrimitiveWrappersEqual:oZ,areRegExpsEqual:sZ,areSetsEqual:r?GN(QN,Tc):QN,areTypedArraysEqual:r?Tc:lZ,areUrlsEqual:cZ,unknownTagComparators:void 0};if(n&&(i=WN({},i,n(i))),t){var s=_d(i.areArraysEqual),l=_d(i.areMapsEqual),u=_d(i.areObjectsEqual),f=_d(i.areSetsEqual);i=WN({},i,{areArraysEqual:s,areMapsEqual:l,areObjectsEqual:u,areSetsEqual:f})}return i}function TZ(e){return function(t,n,r,i,s,l,u){return e(t,n,u)}}function AZ(e){var t=e.circular,n=e.comparator,r=e.createState,i=e.equals,s=e.strict;if(r)return function(f,d){var m=r(),p=m.cache,v=p===void 0?t?new WeakMap:void 0:p,x=m.meta;return n(f,d,{cache:v,equals:i,meta:x,strict:s})};if(t)return function(f,d){return n(f,d,{cache:new WeakMap,equals:i,meta:void 0,strict:s})};var l={cache:void 0,equals:i,meta:void 0,strict:s};return function(f,d){return n(f,d,l)}}var EZ=ji();ji({strict:!0});ji({circular:!0});ji({circular:!0,strict:!0});ji({createInternalComparator:function(){return No}});ji({strict:!0,createInternalComparator:function(){return No}});ji({circular:!0,createInternalComparator:function(){return No}});ji({circular:!0,createInternalComparator:function(){return No},strict:!0});function ji(e){e===void 0&&(e={});
vendor: 176,644 bytes, lines 217-240
217var t=e.circular,n=t===void 0?!1:t,r=e.createInternalComparator,i=e.createState,s=e.strict,l=s===void 0?!1:s,u=_Z(e),f=OZ(u),d=r?r(f):TZ(f);return AZ({circular:n,comparator:f,createState:i,equals:d,strict:l})}function jZ(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function ZN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function i(s){n<0&&(n=s),s-n>t?(e(s),n=-1):jZ(i)};requestAnimationFrame(r)}function T1(e){"@babel/helpers - typeof";return T1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T1(e)}function CZ(e){return RZ(e)||PZ(e)||NZ(e)||MZ()}function MZ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
218In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NZ(e,t){if(e){if(typeof e=="string")return JN(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 JN(e,t)}}function JN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function PZ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function RZ(e){if(Array.isArray(e))return e}function DZ(){var e={},t=function(){return null},n=!1,r=function i(s){if(!n){if(Array.isArray(s)){if(!s.length)return;var l=s,u=CZ(l),f=u[0],d=u.slice(1);if(typeof f=="number"){ZN(i.bind(null,d),f);return}i(f),ZN(i.bind(null,d));return}T1(s)==="object"&&(e=s,t(e)),typeof s=="function"&&s()}};return{stop:function(){n=!0},start:function(s){n=!1,r(s)},subscribe:function(s){return t=s,function(){t=function(){return null}}}}}function vu(e){"@babel/helpers - typeof";return vu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vu(e)}function eP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function tP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?eP(Object(n),!0).forEach(function(r){GD(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function GD(e,t,n){return t=kZ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kZ(e){var t=IZ(e,"string");return vu(t)==="symbol"?t:String(t)}function IZ(e,t){if(vu(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(vu(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $Z=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,i){return r.filter(function(s){return i.includes(s)})})},qZ=function(t){return t},zZ=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},$c=function(t,n){return Object.keys(n).reduce(function(r,i){return tP(tP({},r),{},GD({},i,t(i,n[i])))},{})},nP=function(t,n,r){return t.map(function(i){return"".concat(zZ(i)," ").concat(n,"ms ").concat(r)}).join(",")};function LZ(e,t){return HZ(e)||UZ(e,t)||FD(e,t)||BZ()}function BZ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
219In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function UZ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function HZ(e){if(Array.isArray(e))return e}function GZ(e){return KZ(e)||YZ(e)||FD(e)||FZ()}function FZ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
220In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function FD(e,t){if(e){if(typeof e=="string")return A1(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 A1(e,t)}}function YZ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function KZ(e){if(Array.isArray(e))return A1(e)}function A1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var mh=1e-4,YD=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},KD=function(t,n){return t.map(function(r,i){return r*Math.pow(n,i)}).reduce(function(r,i){return r+i})},rP=function(t,n){return function(r){var i=YD(t,n);return KD(i,r)}},VZ=function(t,n){return function(r){var i=YD(t,n),s=[].concat(GZ(i.map(function(l,u){return l*u}).slice(1)),[0]);return KD(s,r)}},aP=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],s=n[1],l=n[2],u=n[3];if(n.length===1)switch(n[0]){case"linear":i=0,s=0,l=1,u=1;break;case"ease":i=.25,s=.1,l=.25,u=1;break;case"ease-in":i=.42,s=0,l=1,u=1;break;case"ease-out":i=.42,s=0,l=.58,u=1;break;case"ease-in-out":i=0,s=0,l=.58,u=1;break;default:{var f=n[0].split("(");if(f[0]==="cubic-bezier"&&f[1].split(")")[0].split(",").length===4){var d=f[1].split(")")[0].split(",").map(function(w){return parseFloat(w)}),m=LZ(d,4);i=m[0],s=m[1],l=m[2],u=m[3]}}}var p=rP(i,l),v=rP(s,u),x=VZ(i,l),O=function(T){return T>1?1:T<0?0:T},S=function(T){for(var C=T>1?1:T,M=C,N=0;N<8;++N){var _=p(M)-C,E=x(M);if(Math.abs(_-C)<mh||E<mh)return v(M);M=O(M-_/E)}return v(M)};return S.isStepper=!1,S},QZ=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,i=t.damping,s=i===void 0?8:i,l=t.dt,u=l===void 0?17:l,f=function(m,p,v){var x=-(m-p)*r,O=v*s,S=v+(x-O)*u/1e3,w=v*u/1e3+m;return Math.abs(w-p)<mh&&Math.abs(S)<mh?[p,0]:[w,S]};return f.isStepper=!0,f.dt=u,f},XZ=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];if(typeof i=="string")switch(i){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return aP(i);case"spring":return QZ();default:if(i.split("(")[0]==="cubic-bezier")return aP(i)}return typeof i=="function"?i:null};function gu(e){"@babel/helpers - typeof";return gu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gu(e)}function iP(e){return JZ(e)||ZZ(e)||VD(e)||WZ()}function WZ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
221In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZZ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JZ(e){if(Array.isArray(e))return j1(e)}function oP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oP(Object(n),!0).forEach(function(r){E1(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function E1(e,t,n){return t=eJ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eJ(e){var t=tJ(e,"string");return gu(t)==="symbol"?t:String(t)}function tJ(e,t){if(gu(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(gu(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nJ(e,t){return iJ(e)||aJ(e,t)||VD(e,t)||rJ()}function rJ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
222In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function VD(e,t){if(e){if(typeof e=="string")return j1(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 j1(e,t)}}function j1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aJ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function iJ(e){if(Array.isArray(e))return e}var yh=function(t,n,r){return t+(n-t)*r},C1=function(t){var n=t.from,r=t.to;return n!==r},oJ=function e(t,n,r){var i=$c(function(s,l){if(C1(l)){var u=t(l.from,l.to,l.velocity),f=nJ(u,2),d=f[0],m=f[1];return Xt(Xt({},l),{},{from:d,velocity:m})}return l},n);return r<1?$c(function(s,l){return C1(l)?Xt(Xt({},l),{},{velocity:yh(l.velocity,i[s].velocity,r),from:yh(l.from,i[s].from,r)}):l},n):e(t,i,r-1)};const sJ=(function(e,t,n,r,i){var s=$Z(e,t),l=s.reduce(function(w,T){return Xt(Xt({},w),{},E1({},T,[e[T],t[T]]))},{}),u=s.reduce(function(w,T){return Xt(Xt({},w),{},E1({},T,{from:e[T],velocity:0,to:t[T]}))},{}),f=-1,d,m,p=function(){return null},v=function(){return $c(function(T,C){return C.from},u)},x=function(){return!Object.values(u).filter(C1).length},O=function(T){d||(d=T);var C=T-d,M=C/n.dt;u=oJ(n,u,M),i(Xt(Xt(Xt({},e),t),v())),d=T,x()||(f=requestAnimationFrame(p))},S=function(T){m||(m=T);var C=(T-m)/r,M=$c(function(_,E){return yh.apply(void 0,iP(E).concat([n(C)]))},l);if(i(Xt(Xt(Xt({},e),t),M)),C<1)f=requestAnimationFrame(p);else{var N=$c(function(_,E){return yh.apply(void 0,iP(E).concat([n(1)]))},l);i(Xt(Xt(Xt({},e),t),N))}};return p=n.isStepper?O:S,function(){return requestAnimationFrame(p),function(){cancelAnimationFrame(f)}}});function Qs(e){"@babel/helpers - typeof";return Qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qs(e)}var lJ=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function cJ(e,t){if(e==null)return{};var n=uJ(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function uJ(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function $b(e){return pJ(e)||hJ(e)||dJ(e)||fJ()}function fJ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
223In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dJ(e,t){if(e){if(typeof e=="string")return M1(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 M1(e,t)}}function hJ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pJ(e){if(Array.isArray(e))return M1(e)}function M1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sP(Object(n),!0).forEach(function(r){Mc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Mc(e,t,n){return t=QD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yJ(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,QD(r.key),r)}}function vJ(e,t,n){return t&&yJ(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function QD(e){var t=gJ(e,"string");return Qs(t)==="symbol"?t:String(t)}function gJ(e,t){if(Qs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Qs(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bJ(e,t){if(typeof t!="function"&&t!==null)throw new 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&&N1(e,t)}function N1(e,t){return N1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},N1(e,t)}function xJ(e){var t=SJ();return function(){var r=vh(e),i;if(t){var s=vh(this).constructor;i=Reflect.construct(r,arguments,s)}else i=r.apply(this,arguments);return P1(this,i)}}function P1(e,t){if(t&&(Qs(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return R1(e)}function R1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SJ(){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 vh(e){return vh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},vh(e)}var Kr=(function(e){bJ(n,e);var t=xJ(n);function n(r,i){var s;mJ(this,n),s=t.call(this,r,i);var l=s.props,u=l.isActive,f=l.attributeName,d=l.from,m=l.to,p=l.steps,v=l.children,x=l.duration;if(s.handleStyleChange=s.handleStyleChange.bind(R1(s)),s.changeStyle=s.changeStyle.bind(R1(s)),!u||x<=0)return s.state={style:{}},typeof v=="function"&&(s.state={style:m}),P1(s);if(p&&p.length)s.state={style:p[0].style};else if(d){if(typeof v=="function")return s.state={style:d},P1(s);s.state={style:f?Mc({},f,d):d}}else s.state={style:{}};return s}return vJ(n,[{key:"componentDidMount",value:function(){var i=this.props,s=i.isActive,l=i.canBegin;this.mounted=!0,!(!s||!l)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var s=this.props,l=s.isActive,u=s.canBegin,f=s.attributeName,d=s.shouldReAnimate,m=s.to,p=s.from,v=this.state.style;if(u){if(!l){var x={style:f?Mc({},f,m):m};this.state&&v&&(f&&v[f]!==m||!f&&v!==m)&&this.setState(x);return}if(!(EZ(i.to,m)&&i.canBegin&&i.isActive)){var O=!i.canBegin||!i.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var S=O||d?p:i.to;if(this.state&&v){var w={style:f?Mc({},f,S):S};(f&&v[f]!==S||!f&&v!==S)&&this.setState(w)}this.runAnimation(gr(gr({},this.props),{},{from:S,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var i=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),i&&i()}},{key:"handleStyleChange",value:function(i){this.changeStyle(i)}},{key:"changeStyle",value:function(i){this.mounted&&this.setState({style:i})}},{key:"runJSAnimation",value:function(i){var s=this,l=i.from,u=i.to,f=i.duration,d=i.easing,m=i.begin,p=i.onAnimationEnd,v=i.onAnimationStart,x=sJ(l,u,XZ(d),f,this.changeStyle),O=function(){s.stopJSAnimation=x()};this.manager.start([v,m,O,f,p])}},{key:"runStepAnimation",value:function(i){var s=this,l=i.steps,u=i.begin,f=i.onAnimationStart,d=l[0],m=d.style,p=d.duration,v=p===void 0?0:p,x=function(S,w,T){if(T===0)return S;var C=w.duration,M=w.easing,N=M===void 0?"ease":M,_=w.style,E=w.properties,j=w.onAnimationEnd,P=T>0?l[T-1]:w,k=E||Object.keys(_);if(typeof N=="function"||N==="spring")return[].concat($b(S),[s.runJSAnimation.bind(s,{from:P.style,to:_,duration:C,easing:N}),C]);var G=nP(k,C,N),q=gr(gr(gr({},P.style),_),{},{transition:G});return[].concat($b(S),[q,C,j]).filter(qZ)};return this.manager.start([f].concat($b(l.reduce(x,[m,Math.max(v,u)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=DZ());var s=i.begin,l=i.duration,u=i.attributeName,f=i.to,d=i.easing,m=i.onAnimationStart,p=i.onAnimationEnd,v=i.steps,x=i.children,O=this.manager;if(this.unSubscribe=O.subscribe(this.handleStyleChange),typeof d=="function"||typeof x=="function"||d==="spring"){this.runJSAnimation(i);return}if(v.length>1){this.runStepAnimation(i);return}var S=u?Mc({},u,f):f,w=nP(Object.keys(S),l,d);O.start([m,s,gr(gr({},S),{},{transition:w}),l,p])}},{key:"render",value:function(){var i=this.props,s=i.children;i.begin;var l=i.duration;i.attributeName,i.easing;var u=i.isActive;i.steps,i.from,i.to,i.canBegin,i.onAnimationEnd,i.shouldReAnimate,i.onAnimationReStart;var f=cJ(i,lJ),d=$.Children.count(s),m=this.state.style;if(typeof s=="function")return s(m);if(!u||d===0||l<=0)return s;var p=function(x){var O=x.props,S=O.style,w=S===void 0?{}:S,T=O.className,C=$.cloneElement(x,gr(gr({},f),{},{style:gr(gr({},w),m),className:T}));return C};return d===1?p($.Children.only(s)):I.createElement("div",null,$.Children.map(s,function(v){return p(v)}))}}]),n})($.PureComponent);Kr.displayName="Animate";Kr.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};Kr.propTypes={from:Qe.oneOfType([Qe.object,Qe.string]),to:Qe.oneOfType([Qe.object,Qe.string]),attributeName:Qe.string,duration:Qe.number,begin:Qe.number,easing:Qe.oneOfType([Qe.string,Qe.func]),steps:Qe.arrayOf(Qe.shape({duration:Qe.number.isRequired,style:Qe.object.isRequired,easing:Qe.oneOfType([Qe.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),Qe.func]),properties:Qe.arrayOf("string"),onAnimationEnd:Qe.func})),children:Qe.oneOfType([Qe.node,Qe.func]),isActive:Qe.bool,canBegin:Qe.bool,onAnimationEnd:Qe.func,shouldReAnimate:Qe.bool,onAnimationStart:Qe.func,onAnimationReStart:Qe.func};function bu(e){"@babel/helpers - typeof";return bu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bu(e)}function gh(){return gh=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},gh.apply(this,arguments)}function wJ(e,t){return AJ(e)||TJ(e,t)||_J(e,t)||OJ()}function OJ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
224In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _J(e,t){if(e){if(typeof e=="string")return lP(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 lP(e,t)}}function lP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function TJ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function AJ(e){if(Array.isArray(e))return e}function cP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function uP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cP(Object(n),!0).forEach(function(r){EJ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function EJ(e,t,n){return t=jJ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jJ(e){var t=CJ(e,"string");return bu(t)=="symbol"?t:t+""}function CJ(e,t){if(bu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(bu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fP=function(t,n,r,i,s){var l=Math.min(Math.abs(r)/2,Math.abs(i)/2),u=i>=0?1:-1,f=r>=0?1:-1,d=i>=0&&r>=0||i<0&&r<0?1:0,m;if(l>0&&s instanceof Array){for(var p=[0,0,0,0],v=0,x=4;v<x;v++)p[v]=s[v]>l?l:s[v];m="M".concat(t,",").concat(n+u*p[0]),p[0]>0&&(m+="A ".concat(p[0],",").concat(p[0],",0,0,").concat(d,",").concat(t+f*p[0],",").concat(n)),m+="L ".concat(t+r-f*p[1],",").concat(n),p[1]>0&&(m+="A ".concat(p[1],",").concat(p[1],",0,0,").concat(d,`,
225        `).concat(t+r,",").concat(n+u*p[1])),m+="L ".concat(t+r,",").concat(n+i-u*p[2]),p[2]>0&&(m+="A ".concat(p[2],",").concat(p[2],",0,0,").concat(d,`,
226        `).concat(t+r-f*p[2],",").concat(n+i)),m+="L ".concat(t+f*p[3],",").concat(n+i),p[3]>0&&(m+="A ".concat(p[3],",").concat(p[3],",0,0,").concat(d,`,
227        `).concat(t,",").concat(n+i-u*p[3])),m+="Z"}else if(l>0&&s===+s&&s>0){var O=Math.min(l,s);m="M ".concat(t,",").concat(n+u*O,`
228            A `).concat(O,",").concat(O,",0,0,").concat(d,",").concat(t+f*O,",").concat(n,`
229            L `).concat(t+r-f*O,",").concat(n,`
230            A `).concat(O,",").concat(O,",0,0,").concat(d,",").concat(t+r,",").concat(n+u*O,`
231            L `).concat(t+r,",").concat(n+i-u*O,`
232            A `).concat(O,",").concat(O,",0,0,").concat(d,",").concat(t+r-f*O,",").concat(n+i,`
233            L `).concat(t+f*O,",").concat(n+i,`
234            A `).concat(O,",").concat(O,",0,0,").concat(d,",").concat(t,",").concat(n+i-u*O," Z")}else m="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return m},MJ=function(t,n){if(!t||!n)return!1;var r=t.x,i=t.y,s=n.x,l=n.y,u=n.width,f=n.height;if(Math.abs(u)>0&&Math.abs(f)>0){var d=Math.min(s,s+u),m=Math.max(s,s+u),p=Math.min(l,l+f),v=Math.max(l,l+f);return r>=d&&r<=m&&i>=p&&i<=v}return!1},NJ={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Sw=function(t){var n=uP(uP({},NJ),t),r=$.useRef(),i=$.useState(-1),s=wJ(i,2),l=s[0],u=s[1];$.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var N=r.current.getTotalLength();N&&u(N)}catch{}},[]);var f=n.x,d=n.y,m=n.width,p=n.height,v=n.radius,x=n.className,O=n.animationEasing,S=n.animationDuration,w=n.animationBegin,T=n.isAnimationActive,C=n.isUpdateAnimationActive;if(f!==+f||d!==+d||m!==+m||p!==+p||m===0||p===0)return null;var M=qe("recharts-rectangle",x);return C?I.createElement(Kr,{canBegin:l>0,from:{width:m,height:p,x:f,y:d},to:{width:m,height:p,x:f,y:d},duration:S,animationEasing:O,isActive:C},function(N){var _=N.width,E=N.height,j=N.x,P=N.y;return I.createElement(Kr,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:S,isActive:T,easing:O},I.createElement("path",gh({},Re(n,!0),{className:M,d:fP(j,P,_,E,v),ref:r})))}):I.createElement("path",gh({},Re(n,!0),{className:M,d:fP(f,d,m,p,v)}))};function D1(){return D1=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},D1.apply(this,arguments)}var _p=function(t){var n=t.cx,r=t.cy,i=t.r,s=t.className,l=qe("recharts-dot",s);return n===+n&&r===+r&&i===+i?$.createElement("circle",D1({},Re(t,!1),zd(t),{className:l,cx:n,cy:r,r:i})):null};function xu(e){"@babel/helpers - typeof";return xu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xu(e)}var PJ=["x","y","top","left","width","height","className"];function k1(){return k1=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},k1.apply(this,arguments)}function dP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function RJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dP(Object(n),!0).forEach(function(r){DJ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function DJ(e,t,n){return t=kJ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kJ(e){var t=IJ(e,"string");return xu(t)=="symbol"?t:t+""}function IJ(e,t){if(xu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $J(e,t){if(e==null)return{};var n=qJ(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qJ(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 zJ=function(t,n,r,i,s,l){return"M".concat(t,",").concat(s,"v").concat(i,"M").concat(l,",").concat(n,"h").concat(r)},LJ=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,s=i===void 0?0:i,l=t.top,u=l===void 0?0:l,f=t.left,d=f===void 0?0:f,m=t.width,p=m===void 0?0:m,v=t.height,x=v===void 0?0:v,O=t.className,S=$J(t,PJ),w=RJ({x:r,y:s,top:u,left:d,width:p,height:x},S);return!de(r)||!de(s)||!de(p)||!de(x)||!de(u)||!de(d)?null:I.createElement("path",k1({},Re(w,!0),{className:qe("recharts-cross",O),d:zJ(r,s,p,x,u,d)}))},qb,hP;function BJ(){if(hP)return qb;hP=1;var e=y4(),t=e(Object.getPrototypeOf,Object);return qb=t,qb}var zb,pP;function UJ(){if(pP)return zb;pP=1;var e=Ra(),t=BJ(),n=Da(),r="[object Object]",i=Function.prototype,s=Object.prototype,l=i.toString,u=s.hasOwnProperty,f=l.call(Object);function d(m){if(!n(m)||e(m)!=r)return!1;var p=t(m);if(p===null)return!0;var v=u.call(p,"constructor")&&p.constructor;return typeof v=="function"&&v instanceof v&&l.call(v)==f}return zb=d,zb}var HJ=UJ();const GJ=nt(HJ);var Lb,mP;function FJ(){if(mP)return Lb;mP=1;var e=Ra(),t=Da(),n="[object Boolean]";function r(i){return i===!0||i===!1||t(i)&&e(i)==n}return Lb=r,Lb}var YJ=FJ();const KJ=nt(YJ);function Su(e){"@babel/helpers - typeof";return Su=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Su(e)}function bh(){return bh=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},bh.apply(this,arguments)}function VJ(e,t){return ZJ(e)||WJ(e,t)||XJ(e,t)||QJ()}function QJ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
235In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function XJ(e,t){if(e){if(typeof e=="string")return yP(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 yP(e,t)}}function yP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function WJ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function ZJ(e){if(Array.isArray(e))return e}function vP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vP(Object(n),!0).forEach(function(r){JJ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function JJ(e,t,n){return t=eee(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eee(e){var t=tee(e,"string");return Su(t)=="symbol"?t:t+""}function tee(e,t){if(Su(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Su(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var bP=function(t,n,r,i,s){var l=r-i,u;return u="M ".concat(t,",").concat(n),u+="L ".concat(t+r,",").concat(n),u+="L ".concat(t+r-l/2,",").concat(n+s),u+="L ".concat(t+r-l/2-i,",").concat(n+s),u+="L ".concat(t,",").concat(n," Z"),u},nee={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},ree=function(t){var n=gP(gP({},nee),t),r=$.useRef(),i=$.useState(-1),s=VJ(i,2),l=s[0],u=s[1];$.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var M=r.current.getTotalLength();M&&u(M)}catch{}},[]);var f=n.x,d=n.y,m=n.upperWidth,p=n.lowerWidth,v=n.height,x=n.className,O=n.animationEasing,S=n.animationDuration,w=n.animationBegin,T=n.isUpdateAnimationActive;if(f!==+f||d!==+d||m!==+m||p!==+p||v!==+v||m===0&&p===0||v===0)return null;var C=qe("recharts-trapezoid",x);return T?I.createElement(Kr,{canBegin:l>0,from:{upperWidth:0,lowerWidth:0,height:v,x:f,y:d},to:{upperWidth:m,lowerWidth:p,height:v,x:f,y:d},duration:S,animationEasing:O,isActive:T},function(M){var N=M.upperWidth,_=M.lowerWidth,E=M.height,j=M.x,P=M.y;return I.createElement(Kr,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:S,easing:O},I.createElement("path",bh({},Re(n,!0),{className:C,d:bP(j,P,N,_,E),ref:r})))}):I.createElement("g",null,I.createElement("path",bh({},Re(n,!0),{className:C,d:bP(f,d,m,p,v)})))},aee=["option","shapeType","propTransformer","activeClassName","isActive"];function wu(e){"@babel/helpers - typeof";return wu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wu(e)}function iee(e,t){if(e==null)return{};var n=oee(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oee(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 xP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xP(Object(n),!0).forEach(function(r){see(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function see(e,t,n){return t=lee(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lee(e){var t=cee(e,"string");return wu(t)=="symbol"?t:t+""}function cee(e,t){if(wu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(wu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uee(e,t){return xh(xh({},t),e)}function fee(e,t){return e==="symbols"}function SP(e){var t=e.shapeType,n=e.elementProps;switch(t){case"rectangle":return I.createElement(Sw,n);case"trapezoid":return I.createElement(ree,n);case"sector":return I.createElement(UD,n);case"symbols":if(fee(t))return I.createElement(LS,n);break;default:return null}}function dee(e){return $.isValidElement(e)?e.props:e}function hee(e){var t=e.option,n=e.shapeType,r=e.propTransformer,i=r===void 0?uee:r,s=e.activeClassName,l=s===void 0?"recharts-active-shape":s,u=e.isActive,f=iee(e,aee),d;if($.isValidElement(t))d=$.cloneElement(t,xh(xh({},f),dee(t)));else if(Ne(t))d=t(f);else if(GJ(t)&&!KJ(t)){var m=i(t,f);d=I.createElement(SP,{shapeType:n,elementProps:m})}else{var p=f;d=I.createElement(SP,{shapeType:n,elementProps:p})}return u?I.createElement(st,{className:l},d):d}function Tp(e,t){return t!=null&&"trapezoids"in e.props}function Ap(e,t){return t!=null&&"sectors"in e.props}function Ou(e,t){return t!=null&&"points"in e.props}function pee(e,t){var n,r,i=e.x===(t==null||(n=t.labelViewBox)===null||n===void 0?void 0:n.x)||e.x===t.x,s=e.y===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.y)||e.y===t.y;return i&&s}function mee(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function yee(e,t){var n=e.x===t.x,r=e.y===t.y,i=e.z===t.z;return n&&r&&i}function vee(e,t){var n;return Tp(e,t)?n=pee:Ap(e,t)?n=mee:Ou(e,t)&&(n=yee),n}function gee(e,t){var n;return Tp(e,t)?n="trapezoids":Ap(e,t)?n="sectors":Ou(e,t)&&(n="points"),n}function bee(e,t){if(Tp(e,t)){var n;return(n=t.tooltipPayload)===null||n===void 0||(n=n[0])===null||n===void 0||(n=n.payload)===null||n===void 0?void 0:n.payload}if(Ap(e,t)){var r;return(r=t.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}return Ou(e,t)?t.payload:{}}function xee(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,i=gee(n,t),s=bee(n,t),l=r.filter(function(f,d){var m=Ks(s,f),p=n.props[i].filter(function(O){var S=vee(n,t);return S(O,t)}),v=n.props[i].indexOf(p[p.length-1]),x=d===v;return m&&x}),u=r.indexOf(l[l.length-1]);return u}var Bb,wP;function See(){if(wP)return Bb;wP=1;var e=Math.ceil,t=Math.max;function n(r,i,s,l){for(var u=-1,f=t(e((i-r)/(s||1)),0),d=Array(f);f--;)d[l?f:++u]=r,r+=s;return d}return Bb=n,Bb}var Ub,OP;function XD(){if(OP)return Ub;OP=1;var e=P4(),t=1/0,n=17976931348623157e292;function r(i){if(!i)return i===0?i:0;if(i=e(i),i===t||i===-t){var s=i<0?-1:1;return s*n}return i===i?i:0}return Ub=r,Ub}var Hb,_P;function wee(){if(_P)return Hb;_P=1;var e=See(),t=hp(),n=XD();function r(i){return function(s,l,u){return u&&typeof u!="number"&&t(s,l,u)&&(l=u=void 0),s=n(s),l===void 0?(l=s,s=0):l=n(l),u=u===void 0?s<l?1:-1:n(u),e(s,l,u,i)}}return Hb=r,Hb}var Gb,TP;function Oee(){if(TP)return Gb;TP=1;var e=wee(),t=e();return Gb=t,Gb}var _ee=Oee();const Sh=nt(_ee);function _u(e){"@babel/helpers - typeof";return _u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_u(e)}function AP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function EP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?AP(Object(n),!0).forEach(function(r){WD(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function WD(e,t,n){return t=Tee(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tee(e){var t=Aee(e,"string");return _u(t)=="symbol"?t:t+""}function Aee(e,t){if(_u(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(_u(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Eee=["Webkit","Moz","O","ms"],jee=function(t,n){var r=t.replace(/(\w)/,function(s){return s.toUpperCase()}),i=Eee.reduce(function(s,l){return EP(EP({},s),{},WD({},l+r,n))},{});return i[t]=n,i};function Xs(e){"@babel/helpers - typeof";return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function wh(){return wh=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},wh.apply(this,arguments)}function jP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Fb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jP(Object(n),!0).forEach(function(r){zn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Cee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CP(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,JD(r.key),r)}}function Mee(e,t,n){return t&&CP(e.prototype,t),n&&CP(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Nee(e,t,n){return t=Oh(t),Pee(e,ZD()?Reflect.construct(t,n||[],Oh(e).constructor):t.apply(e,n))}function Pee(e,t){if(t&&(Xs(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ree(e)}function Ree(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZD(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ZD=function(){return!!e})()}function Oh(e){return Oh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Oh(e)}function Dee(e,t){if(typeof t!="function"&&t!==null)throw new 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&&I1(e,t)}function I1(e,t){return I1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},I1(e,t)}function zn(e,t,n){return t=JD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JD(e){var t=kee(e,"string");return Xs(t)=="symbol"?t:t+""}function kee(e,t){if(Xs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Xs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Iee=function(t){var n=t.data,r=t.startIndex,i=t.endIndex,s=t.x,l=t.width,u=t.travellerWidth;if(!n||!n.length)return{};var f=n.length,d=kc().domain(Sh(0,f)).range([s,s+l-u]),m=d.domain().map(function(p){return d(p)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:d(r),endX:d(i),scale:d,scaleValues:m}},MP=function(t){return t.changedTouches&&!!t.changedTouches.length},Ws=(function(e){function t(n){var r;return Cee(this,t),r=Nee(this,t,[n]),zn(r,"handleDrag",function(i){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(i):r.state.isSlideMoving&&r.handleSlideDrag(i)}),zn(r,"handleTouchMove",function(i){i.changedTouches!=null&&i.changedTouches.length>0&&r.handleDrag(i.changedTouches[0])}),zn(r,"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=r.props,s=i.endIndex,l=i.onDragEnd,u=i.startIndex;l?.({endIndex:s,startIndex:u})}),r.detachDragEndListener()}),zn(r,"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),zn(r,"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),zn(r,"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),zn(r,"handleSlideDragStart",function(i){var s=MP(i)?i.changedTouches[0]:i;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:s.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return Dee(t,e),Mee(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var i=r.startX,s=r.endX,l=this.state.scaleValues,u=this.props,f=u.gap,d=u.data,m=d.length-1,p=Math.min(i,s),v=Math.max(i,s),x=t.getIndexInRange(l,p),O=t.getIndexInRange(l,v);return{startIndex:x-x%f,endIndex:O===m?m:O-O%f}}},{key:"getTextOfTick",value:function(r){var i=this.props,s=i.data,l=i.tickFormatter,u=i.dataKey,f=pn(s[r],u,r);return Ne(l)?l(f,r):f}},{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(r){var i=this.state,s=i.slideMoveStartX,l=i.startX,u=i.endX,f=this.props,d=f.x,m=f.width,p=f.travellerWidth,v=f.startIndex,x=f.endIndex,O=f.onChange,S=r.pageX-s;S>0?S=Math.min(S,d+m-p-u,d+m-p-l):S<0&&(S=Math.max(S,d-l,d-u));var w=this.getIndex({startX:l+S,endX:u+S});(w.startIndex!==v||w.endIndex!==x)&&O&&O(w),this.setState({startX:l+S,endX:u+S,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,i){var s=MP(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:s.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var i=this.state,s=i.brushMoveStartX,l=i.movingTravellerId,u=i.endX,f=i.startX,d=this.state[l],m=this.props,p=m.x,v=m.width,x=m.travellerWidth,O=m.onChange,S=m.gap,w=m.data,T={startX:this.state.startX,endX:this.state.endX},C=r.pageX-s;C>0?C=Math.min(C,p+v-x-d):C<0&&(C=Math.max(C,p-d)),T[l]=d+C;var M=this.getIndex(T),N=M.startIndex,_=M.endIndex,E=function(){var P=w.length-1;return l==="startX"&&(u>f?N%S===0:_%S===0)||u<f&&_===P||l==="endX"&&(u>f?_%S===0:N%S===0)||u>f&&_===P};this.setState(zn(zn({},l,d+C),"brushMoveStartX",r.pageX),function(){O&&E()&&O(M)})}},{key:"handleTravellerMoveKeyboard",value:function(r,i){var s=this,l=this.state,u=l.scaleValues,f=l.startX,d=l.endX,m=this.state[i],p=u.indexOf(m);if(p!==-1){var v=p+r;if(!(v===-1||v>=u.length)){var x=u[v];i==="startX"&&x>=d||i==="endX"&&x<=f||this.setState(zn({},i,x),function(){s.props.onChange(s.getIndex({startX:s.state.startX,endX:s.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,i=r.x,s=r.y,l=r.width,u=r.height,f=r.fill,d=r.stroke;return I.createElement("rect",{stroke:d,fill:f,x:i,y:s,width:l,height:u})}},{key:"renderPanorama",value:function(){var r=this.props,i=r.x,s=r.y,l=r.width,u=r.height,f=r.data,d=r.children,m=r.padding,p=$.Children.only(d);return p?I.cloneElement(p,{x:i,y:s,width:l,height:u,margin:m,compact:!0,data:f}):null}},{key:"renderTravellerLayer",value:function(r,i){var s,l,u=this,f=this.props,d=f.y,m=f.travellerWidth,p=f.height,v=f.traveller,x=f.ariaLabel,O=f.data,S=f.startIndex,w=f.endIndex,T=Math.max(r,this.props.x),C=Fb(Fb({},Re(this.props,!1)),{},{x:T,y:d,width:m,height:p}),M=x||"Min value: ".concat((s=O[S])===null||s===void 0?void 0:s.name,", Max value: ").concat((l=O[w])===null||l===void 0?void 0:l.name);return I.createElement(st,{tabIndex:0,role:"slider","aria-label":M,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(_){["ArrowLeft","ArrowRight"].includes(_.key)&&(_.preventDefault(),_.stopPropagation(),u.handleTravellerMoveKeyboard(_.key==="ArrowRight"?1:-1,i))},onFocus:function(){u.setState({isTravellerFocused:!0})},onBlur:function(){u.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(v,C))}},{key:"renderSlide",value:function(r,i){var s=this.props,l=s.y,u=s.height,f=s.stroke,d=s.travellerWidth,m=Math.min(r,i)+d,p=Math.max(Math.abs(i-r)-d,0);return I.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:f,fillOpacity:.2,x:m,y:l,width:p,height:u})}},{key:"renderText",value:function(){var r=this.props,i=r.startIndex,s=r.endIndex,l=r.y,u=r.height,f=r.travellerWidth,d=r.stroke,m=this.state,p=m.startX,v=m.endX,x=5,O={pointerEvents:"none",fill:d};return I.createElement(st,{className:"recharts-brush-texts"},I.createElement(Wd,wh({textAnchor:"end",verticalAnchor:"middle",x:Math.min(p,v)-x,y:l+u/2},O),this.getTextOfTick(i)),I.createElement(Wd,wh({textAnchor:"start",verticalAnchor:"middle",x:Math.max(p,v)+f+x,y:l+u/2},O),this.getTextOfTick(s)))}},{key:"render",value:function(){var r=this.props,i=r.data,s=r.className,l=r.children,u=r.x,f=r.y,d=r.width,m=r.height,p=r.alwaysShowText,v=this.state,x=v.startX,O=v.endX,S=v.isTextActive,w=v.isSlideMoving,T=v.isTravellerMoving,C=v.isTravellerFocused;if(!i||!i.length||!de(u)||!de(f)||!de(d)||!de(m)||d<=0||m<=0)return null;var M=qe("recharts-brush",s),N=I.Children.count(l)===1,_=jee("userSelect","none");return I.createElement(st,{className:M,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:_},this.renderBackground(),N&&this.renderPanorama(),this.renderSlide(x,O),this.renderTravellerLayer(x,"startX"),this.renderTravellerLayer(O,"endX"),(S||w||T||C||p)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var i=r.x,s=r.y,l=r.width,u=r.height,f=r.stroke,d=Math.floor(s+u/2)-1;return I.createElement(I.Fragment,null,I.createElement("rect",{x:i,y:s,width:l,height:u,fill:f,stroke:"none"}),I.createElement("line",{x1:i+1,y1:d,x2:i+l-1,y2:d,fill:"none",stroke:"#fff"}),I.createElement("line",{x1:i+1,y1:d+2,x2:i+l-1,y2:d+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,i){var s;return I.isValidElement(r)?s=I.cloneElement(r,i):Ne(r)?s=r(i):s=t.renderDefaultTraveller(i),s}},{key:"getDerivedStateFromProps",value:function(r,i){var s=r.data,l=r.width,u=r.x,f=r.travellerWidth,d=r.updateId,m=r.startIndex,p=r.endIndex;if(s!==i.prevData||d!==i.prevUpdateId)return Fb({prevData:s,prevTravellerWidth:f,prevUpdateId:d,prevX:u,prevWidth:l},s&&s.length?Iee({data:s,width:l,x:u,travellerWidth:f,startIndex:m,endIndex:p}):{scale:null,scaleValues:null});if(i.scale&&(l!==i.prevWidth||u!==i.prevX||f!==i.prevTravellerWidth)){i.scale.range([u,u+l-f]);var v=i.scale.domain().map(function(x){return i.scale(x)});return{prevData:s,prevTravellerWidth:f,prevUpdateId:d,prevX:u,prevWidth:l,startX:i.scale(r.startIndex),endX:i.scale(r.endIndex),scaleValues:v}}return null}},{key:"getIndexInRange",value:function(r,i){for(var s=r.length,l=0,u=s-1;u-l>1;){var f=Math.floor((l+u)/2);r[f]>i?u=f:l=f}return i>=r[u]?u:l}}])})($.PureComponent);zn(Ws,"displayName","Brush");zn(Ws,"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 Yb,NP;function $ee(){if(NP)return Yb;NP=1;var e=KS();function t(n,r){var i;return e(n,function(s,l,u){return i=r(s,l,u),!i}),!!i}return Yb=t,Yb}var Kb,PP;function qee(){if(PP)return Kb;PP=1;var e=c4(),t=Ti(),n=$ee(),r=Cn(),i=hp();function s(l,u,f){var d=r(l)?e:n;return f&&i(l,u,f)&&(u=void 0),d(l,t(u,3))}return Kb=s,Kb}var zee=qee();const Lee=nt(zee);var Gr=function(t,n){var r=t.alwaysShow,i=t.ifOverflow;return r&&(i="extendDomain"),i===n},Vb,RP;function Bee(){if(RP)return Vb;RP=1;var e=E4();function t(n,r,i){r=="__proto__"&&e?e(n,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):n[r]=i}return Vb=t,Vb}var Qb,DP;function Uee(){if(DP)return Qb;DP=1;var e=Bee(),t=T4(),n=Ti();function r(i,s){var l={};return s=n(s,3),t(i,function(u,f,d){e(l,f,s(u,f,d))}),l}return Qb=r,Qb}var Hee=Uee();const Gee=nt(Hee);var Xb,kP;function Fee(){if(kP)return Xb;kP=1;function e(t,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(!n(t[r],r,t))return!1;return!0}return Xb=e,Xb}var Wb,IP;function Yee(){if(IP)return Wb;IP=1;var e=KS();function t(n,r){var i=!0;return e(n,function(s,l,u){return i=!!r(s,l,u),i}),i}return Wb=t,Wb}var Zb,$P;function Kee(){if($P)return Zb;$P=1;var e=Fee(),t=Yee(),n=Ti(),r=Cn(),i=hp();function s(l,u,f){var d=r(l)?e:t;return f&&i(l,u,f)&&(u=void 0),d(l,n(u,3))}return Zb=s,Zb}var Vee=Kee();const ek=nt(Vee);var Qee=["x","y"];function Tu(e){"@babel/helpers - typeof";return Tu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tu(e)}function $1(){return $1=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},$1.apply(this,arguments)}function qP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ac(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qP(Object(n),!0).forEach(function(r){Xee(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xee(e,t,n){return t=Wee(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wee(e){var t=Zee(e,"string");return Tu(t)=="symbol"?t:t+""}function Zee(e,t){if(Tu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Tu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jee(e,t){if(e==null)return{};var n=ete(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ete(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 tte(e,t){var n=e.x,r=e.y,i=Jee(e,Qee),s="".concat(n),l=parseInt(s,10),u="".concat(r),f=parseInt(u,10),d="".concat(t.height||i.height),m=parseInt(d,10),p="".concat(t.width||i.width),v=parseInt(p,10);return Ac(Ac(Ac(Ac(Ac({},t),i),l?{x:l}:{}),f?{y:f}:{}),{},{height:m,width:v,name:t.name,radius:t.radius})}function zP(e){return I.createElement(hee,$1({shapeType:"rectangle",propTransformer:tte,activeClassName:"recharts-active-bar"},e))}var nte=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(r,i){if(typeof t=="number")return t;var s=de(r)||dU(r);return s?t(r,i):(s||xo(),n)}},rte=["value","background"],tk;function Zs(e){"@babel/helpers - typeof";return Zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zs(e)}function ate(e,t){if(e==null)return{};var n=ite(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ite(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 _h(){return _h=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},_h.apply(this,arguments)}function LP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Mt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?LP(Object(n),!0).forEach(function(r){yi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ote(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(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,rk(r.key),r)}}function ste(e,t,n){return t&&BP(e.prototype,t),n&&BP(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function lte(e,t,n){return t=Th(t),cte(e,nk()?Reflect.construct(t,n||[],Th(e).constructor):t.apply(e,n))}function cte(e,t){if(t&&(Zs(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ute(e)}function ute(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(nk=function(){return!!e})()}function Th(e){return Th=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Th(e)}function fte(e,t){if(typeof t!="function"&&t!==null)throw new 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&&q1(e,t)}function q1(e,t){return q1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},q1(e,t)}function yi(e,t,n){return t=rk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rk(e){var t=dte(e,"string");return Zs(t)=="symbol"?t:t+""}function dte(e,t){if(Zs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ci=(function(e){function t(){var n;ote(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=lte(this,t,[].concat(i)),yi(n,"state",{isAnimationFinished:!1}),yi(n,"id",yl("recharts-bar-")),yi(n,"handleAnimationEnd",function(){var l=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),l&&l()}),yi(n,"handleAnimationStart",function(){var l=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),l&&l()}),n}return fte(t,e),ste(t,[{key:"renderRectanglesStatically",value:function(r){var i=this,s=this.props,l=s.shape,u=s.dataKey,f=s.activeIndex,d=s.activeBar,m=Re(this.props,!1);return r&&r.map(function(p,v){var x=v===f,O=x?d:l,S=Mt(Mt(Mt({},m),p),{},{isActive:x,option:O,index:v,dataKey:u,onAnimationStart:i.handleAnimationStart,onAnimationEnd:i.handleAnimationEnd});return I.createElement(st,_h({className:"recharts-bar-rectangle"},Ld(i.props,p,v),{key:"rectangle-".concat(p?.x,"-").concat(p?.y,"-").concat(p?.value,"-").concat(v)}),I.createElement(zP,S))})}},{key:"renderRectanglesWithAnimation",value:function(){var r=this,i=this.props,s=i.data,l=i.layout,u=i.isAnimationActive,f=i.animationBegin,d=i.animationDuration,m=i.animationEasing,p=i.animationId,v=this.state.prevData;return I.createElement(Kr,{begin:f,duration:d,isActive:u,easing:m,from:{t:0},to:{t:1},key:"bar-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(x){var O=x.t,S=s.map(function(w,T){var C=v&&v[T];if(C){var M=Zt(C.x,w.x),N=Zt(C.y,w.y),_=Zt(C.width,w.width),E=Zt(C.height,w.height);return Mt(Mt({},w),{},{x:M(O),y:N(O),width:_(O),height:E(O)})}if(l==="horizontal"){var j=Zt(0,w.height),P=j(O);return Mt(Mt({},w),{},{y:w.y+w.height-P,height:P})}var k=Zt(0,w.width),G=k(O);return Mt(Mt({},w),{},{width:G})});return I.createElement(st,null,r.renderRectanglesStatically(S))})}},{key:"renderRectangles",value:function(){var r=this.props,i=r.data,s=r.isAnimationActive,l=this.state.prevData;return s&&i&&i.length&&(!l||!Ks(l,i))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(i)}},{key:"renderBackground",value:function(){var r=this,i=this.props,s=i.data,l=i.dataKey,u=i.activeIndex,f=Re(this.props.background,!1);return s.map(function(d,m){d.value;var p=d.background,v=ate(d,rte);if(!p)return null;var x=Mt(Mt(Mt(Mt(Mt({},v),{},{fill:"#eee"},p),f),Ld(r.props,d,m)),{},{onAnimationStart:r.handleAnimationStart,onAnimationEnd:r.handleAnimationEnd,dataKey:l,index:m,className:"recharts-bar-background-rectangle"});return I.createElement(zP,_h({key:"background-bar-".concat(m),option:r.props.background,isActive:m===u},x))})}},{key:"renderErrorBar",value:function(r,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var s=this.props,l=s.data,u=s.xAxis,f=s.yAxis,d=s.layout,m=s.children,p=ur(m,Uu);if(!p)return null;var v=d==="vertical"?l[0].height/2:l[0].width/2,x=function(w,T){var C=Array.isArray(w.value)?w.value[1]:w.value;return{x:w.x,y:w.y,value:C,errorVal:pn(w,T)}},O={clipPath:r?"url(#clipPath-".concat(i,")"):null};return I.createElement(st,O,p.map(function(S){return I.cloneElement(S,{key:"error-bar-".concat(i,"-").concat(S.props.dataKey),data:l,xAxis:u,yAxis:f,layout:d,offset:v,dataPointFormatter:x})}))}},{key:"render",value:function(){var r=this.props,i=r.hide,s=r.data,l=r.className,u=r.xAxis,f=r.yAxis,d=r.left,m=r.top,p=r.width,v=r.height,x=r.isAnimationActive,O=r.background,S=r.id;if(i||!s||!s.length)return null;var w=this.state.isAnimationFinished,T=qe("recharts-bar",l),C=u&&u.allowDataOverflow,M=f&&f.allowDataOverflow,N=C||M,_=ke(S)?this.id:S;return I.createElement(st,{className:T},C||M?I.createElement("defs",null,I.createElement("clipPath",{id:"clipPath-".concat(_)},I.createElement("rect",{x:C?d:d-p/2,y:M?m:m-v/2,width:C?p:p*2,height:M?v:v*2}))):null,I.createElement(st,{className:"recharts-bar-rectangles",clipPath:N?"url(#clipPath-".concat(_,")"):null},O?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(N,_),(!x||w)&&Aa.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curData:r.data,prevData:i.curData}:r.data!==i.curData?{curData:r.data}:null}}])})($.PureComponent);tk=Ci;yi(Ci,"displayName","Bar");yi(Ci,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!jo.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});yi(Ci,"getComposedData",function(e){var t=e.props,n=e.item,r=e.barPosition,i=e.bandSize,s=e.xAxis,l=e.yAxis,u=e.xAxisTicks,f=e.yAxisTicks,d=e.stackedData,m=e.dataStartIndex,p=e.displayedData,v=e.offset,x=MX(r,n);if(!x)return null;var O=t.layout,S=n.type.defaultProps,w=S!==void 0?Mt(Mt({},S),n.props):n.props,T=w.dataKey,C=w.children,M=w.minPointSize,N=O==="horizontal"?l:s,_=d?N.scale.domain():null,E=qX({numericAxis:N}),j=ur(C,pp),P=p.map(function(k,G){var q,L,F,V,X,D;d?q=NX(d[m+G],_):(q=pn(k,T),Array.isArray(q)||(q=[E,q]));var U=nte(M,tk.defaultProps.minPointSize)(q[1],G);if(O==="horizontal"){var B,ee=[l.scale(q[0]),l.scale(q[1])],se=ee[0],z=ee[1];L=_N({axis:s,ticks:u,bandSize:i,offset:x.offset,entry:k,index:G}),F=(B=z??se)!==null&&B!==void 0?B:void 0,V=x.size;var Y=se-z;if(X=Number.isNaN(Y)?0:Y,D={x:L,y:l.y,width:V,height:l.height},Math.abs(U)>0&&Math.abs(X)<Math.abs(U)){var Q=wr(X||U)*(Math.abs(U)-Math.abs(X));F-=Q,X+=Q}}else{var te=[s.scale(q[0]),s.scale(q[1])],ue=te[0],he=te[1];if(L=ue,F=_N({axis:l,ticks:f,bandSize:i,offset:x.offset,entry:k,index:G}),V=he-ue,X=x.size,D={x:s.x,y:F,width:s.width,height:X},Math.abs(U)>0&&Math.abs(V)<Math.abs(U)){var pe=wr(V||U)*(Math.abs(U)-Math.abs(V));V+=pe}}return Mt(Mt(Mt({},k),{},{x:L,y:F,width:V,height:X,value:d?q:q[1],payload:k,background:D},j&&j[G]&&j[G].props),{},{tooltipPayload:[zD(n,k)],tooltipPosition:{x:L+V/2,y:F+X/2}})});return Mt({data:P,layout:O},v)});function Au(e){"@babel/helpers - typeof";return Au=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Au(e)}function hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UP(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,ak(r.key),r)}}function pte(e,t,n){return t&&UP(e.prototype,t),n&&UP(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function HP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function br(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?HP(Object(n),!0).forEach(function(r){Ep(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ep(e,t,n){return t=ak(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ak(e){var t=mte(e,"string");return Au(t)=="symbol"?t:t+""}function mte(e,t){if(Au(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Au(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ww=function(t,n,r,i,s){var l=t.width,u=t.height,f=t.layout,d=t.children,m=Object.keys(n),p={left:r.left,leftMirror:r.left,right:l-r.right,rightMirror:l-r.right,top:r.top,topMirror:r.top,bottom:u-r.bottom,bottomMirror:u-r.bottom},v=!!Ln(d,Ci);return m.reduce(function(x,O){var S=n[O],w=S.orientation,T=S.domain,C=S.padding,M=C===void 0?{}:C,N=S.mirror,_=S.reversed,E="".concat(w).concat(N?"Mirror":""),j,P,k,G,q;if(S.type==="number"&&(S.padding==="gap"||S.padding==="no-gap")){var L=T[1]-T[0],F=1/0,V=S.categoricalDomain.sort(mU);if(V.forEach(function(te,ue){ue>0&&(F=Math.min((te||0)-(V[ue-1]||0),F))}),Number.isFinite(F)){var X=F/L,D=S.layout==="vertical"?r.height:r.width;if(S.padding==="gap"&&(j=X*D/2),S.padding==="no-gap"){var U=go(t.barCategoryGap,X*D),B=X*D/2;j=B-U-(B-U)/D*U}}}i==="xAxis"?P=[r.left+(M.left||0)+(j||0),r.left+r.width-(M.right||0)-(j||0)]:i==="yAxis"?P=f==="horizontal"?[r.top+r.height-(M.bottom||0),r.top+(M.top||0)]:[r.top+(M.top||0)+(j||0),r.top+r.height-(M.bottom||0)-(j||0)]:P=S.range,_&&(P=[P[1],P[0]]);var ee=jX(S,s,v),se=ee.scale,z=ee.realScaleType;se.domain(T).range(P),CX(se);var Y=$X(se,br(br({},S),{},{realScaleType:z}));i==="xAxis"?(q=w==="top"&&!N||w==="bottom"&&N,k=r.left,G=p[E]-q*S.height):i==="yAxis"&&(q=w==="left"&&!N||w==="right"&&N,k=p[E]-q*S.width,G=r.top);var Q=br(br(br({},S),Y),{},{realScaleType:z,x:k,y:G,scale:se,width:i==="xAxis"?r.width:S.width,height:i==="yAxis"?r.height:S.height});return Q.bandSize=dh(Q,Y),!S.hide&&i==="xAxis"?p[E]+=(q?-1:1)*Q.height:S.hide||(p[E]+=(q?-1:1)*Q.width),br(br({},x),{},Ep({},O,Q))},{})},ik=function(t,n){var r=t.x,i=t.y,s=n.x,l=n.y;return{x:Math.min(r,s),y:Math.min(i,l),width:Math.abs(s-r),height:Math.abs(l-i)}},yte=function(t){var n=t.x1,r=t.y1,i=t.x2,s=t.y2;return ik({x:n,y:r},{x:i,y:s})},ok=(function(){function e(t){hte(this,e),this.scale=t}return pte(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(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.bandAware,s=r.position;if(n!==void 0){if(s)switch(s){case"start":return this.scale(n);case"middle":{var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+l}case"end":{var u=this.bandwidth?this.bandwidth():0;return this.scale(n)+u}default:return this.scale(n)}if(i){var f=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+f}return this.scale(n)}}},{key:"isInRange",value:function(n){var r=this.range(),i=r[0],s=r[r.length-1];return i<=s?n>=i&&n<=s:n>=s&&n<=i}}],[{key:"create",value:function(n){return new e(n)}}])})();Ep(ok,"EPS",1e-4);var Ow=function(t){var n=Object.keys(t).reduce(function(r,i){return br(br({},r),{},Ep({},i,ok.create(t[i])))},{});return br(br({},n),{},{apply:function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.bandAware,u=s.position;return Gee(i,function(f,d){return n[d].apply(f,{bandAware:l,position:u})})},isInRange:function(i){return ek(i,function(s,l){return n[l].isInRange(s)})}})};function vte(e){return(e%180+180)%180}var gte=function(t){var n=t.width,r=t.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=vte(i),l=s*Math.PI/180,u=Math.atan(r/n),f=l>u&&l<Math.PI-u?r/Math.sin(l):n/Math.cos(l);return Math.abs(f)},Jb,GP;function bte(){if(GP)return Jb;GP=1;var e=Ti(),t=$u(),n=fp();function r(i){return function(s,l,u){var f=Object(s);if(!t(s)){var d=e(l,3);s=n(s),l=function(p){return d(f[p],p,f)}}var m=i(s,l,u);return m>-1?f[d?s[m]:m]:void 0}}return Jb=r,Jb}var ex,FP;function xte(){if(FP)return ex;FP=1;var e=XD();function t(n){var r=e(n),i=r%1;return r===r?i?r-i:r:0}return ex=t,ex}var tx,YP;function Ste(){if(YP)return tx;YP=1;var e=x4(),t=Ti(),n=xte(),r=Math.max;function i(s,l,u){var f=s==null?0:s.length;if(!f)return-1;var d=u==null?0:n(u);return d<0&&(d=r(f+d,0)),e(s,t(l,3),d)}return tx=i,tx}var nx,KP;function wte(){if(KP)return nx;KP=1;var e=bte(),t=Ste(),n=e(t);return nx=n,nx}var Ote=wte();const _te=nt(Ote);var Tte=k3();const Ate=nt(Tte);var Ete=Ate(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("")}),_w=$.createContext(void 0),Tw=$.createContext(void 0),sk=$.createContext(void 0),lk=$.createContext({}),ck=$.createContext(void 0),uk=$.createContext(0),fk=$.createContext(0),VP=function(t){var n=t.state,r=n.xAxisMap,i=n.yAxisMap,s=n.offset,l=t.clipPathId,u=t.children,f=t.width,d=t.height,m=Ete(s);return I.createElement(_w.Provider,{value:r},I.createElement(Tw.Provider,{value:i},I.createElement(lk.Provider,{value:s},I.createElement(sk.Provider,{value:m},I.createElement(ck.Provider,{value:l},I.createElement(uk.Provider,{value:d},I.createElement(fk.Provider,{value:f},u)))))))},jte=function(){return $.useContext(ck)},dk=function(t){var n=$.useContext(_w);n==null&&xo();var r=n[t];return r==null&&xo(),r},Cte=function(){var t=$.useContext(_w);return hi(t)},Mte=function(){var t=$.useContext(Tw),n=_te(t,function(r){return ek(r.domain,Number.isFinite)});return n||hi(t)},hk=function(t){var n=$.useContext(Tw);n==null&&xo();var r=n[t];return r==null&&xo(),r},Nte=function(){var t=$.useContext(sk);return t},Pte=function(){return $.useContext(lk)},Aw=function(){return $.useContext(fk)},Ew=function(){return $.useContext(uk)};function Js(e){"@babel/helpers - typeof";return Js=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Js(e)}function Rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dte(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,mk(r.key),r)}}function kte(e,t,n){return t&&Dte(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ite(e,t,n){return t=Ah(t),$te(e,pk()?Reflect.construct(t,n||[],Ah(e).constructor):t.apply(e,n))}function $te(e,t){if(t&&(Js(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return qte(e)}function qte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(pk=function(){return!!e})()}function Ah(e){return Ah=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ah(e)}function zte(e,t){if(typeof t!="function"&&t!==null)throw new 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&&z1(e,t)}function z1(e,t){return z1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},z1(e,t)}function QP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function XP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?QP(Object(n),!0).forEach(function(r){jw(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function jw(e,t,n){return t=mk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mk(e){var t=Lte(e,"string");return Js(t)=="symbol"?t:t+""}function Lte(e,t){if(Js(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Js(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Bte(e,t){return Fte(e)||Gte(e,t)||Hte(e,t)||Ute()}function Ute(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
236In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hte(e,t){if(e){if(typeof e=="string")return WP(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 WP(e,t)}}function WP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Gte(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function Fte(e){if(Array.isArray(e))return e}function L1(){return L1=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},L1.apply(this,arguments)}var Yte=function(t,n){var r;return I.isValidElement(t)?r=I.cloneElement(t,n):Ne(t)?r=t(n):r=I.createElement("line",L1({},n,{className:"recharts-reference-line-line"})),r},Kte=function(t,n,r,i,s,l,u,f,d){var m=s.x,p=s.y,v=s.width,x=s.height;if(r){var O=d.y,S=t.y.apply(O,{position:l});if(Gr(d,"discard")&&!t.y.isInRange(S))return null;var w=[{x:m+v,y:S},{x:m,y:S}];return f==="left"?w.reverse():w}if(n){var T=d.x,C=t.x.apply(T,{position:l});if(Gr(d,"discard")&&!t.x.isInRange(C))return null;var M=[{x:C,y:p+x},{x:C,y:p}];return u==="top"?M.reverse():M}if(i){var N=d.segment,_=N.map(function(E){return t.apply(E,{position:l})});return Gr(d,"discard")&&Lee(_,function(E){return!t.isInRange(E)})?null:_}return null};function Vte(e){var t=e.x,n=e.y,r=e.segment,i=e.xAxisId,s=e.yAxisId,l=e.shape,u=e.className,f=e.alwaysShow,d=jte(),m=dk(i),p=hk(s),v=Nte();if(!d||!v)return null;_a(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var x=Ow({x:m.scale,y:p.scale}),O=It(t),S=It(n),w=r&&r.length===2,T=Kte(x,O,S,w,v,e.position,m.orientation,p.orientation,e);if(!T)return null;var C=Bte(T,2),M=C[0],N=M.x,_=M.y,E=C[1],j=E.x,P=E.y,k=Gr(e,"hidden")?"url(#".concat(d,")"):void 0,G=XP(XP({clipPath:k},Re(e,!0)),{},{x1:N,y1:_,x2:j,y2:P});return I.createElement(st,{className:qe("recharts-reference-line",u)},Yte(l,G),on.renderCallByParent(e,yte({x1:N,y1:_,x2:j,y2:P})))}var jp=(function(e){function t(){return Rte(this,t),Ite(this,t,arguments)}return zte(t,e),kte(t,[{key:"render",value:function(){return I.createElement(Vte,this.props)}}])})(I.Component);jw(jp,"displayName","ReferenceLine");jw(jp,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function B1(){return B1=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},B1.apply(this,arguments)}function el(e){"@babel/helpers - typeof";return el=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},el(e)}function ZP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).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?ZP(Object(n),!0).forEach(function(r){Cp(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xte(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,vk(r.key),r)}}function Wte(e,t,n){return t&&Xte(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zte(e,t,n){return t=Eh(t),Jte(e,yk()?Reflect.construct(t,n||[],Eh(e).constructor):t.apply(e,n))}function Jte(e,t){if(t&&(el(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ene(e)}function ene(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(yk=function(){return!!e})()}function Eh(e){return Eh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Eh(e)}function tne(e,t){if(typeof t!="function"&&t!==null)throw new 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&&U1(e,t)}function U1(e,t){return U1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},U1(e,t)}function Cp(e,t,n){return t=vk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vk(e){var t=nne(e,"string");return el(t)=="symbol"?t:t+""}function nne(e,t){if(el(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(el(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rne=function(t){var n=t.x,r=t.y,i=t.xAxis,s=t.yAxis,l=Ow({x:i.scale,y:s.scale}),u=l.apply({x:n,y:r},{bandAware:!0});return Gr(t,"discard")&&!l.isInRange(u)?null:u},Mp=(function(e){function t(){return Qte(this,t),Zte(this,t,arguments)}return tne(t,e),Wte(t,[{key:"render",value:function(){var r=this.props,i=r.x,s=r.y,l=r.r,u=r.alwaysShow,f=r.clipPathId,d=It(i),m=It(s);if(_a(u===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!d||!m)return null;var p=rne(this.props);if(!p)return null;var v=p.x,x=p.y,O=this.props,S=O.shape,w=O.className,T=Gr(this.props,"hidden")?"url(#".concat(f,")"):void 0,C=JP(JP({clipPath:T},Re(this.props,!0)),{},{cx:v,cy:x});return I.createElement(st,{className:qe("recharts-reference-dot",w)},t.renderDot(S,C),on.renderCallByParent(this.props,{x:v-l,y:x-l,width:2*l,height:2*l}))}}])})(I.Component);Cp(Mp,"displayName","ReferenceDot");Cp(Mp,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});Cp(Mp,"renderDot",function(e,t){var n;return I.isValidElement(e)?n=I.cloneElement(e,t):Ne(e)?n=e(t):n=I.createElement(_p,B1({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),n});function H1(){return H1=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},H1.apply(this,arguments)}function tl(e){"@babel/helpers - typeof";return tl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tl(e)}function e5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function t5(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?e5(Object(n),!0).forEach(function(r){Np(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ane(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ine(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,bk(r.key),r)}}function one(e,t,n){return t&&ine(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function sne(e,t,n){return t=jh(t),lne(e,gk()?Reflect.construct(t,n||[],jh(e).constructor):t.apply(e,n))}function lne(e,t){if(t&&(tl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return cne(e)}function cne(e){if(e===void 0)throw new 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 jh(e){return jh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},jh(e)}function une(e,t){if(typeof t!="function"&&t!==null)throw new 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&&G1(e,t)}function G1(e,t){return G1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},G1(e,t)}function Np(e,t,n){return t=bk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bk(e){var t=fne(e,"string");return tl(t)=="symbol"?t:t+""}function fne(e,t){if(tl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(tl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var dne=function(t,n,r,i,s){var l=s.x1,u=s.x2,f=s.y1,d=s.y2,m=s.xAxis,p=s.yAxis;if(!m||!p)return null;var v=Ow({x:m.scale,y:p.scale}),x={x:t?v.x.apply(l,{position:"start"}):v.x.rangeMin,y:r?v.y.apply(f,{position:"start"}):v.y.rangeMin},O={x:n?v.x.apply(u,{position:"end"}):v.x.rangeMax,y:i?v.y.apply(d,{position:"end"}):v.y.rangeMax};return Gr(s,"discard")&&(!v.isInRange(x)||!v.isInRange(O))?null:ik(x,O)},Pp=(function(e){function t(){return ane(this,t),sne(this,t,arguments)}return une(t,e),one(t,[{key:"render",value:function(){var r=this.props,i=r.x1,s=r.x2,l=r.y1,u=r.y2,f=r.className,d=r.alwaysShow,m=r.clipPathId;_a(d===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var p=It(i),v=It(s),x=It(l),O=It(u),S=this.props.shape;if(!p&&!v&&!x&&!O&&!S)return null;var w=dne(p,v,x,O,this.props);if(!w&&!S)return null;var T=Gr(this.props,"hidden")?"url(#".concat(m,")"):void 0;return I.createElement(st,{className:qe("recharts-reference-area",f)},t.renderRect(S,t5(t5({clipPath:T},Re(this.props,!0)),w)),on.renderCallByParent(this.props,w))}}])})(I.Component);Np(Pp,"displayName","ReferenceArea");Np(Pp,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});Np(Pp,"renderRect",function(e,t){var n;return I.isValidElement(e)?n=I.cloneElement(e,t):Ne(e)?n=e(t):n=I.createElement(Sw,H1({},t,{className:"recharts-reference-area-rect"})),n});function xk(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)r.push(e[i]);return r}function hne(e,t,n){var r={width:e.width+t.width,height:e.height+t.height};return gte(r,n)}function pne(e,t,n){var r=n==="width",i=e.x,s=e.y,l=e.width,u=e.height;return t===1?{start:r?i:s,end:r?i+l:s+u}:{start:r?i+l:s+u,end:r?i:s}}function Ch(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var s=n();return e*(t-e*s/2-r)>=0&&e*(t+e*s/2-i)<=0}function mne(e,t){return xk(e,t+1)}function yne(e,t,n,r,i){for(var s=(r||[]).slice(),l=t.start,u=t.end,f=0,d=1,m=l,p=function(){var O=r?.[f];if(O===void 0)return{v:xk(r,d)};var S=f,w,T=function(){return w===void 0&&(w=n(O,S)),w},C=O.coordinate,M=f===0||Ch(e,C,T,m,u);M||(f=0,m=l,d+=1),M&&(m=C+e*(T()/2+i),f+=d)},v;d<=s.length;)if(v=p(),v)return v.v;return[]}function Eu(e){"@babel/helpers - typeof";return Eu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Eu(e)}function n5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?n5(Object(n),!0).forEach(function(r){vne(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function vne(e,t,n){return t=gne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gne(e){var t=bne(e,"string");return Eu(t)=="symbol"?t:t+""}function bne(e,t){if(Eu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Eu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xne(e,t,n,r,i){for(var s=(r||[]).slice(),l=s.length,u=t.start,f=t.end,d=function(v){var x=s[v],O,S=function(){return O===void 0&&(O=n(x,v)),O};if(v===l-1){var w=e*(x.coordinate+e*S()/2-f);s[v]=x=rn(rn({},x),{},{tickCoord:w>0?x.coordinate-w*e:x.coordinate})}else s[v]=x=rn(rn({},x),{},{tickCoord:x.coordinate});var T=Ch(e,x.tickCoord,S,u,f);T&&(f=x.tickCoord-e*(S()/2+i),s[v]=rn(rn({},x),{},{isShow:!0}))},m=l-1;m>=0;m--)d(m);return s}function Sne(e,t,n,r,i,s){var l=(r||[]).slice(),u=l.length,f=t.start,d=t.end;if(s){var m=r[u-1],p=n(m,u-1),v=e*(m.coordinate+e*p/2-d);l[u-1]=m=rn(rn({},m),{},{tickCoord:v>0?m.coordinate-v*e:m.coordinate});var x=Ch(e,m.tickCoord,function(){return p},f,d);x&&(d=m.tickCoord-e*(p/2+i),l[u-1]=rn(rn({},m),{},{isShow:!0}))}for(var O=s?u-1:u,S=function(C){var M=l[C],N,_=function(){return N===void 0&&(N=n(M,C)),N};if(C===0){var E=e*(M.coordinate-e*_()/2-f);l[C]=M=rn(rn({},M),{},{tickCoord:E<0?M.coordinate-E*e:M.coordinate})}else l[C]=M=rn(rn({},M),{},{tickCoord:M.coordinate});var j=Ch(e,M.tickCoord,_,f,d);j&&(f=M.tickCoord+e*(_()/2+i),l[C]=rn(rn({},M),{},{isShow:!0}))},w=0;w<O;w++)S(w);return l}function Cw(e,t,n){var r=e.tick,i=e.ticks,s=e.viewBox,l=e.minTickGap,u=e.orientation,f=e.interval,d=e.tickFormatter,m=e.unit,p=e.angle;if(!i||!i.length||!r)return[];if(de(f)||jo.isSsr)return mne(i,typeof f=="number"&&de(f)?f:0);var v=[],x=u==="top"||u==="bottom"?"width":"height",O=m&&x==="width"?Dc(m,{fontSize:t,letterSpacing:n}):{width:0,height:0},S=function(M,N){var _=Ne(d)?d(M.value,N):M.value;return x==="width"?hne(Dc(_,{fontSize:t,letterSpacing:n}),O,p):Dc(_,{fontSize:t,letterSpacing:n})[x]},w=i.length>=2?wr(i[1].coordinate-i[0].coordinate):1,T=pne(s,w,x);return f==="equidistantPreserveStart"?yne(w,T,S,i,l):(f==="preserveStart"||f==="preserveStartEnd"?v=Sne(w,T,S,i,l,f==="preserveStartEnd"):v=xne(w,T,S,i,l),v.filter(function(C){return C.isShow}))}var wne=["viewBox"],One=["viewBox"],_ne=["ticks"];function nl(e){"@babel/helpers - typeof";return nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nl(e)}function js(){return js=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},js.apply(this,arguments)}function r5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Dt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?r5(Object(n),!0).forEach(function(r){Mw(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function rx(e,t){if(e==null)return{};var n=Tne(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Tne(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 Ane(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a5(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,wk(r.key),r)}}function Ene(e,t,n){return t&&a5(e.prototype,t),n&&a5(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function jne(e,t,n){return t=Mh(t),Cne(e,Sk()?Reflect.construct(t,n||[],Mh(e).constructor):t.apply(e,n))}function Cne(e,t){if(t&&(nl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mne(e)}function Mne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Sk=function(){return!!e})()}function Mh(e){return Mh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Mh(e)}function Nne(e,t){if(typeof t!="function"&&t!==null)throw new 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&&F1(e,t)}function F1(e,t){return F1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},F1(e,t)}function Mw(e,t,n){return t=wk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wk(e){var t=Pne(e,"string");return nl(t)=="symbol"?t:t+""}function Pne(e,t){if(nl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(nl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Sl=(function(e){function t(n){var r;return Ane(this,t),r=jne(this,t,[n]),r.state={fontSize:"",letterSpacing:""},r}return Nne(t,e),Ene(t,[{key:"shouldComponentUpdate",value:function(r,i){var s=r.viewBox,l=rx(r,wne),u=this.props,f=u.viewBox,d=rx(u,One);return!Ns(s,f)||!Ns(l,d)||!Ns(i,this.state)}},{key:"componentDidMount",value:function(){var r=this.layerReference;if(r){var i=r.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];i&&this.setState({fontSize:window.getComputedStyle(i).fontSize,letterSpacing:window.getComputedStyle(i).letterSpacing})}}},{key:"getTickLineCoord",value:function(r){var i=this.props,s=i.x,l=i.y,u=i.width,f=i.height,d=i.orientation,m=i.tickSize,p=i.mirror,v=i.tickMargin,x,O,S,w,T,C,M=p?-1:1,N=r.tickSize||m,_=de(r.tickCoord)?r.tickCoord:r.coordinate;switch(d){case"top":x=O=r.coordinate,w=l+ +!p*f,S=w-M*N,C=S-M*v,T=_;break;case"left":S=w=r.coordinate,O=s+ +!p*u,x=O-M*N,T=x-M*v,C=_;break;case"right":S=w=r.coordinate,O=s+ +p*u,x=O+M*N,T=x+M*v,C=_;break;default:x=O=r.coordinate,w=l+ +p*f,S=w+M*N,C=S+M*v,T=_;break}return{line:{x1:x,y1:S,x2:O,y2:w},tick:{x:T,y:C}}}},{key:"getTickTextAnchor",value:function(){var r=this.props,i=r.orientation,s=r.mirror,l;switch(i){case"left":l=s?"start":"end";break;case"right":l=s?"end":"start";break;default:l="middle";break}return l}},{key:"getTickVerticalAnchor",value:function(){var r=this.props,i=r.orientation,s=r.mirror,l="end";switch(i){case"left":case"right":l="middle";break;case"top":l=s?"start":"end";break;default:l=s?"end":"start";break}return l}},{key:"renderAxisLine",value:function(){var r=this.props,i=r.x,s=r.y,l=r.width,u=r.height,f=r.orientation,d=r.mirror,m=r.axisLine,p=Dt(Dt(Dt({},Re(this.props,!1)),Re(m,!1)),{},{fill:"none"});if(f==="top"||f==="bottom"){var v=+(f==="top"&&!d||f==="bottom"&&d);p=Dt(Dt({},p),{},{x1:i,y1:s+v*u,x2:i+l,y2:s+v*u})}else{var x=+(f==="left"&&!d||f==="right"&&d);p=Dt(Dt({},p),{},{x1:i+x*l,y1:s,x2:i+x*l,y2:s+u})}return I.createElement("line",js({},p,{className:qe("recharts-cartesian-axis-line",cr(m,"className"))}))}},{key:"renderTicks",value:function(r,i,s){var l=this,u=this.props,f=u.tickLine,d=u.stroke,m=u.tick,p=u.tickFormatter,v=u.unit,x=Cw(Dt(Dt({},this.props),{},{ticks:r}),i,s),O=this.getTickTextAnchor(),S=this.getTickVerticalAnchor(),w=Re(this.props,!1),T=Re(m,!1),C=Dt(Dt({},w),{},{fill:"none"},Re(f,!1)),M=x.map(function(N,_){var E=l.getTickLineCoord(N),j=E.line,P=E.tick,k=Dt(Dt(Dt(Dt({textAnchor:O,verticalAnchor:S},w),{},{stroke:"none",fill:d},T),P),{},{index:_,payload:N,visibleTicksCount:x.length,tickFormatter:p});return I.createElement(st,js({className:"recharts-cartesian-axis-tick",key:"tick-".concat(N.value,"-").concat(N.coordinate,"-").concat(N.tickCoord)},Ld(l.props,N,_)),f&&I.createElement("line",js({},C,j,{className:qe("recharts-cartesian-axis-tick-line",cr(f,"className"))})),m&&t.renderTickItem(m,k,"".concat(Ne(p)?p(N.value,_):N.value).concat(v||"")))});return I.createElement("g",{className:"recharts-cartesian-axis-ticks"},M)}},{key:"render",value:function(){var r=this,i=this.props,s=i.axisLine,l=i.width,u=i.height,f=i.ticksGenerator,d=i.className,m=i.hide;if(m)return null;var p=this.props,v=p.ticks,x=rx(p,_ne),O=v;return Ne(f)&&(O=v&&v.length>0?f(this.props):f(x)),l<=0||u<=0||!O||!O.length?null:I.createElement(st,{className:qe("recharts-cartesian-axis",d),ref:function(w){r.layerReference=w}},s&&this.renderAxisLine(),this.renderTicks(O,this.state.fontSize,this.state.letterSpacing),on.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,i,s){var l,u=qe(i.className,"recharts-cartesian-axis-tick-value");return I.isValidElement(r)?l=I.cloneElement(r,Dt(Dt({},i),{},{className:u})):Ne(r)?l=r(Dt(Dt({},i),{},{className:u})):l=I.createElement(Wd,js({},i,{className:"recharts-cartesian-axis-tick-value"}),s),l}}])})($.Component);Mw(Sl,"displayName","CartesianAxis");Mw(Sl,"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 Rne=["x1","y1","x2","y2","key"],Dne=["offset"];function So(e){"@babel/helpers - typeof";return So=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},So(e)}function i5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function sn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?i5(Object(n),!0).forEach(function(r){kne(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kne(e,t,n){return t=Ine(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ine(e){var t=$ne(e,"string");return So(t)=="symbol"?t:t+""}function $ne(e,t){if(So(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(So(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function so(){return so=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},so.apply(this,arguments)}function o5(e,t){if(e==null)return{};var n=qne(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qne(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 zne=function(t){var n=t.fill;if(!n||n==="none")return null;var r=t.fillOpacity,i=t.x,s=t.y,l=t.width,u=t.height,f=t.ry;return I.createElement("rect",{x:i,y:s,ry:f,width:l,height:u,stroke:"none",fill:n,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function Ok(e,t){var n;if(I.isValidElement(e))n=I.cloneElement(e,t);else if(Ne(e))n=e(t);else{var r=t.x1,i=t.y1,s=t.x2,l=t.y2,u=t.key,f=o5(t,Rne),d=Re(f,!1);d.offset;var m=o5(d,Dne);n=I.createElement("line",so({},m,{x1:r,y1:i,x2:s,y2:l,fill:"none",key:u}))}return n}function Lne(e){var t=e.x,n=e.width,r=e.horizontal,i=r===void 0?!0:r,s=e.horizontalPoints;if(!i||!s||!s.length)return null;var l=s.map(function(u,f){var d=sn(sn({},e),{},{x1:t,y1:u,x2:t+n,y2:u,key:"line-".concat(f),index:f});return Ok(i,d)});return I.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function Bne(e){var t=e.y,n=e.height,r=e.vertical,i=r===void 0?!0:r,s=e.verticalPoints;if(!i||!s||!s.length)return null;var l=s.map(function(u,f){var d=sn(sn({},e),{},{x1:u,y1:t,x2:u,y2:t+n,key:"line-".concat(f),index:f});return Ok(i,d)});return I.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function Une(e){var t=e.horizontalFill,n=e.fillOpacity,r=e.x,i=e.y,s=e.width,l=e.height,u=e.horizontalPoints,f=e.horizontal,d=f===void 0?!0:f;if(!d||!t||!t.length)return null;var m=u.map(function(v){return Math.round(v+i-i)}).sort(function(v,x){return v-x});i!==m[0]&&m.unshift(0);var p=m.map(function(v,x){var O=!m[x+1],S=O?i+l-v:m[x+1]-v;if(S<=0)return null;var w=x%t.length;return I.createElement("rect",{key:"react-".concat(x),y:v,x:r,height:S,width:s,stroke:"none",fill:t[w],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return I.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},p)}function Hne(e){var t=e.vertical,n=t===void 0?!0:t,r=e.verticalFill,i=e.fillOpacity,s=e.x,l=e.y,u=e.width,f=e.height,d=e.verticalPoints;if(!n||!r||!r.length)return null;var m=d.map(function(v){return Math.round(v+s-s)}).sort(function(v,x){return v-x});s!==m[0]&&m.unshift(0);var p=m.map(function(v,x){var O=!m[x+1],S=O?s+u-v:m[x+1]-v;if(S<=0)return null;var w=x%r.length;return I.createElement("rect",{key:"react-".concat(x),x:v,y:l,width:S,height:f,stroke:"none",fill:r[w],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return I.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},p)}var Gne=function(t,n){var r=t.xAxis,i=t.width,s=t.height,l=t.offset;return $D(Cw(sn(sn(sn({},Sl.defaultProps),r),{},{ticks:wa(r,!0),viewBox:{x:0,y:0,width:i,height:s}})),l.left,l.left+l.width,n)},Fne=function(t,n){var r=t.yAxis,i=t.width,s=t.height,l=t.offset;return $D(Cw(sn(sn(sn({},Sl.defaultProps),r),{},{ticks:wa(r,!0),viewBox:{x:0,y:0,width:i,height:s}})),l.top,l.top+l.height,n)},_s={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function _k(e){var t,n,r,i,s,l,u=Aw(),f=Ew(),d=Pte(),m=sn(sn({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:_s.stroke,fill:(n=e.fill)!==null&&n!==void 0?n:_s.fill,horizontal:(r=e.horizontal)!==null&&r!==void 0?r:_s.horizontal,horizontalFill:(i=e.horizontalFill)!==null&&i!==void 0?i:_s.horizontalFill,vertical:(s=e.vertical)!==null&&s!==void 0?s:_s.vertical,verticalFill:(l=e.verticalFill)!==null&&l!==void 0?l:_s.verticalFill,x:de(e.x)?e.x:d.left,y:de(e.y)?e.y:d.top,width:de(e.width)?e.width:d.width,height:de(e.height)?e.height:d.height}),p=m.x,v=m.y,x=m.width,O=m.height,S=m.syncWithTicks,w=m.horizontalValues,T=m.verticalValues,C=Cte(),M=Mte();if(!de(x)||x<=0||!de(O)||O<=0||!de(p)||p!==+p||!de(v)||v!==+v)return null;var N=m.verticalCoordinatesGenerator||Gne,_=m.horizontalCoordinatesGenerator||Fne,E=m.horizontalPoints,j=m.verticalPoints;if((!E||!E.length)&&Ne(_)){var P=w&&w.length,k=_({yAxis:M?sn(sn({},M),{},{ticks:P?w:M.ticks}):void 0,width:u,height:f,offset:d},P?!0:S);_a(Array.isArray(k),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(So(k),"]")),Array.isArray(k)&&(E=k)}if((!j||!j.length)&&Ne(N)){var G=T&&T.length,q=N({xAxis:C?sn(sn({},C),{},{ticks:G?T:C.ticks}):void 0,width:u,height:f,offset:d},G?!0:S);_a(Array.isArray(q),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(So(q),"]")),Array.isArray(q)&&(j=q)}return I.createElement("g",{className:"recharts-cartesian-grid"},I.createElement(zne,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height,ry:m.ry}),I.createElement(Lne,so({},m,{offset:d,horizontalPoints:E,xAxis:C,yAxis:M})),I.createElement(Bne,so({},m,{offset:d,verticalPoints:j,xAxis:C,yAxis:M})),I.createElement(Une,so({},m,{horizontalPoints:E})),I.createElement(Hne,so({},m,{verticalPoints:j})))}_k.displayName="CartesianGrid";var Yne=["type","layout","connectNulls","ref"],Kne=["key"];function rl(e){"@babel/helpers - typeof";return rl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rl(e)}function s5(e,t){if(e==null)return{};var n=Vne(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Vne(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 qc(){return qc=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},qc.apply(this,arguments)}function l5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function qn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?l5(Object(n),!0).forEach(function(r){xr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ts(e){return Zne(e)||Wne(e)||Xne(e)||Qne()}function Qne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
237In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xne(e,t){if(e){if(typeof e=="string")return Y1(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 Y1(e,t)}}function Wne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Zne(e){if(Array.isArray(e))return Y1(e)}function Y1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c5(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,Ak(r.key),r)}}function ere(e,t,n){return t&&c5(e.prototype,t),n&&c5(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function tre(e,t,n){return t=Nh(t),nre(e,Tk()?Reflect.construct(t,n||[],Nh(e).constructor):t.apply(e,n))}function nre(e,t){if(t&&(rl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return rre(e)}function rre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Tk=function(){return!!e})()}function Nh(e){return Nh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Nh(e)}function are(e,t){if(typeof t!="function"&&t!==null)throw new 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&&K1(e,t)}function K1(e,t){return K1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},K1(e,t)}function xr(e,t,n){return t=Ak(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ak(e){var t=ire(e,"string");return rl(t)=="symbol"?t:t+""}function ire(e,t){if(rl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(rl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var dn=(function(e){function t(){var n;Jne(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=tre(this,t,[].concat(i)),xr(n,"state",{isAnimationFinished:!0,totalLength:0}),xr(n,"generateSimpleStrokeDasharray",function(l,u){return"".concat(u,"px ").concat(l-u,"px")}),xr(n,"getStrokeDasharray",function(l,u,f){var d=f.reduce(function(T,C){return T+C});if(!d)return n.generateSimpleStrokeDasharray(u,l);for(var m=Math.floor(l/d),p=l%d,v=u-l,x=[],O=0,S=0;O<f.length;S+=f[O],++O)if(S+f[O]>p){x=[].concat(Ts(f.slice(0,O)),[p-S]);break}var w=x.length%2===0?[0,v]:[v];return[].concat(Ts(t.repeat(f,m)),Ts(x),w).map(function(T){return"".concat(T,"px")}).join(", ")}),xr(n,"id",yl("recharts-line-")),xr(n,"pathRef",function(l){n.mainCurve=l}),xr(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),xr(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return are(t,e),ere(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(r,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var s=this.props,l=s.points,u=s.xAxis,f=s.yAxis,d=s.layout,m=s.children,p=ur(m,Uu);if(!p)return null;var v=function(S,w){return{x:S.x,y:S.y,value:S.value,errorVal:pn(S.payload,w)}},x={clipPath:r?"url(#clipPath-".concat(i,")"):null};return I.createElement(st,x,p.map(function(O){return I.cloneElement(O,{key:"bar-".concat(O.props.dataKey),data:l,xAxis:u,yAxis:f,layout:d,dataPointFormatter:v})}))}},{key:"renderDots",value:function(r,i,s){var l=this.props.isAnimationActive;if(l&&!this.state.isAnimationFinished)return null;var u=this.props,f=u.dot,d=u.points,m=u.dataKey,p=Re(this.props,!1),v=Re(f,!0),x=d.map(function(S,w){var T=qn(qn(qn({key:"dot-".concat(w),r:3},p),v),{},{index:w,cx:S.x,cy:S.y,value:S.value,dataKey:m,payload:S.payload,points:d});return t.renderDotItem(f,T)}),O={clipPath:r?"url(#clipPath-".concat(i?"":"dots-").concat(s,")"):null};return I.createElement(st,qc({className:"recharts-line-dots",key:"dots"},O),x)}},{key:"renderCurveStatically",value:function(r,i,s,l){var u=this.props,f=u.type,d=u.layout,m=u.connectNulls;u.ref;var p=s5(u,Yne),v=qn(qn(qn({},Re(p,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:i?"url(#clipPath-".concat(s,")"):null,points:r},l),{},{type:f,layout:d,connectNulls:m});return I.createElement(ks,qc({},v,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(r,i){var s=this,l=this.props,u=l.points,f=l.strokeDasharray,d=l.isAnimationActive,m=l.animationBegin,p=l.animationDuration,v=l.animationEasing,x=l.animationId,O=l.animateNewValues,S=l.width,w=l.height,T=this.state,C=T.prevPoints,M=T.totalLength;return I.createElement(Kr,{begin:m,duration:p,isActive:d,easing:v,from:{t:0},to:{t:1},key:"line-".concat(x),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(N){var _=N.t;if(C){var E=C.length/u.length,j=u.map(function(L,F){var V=Math.floor(F*E);if(C[V]){var X=C[V],D=Zt(X.x,L.x),U=Zt(X.y,L.y);return qn(qn({},L),{},{x:D(_),y:U(_)})}if(O){var B=Zt(S*2,L.x),ee=Zt(w/2,L.y);return qn(qn({},L),{},{x:B(_),y:ee(_)})}return qn(qn({},L),{},{x:L.x,y:L.y})});return s.renderCurveStatically(j,r,i)}var P=Zt(0,M),k=P(_),G;if(f){var q="".concat(f).split(/[,\s]+/gim).map(function(L){return parseFloat(L)});G=s.getStrokeDasharray(k,M,q)}else G=s.generateSimpleStrokeDasharray(M,k);return s.renderCurveStatically(u,r,i,{strokeDasharray:G})})}},{key:"renderCurve",value:function(r,i){var s=this.props,l=s.points,u=s.isAnimationActive,f=this.state,d=f.prevPoints,m=f.totalLength;return u&&l&&l.length&&(!d&&m>0||!Ks(d,l))?this.renderCurveWithAnimation(r,i):this.renderCurveStatically(l,r,i)}},{key:"render",value:function(){var r,i=this.props,s=i.hide,l=i.dot,u=i.points,f=i.className,d=i.xAxis,m=i.yAxis,p=i.top,v=i.left,x=i.width,O=i.height,S=i.isAnimationActive,w=i.id;if(s||!u||!u.length)return null;var T=this.state.isAnimationFinished,C=u.length===1,M=qe("recharts-line",f),N=d&&d.allowDataOverflow,_=m&&m.allowDataOverflow,E=N||_,j=ke(w)?this.id:w,P=(r=Re(l,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},k=P.r,G=k===void 0?3:k,q=P.strokeWidth,L=q===void 0?2:q,F=L3(l)?l:{},V=F.clipDot,X=V===void 0?!0:V,D=G*2+L;return I.createElement(st,{className:M},N||_?I.createElement("defs",null,I.createElement("clipPath",{id:"clipPath-".concat(j)},I.createElement("rect",{x:N?v:v-x/2,y:_?p:p-O/2,width:N?x:x*2,height:_?O:O*2})),!X&&I.createElement("clipPath",{id:"clipPath-dots-".concat(j)},I.createElement("rect",{x:v-D/2,y:p-D/2,width:x+D,height:O+D}))):null,!C&&this.renderCurve(E,j),this.renderErrorBar(E,j),(C||l)&&this.renderDots(E,X,j),(!S||T)&&Aa.renderCallByParent(this.props,u))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,prevPoints:i.curPoints}:r.points!==i.curPoints?{curPoints:r.points}:null}},{key:"repeat",value:function(r,i){for(var s=r.length%2!==0?[].concat(Ts(r),[0]):r,l=[],u=0;u<i;++u)l=[].concat(Ts(l),Ts(s));return l}},{key:"renderDotItem",value:function(r,i){var s;if(I.isValidElement(r))s=I.cloneElement(r,i);else if(Ne(r))s=r(i);else{var l=i.key,u=s5(i,Kne),f=qe("recharts-line-dot",typeof r!="boolean"?r.className:"");s=I.createElement(_p,qc({key:l},u,{className:f}))}return s}}])})($.PureComponent);xr(dn,"displayName","Line");xr(dn,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!jo.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1});xr(dn,"getComposedData",function(e){var t=e.props,n=e.xAxis,r=e.yAxis,i=e.xAxisTicks,s=e.yAxisTicks,l=e.dataKey,u=e.bandSize,f=e.displayedData,d=e.offset,m=t.layout,p=f.map(function(v,x){var O=pn(v,l);return m==="horizontal"?{x:fh({axis:n,ticks:i,bandSize:u,entry:v,index:x}),y:ke(O)?null:r.scale(O),value:O,payload:v}:{x:ke(O)?null:n.scale(O),y:fh({axis:r,ticks:s,bandSize:u,entry:v,index:x}),value:O,payload:v}});return qn({points:p,layout:m},d)});var ore=["layout","type","stroke","connectNulls","isRange","ref"],sre=["key"],Ek;function al(e){"@babel/helpers - typeof";return al=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},al(e)}function jk(e,t){if(e==null)return{};var n=lre(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function lre(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 lo(){return lo=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},lo.apply(this,arguments)}function u5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ui(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?u5(Object(n),!0).forEach(function(r){Lr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f5(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,Mk(r.key),r)}}function ure(e,t,n){return t&&f5(e.prototype,t),n&&f5(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function fre(e,t,n){return t=Ph(t),dre(e,Ck()?Reflect.construct(t,n||[],Ph(e).constructor):t.apply(e,n))}function dre(e,t){if(t&&(al(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return hre(e)}function hre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ck(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ck=function(){return!!e})()}function Ph(e){return Ph=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ph(e)}function pre(e,t){if(typeof t!="function"&&t!==null)throw new 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&&V1(e,t)}function V1(e,t){return V1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},V1(e,t)}function Lr(e,t,n){return t=Mk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mk(e){var t=mre(e,"string");return al(t)=="symbol"?t:t+""}function mre(e,t){if(al(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(al(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var jn=(function(e){function t(){var n;cre(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=fre(this,t,[].concat(i)),Lr(n,"state",{isAnimationFinished:!0}),Lr(n,"id",yl("recharts-area-")),Lr(n,"handleAnimationEnd",function(){var l=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),Ne(l)&&l()}),Lr(n,"handleAnimationStart",function(){var l=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),Ne(l)&&l()}),n}return pre(t,e),ure(t,[{key:"renderDots",value:function(r,i,s){var l=this.props.isAnimationActive,u=this.state.isAnimationFinished;if(l&&!u)return null;var f=this.props,d=f.dot,m=f.points,p=f.dataKey,v=Re(this.props,!1),x=Re(d,!0),O=m.map(function(w,T){var C=ui(ui(ui({key:"dot-".concat(T),r:3},v),x),{},{index:T,cx:w.x,cy:w.y,dataKey:p,value:w.value,payload:w.payload,points:m});return t.renderDotItem(d,C)}),S={clipPath:r?"url(#clipPath-".concat(i?"":"dots-").concat(s,")"):null};return I.createElement(st,lo({className:"recharts-area-dots"},S),O)}},{key:"renderHorizontalRect",value:function(r){var i=this.props,s=i.baseLine,l=i.points,u=i.strokeWidth,f=l[0].x,d=l[l.length-1].x,m=r*Math.abs(f-d),p=mi(l.map(function(v){return v.y||0}));return de(s)&&typeof s=="number"?p=Math.max(s,p):s&&Array.isArray(s)&&s.length&&(p=Math.max(mi(s.map(function(v){return v.y||0})),p)),de(p)?I.createElement("rect",{x:f<d?f:f-m,y:0,width:m,height:Math.floor(p+(u?parseInt("".concat(u),10):1))}):null}},{key:"renderVerticalRect",value:function(r){var i=this.props,s=i.baseLine,l=i.points,u=i.strokeWidth,f=l[0].y,d=l[l.length-1].y,m=r*Math.abs(f-d),p=mi(l.map(function(v){return v.x||0}));return de(s)&&typeof s=="number"?p=Math.max(s,p):s&&Array.isArray(s)&&s.length&&(p=Math.max(mi(s.map(function(v){return v.x||0})),p)),de(p)?I.createElement("rect",{x:0,y:f<d?f:f-m,width:p+(u?parseInt("".concat(u),10):1),height:Math.floor(m)}):null}},{key:"renderClipRect",value:function(r){var i=this.props.layout;return i==="vertical"?this.renderVerticalRect(r):this.renderHorizontalRect(r)}},{key:"renderAreaStatically",value:function(r,i,s,l){var u=this.props,f=u.layout,d=u.type,m=u.stroke,p=u.connectNulls,v=u.isRange;u.ref;var x=jk(u,ore);return I.createElement(st,{clipPath:s?"url(#clipPath-".concat(l,")"):null},I.createElement(ks,lo({},Re(x,!0),{points:r,connectNulls:p,type:d,baseLine:i,layout:f,stroke:"none",className:"recharts-area-area"})),m!=="none"&&I.createElement(ks,lo({},Re(this.props,!1),{className:"recharts-area-curve",layout:f,type:d,connectNulls:p,fill:"none",points:r})),m!=="none"&&v&&I.createElement(ks,lo({},Re(this.props,!1),{className:"recharts-area-curve",layout:f,type:d,connectNulls:p,fill:"none",points:i})))}},{key:"renderAreaWithAnimation",value:function(r,i){var s=this,l=this.props,u=l.points,f=l.baseLine,d=l.isAnimationActive,m=l.animationBegin,p=l.animationDuration,v=l.animationEasing,x=l.animationId,O=this.state,S=O.prevPoints,w=O.prevBaseLine;return I.createElement(Kr,{begin:m,duration:p,isActive:d,easing:v,from:{t:0},to:{t:1},key:"area-".concat(x),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(T){var C=T.t;if(S){var M=S.length/u.length,N=u.map(function(P,k){var G=Math.floor(k*M);if(S[G]){var q=S[G],L=Zt(q.x,P.x),F=Zt(q.y,P.y);return ui(ui({},P),{},{x:L(C),y:F(C)})}return P}),_;if(de(f)&&typeof f=="number"){var E=Zt(w,f);_=E(C)}else if(ke(f)||ml(f)){var j=Zt(w,0);_=j(C)}else _=f.map(function(P,k){var G=Math.floor(k*M);if(w[G]){var q=w[G],L=Zt(q.x,P.x),F=Zt(q.y,P.y);return ui(ui({},P),{},{x:L(C),y:F(C)})}return P});return s.renderAreaStatically(N,_,r,i)}return I.createElement(st,null,I.createElement("defs",null,I.createElement("clipPath",{id:"animationClipPath-".concat(i)},s.renderClipRect(C))),I.createElement(st,{clipPath:"url(#animationClipPath-".concat(i,")")},s.renderAreaStatically(u,f,r,i)))})}},{key:"renderArea",value:function(r,i){var s=this.props,l=s.points,u=s.baseLine,f=s.isAnimationActive,d=this.state,m=d.prevPoints,p=d.prevBaseLine,v=d.totalLength;return f&&l&&l.length&&(!m&&v>0||!Ks(m,l)||!Ks(p,u))?this.renderAreaWithAnimation(r,i):this.renderAreaStatically(l,u,r,i)}},{key:"render",value:function(){var r,i=this.props,s=i.hide,l=i.dot,u=i.points,f=i.className,d=i.top,m=i.left,p=i.xAxis,v=i.yAxis,x=i.width,O=i.height,S=i.isAnimationActive,w=i.id;if(s||!u||!u.length)return null;var T=this.state.isAnimationFinished,C=u.length===1,M=qe("recharts-area",f),N=p&&p.allowDataOverflow,_=v&&v.allowDataOverflow,E=N||_,j=ke(w)?this.id:w,P=(r=Re(l,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},k=P.r,G=k===void 0?3:k,q=P.strokeWidth,L=q===void 0?2:q,F=L3(l)?l:{},V=F.clipDot,X=V===void 0?!0:V,D=G*2+L;return I.createElement(st,{className:M},N||_?I.createElement("defs",null,I.createElement("clipPath",{id:"clipPath-".concat(j)},I.createElement("rect",{x:N?m:m-x/2,y:_?d:d-O/2,width:N?x:x*2,height:_?O:O*2})),!X&&I.createElement("clipPath",{id:"clipPath-dots-".concat(j)},I.createElement("rect",{x:m-D/2,y:d-D/2,width:x+D,height:O+D}))):null,C?null:this.renderArea(E,j),(l||C)&&this.renderDots(E,X,j),(!S||T)&&Aa.renderCallByParent(this.props,u))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,curBaseLine:r.baseLine,prevPoints:i.curPoints,prevBaseLine:i.curBaseLine}:r.points!==i.curPoints||r.baseLine!==i.curBaseLine?{curPoints:r.points,curBaseLine:r.baseLine}:null}}])})($.PureComponent);Ek=jn;Lr(jn,"displayName","Area");Lr(jn,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!jo.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});Lr(jn,"getBaseValue",function(e,t,n,r){var i=e.layout,s=e.baseValue,l=t.props.baseValue,u=l??s;if(de(u)&&typeof u=="number")return u;var f=i==="horizontal"?r:n,d=f.scale.domain();if(f.type==="number"){var m=Math.max(d[0],d[1]),p=Math.min(d[0],d[1]);return u==="dataMin"?p:u==="dataMax"||m<0?m:Math.max(Math.min(d[0],d[1]),0)}return u==="dataMin"?d[0]:u==="dataMax"?d[1]:d[0]});Lr(jn,"getComposedData",function(e){var t=e.props,n=e.item,r=e.xAxis,i=e.yAxis,s=e.xAxisTicks,l=e.yAxisTicks,u=e.bandSize,f=e.dataKey,d=e.stackedData,m=e.dataStartIndex,p=e.displayedData,v=e.offset,x=t.layout,O=d&&d.length,S=Ek.getBaseValue(t,n,r,i),w=x==="horizontal",T=!1,C=p.map(function(N,_){var E;O?E=d[m+_]:(E=pn(N,f),Array.isArray(E)?T=!0:E=[S,E]);var j=E[1]==null||O&&pn(N,f)==null;return w?{x:fh({axis:r,ticks:s,bandSize:u,entry:N,index:_}),y:j?null:i.scale(E[1]),value:E,payload:N}:{x:j?null:r.scale(E[1]),y:fh({axis:i,ticks:l,bandSize:u,entry:N,index:_}),value:E,payload:N}}),M;return O||T?M=C.map(function(N){var _=Array.isArray(N.value)?N.value[0]:null;return w?{x:N.x,y:_!=null&&N.y!=null?i.scale(_):null}:{x:_!=null?r.scale(_):null,y:N.y}}):M=w?i.scale(S):r.scale(S),ui({points:C,baseLine:M,layout:x,isRange:T},v)});Lr(jn,"renderDotItem",function(e,t){var n;if(I.isValidElement(e))n=I.cloneElement(e,t);else if(Ne(e))n=e(t);else{var r=qe("recharts-area-dot",typeof e!="boolean"?e.className:""),i=t.key,s=jk(t,sre);n=I.createElement(_p,lo({},s,{key:i,className:r}))}return n});function il(e){"@babel/helpers - typeof";return il=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},il(e)}function yre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vre(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,Rk(r.key),r)}}function gre(e,t,n){return t&&vre(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function bre(e,t,n){return t=Rh(t),xre(e,Nk()?Reflect.construct(t,n||[],Rh(e).constructor):t.apply(e,n))}function xre(e,t){if(t&&(il(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Sre(e)}function Sre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Nk=function(){return!!e})()}function Rh(e){return Rh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Rh(e)}function wre(e,t){if(typeof t!="function"&&t!==null)throw new 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&&Q1(e,t)}function Q1(e,t){return Q1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Q1(e,t)}function Pk(e,t,n){return t=Rk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rk(e){var t=Ore(e,"string");return il(t)=="symbol"?t:t+""}function Ore(e,t){if(il(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(il(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function X1(){return X1=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},X1.apply(this,arguments)}function _re(e){var t=e.xAxisId,n=Aw(),r=Ew(),i=dk(t);return i==null?null:$.createElement(Sl,X1({},i,{className:qe("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(l){return wa(l,!0)}}))}var Yn=(function(e){function t(){return yre(this,t),bre(this,t,arguments)}return wre(t,e),gre(t,[{key:"render",value:function(){return $.createElement(_re,this.props)}}])})($.Component);Pk(Yn,"displayName","XAxis");Pk(Yn,"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 ol(e){"@babel/helpers - typeof";return ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ol(e)}function Tre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Are(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 Ere(e,t,n){return t&&Are(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function jre(e,t,n){return t=Dh(t),Cre(e,Dk()?Reflect.construct(t,n||[],Dh(e).constructor):t.apply(e,n))}function Cre(e,t){if(t&&(ol(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mre(e)}function Mre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Dk=function(){return!!e})()}function Dh(e){return Dh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Dh(e)}function Nre(e,t){if(typeof t!="function"&&t!==null)throw new 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&&W1(e,t)}function W1(e,t){return W1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},W1(e,t)}function kk(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=Pre(e,"string");return ol(t)=="symbol"?t:t+""}function Pre(e,t){if(ol(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ol(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Z1(){return Z1=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},Z1.apply(this,arguments)}var Rre=function(t){var n=t.yAxisId,r=Aw(),i=Ew(),s=hk(n);return s==null?null:$.createElement(Sl,Z1({},s,{className:qe("recharts-".concat(s.axisType," ").concat(s.axisType),s.className),viewBox:{x:0,y:0,width:r,height:i},ticksGenerator:function(u){return wa(u,!0)}}))},Kn=(function(e){function t(){return Tre(this,t),jre(this,t,arguments)}return Nre(t,e),Ere(t,[{key:"render",value:function(){return $.createElement(Rre,this.props)}}])})($.Component);kk(Kn,"displayName","YAxis");kk(Kn,"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 d5(e){return $re(e)||Ire(e)||kre(e)||Dre()}function Dre(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
238In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kre(e,t){if(e){if(typeof e=="string")return J1(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 J1(e,t)}}function Ire(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $re(e){if(Array.isArray(e))return J1(e)}function J1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var eS=function(t,n,r,i,s){var l=ur(t,jp),u=ur(t,Mp),f=[].concat(d5(l),d5(u)),d=ur(t,Pp),m="".concat(i,"Id"),p=i[0],v=n;if(f.length&&(v=f.reduce(function(S,w){if(w.props[m]===r&&Gr(w.props,"extendDomain")&&de(w.props[p])){var T=w.props[p];return[Math.min(S[0],T),Math.max(S[1],T)]}return S},v)),d.length){var x="".concat(p,"1"),O="".concat(p,"2");v=d.reduce(function(S,w){if(w.props[m]===r&&Gr(w.props,"extendDomain")&&de(w.props[x])&&de(w.props[O])){var T=w.props[x],C=w.props[O];return[Math.min(S[0],T,C),Math.max(S[1],T,C)]}return S},v)}return s&&s.length&&(v=s.reduce(function(S,w){return de(w)?[Math.min(S[0],w),Math.max(S[1],w)]:S},v)),v},ax={exports:{}},h5;function qre(){return h5||(h5=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(f,d,m){this.fn=f,this.context=d,this.once=m||!1}function s(f,d,m,p,v){if(typeof m!="function")throw new TypeError("The listener must be a function");var x=new i(m,p||f,v),O=n?n+d:d;return f._events[O]?f._events[O].fn?f._events[O]=[f._events[O],x]:f._events[O].push(x):(f._events[O]=x,f._eventsCount++),f}function l(f,d){--f._eventsCount===0?f._events=new r:delete f._events[d]}function u(){this._events=new r,this._eventsCount=0}u.prototype.eventNames=function(){var d=[],m,p;if(this._eventsCount===0)return d;for(p in m=this._events)t.call(m,p)&&d.push(n?p.slice(1):p);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(m)):d},u.prototype.listeners=function(d){var m=n?n+d:d,p=this._events[m];if(!p)return[];if(p.fn)return[p.fn];for(var v=0,x=p.length,O=new Array(x);v<x;v++)O[v]=p[v].fn;return O},u.prototype.listenerCount=function(d){var m=n?n+d:d,p=this._events[m];return p?p.fn?1:p.length:0},u.prototype.emit=function(d,m,p,v,x,O){var S=n?n+d:d;if(!this._events[S])return!1;var w=this._events[S],T=arguments.length,C,M;if(w.fn){switch(w.once&&this.removeListener(d,w.fn,void 0,!0),T){case 1:return w.fn.call(w.context),!0;case 2:return w.fn.call(w.context,m),!0;case 3:return w.fn.call(w.context,m,p),!0;case 4:return w.fn.call(w.context,m,p,v),!0;case 5:return w.fn.call(w.context,m,p,v,x),!0;case 6:return w.fn.call(w.context,m,p,v,x,O),!0}for(M=1,C=new Array(T-1);M<T;M++)C[M-1]=arguments[M];w.fn.apply(w.context,C)}else{var N=w.length,_;for(M=0;M<N;M++)switch(w[M].once&&this.removeListener(d,w[M].fn,void 0,!0),T){case 1:w[M].fn.call(w[M].context);break;case 2:w[M].fn.call(w[M].context,m);break;case 3:w[M].fn.call(w[M].context,m,p);break;case 4:w[M].fn.call(w[M].context,m,p,v);break;default:if(!C)for(_=1,C=new Array(T-1);_<T;_++)C[_-1]=arguments[_];w[M].fn.apply(w[M].context,C)}}return!0},u.prototype.on=function(d,m,p){return s(this,d,m,p,!1)},u.prototype.once=function(d,m,p){return s(this,d,m,p,!0)},u.prototype.removeListener=function(d,m,p,v){var x=n?n+d:d;if(!this._events[x])return this;if(!m)return l(this,x),this;var O=this._events[x];if(O.fn)O.fn===m&&(!v||O.once)&&(!p||O.context===p)&&l(this,x);else{for(var S=0,w=[],T=O.length;S<T;S++)(O[S].fn!==m||v&&!O[S].once||p&&O[S].context!==p)&&w.push(O[S]);w.length?this._events[x]=w.length===1?w[0]:w:l(this,x)}return this},u.prototype.removeAllListeners=function(d){var m;return d?(m=n?n+d:d,this._events[m]&&l(this,m)):(this._events=new r,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=n,u.EventEmitter=u,e.exports=u})(ax)),ax.exports}var zre=qre();const Lre=nt(zre);var ix=new Lre,ox="recharts.syncMouseEvents";function ju(e){"@babel/helpers - typeof";return ju=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ju(e)}function Bre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ure(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 Hre(e,t,n){return t&&Ure(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function sx(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=Gre(e,"string");return ju(t)=="symbol"?t:t+""}function Gre(e,t){if(ju(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ju(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Fre=(function(){function e(){Bre(this,e),sx(this,"activeIndex",0),sx(this,"coordinateList",[]),sx(this,"layout","horizontal")}return Hre(e,[{key:"setDetails",value:function(n){var r,i=n.coordinateList,s=i===void 0?null:i,l=n.container,u=l===void 0?null:l,f=n.layout,d=f===void 0?null:f,m=n.offset,p=m===void 0?null:m,v=n.mouseHandlerCallback,x=v===void 0?null:v;this.coordinateList=(r=s??this.coordinateList)!==null&&r!==void 0?r:[],this.container=u??this.container,this.layout=d??this.layout,this.offset=p??this.offset,this.mouseHandlerCallback=x??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(n){if(this.coordinateList.length!==0)switch(n.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}}}},{key:"setIndex",value:function(n){this.activeIndex=n}},{key:"spoofMouse",value:function(){var n,r;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var i=this.container.getBoundingClientRect(),s=i.x,l=i.y,u=i.height,f=this.coordinateList[this.activeIndex].coordinate,d=((n=window)===null||n===void 0?void 0:n.scrollX)||0,m=((r=window)===null||r===void 0?void 0:r.scrollY)||0,p=s+f+d,v=l+this.offset.top+u/2+m;this.mouseHandlerCallback({pageX:p,pageY:v})}}}])})();function Yre(e,t,n){if(n==="number"&&t===!0&&Array.isArray(e)){var r=e?.[0],i=e?.[1];if(r&&i&&de(r)&&de(i))return!0}return!1}function Kre(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 qk(e){var t=e.cx,n=e.cy,r=e.radius,i=e.startAngle,s=e.endAngle,l=Jt(t,n,r,i),u=Jt(t,n,r,s);return{points:[l,u],cx:t,cy:n,radius:r,startAngle:i,endAngle:s}}function Vre(e,t,n){var r,i,s,l;if(e==="horizontal")r=t.x,s=r,i=n.top,l=n.top+n.height;else if(e==="vertical")i=t.y,l=i,r=n.left,s=n.left+n.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var u=t.cx,f=t.cy,d=t.innerRadius,m=t.outerRadius,p=t.angle,v=Jt(u,f,d,p),x=Jt(u,f,m,p);r=v.x,i=v.y,s=x.x,l=x.y}else return qk(t);return[{x:r,y:i},{x:s,y:l}]}function Cu(e){"@babel/helpers - typeof";return Cu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cu(e)}function p5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Td(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?p5(Object(n),!0).forEach(function(r){Qre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qre(e,t,n){return t=Xre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xre(e){var t=Wre(e,"string");return Cu(t)=="symbol"?t:t+""}function Wre(e,t){if(Cu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Cu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zre(e){var t,n,r=e.element,i=e.tooltipEventType,s=e.isActive,l=e.activeCoordinate,u=e.activePayload,f=e.offset,d=e.activeTooltipIndex,m=e.tooltipAxisBandSize,p=e.layout,v=e.chartName,x=(t=r.props.cursor)!==null&&t!==void 0?t:(n=r.type.defaultProps)===null||n===void 0?void 0:n.cursor;if(!r||!x||!s||!l||v!=="ScatterChart"&&i!=="axis")return null;var O,S=ks;if(v==="ScatterChart")O=l,S=LJ;else if(v==="BarChart")O=Kre(p,l,f,m),S=Sw;else if(p==="radial"){var w=qk(l),T=w.cx,C=w.cy,M=w.radius,N=w.startAngle,_=w.endAngle;O={cx:T,cy:C,startAngle:N,endAngle:_,innerRadius:M,outerRadius:M},S=UD}else O={points:Vre(p,l,f)},S=ks;var E=Td(Td(Td(Td({stroke:"#ccc",pointerEvents:"none"},f),O),Re(x,!1)),{},{payload:u,payloadIndex:d,className:qe("recharts-tooltip-cursor",x.className)});return $.isValidElement(x)?$.cloneElement(x,E):$.createElement(S,E)}var Jre=["item"],eae=["children","className","width","height","style","compact","title","desc"];function sl(e){"@babel/helpers - typeof";return sl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sl(e)}function Cs(){return Cs=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},Cs.apply(this,arguments)}function m5(e,t){return rae(e)||nae(e,t)||Lk(e,t)||tae()}function tae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
239In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,l,u=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){d=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw i}}return u}}function rae(e){if(Array.isArray(e))return e}function y5(e,t){if(e==null)return{};var n=aae(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function aae(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 iae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oae(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,Bk(r.key),r)}}function sae(e,t,n){return t&&oae(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function lae(e,t,n){return t=kh(t),cae(e,zk()?Reflect.construct(t,n||[],kh(e).constructor):t.apply(e,n))}function cae(e,t){if(t&&(sl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return uae(e)}function uae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(zk=function(){return!!e})()}function kh(e){return kh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},kh(e)}function fae(e,t){if(typeof t!="function"&&t!==null)throw new 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&&tS(e,t)}function tS(e,t){return tS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},tS(e,t)}function ll(e){return pae(e)||hae(e)||Lk(e)||dae()}function dae(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
240In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lk(e,t){if(e){if(typeof e=="string")return nS(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 nS(e,t)}}function hae(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pae(e){if(Array.isArray(e))return nS(e)}function nS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?v5(Object(n),!0).forEach(function(r){Ae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ae(e,t,n){return t=Bk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bk(e){var t=mae(e,"string");return sl(t)=="symbol"?t:t+""}function mae(e,t){if(sl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(sl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var yae={xAxis:["bottom","top"],yAxis:["left","right"]},vae={width:"100%",height:"100%"},Uk={x:0,y:0};function Ad(e){return e}var gae=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},bae=function(t,n,r,i){var s=n.find(function(m){return m&&m.index===r});if(s){if(t==="horizontal")return{x:s.coordinate,y:i.y};if(t==="vertical")return{x:i.x,y:s.coordinate};if(t==="centric"){var l=s.coordinate,u=i.radius;return ie(ie(ie({},i),Jt(i.cx,i.cy,u,l)),{},{angle:l,radius:u})}var f=s.coordinate,d=i.angle;return ie(ie(ie({},i),Jt(i.cx,i.cy,f,d)),{},{angle:d,radius:f})}return Uk},Rp=function(t,n){var r=n.graphicalItems,i=n.dataStartIndex,s=n.dataEndIndex,l=(r??[]).reduce(function(u,f){var d=f.props.data;return d&&d.length?[].concat(ll(u),ll(d)):u},[]);return l.length>0?l:t&&t.length&&de(i)&&de(s)?t.slice(i,s+1):[]};function Hk(e){return e==="number"?[0,"auto"]:void 0}var rS=function(t,n,r,i){var s=t.graphicalItems,l=t.tooltipAxis,u=Rp(n,t);return r<0||!s||!s.length||r>=u.length?null:s.reduce(function(f,d){var m,p=(m=d.props.data)!==null&&m!==void 0?m:n;p&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(p=p.slice(t.dataStartIndex,t.dataEndIndex+1));var v;if(l.dataKey&&!l.allowDuplicatedCategory){var x=p===void 0?u:p;v=qd(x,l.dataKey,i)}else v=p&&p[r]||u[r];return v?[].concat(ll(f),[zD(d,v)]):f},[])},g5=function(t,n,r,i){var s=i||{x:t.chartX,y:t.chartY},l=gae(s,r),u=t.orderedTooltipTicks,f=t.tooltipAxis,d=t.tooltipTicks,m=wX(l,u,d,f);if(m>=0&&d){var p=d[m]&&d[m].value,v=rS(t,n,m,p),x=bae(r,u,m,s);return{activeTooltipIndex:m,activeLabel:p,activePayload:v,activeCoordinate:x}}return null},xae=function(t,n){var r=n.axes,i=n.graphicalItems,s=n.axisType,l=n.axisIdKey,u=n.stackGroups,f=n.dataStartIndex,d=n.dataEndIndex,m=t.layout,p=t.children,v=t.stackOffset,x=ID(m,s);return r.reduce(function(O,S){var w,T=S.type.defaultProps!==void 0?ie(ie({},S.type.defaultProps),S.props):S.props,C=T.type,M=T.dataKey,N=T.allowDataOverflow,_=T.allowDuplicatedCategory,E=T.scale,j=T.ticks,P=T.includeHidden,k=T[l];if(O[k])return O;var G=Rp(t.data,{graphicalItems:i.filter(function(Y){var Q,te=l in Y.props?Y.props[l]:(Q=Y.type.defaultProps)===null||Q===void 0?void 0:Q[l];return te===k}),dataStartIndex:f,dataEndIndex:d}),q=G.length,L,F,V;Yre(T.domain,N,C)&&(L=x1(T.domain,null,N),x&&(C==="number"||E!=="auto")&&(V=Ic(G,M,"category")));var X=Hk(C);if(!L||L.length===0){var D,U=(D=T.domain)!==null&&D!==void 0?D:X;if(M){if(L=Ic(G,M,C),C==="category"&&x){var B=pU(L);_&&B?(F=L,L=Sh(0,q)):_||(L=EN(U,L,S).reduce(function(Y,Q){return Y.indexOf(Q)>=0?Y:[].concat(ll(Y),[Q])},[]))}else if(C==="category")_?L=L.filter(function(Y){return Y!==""&&!ke(Y)}):L=EN(U,L,S).reduce(function(Y,Q){return Y.indexOf(Q)>=0||Q===""||ke(Q)?Y:[].concat(ll(Y),[Q])},[]);else if(C==="number"){var ee=EX(G,i.filter(function(Y){var Q,te,ue=l in Y.props?Y.props[l]:(Q=Y.type.defaultProps)===null||Q===void 0?void 0:Q[l],he="hide"in Y.props?Y.props.hide:(te=Y.type.defaultProps)===null||te===void 0?void 0:te.hide;return ue===k&&(P||!he)}),M,s,m);ee&&(L=ee)}x&&(C==="number"||E!=="auto")&&(V=Ic(G,M,"category"))}else x?L=Sh(0,q):u&&u[k]&&u[k].hasStack&&C==="number"?L=v==="expand"?[0,1]:qD(u[k].stackGroups,f,d):L=kD(G,i.filter(function(Y){var Q=l in Y.props?Y.props[l]:Y.type.defaultProps[l],te="hide"in Y.props?Y.props.hide:Y.type.defaultProps.hide;return Q===k&&(P||!te)}),C,m,!0);if(C==="number")L=eS(p,L,k,s,j),U&&(L=x1(U,L,N));else if(C==="category"&&U){var se=U,z=L.every(function(Y){return se.indexOf(Y)>=0});z&&(L=se)}}return ie(ie({},O),{},Ae({},k,ie(ie({},T),{},{axisType:s,domain:L,categoricalDomain:V,duplicateDomain:F,originalDomain:(w=T.domain)!==null&&w!==void 0?w:X,isCategorical:x,layout:m})))},{})},Sae=function(t,n){var r=n.graphicalItems,i=n.Axis,s=n.axisType,l=n.axisIdKey,u=n.stackGroups,f=n.dataStartIndex,d=n.dataEndIndex,m=t.layout,p=t.children,v=Rp(t.data,{graphicalItems:r,dataStartIndex:f,dataEndIndex:d}),x=v.length,O=ID(m,s),S=-1;return r.reduce(function(w,T){var C=T.type.defaultProps!==void 0?ie(ie({},T.type.defaultProps),T.props):T.props,M=C[l],N=Hk("number");if(!w[M]){S++;var _;return O?_=Sh(0,x):u&&u[M]&&u[M].hasStack?(_=qD(u[M].stackGroups,f,d),_=eS(p,_,M,s)):(_=x1(N,kD(v,r.filter(function(E){var j,P,k=l in E.props?E.props[l]:(j=E.type.defaultProps)===null||j===void 0?void 0:j[l],G="hide"in E.props?E.props.hide:(P=E.type.defaultProps)===null||P===void 0?void 0:P.hide;return k===M&&!G}),"number",m),i.defaultProps.allowDataOverflow),_=eS(p,_,M,s)),ie(ie({},w),{},Ae({},M,ie(ie({axisType:s},i.defaultProps),{},{hide:!0,orientation:cr(yae,"".concat(s,".").concat(S%2),null),domain:_,originalDomain:N,isCategorical:O,layout:m})))}return w},{})},wae=function(t,n){var r=n.axisType,i=r===void 0?"xAxis":r,s=n.AxisComp,l=n.graphicalItems,u=n.stackGroups,f=n.dataStartIndex,d=n.dataEndIndex,m=t.children,p="".concat(i,"Id"),v=ur(m,s),x={};return v&&v.length?x=xae(t,{axes:v,graphicalItems:l,axisType:i,axisIdKey:p,stackGroups:u,dataStartIndex:f,dataEndIndex:d}):l&&l.length&&(x=Sae(t,{Axis:s,graphicalItems:l,axisType:i,axisIdKey:p,stackGroups:u,dataStartIndex:f,dataEndIndex:d})),x},Oae=function(t){var n=hi(t),r=wa(n,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:VS(r,function(i){return i.coordinate}),tooltipAxis:n,tooltipAxisBandSize:dh(n,r)}},b5=function(t){var n=t.children,r=t.defaultShowTooltip,i=Ln(n,Ws),s=0,l=0;return t.data&&t.data.length!==0&&(l=t.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(s=i.props.startIndex),i.props.endIndex>=0&&(l=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:s,dataEndIndex:l,activeTooltipIndex:-1,isTooltipActive:!!r}},_ae=function(t){return!t||!t.length?!1:t.some(function(n){var r=Oa(n&&n.type);return r&&r.indexOf("Bar")>=0})},x5=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Tae=function(t,n){var r=t.props,i=t.graphicalItems,s=t.xAxisMap,l=s===void 0?{}:s,u=t.yAxisMap,f=u===void 0?{}:u,d=r.width,m=r.height,p=r.children,v=r.margin||{},x=Ln(p,Ws),O=Ln(p,Ps),S=Object.keys(f).reduce(function(_,E){var j=f[E],P=j.orientation;return!j.mirror&&!j.hide?ie(ie({},_),{},Ae({},P,_[P]+j.width)):_},{left:v.left||0,right:v.right||0}),w=Object.keys(l).reduce(function(_,E){var j=l[E],P=j.orientation;return!j.mirror&&!j.hide?ie(ie({},_),{},Ae({},P,cr(_,"".concat(P))+j.height)):_},{top:v.top||0,bottom:v.bottom||0}),T=ie(ie({},w),S),C=T.bottom;x&&(T.bottom+=x.props.height||Ws.defaultProps.height),O&&n&&(T=TX(T,i,r,n));var M=d-T.left-T.right,N=m-T.top-T.bottom;return ie(ie({brushBottom:C},T),{},{width:Math.max(M,0),height:Math.max(N,0)})},Aae=function(t,n){if(n==="xAxis")return t[n].width;if(n==="yAxis")return t[n].height},Nw=function(t){var n=t.chartName,r=t.GraphicalChild,i=t.defaultTooltipEventType,s=i===void 0?"axis":i,l=t.validateTooltipEventTypes,u=l===void 0?["axis"]:l,f=t.axisComponents,d=t.legendContent,m=t.formatAxisMap,p=t.defaultProps,v=function(T,C){var M=C.graphicalItems,N=C.stackGroups,_=C.offset,E=C.updateId,j=C.dataStartIndex,P=C.dataEndIndex,k=T.barSize,G=T.layout,q=T.barGap,L=T.barCategoryGap,F=T.maxBarSize,V=x5(G),X=V.numericAxisName,D=V.cateAxisName,U=_ae(M),B=[];return M.forEach(function(ee,se){var z=Rp(T.data,{graphicalItems:[ee],dataStartIndex:j,dataEndIndex:P}),Y=ee.type.defaultProps!==void 0?ie(ie({},ee.type.defaultProps),ee.props):ee.props,Q=Y.dataKey,te=Y.maxBarSize,ue=Y["".concat(X,"Id")],he=Y["".concat(D,"Id")],pe={},xe=f.reduce(function(Mn,mt){var Vn=C["".concat(mt.axisType,"Map")],zt=Y["".concat(mt.axisType,"Id")];Vn&&Vn[zt]||mt.axisType==="zAxis"||xo();var Po=Vn[zt];return ie(ie({},Mn),{},Ae(Ae({},mt.axisType,Po),"".concat(mt.axisType,"Ticks"),wa(Po)))},pe),fe=xe[D],we=xe["".concat(D,"Ticks")],Oe=N&&N[ue]&&N[ue].hasStack&&zX(ee,N[ue].stackGroups),ce=Oa(ee.type).indexOf("Bar")>=0,Ue=dh(fe,we),je=[],lt=U&&OX({barSize:k,stackGroups:N,totalSize:Aae(xe,D)});if(ce){var it,vt,mn=ke(te)?F:te,Tt=(it=(vt=dh(fe,we,!0))!==null&&vt!==void 0?vt:mn)!==null&&it!==void 0?it:0;je=_X({barGap:q,barCategoryGap:L,bandSize:Tt!==Ue?Tt:Ue,sizeList:lt[he],maxBarSize:mn}),Tt!==Ue&&(je=je.map(function(Mn){return ie(ie({},Mn),{},{position:ie(ie({},Mn.position),{},{offset:Mn.position.offset-Tt/2})})}))}var jr=ee&&ee.type&&ee.type.getComposedData;jr&&B.push({props:ie(ie({},jr(ie(ie({},xe),{},{displayedData:z,props:T,dataKey:Q,item:ee,bandSize:Ue,barPosition:je,offset:_,stackedData:Oe,layout:G,dataStartIndex:j,dataEndIndex:P}))),{},Ae(Ae(Ae({key:ee.key||"item-".concat(se)},X,xe[X]),D,xe[D]),"animationId",E)),childIndex:AU(ee,T.children),item:ee})}),B},x=function(T,C){var M=T.props,N=T.dataStartIndex,_=T.dataEndIndex,E=T.updateId;if(!UE({props:M}))return null;var j=M.children,P=M.layout,k=M.stackOffset,G=M.data,q=M.reverseStackOrder,L=x5(P),F=L.numericAxisName,V=L.cateAxisName,X=ur(j,r),D=IX(G,X,"".concat(F,"Id"),"".concat(V,"Id"),k,q),U=f.reduce(function(Y,Q){var te="".concat(Q.axisType,"Map");return ie(ie({},Y),{},Ae({},te,wae(M,ie(ie({},Q),{},{graphicalItems:X,stackGroups:Q.axisType===F&&D,dataStartIndex:N,dataEndIndex:_}))))},{}),B=Tae(ie(ie({},U),{},{props:M,graphicalItems:X}),C?.legendBBox);Object.keys(U).forEach(function(Y){U[Y]=m(M,U[Y],B,Y.replace("Map",""),n)});var ee=U["".concat(V,"Map")],se=Oae(ee),z=v(M,ie(ie({},U),{},{dataStartIndex:N,dataEndIndex:_,updateId:E,graphicalItems:X,stackGroups:D,offset:B}));return ie(ie({formattedGraphicalItems:z,graphicalItems:X,offset:B,stackGroups:D},se),U)},O=(function(w){function T(C){var M,N,_;return iae(this,T),_=lae(this,T,[C]),Ae(_,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Ae(_,"accessibilityManager",new Fre),Ae(_,"handleLegendBBoxUpdate",function(E){if(E){var j=_.state,P=j.dataStartIndex,k=j.dataEndIndex,G=j.updateId;_.setState(ie({legendBBox:E},x({props:_.props,dataStartIndex:P,dataEndIndex:k,updateId:G},ie(ie({},_.state),{},{legendBBox:E}))))}}),Ae(_,"handleReceiveSyncEvent",function(E,j,P){if(_.props.syncId===E){if(P===_.eventEmitterSymbol&&typeof _.props.syncMethod!="function")return;_.applySyncEvent(j)}}),Ae(_,"handleBrushChange",function(E){var j=E.startIndex,P=E.endIndex;if(j!==_.state.dataStartIndex||P!==_.state.dataEndIndex){var k=_.state.updateId;_.setState(function(){return ie({dataStartIndex:j,dataEndIndex:P},x({props:_.props,dataStartIndex:j,dataEndIndex:P,updateId:k},_.state))}),_.triggerSyncEvent({dataStartIndex:j,dataEndIndex:P})}}),Ae(_,"handleMouseEnter",function(E){var j=_.getMouseInfo(E);if(j){var P=ie(ie({},j),{},{isTooltipActive:!0});_.setState(P),_.triggerSyncEvent(P);var k=_.props.onMouseEnter;Ne(k)&&k(P,E)}}),Ae(_,"triggeredAfterMouseMove",function(E){var j=_.getMouseInfo(E),P=j?ie(ie({},j),{},{isTooltipActive:!0}):{isTooltipActive:!1};_.setState(P),_.triggerSyncEvent(P);var k=_.props.onMouseMove;Ne(k)&&k(P,E)}),Ae(_,"handleItemMouseEnter",function(E){_.setState(function(){return{isTooltipActive:!0,activeItem:E,activePayload:E.tooltipPayload,activeCoordinate:E.tooltipPosition||{x:E.cx,y:E.cy}}})}),Ae(_,"handleItemMouseLeave",function(){_.setState(function(){return{isTooltipActive:!1}})}),Ae(_,"handleMouseMove",function(E){E.persist(),_.throttleTriggeredAfterMouseMove(E)}),Ae(_,"handleMouseLeave",function(E){_.throttleTriggeredAfterMouseMove.cancel();var j={isTooltipActive:!1};_.setState(j),_.triggerSyncEvent(j);var P=_.props.onMouseLeave;Ne(P)&&P(j,E)}),Ae(_,"handleOuterEvent",function(E){var j=TU(E),P=cr(_.props,"".concat(j));if(j&&Ne(P)){var k,G;/.*touch.*/i.test(j)?G=_.getMouseInfo(E.changedTouches[0]):G=_.getMouseInfo(E),P((k=G)!==null&&k!==void 0?k:{},E)}}),Ae(_,"handleClick",function(E){var j=_.getMouseInfo(E);if(j){var P=ie(ie({},j),{},{isTooltipActive:!0});_.setState(P),_.triggerSyncEvent(P);var k=_.props.onClick;Ne(k)&&k(P,E)}}),Ae(_,"handleMouseDown",function(E){var j=_.props.onMouseDown;if(Ne(j)){var P=_.getMouseInfo(E);j(P,E)}}),Ae(_,"handleMouseUp",function(E){var j=_.props.onMouseUp;if(Ne(j)){var P=_.getMouseInfo(E);j(P,E)}}),Ae(_,"handleTouchMove",function(E){E.changedTouches!=null&&E.changedTouches.length>0&&_.throttleTriggeredAfterMouseMove(E.changedTouches[0])}),Ae(_,"handleTouchStart",function(E){E.changedTouches!=null&&E.changedTouches.length>0&&_.handleMouseDown(E.changedTouches[0])}),Ae(_,"handleTouchEnd",function(E){E.changedTouches!=null&&E.changedTouches.length>0&&_.handleMouseUp(E.changedTouches[0])}),Ae(_,"handleDoubleClick",function(E){var j=_.props.onDoubleClick;if(Ne(j)){var P=_.getMouseInfo(E);j(P,E)}}),Ae(_,"handleContextMenu",function(E){var j=_.props.onContextMenu;if(Ne(j)){var P=_.getMouseInfo(E);j(P,E)}}),Ae(_,"triggerSyncEvent",function(E){_.props.syncId!==void 0&&ix.emit(ox,_.props.syncId,E,_.eventEmitterSymbol)}),Ae(_,"applySyncEvent",function(E){var j=_.props,P=j.layout,k=j.syncMethod,G=_.state.updateId,q=E.dataStartIndex,L=E.dataEndIndex;if(E.dataStartIndex!==void 0||E.dataEndIndex!==void 0)_.setState(ie({dataStartIndex:q,dataEndIndex:L},x({props:_.props,dataStartIndex:q,dataEndIndex:L,updateId:G},_.state)));else if(E.activeTooltipIndex!==void 0){var F=E.chartX,V=E.chartY,X=E.activeTooltipIndex,D=_.state,U=D.offset,B=D.tooltipTicks;if(!U)return;if(typeof k=="function")X=k(B,E);else if(k==="value"){X=-1;for(var ee=0;ee<B.length;ee++)if(B[ee].value===E.activeLabel){X=ee;break}}var se=ie(ie({},U),{},{x:U.left,y:U.top}),z=Math.min(F,se.x+se.width),Y=Math.min(V,se.y+se.height),Q=B[X]&&B[X].value,te=rS(_.state,_.props.data,X),ue=B[X]?{x:P==="horizontal"?B[X].coordinate:z,y:P==="horizontal"?Y:B[X].coordinate}:Uk;_.setState(ie(ie({},E),{},{activeLabel:Q,activeCoordinate:ue,activePayload:te,activeTooltipIndex:X}))}else _.setState(E)}),Ae(_,"renderCursor",function(E){var j,P=_.state,k=P.isTooltipActive,G=P.activeCoordinate,q=P.activePayload,L=P.offset,F=P.activeTooltipIndex,V=P.tooltipAxisBandSize,X=_.getTooltipEventType(),D=(j=E.props.active)!==null&&j!==void 0?j:k,U=_.props.layout,B=E.key||"_recharts-cursor";return I.createElement(Zre,{key:B,activeCoordinate:G,activePayload:q,activeTooltipIndex:F,chartName:n,element:E,isActive:D,layout:U,offset:L,tooltipAxisBandSize:V,tooltipEventType:X})}),Ae(_,"renderPolarAxis",function(E,j,P){var k=cr(E,"type.axisType"),G=cr(_.state,"".concat(k,"Map")),q=E.type.defaultProps,L=q!==void 0?ie(ie({},q),E.props):E.props,F=G&&G[L["".concat(k,"Id")]];return $.cloneElement(E,ie(ie({},F),{},{className:qe(k,F.className),key:E.key||"".concat(j,"-").concat(P),ticks:wa(F,!0)}))}),Ae(_,"renderPolarGrid",function(E){var j=E.props,P=j.radialLines,k=j.polarAngles,G=j.polarRadius,q=_.state,L=q.radiusAxisMap,F=q.angleAxisMap,V=hi(L),X=hi(F),D=X.cx,U=X.cy,B=X.innerRadius,ee=X.outerRadius;return $.cloneElement(E,{polarAngles:Array.isArray(k)?k:wa(X,!0).map(function(se){return se.coordinate}),polarRadius:Array.isArray(G)?G:wa(V,!0).map(function(se){return se.coordinate}),cx:D,cy:U,innerRadius:B,outerRadius:ee,key:E.key||"polar-grid",radialLines:P})}),Ae(_,"renderLegend",function(){var E=_.state.formattedGraphicalItems,j=_.props,P=j.children,k=j.width,G=j.height,q=_.props.margin||{},L=k-(q.left||0)-(q.right||0),F=RD({children:P,formattedGraphicalItems:E,legendWidth:L,legendContent:d});if(!F)return null;var V=F.item,X=y5(F,Jre);return $.cloneElement(V,ie(ie({},X),{},{chartWidth:k,chartHeight:G,margin:q,onBBoxUpdate:_.handleLegendBBoxUpdate}))}),Ae(_,"renderTooltip",function(){var E,j=_.props,P=j.children,k=j.accessibilityLayer,G=Ln(P,Wt);if(!G)return null;var q=_.state,L=q.isTooltipActive,F=q.activeCoordinate,V=q.activePayload,X=q.activeLabel,D=q.offset,U=(E=G.props.active)!==null&&E!==void 0?E:L;return $.cloneElement(G,{viewBox:ie(ie({},D),{},{x:D.left,y:D.top}),active:U,label:X,payload:U?V:[],coordinate:F,accessibilityLayer:k})}),Ae(_,"renderBrush",function(E){var j=_.props,P=j.margin,k=j.data,G=_.state,q=G.offset,L=G.dataStartIndex,F=G.dataEndIndex,V=G.updateId;return $.cloneElement(E,{key:E.key||"_recharts-brush",onChange:Sd(_.handleBrushChange,E.props.onChange),data:k,x:de(E.props.x)?E.props.x:q.left,y:de(E.props.y)?E.props.y:q.top+q.height+q.brushBottom-(P.bottom||0),width:de(E.props.width)?E.props.width:q.width,startIndex:L,endIndex:F,updateId:"brush-".concat(V)})}),Ae(_,"renderReferenceElement",function(E,j,P){if(!E)return null;var k=_,G=k.clipPathId,q=_.state,L=q.xAxisMap,F=q.yAxisMap,V=q.offset,X=E.type.defaultProps||{},D=E.props,U=D.xAxisId,B=U===void 0?X.xAxisId:U,ee=D.yAxisId,se=ee===void 0?X.yAxisId:ee;return $.cloneElement(E,{key:E.key||"".concat(j,"-").concat(P),xAxis:L[B],yAxis:F[se],viewBox:{x:V.left,y:V.top,width:V.width,height:V.height},clipPathId:G})}),Ae(_,"renderActivePoints",function(E){var j=E.item,P=E.activePoint,k=E.basePoint,G=E.childIndex,q=E.isRange,L=[],F=j.props.key,V=j.item.type.defaultProps!==void 0?ie(ie({},j.item.type.defaultProps),j.item.props):j.item.props,X=V.activeDot,D=V.dataKey,U=ie(ie({index:G,dataKey:D,cx:P.x,cy:P.y,r:4,fill:xw(j.item),strokeWidth:2,stroke:"#fff",payload:P.payload,value:P.value},Re(X,!1)),zd(X));return L.push(T.renderActiveDot(X,U,"".concat(F,"-activePoint-").concat(G))),k?L.push(T.renderActiveDot(X,ie(ie({},U),{},{cx:k.x,cy:k.y}),"".concat(F,"-basePoint-").concat(G))):q&&L.push(null),L}),Ae(_,"renderGraphicChild",function(E,j,P){var k=_.filterFormatItem(E,j,P);if(!k)return null;var G=_.getTooltipEventType(),q=_.state,L=q.isTooltipActive,F=q.tooltipAxis,V=q.activeTooltipIndex,X=q.activeLabel,D=_.props.children,U=Ln(D,Wt),B=k.props,ee=B.points,se=B.isRange,z=B.baseLine,Y=k.item.type.defaultProps!==void 0?ie(ie({},k.item.type.defaultProps),k.item.props):k.item.props,Q=Y.activeDot,te=Y.hide,ue=Y.activeBar,he=Y.activeShape,pe=!!(!te&&L&&U&&(Q||ue||he)),xe={};G!=="axis"&&U&&U.props.trigger==="click"?xe={onClick:Sd(_.handleItemMouseEnter,E.props.onClick)}:G!=="axis"&&(xe={onMouseLeave:Sd(_.handleItemMouseLeave,E.props.onMouseLeave),onMouseEnter:Sd(_.handleItemMouseEnter,E.props.onMouseEnter)});var fe=$.cloneElement(E,ie(ie({},k.props),xe));function we(mt){return typeof F.dataKey=="function"?F.dataKey(mt.payload):null}if(pe)if(V>=0){var Oe,ce;if(F.dataKey&&!F.allowDuplicatedCategory){var Ue=typeof F.dataKey=="function"?we:"payload.".concat(F.dataKey.toString());Oe=qd(ee,Ue,X),ce=se&&z&&qd(z,Ue,X)}else Oe=ee?.[V],ce=se&&z&&z[V];if(he||ue){var je=E.props.activeIndex!==void 0?E.props.activeIndex:V;return[$.cloneElement(E,ie(ie(ie({},k.props),xe),{},{activeIndex:je})),null,null]}if(!ke(Oe))return[fe].concat(ll(_.renderActivePoints({item:k,activePoint:Oe,basePoint:ce,childIndex:V,isRange:se})))}else{var lt,it=(lt=_.getItemByXY(_.state.activeCoordinate))!==null&&lt!==void 0?lt:{graphicalItem:fe},vt=it.graphicalItem,mn=vt.item,Tt=mn===void 0?E:mn,jr=vt.childIndex,Mn=ie(ie(ie({},k.props),xe),{},{activeIndex:jr});return[$.cloneElement(Tt,Mn),null,null]}return se?[fe,null,null]:[fe,null]}),Ae(_,"renderCustomized",function(E,j,P){return $.cloneElement(E,ie(ie({key:"recharts-customized-".concat(P)},_.props),_.state))}),Ae(_,"renderMap",{CartesianGrid:{handler:Ad,once:!0},ReferenceArea:{handler:_.renderReferenceElement},ReferenceLine:{handler:Ad},ReferenceDot:{handler:_.renderReferenceElement},XAxis:{handler:Ad},YAxis:{handler:Ad},Brush:{handler:_.renderBrush,once:!0},Bar:{handler:_.renderGraphicChild},Line:{handler:_.renderGraphicChild},Area:{handler:_.renderGraphicChild},Radar:{handler:_.renderGraphicChild},RadialBar:{handler:_.renderGraphicChild},Scatter:{handler:_.renderGraphicChild},Pie:{handler:_.renderGraphicChild},Funnel:{handler:_.renderGraphicChild},Tooltip:{handler:_.renderCursor,once:!0},PolarGrid:{handler:_.renderPolarGrid,once:!0},PolarAngleAxis:{handler:_.renderPolarAxis},PolarRadiusAxis:{handler:_.renderPolarAxis},Customized:{handler:_.renderCustomized}}),_.clipPathId="".concat((M=C.id)!==null&&M!==void 0?M:yl("recharts"),"-clip"),_.throttleTriggeredAfterMouseMove=R4(_.triggeredAfterMouseMove,(N=C.throttleDelay)!==null&&N!==void 0?N:1e3/60),_.state={},_}return fae(T,w),sae(T,[{key:"componentDidMount",value:function(){var M,N;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(M=this.props.margin.left)!==null&&M!==void 0?M:0,top:(N=this.props.margin.top)!==null&&N!==void 0?N:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var M=this.props,N=M.children,_=M.data,E=M.height,j=M.layout,P=Ln(N,Wt);if(P){var k=P.props.defaultIndex;if(!(typeof k!="number"||k<0||k>this.state.tooltipTicks.length-1)){var G=this.state.tooltipTicks[k]&&this.state.tooltipTicks[k].value,q=rS(this.state,_,k,G),L=this.state.tooltipTicks[k].coordinate,F=(this.state.offset.top+E)/2,V=j==="horizontal",X=V?{x:L,y:F}:{y:L,x:F},D=this.state.formattedGraphicalItems.find(function(B){var ee=B.item;return ee.type.name==="Scatter"});D&&(X=ie(ie({},X),D.props.points[k].tooltipPosition),q=D.props.points[k].tooltipPayload);var U={activeTooltipIndex:k,isTooltipActive:!0,activeLabel:G,activePayload:q,activeCoordinate:X};this.setState(U),this.renderCursor(P),this.accessibilityManager.setIndex(k)}}}},{key:"getSnapshotBeforeUpdate",value:function(M,N){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==N.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==M.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==M.margin){var _,E;this.accessibilityManager.setDetails({offset:{left:(_=this.props.margin.left)!==null&&_!==void 0?_:0,top:(E=this.props.margin.top)!==null&&E!==void 0?E:0}})}return null}},{key:"componentDidUpdate",value:function(M){Ux([Ln(M.children,Wt)],[Ln(this.props.children,Wt)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var M=Ln(this.props.children,Wt);if(M&&typeof M.props.shared=="boolean"){var N=M.props.shared?"axis":"item";return u.indexOf(N)>=0?N:s}return s}},{key:"getMouseInfo",value:function(M){if(!this.container)return null;var N=this.container,_=N.getBoundingClientRect(),E=dY(_),j={chartX:Math.round(M.pageX-E.left),chartY:Math.round(M.pageY-E.top)},P=_.width/N.offsetWidth||1,k=this.inRange(j.chartX,j.chartY,P);if(!k)return null;var G=this.state,q=G.xAxisMap,L=G.yAxisMap,F=this.getTooltipEventType(),V=g5(this.state,this.props.data,this.props.layout,k);if(F!=="axis"&&q&&L){var X=hi(q).scale,D=hi(L).scale,U=X&&X.invert?X.invert(j.chartX):null,B=D&&D.invert?D.invert(j.chartY):null;return ie(ie({},j),{},{xValue:U,yValue:B},V)}return V?ie(ie({},j),V):null}},{key:"inRange",value:function(M,N){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,E=this.props.layout,j=M/_,P=N/_;if(E==="horizontal"||E==="vertical"){var k=this.state.offset,G=j>=k.left&&j<=k.left+k.width&&P>=k.top&&P<=k.top+k.height;return G?{x:j,y:P}:null}var q=this.state,L=q.angleAxisMap,F=q.radiusAxisMap;if(L&&F){var V=hi(L);return MN({x:j,y:P},V)}return null}},{key:"parseEventsOfWrapper",value:function(){var M=this.props.children,N=this.getTooltipEventType(),_=Ln(M,Wt),E={};_&&N==="axis"&&(_.props.trigger==="click"?E={onClick:this.handleClick}:E={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var j=zd(this.props,this.handleOuterEvent);return ie(ie({},j),E)}},{key:"addListener",value:function(){ix.on(ox,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){ix.removeListener(ox,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(M,N,_){for(var E=this.state.formattedGraphicalItems,j=0,P=E.length;j<P;j++){var k=E[j];if(k.item===M||k.props.key===M.key||N===Oa(k.item.type)&&_===k.childIndex)return k}return null}},{key:"renderClipPath",value:function(){var M=this.clipPathId,N=this.state.offset,_=N.left,E=N.top,j=N.height,P=N.width;return I.createElement("defs",null,I.createElement("clipPath",{id:M},I.createElement("rect",{x:_,y:E,height:j,width:P})))}},{key:"getXScales",value:function(){var M=this.state.xAxisMap;return M?Object.entries(M).reduce(function(N,_){var E=m5(_,2),j=E[0],P=E[1];return ie(ie({},N),{},Ae({},j,P.scale))},{}):null}},{key:"getYScales",value:function(){var M=this.state.yAxisMap;return M?Object.entries(M).reduce(function(N,_){var E=m5(_,2),j=E[0],P=E[1];return ie(ie({},N),{},Ae({},j,P.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(M){var N;return(N=this.state.xAxisMap)===null||N===void 0||(N=N[M])===null||N===void 0?void 0:N.scale}},{key:"getYScaleByAxisId",value:function(M){var N;return(N=this.state.yAxisMap)===null||N===void 0||(N=N[M])===null||N===void 0?void 0:N.scale}},{key:"getItemByXY",value:function(M){var N=this.state,_=N.formattedGraphicalItems,E=N.activeItem;if(_&&_.length)for(var j=0,P=_.length;j<P;j++){var k=_[j],G=k.props,q=k.item,L=q.type.defaultProps!==void 0?ie(ie({},q.type.defaultProps),q.props):q.props,F=Oa(q.type);if(F==="Bar"){var V=(G.data||[]).find(function(B){return MJ(M,B)});if(V)return{graphicalItem:k,payload:V}}else if(F==="RadialBar"){var X=(G.data||[]).find(function(B){return MN(M,B)});if(X)return{graphicalItem:k,payload:X}}else if(Tp(k,E)||Ap(k,E)||Ou(k,E)){var D=xee({graphicalItem:k,activeTooltipItem:E,itemData:L.data}),U=L.activeIndex===void 0?D:L.activeIndex;return{graphicalItem:ie(ie({},k),{},{childIndex:U}),payload:Ou(k,E)?L.data[D]:k.props.data[D]}}}return null}},{key:"render",value:function(){var M=this;if(!UE(this))return null;var N=this.props,_=N.children,E=N.className,j=N.width,P=N.height,k=N.style,G=N.compact,q=N.title,L=N.desc,F=y5(N,eae),V=Re(F,!1);if(G)return I.createElement(VP,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},I.createElement(Gx,Cs({},V,{width:j,height:P,title:q,desc:L}),this.renderClipPath(),GE(_,this.renderMap)));if(this.props.accessibilityLayer){var X,D;V.tabIndex=(X=this.props.tabIndex)!==null&&X!==void 0?X:0,V.role=(D=this.props.role)!==null&&D!==void 0?D:"application",V.onKeyDown=function(B){M.accessibilityManager.keyboardEvent(B)},V.onFocus=function(){M.accessibilityManager.focus()}}var U=this.parseEventsOfWrapper();return I.createElement(VP,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},I.createElement("div",Cs({className:qe("recharts-wrapper",E),style:ie({position:"relative",cursor:"default",width:j,height:P},k)},U,{ref:function(ee){M.container=ee}}),I.createElement(Gx,Cs({},V,{width:j,height:P,title:q,desc:L,style:vae}),this.renderClipPath(),GE(_,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})($.Component);Ae(O,"displayName",n),Ae(O,"defaultProps",ie({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},p)),Ae(O,"getDerivedStateFromProps",function(w,T){var C=w.dataKey,M=w.data,N=w.children,_=w.width,E=w.height,j=w.layout,P=w.stackOffset,k=w.margin,G=T.dataStartIndex,q=T.dataEndIndex;if(T.updateId===void 0){var L=b5(w);return ie(ie(ie({},L),{},{updateId:0},x(ie(ie({props:w},L),{},{updateId:0}),T)),{},{prevDataKey:C,prevData:M,prevWidth:_,prevHeight:E,prevLayout:j,prevStackOffset:P,prevMargin:k,prevChildren:N})}if(C!==T.prevDataKey||M!==T.prevData||_!==T.prevWidth||E!==T.prevHeight||j!==T.prevLayout||P!==T.prevStackOffset||!Ns(k,T.prevMargin)){var F=b5(w),V={chartX:T.chartX,chartY:T.chartY,isTooltipActive:T.isTooltipActive},X=ie(ie({},g5(T,M,j)),{},{updateId:T.updateId+1}),D=ie(ie(ie({},F),V),X);return ie(ie(ie({},D),x(ie({props:w},D),T)),{},{prevDataKey:C,prevData:M,prevWidth:_,prevHeight:E,prevLayout:j,prevStackOffset:P,prevMargin:k,prevChildren:N})}if(!Ux(N,T.prevChildren)){var U,B,ee,se,z=Ln(N,Ws),Y=z&&(U=(B=z.props)===null||B===void 0?void 0:B.startIndex)!==null&&U!==void 0?U:G,Q=z&&(ee=(se=z.props)===null||se===void 0?void 0:se.endIndex)!==null&&ee!==void 0?ee:q,te=Y!==G||Q!==q,ue=!ke(M),he=ue&&!te?T.updateId:T.updateId+1;return ie(ie({updateId:he},x(ie(ie({props:w},T),{},{updateId:he,dataStartIndex:Y,dataEndIndex:Q}),T)),{},{prevChildren:N,dataStartIndex:Y,dataEndIndex:Q})}return null}),Ae(O,"renderActiveDot",function(w,T,C){var M;return $.isValidElement(w)?M=$.cloneElement(w,T):Ne(w)?M=w(T):M=I.createElement(_p,T),I.createElement(st,{className:"recharts-active-dot",key:C},M)});var S=$.forwardRef(function(T,C){return I.createElement(O,Cs({},T,{ref:C}))});return S.displayName=O.displayName,S},Pw=Nw({chartName:"LineChart",GraphicalChild:dn,axisComponents:[{axisType:"xAxis",AxisComp:Yn},{axisType:"yAxis",AxisComp:Kn}],formatAxisMap:ww}),Gk=Nw({chartName:"BarChart",GraphicalChild:Ci,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:Yn},{axisType:"yAxis",AxisComp:Kn}],formatAxisMap:ww}),wl=Nw({chartName:"AreaChart",GraphicalChild:jn,axisComponents:[{axisType:"xAxis",AxisComp:Yn},{axisType:"yAxis",AxisComp:Kn}],formatAxisMap:ww});function Eae({index:e,delay:t=0}){const n=e.dailyChange??0,r=n>=0,i=r?"text-emerald-400":"text-red-400",s=r?"glow-green":"glow-red",l=r?"#10b981":"#ef4444",u=e.sparklineData.map((f,d)=>({value:f,index:d}));return g.jsxs("div",{"data-loc":"client/src/components/MarketCard.tsx:28",className:"animate-fade-in-up group relative overflow-hidden rounded-xl border border-[#1f2937] bg-[#111827] p-4 transition-all duration-200 hover:border-[#374151] hover:bg-[#111827]/80",style:{animationDelay:`${t}ms`},children:[g.jsxs("div",{"data-loc":"client/src/components/MarketCard.tsx:33",className:"flex items-start justify-between mb-2",children:[g.jsxs("div",{"data-loc":"client/src/components/MarketCard.tsx:34",children:[g.jsx("p",{"data-loc":"client/src/components/MarketCard.tsx:35",className:"text-xs text-gray-400 mb-0.5",children:e.nameEn}),g.jsx("h3",{"data-loc":"client/src/components/MarketCard.tsx:36",className:"text-sm font-semibold text-gray-200",children:e.name})]}),g.jsx("div",{"data-loc":"client/src/components/MarketCard.tsx:38",className:`flex items-center gap-1 ${i}`,children:r?g.jsx(TS,{"data-loc":"client/src/components/MarketCard.tsx:40",className:"w-3.5 h-3.5"}):g.jsx(_S,{"data-loc":"client/src/components/MarketCard.tsx:42",className:"w-3.5 h-3.5"})})]}),g.jsxs("div",{"data-loc":"client/src/components/MarketCard.tsx:48",className:"flex items-baseline gap-2 mb-3",children:[g.jsx("span",{"data-loc":"client/src/components/MarketCard.tsx:49",className:"text-2xl font-bold text-white tabular-nums",children:e.currentValue.toLocaleStr
240ing("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}),e.unit&&g.jsx("span",{"data-loc":"client/src/components/MarketCard.tsx:56",className:"text-xs text-gray-500",children:e.unit})]}),g.jsxs("div",{"data-loc":"client/src/components/MarketCard.tsx:61",className:`text-sm font-semibold ${i} ${s} mb-3`,children:[r?"+":"",n.toFixed(2),"%"]}),g.jsx("div",{"data-loc":"client/src/components/MarketCard.tsx:67",className:"h-12 -mx-1",children:g.jsx(Tr,{"data-loc":"client/src/components/MarketCard.tsx:68",width:"100%",height:"100%",children:g.jsxs(wl,{"data-loc":"client/src/components/MarketCard.tsx:69",data:u,children:[g.jsx("defs",{"data-loc":"client/src/components/MarketCard.tsx:70",children:g.jsxs("linearGradient",{"data-loc":"client/src/components/MarketCard.tsx:71",id:`spark-${e.id}`,x1:"0",y1:"0",x2:"0",y2:"1",children:[g.jsx("stop",{"data-loc":"client/src/components/MarketCard.tsx:72",offset:"0%",stopColor:l,stopOpacity:.3}),g.jsx("stop",{"data-loc":"client/src/components/MarketCard.tsx:73",offset:"100%",stopColor:l,stopOpacity:0})]})}),g.jsx(jn,{"data-loc":"client/src/components/MarketCard.tsx:76",type:"monotone",dataKey:"value",stroke:l,strokeWidth:1.5,fill:`url(#spark-${e.id})`,dot:!1,isAnimationActive:!0,animationDuration:1200,animationEasing:"ease-out"})]})})})]})}const S5={bullish:{label:"إيجابي",color:"text-emerald-400",bg:"bg-emerald-400/10 border-emerald-400/30",icon:TS},bearish:{label:"سلبي",color:"text-red-400",bg:"bg-red-400/10 border-red-400/30",icon:_S},neutral:{label:"محايد",color:"text-blue-400",bg:"bg-blue-400/10 border-blue-400/30",icon:_3},cautious:{label:"حذر",color:"text-amber-400",bg:"bg-amber-400/10 border-amber-400/30",icon:ep}},w5={low:{label:"منخفضة",color:"text-emerald-400",dot:"bg-emerald-400"},medium:{label:"متوسطة",color:"text-amber-400",dot:"bg-amber-400"},high:{label:"مرتفعة",color:"text-orange-400",dot:"bg-orange-400"},critical:{label:"حرجة",color:"text-red-400",dot:"bg-red-400 animate-pulse"}},jae={morning:"☀️ ملخص الصباح",midday:"🌤 ملخص منتصف اليوم",evening:"🌙 ملخص المساء"};function Cae(){const{data:e,isLoading:t,refetch:n}=mo.aiSummary.latest.useQuery(void 0,{refetchInterval:3e5}),r=mo.aiSummary.generate.useMutation({onSuccess:()=>n()}),[i,s]=$.useState(!1),l=e?.sentiment?S5[e.sentiment]:S5.neutral,u=e?.riskLevel?w5[e.riskLevel]:w5.medium,f=l.icon,d=m=>m?new Date(m).toLocaleTimeString("ar-SA",{hour:"2-digit",minute:"2-digit",hour12:!0,timeZone:"Asia/Riyadh"}):"";return g.jsxs("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:48",className:"rounded-xl border border-white/10 bg-gradient-to-br from-[#0d1b2e] to-[#0a0e1a] overflow-hidden mb-6",children:[g.jsxs("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:50",className:"flex items-center justify-between px-5 py-4 border-b border-white/10",children:[g.jsxs("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:51",className:"flex items-center gap-3",children:[g.jsx("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:52",className:"w-9 h-9 rounded-lg bg-violet-500/20 border border-violet-500/30 flex items-center justify-center",children:g.jsx(TA,{"data-loc":"client/src/components/AiSummaryCard.tsx:53",className:"w-5 h-5 text-violet-400"})}),g.jsxs("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:55",children:[g.jsx("h2",{"data-loc":"client/src/components/AiSummaryCard.tsx:56",className:"text-white font-bold text-base leading-tight",children:e&&jae[e.period]||"الملخص التنفيذي الذكي"}),e?.generatedAt&&g.jsxs("p",{"data-loc":"client/src/components/AiSummaryCard.tsx:60",className:"text-white/40 text-xs flex items-center gap-1 mt-0.5",children:[g.jsx(O3,{"data-loc":"client/src/components/AiSummaryCard.tsx:61",className:"w-3 h-3"}),"آخر تحديث: ",d(e.generatedAt)]})]})]}),g.jsxs("button",{"data-loc":"client/src/components/AiSummaryCard.tsx:67",onClick:()=>r.mutate(),disabled:r.isPending,className:"flex items-center gap-2 px-3 py-1.5 rounded-lg bg-violet-500/20 border border-violet-500/30 text-violet-400 text-xs hover:bg-violet-500/30 transition-colors disabled:opacity-50",children:[g.jsx(GB,{"data-loc":"client/src/components/AiSummaryCard.tsx:72",className:`w-3 h-3 ${r.isPending?"animate-spin":""}`}),r.isPending?"جاري التوليد...":"توليد ملخص"]})]}),g.jsx("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:78",className:"p-5",children:t?g.jsx("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:80",className:"space-y-3",children:[1,2,3].map(m=>g.jsx("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:82",className:"h-4 bg-white/5 rounded animate-pulse",style:{width:`${90-m*10}%`}},m))}):e?g.jsxs("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:92",className:"space-y-4",children:[e.headline&&g.jsx("h3",{"data-loc":"client/src/components/AiSummaryCard.tsx:95",className:"text-white font-bold text-lg leading-relaxed",children:e.headline}),g.jsxs("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:99",className:"flex flex-wrap gap-2",children:[g.jsxs("span",{"data-loc":"client/src/components/AiSummaryCard.tsx:100",className:`inline-flex items-center gap-1.5 px-3 py-1 rounded-full border text-xs font-medium ${l.bg} ${l.color}`,children:[g.jsx(f,{"data-loc":"client/src/components/AiSummaryCard.tsx:101",className:"w-3 h-3"}),"المزاج: ",l.label]}),g.jsxs("span",{"data-loc":"client/src/components/AiSummaryCard.tsx:104",className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full border border-white/10 bg-white/5 text-xs font-medium text-white/70",children:[g.jsx("span",{"data-loc":"client/src/components/AiSummaryCard.tsx:105",className:`w-2 h-2 rounded-full ${u.dot}`}),"المخاطرة: ",g.jsx("span",{"data-loc":"client/src/components/AiSummaryCard.tsx:106",className:u.color,children:u.label})]})]}),g.jsx("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:111",className:`text-white/80 text-sm leading-relaxed ${i?"":"line-clamp-4"}`,dir:"rtl",children:e.content}),e.content&&e.content.length>300&&g.jsx("button",{"data-loc":"client/src/components/AiSummaryCard.tsx:115",onClick:()=>s(!i),className:"text-violet-400 text-xs hover:text-violet-300 transition-colors",children:i?"▲ عرض أقل":"▼ عرض المزيد"}),e.saudiRecommendation&&g.jsxs("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:125",className:"mt-3 p-3 rounded-lg bg-amber-400/10 border border-amber-400/20",children:[g.jsx("p",{"data-loc":"client/src/components/AiSummaryCard.tsx:126",className:"text-amber-300 text-xs font-semibold mb-1",children:"🇸🇦 ملاحظة للمستثمر السعودي"}),g.jsx("p",{"data-loc":"client/src/components/AiSummaryCard.tsx:127",className:"text-amber-100/80 text-sm leading-relaxed",dir:"rtl",children:e.saudiRecommendation})]})]}):g.jsxs("div",{"data-loc":"client/src/components/AiSummaryCard.tsx:86",className:"text-center py-8",children:[g.jsx(TA,{"data-loc":"client/src/components/AiSummaryCard.tsx:87",className:"w-12 h-12 text-white/20 mx-auto mb-3"}),g.jsx("p",{"data-loc":"client/src/components/AiSummaryCard.tsx:88",className:"text-white/40 text-sm",children:"لا يوجد ملخص بعد"}),g.jsx("p",{"data-loc":"client/src/components/AiSummaryCard.tsx:89",className:"text-white/25 text-xs mt-1",children:'اضغط "توليد ملخص" للحصول على تحليل ذكي الآن'})]})})]})}function Mae({indicator:e,delay:t=0}){const r={rising:{icon:w3,color:"text-red-400",bg:"bg-red-500/10",border:"border-red-500/20",label:"ارتفاع"},falling:{icon:S3,color:"text-emerald-400",bg:"bg-emerald-500/10",border:"border-emerald-500/20",label:"انخفاض"},stable:{icon:_3,color:"text-blue-400",bg:"bg-blue-500/10",border:"border-blue-500/20",label:"مستقر"}}[e.status],i=r.icon;return g.jsxs("div",{"data-loc":"client/src/components/MacroSnapshot.tsx:43",className:"animate-fade-in-up rounded-xl border border-[#1f2937] bg-[#111827] p-5 transition-all duration-200 hover:border-[#374151]",style:{animationDelay:`${t}ms`},children:[g.jsxs("div",{"data-loc":"client/src/components/MacroSnapshot.tsx:47",className:"flex items-start justify-between mb-3",children:[g.jsx("h4",{"data-loc":"client/src/components/MacroSnapshot.tsx:48",className:"text-sm font-semibold text-gray-300",children:e.name}),g.jsxs("div",{"data-loc":"client/src/components/MacroSnapshot.tsx:49",className:`flex items-center gap-1 px-2 py-0.5 rounded-full ${r.bg} ${r.border} border`,children:[g.jsx(i,{"data-loc":"client/src/components/MacroSnapshot.tsx:52",className:`w-3 h-3 ${r.color}`}),g.jsx("span",{"data-loc":"client/src/components/MacroSnapshot.tsx:53",className:`text-[10px] font-medium ${r.color}`,children:r.label})]})]}),g.jsxs("div",{"data-loc":"client/src/components/MacroSnapshot.tsx:59",className:"flex items-baseline gap-1.5 mb-2",children:[g.jsx("span",{"data-loc":"client/src/components/MacroSnapshot.tsx:60",className:"text-3xl font-bold text-white tabular-nums",children:e.value.toFixed(2)}),g.jsx("span",{"data-loc":"client/src/components/MacroSnapshot.tsx:63",className:"text-sm text-gray-400",children:e.unit})]}),g.jsx("p",{"data-loc":"client/src/components/MacroSnapshot.tsx:66",className:"text-xs text-gray-500 leading-relaxed",children:e.description}),g.jsx("div",{"data-loc":"client/src/components/MacroSnapshot.tsx:70",className:"mt-3 pt-3 border-t border-[#1f2937]",children:g.jsxs("div",{"data-loc":"client/src/components/MacroSnapshot.tsx:71",className:"flex items-center justify-between text-xs",children:[g.jsx("span",{"data-loc":"client/src/components/MacroSnapshot.tsx:72",className:"text-gray-500",children:"القراءة السابقة"}),g.jsxs("span",{"data-loc":"client/src/components/MacroSnapshot.tsx:73",className:"text-gray-300 tabular-nums",children:[e.previousValue.toFixed(2),e.unit]})]})})]})}function Nae({indicators:e}){return g.jsxs("section",{"data-loc":"client/src/components/MacroSnapshot.tsx:88",children:[g.jsxs("div",{"data-loc":"client/src/components/MacroSnapshot.tsx:89",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/MacroSnapshot.tsx:90",className:"w-1 h-5 rounded-full bg-blue-500"}),g.jsx("h2",{"data-loc":"client/src/components/MacroSnapshot.tsx:91",className:"text-base font-bold text-white",children:"اللقطة الاقتصادية الكلية"}),g.jsx("span",{"data-loc":"client/src/components/MacroSnapshot.tsx:92",className:"text-xs text-gray-500 mr-2",children:"MACRO SNAPSHOT"})]}),g.jsx("div",{"data-loc":"client/src/components/MacroSnapshot.tsx:94",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:e.map((t,n)=>g.jsx(Mae,{"data-loc":"client/src/components/MacroSnapshot.tsx:96",indicator:t,delay:200+n*60},t.id))})]})}function Fk({data:e,delay:t=0}){const{score:n,label:r,level:i,factors:s}=e,l=150,u=130,f=100,d=Math.PI,m=0,p=d-n/100*Math.PI,v=(C,M,N,_,E)=>{const j=C+N*Math.cos(_),P=M-N*Math.sin(_),k=C+N*Math.cos(E),G=M-N*Math.sin(E),q=E-_<=Math.PI?0:1;return`M ${j} ${P} A ${N} ${N} 0 ${q} 0 ${k} ${G}`},x=l+(f-15)*Math.cos(p),O=u-(f-15)*Math.sin(p),w={low:{color:"#10b981",bg:"bg-emerald-500/10",border:"border-emerald-500/20"},moderate:{color:"#3b82f6",bg:"bg-blue-500/10",border:"border-blue-500/20"},elevated:{color:"#f59e0b",bg:"bg-yellow-500/10",border:"border-yellow-500/20"}
240,high:{color:"#f97316",bg:"bg-orange-500/10",border:"border-orange-500/20"},extreme:{color:"#ef4444",bg:"bg-red-500/10",border:"border-red-500/20"}}[i],T=i==="low"||i==="moderate"?KB:i==="elevated"?ep:YB;return g.jsxs("div",{"data-loc":"client/src/components/RiskGauge.tsx:61",className:"animate-fade-in-up rounded-xl border border-[#1f2937] bg-[#111827] p-5",style:{animationDelay:`${t}ms`},children:[g.jsxs("div",{"data-loc":"client/src/components/RiskGauge.tsx:66",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/RiskGauge.tsx:67",className:"w-1 h-5 rounded-full bg-yellow-500"}),g.jsx("h2",{"data-loc":"client/src/components/RiskGauge.tsx:68",className:"text-base font-bold text-white",children:"مؤشر المخاطر العالمي"}),g.jsx("span",{"data-loc":"client/src/components/RiskGauge.tsx:69",className:"text-xs text-gray-500 mr-2",children:"RISK INDEX"})]}),g.jsx("div",{"data-loc":"client/src/components/RiskGauge.tsx:73",className:"flex justify-center mb-4",children:g.jsxs("svg",{"data-loc":"client/src/components/RiskGauge.tsx:74",width:"300",height:"160",viewBox:"0 0 300 160",className:"max-w-full",children:[g.jsx("path",{"data-loc":"client/src/components/RiskGauge.tsx:76",d:v(l,u,f,d,m),fill:"none",stroke:"#1f2937",strokeWidth:"20",strokeLinecap:"round"}),g.jsx("path",{"data-loc":"client/src/components/RiskGauge.tsx:85",d:v(l,u,f,d,d-Math.PI*.2),fill:"none",stroke:"#10b981",strokeWidth:"20",strokeLinecap:"round",opacity:"0.7"}),g.jsx("path",{"data-loc":"client/src/components/RiskGauge.tsx:95",d:v(l,u,f,d-Math.PI*.2,d-Math.PI*.4),fill:"none",stroke:"#3b82f6",strokeWidth:"20",strokeLinecap:"round",opacity:"0.7"}),g.jsx("path",{"data-loc":"client/src/components/RiskGauge.tsx:105",d:v(l,u,f,d-Math.PI*.4,d-Math.PI*.6),fill:"none",stroke:"#f59e0b",strokeWidth:"20",strokeLinecap:"round",opacity:"0.7"}),g.jsx("path",{"data-loc":"client/src/components/RiskGauge.tsx:115",d:v(l,u,f,d-Math.PI*.6,d-Math.PI*.8),fill:"none",stroke:"#f97316",strokeWidth:"20",strokeLinecap:"round",opacity:"0.7"}),g.jsx("path",{"data-loc":"client/src/components/RiskGauge.tsx:125",d:v(l,u,f,d-Math.PI*.8,m),fill:"none",stroke:"#ef4444",strokeWidth:"20",strokeLinecap:"round",opacity:"0.7"}),g.jsx("line",{"data-loc":"client/src/components/RiskGauge.tsx:135",x1:l,y1:u,x2:x,y2:O,stroke:w.color,strokeWidth:"3",strokeLinecap:"round",className:"animate-gauge",style:{transformOrigin:`${l}px ${u}px`}}),g.jsx("circle",{"data-loc":"client/src/components/RiskGauge.tsx:148",cx:l,cy:u,r:"6",fill:w.color}),g.jsx("circle",{"data-loc":"client/src/components/RiskGauge.tsx:149",cx:l,cy:u,r:"3",fill:"#111827"}),g.jsx("text",{"data-loc":"client/src/components/RiskGauge.tsx:152",x:l,y:u+35,textAnchor:"middle",className:"fill-white text-2xl font-bold",style:{fontSize:"28px",fontFamily:"Cairo"},children:n.toFixed(0)}),g.jsx("text",{"data-loc":"client/src/components/RiskGauge.tsx:161",x:l,y:u+52,textAnchor:"middle",className:"fill-gray-400",style:{fontSize:"11px",fontFamily:"Cairo"},children:"من 100"})]})}),g.jsx("div",{"data-loc":"client/src/components/RiskGauge.tsx:174",className:"flex justify-center mb-4",children:g.jsxs("div",{"data-loc":"client/src/components/RiskGauge.tsx:175",className:`flex items-center gap-2 px-4 py-2 rounded-full ${w.bg} ${w.border} border`,children:[g.jsx(T,{"data-loc":"client/src/components/RiskGauge.tsx:178",className:"w-4 h-4",style:{color:w.color}}),g.jsxs("span",{"data-loc":"client/src/components/RiskGauge.tsx:179",className:"text-sm font-semibold",style:{color:w.color},children:["مستوى المخاطر: ",r]})]})}),g.jsxs("div",{"data-loc":"client/src/components/RiskGauge.tsx:186",className:"space-y-2 mt-4 pt-4 border-t border-[#1f2937]",children:[g.jsx("p",{"data-loc":"client/src/components/RiskGauge.tsx:187",className:"text-xs text-gray-500 mb-2",children:"عوامل التقييم:"}),s.map(C=>g.jsxs("div",{"data-loc":"client/src/components/RiskGauge.tsx:189",className:"flex items-center justify-between text-xs",children:[g.jsx("span",{"data-loc":"client/src/components/RiskGauge.tsx:190",className:"text-gray-400",children:C.name}),g.jsxs("div",{"data-loc":"client/src/components/RiskGauge.tsx:191",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/components/RiskGauge.tsx:192",className:"w-16 h-1.5 rounded-full bg-[#1f2937] overflow-hidden",children:g.jsx("div",{"data-loc":"client/src/components/RiskGauge.tsx:193",className:"h-full rounded-full",style:{width:`${C.contribution}%`,backgroundColor:w.color}})}),g.jsxs("span",{"data-loc":"client/src/components/RiskGauge.tsx:201",className:"text-gray-300 tabular-nums w-8 text-left",children:[C.contribution,"%"]})]})]},C.name))]})]})}function Yk({data:e,delay:t=0}){const{score:n,label:r,level:i,components:s,history:l}=e,f={extreme_fear:{color:"#ef4444",gradient:"from-red-600 to-red-500"},fear:{color:"#f97316",gradient:"from-orange-600 to-orange-500"},neutral:{color:"#6b7280",gradient:"from-gray-600 to-gray-500"},greed:{color:"#10b981",gradient:"from-emerald-600 to-emerald-500"},extreme_greed:{color:"#059669",gradient:"from-green-600 to-green-500"}}[i],d=n/100*180-90,m=l.map((x,O)=>({value:x,index:O})),p={fear:"text-red-400",neutral:"text-gray-400",greed:"text-emerald-400"},v={fear:"خوف",neutral:"محايد",greed:"طمع"};return g.jsxs("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:46",className:"animate-fade-in-up rounded-xl border border-[#1f2937] bg-[#111827] p-5",style:{animationDelay:`${t}ms`},children:[g.jsxs("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:51",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:52",className:"w-1 h-5 rounded-full bg-red-500"}),g.jsx("h2",{"data-loc":"client/src/components/FearGreedIndex.tsx:53",className:"text-base font-bold text-white",children:"مؤشر الخوف والطمع"}),g.jsx("span",{"data-loc":"client/src/components/FearGreedIndex.tsx:54",className:"text-xs text-gray-500 mr-2",children:"FEAR & GREED"})]}),g.jsx("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:58",className:"flex justify-center mb-4",children:g.jsxs("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:59",className:"relative",children:[g.jsxs("svg",{"data-loc":"client/src/components/FearGreedIndex.tsx:60",width:"220",height:"130",viewBox:"0 0 220 130",children:[g.jsx("path",{"data-loc":"client/src/components/FearGreedIndex.tsx:62",d:"M 20 110 A 90 90 0 0 1 56 38",f
240ill:"none",stroke:"#ef4444",strokeWidth:"16",strokeLinecap:"round",opacity:"0.6"}),g.jsx("path",{"data-loc":"client/src/components/FearGreedIndex.tsx:70",d:"M 56 38 A 90 90 0 0 1 110 20",fill:"none",stroke:"#f97316",strokeWidth:"16",strokeLinecap:"round",opacity:"0.6"}),g.jsx("path",{"data-loc":"client/src/components/FearGreedIndex.tsx:78",d:"M 110 20 A 90 90 0 0 1 164 38",fill:"none",stroke:"#6b7280",strokeWidth:"16",strokeLinecap:"round",opacity:"0.6"}),g.jsx("path",{"data-loc":"client/src/components/FearGreedIndex.tsx:86",d:"M 164 38 A 90 90 0 0 1 200 110",fill:"none",stroke:"#10b981",strokeWidth:"16",strokeLinecap:"round",opacity:"0.6"}),g.jsx("g",{"data-loc":"client/src/components/FearGreedIndex.tsx:96",transform:`rotate(${d}, 110, 110)`,children:g.jsx("line",{"data-loc":"client/src/components/FearGreedIndex.tsx:97",x1:"110",y1:"110",x2:"110",y2:"35",stroke:f.color,strokeWidth:"2.5",strokeLinecap:"round"})}),g.jsx("circle",{"data-loc":"client/src/components/FearGreedIndex.tsx:109",cx:"110",cy:"110",r:"5",fill:f.color}),g.jsx("circle",{"data-loc":"client/src/components/FearGreedIndex.tsx:110",cx:"110",cy:"110",r:"2.5",fill:"#111827"}),g.jsx("text",{"data-loc":"client/src/components/FearGreedIndex.tsx:113",x:"15",y:"125",fill:"#ef4444",fontSize:"9",fontFamily:"Cairo",children:"خوف"}),g.jsx("text",{"data-loc":"client/src/components/FearGreedIndex.tsx:114",x:"185",y:"125",fill:"#10b981",fontSize:"9",fontFamily:"Cairo",children:"طمع"})]}),g.jsxs("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:118",className:"absolute bottom-0 left-1/2 -translate-x-1/2 text-center",children:[g.jsx("span",{"data-loc":"client/src/components/FearGreedIndex.tsx:119",className:"text-3xl font-bold tabular-nums",style:{color:f.color},children:n}),g.jsx("p",{"data-loc":"client/src/components/FearGreedIndex.tsx:125",className:"text-xs font-medium mt-0.5",style:{color:f.color},children:r})]})]})}),g.jsxs("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:133",className:"mb-4",children:[g.jsx("p",{"data-loc":"client/src/components/FearGreedIndex.tsx:134",className:"text-xs text-gray-500 mb-2",children:"مسار 30 يوماً:"}),g.jsx("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:135",className:"h-10",dir:"ltr",children:g.jsx(Tr,{"data-loc":"client/src/components/FearGreedIndex.tsx:136",width:"100%",height:"100%",children:g.jsxs(wl,{"data-loc":"client/src/components/FearGreedIndex.tsx:137",data:m,children:[g.jsx("defs",{"data-loc":"client/src/components/FearGreedIndex.tsx:138",children:g.jsxs("linearGradient",{"data-loc":"client/src/components/FearGreedIndex.tsx:139",id:"fearGreedGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[g.jsx("stop",{"data-loc":"client/src/components/FearGreedIndex.tsx:140",offset:"0%",stopColor:f.color,stopOpacity:.3}),g.jsx("stop",{"data-loc":"client/src/components/FearGreedIndex.tsx:141",offset:"100%",stopColor:f.color,stopOpacity:0})]})}),g.jsx(jn,{"data-loc":"client/src/components/FearGreedIndex.tsx:144",type:"monotone",dataKey:"value",stroke:f.color,strokeWidth:1.5,fill:"url(#fearGreedGrad)",dot:!1})]})})})]}),g.jsxs("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:158",className:"space-y-2 pt-3 border-t border-[#1f2937]",children:[g.jsx("p",{"data-loc":"client/src/components/FearGreedIndex.tsx:159",className:"text-xs text-gray-500 mb-2",children:"المكونات:"}),s.map(x=>g.jsxs("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:161",className:"flex items-center justify-between text-xs",children:[g.jsx("span",{"data-loc":"client/src/components/FearGreedIndex.tsx:162",className:"text-gray-400",children:x.name}),g.jsxs("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:163",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:164",className:"w-12 h-1.5 rounded-full bg-[#1f2937] overflow-hidden",children:g.jsx("div",{"data-loc":"client/src/components/FearGreedIndex.tsx:165",className:"h-full rounded-full transition-all",style:{width:`${x.value}%`,backgroundColor:x.signal==="greed"?"#10b981":x.signal==="fear"?"#ef4444":"#6b7280"}})}),g.jsx("span",{"data-loc":"client/src/components/FearGreedIndex.tsx:175",className:`w-8 text-left tabular-nums ${p[x.signal]}`,children:x.value}),g.jsx("span",{"data-loc":"client/src/components/FearGreedIndex.tsx:178",className:`text-[10px] ${p[x.signal]}`,children:v[x.signal]})]})]},x.name))]})]})}function Pae(e){return e>=2?"bg-emerald-500/30 border-emerald-500/40":e>=1?"bg-emerald-500/20 border-emerald-500/30":e>=.3?"bg-emerald-500/10 border-emerald-500/20":e>=-.3?"bg-gray-500/10 border-gray-500/20":e>=-1?"bg-red-500/10 border-red-500/20":e>=-2?"bg-red-500/20 border-red-500/30":"bg-red-500/30 border-red-500/40"}function Rae(e){return e>=.3?"text-emerald-400":e>=-.3?"text-gray-400":"text-red-400"}function Kk({data:e,delay:t=0}){const n=[...e].sort((r,i)=>Math.abs(i.change)-Math.abs(r.change));return g.jsxs("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:35",className:"animate-fade-in-up rounded-xl border border-[#1f2937] bg-[#111827] p-5",style:{animationDelay:`${t}ms`},children:[g.jsxs("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:40",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:41",className:"w-1 h-5 rounded-full bg-orange-500"}),g.jsx("h2",{"data-loc":"client/src/components/SectorHeatmap.tsx:42",className:"text-base font-bold text-white",children:"خريطة القطاعات الحرارية"}),g.jsx("span",{"data-loc":"client/src/components/SectorHeatmap.tsx:43",className:"text-xs text-gray-500 mr-2",children:"SECTOR HEATMAP"})]}),g.jsx("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:47",className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-2",children:n.map(r=>g.jsxs("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:49",className:`relative rounded-lg border p-3 transition-all duration-200 hover:scale-[1.02] ${Pae(r.change)}`,children:[g.jsxs("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:53",className:"flex items-center justify-between mb-1",children:[g.jsx("span",{"data-loc":"client/src/components/SectorHeatmap.tsx:54",className:"text-[10px] text-gray-400 truncate",children:r.nameEn}),r.change>=0?g.jsx(TS,{"data-loc":"client/src/components/SectorHeatmap.tsx:58",className:"w-3 h-3 text-emerald-400 flex-shrink-0"}):g.jsx(_S,{"data-loc":"client/src/components/SectorHeatmap.tsx:60",className:"w-3 h-3 text-red-400 flex-shrink-0"})]}),g.jsx("p",{"data-loc":"client/src/components/SectorHeatmap.tsx:63",className:"text-xs font-semibold text-gray-200 mb-1 truncate",children:r.name}),g.jsxs("p",{"data-loc":"client/src/components/SectorHeatmap.tsx:66",className:`text-lg font-bold tabular-nums ${Rae(r.change)}`,children:[r.change>=0?"+":"",r.change.toFixed(2),"%"]}),g.jsxs("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:69",className:"flex items-center justify-between mt-1.5 text-[10px] text-gray-500",children:[g.jsx("span",{"data-loc":"client/src/components/SectorHeatmap.tsx:70",children:r.marketCap}),g.jsx("span",{"data-loc":"client/src/components/SectorHeatmap.tsx:71",children:r.volume})]})]},r.id))}),g.jsxs("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:78",className:"flex items-center justify-center gap-4 mt-4 pt-3 border-t border-[#1f2937]",children:[g.jsxs("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:79",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:80",className:"w-3 h-3 rounded-sm bg-emerald-500/30"}),g.jsx("span",{"data-loc":"client/src/components/SectorHeatmap.tsx:81",className:"text-[10px] text-gray-500",children:"صعود قوي"})]}),g.jsxs("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:83",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:84",className:"w-3 h-3 rounded-sm bg-gray-500/20"}),g.jsx("span",{"data-loc":"client/src/components/SectorHeatmap.tsx:85",className:"text-[10px] text-gray-500",children:"محايد"})]}),g.jsxs("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:87",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/SectorHeatmap.tsx:88",className:"w-3 h-3 rounded-sm bg-red-500/30"}),g.jsx("span",{"data-loc":"client/src/components/SectorHeatmap.tsx:89",className:"text-[10px] text-gray-500",children:"هبوط قوي"})]})]})]})}function Dae({impact:e}){const n={high:{label:"عالي",bg:"bg-red-500/15",text:"text-red-400",border:"border-red-500/30",dot:"bg-red-400"},medium:{label:"متوسط",bg:"bg-yellow-500/15",text:"text-yellow-400",border:"border-yellow-500/30",dot:"bg-yellow-400"},low:{label:"منخفض",bg:"bg-gray-500/15",text:"text-gray-400",border:"border-gray-500/30",dot:"bg-gray-400"}}[e];return g.jsxs("span",{"data-loc":"client/src/components/EconomicCalendar.tsx:32",className:`inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] font-medium border ${n.bg} ${n.text} ${n.border}`,children:[g.jsx("span",{"data-loc":"client/src/components/EconomicCalendar.tsx:33",className:`w-1.5 h-1.5 rounded-full ${n.dot}`}),n.label]})}function kae(e){const t=new Date,n=e.filter(d=>!d.actual&&new Date(`${d.date}T${d.time}`).getTime()>t.getTime()).sort((d,m)=>new Date(`${d.date}T${d.time}`).getTime()-new Date(`${m.date}T${m.time}`).getTime());if(n.length===0)return{event:null,label:"لا أحداث قادمة"};const r=n[0],s=new Date(`${r.date}T${r.time}`).getTime()-t.getTime(),l=Math.floor(s/(1e3*60*60*24)),u=Math.floor(s%(1e3*60*60*24)/(1e3*60*60));if(l>0)return{event:r,label:`خلال ${l} يوم و ${u} ساعة`};if(u>0)return{event:r,label:`خلال ${u} ساعة`};const f=Math.floor(s%(1e3*60*60)/(1e3*60));return{event:r,label:`خلال ${f} دقيقة`}}function Iae(e){const t=new Date,n=new Date(e),r=t.toISOString().split("T")[0],i=new Date(t);i.setDate(t.getDate()+1);const s=i.toISOString().split("T")[0];if(e===r)return"اليوم";if(e===s)return"غداً";const l=Math.ceil((n.getTime()-t.getTime())/(1e3*60*60*24));return l<-7?`مضى — ${n.toLocaleDateString("ar-SA",{day:"numeric",month:"short"})}`:l<0?`مضى منذ ${Math.abs(l)} أيام`:l<=7?`بعد ${l} أيام`:l<=14?"الأسبوع القادم":n.toLocaleDateString("ar-SA",{weekday:"long",day:"numeric",month:"short"})}function $ae(e,t){if(!t)return;const n=e.event.toLowerCase();if((n.includes("cpi")||n.includes("أسعار المستهلك"))&&t.cpiYoY)return t.cpiYoY;if((n.includes("ppi")||n.includes("منتجين"))&&t.ppi)return t.ppi;if((n.includes("unemployment")||n.includes("بطالة"))&&t.unemployment)return t.unemployment;if((n.includes("fed")||n.includes("فيدرالي")||n.includes("فائدة"))&&t.fedRate)return t.fedRate}function qae({events:e,delay:t=0,fredActuals:n}){const[r,i]=$.useState("all"),s=$.useMemo(()=>{const d=[...e].sort((m,p)=>{const v=new Date(`${m.date}T${m.time}`).getTime(),x=new Date(`${p.date}T${p.time}`).getTime();return v-x});return r==="all"?d:d.filter(m=>m.impact===r)},[e,r]),l=$.useMemo(()=>{const d={};
240return s.forEach(m=>{d[m.date]||(d[m.date]=[]),d[m.date].push(m)}),d},[s]),{event:u,label:f}=kae(e);return g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:120",className:"animate-fade-in-up rounded-xl border border-[#1f2937] bg-[#111827] p-5",style:{animationDelay:`${t}ms`},children:[g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:125",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:126",className:"w-1 h-5 rounded-full bg-cyan-500"}),g.jsx("h2",{"data-loc":"client/src/components/EconomicCalendar.tsx:127",className:"text-base font-bold text-white",children:"التقويم الاقتصادي"}),g.jsx("span",{"data-loc":"client/src/components/EconomicCalendar.tsx:128",className:"text-xs text-gray-500 mr-2",children:"ECONOMIC CALENDAR"})]}),u&&g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:133",className:"mb-4 p-3 rounded-lg bg-cyan-500/5 border border-cyan-500/15 flex items-center gap-3",children:[g.jsx("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:134",className:"p-2 rounded-lg bg-cyan-500/10",children:g.jsx(VB,{"data-loc":"client/src/components/EconomicCalendar.tsx:135",className:"w-4 h-4 text-cyan-400"})}),g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:137",className:"flex-1",children:[g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:138",className:"text-[10px] text-cyan-400 font-medium",children:"أبرز حدث اقتصادي:"}),g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:139",className:"text-xs text-white font-semibold",children:u.event})]}),g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:141",className:"text-left",children:[g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:142",className:"text-xs font-bold text-cyan-300 tabular-nums",children:f}),g.jsxs("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:143",className:"text-[10px] text-gray-500",children:[u.country," ",u.time]})]})]}),g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:149",className:"flex items-center gap-2 mb-4",children:[g.jsx(UB,{"data-loc":"client/src/components/EconomicCalendar.tsx:150",className:"w-3.5 h-3.5 text-gray-500"}),g.jsx("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:151",className:"flex gap-1.5",children:[{key:"all",label:"الكل"},{key:"high",label:"عالي التأثير"},{key:"medium",label:"متوسط"}].map(({key:d,label:m})=>g.jsx("button",{"data-loc":"client/src/components/EconomicCalendar.tsx:157",onClick:()=>i(d),className:`px-2.5 py-1 rounded-full text-[11px] font-medium transition-all ${r===d?"bg-cyan-500/15 text-cyan-400 border border-cyan-500/30":"bg-white/5 text-gray-500 border border-transparent hover:border-[#374151]"}`,children:m},d))}),g.jsxs("span",{"data-loc":"client/src/components/EconomicCalendar.tsx:170",className:"mr-auto text-[10px] text-gray-600",children:[s.length," حدث"]})]}),g.jsx("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:176",className:"space-y-3 max-h-[400px] overflow-y-auto pr-1 custom-scrollbar",children:Object.entries(l).map(([d,m])=>g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:178",children:[g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:180",className:"flex items-center gap-2 mb-2 sticky top-0 bg-[#111827] py-1 z-10",children:[g.jsx(zB,{"data-loc":"client/src/components/EconomicCalendar.tsx:181",className:"w-3 h-3 text-gray-500"}),g.jsx("span",{"data-loc":"client/src/components/EconomicCalendar.tsx:182",className:"text-[11px] font-medium text-gray-400",children:Iae(d)}),g.jsxs("span",{"data-loc":"client/src/components/EconomicCalendar.tsx:185",className:"text-[10px] text-gray-600",children:["(",d,")"]}),g.jsx("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:186",className:"flex-1 h-px bg-[#1f2937]"})]}),g.jsx("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:190",className:"space-y-1.5",children:m.map(p=>g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:192",className:`flex items-center gap-3 p-2.5 rounded-lg border transition-colors ${p.actual?"border-[#1f2937]/50 bg-white/[0.01] opacity-70":"border-[#1f2937] hover:border-[#374151] bg-white/[0.02]"}`,children:[g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:201",className:"flex flex-col items-center w-12 flex-shrink-0",children:[g.jsx("span",{"data-loc":"client/src/components/EconomicCalendar.tsx:202",className:"text-lg leading-none",children:p.country}),g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:203",className:"flex items-center gap-0.5 mt-1",children:[g.jsx(O3,{"data-loc":"client/src/components/EconomicCalendar.tsx:204",className:"w-2.5 h-2.5 text-gray-600"}),g.jsx("span",{"data-loc":"client/src/components/EconomicCalendar.tsx:205",className:"text-[10px] text-gray-500 tabular-nums",children:p.time})]})]}),g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:210",className:"flex-1 min-w-0",children:[g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:211",className:"text-xs font-medium text-gray-200 truncate",children:p.event}),g.jsx("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:214",className:"mt-1",children:g.jsx(Dae,{"data-loc":"client/src/components/EconomicCalendar.tsx:215",impact:p.impact})})]}),g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:220",className:"flex items-center gap-3 text-[11px] tabular-nums flex-shrink-0",children:[g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:221",className:"text-center",children:[g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:222",className:"text-gray-600 text-[9px]",children:"سابق"}),g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:223",className:"text-gray-400",children:p.previous})]}),g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:225",className:"text-center",children:[g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:226",className:"text-blue-500 text-[9px]",children:"متوقع"}),g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:227",className:"text-blue-400",children:p.forecast})]}),g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:229",className:"text-center w-12",children:[g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:230",className:"text-emerald-500 text-[9px]",children:"فعلي"}),(()=>{const v=p.actual||$ae(p,n),x=new Date(`${p.date}T${p.time}`).getTime()<Date.now();return v?g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:234",className:"text-emerald-400 font-medium",children:v}):x?g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:235",className:"text-gray-600 text-[9px]",children:"لم يُعلن"}):g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:236",className:"text-gray-700",children:"—"})})()]})]})]}
240,p.id))})]},d))}),g.jsxs("div",{"data-loc":"client/src/components/EconomicCalendar.tsx:248",className:"mt-3 pt-3 border-t border-[#1f2937] flex items-center justify-between",children:[g.jsx("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:249",className:"text-[10px] text-gray-600",children:"التوقيت بتوقيت الرياض (GMT+3)"}),g.jsxs("p",{"data-loc":"client/src/components/EconomicCalendar.tsx:252",className:"text-[10px] text-gray-600",children:[e.filter(d=>d.impact==="high").length," أحداث عالية التأثير"]})]})]})}function ln(e,t,n,r,i=30){const s=[];let l=e;for(let u=0;u<i;u++){const f=Math.sin((u+r)*.5)*t*.6,d=Math.cos((u+r)*.3)*t*.3,m=Math.sin((u+r)*.8)*t*.1,p=n*u*.01;l=e+f+d+m+p,s.push(parseFloat(l.toFixed(2)))}return s}function di(e){if(e.length<2)return 0;const t=e[e.length-1],n=e[e.length-2];return parseFloat(((t-n)/n*100).toFixed(2))}const co=ln(5420,80,15,1),Ed=ln(17200,250,20,2),uo=ln(104.5,1.2,-.5,3),Nc=ln(2340,30,10,4),jd=ln(78.5,3,-1,5),Br=ln(14.5,2.5,.5,6),zae=[{id:"sp500",name:"إس آند بي 500",nameEn:"S&P 500",currentValue:co[co.length-1],dailyChange:di(co),sparklineData:co},{id:"nasdaq",name:"ناسداك",nameEn:"Nasdaq",currentValue:Ed[Ed.length-1],dailyChange:di(Ed),sparklineData:Ed},{id:"dxy",name:"مؤشر الدولار",nameEn:"DXY",currentValue:uo[uo.length-1],dailyChange:di(uo),sparklineData:uo},{id:"gold",name:"الذهب",nameEn:"Gold",currentValue:Nc[Nc.length-1],dailyChange:di(Nc),sparklineData:Nc,unit:"$/oz"},{id:"oil",name:"النفط",nameEn:"Oil",currentValue:jd[jd.length-1],dailyChange:di(jd),sparklineData:jd,unit:"$/bbl"},{id:"vix",name:"مؤشر التقلب",nameEn:"VIX",currentValue:Br[Br.length-1],dailyChange:di(Br),sparklineData:Br}],Lae=[{id:"cpi",name:"معدل التضخم",value:3.4,unit:"%",previousValue:3.5,status:"falling",description:"مؤشر أسعار المستهلك (CPI) — سنوي"},{id:"unemployment",name:"معدل البطالة",value:4.3,unit:"%",previousValue:3.9,status:"rising",description:"معدل البطالة الأمريكي — شهري"},{id:"fedRate",name:"سعر الفائدة",value:3.625,unit:"%",previousValue:4.5,status:"falling",description:"سعر الفائدة الفيدرالي الأمريكي (3.50%–3.75%)"},{id:"yield10y",name:"عائد السندات 10Y",value:4.28,unit:"%",previousValue:4.32,status:"falling",description:"عائد سندات الخزانة لأجل 10 سنوات"}];function Bae(){const e=Br[Br.length-1],t=Math.min(e/40*100,100),n=Math.min(3.4/5*100,100),r=Math.min(4.28/6*100,100),i=t*.4+n*.3+r*.3;return parseFloat(i.toFixed(1))}function Uae(e){return e<20?{level:"low",label:"منخفض"}:e<40?{level:"moderate",label:"معتدل"}:e<60?{level:"elevated",label:"مرتفع"}:e<80?{level:"high",label:"عالٍ"}:{level:"extreme",label:"حرج"}}const Vk=Bae(),{level:Hae,label:Gae}=Uae(Vk),Rw={score:Vk,level:Hae,label:Gae,factors:[{name:"مؤشر التقلب (VIX)",contribution:40},{name:"معدل التضخم (CPI)",contribution:30},{name:"عائد السندات (10Y)",contribution:30}]};function lx(e){return e.map((t,n)=>({day:n+1,date:`يوم ${n+1}`,value:t}))}lx(co),lx(Nc),lx(uo);const Ih=[{id:"tech",name:"التكنولوجيا",nameEn:"Technology",change:2.34,marketCap:"14.2T",volume:"عالي"},{id:"health",name:"الرعاية الصحية",nameEn:"Healthcare",change:.87,marketCap:"7.1T",volume:"متوسط"},{id:"finance",name:"القطاع المالي",nameEn:"Financials",change:-1.12,marketCap:"8.9T",volume:"عالي"},{id:"energy",name:"الطاقة",nameEn:"Energy",change:-2.45,marketCap:"5.3T",volume:"عالي جداً"},{id:"consumer",name:"السلع الاستهلاكية",nameEn:"Consumer Disc.",change:1.56,marketCap:"6.8T",volume:"متوسط"},{id:"industrial",name:"الصناعة",nameEn:"Industrials",change:.23,marketCap:"5.7T",volume:"منخفض"},{id:"materials",name:"المواد الأساسية",nameEn:"Materials",change:-.67,marketCap:"2.9T",volume:"منخفض"},{id:"utilities",name:"المرافق",nameEn:"Utilities",change:.45,marketCap:"1.6T",volume:"منخفض"},{id:"realestate",name:"العقارات",nameEn:"Real Estate",change:-1.89,marketCap:"2.1T",volume:"متوسط"},{id:"telecom",name:"الاتصالات",nameEn:"Telecom",change:.12,marketCap:"3.4T",volume:"منخفض"},{id:"staples",name:"السلع الأساسية",nameEn:"Consumer Staples",change:-.34,marketCap:"4.2T",volume:"منخفض"}];function Fae(){const e=Br[Br.length-1],t=di(co),n=Math.max(0,Math.min(100,100-e/30*100)),r=Math.max(0,Math.min(100,50+t*20)),i=Math.round(n*.35+r*.25+55*.2+48*.2);let s,l;i<20?(s="extreme_fear",l="خوف شديد"):i<40?(s="fear",l="خوف"):i<60?(s="neutral",l="محايد"):i<80?(s="greed",l="طمع"):(s="extreme_greed",l="طمع شديد");const u=[];for(let f=0;f<30;f++){const m=Math.sin(f*.4)*20+Math.cos(f*.2)*10;u.push(Math.round(Math.max(5,Math.min(95,50+m))))}return{score:i,label:l,level:s,components:[{name:"زخم السوق",value:Math.round(r),signal:r>60?"greed":r<40?"fear":"neutral"},{name:"تقلبات السوق (VIX)",value:Math.round(n),signal:n>60?"greed":n<40?"fear":"neutral"},{name:"قوة السعر",value:55,signal:"neutral"},{name:"اتساع السوق",value:48,signal:"neutral"}
240,{name:"الملاذات الآمنة",value:62,signal:"greed"}],history:u}}const $h=Fae(),Yae=[{id:"unemp-jun",date:"2026-06-06",time:"15:30",event:"معدل البطالة الأمريكي — مايو",country:"🇺🇸",impact:"high",previous:"3.9%",forecast:"4.0%",actual:"4.3%"},{id:"ecb-jun11",date:"2026-06-11",time:"13:15",event:"قرار الفائدة الأوروبي (ECB)",country:"🇪🇺",impact:"high",previous:"2.40%",forecast:"2.25%",actual:"2.25%"},{id:"1",date:"2026-06-11",time:"15:30",event:"مؤشر أسعار المستهلك (CPI) — مايو",country:"🇺🇸",impact:"high",previous:"2.3%",forecast:"2.4%",actual:"4.2%"},{id:"2",date:"2026-06-12",time:"15:30",event:"مؤشر أسعار المنتجين (PPI) — مايو",country:"🇺🇸",impact:"medium",previous:"2.4%",forecast:"2.5%",actual:"شهري +1.1% | سنوي 6.5%"},{id:"3",date:"2026-06-13",time:"17:00",event:"ثقة المستهلك — ميشيغان (UoM)",country:"🇺🇸",impact:"medium",previous:"52.2",forecast:"53.0",actual:"50.8"},{id:"boj-jun16",date:"2026-06-16",time:"03:00",event:"قرار الفائدة الياباني (BOJ)",country:"🇯🇵",impact:"high",previous:"0.50%",forecast:"0.75%",actual:"1.00%"},{id:"fomc-jun17",date:"2026-06-17",time:"21:00",event:"قرار الفائدة الفيدرالي (FOMC)",country:"🇺🇸",impact:"high",previous:"4.25%–4.50%",forecast:"4.25%–4.50%",actual:"3.50%–3.75%"},{id:"uk-cpi-jun",date:"2026-06-18",time:"09:00",event:"مؤشر أسعار المستهلك البريطاني (CPI) — مايو",country:"🇬🇧",impact:"high",previous:"3.5%",forecast:"3.0%",actual:"2.8%"},{id:"4",date:"2026-06-18",time:"15:30",event:"طلبات إعانة البطالة الأسبوعية",country:"🇺🇸",impact:"medium",previous:"229K",forecast:"225K",actual:"229,000 طلب"},{id:"5",date:"2026-06-23",time:"16:45",event:"مؤشر مديري المشتريات (PMI) التصنيعي",country:"🇺🇸",impact:"medium",previous:"48.5",forecast:"49.0"},{id:"6",date:"2026-06-24",time:"11:00",event:"مؤشر IFO لمناخ الأعمال",country:"🇩🇪",impact:"medium",previous:"87.5",forecast:"88.0"},{id:"7",date:"2026-06-25",time:"17:00",event:"ثقة المستهلك (CB)",country:"🇺🇸",impact:"medium",previous:"98.0",forecast:"97.5"},{id:"8",date:"2026-07-02",time:"15:30",event:"تقرير سوق العمل (NFP) — يونيو",country:"🇺🇸",impact:"high",previous:"139K",forecast:"150K"},{id:"9",date:"2026-07-10",time:"15:30",event:"مؤشر أسعار المستهلك (CPI) — يونيو",country:"🇺🇸",impact:"high",previous:"2.4%",forecast:"2.3%"},{id:"10",date:"2026-07-30",time:"21:00",event:"اجتماع الفيدرالي — قرار الفائدة",country:"🇺🇸",impact:"high",previous:"4.25%",forecast:"4.25%"}],Qk=[{id:"fed",name:"الاحتياطي الفيدرالي",nameEn:"Federal Reserve",country:"🇺🇸",balanceSheet:7.4,change:-2.8,trend:"contracting",historySeries:ln(7.8,.3,-3,10,12)}
240,{id:"ecb",name:"البنك المركزي الأوروبي",nameEn:"ECB",country:"🇪🇺",balanceSheet:6.9,change:-3.2,trend:"contracting",historySeries:ln(7.2,.25,-2.5,11,12)},{id:"boj",name:"بنك اليابان",nameEn:"BOJ",country:"🇯🇵",balanceSheet:5.1,change:1.5,trend:"expanding",historySeries:ln(4.9,.15,1.5,12,12)},{id:"pboc",name:"بنك الشعب الصيني",nameEn:"PBOC",country:"🇨🇳",balanceSheet:5.8,change:2.1,trend:"expanding",historySeries:ln(5.5,.2,2,13,12)}];Qk.reduce((e,t)=>e+t.balanceSheet,0);const aS=[{maturity:"1M",maturityAr:"شهر",yield:5.53,previousYield:5.55},{maturity:"3M",maturityAr:"3 أشهر",yield:5.48,previousYield:5.5},{maturity:"6M",maturityAr:"6 أشهر",yield:5.39,previousYield:5.42},{maturity:"1Y",maturityAr:"سنة",yield:5.12,previousYield:5.18},{maturity:"2Y",maturityAr:"سنتان",yield:4.72,previousYield:4.8},{maturity:"3Y",maturityAr:"3 سنوات",yield:4.45,previousYield:4.52},{maturity:"5Y",maturityAr:"5 سنوات",yield:4.28,previousYield:4.35},{maturity:"7Y",maturityAr:"7 سنوات",yield:4.3,previousYield:4.38},{maturity:"10Y",maturityAr:"10 سنوات",yield:4.28,previousYield:4.32},{maturity:"20Y",maturityAr:"20 سنة",yield:4.55,previousYield:4.58},{maturity:"30Y",maturityAr:"30 سنة",yield:4.45,previousYield:4.48}],O5=parseFloat((aS.find(e=>e.maturity==="10Y").yield-aS.find(e=>e.maturity==="2Y").yield).toFixed(2)),Kae=[{id:"eurusd",pair:"EUR/USD",name:"اليورو / الدولار",rate:1.0845,change:-.0023,changePercent:-.21,sparkline:ln(1.085,.008,-.5,20),strength:42},{id:"gbpusd",pair:"GBP/USD",name:"الجنيه / الدولار",rate:1.2715,change:.0018,changePercent:.14,sparkline:ln(1.27,.01,.3,21),strength:55},{id:"usdjpy",pair:"USD/JPY",name:"الدولار / الين",rate:157.42,change:.85,changePercent:.54,sparkline:ln(156.5,1.5,1.5,22),strength:72},{id:"usdcny",pair:"USD/CNY",name:"الدولار / اليوان",rate:7.251,change:.012,changePercent:.17,sparkline:ln(7.24,.03,.5,23),strength:65},{id:"usdchf",pair:"USD/CHF",name:"الدولار / الفرنك",rate:.8925,change:.0035,changePercent:.39,sparkline:ln(.89,.005,.3,24),strength:60},{id:"audusd",pair:"AUD/USD",name:"الأسترالي / الدولار",rate:.6645,change:-.0015,changePercent:-.23,sparkline:ln(.665,.005,-.3,25),strength:38}];function Vae(){const e=Br[Br.length-1],t=di(co),n=O5<0;let r,i;$h.score>60&&t>0&&!n?(r="bullish",i="إيجابي"):$h.score<30||n&&e>25?(r="bearish",i="سلبي"):n||e>18?(r="cautious",i="حذر"):(r="neutral",i="محايد");const s=n?"منحنى العائد مقلوب — إشارات ركود مع تشديد نقدي مستمر":t>0?"الأسواق في صعود مع استقرار نسبي في التقلبات":"ضغÙ
240ˆØ· بيعية على الأسهم وسط ترقب لقرارات الفيدرالي",l=[];e<15?l.push("مؤشر التقلب (VIX) عند مستويات هادئة — السوق مطمئن"):e<20?l.push("مؤشر التقلب (VIX) معتدل — لا قلق كبير لكن الحذر مطلوب"):l.push("مؤشر التقلب (VIX) مرتفع — السوق في حالة توتر"),n?l.push(`منحنى العائد مقلوب بفارق ${Math.abs(O5)}% — احتمال ركود خلال 12-18 شهراً`):l.push("منحنى العائد طبيعي — لا إشارات ركود حالياً");const u=Ih.reduce((x,O)=>x.change>O.change?x:O),f=Ih.reduce((x,O)=>x.change<O.change?x:O);l.push(`${u.name} يقود الصعود (+${u.change.toFixed(2)}%) بينما ${f.name} تحت ضغط (${f.change.toFixed(2)}%)`),Qk.filter(x=>x.trend==="contracting").length>1&&l.push("تشديد كمي من البنوك المركزية الكبرى — السيولة العالمية في انكماش");const m=uo[uo.length-1],p=m>=105?"قوي":m>=100?"معتدل":"ضعيف";l.push(`الدولار ${p} (DXY: ${m.toFixed(2)}) — ضغط على الذهب والأسواق الناشئة`);let v;return r==="bullish"?v="البيئة مواتية للمخاطرة المحسوبة مع التركيز على قطاعات النمو":r==="bearish"?v="تقليل التعرض للأسهم وزيادة الملاذات الآمنة (ذهب + سندات قصيرة)":r==="cautious"?v="الحذر مطلوب — تنويع المحفظة وتقليل الرافعة المالية مع مراقبة قرارات الفيدرالي":v="الحفاظ على التوزيع الحالي مع مراقبة التطورات الاقتصادية القادمة",{overallSentiment:r,sentimentLabel:i,headline:s,keyPoints:l,riskLevel:Rw.label,recommendation:v,lastUpdated:new Date().toLocaleTimeString("ar-SA",{hour:"2-digit",minute:"2-digit"})}}Vae();function Qae({liveData:e,liveCalendarData:t,fredActuals:n}){const r=e?.marketIndices?.length>0?e.marketIndices.map(l=>({id:l.id,name:l.name,nameEn:l.nameEn,currentValue:l.value||0,dailyChange:l.changePercent||0,sparklineData:l.sparkline||[0],unit:l.unit})):zae,i=e?.sectors?.length>0?e.sectors.map((l,u)=>({id:l.id||l.nameEn?.toLowerCase().replace(/\s+/g,"-")||`sector-${u}`,name:l.name,nameEn:l.nameEn,change:l.change??0,marketCap:l.marketCap||"N/A",volume:l.volume||"N/A"})):Ih,s=t?.length>0?t.map(l=>({id:l.id,date:l.date,time:l.time,country:l.flag,event:l.event,impact:l.impact,forecast:l.forecast,previous:l.previous,actual:l.actual})):Yae;return g.jsxs("div",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:65",className:"space-y-6",children:[g.jsx(Cae,{"data-loc":"client/src/components/tabs/OverviewTab.tsx:67"}),g.jsxs("section",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:70",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:71",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:72",className:"w-1 h-5 rounded-full bg-emerald-500"}),g.jsx("h2",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:73",className:"text-base font-bold text-white",children:"نظرة عامة على السوق"}),g.jsx("span",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:74",className:"text-xs text-gray-500 mr-2",children:"MARKET OVERVIEW"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:76",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 gap-4",children:r.map((l,u)=>g.jsx(Eae,{"data-loc":"client/src/components/tabs/OverviewTab.tsx:78",index:l,delay:u*60},l.id))})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:84",className:"grid grid-cols-1 lg:grid-cols-4 gap-6",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:85",className:"lg:col-span-2",children:g.jsx(Nae,{"data-loc":"client/src/components/tabs/OverviewTab.tsx:86",indicators:Lae})}),g.jsx("div",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:88",children:g.jsx(Fk,{"data-loc":"client/src/components/tabs/OverviewTab.tsx:89",data:Rw,delay:400})}),g.jsx("div",{"data-loc":"client/src/components/tabs/OverviewTab.tsx:91",children:g.jsx(Yk,{"data-loc":"client/src/components/tabs/OverviewTab.tsx:92",data:$h,delay:450})})]}),g.jsx(Kk,{"data-loc":"client/src/components/tabs/OverviewTab.tsx:97",data:i,delay:500}),g.jsx(qae,{"data-loc":"client/src/components/tabs/OverviewTab.tsx:100",events:s,delay:700,fredActuals:n})]})}const Xae=[{name:"البنوك",nameEn:"Banks",change:1.2,weight:42},{name:"المواد الأساسية",nameEn:"Materials",change:-.8,weight:18},{name:"الطاقة",nameEn:"Energy",change:.5,weight:12},{name:"الاتصالات",nameEn:"Telecom",change:.3,weight:8},{name:"التأمين",nameEn:"Insurance",change:-1.5,weight:4},{name:"التجزئة",nameEn:"Retail",change:2.1,weight:5}
240,{name:"العقار",nameEn:"Real Estate",change:-.2,weight:6},{name:"الرعاية الصحية",nameEn:"Healthcare",change:.9,weight:5}];function Wae(){const e=[];let t=11800;for(let n=0;n<30;n++)t+=Math.sin(n*.5)*50+Math.cos(n*.3)*30,e.push({day:n+1,value:Math.round(t)});return e}function Zae({liveData:e}){const t=$.useMemo(()=>Wae(),[]),n=t[t.length-1].value,r=t[t.length-2].value,i=n-r,s=(i/r*100).toFixed(2),l=3.75,u=e?.marketIndices?.find(d=>d.id==="oil")?.value||81,f=e?.marketIndices?.find(d=>d.id==="gold")?.value||4335;return g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:46",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:48",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:49",className:"flex items-center justify-between mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:50",children:g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:51",className:"flex items-center gap-3",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:52",className:"text-2xl",children:"🇸🇦"}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:53",children:[g.jsx("h2",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:54",className:"text-xl font-bold text-white",children:"مؤشر تاسي (TASI)"}),g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:55",className:"text-xs text-gray-500",children:"السوق المالية السعودية — تداول"})]})]})}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:59",className:"text-left",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:60",className:"text-2xl font-bold text-white",children:n.toLocaleString()}),g.jsxs("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:61",className:`text-sm font-medium ${i>=0?"text-emerald-400":"text-red-400"}`,children:[i>=0?"+":"",i.toFixed(0)," (",i>=0?"+":"",s,"%)"]})]})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:66",className:"h-48",children:g.jsx(Tr,{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:67",width:"100%",height:"100%",children:g.jsxs(wl,{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:68",data:t,children:[g.jsx("defs",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:69",children:g.jsxs("linearGradient",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:70",id:"tasiGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[g.jsx("stop",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:71",offset:"5%",stopColor:"#10b981",stopOpacity:.3}),g.jsx("stop",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:72",offset:"95%",stopColor:"#10b981",stopOpacity:0})]})}),g.jsx(Yn,{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:75",dataKey:"day",hide:!0}),g.jsx(Kn,{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:76",hide:!0,domain:["dataMin - 50","dataMax + 50"]}),g.jsx(Wt,{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:77",contentStyle:{background:"#1a1f36",border:"1px solid #2d3548",borderRadius:"8px",direction:"rtl"},labelFormatter:d=>`يوم ${d}`,formatter:d=>[d.toLocaleString(),"تاسي"]}),g.jsx(jn,{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:82",type:"monotone",dataKey:"value",stroke:"#10b981",strokeWidth:2,fill:"url(#tasiGradient)"})]})})})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:89",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:91",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-4",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:92",className:"flex items-center gap-2 mb-2",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:93",className:"text-lg",children:"💵"}),g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:94",className:"text-xs text-gray-500",children:"USD/SAR"})]}),g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:96",className:"text-xl font-bold text-white",children:l.toFixed(4)}),g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:97",className:"text-xs text-gray-500 mt-1",children:"ربط ثابت بالدولار"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:101",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-4",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:102",className:"flex items-center gap-2 mb-2",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:103",className:"text-lg",children:"🛢️"}),g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:104",className:"text-xs text-gray-500",children:"تأثير النفط"})]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:106",className:"text-xl font-bold text-white",children:["$",u.toFixed(2)]}),g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:107",className:`text-xs mt-1 ${u>75?"text-emerald-400":"text-red-400"}`,children:u>75?"إيجابي لميزانية المملكة":"ضغط على الميزانية"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:113",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-4",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:114",className:"flex items-center gap-2 mb-2",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:115",className:"text-lg",children:"🥇"}),g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:116",className:"text-xs text-gray-500",children:"الذهب بالريال"})]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:118",className:"text-xl font-bold text-amber-400",children:[(f*l).toLocaleStr
240ing(void 0,{maximumFractionDigits:0})," ر.س"]}),g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:121",className:"text-xs text-gray-500 mt-1",children:"للأونصة الواحدة"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:125",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-4",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:126",className:"flex items-center gap-2 mb-2",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:127",className:"text-lg",children:"⏰"}),g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:128",className:"text-xs text-gray-500",children:"حالة السوق"})]}),(()=>{const m=new Date().getHours(),p=m>=10&&m<15;return g.jsxs(g.Fragment,{children:[g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:136",className:`text-xl font-bold ${p?"text-emerald-400":"text-gray-400"}`,children:p?"مفتوح":"مغلق"}),g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:139",className:"text-xs text-gray-500 mt-1",children:p?"الجلسة: 10:00 - 15:00":"يفتح: الأحد - الخميس 10:00"})]})})()]})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:149",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:150",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:151",className:"w-1 h-5 rounded-full bg-emerald-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:152",className:"text-base font-bold text-white",children:"القطاعات السعودية"}),g.jsx("span",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:153",className:"text-xs text-gray-500 mr-2",children:"SAUDI SECTORS"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:155",className:"grid grid-cols-2 sm:grid-cols-4 gap-3",children:Xae.map(d=>g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:157",className:`rounded-lg p-3 border ${d.change>=0?"bg-emerald-500/5 border-emerald-500/20":"bg-red-500/5 border-red-500/20"}`,children:[g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:165",className:"text-xs text-gray-400 mb-1",children:d.name}),g.jsxs("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:166",className:`text-lg font-bold ${d.change>=0?"text-emerald-400":"text-red-400"}`,children:[d.change>=0?"+":"",d.change,"%"]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:169",className:"text-xs text-gray-600 mt-1",children:["وزن: ",d.weight,"%"]})]},d.nameEn))})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:176",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:177",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:178",className:"w-1 h-5 rounded-full bg-amber-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:179",className:"text-base font-bold text-white",children:"تأثير الأسواق العالمية على السعودية"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:181",className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:182",className:"bg-[#0a0e1a] rounded-lg p-4",children:[g.jsx("h4",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:183",className:"text-sm font-medium text-amber-400 mb-2",children:"🛢️ النفط والميزانية"}),g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:184",className:"text-xs text-gray-400 leading-relaxed",children:u>80?"أسعار النفط فوق 80$ تدعم الميزانية السعودية وتعزز الإنفاق الحكومي على مشاريع رؤية 2030.":u>60?"أسعار النفط في نطاق معتدل — الميزانية متوازنة لكن بدون فوائض كبيرة.":"أسعار النفط تحت ضغط — قد يؤثر على وتيرة الإنفاق الحكومي."})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:192",className:"bg-[#0a0e1a] rounded-lg p-4",children:[g.jsx("h4",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:193",className:"text-sm font-medium text-blue-400 mb-2",children:"💵 الدولار والريال"}),g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:194",className:"text-xs text-gray-400 leading-relaxed",children:"الريال مربوط بالدولار (3.75). قوة الدولار عالمياً تعني قوة شرائية أعلى للريال مقابل العملات الأخرى، لكنها قد تضغط على صادرات غير النفط."})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:198",className:"bg-[#0a0e1a] rounded-lg p-4",children:[g.jsx("h4",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:199",className:"text-sm font-medium text-emerald-400 mb-2",children:"📊 الفائدة والسيولة"}),g.jsx("p",{"data-loc":"client/src/components/tabs/SaudiMarketTab.tsx:200",className:"text-xs text-gray-400 leading-relaxed",children:"ساما تتبع الفيدرالي في الفائدة بسبب ربط العملة. أي خفض أمريكي = خفض سعودي = سيولة أكبر في السوق المحلي."})]})]})]})]})}const Jae=[{country:"🇺🇸 أمريكا",gdp:2.1,prev:2.4},{country:"🇪🇺 أوروبا",gdp:.8,prev:.6}
240,{country:"🇨🇳 الصين",gdp:5.2,prev:5.3},{country:"🇯🇵 اليابان",gdp:1.1,prev:.9},{country:"🇬🇧 بريطانيا",gdp:.6,prev:.3},{country:"🇸🇦 السعودية",gdp:3.8,prev:4.1}],eie=[{month:"يناير",us:50.9,eu:46.6,cn:49.2},{month:"فبراير",us:51.5,eu:47,cn:50.1},{month:"مارس",us:50.3,eu:47.5,cn:50.8},{month:"أبريل",us:51.3,eu:48.2,cn:51.1},{month:"مايو",us:52.1,eu:48.8,cn:50.5},{month:"يونيو",us:51.8,eu:49.1,cn:50.2}],tie=[{name:"الإنتاج الصناعي (أمريكا)",value:"0.4%",trend:"up",prev:"0.1%"},{name:"مبيعات التجزئة (أمريكا)",value:"0.2%",trend:"down",prev:"0.7%"},{name:"ثقة المستهلك",value:"102.3",trend:"up",prev:"97.5"},{name:"طلبيات المصانع",value:"0.7%",trend:"up",prev:"-0.5%"},{name:"الميزان التجاري",value:"-74.6B",trend:"down",prev:"-68.9B"},{name:"PMI الخدمات (أمريكا)",value:"53.8",trend:"up",prev:"51.3"}];function nie({liveData:e}){return g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:36",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:38",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:39",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:40",className:"w-1 h-5 rounded-full bg-blue-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:41",className:"text-base font-bold text-white",children:"الناتج المحلي الإجمالي (GDP) — نمو سنوي"}),g.jsx("span",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:42",className:"text-xs text-gray-500 mr-2",children:"GDP GROWTH"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:44",className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-3",children:Jae.map(t=>g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:46",className:"bg-[#0a0e1a] rounded-lg p-3 text-center",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:47",className:"text-sm mb-2",children:t.country}),g.jsxs("p",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:48",className:`text-xl font-bold ${t.gdp>=2?"text-emerald-400":t.gdp>=1?"text-amber-400":"text-red-400"}`,children:[t.gdp,"%"]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:51",className:"text-xs text-gray-600 mt-1",children:["سابق: ",t.prev,"%"]})]},t.country))})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:58",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:59",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:60",className:"w-1 h-5 rounded-full bg-purple-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:61",className:"text-base font-bold text-white",children:"مؤشر مديري المشتريات (PMI) — التصنيعي"}),g.jsx("span",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:62",className:"text-xs text-gray-500 mr-2",children:"MANUFACTURING PMI"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:64",className:"h-64",children:g.jsx(Tr,{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:65",width:"100%",height:"100%",children:g.jsxs(Pw,{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:66",data:eie,children:[g.jsx(Yn,{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:67",dataKey:"month",tick:{fill:"#6b7280",fontSize:11}}),g.jsx(Kn,{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:68",domain:[44,54],tick:{fill:"#6b7280",fontSize:11}}),g.jsx(Wt,{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:69",contentStyle:{background:"#1a1f36",border:"1px solid #2d3548",borderRadius:"8px",direction:"rtl"}}),g.jsx(dn,{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:72",type:"monotone",dataKey:"us",stroke:"#10b981",strokeWidth:2,name:"أمريكا",dot:!1}),g.jsx(dn,{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:73",type:"monotone",dataKey:"eu",stroke:"#6366f1",strokeWidth:2,name:"أوروبا",dot:!1}),g.jsx(dn,{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:74",type:"monotone",dataKey:"cn",stroke:"#f59e0b",strokeWidth:2,name:"الصين",dot:!1}),g.jsx(dn,{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:76",type:"monotone",dataKey:()=>50,stroke:"#374151",strokeWidth:1,strokeDasharray:"5 5",dot:!1,name:"خط 50"})]})})}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:80",className:"flex items-center justify-center gap-6 mt-3",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:81",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:81",className:"w-3 h-0.5 bg-emerald-500"}),g.jsx("span",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:81",className:"text-xs text-gray-400",children:"أمريكا"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:82",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:82",className:"w-3 h-0.5 bg-indigo-500"}),g.jsx("span",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:82",className:"text-xs text-gray-400",children:"أوروبا"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:83",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:83",className:"w-3 h-0.5 bg-amber-500"}),g.jsx("span",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:83",className:"text-xs text-gray-400",children:"الصين"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:84",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:84",className:"w-3 h-0.5 bg-gray-600 border-dashed"}),g.jsx("span",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:84",className:"text-xs text-gray-600",children:"خط التوسع (50)"})]})]})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:89",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:90",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:91",className:"w-1 h-5 rounded-full bg-cyan-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:92",className:"text-base font-bold text-white",children:"المؤشرات الاقتصادية الرئيسية"}),g.jsx("span",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:93",className:"text-xs text-gray-500 mr-2",children:"KEY INDICATORS"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:95",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:tie.map(t=>g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:97",className:"bg-[#0a0e1a] rounded-lg p-3 flex items-center justify-between",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:98",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:99",className:"text-xs text-gray-400",children:t.name}),g.jsx("p",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:100",className:"text-sm font-bold text-white mt-1",children:t.value})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:102",className:"text-left",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:103",className:`text-xs ${t.trend==="up"?"text-emerald-400":"text-red-400"}`,children:t.trend==="up"?"▲":"▼"}),g.jsxs("p",{"data-loc":"client/src/components/tabs/MacroEconomyTab.tsx:106",className:"text-xs text-gray-600",children:["سابق: ",t.prev]})]})]},t.name))})]})]})}function rie(e){if(!e||e.includes("يتبع"))return e;const t={يناير:0,فبراير:1,مارس:2,أبريل:3,مايو:4,يونيو:5,يوليو:6,أغسطس:7,سبتمبر:8,أكتوبر:9,نوفمبر:10,ديسمبر:11},n=e.split(" ");if(n.length<3)return e;const r=parseInt(n[0]),i=t[n[1]],s=parseInt(n[2]);if(isNaN(r)||i===void 0||isNaN(s))return e;const l=new Date(s,i,r),u=new Date,f=Math.ceil((l.getTime()-u.getTime())/(1e3*60*60*24));return f<-1?`انعقد ${e}`:f<=1&&f>=-1?`اليوم / ${e}`:e}const Xk=[{name:"الفيدرالي الأمريكي",nameEn:"Fed",rate:3.625,prev:4.5,next:"30 يوليو 2026",flag:"🇺🇸",trend:"cut"}
240,{name:"البنك المركزي الأوروبي",nameEn:"ECB",rate:2.25,prev:2.5,next:"24 يوليو 2026",flag:"🇪🇺",trend:"cut"},{name:"بنك إنجلترا",nameEn:"BOE",rate:4.25,prev:4.5,next:"7 أغسطس 2026",flag:"🇬🇧",trend:"cut"},{name:"بنك اليابان",nameEn:"BOJ",rate:1,prev:.5,next:"31 يوليو 2026",flag:"🇯🇵",trend:"hike"},{name:"ساما (السعودية)",nameEn:"SAMA",rate:4.25,prev:5.25,next:"يتبع الفيدرالي",flag:"🇸🇦",trend:"cut"},{name:"بنك الشعب الصيني",nameEn:"PBOC",rate:3.1,prev:3.35,next:"20 يوليو 2026",flag:"🇨🇳",trend:"cut"}],_5=Xk.map(e=>({name:e.nameEn,rate:e.rate,color:e.trend==="hike"?"#ef4444":e.trend==="cut"?"#10b981":"#6366f1"})),aie=[{bank:"Fed",size:7.1,unit:"تريليون $",change:-.8,period:"سنوي"},{bank:"ECB",size:6.2,unit:"تريليون €",change:-1.2,period:"سنوي"},{bank:"BOJ",size:4.4,unit:"تريليون $",change:.3,period:"سنوي"},{bank:"PBOC",size:6.7,unit:"تريليون $",change:.5,period:"سنوي"}];function iie({liveData:e}){return g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:51",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:53",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:54",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:55",className:"w-1 h-5 rounded-full bg-indigo-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:56",className:"text-base font-bold text-white",children:"أسعار الفائدة — البنوك المركزية"}),g.jsx("span",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:57",className:"text-xs text-gray-500 mr-2",children:"INTEREST RATES"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:59",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Xk.map(t=>g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:61",className:"bg-[#0a0e1a] rounded-lg p-4 border border-gray-800/30",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:62",className:"flex items-center justify-between mb-3",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:63",className:"flex items-center gap-2",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:64",className:"text-xl",children:t.flag}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:65",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:66",className:"text-sm font-medium text-white",children:t.name}),g.jsx("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:67",className:"text-xs text-gray-500",children:t.nameEn})]})]}),g.jsx("span",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:70",className:`text-xs px-2 py-0.5 rounded-full ${t.trend==="hike"?"bg-red-500/10 text-red-400":t.trend==="cut"?"bg-emerald-500/10 text-emerald-400":"bg-blue-500/10 text-blue-400"}`,children:t.trend==="hike"?"رفع":t.trend==="cut"?"خفض":"تثبيت"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:78",className:"flex items-end justify-between",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:79",children:[g.jsxs("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:80",className:"text-2xl font-bold text-white",children:[t.rate,"%"]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:81",className:"text-xs text-gray-600 mt-1",children:["سابق: ",t.prev,"%"]})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:83",className:"text-left",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:84",className:"text-xs text-gray-500",children:"اجتماع الفائدة"}),g.jsx("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:85",className:"text-xs text-gray-300",children:rie(t.next)})]})]})]},t.nameEn))})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:94",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:95",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:96",className:"w-1 h-5 rounded-full bg-amber-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:97",className:"text-base font-bold text-white",children:"مقارنة أسعار الفائدة"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:99",className:"h-48",children:g.jsx(Tr,{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:100",width:"100%",height:"100%",children:g.jsxs(Gk,{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:101",data:_5,layout:"vertical",children:[g.jsx(Yn,{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:102",type:"number",domain:[0,6],tick:{f
240ill:"#6b7280",fontSize:11}}),g.jsx(Kn,{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:103",type:"category",dataKey:"name",tick:{fill:"#9ca3af",fontSize:11},width:50}),g.jsx(Wt,{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:104",contentStyle:{background:"#1a1f36",border:"1px solid #2d3548",borderRadius:"8px"},formatter:t=>[`${t}%`,"الفائدة"]}),g.jsx(Ci,{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:108",dataKey:"rate",radius:[0,4,4,0],children:_5.map((t,n)=>g.jsx(pp,{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:110",fill:t.color},n))})]})})})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:119",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:120",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:121",className:"w-1 h-5 rounded-full bg-cyan-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:122",className:"text-base font-bold text-white",children:"الميزانيات العمومية للبنوك المركزية"}),g.jsx("span",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:123",className:"text-xs text-gray-500 mr-2",children:"BALANCE SHEETS"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:125",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:aie.map(t=>g.jsxs("div",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:127",className:"bg-[#0a0e1a] rounded-lg p-4 text-center",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:128",className:"text-sm font-medium text-gray-300 mb-2",children:t.bank}),g.jsx("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:129",className:"text-xl font-bold text-white",children:t.size}),g.jsx("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:130",className:"text-xs text-gray-500",children:t.unit}),g.jsxs("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:131",className:`text-xs mt-2 ${t.change>0?"text-red-400":"text-emerald-400"}`,children:[t.change>0?"+":"",t.change,"% ",t.period]})]},t.bank))}),g.jsx("p",{"data-loc":"client/src/components/tabs/MonetaryPolicyTab.tsx:137",className:"text-xs text-gray-600 mt-4 text-center",children:"تقليص الميزانية = سحب سيولة من الأسواق | توسيع = ضخ سيولة"})]})]})}const oie=[{month:"يناير",us:3.1,eu:2.8,uk:4,sa:1.6},{month:"فبراير",us:3.2,eu:2.6,uk:3.8,sa:1.5},{month:"مارس",us:3.5,eu:2.4,uk:3.5,sa:1.7},{month:"أبريل",us:3.4,eu:2.4,uk:3.2,sa:1.6},{month:"مايو",us:3.3,eu:2.5,uk:2.8,sa:1.5},{month:"يونيو",us:3.2,eu:2.3,uk:2.5,sa:1.4}],T5=[{month:"يناير",nfp:256,unemployment:4},{month:"فبراير",nfp:151,unemployment:4.1},{month:"مارس",nfp:228,unemployment:4.2},{month:"أبريل",nfp:177,unemployment:4.2},{month:"مايو",nfp:139,unemployment:4.2},{month:"يونيو",nfp:165,unemployment:4.1}],sie=[{name:"CPI (أمريكا)",value:"3.2%",target:"2.0%",status:"above"},{name:"Core CPI",value:"3.4%",target:"2.0%",status:"above"},{name:"PPI (أمريكا)",value:"2.5%",target:"—",status:"neutral"},{name:"PCE (المفضل للفيدرالي)",value:"2.6%",target:"2.0%",status:"above"},{name:"CPI (السعودية)",value:"1.4%",target:"—",status:"low"},{name:"CPI (أوروبا)",value:"2.3%",target:"2.0%",status:"near"}],lie=[{name:"NFP (وظائف جديدة)",value:"139K",prev:"177K",trend:"down"},{name:"معدل البطالة",value:"4.2%",prev:"4.2%",trend:"flat"},{name:"JOLTS (فرص عمل)",value:"7.4M",prev:"7.7M",trend:"down"},{name:"معدل المشاركة",value:"62.6%",prev:"62.5%",trend:"up"},{name:"نمو الأجور (سنوي)",value:"4.1%",prev:"4.0%",trend:"up"},{name:"طلبات الإعانة",value:"242K",prev:"229K",trend:"up"}];function cie({liveData:e}){return g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:45",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:47",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:48",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:49",className:"w-1 h-5 rounded-full bg-red-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:50",className:"text-base font-bold text-white",children:"اتجاه التضخم (CPI سنوي)"}),g.jsx("span",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:51",className:"text-xs text-gray-500 mr-2",children:"INFLATION TREND"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:53",className:"h-64",children:g.jsx(Tr,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:54",width:"100%",height:"100%",children:g.jsxs(Pw,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:55",data:oie,children:[g.jsx(Yn,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:56",dataKey:"month",tick:{fill:"#6b7280",fontSize:11}}),g.jsx(Kn,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:57",domain:[0,5],tick:{f
240ill:"#6b7280",fontSize:11}}),g.jsx(Wt,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:58",contentStyle:{background:"#1a1f36",border:"1px solid #2d3548",borderRadius:"8px",direction:"rtl"}}),g.jsx(dn,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:59",type:"monotone",dataKey:"us",stroke:"#ef4444",strokeWidth:2,name:"أمريكا",dot:!1}),g.jsx(dn,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:60",type:"monotone",dataKey:"eu",stroke:"#6366f1",strokeWidth:2,name:"أوروبا",dot:!1}),g.jsx(dn,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:61",type:"monotone",dataKey:"uk",stroke:"#f59e0b",strokeWidth:2,name:"بريطانيا",dot:!1}),g.jsx(dn,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:62",type:"monotone",dataKey:"sa",stroke:"#10b981",strokeWidth:2,name:"السعودية",dot:!1}),g.jsx(dn,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:64",type:"monotone",dataKey:()=>2,stroke:"#374151",strokeWidth:1,strokeDasharray:"5 5",dot:!1,name:"هدف 2%"})]})})}),g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:68",className:"flex items-center justify-center gap-6 mt-3",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:69",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:69",className:"w-3 h-0.5 bg-red-500"}),g.jsx("span",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:69",className:"text-xs text-gray-400",children:"أمريكا"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:70",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:70",className:"w-3 h-0.5 bg-indigo-500"}),g.jsx("span",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:70",className:"text-xs text-gray-400",children:"أوروبا"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:71",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:71",className:"w-3 h-0.5 bg-amber-500"}),g.jsx("span",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:71",className:"text-xs text-gray-400",children:"بريطانيا"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:72",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:72",className:"w-3 h-0.5 bg-emerald-500"}),g.jsx("span",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:72",className:"text-xs text-gray-400",children:"السعودية"})]})]})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:77",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:78",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:79",className:"w-1 h-5 rounded-full bg-orange-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:80",className:"text-base font-bold text-white",children:"مؤشرات التضخم"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:82",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:sie.map(t=>g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:84",className:"bg-[#0a0e1a] rounded-lg p-3 flex items-center justify-between",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:85",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:86",className:"text-xs text-gray-400",children:t.name}),g.jsx("p",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:87",className:"text-lg font-bold text-white mt-1",children:t.value})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:89",className:"text-left",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:90",className:`text-xs px-2 py-0.5 rounded-full ${t.status==="above"?"bg-red-500/10 text-red-400":t.status==="near"?"bg-amber-500/10 text-amber-400":t.status==="low"?"bg-emerald-500/10 text-emerald-400":"bg-gray-500/10 text-gray-400"}`,children:t.status==="above"?"فوق الهدف":t.status==="near"?"قرب الهدف":t.status==="low"?"منخفض":"—"}),t.target!=="—"&&g.jsxs("p",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:100",className:"text-xs text-gray-600 mt-1",children:["هدف: ",t.target]})]})]},t.name))})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:108",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:109",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:110",className:"w-1 h-5 rounded-full bg-blue-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:111",className:"text-base font-bold text-white",children:"الوظائف غير الزراعية (NFP) — بالآلاف"}),g.jsx("span",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:112",className:"text-xs text-gray-500 mr-2",children:"NON-FARM PAYROLLS"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:114",className:"h-48",children:g.jsx(Tr,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:115",width:"100%",height:"100%",children:g.jsxs(Gk,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:116",data:T5,children:[g.jsx(Yn,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:117",dataKey:"month",tick:{fill:"#6b7280",fontSize:11}}),g.jsx(Kn,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:118",tick:{fill:"#6b7280",fontSize:11}}),g.jsx(Wt,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:119",contentStyle:{background:"#1a1f36",border:"1px solid #2d3548",borderRadius:"8px",direction:"rtl"}}),g.jsx(Ci,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:120",dataKey:"nfp",name:"NFP (ألف)",radius:[4,4,0,0],children:T5.map((t,n)=>g.jsx(pp,{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:122",fill:t.nfp>200?"#10b981":t.nfp>150?"#f59e0b":"#ef4444"},n))})]})})})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:131",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:132",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:133",className:"w-1 h-5 rounded-full bg-teal-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:134",className:"text-base font-bold text-white",children:"مؤشرات سوق العمل"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:136",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:lie.map(t=>g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:138",className:"bg-[#0a0e1a] rounded-lg p-3 flex items-center justify-between",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:139",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:140",className:"text-xs text-gray-400",children:t.name}),g.jsx("p",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:141",className:"text-sm font-bold text-white mt-1",children:t.value})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:143",className:"text-left",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:144",className:`text-xs ${t.trend==="up"?"text-emerald-400":t.trend==="down"?"text-red-400":"text-gray-400"}`,children:t.trend==="up"?"▲":t.trend==="down"?"▼":"—"}),g.jsxs("p",{"data-loc":"client/src/components/tabs/InflationEmploymentTab.tsx:151",className:"text-xs text-gray-600",children:["سابق: ",t.prev]})]})]},t.name))})]})]})}function uie({data:e,delay:t=0}){const n=e.find(d=>d.maturity==="10Y"),r=e.find(d=>d.maturity==="2Y"),i=e.find(d=>d.maturity==="3M"),s=r||i,l=r?"10Y - 2Y":"10Y - 3M",u=n&&s&&typeof n.yield=="number"&&typeof s.yield=="number"?parseFloat((n.yield-s.yield).toFixed(2)):null,f=u!==null&&u<0;return g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:37",className:"animate-fade-in-up rounded-xl border border-[#1f2937] bg-[#111827] p-5",style:{animationDelay:`${t}ms`},children:[g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:42",className:"flex items-center justify-between mb-4",children:[g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:43",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/components/YieldCurve.tsx:44",className:"w-1 h-5 rounded-full bg-pink-500"}),g.jsx("h2",{"data-loc":"client/src/components/YieldCurve.tsx:45",className:"text-base font-bold text-white",children:"منحنى العائد"}),g.jsx("span",{"data-loc":"client/src/components/YieldCurve.tsx:46",className:"text-xs text-gray-500 mr-2",children:"YIELD CURVE"})]}),f&&g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:49",className:"flex items-center gap-1.5 px-2.5 py-1 rounded-full bg-red-500/10 border border-red-500/20",children:[g.jsx(ep,{"data-loc":"client/src/components/YieldCurve.tsx:50",className:"w-3 h-3 text-red-400"}),g.jsx("span",{"data-loc":"client/src/components/YieldCurve.tsx:51",className:"text-[10px] font-medium text-red-400",children:"منحنى مقلوب"})]})]}),g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:57",className:"flex items-center gap-4 mb-4 p-3 rounded-lg bg-[#0a0e1a] border border-[#1f2937]",children:[g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:58",children:[g.jsxs("p",{"data-loc":"client/src/components/YieldCurve.tsx:59",className:"text-[10px] text-gray-500",children:["فارق العائد (",l,")"]}),g.jsx("p",{"data-loc":"client/src/components/YieldCurve.tsx:60",className:`text-xl font-bold tabular-nums ${f?"text-red-400":"text-emerald-400"}`,children:u!==null?`${u>=0?"+":""}${u.toFixed(2)}%`:"—"})]}),g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:64",className:"flex-1 border-r border-[#1f2937] pr-4",children:[g.jsx("p",{"data-loc":"client/src/components/YieldCurve.tsx:65",className:"text-[10px] text-gray-500",children:"الحالة"}),g.jsx("p",{"data-loc":"client/src/components/YieldCurve.tsx:66",className:`text-sm font-semibold ${f?"text-red-400":"text-emerald-400"}`,children:f?"⚠️ إشارة ركود محتمل":"منحنى طبيعي — لا إشارة ركود"})]})]}),g.jsx("div",{"data-loc":"client/src/components/YieldCurve.tsx:73",className:"h-56",dir:"ltr",children:g.jsx(Tr,{"data-loc":"client/src/components/YieldCurve.tsx:74",width:"100%",height:"100%",children:g.jsxs(Pw,{"data-loc":"client/src/components/YieldCurve.tsx:75",data:e,margin:{top:10,right:10,left:10,bottom:5},children:[g.jsx(_k,{"data-loc":"client/src/components/YieldCurve.tsx:76",strokeDasharray:"3 3",stroke:"#1f2937",vertical:!1}),g.jsx(Yn,{"data-loc":"client/src/components/YieldCurve.tsx:77",dataKey:"maturity",axisLine
240:!1,tickLine:!1,tick:{fill:"#6b7280",fontSize:10}}),g.jsx(Kn,{"data-loc":"client/src/components/YieldCurve.tsx:83",domain:["auto","auto"],axisLine:!1,tickLine:!1,tick:{fill:"#6b7280",fontSize:10},tickFormatter:d=>`${d}%`,width:40}),g.jsx(Wt,{"data-loc":"client/src/components/YieldCurve.tsx:91",contentStyle:{backgroundColor:"#1f2937",border:"1px solid #374151",borderRadius:"8px",fontSize:"12px",direction:"rtl"},formatter:(d,m)=>[`${d.toFixed(2)}%`,m==="yield"?"العائد الحالي":"العائد السابق"],labelFormatter:d=>`الاستحقاق: ${d}`}),g.jsx(jp,{"data-loc":"client/src/components/YieldCurve.tsx:105",y:e[0]?.yield,stroke:"#374151",strokeDasharray:"3 3",label:""}),g.jsx(dn,{"data-loc":"client/src/components/YieldCurve.tsx:112",type:"monotone",dataKey:"previousYield",stroke:"#6b7280",strokeWidth:1.5,strokeDasharray:"4 4",dot:!1,name:"previousYield"}),g.jsx(dn,{"data-loc":"client/src/components/YieldCurve.tsx:122",type:"monotone",dataKey:"yield",stroke:f?"#ef4444":"#8b5cf6",strokeWidth:2.5,dot:{r:3,fill:"#111827",stroke:f?"#ef4444":"#8b5cf6",strokeWidth:2},activeDot:{r:5,fill:f?"#ef4444":"#8b5cf6"},name:"yield",isAnimationActive:!0,animationDuration:1500})]})})}),g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:146",className:"flex items-center justify-center gap-6 mt-3 pt-3 border-t border-[#1f2937]",children:[g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:147",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/components/YieldCurve.tsx:148",className:`w-4 h-0.5 rounded ${f?"bg-red-400":"bg-violet-400"}`}),g.jsx("span",{"data-loc":"client/src/components/YieldCurve.tsx:149",className:"text-[10px] text-gray-400",children:"المنحنى الحالي"})]}),g.jsxs("div",{"data-loc":"client/src/components/YieldCurve.tsx:151",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/components/YieldCurve.tsx:152",className:"w-4 h-0.5 rounded bg-gray-500 border-dashed",style:{borderTop:"1.5px dashed #6b7280",height:0}}),g.jsx("span",{"data-loc":"client/src/components/YieldCurve.tsx:153",className:"text-[10px] text-gray-400",children:"الشهر السابق"})]})]}),g.jsx("div",{"data-loc":"client/src/components/YieldCurve.tsx:158",className:"mt-3 p-3 rounded-lg bg-violet-500/5 border border-violet-500/10",children:g.jsx("p",{"data-loc":"client/src/components/YieldCurve.tsx:159",className:"text-[11px] text-violet-300 leading-relaxed",children:"📊 منحنى العائد المقلوب (عندما يكون عائد السندات قصيرة الأجل أعلى من طويلة الأجل) سبق أن تنبأ بكل ركود أمريكي خلال الـ 50 سنة الماضية — شمل ذلك: ركود 1990، وفقاعة الدوتكوم 2001، والأزمة المالية 2008، وركود كوفيد 2020 — مما يجعله أدق مؤشر اقتصادي متاح للعامة."})})]})}const fie=[{month:"يناير",ig:1.05,hy:3.2},{month:"فبراير",ig:1.1,hy:3.35},{month:"مارس",ig:1.15,hy:3.5},{month:"أبريل",ig:1.08,hy:3.28},{month:"مايو",ig:1.02,hy:3.15},{month:"يونيو",ig:.98,hy:3.05}],cx=[{name:"US 2Y",yield:3.95,change:-.05,flag:"🇺🇸"},{name:"US 10Y",yield:4.25,change:.03,flag:"🇺🇸"},{name:"US 30Y",yield:4.55,change:.02,flag:"🇺🇸"},{name:"DE 10Y",yield:2.45,change:-.02,flag:"🇩🇪"},{name:"UK 10Y",yield:4.15,change:.01,flag:"🇬🇧"},{name:"JP 10Y",yield:1.05,change:.05,flag:"🇯🇵"}];function die({liveData:e}){const t=e?.yieldCurve?.length>0?e.yieldCurve.map(p=>({maturity:p.maturity,maturityAr:p.maturityAr,currentYield:p.yield,previousYield:p.previousYield})):aS,n=t.find(p=>p.maturity==="10Y"),r=t.find(p=>p.maturity==="2Y"),i=t.find(p=>p.maturity==="3M"),s=r||i,l=r?"2Y-10Y":"10Y-3M",u=n?.yield??cx.find(p=>p.name==="US 10Y")?.yield??4.25,f=s?.yield??cx.find(p=>p.name==="US 2Y")?.yield??3.95,d=(u-f).toFixed(2),m=parseFloat(d)<0;return g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:52",className:"space-y-6",children:[g.jsx(uie,{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:54",data:t,delay:0}),g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:57",className:`rounded-xl border p-4 ${m?"bg-red-500/5 border-red-500/20":"bg-emerald-500/5 border-emerald-500/20"}`,children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:58",className:"flex items-center justify-between",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:59",className:"flex items-center gap-3",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:60",className:"text-2xl",children:m?"⚠️":"✅"}),g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:61",children:[g.jsxs("p",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:62",className:"text-sm font-medium text-white",children:["فارق العائد ",l," (مؤشر الركود)"]}),g.jsx("p",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:63",className:"text-xs text-gray-400",children:m?"منحنى العائد مقلوب — إشارة تاريخية قوية لاحتمال ركود خلال 12-18 شهراً":"منحنى العائد طبيعي — لا إشارات ركود حالياً"})]})]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:70",className:`text-2xl font-bold ${m?"text-red-400":"text-emerald-400"}`,children:[d,"%"]})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:75",className:"mt-3 pt-3 border-t border-gray-800/50",children:g.jsx("p",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:76",className:"text-[11px] text-gray-500 leading-relaxed",children:parseFloat(d)<0?`⚠️ إنذار: الفارق سالب (${d}%) أي المنحنى مقلوب — السوق يتوقع خفض الفائدة مستقبلاً مما يعكس مخاوف ركود. التاريخ: تبعه ركود في غضون 6-18 شهراً.`:parseFloat(d)<.5?`صفراء: الفارق ضيق (${d}%) — المنحنى يكاد يكون مسطحاً. يستحسن متابعته عن كثب لأي انعكاس سلبي. المعدل التاريخي الطبيعي: 1.0–1.5%.`:`طبيعي: الفارق إيجابي (${d}%) يعكس منحنى طبيعياً — السوق يتوقع نمواً اقتصادياً. المعدل التاريخي الطبيعي: 1.0–1.5%.`})})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:88",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:89",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:90",className:"w-1 h-5 rounded-full bg-blue-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:91",className:"text-base font-bold text-white",children:"عوائد السندات العالمية"}),g.jsx("span",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:92",className:"text-xs text-gray-500 mr-2",children:"GLOBAL BOND YIELDS"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:94",className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-3",children:cx.map(p=>g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:96",className:"bg-[#0a0e1a] rounded-lg p-3 text-center",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:97",className:"flex items-center justify-center gap-1 mb-2",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:98",children:p.flag}),g.jsx("span",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:99",className:"text-xs text-gray-400",children:p.name})]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:101",className:"text-lg font-bold text-white",children:[p.yield,"%"]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:102",className:`text-xs mt-1 ${p.change>=0?"text-red-400":"text-emerald-400"}`,children:[p.change>=0?"+":"",p.change,"%"]})]},p.name))})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:111",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:112",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:113",className:"w-1 h-5 rounded-full bg-purple-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:114",className:"text-base font-bold text-white",children:"فروقات الائتمان (Credit Spreads)"}),g.jsx("span",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:115",className:"text-xs text-gray-500 mr-2",children:"IG vs HY"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:117",className:"h-48",children:g.jsx(Tr,{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:118",width:"100%",height:"100%",children:g.jsxs(wl,{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:119",data:fie,children:[g.jsxs("defs",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:120",children:[g.jsxs("linearGradient",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:121",id:"igGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[g.jsx("stop",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:122",offset:"5%",
240stopColor:"#6366f1",stopOpacity:.3}),g.jsx("stop",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:123",offset:"95%",stopColor:"#6366f1",stopOpacity:0})]}),g.jsxs("linearGradient",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:125",id:"hyGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[g.jsx("stop",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:126",offset:"5%",stopColor:"#ef4444",stopOpacity:.3}),g.jsx("stop",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:127",offset:"95%",stopColor:"#ef4444",stopOpacity:0})]})]}),g.jsx(Yn,{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:130",dataKey:"month",tick:{fill:"#6b7280",fontSize:11}}),g.jsx(Kn,{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:131",tick:{fill:"#6b7280",fontSize:11}}),g.jsx(Wt,{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:132",contentStyle:{background:"#1a1f36",border:"1px solid #2d3548",borderRadius:"8px",direction:"rtl"}}),g.jsx(jn,{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:133",type:"monotone",dataKey:"ig",stroke:"#6366f1",fill:"url(#igGrad)",strokeWidth:2,name:"Investment Grade"}),g.jsx(jn,{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:134",type:"monotone",dataKey:"hy",stroke:"#ef4444",fill:"url(#hyGrad)",strokeWidth:2,name:"High Yield"})]})})}),g.jsx("p",{"data-loc":"client/src/components/tabs/FixedIncomeTab.tsx:138",className:"text-xs text-gray-600 mt-3 text-center",children:"اتساع الفروقات = زيادة المخاطر المتوقعة | تضيّق = ثقة المستثمرين"})]})]})}function hie({data:e,delay:t=0}){const n=e.length>0?Math.round(e.reduce((r,i)=>r+i.strength,0)/e.length):68;return g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:44",className:"animate-fade-in-up rounded-xl border border-[#1f2937] bg-[#111827] p-5",style:{animationDelay:`${t}ms`},children:[g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:49",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:50",className:"w-1 h-5 rounded-full bg-amber-500"}),g.jsx("h2",{"data-loc":"client/src/components/CurrencyStrength.tsx:51",className:"text-base font-bold text-white",children:"قوة العملات"}),g.jsx("span",{"data-loc":"client/src/components/CurrencyStrength.tsx:52",className:"text-xs text-gray-500 mr-2",children:"CURRENCY STRENGTH"})]}),g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:56",className:"mb-4 p-4 rounded-lg bg-[#0a0e1a] border border-[#1f2937] flex items-center gap-4",children:[g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:57",className:"p-3 rounded-xl bg-amber-500/10 border border-amber-500/20",children:g.jsx(BB,{"data-loc":"client/src/components/CurrencyStrength.tsx:58",className:"w-6 h-6 text-amber-400"})}),g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:60",className:"flex-1",children:[g.jsx("p",{"data-loc":"client/src/components/CurrencyStrength.tsx:61",className:"text-xs text-gray-500 mb-0.5",children:"مؤشر قوة الدولار"}),g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:62",className:"flex items-baseline gap-2",children:[g.jsx("span",{"data-loc":"client/src/components/CurrencyStrength.tsx:63",className:"text-2xl font-bold text-white tabular-nums",children:n}),g.jsx("span",{"data-loc":"client/src/components/CurrencyStrength.tsx:64",className:"text-xs text-gray-400",children:"/ 100"}),g.jsx("span",{"data-loc":"client/src/components/CurrencyStrength.tsx:65",className:"text-xs font-medium text-amber-400 px-2 py-0.5 rounded-full bg-amber-500/10",children:n>=70?"قوي":n>=50?"معتدل":n>=30?"ضعيف":"ضعيف جداً"})]}),g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:70",className:"mt-2 h-2 rounded-full bg-[#1f2937] overflow-hidden",children:g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:71",className:"h-full rounded-full bg-gradient-to-l from-amber-400 to-amber-600 transition-all duration-700",style:{width:`${n}%`}})})]})]}),g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:80",className:"space-y-2",children:e.map(r=>{const i=r.sparkline.map((u,f)=>({value:u,i:f})),s=r.changePercent>=0,l=s?"#10b981":"#ef4444";return g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:87",className:"flex items-center gap-3 p-3 rounded-lg border border-[#1f2937] hover:border-[#374151] transition-colors",children:[g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:92",className:"flex-1 min-w-0",children:[g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:93",className:"flex items-center gap-2",children:[g.jsx("span",{"data-loc":"client/src/components/CurrencyStrength.tsx:94",className:"text-xs font-bold text-white",children:r.pair}),g.jsx("span",{"data-loc":"client/src/components/CurrencyStrength.tsx:95",className:"text-[10px] text-gray-500 truncate",children:r.name})]}),g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:97",className:"flex items-center gap-2 mt-1",children:[g.jsx("span",{"data-loc":"client/src/components/CurrencyStrength.tsx:98",className:"text-sm font-semibold text-gray-200 tabular-nums",children:r.rate.toFixed(4)}),g.jsxs("span",{"data-loc":"client/src/components/CurrencyStrength.tsx:101",className:`flex items-center gap-0.5 text-[11px] font-medium tabular-nums ${s?"text-emerald-400":"text-red-400"}`,children:[s?g.jsx(w3,{"data-loc":"client/src/components/CurrencyStrength.tsx:102",className:"w-2.5 h-2.5"}):g.jsx(S3,{"data-loc":"client/src/components/CurrencyStrength.tsx:102",className:"w-2.5 h-2.5"}),s?"+":"",r.changePercent.toFixed(2),"%"]})]})]}),g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:109",className:"w-20 h-8",dir:"ltr",children:g.jsx(Tr,{"data-loc":"client/src/components/CurrencyStrength.tsx:110",width:"100%",height:"100%",children:g.jsxs(wl,{"data-loc":"client/src/components/CurrencyStrength.tsx:111",data:i,children:[g.jsx("defs",{"data-loc":"client/src/components/CurrencyStrength.tsx:112",children:g.jsxs("linearGradient",{"data-loc":"client/src/components/CurrencyStrength.tsx:113",id:`curr-${r.id}`,x1:"0",y1:"0",x2:"0",y2:"1",children:[g.jsx("stop",{"data-loc":"client/src/components/CurrencyStrength.tsx:114",offset:"0%",stopColor:l,stopOpacity:.2}),g.jsx("stop",{"data-loc":"client/src/components/CurrencyStrength.tsx:115",offset:"100%",stopColor:l,stopOpacity:0})]})}),g.jsx(jn,{"data-loc":"client/src/components/CurrencyStrength.tsx:118",type:"monotone",dataKey:"value",stroke:l,strokeWidth:1.5,fill:`url(#curr-${r.id})`,dot:!1})]})})}),g.jsxs("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:131",className:"w-12 text-center",children:[g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:132",className:`text-xs font-bold tabular-nums ${r.strength>=60?"text-emerald-400":r.strength>=40?"text-gray-400":"text-red-400"}`,children:r.strength}),g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:138",className:"mt-0.5 h-1 rounded-full bg-[#1f2937] overflow-hidden",children:g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:139",className:`h-full rounded-full ${r.strength>=60?"bg-emerald-500":r.strength>=40?"bg-gray-500":"bg-red-500"}`,style:{width:`${r.strength}%`}})})]})]},r.id)})}),g.jsx("div",{"data-loc":"client/src/components/CurrencyStrength.tsx:154",className:"mt-4 p-3 rounded-lg bg-amber-500/5 border border-amber-500/10",children:g.jsxs("p",{"data-loc":"client/src/components/CurrencyStrength.tsx:155",className:"text-[11px] text-amber-300 leading-relaxed",children:["💱 الدولار ",n>=50?"فوق المتوسط":"دون المتوسط"," يؤثر على الذهب والسلع والأسواق الناشئة. بنك اليابان رفع الفائدة إلى 1.00% — الين في مرحلة تشديد."]})})]})}const pie=[{name:"الذهب",nameEn:"Gold",symbol:"XAU",unit:"$/oz",id:"gold"}
240,{name:"الفضة",nameEn:"Silver",symbol:"XAG",unit:"$/oz",id:"silver"},{name:"النفط (برنت)",nameEn:"Brent",symbol:"BZ",unit:"$/bbl",id:"oil"},{name:"الغاز الطبيعي",nameEn:"Nat Gas",symbol:"NG",unit:"$/MMBtu",id:"natgas"},{name:"النحاس",nameEn:"Copper",symbol:"HG",unit:"$/lb",id:"copper"},{name:"القمح",nameEn:"Wheat",symbol:"ZW",unit:"$/bu",id:"wheat"}],ux={gold:{price:4335,change:1.2},silver:{price:33.5,change:.8},oil:{price:81.1,change:-.5},natgas:{price:2.85,change:2.1},copper:{price:4.52,change:-.3},wheat:{price:5.45,change:-1.2}},mie=[{month:"يناير",ratio:48.2},{month:"فبراير",ratio:50.1},{month:"مارس",ratio:52.5},{month:"أبريل",ratio:51.8},{month:"مايو",ratio:53.2},{month:"يونيو",ratio:53.5}];function yie({liveData:e}){const t=e?.currencies?.length>0?e.currencies.map(i=>({id:i.id,pair:i.pair,name:i.name,rate:i.rate,change:i.change,changePercent:i.changePercent,sparkline:i.sparkline||[],strength:i.strength})):Kae,n=e?.marketIndices?.find(i=>i.id==="oil"),r=e?.marketIndices?.find(i=>i.id==="gold");return n&&(ux.oil={price:n.value,change:n.changePercent}),r&&(ux.gold={price:r.value,change:r.changePercent}),g.jsxs("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:60",className:"space-y-6",children:[g.jsx(hie,{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:62",data:t,delay:0}),g.jsxs("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:65",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:66",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:67",className:"w-1 h-5 rounded-full bg-amber-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:68",className:"text-base font-bold text-white",children:"السلع الأساسية"}),g.jsx("span",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:69",className:"text-xs text-gray-500 mr-2",children:"COMMODITIES"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:71",className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-3",children:pie.map(i=>{const s=ux[i.id];return g.jsxs("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:75",className:"bg-[#0a0e1a] rounded-lg p-3",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:76",className:"text-xs text-gray-400 mb-1",children:i.name}),g.jsx("p",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:77",className:"text-xs text-gray-600 mb-2",children:i.symbol}),g.jsx("p",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:78",className:"text-lg font-bold text-white",children:s.price>100?s.price.toLocaleString(void 0,{maximumFractionDigits:0}):s.price.toFixed(2)}),g.jsxs("p",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:81",className:`text-xs mt-1 ${s.change>=0?"text-emerald-400":"text-red-400"}`,children:[s.change>=0?"+":"",s.change.toFixed(1),"%"]}),g.jsx("p",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:84",className:"text-xs text-gray-600",children:i.unit})]},i.id)})})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:92",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:93",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:94",className:"w-1 h-5 rounded-full bg-yellow-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:95",className:"text-base font-bold text-white",children:"نسبة الذهب/النفط"}),g.jsx("span",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:96",className:"text-xs text-gray-500 mr-2",children:"GOLD/OIL RATIO"})]}),g.jsx("p",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:98",className:"text-xs text-gray-400 mb-4",children:"كلما ارتفعت النسبة = الذهب أغلى نسبياً مقابل النفط (إشارة لتوتر أو ركود). المتوسط التاريخي: ~25"}),g.jsx("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:101",className:"h-40",children:g.jsx(Tr,{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:102",width:"100%",height:"100%",children:g.jsxs(wl,{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:103",data:mie,children:[g.jsx("defs",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:104",children:g.jsxs("linearGradient",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:105",id:"ratioGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[g.jsx("stop",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:106",offset:"5%",
240stopColor:"#f59e0b",stopOpacity:.3}),g.jsx("stop",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:107",offset:"95%",stopColor:"#f59e0b",stopOpacity:0})]})}),g.jsx(Yn,{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:110",dataKey:"month",tick:{fill:"#6b7280",fontSize:11}}),g.jsx(Kn,{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:111",domain:[40,60],tick:{fill:"#6b7280",fontSize:11}}),g.jsx(Wt,{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:112",contentStyle:{background:"#1a1f36",border:"1px solid #2d3548",borderRadius:"8px",direction:"rtl"}}),g.jsx(jn,{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:113",type:"monotone",dataKey:"ratio",stroke:"#f59e0b",fill:"url(#ratioGrad)",strokeWidth:2,name:"النسبة"})]})})})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:120",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:121",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:122",className:"w-1 h-5 rounded-full bg-green-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:123",className:"text-base font-bold text-white",children:"تأثير الدولار على السلع"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:125",className:"bg-[#0a0e1a] rounded-lg p-4",children:[g.jsxs("p",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:126",className:"text-xs text-gray-400 leading-relaxed",children:["💡 ",g.jsx("strong",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:127",className:"text-gray-300",children:"العلاقة العكسية:"})," عندما يرتفع الدولار (DXY)، تنخفض أسعار السلع المسعّرة بالدولار (ذهب، نفط) — لأنها تصبح أغلى على حاملي العملات الأخرى. والعكس صحيح: ضعف الدولار = ارتفاع السلع."]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:129",className:"text-xs text-gray-400 leading-relaxed mt-2",children:["🇸🇦 ",g.jsx("strong",{"data-loc":"client/src/components/tabs/CurrenciesCommoditiesTab.tsx:130",className:"text-gray-300",children:"التأثير على السعودية:"})," بما أن الريال مربوط بالدولار، فإن ارتفاع الدولار يعني أن إيرادات النفط بالريال تبقى مستقرة حتى لو انخفض سعر النفط بالدولار قليلاً."]})]})]})]})}const Ec=[{name:"S&P 500",region:"🇺🇸",value:5426,change:.85,ytd:12.3},{name:"Nasdaq",region:"🇺🇸",value:17120,change:1.12,ytd:15.8},{name:"Dow Jones",region:"🇺🇸",value:38650,change:.45,ytd:8.2},{name:"FTSE 100",region:"🇬🇧",value:8250,change:.32,ytd:6.5},{name:"DAX",region:"🇩🇪",value:18450,change:.68,ytd:10.1},{name:"Nikkei 225",region:"🇯🇵",value:38900,change:-.25,ytd:14.2},{name:"Shanghai",region:"🇨🇳",value:3080,change:.15,ytd:2.8},{name:"تاسي (TASI)",region:"🇸🇦",value:11850,change:.42,ytd:5.6}],vie=[{index:"S&P 500",pe:21.5,peAvg:18.2,cape:33.2,capeAvg:25},{index:"Nasdaq",pe:28.3,peAvg:22.5,cape:42.1,capeAvg:30},{index:"FTSE 100",pe:12.8,peAvg:14.5,cape:15.2,capeAvg:16},{index:"تاسي",pe:18.5,peAvg:16,cape:22.8,capeAvg:19}];function gie({liveData:e}){const t=e?.marketIndices;if(t){const r=t.find(s=>s.id==="sp500"),i=t.find(s=>s.id==="nasdaq");r&&(Ec[0].value=r.value,Ec[0].change=r.changePercent),i&&(Ec[1].value=i.value,Ec[1].change=i.changePercent)}const n=e?.sectors?.length>0?e.sectors:Ih;return g.jsxs("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:41",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:43",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:44",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:45",className:"w-1 h-5 rounded-full bg-blue-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:46",className:"text-base font-bold text-white",children:"المؤشرات العالمية"}),g.jsx("span",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:47",className:"text-xs text-gray-500 mr-2",children:"GLOBAL INDICES"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:49",className:"grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-4 gap-3",children:Ec.map(r=>g.jsxs("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:51",className:"bg-[#0a0e1a] rounded-lg p-3",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:52",className:"flex items-center gap-1.5 mb-2",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:53",className:"text-sm",children:r.region}),g.jsx("span",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:54",className:"text-xs text-gray-400",children:r.name})]}),g.jsx("p",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:56",className:"text-lg font-bold text-white",children:r.value.toLocaleStr
240ing()}),g.jsxs("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:57",className:"flex items-center justify-between mt-1",children:[g.jsxs("span",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:58",className:`text-xs ${r.change>=0?"text-emerald-400":"text-red-400"}`,children:[r.change>=0?"+":"",r.change.toFixed(2),"%"]}),g.jsxs("span",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:61",className:"text-xs text-gray-600",children:["YTD: ",r.ytd>0?"+":"",r.ytd,"%"]})]})]},r.name))})]}),g.jsx(Kk,{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:69",data:n,delay:0}),g.jsxs("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:72",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:73",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:74",className:"w-1 h-5 rounded-full bg-purple-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:75",className:"text-base font-bold text-white",children:"التقييمات (P/E & CAPE)"}),g.jsx("span",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:76",className:"text-xs text-gray-500 mr-2",children:"VALUATIONS"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:78",className:"overflow-x-auto",children:g.jsxs("table",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:79",className:"w-full text-sm",children:[g.jsx("thead",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:80",children:g.jsxs("tr",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:81",className:"border-b border-gray-800",children:[g.jsx("th",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:82",className:"text-right text-gray-400 pb-3 font-medium",children:"المؤشر"}),g.jsx("th",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:83",className:"text-center text-gray-400 pb-3 font-medium",children:"P/E"}),g.jsx("th",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:84",className:"text-center text-gray-400 pb-3 font-medium",children:"P/E متوسط"}),g.jsx("th",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:85",className:"text-center text-gray-400 pb-3 font-medium",children:"CAPE"}),g.jsx("th",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:86",className:"text-center text-gray-400 pb-3 font-medium",children:"CAPE متوسط"}),g.jsx("th",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:87",className:"text-center text-gray-400 pb-3 font-medium",children:"الحالة"})]})}),g.jsx("tbody",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:90",children:vie.map(r=>{const i=r.pe>r.peAvg*1.15,s=r.pe<r.peAvg*.85;return g.jsxs("tr",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:95",className:"border-b border-gray-800/30",children:[g.jsx("td",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:96",className:"py-3 text-white font-medium",children:r.index}),g.jsx("td",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:97",className:"py-3 text-center text-white",children:r.pe}),g.jsx("td",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:98",className:"py-3 text-center text-gray-500",children:r.peAvg}),g.jsx("td",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:99",className:"py-3 text-center text-white",children:r.cape}),g.jsx("td",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:100",className:"py-3 text-center text-gray-500",children:r.capeAvg}),g.jsx("td",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:101",className:"py-3 text-center",children:g.jsx("span",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:102",className:`text-xs px-2 py-0.5 rounded-full ${i?"bg-red-500/10 text-red-400":s?"bg-emerald-500/10 text-emerald-400":"bg-amber-500/10 text-amber-400"}`,children:i?"مرتفع":s?"رخيص":"عادل"})})]},r.index)})})]})}),g.jsx("p",{"data-loc":"client/src/components/tabs/StockMarketsTab.tsx:116",className:"text-xs text-gray-600 mt-3 text-center",children:"P/E أعلى من المتوسط بـ 15%+ = مرتفع التقييم | أقل بـ 15% = فرصة محتملة"})]})]})}const bie=[{name:"انقلاب منحنى العائد (2Y-10Y)",status:"warning",detail:"فارق إيجابي ضيق — يقترب من الانقلاب"},{name:"VIX فوق 25",status:"safe",detail:"VIX حالياً عند مستويات طبيعية"},{name:"فروقات الائتمان HY > 5%",status:"safe",detail:"الفروقات ضمن النطاق الطبيعي"},{name:"تراجع PMI تحت 47",status:"warning",detail:"PMI أوروبا تحت 50 — انكماش تصنيعي"},{name:"ارتفاع البطالة >
240 0.5%",status:"safe",detail:"سوق العمل مستقر نسبياً"},{name:"تقلبات العملات > 15%",status:"safe",detail:"تقلبات العملات ضمن النطاق الطبيعي"},{name:"هبوط S&P 500 > 10% من القمة",status:"safe",detail:"المؤشر قرب مستويات قياسية"},{name:"تشديد شروط الائتمان",status:"caution",detail:"البنوك تشدد شروط الإقراض تدريجياً"}],xie=[{name:"مؤشر الضغط المالي (FSI)",value:.35,max:2,status:"low"},{name:"مؤشر السيولة العالمية",value:62,max:100,status:"moderate"},{name:"تركز السوق (Top 10)",value:34,max:50,status:"high"},{name:"الرافعة المالية للشركات",value:2.8,max:5,status:"moderate"}];function Sie({liveData:e}){return g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:29",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:31",className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[g.jsx(Fk,{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:32",data:Rw,delay:0}),g.jsx(Yk,{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:33",data:$h,delay:0})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:37",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:38",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:39",className:"w-1 h-5 rounded-full bg-red-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:40",className:"text-base font-bold text-white",children:"إشارات التحذير المبكر"}),g.jsx("span",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:41",className:"text-xs text-gray-500 mr-2",children:"EARLY WARNING SIGNALS"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:43",className:"space-y-2",children:bie.map(t=>g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:45",className:"flex items-center justify-between bg-[#0a0e1a] rounded-lg p-3",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:46",className:"flex items-center gap-3",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:47",className:`w-2.5 h-2.5 rounded-full ${t.status==="danger"?"bg-red-500 animate-pulse":t.status==="warning"?"bg-amber-500":t.status==="caution"?"bg-yellow-600":"bg-emerald-500"}`}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:53",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:54",className:"text-sm text-white",children:t.name}),g.jsx("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:55",className:"text-xs text-gray-500",children:t.detail})]})]}),g.jsx("span",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:58",className:`text-xs px-2 py-0.5 rounded-full ${t.status==="danger"?"bg-red-500/10 text-red-400":t.status==="warning"?"bg-amber-500/10 text-amber-400":t.status==="caution"?"bg-yellow-500/10 text-yellow-400":"bg-emerald-500/10 text-emerald-400"}`,children:t.status==="danger"?"خطر":t.status==="warning"?"تحذير":t.status==="caution"?"انتباه":"آمن"})]},t.name))})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:75",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:76",className:"flex items-center gap-2 mb-4",children:[g.jsx("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:77",className:"w-1 h-5 rounded-full bg-purple-500"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:78",className:"text-base font-bold text-white",children:"مؤشرات المخاطر النظامية"})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:80",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:xie.map(t=>{const n=t.value/t.max*100;return g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:84",className:"bg-[#0a0e1a] rounded-lg p-4",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:85",className:"text-xs text-gray-400 mb-3",children:t.name}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:86",className:"flex items-end justify-between mb-2",children:[g.jsx("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:87",className:"text-xl font-bold text-white",children:t.value}),g.jsxs("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:88",className:"text-xs text-gray-600",children:["/ ",t.max]})]}),g.jsx("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:90",className:"w-full h-2 bg-gray-800 rounded-full overflow-hidden",children:g.jsx("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:91",className:`h-full rounded-full transition-all ${t.status==="high"?"bg-red-500":t.status==="moderate"?"bg-amber-500":"bg-emerald-500"}`,style:{width:`${Math.min(n,100)}%`}})}),g.jsx("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:100",className:`text-xs mt-2 text-center ${t.status==="high"?"text-red-400":t.status==="moderate"?"text-amber-400":"text-emerald-400"}`,children:t.status==="high"?"مرتفع":t.status==="moderate"?"معتدل":"منخفض"})]},t.name)}
240)})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:114",className:"bg-[#0f1629] rounded-xl border border-gray-800/50 p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:115",className:"flex items-center gap-2 mb-3",children:[g.jsx("span",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:116",className:"text-lg",children:"💡"}),g.jsx("h3",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:117",className:"text-sm font-bold text-white",children:"كيف تقرأ هذا القسم؟"})]}),g.jsxs("div",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:119",className:"text-xs text-gray-400 space-y-2",children:[g.jsxs("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:120",children:["• ",g.jsx("strong",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:120",className:"text-emerald-400",children:"آمن (أخضر):"})," المؤشر ضمن النطاق الطبيعي — لا حاجة لاتخاذ إجراء"]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:121",children:["• ",g.jsx("strong",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:121",className:"text-amber-400",children:"تحذير (أصفر):"})," المؤشر يقترب من مستوى خطر — راقب عن كثب"]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:122",children:["• ",g.jsx("strong",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:122",className:"text-red-400",children:"خطر (أحمر):"})," إشارة قوية لمشكلة — فكّر في تقليل المخاطر"]}),g.jsxs("p",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:123",className:"mt-3 text-gray-500",children:["إشارة واحدة لا تكفي لاتخاذ قرار. ابحث عن ",g.jsx("strong",{"data-loc":"client/src/components/tabs/SystemicRisksTab.tsx:123",className:"text-white",children:"تراكم 3+ إشارات"})," في نفس الاتجاه."]})]})]})]})}const fx=[{id:"overview",label:"نظرة عامة",icon:"🌐"},{id:"saudi",label:"السوق السعودي",icon:"🇸🇦"},{id:"macro",label:"الاقتصاد الكلي",icon:"📊"},{id:"monetary",label:"السياسة النقدية",icon:"🏦"},{id:"inflation",label:"التضخم والعمالة",icon:"📈"},{id:"fixed-income",label:"الدخل الثابت",icon:"📉"},{id:"currencies",label:"العملات والسلع",icon:"💱"},{id:"stocks",label:"أسواق الأسهم",icon:"💹"},{id:"risks",label:"المخاطر النظامية",icon:"🛡️"}];function wie(){const[e,t]=$.useState("overview"),n=$.useRef(null),[r,i]=$.useState(!1),[s,l]=$.useState(!1),u=()=>{const S=n.current;S&&(i(S.scrollLeft>0),l(S.scrollLeft<S.scrollWidth-S.clientWidth-2))};$.useEffect(()=>{const S=n.current;if(S)return u(),S.addEventListener("scroll",u),window.addEventListener("resize",u),()=>{S.removeEventListener("scroll",u),window.removeEventListener("resize",u)}},[]);const f=S=>{const w=n.current;w&&w.scrollBy({left:S==="left"?-200:200,behavior:"smooth"})},{data:d,isLoading:m,error:p,lastUpdated:v}=T7(),{data:x}=mo.market.calendar.useQuery(void 0,{staleTime:3600*1e3,refetchInterval:3600*1e3}),{data:O}=mo.market.fredActuals.useQuery(void 0,{staleTime:360*60*1e3,refetchInterval:360*60*1e3});return g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:79",className:"min-h-screen bg-[#0a0e1a] text-white",dir:"rtl",children:[g.jsx(w7,{"data-loc":"client/src/pages/Home.tsx:81"}),m&&!d&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:85",className:"fixed inset-0 bg-[#0a0e1a]/80 z-50 flex items-center justify-center",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:86",className:"text-center",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:87",className:"w-12 h-12 border-4 border-emerald-500/30 border-t-emerald-500 rounded-full animate-spin mx-auto mb-4"}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:88",className:"text-gray-400 text-sm",children:"جارٍ تحميل البيانات الحية..."}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:89",className:"text-gray-600 text-xs mt-1",children:"يتم الاتصال بـ Yahoo Finance"})]})}),g.jsxs("main",{"data-loc":"client/src/pages/Home.tsx:95",className:"container py-4",children:[p&&!d&&g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:98",className:"flex items-center gap-2 text-xs px-3 py-2 rounded-lg bg-red-500/10 border border-red-500/20 mb-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:99",className:"w-2 h-2 rounded-full bg-red-500"}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:100",className:"text-red-400",children:"تعذّر الاتصال بمصدر البيانات — يتم عرض بيانات توضيحية"})]}),d&&g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:104",className:"flex items-center gap-2 text-xs text-gray-500 mb-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:105",className:"w-2 h-2 rounded-full bg-emerald-500 animate-pulse"}),g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:106",children:["بيانات حية — آخر تحديث: ",d.lastUpdated?new Date(d.lastUpdated).toLocaleTimeString("ar-SA",{hour:"2-digit",minute:"2-digit"}):v?.toLocaleTimeString("ar-SA",{hour:"2-digit",minute:"2-digit"})||"—"]}
240),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:107",className:"text-gray-700",children:"|"}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:108",children:"تحديث تلقائي كل 5 دقائق"}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:109",className:"text-gray-700",children:"|"}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:110",className:"text-gray-600",children:"المصدر: Yahoo Finance"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:115",className:"mb-6 relative",children:[s&&g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:118",onClick:()=>f("right"),className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 w-8 h-8 flex items-center justify-center bg-[#0f1629] border border-gray-700 rounded-full text-gray-400 hover:text-white hover:border-emerald-500/50 transition-all shadow-lg",style:{boxShadow:"4px 0 12px rgba(10,14,26,0.9)"},children:"‹"}),r&&g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:128",onClick:()=>f("left"),className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 w-8 h-8 flex items-center justify-center bg-[#0f1629] border border-gray-700 rounded-full text-gray-400 hover:text-white hover:border-emerald-500/50 transition-all shadow-lg",style:{boxShadow:"-4px 0 12px rgba(10,14,26,0.9)"},children:"›"}),s&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:138",className:"absolute left-0 top-0 bottom-0 w-12 z-[5] pointer-events-none",style:{background:"linear-gradient(to right, #0a0e1a 0%, transparent 100%)"}}),r&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:142",className:"absolute right-0 top-0 bottom-0 w-12 z-[5] pointer-events-none",style:{background:"linear-gradient(to left, #0a0e1a 0%, transparent 100%)"}}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:144",ref:n,className:"overflow-x-auto",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:149",className:"flex gap-1 p-1 bg-[#0f1629] rounded-xl border border-gray-800/50 min-w-max",children:fx.map(S=>g.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:151",onClick:()=>t(S.id),className:`flex items-center gap-1.5 px-3 py-2 rounded-lg text-sm font-medium transition-all duration-200 whitespace-nowrap ${e===S.id?"bg-emerald-500/15 text-emerald-400 border border-emerald-500/30 shadow-sm shadow-emerald-500/10":"text-gray-400 hover:text-gray-200 hover:bg-white/5"}`,children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:160",className:"text-base",children:S.icon}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:161",children:S.label})]},S.id))})}),(r||s)&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:168",className:"flex justify-center gap-1 mt-2",children:fx.map(S=>g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:170",onClick:()=>{t(S.id);const w=n.current;if(w){const T=fx.findIndex(M=>M.id===S.id);w.querySelectorAll("button")[T]?.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},className:`w-1.5 h-1.5 rounded-full transition-all ${e===S.id?"bg-emerald-400 w-3":"bg-gray-700 hover:bg-gray-500"}`,title:S.label},S.id))})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:193",className:"space-y-6",children:[e==="overview"&&g.jsx(Qae,{"data-loc":"client/src/pages/Home.tsx:195",liveData:d,liveCalendarData:x,fredActuals:O}),e==="saudi"&&g.jsx(Zae,{"data-loc":"client/src/pages/Home.tsx:198",liveData:d}),e==="macro"&&g.jsx(nie,{"data-loc":"client/src/pages/Home.tsx:201",liveData:d}),e==="monetary"&&g.jsx(iie,{"data-loc":"client/src/pages/Home.tsx:204",liveData:d}),e==="inflation"&&g.jsx(cie,{"data-loc":"client/src/pages/Home.tsx:207",liveData:d}),e==="fixed-income"&&g.jsx(die,{"data-loc":"client/src/pages/Home.tsx:210",liveData:d}),e==="currencies"&&g.jsx(yie,{"data-loc":"client/src/pages/Home.tsx:213",liveData:d}),e==="stocks"&&g.jsx(gie,{"data-loc":"client/src/pages/Home.tsx:216",liveData:d}),e==="risks"&&g.jsx(Sie,{"data-loc":"client/src/pages/Home.tsx:219",liveData:d})]})]}),g.jsx(O7,{"data-loc":"client/src/pages/Home.tsx:225"})]})}function Oie(){return g.jsxs(g7,{"data-loc":"client/src/App.tsx:12",children:[g.jsx(lv,{"data-loc":"client/src/App.tsx:13",path:"/",component:wie}),g.jsx(lv,{"data-loc":"client/src/App.tsx:14",path:"/404",component:RA}),g.jsx(lv,{"data-loc":"client/src/App.tsx:15",component:RA})]})}function _ie(){return g.jsx(b7,{"data-loc":"client/src/App.tsx:22",children:g.jsx(S7,{"data-loc":"client/src/App.tsx:23",defaultTheme:"dark",children:g.jsxs(CB,{"data-loc":"client/src/App.tsx:24",children:[g.jsx(Lz,{"data-loc":"client/src/App.tsx:25"}),g.jsx(Oie,{"data-loc":"client/src/App.tsx:26"})]})})})}const Tie=()=>{const e="https://manus.im",t="6ESGdf3Zd9fBHKyyezWMZk",n=`${window.location.origin}/api/oauth/callback`,r=btoa(n),i=new URL(`${e}/app-auth`);return i.searchParams.set("appId",t),i.searchParams.set("redirectUri",n),i.searchParams.set("state",r),i.searchParams.set("type","signIn"),i.toString()},qh=new zI,Wk=e=>{!(e instanceof Uc)||typeof window>"u"||!(e.message===wq)||(window.location.href=Tie())};qh.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;Wk(t),console.error("[API Query Error]",t)}});qh.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;Wk(t),console.error("[API Mutation Error]",t)}});const Aie=mo.createClient({links:[Q$({url:"/api/trpc",transformer:Pa,fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});jq.createRoot(document.getElementById("root")).render(g.jsx(mo.Provider,{"data-loc":"client/src/main.tsx:56",client:Aie,queryClient:qh,children:g.jsx(BI,{"data-loc":"client/src/main.tsx:57",client:qh,children:g.jsx(_ie,{"data-loc":"client/src/main.tsx:58"})})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.